/*==================================RESPONSIVE LAYOUTS===============================================*/

@media only screen and (max-width: 1281px) {

	.category_isotope_item.list_view_type .mad_gallery_item .mad_item_hover {
		max-width: 100% !important;
	}

	.main_navigation>ul>li:nth-child(5) .sub_menu_wrap .sub_menu_wrap {
		left: auto;
		right: 100%;
		margin-left: 0;
		margin-right: -20px;

		-webkit-transform-origin: 100%;
		-moz-transform-origin: 100%;
		-ms-transform-origin: 100%;
		-o-transform-origin: 100%;
		transform-origin: 100%;
	}

}

@media only screen and (min-width: 1281px) {

	#header .menu_wrap.sticky {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background: #19459c;

		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}

}

@media only screen and (max-width: 1199px) {

	.table_type_1.horisontal tr th,
	.table_type_1.horisontal tr td {
		padding: 17px 20px;
	}

	.mad_banner_1.size2 {
		padding-left: 25px;
		padding-right: 25px;
	}

	.mad_post_nav .mad_post_options {
		margin-bottom: 20px;
	}

	#helpdeskform .mad_col_width {
		width: auto;
	}

	#header.header_3 .mad_pre_header .mad_info_list {
		text-align: center;
	}

	#header.header_3 .mad_pre_header .mad_info_list [class*="f_"] {
		float: none;
	}

	#header.header_3 .menu_wrap.sticky .logo,
	.zoomContainer {
		display: none;
	}

	.tabs.style2 .tabs_nav>li,
	.mad_time_list ul li {
		min-width: auto;
	}

	.mad_time_list ul {
		width: 33%;
	}

	.tabs.vertical>.tabs_nav>li>a[class*="icon-"]:before {
		margin-right: 10px;
	}

	.tabs.vertical>.tabs_nav>li>a {
		padding: 22px;
	}

	.tabs.vertical.horisontal>.tabs_nav>li {
		min-width: 33.3%;
	}

	.item_overlay .text_holder a[class*="mad_icon"] {
		font-size: 30px;
	}

	.table_type_1 tr th,
	.table_type_1 tr td {
		padding: 17px 25px;
	}

	.responsive_table tr:last-child td .f_left,
	.responsive_table tr:last-child td .f_right {
		float: none;
	}

	.responsive_table tr:last-child td .f_left {
		margin-bottom: 20px;
	}

	.separator_type_5_path {
		bottom: -2px;
	}

	.separator_type_5_path.top {
		top: -2px;
	}

	.mad_shop_products.categories {
		width: 18%;
	}

}

@media (min-width: 992px) and (max-width: 1199px) {

	#header.header_2 #main_navigation>ul>li {
		margin-right: 15px;
	}

	#header.header_2 #main_navigation>ul>li:last-child {
		margin-right: 0;
	}

}

@media only screen and (max-width: 992px) {

	#services3 .tabs.vertical>.tabs_nav {
		margin-top: 0;
	}

	.tabs.vertical.horisontal>.tabs_nav>li:before {
		width: 100%;
		height: 1px;
		top: auto;
		bottom: 0;
		left: 0;
		right: auto;
	}

	#services .carousel_type_2 .owl-carousel .owl-nav {
		bottom: calc(100% + 25px);
	}

	.carousel_type_2 .owl-carousel {
		padding-top: 20px;
	}

	.carousel_type_2.with_separator .owl-carousel .owl-nav {
		bottom: calc(100% + 25px);
	}

	.tabs.vertical>.tabs_nav,
	.tabs.vertical>.tabs_content,
	.tabs.vertical.horisontal>.tabs_nav>li,
	.tabs.style2 .tabs_nav>li {
		width: 100%;
		float: none;
	}

	.tabs_nav li:not(last-child) a {
		border-width: 1px !important;
	}

	#header.header_2 .menu_wrap .nav_item {
		padding: 5px 0;
	}

	.rev_slider .tp-caption {
		top: 250px;
	}

	#news .full_width_bg_pattern .row>[class*="col-md-"]:nth-child(n+2) {
		margin-top: 0;
	}

	.tabs.vertical>.tabs_nav>li>a {
		padding: 20px;
	}

	#index #header.header-main {
		position: relative;
		background: #ffffffd4;
	}

	#header.header-main .header_info_section {
		text-align: center;
	}

	.searchform_wrap .vc_child {
		width: 100%;
		padding: 250px 20px 0 20px;
	}

	#header.header-main .menu_wrap .nav_item {
		padding: 15px 0;
	}

	.mad_top_header .v_align_center_blocks .row>[class*="col-md-"]:nth-child(n+2) {
		margin-top: 20px;
	}

	.row>[class*="col-md-"]:nth-child(n+2) {
		margin-top: 25px;
	}

	#header.header-main .row>[class*="col-md-"]:nth-child(n+2) {
		margin-top: 25px;
	}

	.appointment_page .row>[class*="col-md-"]:nth-child(n+2) {
		margin-top: 30px;
	}

	#header.header .mad_top_header .row>[class*="col-md-"]:nth-child(n+2) {
		margin-top: 0;
	}

	.row>[class*="col-md-"][class*="col-sm-"]:nth-child(n+2) {
		margin-top: 0;
	}

	.pattern_section [class*="col-md-"]:nth-child(n+2) {
		margin-top: 0;
	}

	/*	Mobile Menu
	/* -------------------------------------------------- */

	#header.header.header-main .menu_holder {
		position: relative;
		background-color: rgba(0, 0, 0, .8);
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}

	#main_navigation {
		display: none !important;
	}

	.responsive-nav-button {
		display: inline-block;
	}

	.mobile-advanced {
		position: absolute;
		top: 0;
		right: -100%;
		z-index: 995;
		/* overflow: hidden; */
		/* overflow-x: hidden; */
		/* overflow-y: hidden; */
		display: block;
		width: 100%;
		height: 100%;
		background-color: #fff;
		pointer-events: none;
		-webkit-backface-visibility: hidden;
		-webkit-transform-origin: 0 0;
		transform-origin: 0 0;
		-webkit-transition: -webkit-transform .35s ease;
		transition: transform .35s ease;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	#wrapper.active .mobile-advanced {
		pointer-events: auto;

		-webkit-transform: translate(-100%, 0);
		transform: translate(-100%, 0);
	}

	.no-cssanimations.no-csstransforms3d #wrapper.active .mobile-advanced {
		right: 0;
	}

	.mobile-advanced>ul {
		padding-top: 80px;
	}

	.mobile-advanced li {
		display: block;
		list-style: none;
	}

	.mobile-advanced li>span {
		display: block;
		padding: 10px 15px;
		color: #333;
		font-weight: 400;
	}

	.mobile-advanced li a {
		display: block;
		padding: 10px 20px;
		border-bottom: 1px solid #eaeaea;
		line-height: 1.15em;
	}

	.mobile-advanced>ul>li.current>a,
	.mobile-advanced>ul>li:hover>a {
		background-color: #bda165;
	}

	.mobile-advanced ul ul li.current>a,
	.sub_menu_wrap>ul>li:hover>a {
		color: #bda165;
	}

	.mobile-advanced>ul>li>a {
		background-color: #383847;
		color: #fff;
		font-weight: 400;
		font-size: 16px;
		font-family: 'Montserrat', sans-serif;
		text-transform: uppercase;
		font-weight: normal;
	}

	.mobile-advanced ul ul li>a {
		padding-left: 30px;
	}

	.mobile-advanced ul ul li>a:before {
		display: inline-block;
		position: relative;
		top: -2px;
		margin-right: 5px;
		font-size: 10px;
		font-family: 'fontello';
		content: "\e8e5";
	}

	.mobile-advanced ul ul ul li>a {
		padding-left: 55px;
	}

	#advanced-menu-hide{
		position: fixed;
		top: 20px;
		right: 30px;
		z-index: 999;
		display: block;
		width: 40px;
		height: 40px;
		border: 2px solid #efbb20;
		border-radius: 5px;
		text-align: center;
		color: #383847;
		background: #fff;

		-webkit-backface-visibility: hidden;
				backface-visibility: hidden;
		-webkit-border-radius: 3px;
				border-radius: 3px;
		
	}

	.logged-in.admin-bar #advanced-menu-hide{top: 55px;}

	#wrapper.active #advanced-menu-hide{
		visibility: visible;
		pointer-events: auto;

		-webkit-transform: translateX(0);
				transform: translateX(0);
	}

	#advanced-menu-hide:after{
		content: '\ec9a';
		vertical-align: middle;
		text-align: center;
		font-size: 20px;
		font-family: 'fontello';
		line-height: 38px;
	}

	#advanced-menu-hide:hover{
		background: #efbb20;
		color: #fff;
	}

	.mobile-advanced > ul > li.drop .sub_menu_wrap,
	.mobile-advanced > ul > li.drop .sub_menu_wrap.sub_menu_inner{
		position: relative;
		width: 100%;
		opacity: 1;
		visibility: visible;
		left: 0;
		right: 0;
		border: none;
		padding: 0;
		margin: 0;

		-webkit-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
	}

	.sub_menu_wrap ul li:hover{background: transparent!important;}

	.sub_menu_wrap ul li{padding: 0;}

	.sub_menu_wrap ul li.current-menu-item{background: none!important;}


	.toggle_menu {
		display: block;
	}

	/* ------------------------------------------------------------------------------ */

	.mad_post_dir {
		margin-top: 20px;
	}

	.mad_post_nav .mad_post_dir,
	.mad_post_nav .mad_post_options {
		float: none;
	}

	#news .full_width_bg_pattern figure {
		display: none;
	}

	#news .full_width_bg_pattern {
		padding: 45px 0;
	}

	#services .mad_pattern_dark {
		margin-top: 0;
	}

	#blog .pattern_section .mad_section_container h2 {
		margin-bottom: 40px;
	}

	#blog .owl_custom_buttons {
		position: relative;
		text-align: center;
		margin-top: 30px;
	}

	.mad_contact_items .mad_contact_item {
		min-height: 230px;
	}

	.mad_contact_items .mad_contact_item {
		margin-bottom: 30px;
	}

	#contact2 {
		padding-bottom: 60px;
	}

	/*	Mobile Menu
	/* -------------------------------------------------- */

	#main_navigation ul {
		width: 250px;
		padding: 5px 0;
		position: relative;
		border: solid 1px #efefef;
	}

	#header.header.header-main .menu_holder {
		position: relative;
		padding: 10px 0;
		background-color: rgba(0, 0, 0, .8);
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}

	#main_navigation>ul>li {
		float: none;
		display: none;
		margin: 0;
		padding: 0;
	}

	#main_navigation ul li.current {
		display: block !important;
	}

	/* -------------------------------------------------- */

	.toggle_menu {
		display: block;
	}

	.mad_top_header {
		padding: 20px 0;
	}

	.logo {
		margin-bottom: 20px;
	}

	#header.header .header_info_section {
		text-align: center;
	}

	.mad_testimonials {
		padding-top: 0;
		margin-bottom: 30px;
	}

	#about.mad_section .section_image,
	#services3.mad_section .section_image {
		margin-top: 0;
		margin-bottom: 30px;
	}

	.section_image.align_center,
	.section_image.align_right {
		text-align: left;
	}

	.v_align_center_blocks>.row,
	.v_align_center_blocks>.container>.row,
	.v_align_center_section>div {
		display: block;
	}

	#header.header .menu_wrap {
		border: none;
	}

	#header.header .menu_wrap:before,
	#header.header .menu_wrap:after {
		display: none;
	}

	#header.header .menu_wrap {
		padding-bottom: 20px;
	}

	.menu-sidebar {
		position: relative !important;
		top: auto !important;
		margin-bottom: 20px;
		width: 100%;
	}

	.tabs.vertical.vertical_style2 .tabs_content {
		padding: 0;
	}

	.mad_banner_1 div.align_right,
	.mad_banner_1 {
		text-align: center;
	}

	.mad_banner_1 .mad_button {
		margin-top: 20px;
	}

	.mad_banner_1 h4 {
		margin-bottom: 20px;
	}

	.mad_banner_1 [class*="icon-"] {
		display: inline-block;
	}

	#about .mad_pattern.bg_pattern_dark,
	#blog .pattern_section .bg_pattern_dark,
	#about .mad_pattern.bg_pattern_red {
		margin-top: 0;
	}

	.pattern_section img {
		width: 100%;
	}

	.p_table_stat h2 {
		font-size: 55px;
	}

	.tabs_sort #options button {
		margin-right: 35px;
	}

	.col-md-3.col-sm-6 .mad_gallery_item {
		margin-bottom: 30px;
	}

	.p_table {
		margin-bottom: 30px;
	}

	.tabs.vertical.style2 .tabs_nav>li.ui-tabs-active a {
		border-right-color: #eee;
	}

	.tabs.style2 .tabs_nav>li:not(:last-child) a,
	.tabs.vertical.style2 .tabs_nav>li:not(:last-child) a {
		border-bottom-color: transparent;
	}

}

@media (min-width: 992px) {

	

	#index #header.header-main:before {
		display: none;
	}

	.table_type_1.var2.order_list tr th:nth-child(3) {
		width: 280px;
	}

	.v_align_center_blocks>.container>.row>[class*="col-md-"],
	.v_align_center_blocks>.row>[class*="col-md-"],
	.v_align_center_section>div {
		display: table-cell;
		vertical-align: middle;
		float: none;
	}

	.sub_menu_wrap .sub_menu_wrap {
		opacity: 0;
		visibility: hidden;
		left: 100%;
		top: 0;
		margin-left: -20px;
		-webkit-transform: rotate3d(0, 1, 0, 90deg);
		-moz-transform: rotate3d(0, 1, 0, 90deg);
		-o-transform: rotate3d(0, 1, 0, 90deg);
		-ms-transform: rotate3d(0, 1, 0, 90deg);
		transform: rotate3d(0, 1, 0, 90deg);
	}

}

@media (max-width:769px) {

	

	[class*="mad_pattern"] {
		padding: 50px 50px 70px;
	}

	[class*="mad_pattern"] article {
		max-width: 100%;
	}
	.mobile-advanced>ul>li.drop a.animated::after{
		
		content: '\f107';
		font-family: 'Font Awesome 6 Pro';
		margin-left: 7px;
		font-weight: 900;
		font-size: 15px;
		display: inline-block;
		vertical-align: top;
		position: absolute;
		right: 20px;
	} 
	.product-content .product-detail ul li {
		font: 12px/20px 'Poppins', sans-serif;
	}
	.img-product-details .product-imgs {
		width: 100%;
		margin: 0 0 20px 0;
	}

.tp-banner-container{
	margin-top: 0 ;
  }

	.mad_shop_products.categories {
		width: 31%;
	}

	.mad_sort_categories .custom_select {
		display: block;
	}

	.mad_sort_categories .custom_select:nth-child(n+2) {
		margin-left: 0;
		margin-top: 20px;
	}
	.tiles-section .mad_section {
		padding-bottom: 100px;
	}
	.tile-section .row .service-tile {
		padding: 35px 25px;
		text-align: center;
	}
	.tile-section {
		background-color: #104cba;
		padding-top: 30px;
	}
	section > div.container > div.row.mt--70 div.about__inner.about__hober__info.active {
		padding: 30px 15px 30px;
		height: 100%;
		text-align: justify;
	}
	.mad_pattern.bg_pattern_red.clearfix{
		min-height: 495px !important;
	}
	.mad_section.inset_none.pb-0 .mad_full_width_grid .row.pattern_section .col-md-6 .mad_pattern.bg_pattern_dark{ 
		min-height: 375px !important;
	}
	.paralax_image_bg2 .owl-carousel .owl-controls .owl-nav .owl-prev,.paralax_image_bg2 .owl-carousel .owl-controls .owl-nav .owl-next {
		margin-top: -55px;
	}
	#news .paralax_image_bg4 {
		padding-bottom: 100px;
		padding-top: 0;
	}
	#contact2 .mad_contact_items .col-md-4:nth-child(1),#contact2 .mad_contact_items .col-md-4:nth-child(2),#contact2 .mad_contact_items .col-md-6:nth-child(4) {
		border-right: none;
	  }
	  
	  #contact2 .mad_contact_items .col-md-4:nth-child(1),#contact2 .mad_contact_items .col-md-4:nth-child(2),#contact2 .mad_contact_items .col-md-4:nth-child(3){
		border-bottom: 2px solid #272627;
	  }
	  #contact2 .mad_contact_items .mad_contact_item {
		margin-bottom: 0px;
		padding-top: 25px;
		padding-bottom: 25px;
	}
	.tp-banner-container .breadcrumb-section .paralax_image_bg41 {
		padding-bottom: 50px;
		padding-top: 50px;
		margin-top: 0;
	}
	#news.breadcrumb-section .mad_section.paralax_image_bg41 .full_width_bg_pattern.bg_pattern_red{
		min-height: 100px !important;
	}
	#news .full_width_bg_pattern .mad_section_container .mad_title_style1 {
		margin-bottom: 0 !important;
		margin-top: 0 !important;
	}



	.isotope.three_collumn .item {
		width: 50%;
	}

	[class*="isotope_container"] [class*="isotope_item"].list_view_type {
		width: 100%;
	}

	.img_align_left,
	.img_align_right {
		float: none;
		margin-right: 0;
		margin-left: 0;
	}

	.mad_time_list ul {
		width: 50%;
	}

	#header.header-main .header_info_section>[class*="head_"] {
		display: block;
		text-align: center;
	}

	#header.header-main .header_info_section>[class*="head_"]:last-child {
		margin-left: 0;
		margin-right: 0;
		margin-top: 20px;
	}

	.header_info_section {
		text-align: center;
	}

	.mad_top_footer {
		text-align: center;
	}

	#footer.footer_2 .mad_top_footer,
	#footer.footer_3 .mad_top_footer {
		text-align: left;
	}

	#about .mad_section_container {
		margin: 30px 0;
	}

	[class*="mad_pattern_"] {
		height: auto;
	}

	.mad_section .section_image.align_right,
	.mad_section .section_image.align_center {
		text-align: left;
	}

	[class*="col-sm-"]:nth-child(n+2) {
		margin-top: 30px;
	}

	#countdown [class*="col-sm-"]:nth-child(n+1) {
		margin-top: 0;
		margin-bottom: 30px;
	}

	#countdown .row {
		margin-bottom: -30px;
	}

	.contact_form [class*="col-sm-"]:nth-child(n+2) {
		margin-top: 0;
	}

	#footer .mad_top_footer {
		text-align: center;
		padding: 30px 0;
	}

	.v_align_center_blocks>.container>.row,
	.v_align_center_blocks>.row,
	.v_align_center_section>div {
		display: block;
	}

	#footer .mad_top_footer .align_right {
		text-align: center;
	}

	.mad_contact_items .mad_contact_item {
		min-height: auto;
	}

	.mad_contact_items .mad_contact_item {
		margin-bottom: 45px;
	}

	#blog .owl_custom_buttons {
		right: 15px;
	}

	#services2 {
		padding: 185px 0;
	}

	.mad_gallery_item .mad_gallery_text {
		min-height: auto;
	}

	/* tables change*/
	.responsive_table,
	.responsive_table tbody,
	.responsive_table thead,
	.responsive_table tfoot,
	.responsive_table th,
	.responsive_table tr,
	.responsive_table td {
		display: block;
	}

	.responsive_table tr:first-child {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.responsive_table td {
		position: relative;
		padding-left: 50% !important;
		border-left: none !important;
		border-right: none !important;
		border-top: none;
	}

	.responsive_table td:not([colspan]):after {
		content: "";
		display: block;
		border-left: 1px solid #e0e0e0;
		position: absolute;
		left: 47%;
		top: 0;
		height: 100%;
	}

	.responsive_table td[colspan] {
		width: 100%;
		text-align: center;
		padding: 10px 10px 10px 10px !important;
	}

	.responsive_table tbody td[colspan] {
		display: block;
		text-align: center;
		border-left: none;
		border-right: none;
		border-top: none;
		width: 100%;
	}

	.responsive_table td[colspan]:before {
		display: none;
	}

	.responsive_table.table_type_1.var5 td[colspan] table tr td {
		padding: 0 !important;
	}

	.responsive_table.table_type_1.var5 td[colspan] table tr td .button,
	.responsive_table.table_type_1.var5 td[colspan] table tr td input {
		margin-top: 10px;
	}

	.table_type_1.var5 tr:last-child td table tr td:last-child {
		text-align: center;
	}

	.responsive_table td[colspan]:after {
		display: none;
	}

	.responsive_table.table_type_1.var5 td[colspan] table tr td {
		width: 100%;
	}

	.responsive_table td[colspan] table tr td:after {
		display: none;
	}

	.responsive_table td[colspan] table tr td:before {
		display: none;
	}

	.responsive_table {
		border-left: 1px solid #eee;
		border-right: 1px solid #eee;
	}

	.responsive_table td:before {
		content: attr(data-title);
		position: absolute;
		top: 50%;
		left: 9px;
		width: 45%;
		padding-right: 10px;
		-webkit-transform: translateY(-50%) translateZ(0);
		-moz-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.responsive_table tr:nth-child(2n) {
		background: #fbfbfb;
	}

	#header .row>[class*="col-md-"]:nth-child(n+2) {
		margin-top: 0;
	}

	.rev_slider .tp-caption,
	.rev_slider .caption {
		display: none !important;
	}

	.rev_slider .tp-caption {
		top: 200px;
	}

	.separator_type_5_path {
		height: 100px;
	}

	#services3 .tabs.vertical>.tabs_nav {
		margin-top: 0;
	}

	.tabs.vertical>.tabs_nav,
	.tabs.style2 .tabs_nav,
	.tabs.vertical>.tabs_content {
		margin-right: 0;
		width: 100%;
		float: none;
	}

	.tabs.style2 .tabs_nav>li {
		width: 100%;
		float: none;
	}

	.tabs_nav li:not(last-child) a {
		border-width: 1px !important;
	}

	.mad_logo_container {
		width: 100%;
	}

	.mad_top_footer .container>.row .col-sm-4 {
		padding: 0;
	}

	.pattern_section img {
		width: 100%;
	}

	#footer.footer_3 .widget_instagram .instagram-feed li {
		width: 20%;
	}

	#progressbar li {
		float: none;
		width: 100%;
	}

	#progressbar li:not(:last-child) {
		margin-bottom: 10px;
	}

	.custom_select.phone_select {
		margin-bottom: 20px;
	}

	.tabs_sort #options button {
		display: block;
		text-align: center;
		width: 100%;
		margin-right: 0;
		margin-top: 0;
		border: none;
	}

	.tabs_sort #options button:hover {
		color: #bda165;
	}

	.tabs_sort #options button:hover,
	.tabs_sort #options button.is-checked,
	.tabs_sort .button-group {
		border: none;
	}

	.tabs_sort .button-group:after,
	.tabs_sort #options button:after {
		display: none;
	}

}

.f-r {
	float: right;
}

@media only screen and (max-width: 600px) {
	.f-r {
		float: none;
	}
}

@media (min-width:769px) {

	.mad_testimonials_section .mad_widget {
		min-height: 330px;
	}

	.mad_member_section {
		margin-right: 20px;
	}

	.mad_flex_list>.row {
		display: flex;
		flex-flow: row wrap;
	}

	.mad_flex_list>.row>[class*="col-"] {
		float: none;
	}

	#contact .mad_section_container {
		padding-top: 35px;
	}

	.v_align_center_blocks>.container>.row>[class*="col-sm-"],
	.v_align_center_blocks>.row>[class*="col-sm-"] {
		display: table-cell;
		vertical-align: middle;
		float: none;
	}

	#services3.mad_section.v_align_center_blocks>.container>.row>[class*="col-"] {
		vertical-align: bottom;
	}

	.pattern_section.row>.col-sm-7 {
		width: 58%;
	}

	.pattern_section.row>.col-sm-5 {
		width: 42%;
	}

}

@media (min-width: 769px) and (max-width: 992px) {}

@media only screen and (max-width:480px) {


	.hide-full {
		display: block;
	}

	.show-full {
		display: none;
	}

	.hide-full .img-logo {
		width: 70px !important;
		height: auto;
	}

	.mad_top_header {
		padding: 0px 0;
	}

	.tp-banner-container .carousel_type_3 {
		margin-top: 0px;
	}

	.menu_holder.hide-full .logo {
		margin-bottom: 0;
	}

	.mad_smooth_list .smooth_item figure {
		float: none;
		margin-right: 0;
		margin-bottom: 20px;
	}

	.mad_smooth_list .smooth_item figure img {
		width: 100%;
	}

	[class*="mad_pattern"] {
		padding: 30px;
	}

	#header.header-main .header_info_section>[class*="head_"]:last-child {
		margin-left: 0;
		margin-top: 10px;
	}

	.owl_custom_buttons .button_text_title h5 {
		display: none;
	}

	[class*="col-xs-"] {
		float: none;
		width: 100%;
	}

	.separator_type_5_path {
		height: 50px;
	}

	#blog .owl_custom_buttons {
		position: relative;
		margin-top: 20px;
		right: auto;
	}

	.table_type_1 tr th,
	.table_type_1 tr td {
		padding: 15px;
	}

	.mad_lightbox_list .mad_item_hover {
		float: none;
		max-width: 100%;
	}

	.mad_banner_1 .mad_title_style1 {
		font-size: 40px;
	}

	#blog .owl_custom_buttons .mad_button {
		margin-right: 5px;
	}

	#services .carousel_type_2 .owl-carousel .owl-nav {
		bottom: auto;
		top: 0;
		margin-top: 25px;
	}

	[class*="mad_pattern"] {
		height: 550px;
	}

	#sidebar .carousel_type_2 .owl-carousel .owl-nav {
		position: absolute;
		bottom: calc(100% + 25px);
		right: 15px;
		top: auto;
	}

	#services3 .tabs.style2 .tabs_content {
		padding: 20px;
	}

	.accordion .a_title {
		padding-right: 10px;
		font-size: 14px;
		line-height: 43px;
	}

	.a_title:before {
		margin-right: 10px;
		width: 45px;
		font-size: 14px;
	}

	.a_title span {
		font-size: 14px;
		line-height: 45px;
	}

	#gallery .owl_custom_buttons {
		bottom: -55px;
	}

	h2 {
		font-size: 40px;
	}

	.mad_menu_button_wrap,
	#header.header_2 .menu_wrap .nav_item {
		text-align: center;
		display: block;
	}

	#header.header_2 .menu_wrap .nav_item {
		padding-top: 10px;
	}

	.mad_pre_header .f_left,
	.mad_pre_header .f_right {
		float: none;
	}

	#header.header_2 .mad_pre_header,
	.shopping_cart .sc_footer {
		text-align: center;
	}

	.shopping_cart .sc_footer .mad_button:first-child {
		margin-bottom: 10px;
		margin-right: 0;
	}

	.shopping_cart {
		right: -30px;
		min-width: 310px;
	}

	#header.header_3 .shopping_cart {
		right: 0;
	}

	.mad_time_list ul {
		width: 100%;
	}

	.page_404 h2 {
		font-size: 150px;
		line-height: 170px;
	}

	.isotope.three_collumn .item {
		width: 100%;
	}

	.mad_post_options a:first-child,
	.mad_post_dir a:first-child {
		margin-bottom: 20px;
	}

	.mad_shop_products.categories {
		width: 47%;
	}

	.product_page .product_item img {
		width: 100%;
	}

	.product_description {
		margin-top: 20px;
	}

	.mad_input_button .mad_button {
		margin-left: 0;
		margin-top: 10px;
	}

	.responsive_table tr:last-child td .f_right .mad_button:first-child {
		margin-bottom: 10px;
	}

	.carousel_type_2 .owl-carousel .owl-nav {
		bottom: calc(100% - 5px);
	}

	.mad_blog_post .mad_post_content .mad_post_date {
		display: none;
	}

	.searchform_wrap .vc_child {
		padding-top: 155px;
	}

	.searchform_wrap .vc_child h4 {
		font-size: 20px;
	}

	#styleswitcher {
		top: 0px !important;
	}

	.mad_item_list>ul>li {
		display: block;
		margin-right: 0 !important;
	}

	.mad_item_list.style2>ul {
		margin: 0;
	}

	.page_404,
	.page_coming_soon {
		padding-top: 55px;
	}

	.page_coming_soon h2 {
		font-size: 50px;
	}

	.category_isotope_item.list_view_type .mad_gallery_item .mad_item_hover {
		max-width: 100%;
		float: none;
	}

	.category_isotope_item.list_view_type .mad_gallery_item {
		border-left: 1px solid #eee;
	}

	.mad_post_comment .mad_post_author {
		display: none;
	}

	.mad_post_comment {
		margin-left: 0;
		padding: 20px;
	}

	.product_name a {
		padding-left: 0;
	}

	.table_type_1.horisontal tr th,
	.table_type_1.horisontal tr td {
		padding: 15px 10px;
	}

	.mad_elements .mad_item_list.style3 li:last-child .mad_button {
		margin-bottom: 30px;
	}

}

@media only screen and (max-width:320px) {

	.a_title:before {
		width: 35px;
	}

	.accordion .a_title,
	.a_title span {
		font-size: 12px;
	}

	.mad_banner_1 .mad_title_style1 {
		font-size: 25px;
	}

	.form_type_1 .control-group.form-elements label:last-child {
		margin-left: 172px;
	}

	.form_type_1.type_2 .control-group.form-elements label:last-child {
		margin-left: 20px;
	}

}