/* Business Line Theme by D5 Creation, www.d5creation.com
/* =Responsive Design 
-------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
	body { max-width: 100%; min-width: 100%; width: 100%; overflow-x: hidden;}
	#container, #header-content, #content-full, #footer-content{ max-width: calc(100% - 30px); width: calc(100% - 30px); position: relative; }

	#header-content { display: flex; flex-direction: column; justify-content: center; align-items: center; }
	.site-title{ max-width: 100%;  font-size: 30px; text-align: center; }
	#d5businessline-main-menu{ float: none; max-width: 100%; }
	#d5businessline-main-menu > div > ul {  margin: 0 auto 10px; }
	#d5businessline-main-menu a { padding: 10px 0; background-image: none !important; }
		
	#slide, #slide img{ max-width: 100%; }
	#heading{ font-size: 35px; }
	#featured-boxs{ display: flex; width: 100%; justify-content: center; flex-wrap: wrap; }
	.featured-box, .featured-box-first{ margin: 0 15px 20px !important; }	
}

@media screen and (max-width: 1000px) {
	#content{ width: 100%; }
	#right-sidebar, #footer-sidebar{ display: flex; width: 100%; justify-content: center; align-items: flex-start; flex-wrap: wrap;  }
	#right-sidebar .widget, #footer-sidebar .widgets, #footer-sidebar .first-widget{ min-width: 250px; margin: 0 15px 25px; }
}

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

@media screen and (max-width: 800px) {
	#header-content{ padding-bottom: 35px; }
	img.site-logo, .site-title{ margin: 5px auto 10px; display: block; float: none; }	
	.mobile-menu { display: flex; }
	#d5businessline-main-menu { display: none; position: absolute; top: 100%; left: 0 !important; z-index: 999999; }
	#d5businessline-main-menu a { font-size: 14px; border-bottom-width: 1px !important; }	
	#d5businessline-main-menu ul { display: inline-block; background: #333333; margin: 0 auto; }
	#d5businessline-main-menu a, #d5businessline-main-menu a.wccart-icon { margin: 1px auto; border-bottom: 1px solid #fffafa33; padding: 10px; width: auto; border-radius: 0 !important;  }
	#d5businessline-main-menu > div > ul > li { float: none; margin: 0 auto; width: 230px; }
	#d5businessline-main-menu ul ul a { margin: 0 auto; }	
	#d5businessline-main-menu ul ul, .sub-menu, .sub-menu ul ul { left: 20px !important; top: 90% !important; }
	#d5businessline-main-menu li.menu-item-has-children > a::after, #d5businessline-main-menu li.page_item_has_children > a::after{ right: 5px; }	
	#d5businessline-main-menu .menu-item-has-children > a, #d5businessline-main-menu .page_item_has_children > a { padding-bottom: 17px; }
	#d5businessline-main-menu .menu-item-has-children::after, #d5businessline-main-menu .page_item_has_children::after{ top: auto; bottom: 3px; }	
}

@media screen and (max-width: 500px) {
	.featured-box, .featured-box-first{ width: calc(100% - 30px); }
}