/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/
.wrapper_inner{max-width: calc(100% - 100px);}

.button.dno,
.button.dno:hover {
	background: #4fad00;
}

.basket_close {
	float: right;
	text-align: right;
}

.wrap_remove_button .remove_all_basket:before {
	content: "";
	display: inline-block;
	height: 14px;
	width: 9px;
	background: url(../images/close_icons.png) -2px -26px no-repeat;
	vertical-align: middle;
	margin: 0px 7px 0px 0px;
}

.header-cart .wraps_icon_block.delay {
	display: none !important;
}

.header_phone {
	width: 210px;
}

.header_phone .phones {
	text-align: right;
}

#header .middle-h-row td.logo_wrapp {
	width: 160px;
}

#header .middle-h-row .center_block {
	width: auto;
}

#header .basket_wrapp .basket_block {
	margin-top: -35px;
}

.basket_normal #header .basket_wrapp .wrapp_all_icons {
	width: 145px;
}

.basket_normal .header_wrap #header .middle-h-row {
	width: 100%;
}


#basket-root .basket-items-list-item-remove {
	padding-top: 27px !important;
	padding-right: 27px !important;
}

#basket-root .basket-item-actions-remove {
	border: 1px solid #9e999a;
	border-radius: 2px;

}

.basket-item-actions-remove:hover {
	background-color: #a19c9c;
}

#basket-root .basket-item-actions-remove:hover:after,
#basket-root .basket-item-actions-remove:hover:before {
	background: #fff;
}


.button:hover {
	background: #b3b3b3;
}

.button.dno:hover {
	background: #4fad00;
}

.button.dno a {
	color: #fff;
}

#basket-root .basket-checkout-section .btn-default.basket-btn-checkout:not(:active),
#basket-root .basket-checkout-section .btn-default.basket-btn-checkout:not(:focus) {
	background: #4fad00;
	color: #fff;
}

header .menu_top_block li.catalog:after,
.menu_top_block.catalog_block .dropdown>li.has-child>a:after,
header .menu_top_block li .dropdown>li.has-child>a:after,
.left_menu>li.has-childs>a:after {
	content: "";
}


@media (max-width: 767px) {
	.header_phone {
		display: none;
	}

	.basket_normal #header .basket_wrapp .wrapp_all_icons {
		width: auto;
	}

	#header .basket_wrapp .basket_block {
		margin-top: 0;
	}
}

.personal-account .personal_menu {
	margin-top: 30px;
}

.btn-sber {
	background: #21b30e;
	color: #fff !important;
	border: 1px solid #26a126;
	padding: 10px;
	border-radius: 10px;
	display: inline-block;
}

.left-menu ul {
	list-style-type: none;
}

.left-menu>ul {
	padding-left: 0;
}

.left-menu .left-menu__item--lv1 {
	position: relative;
	display: block;
	border-bottom: 1px solid #e1e1e1;
	border-top: none;
	border-left: none;
	border-right: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	background: #f9f9f9;
}

.left-menu .left-menu__item--lv1 a {
	color: #2b2b2b;
	font-size: 13px;
	text-decoration: none;
	display: block;
	width: 100%;
	padding: 12px;
	text-align: left;
	box-sizing: border-box;
	padding-right: 20px;
	line-height: 16px;
}

.left-menu .left-menu__text {
	display: block;
}

.left-menu .left-menu__item--lv1.bx-active>span>a,
.left-menu .left-menu__item--lv1.bx-active .left-menu__tip::after,
.left-menu .left-menu__item.active,
.left-menu .left-menu__item.active .left-menu__text a,
.left-menu .left-menu__text:hover+.left-menu__tip::after,
.left-menu .left-menu__text:hover a {
	color: #9a9494;
}

.left-menu .left-menu__tip {
	width: 20px;
	height: 35px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	color: #858585;
}


.left-menu .left-menu__tip::after {
	position: absolute;
	top: 10px;
	right: 0;
	font-size: 18px;
	font-weight: 500;
	content: "+";
	left: 0;
	text-align: center;
}

.left-menu .left-menu__item.active > .left-menu__tip::after {
	content: "\2013";
	top: 8px;
}

.left-menu .active .left-menu__tip:hover::after {
	color: #000;
}

.left-menu .left-menu__list--sub {
	padding: 5px 15px 10px;
	margin-left: 0;
	margin-top: 3px;
	background: none;
	display: none;
}

.left-menu .left-menu__item--lv2 a {
	color: #3b3e43;
	text-transform: none;
	line-height: 16px;
}

.left-menu a.bx-active::before {
	content: none;
}

.left-menu a.bx-active {
	content: none;
}

.left-menu .left-menu__item.bx-active .left-menu__text,
.left-menu .left-menu__item.active .left-menu__text,
.left-menu .left-menu__text:hover {
	border-color: #fff;
	background-color: #fff;
}

.left-menu .left-menu__tip:hover::after {
	color: #000;
}

.left-menu .left-menu__list--sub .left-menu__item a:hover {
	color: #9a9494;
}

.left-menu a.bx-active {
	color: #36b3eb;
}

.left-menu__item {
	position: relative;
}

/*.right_block ul li {
	margin: 0;
	padding: 0;
	display: block;
}*/

.left-menu__item.left-menu__item--lv2.active span a {
	color: #9a9494;
}

.left-menu__item.left-menu__item--lv3.bx-active.active a {
	color: #9a9494;
}

.right_block ul {
	margin:0;
}

ul.mini-menu li.left-menu__item {
	display: block;
}

.rows_block .col-2 {
	width: 100%;
}

.catalog_section_list .section_item {
	padding: 15px 20px;
}
/* catalog */

.catalog-list__item {
	margin-bottom: 10px;
}

.catalog-list__name{
	padding: 15px 20px;
	line-height: 20px;
	font-size: 12px;
	border: 1px solid #eaebec;
	transition: box-shadow ease 0.2s, border ease-out 0.2s;	
}

.catalog-list__name:hover {
	box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
	border-color: #fff;
}

.catalog-list-elements .module_products_list{
	float: none;
}

.catalog-list-elements .like_icons{
	position: static;
}

.catalog-list-elements .module_products_list{
	margin-bottom: 0;
}

.catalog-list-elements .bottom_nav{
	display: none;
}

.catalog-list_tile{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-left: -5px;
	margin-right: -5px;
	text-align: center;
}

.catalog-list_tile .catalog-list__item{
	width: calc(25% - 10px);
	padding: 15px 20px 20px;
	border: 1px solid #eaebec;
	margin: 0 5px 10px;
	box-sizing: border-box;
}

.catalog-list_tile .catalog-list__name{
	padding: 0;
	border: 0;
	margin-top: 20px;
	font-size: 21px;
}

.catalog-list_tile .catalog-list__name a{color: #2b2b2b;}
.catalog-list_tile .catalog-list__name a:hover{color:#9a9494;}

.catalog-list_tile .catalog-list__name:hover {
	box-shadow: none;
}

.catalog-list__img{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	height: 200px;
	text-decoration: none;
}

.catalog-list__img img{
	max-width: 100%;
	max-height: 100%;
}

.catalog-list_tile .catalog-list__img{
	height: auto;
	margin: -15px -20px 0;
}

/*.catalog-list:first-child .catalog-list__img:hover img{
	background: url("/bitrix/templates/aspro_optimus/images/video-domofon.gif")no-repeat 50% !important;
    width: 100%;
    height: 100%;
    background-size: contain;
}*/



@media (max-width: 1200px) {
	.catalog-list_tile .catalog-list__item{width: calc(33.33% - 10px);}
}

@media (max-width: 767px) {
	.catalog-list_tile .catalog-list__item{width: calc(50% - 10px);}
	.catalog-list__img{height: 150px;}
	.catalog-list_tile .catalog-list__name{font-size: 14px;}
}

@media (max-width: 420px) {
	.catalog-list_tile .catalog-list__item{width: calc(100% - 10px);}
}

/* icon */

.middle_phone .phone_wrap .icons {
	margin-top: -35px;
}

#footer .footer_bottom_inner .phones .icons {
	margin-top: -41px;
}

.top_slider_wrapp .flexslider .slides > li{background-size: cover;}

.middle_phone .phone_wrap .icons, .top_slider_wrapp .flexslider .slides > li:after {
	background-color: #48b32a;
}


.link_email a {
	font-size: 18px;
	font-weight: 600;
	line-height: 18px;
}

.button.short {
	background-color: #4fad00;
}

.bx-soa-more-btn .pull-right.green-btn {
	background-color: #48b32a !important;
}

#bx-soa-region .bx-soa-more-btn .pull-right, 
#bx-soa-delivery .bx-soa-more-btn .pull-right, 
#bx-soa-paysystem .bx-soa-more-btn .pull-right,
.bx-soa-cart-total-button-container .btn-order-save,
#bx-soa-orderSave .btn.btn-default {
	background-color: #48b32a !important;
}

.popup .close {
	right: 17px;
	top: 17px;
}

.rec_delivery {
	color: #48b32a;
	font-size: 18px;
}

.alert-danger p, font.errortext {
	font-size: 15px;
}

.counter_wrapp__hundred {
	width: 100%;
}

.counter_wrapp__hundred .button_block {
	display: block;
}

.counter_wrapp__hundred .button_block a {
	display: block;
}
li.p_new {
	position: relative;
}
li.p_new::after{
	position: absolute;
	content: "";
	background: url(../images/img_p1.png) no-repeat center center;
	width: 80px;
	height: 50px;
	background-size: contain;
	right: calc(50% - 5em);
	top: -1.7em;
	z-index: 99;
}
.basket_normal .header_wrap #header > .wrapper_inner {
	z-index: 3;
}

#header .middle-h-row .basket_wrapp{
	position: relative;
	z-index: 110;
}

.header_wrap #header > .wrapper_inner{position: static;}





.header_wrap #header .catalog_menu ul.menu > li > a.parent{
	background:#48b32a;
}

@media (max-width: 767px) {
.mobile_menu_wrapper .mobile_menu li.has-child>.toggle_mobile_menu {
    width: 50px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
}
.mobile_menu_wrapper .mobile_menu li.has-child.opened:before {
    transform: rotate(180deg);
    margin-top: 5px;
    margin-right: 3px;
}
}

/* .top_slider_wrapp{
	max-width: 916px;
	margin-left: auto;
	margin-right: auto;
} */

.table-contain{background-size: contain!important;}

.po label{font-weight: bold;}
.po .input-check__text{font-weight: normal;}

/* checkbox */
.input-check__label{
	display: flex;
	align-items: center;
	cursor: pointer;
	position: relative;
	font-size: 13px;
	color: #888;
}

.input-check input[type=checkbox]{display: none;}

.input-check__mark{
	display: inline-block;
	width: 13px;
	height: 13px;
	border: 1px solid #a39e9e;
	background: transparent;
	position: relative;
}

.input-check__mark::after{
	content: '';
	display: none;
	width: 11px;
	height: 11px;
	background: url('../images/input_icons.png') -1px 2px no-repeat;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin: 0 auto;
}

.input-check__text{
	max-width: calc(100% - 32px);
	margin-left: 10px;
}

.input-check input[type=checkbox]:checked + .input-check__label .input-check__mark{background: #a39e9e;}
.input-check input[type=checkbox]:checked + .input-check__label .input-check__mark::after{display: inline-block;}



.btn-license-buy .to-cart,
.in-cart.active ~ .button,
.button.license.active + .button{
	display: none!important;
}

.button.license{display: none;}
.button.license.active{display: inline-block;}


.popup{max-width: 720px;}
.popup .form .form_head h2{line-height: 1.2;}

.form .form_result.success .form-result-msg *{color: #383838;}
.form .form_result.success .form-result-msg .form-result-msg__success{color: #008800;}
.form-result-msg a{text-decoration: underline;}

.h2{
	font-size: 24px;
	font-weight: 500;
	line-height: 20px;
	color: #383838;
	margin: 0 0 24px;
}

.h3{
	font-size: 20px;
	line-height: 20px;
	font-weight: 500;
	color: #383838;
	margin: 0 0 23px;
}

.form_footer a{text-decoration: underline;}
.form_footer a:hover{text-decoration: none;}

.sale-order-bottom a{
	color: #000;
	text-decoration: underline;
}

.sale-order-bottom a:hover{text-decoration: none;}

.filter label .form-link-polit{
	display: inline-block;
	text-decoration: underline;
	margin: 0;
}

.filter label .form-link-polit:hover{text-decoration: none;}

.form-politics{
	max-height: 60vh;
	overflow-y: auto;
}


.auth-cstm .form-block.border_block.pad {
    padding-top: 20px;
    padding-bottom: 20px;
}

.dno {
    display: none;
}

form .licence_block.filter {
    padding: 24px 0 21px;
}

.user-types__label {
    margin-bottom: 20px;
}

.user-types__option:first-child {
    margin-right: 20px;
}

.btn.btn-default {
    background-color: #4fad00;
    border-color: #4fad00;
    color: #ffffff;
}

.user-types__option.nopoint {
    cursor: default;
}

.user-types__option {
    cursor: pointer;
}

.btn {
    font-size: 13px;
    line-height: 18px;
    font-weight: normal;
    text-transform: none;
    text-decoration: none;
    margin: 0px;
    border: 1px solid;
    border-radius: 2px;
    padding: 7px 18px 9px;
    overflow: hidden;
    transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
}

.btn.btn-default:active:hover {
    color: #fff;
}
.btn.btn-default:focus:active {
    color: #fff;
}
.btn.btn-default:hover, .btn.btn-default:active, .btn.btn-default:focus {
    background-color: #07d64f;
    border-color: #07d64f;
}

.auth-cstm .form-block.border_block.notop {
    border-top: none;
}

.auth-cstm .module-authorization, .registraion-page {
    margin: 0;
}

.slogan-list{
	display: flex;
	flex-wrap: wrap;
}

.slogan-list__item{
	font-size: 12px;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;
	margin: 5px 8px 5px 0;
	position: relative;
}

.slogan-list__item:not(:last-child):after{
	content: '';
	flex-shrink: 0;
	display: inline-block;
	width: 11px;
	height: 11px;
	background: url(../images/ico-cubs.png) no-repeat center;
	background-size: contain;
	margin-left: 9px;
}

@media (max-width: 1800px) {
	.slogan-img{max-width: 100%;}
}

#footer .rows_block .col-3 {
	width: 25%;
}


.video-responsive {
	position: relative;
	padding-bottom: 56.25%;
	margin-top:30px;
	height: 0;
	overflow:hidden;
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	z-index: 220;
	transition: .3s all;
    display: flex;
 }
 
.modal {
    box-sizing: border-box;
    /* width: calc(100% - 30px); */
    max-width: max-content;
    max-height: 100vh;
    overflow-y: auto;
    margin: auto;
    position: relative;
    z-index: 230; /* Должен быть выше чем у подложки*/
    box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2); 
    text-align: center;
    padding: 30px;
    border-radius: 3px;
    background-color: #fff;
    transition: 0.3s all;
}

.modal__close {
	width: 15px;
	height: 15px;
	position: absolute;
	top: 10px;
	right: 10px;
	fill: #444;
	cursor: pointer;
}

.modal__content {
    margin-bottom: 0;
}

.modal__content img {
	max-width: 100%;
}

.auth-cstm .captcha_reload {display:none}

.form-control.bg.register-captcha.captcha-row.clearfix span {
    display: none;
}

.popup-img{position: relative;}

.popup-img__link1{
	display: inline-block;
	width: 42%;
	height: 55%;
	/* background: rgba(255,0,0,0.5); */
	position: absolute;
	top: 30%;
	left: 4%;
}

.popup-img__link2{
	display: inline-block;
	width: 13%;
	height: 39%;
	/* background: rgba(0,255,0,0.5); */
	position: absolute;
	top: 29%;
	left: 56%;
}
.popup-img__link3{
	display: inline-block;
	width: 9%;
	height: 21%;
	/* background: rgba(0,0,255,0.5); */
	position: absolute;
	top: 36%;
	left: 80%;
}

.msg-warning{
	background: #1ab248;
	font-size: 20px;
	color: #fff;
	text-align: center;
	line-height: 1.3;
	padding: 10px 15px;
}

@media (max-width: 991px) {
	.msg-warning{
		font-size: 14px;
		padding: 5px 10px;
	}
}

.button-container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
}

.button-image-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    max-width: 300px; /* Adjust this value as needed */
}

.custom-button {
    display: inline-block;
    background-color: #a5a2a2;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
}

.custom-button:hover {
    background-color: #8b8888;
}

.custom-image {
    width: 100%; /* Ensures the image fills the container width */
    height: auto; /* Maintains aspect ratio */
    object-fit: cover;
    border: 1px solid #ddd; /* Optional: adds a border to the image */
    border-radius: 5px; /* Optional: adds rounded corners */
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .custom-button {
        margin-bottom: 10px;
        width: 80%;
    }

    .custom-image {
        margin-bottom: 10px;
        width: 80%;
        height: auto;
    }
}

.custom-image-container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: nowrap; /* Ensures the images stay in one line */
}

.side-by-side-image {
    width: 48%; /* Adjust this value as needed to fit the container */
    height: auto; /* Maintains aspect ratio */
    object-fit: cover;
    border: 1px solid #ddd; /* Optional: adds a border to the image */
    border-radius: 5px; /* Optional: adds rounded corners */
    margin: 1%;
}

@media (max-width: 768px) {
    .custom-image-container {
        flex-direction: column;
        align-items: center;
    }

    .side-by-side-image {
        width: 80%; /* Adjust this value as needed */
        margin-bottom: 10px;
    }
}

        .soglas_manager {
            background-color: #006666; /* Green background */
            color: #ffffff; /* White text */
            padding: 10px 20px;
            border: 2px solid #ffffff; /* White border */
            border-radius: 30px; /* Rounded corners */
            font-family: Arial, sans-serif;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            display: inline-block;
        }


.catalog_block .catalog_item {
    padding: 20px 19px 50px 20px;
}

.item .catalog_item:hover .footer_button {
    margin: 5px 0px 0px;
}

.catalog_block .catalog_item_wrapp .catalog_item .cost.prices {
    margin: 5px 0px 0px;
}


.custom-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-item {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
}

.grid-item img {
    width: 100%;
}

.side-by-side-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .custom-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .custom-grid-container {
        grid-template-columns: 1fr;
    }
    .grid-item img {
    width: 100%;
	}
}


.modal p:last-child{margin-bottom: 0;}

.module_products_list .foto-cell .image_wrapper_block,
.module_products_list .foto-cell .image_wrapper_block a{
	height: 100px;
	max-width: 100px;
}

.module_products_list .foto-cell{width: 100px;}

.module_products_list .foto-cell .image_wrapper_block img,
.module_products_list .foto-cell .image_wrapper_block a img{
	max-height: 100%;
}

@media (max-width: 767px) {
	.module_products_list .foto-cell .image_wrapper_block,
	.module_products_list .foto-cell .image_wrapper_block a {
		height: 50px;
		max-width: 50px;
	}
	
	.module_products_list .foto-cell{width: 50px;}
}

.popup-img img {
    width: 400px;
}
