/* Innovation Theme by D5 Creation, www.d5creation.com
/* =Responsive Design 
-------------------------------------------------------------- */

/* Responsive Styles */

@media screen and (max-width: 1279px) {
	 body { min-width: 100%; max-width: 100%; }
	.main-slider .slides li, .videoslide, .main-slider .flex_caption2  {height:400px;}
	.main-slider .flex_caption1 {font-size:30px;}
	.main-slider .flex_caption2 {height:400px;}
	#grid-staff { max-width: 100%;}
	.view-staff { margin: 10px .85%; } 
	#main-menu-con a, #main-menu-con a.wccart-icon { font-weight: 300; padding: 5px 10px; }
	.wccart-icon::before { font-size: 13px; }
	.top-menu-con-items input#s, .top-menu-con-items input#s:focus { width: 100px !important; }
}

@media screen and (max-width: 1050px) {
	.box90, #container, #footer-content {width: 95% !important;} 
	#header-content {padding: 0 2.5%;}
	.site-container, #header-content, .top-menu-con-container {width: 100%!important;}
	.site-container, #header {margin: 0 !important;}
	.site-container, .top-menu-con-container {border-radius: 0 !important;}
	#header.smallheader { position: relative; }
	#topadjust {height: 0px !important;}
	img.site-logo, h1.site-title { display: block; float: none !important; margin: 0 auto !important; width: 40%; min-width: 300px; text-align: center !important; }
	#main-menu-con { position: relative; display: block; width: 100%; max-width: 100%; text-align: center; right: auto !important; left: auto !important; float: none !important; }
	#main-menu-con ul { display: inline-block; margin: 0; }
	.main-slider .slides li, .videoslide {height:300px;}
	.main-slider .flex_caption1 {font-size:25px;}
	.main-slider .slide_btn { font-size: 15px; }
	.main-slider .flex-control-nav li a { width: 13px; height: 13px; }
	.flexslider.main-slider .flex-direction-nav li a:before { font-size: 18px; }
	.main-slider .flex_caption2 {height:300px; width: 40%;}
	.view-staff { margin: 10px 4.5%; } 
	
	#main-menu-con ul ul ul { left: 10px; top: 20px; }
	#video-box-item { height: 550px; }
	.featured-box { width: calc(50% - 30px) !important; min-width: 200px; }
	.grid-portfolio li { width: 49%; }
	#footer-sidebar { margin: 0 -10px; text-align: center; }
	#footer-sidebar .first-footer-widget, #footer-sidebar .footer-widgets {width:calc(33.33% - 20.1px); margin: 10px; vertical-align: top; display: inline-block; text-align: left; float: none; }
}

@media screen and (max-width: 900px) {
	#grid-staff { width: calc( 90% + 10px); }
	.view-staff { margin: 10px 5px; } 
	#header { position:relative; } 
	.headerheight { display: none; }
	.mobile-menu { display: block; }
	#main-menu-con { display: none !important; position: absolute  !important; top: 100%; left: 0 !important; }
	#main-menu-con.resmenu { display: block !important; }
	#main-menu-con ul { display: inline-block; background: #ffffff;  margin: 0 auto; }
	#main-menu-con a, #main-menu-con a.wccart-icon { margin: 1px auto; border-bottom: 1px solid #f6f6f6; padding: 10px; width: 100%; border-radius: 0 !important;  }
	#main-menu-con li { float: none; width: 220px; margin: 0 auto; }
	#main-menu-con ul ul a { margin: 0 auto; width: 100%; }
	
	img.site-logo, .site-title { float: none; display: block; margin: 0 auto 5px; width: 40%; }
	main-menu-con
	.grid-portfolio li { width: 80%; }
	.bqpcontainer .tesheading .read-more { position: relative; }
	#content { width: 100%; float: none; }
	#right-sidebar { width: 100%; float: none; text-align: center; }
	#right-sidebar .widget {display: inline-block;vertical-align: top;margin: 10px;text-align: left;}
	#footer-sidebar .first-footer-widget, #footer-sidebar .footer-widgets {width:calc(50% - 20.1px);}
}


@media screen and (max-width: 699px) {
	img.site-logo, .site-title { width: 70%; }
	.main-slider .flex_caption2, .menu-top-menu-container { display: none; }
	#video-box-item { display: none; }
	.statitem { width: 100%; }
	#main-menu-con.gobottom { position: relative; right:auto; }
	.featured-box { width: calc(100% - 30px) !important; }
	.grid-portfolio li { width: 100%; }
	#filter-gallery a { line-height: 25px; margin: 3px 8px; padding: 0 9px; }
	.bqpcontainer .tesheading .read-more { position: relative; right: 0; }
	.floatleft, .floatright { width: 100%; }
	.social a { height: 35px; width: 35px; margin: 5px 1px;  }
	.social a::before { font-size: 20px; }
	#comments .commentlist li.comment { padding: 10px 0 0 0; }
	#comments .comment-body::after { display: none; }
	#comments img.avatar { border-width: 3px; height: 50px; width: 50px; position: relative; margin-right: 5px; }
	#comments .commentmetadata { padding-left: 60px; border-bottom: 1px solid #ffffff; margin-bottom: 10px; }
	#comments .commentlist .children li { padding-left: 11px; }	
}

@media screen and (max-width: 499px) {
	.poftfolioslider .flex-viewport { height: 250px; }
	.main-slider .flex_caption1 {font-size:15px;}
	.main-slider .slides li, .videoslide {height:200px;}
	.connumber { display: none; }
}