/* Media Queries
-------------------------------------------------------------- */
@media only screen and (min-width: 1367px) and (max-width: 2000px) {
	
}
@media only screen and (min-width: 1600px) and (max-width: 2000px) {

}

/* Smaller than standard 1200 */
@media only screen and (max-width: 1200px){
	
}

@media only screen and (max-width: 1199px) {
	
	#mainnav-mobi .menu {
	    overflow-y: auto;
	    height: 40vh;
	}
	.header.downscrolled ~ #mainnav-mobi, .header.header-absolute.downscrolled ~ #mainnav-mobi  {
		position: fixed;
		top: 64px;
	}
	.ttm-hide-1199{ display: none; }
	.ttm-block-1199{ display: block; }
}

/* Tablet Landscape */
 
 @media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {
 	.ttm-wrap-widget-header .text-widget .ttm-info-text{ font-size: 18px; }
 	#mainnav > ul > li > a{ font-size: 15px; padding: 0 17px; }
 	#mainnav > ul > li{ margin-right: -10px; }

}
@media only screen and (min-width: 992px) {

	.box-photo-frame.style2{ margin-top: 0px; margin-right: 0;}
	.section-bordered-inside:after {
	    content: '';
	    position: absolute;
	    top: 33px;
	    bottom: 33px;
	    right: 33px;
	    left: 33px;
	    border: 1px solid #3b4a59;
	}
}

@media (min-width: 992px){
	.section-image-aside-img {
	    left: 0;
	}
	.to-front{ padding-left: 30px; }

}

/* about-us */
	.section-image-aside-img {
	    width: 50vw;
	}
	.section-image-aside-img {
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    background-size: cover;
	}
	.box-photo-frame {
	    border-width: 14px;
	}
	.box-photo-frame {
		margin: 40px 30px 40px 0;
	    display: inline-block;
	    border: 7px solid #fff;
	    box-shadow: 0 1px 15px 1px rgba(0,0,0,.1);
	    z-index: 10;
	    position: relative;
	}
	.to-front{ padding-left: 80px; }
	.section-image-aside .title-section{ margin-top: 50px; }
	.section-image-aside .title-section h1{ color: #fff; font-size: 39px; line-height: 45px; }
	.list-marked{ display: block;margin-bottom: 60px; margin-left: 15px;}
	.list-marked li{ padding: 2px 0 2px; list-style: disc; }


/* Smaller than standard 992 */
@media only screen and (max-width: 991px) {
	.btn-menu {
		display: block ;
	}
	.mainnav{
		display: none;
	}

	/* topbar */
	.topbar{ text-align: center; }
	.topbar .flat-button{ display: inline-block; }
	.ttm-wrap-widget-header { height: 40px; line-height: 40px; }

	#mainnav-mobi{ top:202px; }
	.contactform.style2.row .col-md-2{
		max-width: 23%;
    	flex: 23%;
    	padding: 0 2px;
	}
	.contactform.style2.row .col-md-2:nth-child(3),
	.contactform.style2.row .col-md-2:nth-child(4){
		max-width: 16%;
    	flex: 16%;
	}
	.wrap-form span.flat-select:after, .col-md-2 span.flat-date:after{ right: 15px; }

	.col-lg-4:not(:last-child) .highlight-box, .col-lg-4:not(:last-child) .about-box{ margin-bottom: 30px; }
	.highlight-box img{ width: 100%; }
	.quote-link{ float: none! important ; margin-top: 15px; display: inline-block;}
	.widget-out-link ul.footer-nav-menu li{ width: 100%; }
	.copyright{ float: none !important; text-align: center; }
	.section-image-aside-img{ width: 96%; margin-bottom: 50px; }
	.box-photo-frame{ margin-right: 0; }
	.go-top { width: 30px; height: 30px; line-height: 30px; }
	.page-title { padding: 60px 0px 70px; }
	.image-box { height: 300px; position: relative;}
	.quote-text , .btn-showall{ float: none !important; }
	.bottom ul.right-content{ float: none !important; text-align: center; display: block; margin: 0 auto; }
	.bottom ul.right-content li{ margin-top: 0; }

}


/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
	select, textarea, input[type="text"], input[type="password"], input[type="datetime"], 
	input[type="datetime-local"], input[type="date"], input[type="month"], 
	input[type="time"], input[type="week"], input[type="number"], input[type="email"],
	input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
		padding-left: 40px;
		margin-bottom: 0;
	 }
	.contactform.style2.row .col-md-2 ,
	.contactform.style2.row .col-md-2:nth-child(3), .contactform.style2.row .col-md-2:nth-child(4),
	.contactform.style2.row .col-md-2:last-child{
	    max-width: 100%;
	    flex: 100%;
	    padding: 0;
	    margin: 0 15px;
	}
	.contactform.wrap-form.style2 .flat-input button{ width: 100%; }
	.formrequest1-bar{ margin-top: 0; background-color: #533466; opacity: 1; }
	.footer .widget{ padding: 40px 15px 0; }
	.footer .widget:nth-child(1){ padding-top: 60px; padding-bottom: 0; }
	.footer .first-footer-widget{ padding-bottom: 50px; }
	.agent-connected:last-child{ margin-bottom: 20px; }
}

@media only screen and (max-width: 575px){

	.topbar .widget-info .info-icon{ font-size: 14px; }
	.ttm-wrap-widget-header .text-widget .ttm-info-text{ font-size: 16px; }
	.ttm-wrap-widget-header{ height: 33px; line-height: 33px; }

	.top-text-box .main-title { font-size: 45px; line-height: 50px; }
	#mainnav-mobi { top: 189px; }

}

@media only screen and (max-width: 680px) {
	.main-text .imagebox-content{ margin: 0 -35px; margin-bottom: 20px;}
	.carousel-indicators{ bottom: 30px; }
}

/* Mobile Landscape Size */
@media only screen and (min-width: 575px) {
	#carousel-example-generic img{ height: 400px; width: 100%; }
}

@media only screen and (max-width: 575px) {
	.main-text .imagebox-content{ margin: 0 15px; }
	#carousel-example-generic img{ height: 460px; }

}
@media only screen and (max-width: 349px) {
	#carousel-example-generic img{ height: 540px; }
}

@media only screen and (max-width: 349px) {
	#carousel-example-generic img{ height: 560px; }
}

/* Mobile Portrait Size */

@media (max-width: 375px) {	

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