/**
 * 	Name: layout.css
 *
 *  Styling for the layout of the pages - header, footer, page sections etc.
 *
 *  T.O.C
 *
 *	=Wrap
 *	=Header
 *	=Logo
 *	=Menu
 *		=Menu Basics
 *		=Menu Skin
 *		=DropDown
 *		=Mega Menu Section
 *		=Menu Arrows
 *	=Mobile Menu 
 *	=Mobile menu trigger
 *	=Custom search form 
 *	=Sticky Header
 *	=Content
 *	=Page Header
 *	=Fullwidth Section
 *	=Footer Top
 *	=Footer
 *	=Footer Bottom
 *	=Back to top
 *	=Misc 
 *
 */
 
/* ==========================================================================
   =Wrap
   ========================================================================== */
body{
	font-family: 'Roboto', sans-serif;
}
	#wrap {
		position: relative;
		background-color: #fff;
	}
		 .pagesideimg {
        	    float: left;
    			
        } 

	@media (min-width: 768px) and (max-width: 1498px)  {
		.slidecontent {
            background: #6eafe7;
            /*padding: 30px;*/
			width: 400px;
            opacity: 0.7;
            margin-left: 50px;
            filter: alpha(opacity=50);
			border-radius: 40px;
        }
        .slidecontent span {
            color:white;font-size: 50px;
			font-weight: bold;
        }
        .slidecontent ul {
            color:white;
            font-size: 15px;
        }
        .slidecontent ul li {
            line-height: 15px;
        }
	}
	
	@media (max-width: 767px) {
		#wrap {}
		.slidecontent {
            background: #146bb5;
            padding: 20px;
			width: 400px;
            opacity: 0.7;
            margin-left: -190px;
            filter: alpha(opacity=50);
        }
        .slidecontent span {
            color:white;font-size: 25px;
        }
        .slidecontent ul {
            color:white;
            font-size: 10px;
        }
        .slidecontent ul li {
            line-height: 10px;
        }
       	 .pagesideimg {
        	    float: none;
    			text-align: center;
        }
	}
   
/* ==========================================================================
   =Header 
   ========================================================================== */
   	
	#header {
		margin: 0 auto; 
		display: flex;
		align-items: center;
	}
	
/* ==========================================================================
   =Logo
   ========================================================================== */
   
	#logo {  
		padding: 10px 10px 0px 10px;
	}
	
	/**
	 * 1. we need the <a> to be only the size of it's child <img> element
	 * 2. it shouldn't extend beyond the size of it's parent if it's child <img> is very large e.g 1000x1000 px
	 */
	
	#logo a {
		display: inline-block; /* 1 */
		max-width: 100%; 	   /* 2 */
	}
	
	#logo img { display: block;margin-top: -15px;}
	
	@media (max-width: 767px) {

		/**
		 * 1. on mobile devices logo padding right needs to be the width of the
		 *	  mobile menu trigger + some spacing so as to not let the logo <a>
		 *    overlap the mobile menu trigger
		 */
	
		#logo {  
			padding-right: 90px; 	/* 1 */
		}



	}


	
/* ==========================================================================
   =Menu 
   ========================================================================== */

/* =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;
	}
	
	/**
 	 * 1. z-index is 1025 because the sticky menu is 1020
 	 */
	
	.sf-menu .sf-mega,
	.sf-menu li.dropdown ul {
		position: absolute;
		z-index: 1025;		/* 1 */
		top: 100%;
		left: 0;
		display: none;
	}
	
	.sf-menu li.dropdown { position: relative;}
	
	.sf-menu li.dropdown ul ul {
		top: 0;
		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; align-items: center;}

/* =Menu Skin
   ========================================================================== */
	
	.sf-menu { float: right; } 
	
	.sf-menu a {
		display: block;
		padding: 15px 30px;
		border-bottom: rgba(0,0,0,0.06) 1px solid;
		font: 14px 'Raleway', Arial, sans-serif;
		color: #271e1e;
		text-decoration: none;
		font-weight: bold;
	}
	
	.sf-menu li.dropdown a { padding: 15px 30px; }
	
	.sf-menu li:last-child > a { border-bottom: none; }
	
	.sf-menu > li > a,
	.sf-menu > li.dropdown > a {
		padding: 10px 10px;
		border: none;
		/*color:#146BB5;*/
		color: #af7b7b;
		font-size: 18px;
		font-weight: bold;
	}
	
	.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: #361010;
		text-decoration: none;	
	}

/* =DropDown
   ========================================================================== */
	
	/**
 	 * 1. allow long menu items to determine submenu width
 	 */
	
	.sf-menu li.dropdown ul {
		min-width: 200px; 	/* 1 */	
		background-color: #fff;
	}
	
	.sf-menu li.dropdown ul ul { border-left: 2px solid #4d4d4d; }
		
/* =Mega Menu Section
   ========================================================================== */
	
	.sf-mega {
		width: 100%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		background-color: #000;
		color: #fff;
	}

	.sf-mega-section {
		float: left;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		padding: 20px;
		border-right: 2px solid #4d4d4d;
	}
	
	.sf-mega-section:last-child { border-right: none; }

	/**
 	 * 1. set mega menu section size, as a percentage of the mega menu width
 	 */
	
	.sf-mega.sf-mega-1-col .sf-mega-section{ width: 100%; } /* 1 */
	
	.sf-mega.sf-mega-2-col .sf-mega-section{ width: 50%; }
	
	.sf-mega.sf-mega-3-col .sf-mega-section{ width: 33.3333333333%; }
	
	.sf-mega.sf-mega-4-col .sf-mega-section{ width: 25%; }
	
	.sf-mega-section-title {
		padding: 0 0 20px 30px;
		border-bottom: 2px solid #4d4d4d;
		margin: 0 -20px;
	}
	
	.sf-mega-section > ul { margin: -20px; }
	
/* =Menu Arrows
   ========================================================================== */
	
	.sf-arrows .sf-with-ul:after {
		position: absolute;
		top: 50%;
		right: 0;
		display: none;
		width: 0;
		height: 0;
		border: 4px solid transparent;
		border-top-color: #999;
		margin-top: -4px;
		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); }
		
	.sf-arrows ul .sf-with-ul:after {
		display: block;
		border-color: transparent;
		border-left-color: #999;
		margin-top: -5px;
		margin-right: 10px;
	}
	
	.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: #fff; }
	
	@media (min-width: 768px) and (max-width: 991px) {

		#menu { display: none; }

	}
	
	@media (max-width: 767px) {

		#menu { display: none; }

	
	}
	
/* ==========================================================================
   =Mobile Menu 
   ========================================================================== */
			
	#mobile-menu {
		border-bottom: 1px solid #d7d7d7;
		margin-bottom: 0;
		background-color: #000;
		color: #fff;
	}
	
	#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;
	}
	
	#mobile-menu .sf-mega-section {
		float: none;
		width: 100%;
		padding: 0;
		border: none;
	}
	
	#mobile-menu .sf-mega-section ul { margin: 0; }

	#mobile-menu li a {
		position: relative;
		display: block;
		padding: 15px 25px;
		border-top: 1px solid #d7d7d7;
		color: #fff;
		font-size: 13px;
		text-align: left;
		text-decoration: none;
	}
	
	#mobile-menu ul { margin-bottom: 0; }
	
	#mobile-menu ul a { padding-left: 45px; }
	
	#mobile-menu ul li ul a  { padding-left: 65px; }
	
	#mobile-menu .sf-mega-section-title {
		padding: 15px 15px 15px 45px;
		border-top: 1px solid #d4d4d4;
	}
	
	#mobile-menu .mobile-menu-submenu-arrow {
		position: absolute;
		top: 0;
		right: 0;
		width: 70px;
		height: 100%;
		border-left: 1px solid #d4d4d4;
		color: #fff;
		font-size: 20px;
		line-height: 50px;
		text-align: center;
		cursor: pointer;
	}
	
	#mobile-menu .mobile-menu-submenu-arrow:hover { background-color: #d4d4d4; }
	
	#mobile-menu li a:hover {}
	
	#mobile-menu { display: none; }

/* ==========================================================================
   =Mobile menu trigger
   ========================================================================== */
				
	#mobile-menu-trigger { 
		float: right;
		display: none;
		font-size: 32px;
	}



	@media (min-width: 768px) and (max-width: 991px) {

		#mobile-menu-trigger { 
			display: block;
			margin-top: 58px;
			margin-right: 0;
		}	


	}

	@media (max-width: 767px) {

		#mobile-menu-trigger { 
			position: absolute;
			top: 48px;
			right: 5px;
			display: block;
			padding: 10px;
			margin-top: 0;
		}


	}



	@media only screen and (min-width: 480px) and (max-width: 767px) {

		#mobile-menu-trigger {}
		.slidecontent {
                                background: rgb(0, 0, 0);
                                padding: 30px;width: 600px;
                                opacity: 0.7;
                                filter: alpha(opacity=50);
                                margin-left: -190px;
                            }
                            .slidecontent span{
                                color:white;font-size: 25px;
                            }
                            .slidecontent ul {
                                color:white;
                                font-size: 10px;
                            }
                            .slidecontent ul li {
                                line-height: 12px;
                            }
         .pagesideimg {
        	    float: none;
    			text-align: center;
        }                    
	
	}		
		
/* ==========================================================================
   =Custom search form 
   ========================================================================== */
	
	#custom-search-button + nav { margin-right: 30px; }
	
	#custom-search-button { 
		position: absolute;
		top: 63px;
		right: 15px;
		display: block;
		text-decoration: none;
	}
	
	#custom-search-button i {
		font-size: 16px;
		color: #000;
	}
	
	#custom-search-form {
		position: absolute;
		top: 50%;
		width: 100%;
		margin-top: -50px;
	}
	
	/**
 	 * 1. z-index is 1030 because the dropdown menu has a z-index of 1025 
 	 */
	
	#custom-search-form-container {
		position: fixed;
		z-index: 1030;
		top: 0;
		right: 0;
		left: 0;
		display: none;
		padding: 30px 0 20px 0;
		background-color: rgba(0, 197, 233, 0.95);
		text-align: center;
	}

	
	#custom-search-submit { display: none; }
	
	#custom-search-form #s {
		width: 50%;
		height: 50px;
		padding: 10px 40px 10px 20px;
		border-color: #fff;
		border-radius: 3px;	
		background-color: #fff;
	}
	
	#custom-search-submit {
		display: inline-block;
		border: none;
		margin-left: -60px;
		background: url("../images/bg-search.png") no-repeat center center;
		vertical-align: middle;
	}
	
	#custom-search-form a.custom-search-form-close {
		position: relative;
		top: 3px;
		display: inline-block;
		border-radius: 3px;
		margin-left: 60px;
		color: #fff;
		font-size: 28px;
		font-weight: 400;
		text-align: center;
		text-decoration: none;
	}
	
	
	@media (min-width: 768px) and (max-width: 991px) {

		#custom-search-button { right: 65px; }
		
	}
	
	@media (max-width: 767px) {
		
		/**
		 * Hide search on mobile
		 */
		 
		/**
		 * 1. !important is needed to overwrite the display:block added by the js
		 */ 
	
		#custom-search-form-container {
			display: none !important; /* 1 */
		}
		
		#custom-search-button { display: none; }
		
	}

/* ==========================================================================
   =Sticky Header
   ========================================================================== */

	@media (min-width: 1025px) {
		
		
		/**
		 * 1. The height of the #header-wrap should be increased or decreased to accommodate the logo
		 */
		 
		#header-wrap {
			position: relative;
			height: 90px;
			background: #fff;
		}
		
		#header {
			position: absolute;
			top: 0; 					
			right: 0;
			left: 0;
			margin: 0 auto; 
			
		}
		
		/**
		 * 1. The z-index has to be 1020 so it is bigger than the back to top buttons z-index that is 1010
		 */
		
		#header.stuck {
			/*position: fixed;*/
			z-index: 1020; /* 1 */
			top: 0;
			width: 100%;
			padding: 5px 0 0 0;
			margin: 0 auto;
			box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);			
			background-color: #fff;
			-webkit-transition: padding 0.3s;
					transition: padding 0.3s;
		}
		
		#header.stuck #logo { padding: 15px 0 12px 0; }
		
		#header.stuck .sf-menu > li > a,
		#header.stuck .sf-menu > li.dropdown > a { padding: 25px 11px 30px; }

		#header.stuck .sf-arrows .sf-with-ul:after { margin-top: -6px; }		
	
		#header.stuck #custom-search-button { top: 38px; }
	
	}
	
/* ==========================================================================
   =Content
   ========================================================================== */
   	
	#content { padding: 0 0 50px 0; }

.address-block{
	padding: 0 5em !important;
}
.address-block h4{
	font-size: 18px;
	line-height: 2;
}

/* ==========================================================================
   =Page Header
   ========================================================================== */
   	
	#page-header {
		position: relative;
		margin-bottom: 100px;
		text-align: center;
	}
	
	.page-header-bg {
		position: absolute;
		top: 50%;
		right: 0;
		left: 0;
		height: 85px;
		background-color: #f4f4f4;
		-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
				transform: translateY(-50%);
	}
	
	#page-header h3 {
		display: inline-block;
		min-width: 500px;
		padding: 50px 20px;
		margin: 0 auto;
		box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2);
		background-color: #00c5e9;
		color: #fff;
		text-align: center;
	}
	
	#page-header-2 {
		padding: 30px 0;
		margin-bottom: 100px;
		background-color: #00c5e9;
		color: #fff;
		text-align: center;
	}
	
	#page-header-2 h5 {
		margin-bottom: 0;
		color: #fff;
		font-weight: 500;
	}
	
	@media (max-width: 767px) {
		
		#page-header h3 { 
			min-width: 0;
			padding: 50px;
		}
		
	}

/* ==========================================================================
   =Fullwidth Section
   ========================================================================== */
   
    /**
 	 * Full width section
 	 *
	 * 1. background-image must be supplied using inline css as it is different for every .fullwidth-section
	 *
	 */
	 
   .fullwidth-section {
		position: relative;
		overflow: hidden;
		z-index: 0;	
		padding: 40px 0;
		margin-bottom: 100px;
		background-color: #f4f4f4;
		background-attachment: scroll;
		background-repeat: no-repeat; /* 1 */ 
		background-position: 50% 0;		
	}

	.fullwidth-section-content {
		position: relative;
		z-index: 3;
	}
   
   	.fullwidth-section-overlay {
		position: absolute;
		z-index: 2;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-repeat: repeat;
		background-position: 0 0;	
	}
	
	.fullwidth-section-video {
		position: absolute;
		overflow: hidden;
		z-index: 1;
		top: 0;
		width: 100%;
		height: 100%;
	}
	
	.yt-player { display: none; }
	
	/**
 	 *
	 * 1. We add background-size cover so the parallax looks ok if you provide smaller images
	 *
	 */
	
	.parallax.parallax-enabled { 
		background-attachment: fixed !important;
		-webkit-background-size: cover;
				background-size: cover;	/* 1 */
	}
	
	.horizontal-parallax { background-repeat: repeat; }
	
	.animated-parallax { background-repeat: repeat; }
	
	@media (max-width: 767px) {

		.fullwidth-section {
			-webkit-background-size: cover;
					background-size: cover;		
		}
		
	}
	
/* ==========================================================================
   =Footer Top
   ========================================================================== */

	#footer-top {	
	
		color: #fff;
	}
	
	#footer-top a,
	#footer-top h1,
	#footer-top h2,
	#footer-top h3,
	#footer-top h4,
	#footer-top h5,
	#footer-top h6 { color: #fff; }
	
	#footer-top-widget-area-1 {}
	#footer-top-widget-area-2 {}
	#footer-top-widget-area-3 {}
	#footer-top-widget-area-4 {}
   
/* ==========================================================================
   =Footer
   ========================================================================== */		
	
	#footer { 
	
	}
	
	#footer a,
	#footer h1,
	#footer h2,
	#footer h3,
	#footer h4,
	#footer h5,
	#footer h6 { color: #cdcdcd; }
	
	#footer a:hover { color: red; }
	
	#footer-widget-area-1 {}
	#footer-widget-area-2 {}
	#footer-widget-area-3 {}
	#footer-widget-area-4 {}
	
	@media (max-width: 767px) {
		
		#footer-widget-area-1 + #footer-widget-area-2 { margin-top: 50px; }
		#footer-widget-area-2 + #footer-widget-area-3 { margin-top: 50px; }
		#footer-widget-area-3 + #footer-widget-area-4 { margin-top: 50px; }
		
	}
	
/* ==========================================================================
   =Footer Bottom
   ========================================================================== */	
  
	#footer-bottom { 
		padding: 35px 0;	
		/*background-color: #2b2d30;*/
		color: #cdcdcd;
	}
	
	/*#footer-bottom a,*/
	#footer-bottom h1,
	#footer-bottom h2,
	#footer-bottom h3,
	#footer-bottom h4,
	#footer-bottom h5,
	#footer-bottom h6 { color: #cdcdcd; }

	.linkedin-icon { color: #018faf !important; }
	.skype-icon { color: #00b0f6 !important; }
	
	#footer-bottom a:hover { color: red; }
	
	#footer-bottom-widget-area-1 {}
	#footer-bottom-widget-area-2 {}
	#footer-bottom-widget-area-3 {}
	#footer-bottom-widget-area-4 {}
	
	@media (max-width: 767px) {
		
		#footer-bottom-widget-area-1 + #footer-bottom-widget-area-2 { margin-top: 20px; }
		#footer-bottom-widget-area-2 + #footer-bottom-widget-area-3 { margin-top: 20px; }
		#footer-bottom-widget-area-3 + #footer-bottom-widget-area-4 { margin-top: 20px; }
		
	}
	
/* ==========================================================================
   =Back to top
   ========================================================================== */

	#back-to-top {
		position: fixed;
		z-index: 1010;
		right: -40px;
		bottom: 20px;
		width: 40px;
		height: 40px;
		border-radius: 5px;
		background-color: #000;
		color: #fafafa;
		font-size: 30px;
		text-align: center;					
		opacity: 0.5;
		cursor: pointer;
		text-decoration: none;
		-webkit-transition: all 0.4s ease 0s;
				transition: all 0.4s ease 0s;
	}
	
	#back-to-top i {
		font-size: 24px;
		line-height: 40px;
		font-weight: normal;
		vertical-align: top;
		-webkit-transition: all 0.4s ease 0s;
				transition: all 0.4s ease 0s;
	}
	
	#back-to-top:hover { background-color: rgba(0, 0, 0, 0.7); }
	#back-to-top:hover i { color: #fff; }
	#back-to-top.visible { right: 10px; }
	#back-to-top.gone { right: -40px; }	

/* ==========================================================================
   =Misc
   ========================================================================== */
   
	.javascript-required,
	.modern-browser-required {
	    padding: 15px 0;
		background-color: #ff433e;
		color: #fff;
		font-weight: 700;
		text-align: center;
	}


	/* footer */


footer { background-color:rgba(179,212,179,0.27);
	font-family: 'Open Sans', sans-serif; }
.footerleft { margin-top:50px; padding:0 36px; }
.logofooter { margin-bottom:10px; font-size:25px; color:#fff; font-weight:700;}

.footerleft p { color:#9c3f3f; font-size:15px; font-family: 'Open Sans', sans-serif; margin-bottom:15px;}
.footerleft p i { width:20px; color:#999;font-style:oblique}
.footerleft p a:hover{
	color:#baefba;
}

.paddingtop-bottom {  margin-top:50px;}
.footer-ul { list-style-type:none;  padding-left:0px; margin-left:2px;}
.footer-ul li { line-height:29px; font-size:12px;}
.footer-ul li a { color:#9c3f3f; transition: color 0.2s linear 0s, background 0.2s linear 0s; font-size: 14px;}
.footer-ul i { margin-right:10px;}
.footer-ul li a:hover {transition: color 0.2s linear 0s, background 0.2s linear 0s; color:#fff;text-decoration: none; }

.social:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
}




.icon-ul { list-style-type:none !important; margin:0px; padding:0px;}
.icon-ul li { line-height:75px; width:100%; float:left;}
.icon { float:left; margin-right:5px;}


.copyright { min-height:40px; background-color:#000000;}
.copyright p { text-align:left; color:#FFF; padding:10px 0; margin-bottom:0px;}
.heading7 { font-size:21px; font-weight:700; color:#9c3f3f; margin-bottom:22px;}
.post p { font-size:12px; color:#FFF; line-height:20px;}
.post p span { display:block; color:#8f8f8f;}
.bottom_ul { list-style-type:none; float:right; margin-bottom:0px;}
.bottom_ul li { float:left; line-height:40px;}
.bottom_ul li:after { content:"/"; color:#FFF; margin-right:8px; margin-left:8px;}
.bottom_ul li a { color:#FFF;  font-size:12px;}
.height-190px{
	height:190px;
}

.address-block{
	background: #e6f7d6;
	padding: 20px !important;
	border-radius: 4px;
	/* display: block; */
	/* margin: auto; */
	margin: 35px 0 0;
}