/* Easy Theme by D5 Creation, www.d5creation.com
/* =Responsive Design 
-------------------------------------------------------------- */

/* Responsive Styles */
@media screen and (max-width: 1100px) {
	body { max-width: 100%; min-width: 100%; width: 100%; overflow-x: hidden; }
	#resmeasure { width: 11px; }	
	#header-content, #container, #footermenu, #creditline { width: 95%; margin-left: auto; margin-right: auto; }	
	#header-content { flex-direction: column; align-items: center; }
	.logotitle { max-width: 35%; justify-content: center; }
	#mmainmenu { max-width: 100%; }
}

@media screen and (max-width: 1000px) {	
	#slideshow div.post-slide { width: 65%; }
	.footer-widget1, .footer-widget2, .footer-widget3, .footer-widget4 { width: calc(25% - 30px); }
}

@media screen and (max-width: 950px) {	
	#slideshow div.post-slide { width: 50%; }
	#content, .social { width: 100%; }	
	#right-sidebar { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; width: 100%; border-bottom: 3px solid rgba(255,255,255,0.1); }
	#right-sidebar .widget { width: 270px; margin: 20px; }
	#footer-sidebar { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
	.footer-widget1, .footer-widget2, .footer-widget3, .footer-widget4  { margin: 20px; min-width: 250px; width: 250px; }	
}

@media screen and (max-width: 900px) {
	#resmeasure { width: 8px; }
	#header-content { flex-direction: row-reverse; padding: 5px 15px; }
	#widthscale { width: calc(100% - 15px); }
	#content, #content-full, #footer-content { padding: 15px 15px 0; }
	
	#mmainmenu { width: 250px; position: relative; }
	#mobile-menu { display: flex; }
	#main-menu-con { display: none; position: absolute; top: 100%; left: 0 !important; z-index: 999999; }
	.m-menu { display: inline-block; background: #232323; margin: 0 auto; }
	.m-menu > li > a {  border-bottom: 1px solid rgba(0,0,0,0.5); border-top: 1px solid rgba(255,255,255,0.1); padding: 13px 3px 20px; }
	.m-menu > li:first-child > a, .m-menu > li:last-child > a { border-top: none; }
	.m-menu > li::before, .m-menu ul li:first-child a::before { display: none !important; }	
	.m-menu li { float: none; margin: 0 auto; width: 250px; }
	.m-menu ul a { margin: 0 auto; width: 100%; }	
	.m-menu ul { left: 20px !important; top: calc(100% - 1px) !important; right: auto !important; transform: none !important; }	
	#main-menu-con li.menu-item-has-children > a::after, #main-menu-con li.page_item_has_children > a::after, #mobile-menu::after { right: 5px; }
}

@media screen and (max-width: 700px) { .post-slide p { font-size: 0px; } .post-slide p a.read-more { font-size: 15px; }  }

@media screen and (max-width: 500px) {
	#header-content, #container, #footermenu, #creditline { width: 99%; }
	#slideshow div.post-slide { width: 93%; }
	#header-content { flex-direction: column; align-items: flex-start; }
	.logotitle { max-width: 75%; justify-content: flex-start; align-self: flex-start; }
}