/**
 * Name: layout.css
 * Version: 1.0.0
 *	
 *	-
 *
 *	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 {}

	
/* #Header
   ========================================================================== */	
   	
	#header {}
		
	/* Logo */

	#logo { 
		display: block;
		margin: 35px 0;
	}
		
	/* Menu basics */

	.sf-menu, 
	.sf-menu * {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	
	.sf-menu li {
		position: relative;
		white-space: nowrap;
	}
	
	.sf-menu ul {
		position: absolute;
		display: none;
		top: 100%;
		left: 0;
		z-index: 99;
	}
	
	.sf-menu > li {
		float: left;
	}
	
	.sf-menu li:hover > ul,
	.sf-menu li.sfHover > ul {
		display: block;
	}
	
	.sf-menu a {
		display: block;
		position: relative;
	}
	
	.sf-menu ul ul {
		top: 0;
		left: 100%;
	}
	
	/* Menu skin */
	
	.sf-menu { 
		float: right;	
	}
	
	.sf-menu a {
		padding: 10px 15px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);  
		font-family: 'Lato', Arial, sans-serif;
		font-size: 13px;
		color: #2d212f;
		text-transform: uppercase;  
	}
	
	.sf-menu > li > a {
		border: none;
		padding: 60px 25px;
		font-size: 13px;   
	}
	
	.sf-menu li {
		-webkit-transition: background 0.2s;
		transition: background 0.2s;
	}
	
	.sf-menu li:hover,
	.sf-menu li.sfHover {
		position: relative;  
		text-decoration: none;	
	}
	
	.sf-menu li:hover a { text-decoration: none; }
	
	.sf-menu > li:hover > a,
	.sf-menu > li.sfHover > a {
		color: #2d212f;
		text-decoration: none;
	}
	
	.sf-menu > li.current > a {
		background-color: #f4f4f4;
		color: #2d212f;
	}
	
	/**
 	 * 1. allow long menu items to determine submenu width
 	 */
	
	.sf-menu ul {
		min-width: 200px; /* 1 */ 		
	}
	
	.sf-menu ul > li:last-child > a { border-bottom: none; }
	
	.sf-menu ul li a,
	.sf-menu ul li.current a {
		background-color: rgba(46, 34, 48, 0.9);
		padding: 15px;
		color: #fff;
		text-transform: none;
	}
	
	.sf-menu ul ul li {} 

	/* Menu arrows */
	
	.sf-arrows .sf-with-ul { padding-right: 30px; }
	
	/* Bottom facing arrows */
	
	.sf-arrows .sf-with-ul:after {
		position: absolute;
		top: 50%;
		right: 10px;
		height: 0;
		width: 0;
		margin-top: -13px;
		border: 5px solid transparent;
		border-top-color: rgba(0, 0, 0, 0.5);
		content: '';
	}
	
	/* Right facing arrows */
	
	.sf-arrows ul .sf-with-ul:after {
		margin-top: -5px;
		margin-right: -3px;
		border-color: transparent;
		border-left-color: rgba(0, 0, 0, 0.5);
	}
	
	/* Mobile Menu  */
			
	#mobile-menu {
		z-index: 20;
		border-bottom: 1px solid #efefef;
		background-color: rgba(46, 34, 48, 0.9);
		margin-bottom: 0;	
	}
	
	#mobile-menu li {	
		display: block;
		margin: 0;
	}
		
	#mobile-menu > li > ul, 
	#mobile-menu > li > ul > li > ul {
		display: none;
		margin-left: 0;
	}

	#mobile-menu li a {
		position: relative;
		display: block;
		padding: 15px 25px;
		border-top: 1px solid rgba(255, 255, 255, 0.4);
		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;
		color: #fff;
		font-size:20px;
		line-height: 50px;
		text-align: center;
		cursor: pointer;
	}
	
	#mobile-menu .mobile-menu-submenu-arrow:hover { background-color: rgba(255, 255, 255, 0.5); }
	
	#mobile-menu li a:hover {}
	
	#mobile-menu { display: none; }
	
	/* Mobile menu trigger  */
				
	#mobile-menu-trigger { 
		float: right;
		display: none;
		margin-top: 47px;
		color: #2d212f;
		font-size: 32px;  
	}		
		
	/* Custom Search Form */
	
	#custom-search-form{
		position: absolute;
		top: 54px;
		right: 0;
		z-index:15;
	}
	
	#custom-search-form + .sf-menu { 
		margin-right: 40px;
	}
	
	#custom-search-form #s {
		height:36px;
		width: 34px;
		background: #fff url(../images/bg-search.png) no-repeat 8px 10px;
		border: 1px solid #b6b2b7;
		border-radius: 6px;
	    color: #333;
	   
	}
	
	#custom-search-form #s:hover { cursor:pointer; }
	
	#custom-search-form #s.open {
	    padding-left: 30px;
	    border: 1px solid #3C313E;
	}
	
	
/* #Content
   ========================================================================== */
   		
	#content { 
		min-height: 300px; 
		padding-bottom: 60px;  
	}

	/* Page Header */
	
	#page-header {
		padding: 100px 0;
		margin-bottom: 60px;
		background: #1f2948 no-repeat center center;
		color: #fffadb;
		text-align: center;
	}
	
	#page-header h1,
	#page-header h2,
	#page-header h3,
	#page-header h4,
	#page-header h5,
	#page-header h6 {
		margin-bottom: 0; 
		color: 	#fffadb; 
	}
			
/* #Footer
   ========================================================================== */		
		
	#footer {
		padding: 60px 0 20px 0; 
		background: #1f2948 url(../images/bg-footer.jpg) no-repeat center center;
		color: #fff;
	}
	
	#footer a { color: #fff; }
			
/* ==========================================================================
   #Page Styles
   ========================================================================== */
   
/* #Index
   ========================================================================== */
   
/* #About
   ========================================================================== */
   
   /* Team Member with hover effect */
   
   .team-member {
	   position: relative;
	   overflow: hidden;
		-webkit-border-radius: 40px;
				border-radius: 40px;
	   margin: 60px 0;
	   -webkit-backface-visibility: hidden;
	   -webkit-transform: translate3d(0, 0, 0);
	}

	.team-member img {
		display: block;
		width: 100%;
	}
	
	.team-member-description {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		opacity: 0;
		padding-top: 0;
		background-color: rgba(0, 0, 0, 0.5);
		color: #fff;
		text-align: center;
		border-radius: 40px 40px 0 0;
		-webkit-transition: opacity 0.5s, padding-top 0.5s;
			 -o-transition: opacity 0.5s, padding-top 0.5s;
				transition: opacity 0.5s, padding-top 0.5s;
	}
	
	.team-member-description h3, 
	.team-member-description h5 {
		margin-bottom: 0;
		color: #fff;
	}
	
	.team-member .social-media { margin-top: 30px; }
	
	.team-member a.social-icon {
		border-color: #fff;
		color: #fff;
	}
	
	.team-member:hover .team-member-description { 
		padding-top: 50%;
		margin-top: -50px;
		opacity: 1;
	}
	
	/* Team Member without hover effect */
	
	.team-member-2 img {
		float: left;
		border-radius: 15px;
	}
	
	.team-member-2 .team-member-description {
		padding-top: 0;
		margin-left: 100px;
		opacity: 1;
		background: none;
		color: #2d212f;
		text-align: left;
	}
	
	.team-member-2 .team-member-description p { margin-bottom: 0; }
	
	.team-member-2 .social-media { margin-top: 5px; }
	
	.team-member-2 a.social-icon { 
		width: 18px;
		margin-right: 5px;
	}
	
	.team-member-2 a.social-icon i {
		font-size: 12px;
		line-height: 18px;
	}
	
	.team-member-2 .team-member-description:hover { padding-top: 0; }

/* #Services
   ========================================================================== */
      
/* #Portfolio
   ========================================================================== */
   
    /* Portfolio Filter */
	
	.portfolio-filter ul {
		margin-bottom: 60px;
		text-align: center;
		list-style: none; 
	}
	
	.portfolio-filter ul li { display: inline-block; }
	
	.portfolio-filter ul li a {
		display: block;
		padding: 10px 20px;
		border: 1px solid #fff;
		border-radius: 5px;
		text-decoration: none;
		color: #2e2230;
	}
	
	.portfolio-filter ul li a:hover,
	.portfolio-filter ul li a.active  { border-color: #2e2230 }
	
	/* Filtrable portfolio - Isotope */
	
	.portfolio-items { 
		margin-bottom: 40px;
		list-style: none; 
	}
	
	.portfolio-items li {
		float: left;
		width: 25%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		padding-right: 30px;
	}
   
    /* Portfolio Item */
	
	.portfolio-item { 
		position: relative; 
		overflow: hidden;
		border-radius: 40px;
		margin-bottom: 30px;
		-webkit-backface-visibility: hidden;
		-webkit-transform: translate3d(0, 0, 0);
	}
	
	.portfolio-item-preview { 
		position: relative;
		border-radius: 40px;
	}
	
	.portfolio-item-preview > img {
		display: block;
		width: 100%;
		border-radius: 40px;
	}
	
	.portfolio-item-overlay {
		position: absolute; 
		right: 0; 
		bottom: 0; 
		top: 0; 
		left: 0; 
		padding: 0 35px;
		background-color: rgba(46, 34, 48, 0.7);
		color: #fff;
		border-radius: 40px 40px 0 0;
		opacity: 0;
		text-align: center;
		-webkit-transition: opacity 0.3s;
			 -o-transition: opacity 0.3s;
				transition: opacity 0.3s;
	}
	
	.portfolio-item-overlay > img {
		display: block;
		padding-bottom: 20px; 
		border-bottom: 1px solid #fff;
		margin: -80px auto 20px;
		-webkit-transition: margin-top 0.7s;
			 -o-transition: margin-top 0.7s;
				transition: margin-top 0.7s;
		max-width: 100%;		
	}

	.portfolio-item:hover .portfolio-item-preview > img {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		max-width: 100%;
	}
	
	.portfolio-item:hover .portfolio-item-overlay > img { margin-top: 40px; max-width: 100%; }
	
	.portfolio-item-overlay:hover { opacity: 1; }	
		
	.portfolio-item-overlay-actions {
		position: absolute;
		top: 50%;
		width: 100%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		margin-top: -30px;
		text-align: center;
	}
	
	.portfolio-item-overlay-actions .portfolio-item-zoom,
	.portfolio-item-overlay-actions .portfolio-item-link {
		display: inline-block;
		padding: 10px; 
		margin: 0 5px;
	}
	
	.portfolio-item-overlay-actions .portfolio-item-zoom i,
	.portfolio-item-overlay-actions .portfolio-item-link i {
		color: #fff; 
		font-size: 20px; 
		line-height: 40px; 
	}
	
	.portfolio-item-description {
		padding: 20px 0;
		border-top: 1px solid #fff;
		text-align: center;
	}
	
	.portfolio-item-description a { 
		color: #2e2230;
		text-decoration: none;
	}
	
	.portfolio-item:hover { 
		background-color: #2e2230;
		cursor: pointer;
	}
	
	.portfolio-item .btn-white { 
		background-color: transparent; 
		color: #fff; 
	}
	
	.portfolio-item .btn-white:hover { background-color: rgba(0, 0, 0, 0.5); }
	
	.portfolio-item:hover .portfolio-item-description a { color: #fff; }
	
	.portfolio-images-slider-container img {
		display: block;
		width: 100%;
		border: 1px solid #fff;
		border-radius: 40px;
	}
				
	/* Portfolio Pagination */
	
	.pagination { 
		list-style: none;
		text-align: center;
	}
	
	.pagination li { display: inline-block; }

	.pagination a { 
		display: block; 
		padding: 3px 10px; 
		border: 1px solid #fff;
		border-radius: 5px;
		color: #2e2230;
		text-decoration: none;
	}
	
	.pagination li.current a,
	.pagination li a:hover { border-color: #2e2230; }
	
/* #Blog
   ========================================================================== */
   
	/* Blog Post */
	
	.blog-post { margin: 60px 0; }
	
	.blog-post-title { 
		font-size: 18px;
		margin-bottom: 20px;
		text-transform: uppercase;
	}
	
	.blog-post-title a { color: #2e2230; }
	
	.blog-post-thumb {
		position: relative;
		overflow: hidden;
		border-radius: 20px;
		margin-bottom: 20px;
		-webkit-backface-visibility: hidden;
		-webkit-transform: translate3d(0, 0, 0);
	}
	
	.blog-post-thumb img {
		display: block;
		width: 100%;
	}
	
	.blog-post-thumb.alt { 
		border-radius: 20px;
		margin-bottom: 60px;
	}
	
	.blog-post-info {}
	
	.blog-post-readmore {}
	
	.blog-post-overlay {
		position: absolute;
		right: 0;
		bottom: -50px;
		left: 0;
		padding: 40px 0 20px 0;
		border-top: 1px solid #fff;
		background-color: rgba(46, 34, 48, 0.7);
		color: #fff;
		opacity: 0;
		text-align: center;
		-webkit-transition: opacity 0.3s, bottom 0.5s;
			 -o-transition: opacity 0.3s, bottom 0.5s;
				transition: opacity 0.3s, bottom 0.5s;
	}
	
	.blog-post-overlay h2 { color: #fff; }
		
	.blog-post-thumb:hover .blog-post-overlay	 {
		bottom: 0;
		opacity: 1; 
	}
	
   
/* #Contact
   ========================================================================== */
   
	/* Contact Form */
  
	#contact-form { 
		overflow: hidden;  
		margin: 60px 0; 
	}
	
	#contact-form fieldset { 
		margin: 0; 
	}
	
	label.validation-error { color: #b55454; }
	
	input.validation-error,
	textarea.validation-error,
	select.validation-error { border :1px solid #e1a1a1; }
	
	#contact-form #formstatus {}

	#contact-form input[type="text"],	
	#contact-form textarea {
		padding: 15px 20px;
		border-radius: 10px;
		margin-bottom: 40px; 
		width: 100%;
		resize: none;
	}	
	
	#contact-form input[type="submit"] {
		display: block;
		margin: 0 auto;
		text-transform: uppercase;
	}
	
/* ==========================================================================
   #Responsive
   ========================================================================== */
   
/* #Large Display
   ========================================================================== */
   	
	@media (min-width: 1400px) {
		
		#wrap {}
		
		.sf-menu > li > a {
			border: none;
			padding: 60px 30px;
			font-size: 13px;   
		}
		
	}

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

		#wrap {}
		
		#header {}
		
		#content {}
		
		#footer {}
		
	}

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

	@media (min-width: 768px) and (max-width: 979px) {
		
		#wrap {}
		
		#header {}
		
		#menu { display: none; }
		
		#mobile-menu-trigger { 
			display: block;
			padding: 10px;
			position: absolute;
			right: 10px;
			top: 0px;
		}
		
		#content {}
		
		blockquote { padding: 35px; }
		
		#footer {}
		
		#custom-search-form { right:65px; }
		
		/* About */

		.team-member .social-media { margin-top: 10px; }
		
		/* Portfolio */
		
		.portfolio-items li { width: 33.3333333333%; }

	}
	
/* #Mobile (Portrait and Landscape )
   ========================================================================== */
	
	@media (max-width: 767px) {
	
		body { 
			background: none; 
			background-color: #fff; 
		}
		
		#wrap {}
		
		#header { margin-bottom: 50px; }	
		
		#logo {}
		
		#menu { display: none; }
		
		#mobile-menu-trigger { 
			display: block;
			padding: 10px;
			position: absolute;
			right: 10px;
			top: -40px;
		}
		
		#mobile-menu { margin-top: 60px; }
		
		#custom-search-form { display:none; }

		#content {}
		
		h1 {
			font-size: 36px;
			line-height: 54px;
		}
		
		#page-header { padding: 60px 0; }

		#footer { background-image: none; }
		
		/* Portfolio Items */
		
		.portfolio-items li {
			float: none;
			width: 100%;
		}
		
		#footer{}	

		.row { padding: 0 40px; }
		
		.row .row { 
			width: auto; 
			padding: 0 20px; 
			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; }
		
		/* About */
		
		.team-member-2 img { float: none; }
		.team-member-2 .team-member-description {
			margin-top: 85px;
			margin-left: 0;
		}
		
		/* Portfolio */
		
		.portfolio-item-overlay { padding: 0 5px; }
		.portfolio-item-overlay > img { border-bottom: none; }
		
		.portfolio-filter ul li { 
			display: block;
			margin-bottom: 10px;
		}
		
		.portfolio-filter ul li:last-child { margin-bottom: 0; }
		
		.portfolio-items li {
			float: none;
			width: 100%; 
		}
		
		/* Blog */
		
		.blog-post-overlay { padding: 0; }
		
		/* Contact */
		
		#contact-form .row { padding: 0; }

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

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