/******************************************************************
Theme Name: foster
Author: artsel
Description: Custom theme for zavod-balkonov
Version: 1.1
License: Copyright by zavod-balkonov, all rights reserved.
Text Domain: zavod-balkonov
******************************************************************/


.invis {
	display:none !important;
}

.nav_wrapper nav ul li.active a, .nav_wrapper nav ul li.current-menu-item a {
	background-color: #ededed;
}

.main .main_info .shares_content .shares_title {
	background-color: #f5f7dc;
}
.shares_content {
	background-color: #FBFFF9 !important;
}

.nav_wrapper nav ul li a:hover {
	background-color: #e0e0e0;
}
.main .main_info .shares_content form .green_btn{
		height: 46px !important;
    line-height: 46px !important;
}

.head_top .green_btn {
	height: 46px !important;
   line-height: 46px !important;
}

/* менять цвет блоков тут вместо цифр после # вставить свой цвет */
.price_section, .form_wrapper .form, .warming, .gallery, .content .container .text,.why-2, #color-title {
	background-color: #ebf6e7 !important;
}




.green_btn:hover {
	background-color: #ff991c !important;
	}

footer .f_top .f_contact_info .f_contact_item .phone {
	margin-bottom: 10px !important;
}

.why-2 .box .item:nth-of-type(4) {
	padding: 0 !important;
}
.why-2 .box .item:nth-of-type(1) {
	padding: 0 !important;
}
.why-2 .box .item:nth-of-type(5) {
	padding: 0 !important;
}
.why-2 .box .item:nth-of-type(8) {
	padding: 0 !important;
}

.mb {
	margin-bottom: 20px !important;
}

.form-text {
	margin: 0 auto;
	margin-top: 40px;
	text-align: center;
	line-height: 1.2em;
	font-weight: 500;
	margin-bottom: 50px;
	max-width: 600px;
}

footer .f_bottom {
background-color: #474a42!important;
    color: #fff!important;
}
footer .f_bottom .container .right ul a {
	color: #787878 !important;
	border-bottom: 1px solid #787878 !important;
}

.form_wrapper-s {
	position: relative;
}

.arrow-f {
	position:absolute;
	left: 35%;
	bottom:50px;
}


.form-btn {
	margin: 0 auto !important;
	display:grid;
	width:180px;
}

.formd-btn {
	margin: 0 auto !important;
	display:grid;
	width:180px;
}
.name{
	text-align: left;
	font-weight: 700;
	font-size:22px;
}

.pname{
	text-align: left;
	margin-top: 20px;
}

.why-2 .box .item {
	padding: 60px !important;
	min-height:0 !important;
	max-height:318px!important;
}


/* Responsive */

/* Large: 992px - 1199px */
@media (max-width: 1199px) {
	.container {
		max-width: 960px;
	}
	.arrow-f {
	left: 30%;
}
	
}

/* Medium: 768px - 991px */
@media (max-width: 991px) {
	.container .section_padding .why-3 .section_padding .container .form_boot .img{
		max-width: 100%;
		padding: 0 20px !important;
	}
	.why-2 .box .item {
	 	padding: 50px 16px !important;
		min-height: 0 !important;
		max-height:239px!important;
	}
	.sub_title {
		font-size: 18px !important;
	}
	.arrow-f {
		left: 26%;
	}
	
}

/* Small: 576px - 767px */
@media (max-width: 767px) {
	.container .form_wrapper .form{
		max-width: 540px;
	}
	br {
    display: block !important;
	}
	.text_page .alignright {
		margin-bottom: 10px !important;
	}
	.why-2 .box .item {
		padding: 16px 16px !important;
		max-height: 191px!important;
	}
	.sub_title {
		font-size: 16px !important;
	}
	.arrow-f {
		left: 24%;
		bottom: 39px;
	}
	
}

/* Extra small: 0px - 500px */
@media (max-width: 560px) {
	.why-2 .box .item {
		width:100% !important;
		padding: 93px 10px !important;
	}
	.why-3 .form_boot .title {
		line-height:1.2em !important;
	}
	.why-3 .form_boot p {
		padding: 0 10px !important;
		position:relative !important;
	}
 	.container .form_boot .lazyloaded {
		position: absolute !important;
		top: 0 !important;
		left: 11px !important;
    bottom: 1pc !important;
	} 
	.visible {
		display: none !important;
	}
	.invis {
		display: block !important;
	}
	.why-2 .box .item {
		min-height: 200px !important;
		    max-height: 343px!important;
    padding: 0px 10px !important;
	}
	
	.name{
	text-align: center;

}

.pname{
	text-align: center;
}
	.arrow-f {
		display:none;
	}
	
	
}


.blog .history_directory, .blog .search, .blog .widget_categories, .blog aside .aside_form{
	    background-color: #EBF6E7;
}
.main .main_info .shares_content>p{margin-left:10px;}


.nav_wrapper nav ul li{position:relative;}
.nav_wrapper nav ul li ul.sub-menu{display:none;position:absolute;top:100%;left:0;width:280px;background-color: #ededed;z-index:999;}
.nav_wrapper nav ul li:hover ul.sub-menu, .nav_wrapper nav ul li ul.sub-menu:hover{display:block}
.nav_wrapper nav ul.sub-menu li, .nav_wrapper nav ul.sub-menu li a {  
    width: 100%;
}
.mobile_mnu li{text-align:left;position:relative;padding-right:35px;}
.mobile_mnu li.menu-item-has-children:after{content: "\25B2";
    position: absolute;
    right: 5px;
    top: 10px;
    font-size: 17px;
    vertical-align: bottom;
    transform: rotate(180deg);
    color: #838282;}
.mobile_mnu li.menu-item-has-children.activated:after{    transform: none;     top: 10px;}
.mobile_mnu li ul.sub-menu{display:none;}
.mobile_mnu li.activated ul.sub-menu{display:block;padding-left:20px;    list-style: none;}
	.mobile_mnu li.activated ul.sub-menu li{    border-bottom: 1px solid #9a9a9a;padding-right:0;}


	/* Блок согласия */

.policy-checkbox{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 10px;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
    flex-wrap: nowrap;
    justify-content: center;
}

/* Большой чекбокс */

.policy-checkbox input[type="checkbox"]{
    width:20px;
    height:20px;
    min-width:20px;
    margin-top:2px;
    margin-bottom: 0;
    cursor:pointer;
    appearance: auto;
    -webkit-appearance: auto; 
    -moz-appearance: auto;
}

/* Текст */

.policy-checkbox span{
    font-size:13px;
    color:#555;
    margin-top: 3px;
}

/* Ссылка */

.policy-checkbox a{
    color:#555;
    text-decoration:underline;
}

/* Ошибка */

.policy-error{
    display:none;
    color:#d60000;
    font-size:13px;
    margin-bottom:15px;
    margin-top: 8px;
}

/* Мобильная версия */

@media(max-width:768px){

    .policy-checkbox{
        gap:10px;
    }

    .policy-checkbox input[type="checkbox"]{
        width:26px;
        height:26px;
        min-width:26px;
    }

    .policy-checkbox span{
        font-size:12px;
    }

}
.cookie-banner{
    position:fixed;
    left:20px;
    right:20px;
    bottom:20px;
	max-width: 600px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:16px 18px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 20px rgba(0,0,0,0.12);
    z-index:9999;
}

.cookie-banner p{
    margin:0;

    font-size:13px;
    line-height:1.5;
    color:#555;
}

.cookie-banner a{
    color:#555;
    text-decoration:underline;
}

.cookie-banner button{
    border:none;
    cursor:pointer;

    padding:10px 18px;

    border-radius:8px;

    background:#2e7d32;
    color:#fff;

    font-size:14px;
    white-space:nowrap;
}

/* Мобильная версия */

@media(max-width:768px){

    .cookie-banner{
        left:10px;
        right:10px;
        bottom:10px;

        flex-direction:column;
        align-items:flex-start;

        padding:14px;
    }

    .cookie-banner button{
        width:100%;
    }

}
.form1 .policy-checkbox {
	margin-left: 20px;
}