/* General
================================================== */
img{ max-width: 100%; height: auto; }

/*hide responsive menus*/
#top-bar .selector,
#navigation .selector { display: none; }


/* Apply To All Responsive Layouts
================================================== */
@media only screen and (max-width: 800px) {

}

@media only screen and (max-width: 1169px) {
	#headerwrap, #titlewrap, #footerwrap, #topwrap { padding-left: 10px; padding-right: 10px; }
	
	#hsidebar ul.contact { font-size: 18px; }
	#hsidebar ul.contact li { margin-left: 20px; }
}

/* Apply To All Responsive Layouts
================================================== */
@media only screen and (max-width: 959px) {
	
	/*hide stuff*/
	.flexslider-container .flex-caption{ display: none }
	#related-posts .read-more{ display: none }
	
	/* Top */
	#top .topleft { display: none; }
	#top .topright { width: 100%; text-align: center; }
	
	/* Bottom Sidebar */
	#bsidebar, #tsidebar { max-width: 95%; }
	#bsidebar .box, #tsidebar .box { clear: both; float: none; margin: 0 auto 20px auto !important; width: 96% !important; }
	
	/* Footer Sidebar */
	#footerwrap { padding-left: 0; }
	#fsidebar { float: none; max-width: inherit; }
	#fsidebar .box, #fsidebar .box.last { float: none; width: 96% !important; height: auto; clear: both; text-align: center; margin: 0 auto 20px auto !important; border: none; min-height: auto; }
	#copyright { max-width: 90%; text-align: center; float: none; margin: 4% auto; }
	
	/* Sidebar */
	#sidebar{ width: 100%; margin: 15px 0 0 0; padding: 25px 10px 0 10px; border-top: 4px solid #eee; border-left: none; border-right: none; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } 
	#sidebar .box { width: 100%; max-width: 307px; clear: both; float: none; margin: 0 auto 20px auto; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
	
	/* Main */
	#main, .level1 #main, .level2 #main, .level3 #main { padding-left: 0; width: 100%; max-width: 100%; }
	
	#headerwrap { background-image: none; }
	
	#content { width: 100%; }
		
	#titlecontent { float: none; display: block; width: auto; max-width: inherit; padding: 0 10px; }
	#pagetitle h1 { padding: 0 10px; }
	#titlecontent h1 { padding: 0; }
	
	h1#single-title, #byline, .share { padding: 0 10px; }
	
	#hsidebar ul.socials li, ul.socials li { float: none; display: inline; }
	ul.socials li img { float: none; }
	
	.cmap #responsive-frame { padding-bottom: 25%; }
	
	.srp-thumbnail-box { display: none !important; }
	.srp-content-box { width: 100%; display: block !important; }
	
	ul.contact li.phone1, ul.contact li.phone2 { display: none !important; }
	ul.contact li.mobile { display: block !important; }
	#header-left ul.contact li.mobile, #header-right ul.contact li .mobile { display: inline-block !important; }
	
	.fixedmenuwrap { display: none !important; }
	
	ul#socials { float: none; clear: both; margin: 10px auto; text-align: center; }
	
	/* #navigation .sf-menu a { padding: 0 0.650em; }
	#navigation .sf-menu { display: table; margin: 0 auto; float: none; }
	#nav-wrap { float: none; width: 100%; } */
	
	#hsidebar ul.contact { margin-top: 40px; }
}



/* #Tablet (Portrait) = Design for a width of 730px
================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	/*blog*/
	#author-bio{ width: 355px }
	
	/*search*/
	.search-entry-text{ width: 310px; }
	
	/*main*/
	#main, .level1 #main, .level2 #main, .level3 #main { width: 100% }

}



/* Mobile (Portrait) = Design for a width of 280px
================================================== */

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

	/*hide stuff*/
	.flexslider-container .flex-caption,
	#services-sidebar{ display: none }
	#top-search input[type=search]{ display:none; }
	
	/*caption*/
	.bx-wrapper .bx-caption { font-size: 14px; width: 90%; }
	
	/*main*/
	#main, .level1 #main, .level2 #main, .level3 #main { width: 100%; }
	
	/*header*/
	#header-logo{ width: 100%; text-align: center; clear: both; }
	#header-logo img{ float: none; }
	
	/*footer*/
	#footer-left { clear: both; text-align: center; width: 100%; padding: 0;	}
	#footer-right { clear: both; text-align: center; width: 100%; padding: 0; }
	
	/* Header Sidebar */
	#hsidebar { width: 100%; clear: both; }
	#hsidebar .box { width: 100%; text-align: center; clear: both; }
	
	/*titles*/
	#page-heading h1, #page-heading h2{ width: 100% }
	#single-nav{ position: inherit; text-align: center; margin-top: 10px; margin-left: -7px }
	
	/*blog*/
	#related-posts .alignleft{ max-width: 30% }
	.related-entry-excerpt{ display: none }
	#author-bio{ width: 135px  }
	
	/*search*/
	.search-entry-text{ width: 100%; margin-top: 20px;  }
	
	/*footer*/
	#footer-bottom, #footer-menu{ text-align: center }
	#footer-menu{ margin-top: 5px }
	
	/*comments*/
	.children { margin: 30px 0 0; }
	.children li.depth-2,
	.children li.depth-3,
	.children li.depth-4,
	.children li.depth-5,
	.children li.depth-6,
	.children li.depth-7,
	.children li.depth-8,
	.children li.depth-9,
	.children li.depth-10 { margin: 0 }
	
	.wpb_widgetised_column { margin-top: 15px; padding-top: 25px; padding-left: 0; border-top: 4px solid #eee; border-left: none; border-right: none; } 
	.wpb_widgetised_column .box { width: 100%; max-width: 307px; clear: both; float: none !important; margin: 0 auto 20px auto !important;}
	
	.nomobile { display: none !important; }
	
	#hsidebar ul.contact { float: none; width: 100%; font-size: 26px; }
	#hsidebar ul.contact li { margin-left: 0; margin-bottom: 30px; }
    #hsidebar { padding: 20px 0; }
    #hsidebar ul.socials, #hsidebar ul.socials li { float: none; }
    #header-left, #header-right { padding-bottom: 10px; float: none; width: 100%; }
	#header-left .box, #header-right .box { width: 100%; float: none; clear: both; text-align: center;}

}


/* Mobile (Landscape) = Design for a width of 440px
================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	/*blog*/
	#author-bio{ width: 295px }
	.related-entry-excerpt{ display: block }
	
	/*search*/
	.search-entry-text{ width: 255px; margin-top: 0; }

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

	/* Single Image in Blog Post */
	.single .postcontent img,
	.single .postcontent img.size-full,
	.single .postcontent img[class*="align"],
	.single .postcontent img[class*="wp-image-"]	{
		clear: both;
		float: none;
		display: block;
		margin: 0 auto 10px auto;
		width: auto;
		max-width: 100%;
		height: auto;
	}
	
	.cmap #responsive-frame { padding-bottom: 56.25%; }
    #header-left, #header-right { width: 100%; float: none; clear: both; margin: 0 auto 20px auto; }
	#header-left .box, #header-right .box { float: none; clear: both; text-align: center; display: block; margin: 0 auto; }
	#header-left ul.contact li, #header-right ul.contact li { margin: 0 auto; }
    
}