/**
 * Name: layout.css
 *	
 *	-
 *
 *	T.O.C
 *	
 *	#General Layout 
 *		#Header
 *		#Content
 *		#Footer
 *	#Page Styles
 *		#Index
 *		#About
 *		#Services
 *		#Portfolio
 *		#Blog
 *		#Contact
 *	#Responsive
 *		#Large Display
 *		#Smaller then 1024px width	
 *		#Tablet (Portrait)
 *		#Mobile (Portrait and Landscape )
 *		#Mobile ( Landscape )
 */

/* ==========================================================================
   #General Layout 
   ========================================================================== */

	#wrap {
		position: relative;
		background-color: #fff;
	}

/* #Header Top
   ========================================================================== */	
   	
	#header-top { 
		padding: 15px 20;
		background-color: #CDCDCD;
		color: #0088C8;	
	}
	
	#header-top a { color: #0088C8; }
	
	#header-top .widget-title span { background-color: #002147; }
	
	#header-top .widget-title:before,
	#header-top .widget_tag_cloud a { border-color: #fff; }
	
	#header-top .widget_tag_cloud a:hover,
	#header-top #newsletter-subscribe-form input[type="submit"]:hover { background-color: #0f5066; }
	
	#header-top .ewf_widget_contact_info ul li {
		display: inline-block;
		padding-left: 0;
		margin-right: 20px;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	#header-top .ewf_widget_contact_info ul li:last-child { margin-right: 0; } 
	
	#header-top .ewf_widget_social_media { float: right; }
	
	#header-top .ewf_widget_social_media .social-icon {
		width: auto;
		height: auto;
		margin-right: 15px;
		background-color: transparent;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	#header-top .ewf_widget_social_media .social-icon i { 
		font-size: 14px;
		line-height: 14px;
	}



/* #Custom CSS start
   ========================================================================== */
   
   .row-wide {
    max-width: 1170PX;
}
.vid_who {
    height:670px;
}
ul#menu {
    float: right;
}
a#logo img {
    height: 80px;
}
#bg-2 {
    width: 100%;
}
   
   /* #Custom CSS end
   ========================================================================== */
   
   
/* #Header
   ========================================================================== */	
   	
	#header { padding: 10px 0 10px 0; }
	
	@media (min-width: 1024px) {
	
		/**
		 * 1. needs to be > 1000 because revolution slider navigation has high z-index
		 */
	
		#header {
		
			z-index: 1010;
			right: 0;
			left: 0px;
			padding: 0;	
		}
		
		#header.stuck {
			position: fixed !important;
			z-index: 1010; /* 1 */
			top: 0;
			width: 100% !important;
			padding: 10px 0;
			-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
					box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
			margin-top: 0;
			background: none repeat scroll 0 0 #FFF;
			-webkit-transition: padding 0.5s;
			     -o-transition: padding 0.5s;
					transition: padding 0.5s;
		}
		
		#header.stuck .sf-menu > li > a,
		#header.stuck .sf-menu > li.dropdown > a { padding-bottom: 27px; }
		
		#header.stuck .sf-menu li.dropdown ul,
		#header.stuck .sf-mega { margin-top: 10px; }
		
		#header.stuck .sf-menu li.dropdown ul ul { margin-top: 0; }
		
		#content { padding-top: 90px; }
	
	}
	
	/* Logo */

	#logo { 
		display: block;		
		margin-top: 10px;
		margin-right: 10px;
		margin-left: 0px;
		
	}
	#logo img { display: block;
	 }
		
	/* Menu basics */

	.sf-menu,
	.sf-menu ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	
	.sf-menu > li { float: left; }

	.sf-menu > li > a {
		position: relative;
		display: block;
	}
	
	.sf-menu .sf-mega,
	.sf-menu li.dropdown ul {
		position: absolute;
		z-index: 220;
		top: 100%;
		left: 0;
		display: none;
	}
	
	.sf-menu li.dropdown { position: relative; }
	
	.sf-menu li.dropdown ul ul {
		top: -1px;
		left: 100%;
	}
	
	.sf-menu li:hover > .sf-mega,
	.sf-menu li.sfHover > .sf-mega,
	.sf-menu li.dropdown:hover > ul,
	.sf-menu li.dropdown.sfHover > ul { display: block; }

	/* Menu Skin */
	
	.sf-menu { 
		float: left;
		/*width: 100%;*/
	} 
	
	.sf-menu a {
		display: block;
		padding: 10px 10px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		font: 14px 'Open Sans', Arial, sans-serif;
		color: #0F3779; 
		text-decoration: none;
	}
	
	.sf-menu li.dropdown a { padding: 10px 15px; }
	.sf-menu li:last-child > a { border-bottom: none; }
	
	.sf-menu > li > a,
	.sf-menu > li.dropdown > a {
		padding: 40px 20px 30px 20px;
		border: none;
		color: #0F3779;
		font-size: 14px;
		text-transform: none;	
	}
	
	.sf-menu > li a i { margin-right: 5px; }
	
	.sf-menu > li.current > a,
	.sf-menu li.sfHover > a,
	.sf-menu a:hover,
	.sf-menu li.sfHover a:hover {
		color: #999999;
		text-decoration: none;	
	}

	/**
 	 * 1. allow long menu items to determine submenu width
 	 */
	
	.sf-menu li.dropdown ul {
		min-width: 180px; /* 1 */
		border: 1px solid rgba(0, 0, 0, 0.1);	
		background-color: #F8F6D7;			
	}

	.sf-menu > li.dropdown > ul { border-top: 3px solid #96C83B; }
	
	.sf-menu > li.dropdown > ul li a:hover { 
		background-color: #553312;
		color: #000;
	}	
		
	/* mega menu dropdown */
	
	.sf-mega {
		width: 100%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		padding: 15px 0;
		border: 1px solid rgba(0, 0, 0, 0.1);
		border-top: 3px solid #553312;	
		background-color: #553312;
	}
	
	.sf-mega-section {
		float: left;
		width: 25%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		padding: 0 20px;
		border-right: 1px solid rgba(0, 0, 0, 0.1);
	}
	
	.sf-mega-section:last-child { border-right: none; }

	/* arrows */
	
	/* styling for both css and generated arrows */
	
	.sf-arrows .sf-with-ul:after {
		position: absolute;
		top: 50%;
		right: 0;
		height: 0;
		width: 0;
		/* order of following 3 rules important for fallbacks to work */
		border: 5px solid transparent;
		border-top-color: rgba(0, 0, 0, 0.5);
		margin-top: -3px;
		content: "";
	}
		
	.sf-arrows > li > .sf-with-ul:focus:after,
	.sf-arrows > li:hover > .sf-with-ul:after,
	.sf-arrows > .sfHover > .sf-with-ul:after { border-top-color: rgba(0, 0, 0, 0.7); }
	
	/* styling for right-facing arrows */
	
	.sf-arrows ul .sf-with-ul:after {
		border-color: transparent;
		border-left-color: rgba(0 ,0, 0, 0.5);
		margin-top: -5px;
		margin-right: -3px;
	}
	
	.sf-arrows ul li > .sf-with-ul:focus:after,
	.sf-arrows ul li:hover > .sf-with-ul:after,
	.sf-arrows ul .sfHover > .sf-with-ul:after { border-left-color: rgba(0, 0, 0, 0.7); }
	
	/* Mobile Menu  */
			
	#mobile-menu {
		z-index: 20;
		border-bottom: 1px solid #e9e9e9;
		margin-bottom: 0;
		background-color: #0F3779;
	}
	
	#mobile-menu li {	
		display: block;
		margin: 0;
	}
		
	#mobile-menu > li > ul, 
	#mobile-menu > li > ul > li > ul {
		display: none;
		margin-left: 0;
	}
	
	#mobile-menu .sf-mega {
		display: none;
		padding: 0;
		border: none;
		margin: 0;
		background-color: #3D536C;
	}
	
	#mobile-menu .sf-mega-section {
		float: none;
		width: 100%;
		padding: 0;
		border: none;
	}
	
	#mobile-menu .sf-mega-section ul { margin-left: 0; }

	#mobile-menu li a {
		position: relative;
		display: block;
		padding: 15px 25px;
		border-top: 1px solid #e9e9e9;
		color: #fff;
		font-size: 13px;
		text-align: left;
		text-decoration: none;
	}
	
	#mobile-menu ul a { padding-left: 45px; }
	
	#mobile-menu ul li ul a  { padding-left: 65px; }
	
	#mobile-menu .mobile-menu-submenu-arrow {
		position: absolute;
		top: 0;
		right: 0;
		height: 100%;
		width: 70px;
		border-left: 1px solid #efefef;
		color: #fff;
		font-size: 20px;
		line-height: 50px;
		text-align: center;
		cursor: pointer;
	}
	
	#mobile-menu .mobile-menu-submenu-arrow:hover { background-color: #3D3D3D; }
	
	#mobile-menu li a:hover {}
	
	#mobile-menu { display: none; }
	
	/* Mobile menu trigger  */
				
	#mobile-menu-trigger { 
		float: right;
		display: none;  
		font-size: 32px;
	}				
	
	
/* #Content
   ================================================== E6E6E6 ======================== */
   		
	#content { 
		min-height: 500px; 
		padding-bottom: 0px; 
		margin-top: 10px;   

		color: #000;  
	}

	/* Page Header */
	
	#page-header {
		padding: 10px 0 10px 0;
		border-top: 1px solid #CDCDCD;
		border-bottom: 1px solid #CDCDCD;
		margin-bottom: 10px;
		background-color: #F6F6F6;
		color: #000; 
	}
	
	#page-header h3,

		h3 { 
		margin-bottom: 10px;
		margin-top: 10px;
		font-size: 28px; 
		line-height: 28px; 
		color: #666666;  
	} 

	#page-header p { margin-bottom: 10; }
	
			
/* #Footer
   =============================================#4b4b4b 005826  c4c4c4============================= */		
			
	#footer {
		padding: 80px 0;
		background-color: #999999;
		color: #000;
	}
	
	#footer a { color: #fff; }
	
	#footer .widget { margin-bottom: 40px; }
	
	#footer .widget-title { margin-bottom: 70px; }
	
	#footer .widget-title span { background-color: #303030; }
	
	#footer .widget-title:before,
	#footer .widget_tag_cloud a { border-color: #c4c4c4; }
	
	#footer .ewf_widget_social_media .social-icon {
		width: 26px;
		height: 26px;
		margin-right: 5px;
		background-color: #303030;
		color: #fff;
	}
	
	#footer .ewf_widget_social_media .social-icon i {
		font-size: 12px;
		line-height: 26px;
	}
	
	#footer-bottom {
		padding: 30px 0;
		background-color: #303030;
		color: #fff;
	}
	
	#footer-bottom a { color: #fff; }
	
	#footer-bottom .widget-title span { background-color: #222; }
	
	#footer-bottom .widget-title:before,
	#footer-bottom .widget_tag_cloud a { border-color: #6e6e6e; }
	
	#footer-bottom .widget_pages ul { float: right; }
	
	#footer-bottom .widget_pages ul li { 
		display: inline-block;
		margin-right: 20px;
	}
	
	#footer-bottom .widget_pages ul li:last-child { margin-right: 0; }
	
/* ==========================================================================
   #Page Styles
   ========================================================================== */
   
/* #Index
   ========================================================================== */
   
   	.client-logos {
		margin-bottom: 50px;
		list-style: none;	
		text-align: center;
	}
	
	.client-logos li { display: inline-block; }
   
/* #About
   ========================================================================== */
   	
	.team-member { margin: 15px 0 10px 0; 
			   margin-left: 0px;
	}
	
	.team-member h4 {
		padding-top: 10px;
		color: #999999;
	}
	
	.team-member-thumb {
		position: relative;
		float: left;
		display: inline-block;
		border: 2px solid transparent;
		border-radius: 5%;
		margin-right: 10px;
	}
	
	.team-member-thumb img {
		display: block;
		max-width: 100%;
		border-radius: 5%;
	}
	
	.team-member-overlay {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0; 
		left: 0;
		border: 2px solid #999999;
		border-radius: 5%;
		opacity: 0;
		-webkit-transition: 0.3s;
				transition: 0.3s; 
	}
	
	.team-member:hover .team-member-overlay { opacity: 0.5; }


/* #Services
   ========================================================================== */
      
/* #Portfolio
   =============================33.3333333333%============================================ */
   
    /* Isotope */
	
	.portfolio-items { 
		margin-bottom: 40px;
		list-style: none; 
	}
	
	.portfolio-items li {
		float: left;
		width: 25%;
	}
	
	/* Portfolio Strip */
	
	.portfolio-strip {
		margin-bottom: 50px;
		list-style: none; 
	}
	
	.portfolio-strip li {
		float: left;
		width: 25%;
	}
	
	.portfolio-strip.two-col li { width: 50%; }
   
    /* Portfolio Item */
	
	.portfolio-item { 
		position: relative;
		overflow: hidden; 
		margin-bottom: 30px;
	}
	
	.portfolio-strip .portfolio-item { margin-bottom: 0; }
	
	.portfolio-item-preview { position: relative; }
	
	.portfolio-item-preview img {
		display: block;
		width: 100%;
	}
	
	.portfolio-item-description {
		position: absolute;
		bottom: -50px;
		left: 0;
		width: 100%;
		padding: 5px 10px 10px 10px;
		background-color: #3D536C;
		color: #fff;
		opacity: 0;
		-webkit-transition: all 0.3s;
				transition: all 0.3s;
	}
	
	.portfolio-item-description h3,
	.portfolio-item-description p { margin-bottom: 0; }
	
	.portfolio-item-description a { color: #fff; }
	.portfolio-item-description a i { vertical-align: middle; }
	
	.portfolio-item-actions { 
		position: absolute;
		right: -30px;
		bottom: 0;
		width: 75px;
		height: 75px;
		background-color: #000;
		color: #fff;
		font-size: 80px;
		line-height: 75px;
		font-weight: 300;
		text-align: center;
		opacity: 0;
		-webkit-transition: all 0.3s;
				transition: all 0.3s;
	}
	
	.portfolio-item-description + .portfolio-item-actions { border-left: 1px solid #fff; }
	
	.portfolio-item-actions a { color: #fff; }
	
	.portfolio-item-actions:hover { background-color: #002157; }
	
	.portfolio-item:hover .portfolio-item-description { 
		bottom: 0;
		opacity: 1;
	}
		 
	.portfolio-item:hover .portfolio-item-actions { 
		right: 0;
		opacity: 1;
	}
				
	/* Portfolio Pagination */
	
	.pagination {
		float: right;
		margin: 50px 0;
		list-style: none; 
	}
	
	.pagination li { 
		display: inline-block;
		margin-right: 5px;
	}
	
	.pagination li:last-child { margin-right: 0; }

	.pagination a { 
		display: block; 
		padding: 12px 16px;;
		background-color: #e9e9e9;
		color: #818181;
		font-size: 18px;
		line-height: 18px;
		-webkit-transition: all 0.3s;
				transition: all 0.3s;
	}
		
	.pagination li.current a,
	.pagination li a:hover {
		background-color: #3D536C;
		color: #fff;
	}

	/* Portfolio filter */
	
	.portfolio-filter ul {
		float: right;
		margin-bottom: 100px;
		list-style: none;
	}
	
	.portfolio-filter ul li { 
		display: inline-block;
		margin-right: 20px;
	}
	
	.portfolio-filter ul li:last-child { margin-right: 0; }
	
	.portfolio-filter ul li a {
		display: block;
		padding: 10px 20px;
		background-color: #e9e9e9;
		color: #818181;
		font-size: 18px;
		line-height: 18px;
		-webkit-transition: all 0.3s;
				transition: all 0.3s;
	}
	
	.portfolio-filter ul li a.active,
	.portfolio-filter ul li a:hover {
		background-color: #3D536C;
		color: #fff;
	}
	
/* #Blog
   ========================================================================== */
   
	/* Blog Post */
	
	.blog-post { margin-bottom: 60px; }
	
	.blog-post-title { margin-bottom: 15px; }
	
	.blog-post-thumb { margin-bottom: 20px; }
	
	.blog-post-thumb img {
		display: block;
		width: 100%;
	}
	
	.blog-post-info {
		margin-top: 45px; 
		text-align: center;
	}
	
	.blog-post-info img {
		max-width: 100%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		border: 10px solid #3D536C;
		border-radius: 50%;
		margin-bottom: 20px;
	}
	
	.blog-post-readmore {}
		
	.blog-post + .pagination { margin-top: 0px; }	
	
   
/* #Contact
   ========================================================================== */
   
	/* Contact Form */
  
	#contact-form { 
		overflow: hidden; 
		margin-bottom: 30px; 
	}
	
	#contact-form fieldset {}
	
	label.validation-error { color: #b55454; }
	
	input.validation-error,
	textarea.validation-error,
	select.validation-error { border :1px solid #e9e9e9; }
	
	#contact-form #formstatus {}
		
	#contact-form textarea {}
	
	#contact-form .btn { margin-right: 0; }
	
/* ==========================================================================
   #Responsive
   ========================================================================== */
   
/* #Large Display
   ========================================================================== */
   	
	@media (min-width: 1400px) {
		
		#wrap {}
		
		/* Index */
		
		.client-logos li { margin: 0 25px; }
		
		/* Portfolio */
		
		.portfolio-strip li { width: 25%; }
		
		.portfolio-item-description { padding: 25px 15px 30px 15px; }
		
		.portfolio-item-actions { 
			width: 115px;
			height: 115px;
			line-height: 115px;
		}
		
		.portfolio-filter ul li a { padding: 15px 30px; }
		
	}
	
		@media (max-width: 1399px) {
.sf-menu > li > a, .sf-menu > li.dropdown > a {
    padding: 40px 12px 30px 12px;
}
#header .span8 {
    float: right;
}
.row {
    max-width: 1170px;
}
.widget.ewf_widget_contact_info {
    padding-left: 10px;
}
.vid_who {
    height: 560px;
}
}

/* #Smaller then 1024px width
   ========================================================================== */
	
	@media (max-width: 1024px) {

		#wrap {}
		
		#header {
		     padding: 0;
		}
		a#logo img {
    width: auto;
    height: auto;
}
		
		#content {}
		
		#footer {}
	
		
	}

/* #Tablet (Portrait)
   ========================================================================== */

	@media (max-width: 979px) {
#header {
    padding-bottom: 0px;
    display: inline-block;
    width: 100%;
}
#content {
    margin-top: 0;
}
.vid_who {
    height: 410px;
}
}

	@media (min-width: 768px) and (max-width: 979px) {
		
		#wrap {}
		
		
		#menu { display: none; }
		
		#mobile-menu-trigger { 
			display: block;
			margin-right: 10px;
			margin-top: 16px;
		}	
		#mobile-menu {
    position: relative;
    z-index: 999999;
}
		#content {}
		
		#footer {}
		
		#footer-bottom .widget_pages ul li { margin-right: 10px; }
		
		/* Index */
		
		.client-logos li { margin: 0 25px; }				
		
		/* About */
		
		.team-member-thumb { 
			float: none;
			margin-right: 0;
		}
		#mobile-menu-trigger {
    margin-top: 23px;
}
		/* Portfolio */
		
		.portfolio-item-description h3 { font-size: 18px; }
		
		.portfolio-item-actions { 
			width: 50px;
			height: 50px;
			font-size: 30px;
			line-height: 50px;
		}
		
		.portfolio-filter ul li { margin-right: 10px; }
		
		.portfolio-filter ul li a { 
			padding: 10px 15px;
			font-size: 14px;
		}

	}
	
/* #Mobile (Portrait and Landscape )
   ========================================================================== */
	
	@media (max-width: 767px) {
		#mobile-menu-trigger {
    margin-top: 23px;
}
div#header .span4 {
    width: 225px;
}
.vid_who {
    height: 51vw;
    margin-bottom: 20px;
}
div#bg-8 p {
    text-align: center;
}
p.copyright {
    text-align: center;
}
#footer-bottom .widget.widget_text {
    margin-bottom: 50px;
}
		body { 
			background: none; 
			background-color: #fff; 
		}
			#mobile-menu {
    position: relative;
    z-index: 999999;
}
		#wrap { border-top: 5px solid #3D536C; }
		
		#header-top { display: none; }
		
		#header { padding: 0px 0; }	
		
		#logo {}
		
		#menu { display: none; }
		
		#mobile-menu-trigger { 
			position: absolute;
			top: 4px;
			right: 10px;
			display: block;
			padding: 10px;
			margin-top: 0;
		}
		
		#content {}
		
		#footer {}
		
		#footer .widget:last-child { margin-bottom: 40px; }
		#footer .widget-title { margin-bottom: 30px; }

		.row { padding: 0 15px; }
		
		.row .row { 
			width: auto; 
			padding: 0; 
			margin: 0; 
		}
		
		p.last, 
		h1.last, 
		h2.last, 
		h3.last, 
		h4.last, 
		h5.last, 
		address.last, 
		ul.last, 
		ol.last { margin-bottom: 20px; }
		
		.text-right{ text-align: left; }
		
		/* Index */
		
		.client-logos li {
			display: block;
			margin: 10px 0;
		}	
		
		/* About */
		
		.team-member-thumb { 
			float: none;
			margin-right: 0;
		}
		
		/* Portfolio Items */
		
		.portfolio-items li,
		.portfolio-strip li,
		.portfolio-strip.two-col li {
			float: none;
			width: 100%;
		}
		
		.portfolio-item-description h3 { font-size: 18px; }
		
		.portfolio-item-actions { 
			width: 50px;
			height: 50px;
			font-size: 30px;
			line-height: 50px;
		}
		
		.portfolio-filter ul { 
			float: none;
			margin-bottom: 50px;
		}
		
		.portfolio-filter ul li {
			display: block;
			margin-right: 0;
			margin-bottom: 10px;
		}
		
		.portfolio-filter ul li:last-child { margin-bottom: 0; }
		
		.pagination { float: none; }

	}
	
/* #Mobile ( Landscape )
  ========================================================================== */

	@media only screen and (min-width: 480px) and (max-width: 767px) {
		
		.row { padding: 0 40px; }
		
		#mobile-menu-trigger { right: 0px; }
		
		/* Portfolio Items */
		
		.portfolio-items li,
		.portfolio-strip li {
			float: left;
			width: 50%;
		}
		
	}	