/*font*/
/*font end*/

/*script*/
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
/*script end*/



/*---reset start---*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
html {
	height:100%;
	width:100%;
}
a {
    color: #497c6f;
    text-decoration: none;
}
body {
    line-height: 1;
    background-color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*---reset end---*/

	/*head*/
	#head {
		width: 100%;
		height: 150px;
		background-color: #fafafa;
	}
	#head_m {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 20px;
		box-sizing: border-box;
		min-width: auto; /* убрать фиксированную минимальную ширину */
	}
	#head_m img.logo {
		margin: -25px 0px 0px 0px;
    	float: left;
	}
	#head_m ul {
		display: block;
		float: right;
		text-align: left;
		background: #497c6f;
		padding-right: 0px;
		margin-bottom: 20px;
	}
	#head_m ul li {
		display: inline-block;
		margin: 0px 0px 0px 24px;
		line-height: 40px;
	}
	#head_m ul li a {
		color: #fff;
		text-decoration: none;
		padding: 0px;
	}
	#head_m ul li a:hover {
		color: #fff;
		background: #497c6f;
		text-decoration: underline;
	}
	#head_m ul li a:hover {
		color: #fff;
		background: #497c6f;
		text-decoration: none;
	}
	#rokajaxsearch {
		float: right;
		margin-right: 30px;
		margin-top: 8px;
	}
	#roksearch_search_str {
		background: #fafafa url(../images/search-icon.png) 98% 50% no-repeat;
		border-bottom: 1px solid #000;
		border-top: 0px;
		border-right: 0px;
		border-left: 0px;
		color: #000;
		padding: 7px 5px;
	}
	.roksearch-wrapper input[type="text"]::-webkit-input-placeholder {
		color: #000;
	}
	.roksearch-wrapper input[type="text"]::-moz-placeholder {
		color: #000;
	}
	.customtopcont {
		float: right;
		text-align: right;
	}
	.customtopcont p {
		line-height: 24px;
	}
	.cont_f {
		color: #000;
		background: url(../images/phone.png) 50px 0px no-repeat;
		font-size: 18px;
		font-weight: 500;
	}
	#roksearch_results {
		z-index: 10000;
		width: 300px;
		padding: 10px;
		background-color: #fafafa;
		border: 1px solid #ccc;
	}
	#roksearch_results .roksearch_result_wrapper1 {
		margin-bottom: 7px;
		padding-bottom: 7px;
		border-bottom: 1px solid #ccc;
	}
	#roksearch_results .roksearch_even span, #roksearch_results .roksearch_odd span {
		font-weight: normal;
	}
	.roksearch_odd h3 {
		margin-bottom: 5px;
	}
	.roksearch_header {
		font-weight: bold;
		margin-bottom: 10px;
	}
	.advanced-search {
		display: none;
	}
	.custom-user {
		float: right;
		border: 0px;
		width: 50px;
		margin-right: 30px;
		padding: 0px;
	}
	#gruemenu.grue_120 > ul > li > a {
		padding: 16px 15px 16px 15px;
		border-right: 0px;
		text-decoration: none;
		letter-spacing: 0px !important;
		/*text-transform: inherit !important;*/
	}
	#gruemenu.grue_120 {
		background: none !important;
	}
	#gruemenu.grue_120 > ul > li.has-sub > a::after {
		border-top-color: #D1E3FB;
		right: 0px !important;
		top: 50%;
		margin-top: -2px !important;
	}
	#gruemenu.grue_120 ul.submenu a {
		text-align: left;
	}
	/*head end*/
	/*breadcrumb*/
	#breadcrumb {
		width: 100%;
		max-width: 1200px;
		margin: 30px auto;
		padding: 0 20px;
		box-sizing: border-box;
		min-width: auto;
	}
	.breadcrumb {
		background-color: #fafafa;
		border-radius: 0px;
	}
	/*breadcrumb end*/
	/*banner*/
	#banner {
		width: 100%;
		max-width: 1200px;
		margin: 45px auto;
		padding: 0 20px;
		box-sizing: border-box;
	}
	.span1 {
		width: 305px;
		float: left;
	}
	.span1 .nav-stacked>li {
		float: none;
		width: 295px;
		height: 85px;
		margin-bottom: 10px;
		background: #f5f5f5;
		border-radius: 5px;
	}
	.span1 .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
		color: #497c6f;
		background-color: inherit;
		-webkit-border-top-left-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
		width: 305px;
	}
	.span1 .nav>li.active {
		-webkit-border-top-left-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
		width: 305px;
	}
	.span1 .nav>li>a:focus {
		text-decoration: none;
		background-color: inherit;
	}
	.span1 .nav>li:hover {
		/*background-color: #c5c5c5;*/
	}
	.span1 .nav>li>a {
		width: 295px;
		height: 85px;
		padding: 10px 15px 10px 20px;
		line-height: normal;
		display: table-cell;
		vertical-align: middle;
		color: #3a3a3a;
		-moz-transition: all 0.1s ease-in-out;
		-o-transition: all 0.1s ease-in-out;
		-webkit-transition: all 0.1s ease-in-out;
	}
	.span1 .nav>li>a:hover {
		-webkit-transform: translate(8px,0);
		-moz-transform: translate(8px,0);
		-o-transform: translate(8px,0);
	}
	.span2 .tab-pane {
		float: left;
		height: 465px;
		background: #f5f5f5;
		width: 895px;
		position: relative;
		z-index: 10000;
		padding: 15px;
	}
	.items-row .span3 {
		width: 24.9999%;
		float: left;
		padding: 0px 5px;
		margin-bottom: 30px;
	}
	.items-row .span3 .item {
		border: 1px solid rgb(0 0 0 / 10%);
		min-height: 490px;
		max-height: 490px;
		overflow: hidden;
	}
	.items-row .span3 .item img {
		width: auto;
		height: 288px;
	}
	.items-row .span3 h2 {
		font-size: 16px;
		text-transform: uppercase;
		text-align: left;
		font-weight: bold;
		margin-bottom: 0px;
	}
	.items-row .span3 .page-header {
		padding: 5px;
		margin: 0px 0px 10px 0px;
	}
	.items-row .span3 .icons {
		display: none;
	}
	#banner .row {
		margin-right: 0px;
		margin-left: 0px;
	}
	a.upper {
       	text-transform: uppercase !important;
	}
	#YJSlide_outer96 {
		position: relative;
		margin: 0px 0px 0px 0px;
	}
	span#slidesinfo_96 {
		display: none;
	}
	.span1 .tab1 a {
		background: url(../images/tab_1.png) #f5f5f5 175px 0px no-repeat;
	}
	.span1 .tab2 a {
		background: url(../images/tab_2.png) #f5f5f5 175px 0px no-repeat;
	}
	.span1 .tab3 a {
		background: url(../images/tab_3.png) #f5f5f5 175px 0px no-repeat;
	}
	.span1 .tab4 a {
		background: url(../images/tab_4.png) #f5f5f5 175px 0px no-repeat;
	}
	.span1 .tab5 a {
		background: url(../images/tab_5.png) #f5f5f5 175px 0px no-repeat;
	}
	.span1 .nav>li>a:focus, .nav>li>a:hover {
		text-decoration: none;
		background-color: #f5f5f5;
	}
	.tab_a{
		display: table;
		background-color: #ffffff;
		padding: 7px 10px;
		margin: 15px 10px;
	}
	.tab_all {}
	.tab_all ul {
		float: left;
		line-height: 28px;
		margin: 15px;
		border-right: 1px solid #ccc;
		padding-right: 20px;
	}
	.tab_all ul li {}
	.tab_all ul li a {}
	.tab_all ul li a:hover {}
	.tab_all h4 {
		margin-left: 15px;
	}
	*{box-sizing:border-box} 
	#banner .tabs {
		width: 1200px;
		padding: 0px;
		margin: 0 auto;
		position: relative;
	}
	section { 
	display: none;  
	padding: 15px; 
	background: white; 
	position: absolute; 
	top: 0; 
	left: 295px; 
	} 
	#banner p { 
	margin: 0; 
	} 
	#banner input { 
	display: none; 
	} 
	#banner label { 
	display: block; 
	cursor: pointer;
	float: none;
	width: 295px;
	height: 85px;
	margin-bottom: 10px;
	background: #f5f5f5;
	border-radius: 5px;
	line-height: normal;
	vertical-align: middle;
	color: #3a3a3a;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-webkit-transition: all 0.1s ease-in-out;
	font-weight: normal;
	} 
	input:checked + label { 
	color: #555; 
	background: white; 
	} 
	#tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5 { 
	display: block; 
	}
	section { 
	animation: scale 0.7s ease-in-out; 
	height: 465px;
	background: #f5f5f5;
	width: 895px;
	z-index: 10000;
	padding: 15px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-right-radius: 5px;
	margin-left: 10px;
	}
#banner .tabs label span {
    width: 295px;
    height: 82px;
    line-height: normal;
    display: table-cell;
    vertical-align: middle;
    color: #3a3a3a;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    padding: 10px 15px 10px 20px;
}
#tab1 {
	float: none;
    width: 295px;
    height: 85px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}
#banner .tabs span:hover {
    -webkit-transform: translate(8px,0);
    -moz-transform: translate(8px,0);
    -o-transform: translate(8px,0);
}
#banner .tb1 {
	background: url(../images/tab_1.png) #f5f5f5 175px 0px no-repeat;
}
#banner .tb2 {
	background: url(../images/tab_2.png) #f5f5f5 175px 0px no-repeat;
}
#banner .tb3 {
	background: url(../images/tab_3.png) #f5f5f5 175px 0px no-repeat;
}
#banner .tb4 {
	background: url(../images/tab_4.png) #f5f5f5 175px 0px no-repeat;
}
#banner .tb5 {
	background: url(../images/tab_5.png) #f5f5f5 175px 0px no-repeat;
}
	/*banner end*/
	/*spec*/
	#spec {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto 40px;
		padding: 0 20px;
		box-sizing: border-box;
		display: flex;
		flex-direction: row;
	}


	#spec h3, #news h3, #text h3, #proiz h3 {
		font-size: 24px;
		text-transform: uppercase;
		text-align: center;
		font-weight: 300;
		margin-bottom: 40px;
	}
	#spec h4, #news h4, #text h4, #proiz h4 {
		font-size: 22px;
		text-transform: uppercase;
		text-align: center;
		font-weight: 300;
		margin-bottom: 0px;
	}
	#spec h4 {
		padding: 0px 17px;
	}
	#news h4 {
		font-size: 16px;
		text-transform: uppercase;
		text-align: left;
		font-weight: 300;
		margin-bottom: 0px;
	}
	#news h3, #text h3, #proiz h3 {
		font-size: 24px;
		text-transform: uppercase;
		text-align: center;
		font-weight: 300;
		margin-bottom: 40px;
	}
	#spec a {
		color: #888888;
	}
	#spec a:hover {
		text-decoration: none;
    	color: #497c6f;
		font-weight: 500;
	}
	.fut_prod {
		/*border: 1px solid #497c6f;
		text-align: center;*/
	}
	.fut_prod img {
		/*margin: 57px 0px;*/
	}
	#spec .output-billto span.values, #spec .output-shipto span.values, #spec .floatleft, span.floatleft {
		float: left;
		padding: 10px;
	}
	#spec .productdetails {
		padding-top: 15px;
	}
	.block_usl {
		border: 1px solid #ccc;
		text-align: center;
		width: 24%;
		margin: 0px 5px;
		padding: 0px 0px 15px;
	}
	.block_usl img {
		margin: 0px 0px 15px;
		width: 100%;
		height: auto;
	}
	.block_usl a:hover {
		cursor: pointer;
	}
	.usl_main {
	}
	/*spec end*/
	/*news*/
	#news {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto 40px;
		padding: 0 20px;
		box-sizing: border-box;
	}

	.mfp_default_skin_default .mfp_default_item .mfp_date, .mfp_default_skin_default .mfp_default_item .mfp_author {
		color: #000000;
	}
	.mfp_default_skin_default .mfp_default_item .mfp_default_title a {
		color: #000000;
		text-shadow: 0px 0px 0px;
	}
	.mfp_default_skin_default .mfp_default_item .mfp_default_title {
		margin: 9px 0 .3em 0;
	}
	.mfp_default_skin_default .mfp_default_item .mfp_introtext {
		color: #878787;
	}
.mfp_default_skin_card {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 0 20px;
}
	/*news end*/
	/*text*/
	#text {
		width: 100%;
		max-width: 1200px;
		margin: 0px auto 40px;
		
	}
	#text p {
		line-height: 22px;
		margin-bottom: 20px;
	}
	/*text end*/
	/*proizv*/
	#proiz {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 20px;
		box-sizing: border-box;
		min-width: auto;
	}
	#proiz_m {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 20px;
		box-sizing: border-box;
		min-width: auto;
	}
	#proiz img {}
	#proiz h3 {
		padding-top: 40px;
		margin-bottom: 10px;
	}
	#proiz .owl-carousel {
		padding-bottom: 10px;
	}
	/*proizv end*/
	/*bottom*/
	#bot {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 40px 0;
		display: table;
		box-sizing: border-box;
	}
	#bot ul {}
	#bot ul li {}
	.moduletable-ftm ul li a {
		font-weight: bold;
		color: #000000;
		font-size: 18px;
		line-height: 32px;
		text-transform: uppercase;
	}
	#bot ul li a:hover {
		text-decoration: underline;
		background: none;
	}
	.moduletable-ftm, .moduletable-fto  {
    float: left;
    margin-right: 75px;
	}
	.moduletable-fto {
		margin-top: 5px;
	}
	.moduletable-fto h3 {
		font-weight: bold;
		color: #000000;
		font-size: 18px;
		line-height: 20px;
		text-transform: uppercase;
	}
	.moduletable-fto ul {
		font-size: 18px;
		line-height: 32px;
	}
	#bot li a {
		position: relative;
		display: block;
		padding: 0px;
		color: #000;
	
	}
	.moduletable-soc {
		float: left;
		margin-top: 5px;
	}
	.moduletable-soc h3 {
		font-weight: bold;
		color: #000000;
		font-size: 18px;
		line-height: 20px;
		text-transform: uppercase;
	}
	.moduletable-soc img {}
	/*bottom end*/
	/*footer*/
	#footer {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 20px;
		text-align: center;
		background: #1e1e1e;
		height: 120px;
		color: #fff;
		min-width: auto; /* убрать фиксированную минимальную ширину */
		box-sizing: border-box;
	}
	/*footer end*/
	/*content*/
	#content_txt table.vr {
		margin: 20px auto;
	}
	#content_txt table.vr tr {}
	#content_txt table.vr td {
		border: 1px solid;
		padding: 9px;
	}
	div.pull-left img {
		width: 350px;
		height: 350px;
		margin-right: 20px;
	}
	ul.tags {
		margin: 0px 0px 20px 15px !important;
	}
	ul.tags a.label-info {
		font-weight: normal;
		text-decoration: none;
		list-style-type: none;
		background: #497c6f;
	}
	ul.tags li {
		list-style-type: none !important;
		display: inline-block;
	}
	#content_txt {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto 40px;
		padding: 0 20px;
		box-sizing: border-box;
		min-width: auto;
	}
	#content_txt .blog {
		display: none;
	}
	.featured-view h4, .latest-view h4 {
		padding: 8px 15px;
		margin-bottom: 40px;
		list-style: none;
		background-color: #fafafa;
		border-radius: 4px;
		font-size: 20px;
		font-weight: normal;
	}
	.vendor-store-desc, .category-view, .featured-view, .discontinued-view, .latest-view, .topten-view, .recent-view, .related-products-view, .browse-view, .order-view {
		margin: 40px 0px;
	}
	#content_txt .width30 {
		width: 100%;
	}
	.virtuemart_search {
		display: none;
	}
	.featured-view .spacer span, .discontinued-view .spacer span, .latest-view .spacer span, .topten-view .spacer span, .recent-view .spacer span, .related-products-view .spacer span, .browse-view .row .product .spacer span {
		font-size: 20px;
		color: #497c6f;
	}
	.PricesalesPrice .PricesalesPrice {
		font-weight: 700;
		font-size: 48px;
		color: #497c6f;
		margin: 28px 0px;
		letter-spacing: 1px;
	}
	.browse-view .ratingbox {
		margin: 0 auto 5px;
	}
	span.quantity-box, .quantity-controls {
		display: none;
	}
	.category-view .row .category .spacer, .featured-view .spacer, .discontinued-view .spacer, .latest-view .spacer, .topten-view .spacer, .recent-view .spacer, .related-products-view .spacer, .browse-view .row .product .spacer {
		padding: 15px;
	}
 	#fancybox-title {
    	display:none !important;
    }
	.cf4all_wrapper select {
		padding: 4px;
		min-width: 100px;
		text-align: center;
	}
	.browse-view .row .product .spacer img, .related-products-view .row .product .spacer img {
		width: auto;
		height: auto;
	}
	.spacer.product-container {
		border: 0px solid #ddd;
	}
	.product-fields-title {}
	.cf4all_wrapper select option:nth-child(odd) {
		background-color: #EAF2D3;
	}
	.chzn-container .chzn-results li:nth-child(odd) {
		background-color: #EAF2D3;
	}
	span.addtocart-button span.addtocart-button, span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button, span.addtocart-button span.addtocart-button-disabled {
		background: #497c6f;
		color: #fff;
		border: solid #497c6f 1px;
		border-radius: 0px;
		letter-spacing: 0px;
		padding: 7px 9px 8px;
	}
	.category-view h1 {
		font-size: 32px;
		line-height: 40px;
		font-weight: 700;
		color: black;
		margin-bottom: 25px;
	}
	.category-view .row .category .spacer h2 {
		font-size: 24px;
		font-weight: normal;
	}
	.category-view .row .category .spacer h2 a:hover {
		text-decoration: none;
		color: #497c6f;
	}
	.category-view .row .category .spacer h2 a img {
		margin-top: 15px;
	}
	.product-fields-title-wrapper {
		min-width: 250px;
		font-weight: bold;
		padding: 0px 10px 0px 0px;
		float: left;
		line-height: 28px;
	}
	.product-description {
		width: 60%;
		float: right;
		padding-left: 10px;
		line-height: 20px;
		color: #373737;
		font-weight: 100;
	}
	.product-description span.title {
		font-size: 26px;
		font-weight: normal;
		padding-bottom: 15px;
		margin-bottom: 15px;
		border-bottom: 1px solid #ccc;
		display: table;
		width: 100%;
		text-transform: uppercase;
	}
	.product-fields {
		width: 38%;
	}
	.product-fields .product-field-display {
		line-height: 26px;
	}
	.back-to-category {
		display: none;
	}
	.customer-reviews, .ask-a-question-view .form-field {
		margin: 25px 0 0;
		line-height: 22px;
	}
	.productdetails-view .spacer-buy-area {
		padding-left: 0px;
	}
	.product-price {
		text-align: left;
		float: left;
		width: 100%;
	}
	#content_txt .additional-images {
        max-width: 740px;
    }
	.fancybox-title-inside {
		margin-left: 0px !important;
	}
	.main-image img {
		max-width: 420px;
		height: auto;
		width: 420px;
	}
.additional-images img {
    margin-right: 15px;
    width: 90px;
    height: auto;
    min-height: 72px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px;
}
	.customer-reviews h4 span {
		display: none;
	}
	#content_txt h1 {
		font-size: 26px;
		text-transform: uppercase;
		font-weight: normal;
		margin-bottom: 30px;
	}
	#content_txt p {
    line-height: 24px;
    margin-bottom: 7px;
}
	.form-validate{
		margin-top: 30px;
	}
	#fancybox-content a.continue_link {
		background: #497c6f;
		color: #fff;
		border: solid #497c6f 1px;
		border-radius: 0px;
		letter-spacing: 0px;
		padding: 7px 9px 8px;
	}
	#fancybox-content a.continue_link:hover {}
	#fancybox-content a.showcart {
		background: #eee;
		border: solid #497c6f 1px;
		border-radius: 0px;
		letter-spacing: 0px;
		padding: 7px 9px 8px;
		width: auto;
		line-height: inherit;
		color: #000;
	}
	#fancybox-content a.showcart:hover {}
	#fancybox-content h4 {
		margin: 20px;
		font-weight: normal;
		line-height: 18px;
	}
	#fancybox-content {
		border-width: 10px;
		padding: 10px;
	}
	.orderlistcontainer div.activeOrder {
		margin-top: 7px;
		padding: 5px 24px 6px 12px;
	}
	.chzn-container {
		min-width: 90px;
    	max-width: 135px;
	}
	.chzn-container .chzn-drop {
		min-width: 90px;
    	max-width: 135px;
	}
	.chzn-container-single .chzn-single {
		height: 27px;
		border-radius: 10px;
	}
	.chzn-container-single .chzn-search input {
		padding: 0px 20px 0px 5px;
		width: 100% !important;
	}
	.page-header h2 {
		font-size: 34px !important;
		font-weight: 400;
	}
	.item-page {
		border: 1px solid rgba(0,0,0,0.1);
		box-shadow: 0px 0px 13px 0px rgb(0 0 0 / 10%);
		padding: 20px;
		height: 100%;
		box-sizing: border-box;
		position: relative;
		display: inline-block;
		width: 100%;
	}
	.item-page a {
		text-decoration: underline;
	}
	.item-page ul {
		margin-left: 30px;
		margin-bottom: 7px;
	}
	.item-page ul li {
		line-height: 18px;
		list-style-type: circle;
	}
	.item-page ul li a {}
	.item-page ul li a:hover {}
	.blog h2, .item-page h2 {
		font-size: 24px;
		margin-bottom: 7px;
		font-weight: 400;
	}
	.item-page h3 {
		margin-bottom: 40px;
		font-size: 42px;
	}
div.items-leading p.readmore {
    width: 100%;
    float: none;
    clear: both;
    text-align: right;
    margin-bottom: 30px;
}
	/*contacts*/
	.contacts {
		width: 40%;
		float: left;
		min-height: 500px;
	}
	.karta {
		width: 60%;
		float: left;
		min-height: 500px;
		margin-top: -20px;
	}
	.clearfix:after,
	.clearfix:before {
		content: ".";
		display: block;
		overflow: hidden;
		visibility: hidden;
		font-size: 0;
		line-height: 0;
		width: 0;
		height: 0;
		clear: both;
	}
	.ico-wrap {
		color: #497c6f;
		width: 50px;
		height: 50px;
		margin: 3px 20px 2px 2px;
		display: block;
		text-align: center;
		font-size: 25px;
		border: 2px solid #497c6f;
		float: left;
	}
	.ico-contact {
		line-height: 1.9 !important;
	}
	.descript-wrapper {
		float: left;
		margin-bottom: 20px;
		line-height: 22px;
	}
	.aio-icon-title {
		font-size: 18px;
		color: #497c6f;
		line-height: 1;
		margin-bottom: 10px;
	}
	/*contacts_end*/
	table.user-details {
		width: 600px;
		margin: 0px auto 10px;
	}
	table.user-details tr {
		height: 35px;
	}
	table.user-details tr td {
		width: 350px;
		vertical-align: middle;
	}
	#com-form-login {
		text-align: center;
		line-height: 24px;
		border-bottom: 1px solid #ccc;
		margin-bottom: 30px;
		padding-bottom: 20px;
	}
	#com-form-login div {
		margin: 5px 0 !important;
	}
	.buttonBar-right {
		text-align: center;
		float: none;
		margin-top: 40px;
	}
	.h2login {
		font-size: 26px;
		text-transform: uppercase;
		font-weight: normal;
		margin-bottom: 30px;
	}
	.buttonBar-right button{
		padding: 7px 7px;
	}	
	#content_txt h4 {
		font-size: 42px;
		margin-bottom: 30px;
		margin-top: 20px;
	}
	#ui-tabs ul#tabs li.current {
		display: inline-block;
		background: #497c6f;
		color: #ffffff;
		padding: 8px 16px 8px;
		margin-right: 5px;
		border: 1px solid #cccccc;
	}
	.adminlist tr {}
	.adminlist td {
		padding: 10px 20px;
		border-bottom: 1px dotted #ccc;
		border-left: 1px dotted #ccc;
		border-right: 1px dotted #ccc;
	}
	.adminlist tr th {
		padding: 10px 20px;
		border-bottom: 1px dotted #ccc;
	}
	table.user-details input {
		border-radius: 0px;
	}
	#com-form-login-username input, #com-form-login-password input {
		border-radius: 0px;
		border: 1px solid #ccc;
	}
	input.highlight-button{
		background: #497c6f;
		color: #fff;
		border: solid #497c6f 1px;
		border-radius: 0px;
		letter-spacing: 0px;
		font-size: 17px;
		padding: 7px 15px 7px;
	}
	#ui-tabs ul#tabs li {
		padding: 9px 13px 9px;
		border: 1px solid #ccc;
		margin-right: 5px;
	}
	
	.adminlist a {
		background: #f2f2f2;
		border: 1px solid #cccccc;
		padding: 7px 7px;
		margin: 7px 0px;
		display: block;
		text-align: center;
	}
	.adminlist a:hover {
		text-decoration: none;
		background: #497c6f;
		color: #ffffff;
	}
	
	.license-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 90%;
  margin: 0 auto 40px auto;
}

.license-gallery a {
  display: block;
  border: 1px solid #ccc;
  padding: 4px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.license-gallery a:hover {
  transform: scale(1.05);
}

.license-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Большие изображения под галереей */
.license-large-images {
  max-width: 750px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.license-large-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
	/*content_end*/
	.width25 {
		width: 25%;
	}
	.module_special_visually #special_visually label img {
		max-height: 83px;
		max-width: 119px;
	}
	.module_special_visually #special_visually label {
		border: 0px;
	}
	.module_special_visually.topfixed #special_visually, .module_special_visually.bottomfixed #special_visually {
		width: 100%;
	}
	.module_special_visually.topfixed {
		position: fixed;
		z-index: 999;
		top: 10px;
		left: inherit;
		width: 295px;
		right: 0;
		text-align: right;
	}
	.module_special_visually #special_visually .buttons .button_icon {
		width: 119px;
		height: 83px;
		cursor: pointer;
	}
	.module_special_visually #special_visually label.active, .module_special_visually #special_visually label:hover, .module_special_visually #special_visually input:checked + label {
		color: #000;
		background: none;
		border: 0px;
	}
	#vers {
		cursor: pointer;
		padding: 5px;
		position: fixed;
		z-index: 9999;
	}
	.change_image .button_icon {
		width: 45px !important;
	}
	img.vr {
		display:none;
	  }

	/* Кнопка-бургер */
	.mobile-menu-toggle {
	display: none;
	position: fixed;
	top: 15px;
	left: 15px;
	background-color: #497c6f;
	color: #fff;
	padding: 10px 15px;
	font-size: 18px;
	border: none;
	border-radius: 4px;
	z-index: 1001;
	cursor: pointer;
	}
	.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1200px; /* максимальная ширина галереи */
  margin: 0 auto 30px auto; /* центрирование и отступ снизу */
  padding: 0 10px; /* отступы слева и справа */
}

.gallery-grid a {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 6px; /* при желании */
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.uslugi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопе */
  gap: 20px;
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.usluga-item {
  text-align: center;
}

.usluga-item img {
  width: 100%;
  max-width: 250px; /* ограничение размера */
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ======== MOBILE STYLES ======== */
@media (max-width: 480px) {
  .license-gallery {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
  }

  .license-large-images {
    max-width: 100%;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    font-size: 16px;
  }

  #head {
	height: auto;
  }

  #head_m {
    width: 100%;
    min-width: auto;
    padding: 10px;
    box-sizing: border-box;
  }

  #head_m ul {
    float: none;
    text-align: center;
  }

  #head_m ul li {
    display: block;
    margin: 5px 0;
  }

  .customtopcont {
    float: none;
    text-align: center;
    margin-bottom: 15px;
  }

  #banner {
    display: none; /* Скрываем, как уже было в старом CSS */
  }

  #spec,
  #news,
  #text,
  #bot,
  #content_txt {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  #spec .block_usl,
  .items-row .span3 {
    width: 100%;
    margin: 0 0 20px;
  }

  #proiz,
  #proiz_m {
    width: 100%;
    min-width: auto;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .contacts,
  .karta {
    width: 100%;
    float: none;
    margin-top: 20px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  #footer {
    min-width: auto;
    padding: 20px;
    height: auto;
  }

  .mfp_default_skin_card {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .moduletable-ftm,
  .moduletable-fto,
  .moduletable-soc {
    float: none;
    margin: 0 0 20px 0;
  }

  .main-image img {
    max-width: 100%;
    height: auto;
  }

  .additional-images img {
    width: 70px;
    height: auto;
  }

  .product-description,
  .product-fields {
    float: none;
    width: 100%;
    padding-left: 0;
  }

  .page-header h2,
  .item-page h3 {
    font-size: 28px;
  }

  .item-page {
    padding: 15px;
  }
  .mobile-menu-toggle {
    display: block;
  }

  #gruemenu {
    display: none;
    position: fixed;
    top: 60px; /* немного ниже кнопки */
    left: 0;
    width: 100%;
    background-color: #497c6f;
    z-index: 1000;
  }

  #gruemenu ul {
    display: block;
    padding: 0;
    margin: 0;
  }

  #gruemenu ul li {
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #gruemenu ul li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
  }

  #gruemenu ul li ul.sub-menu {
    display: none;
    background-color: #3c6459;
  }

  #gruemenu ul li.has-sub.open > ul.sub-menu {
    display: block;
  }

  #gruemenu ul li.has-sub > a::after {
    content: ' ▼';
    float: right;
  }
    .customlogo {
        display: flex;
        margin: 80px auto 30px;
        float: none;
        text-align: center;
        align-content: flex-end;
        justify-content: center;
    }
	.cont_f {
    	background: none;
	}
	.customtopcont table {
    width: 100%;
}
.module_special_visually #special_visually .buttons .button_icon {
    width: 80px;
    height: auto;
}
    #spec {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        padding: 40px 15px 0px;
        box-sizing: border-box;
    }
	#text .custom img {
    margin: 0px auto 30px !important;
    float: none !important;
    display: block;
}
#footer p {
    font-size: 30px;
    text-transform: uppercase;
    padding: 27px 0px 20px;
    font-size: 1em !important;
}
#breadcrumb {
    margin: 60px auto 0px;
}
.mat100 {
	width: 100%;
	height: auto;
}
.uslugi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@keyframes scale { 
	0% { 
	transform: scale(0.9); 
	opacity: 0; 
	} 
	50% { 
	transform: scale(1.005); 
	opacity: 0.5; 
	} 
	100% { 
	transform: scale(1); 
	opacity: 1; 
	}
}