#header_logo_img img{
    max-width: 329px;

}

@media screen and (max-width: 767px) {
    #header_logo_img img{
        max-width: 300px;
    }
    body.not_main #header {
        padding-bottom: 10px;
    }

    body.not_main #wrapper {
        padding-top: 0px;
    }

    body.not_main #breadcrumb {
        border: none;
        margin: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 10px;
    }


    body.not_main #content {
        padding-top: 10px;
    }

    body.not_main .bx-filter .bx-filter-section {
        margin-bottom: 0px;
    }

    body.not_main .sort .sort-label {
        font-size: 13px;
        white-space: nowrap;
    }

    #header_logo {
        margin: 0;
        /*flex: 0.5 0 auto;*/
        flex: auto;
    }

    #header_main {
        gap: 13px;
        overflow: hidden;
    }
    #header_main #top_menu {
        background: url(/bitrix/templates/gvozdevsoft_gsstroy_s1/images/mobile/menu.png);
        background-size: auto;
        width: 35px;
        height: 26px;
        background-size: 100%;
        /* background-position-y: unset; */
        top: 3px;
    }
}

@media screen and (max-width: 384px) {
    #header_main {
        gap: 8px;
        overflow: hidden;
    }
    #header_logo {
        margin: 0;
        /*flex: 0 0 auto;*/
        flex: auto;
    }
}
.project-video h2 {
	text-align: left;
}
.project-video {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* соотношение 16:9 */
    height: 0;
    overflow: hidden;
}

.project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 389px){
#form_vopros_calc .left {
	width: 100%;
	position: relative;
	/* display: ; */
	max-width: 259px;
    margin: auto;
}
    #form_vopros_calc .right {
        width: 100%;
        position: relative;
        /* display: ; */
        max-width: 259px;
        margin: auto;
    }

    #form_vopros_calc .right
}
@media screen and (max-width: 334px) {
    #header_main {
        gap: 10px;
        overflow: hidden;
    }

    #top_menu {
        height: 20px;
        width: 20px;
    }

    #header_telegram a, #header_whatsapp a {
        font-size: 0;
        width: 15px;
        height: 15px;
        display: block;
        border: none;
    }

    #header_contact, #header_contact a {
        max-width: 15px;
        height: 15px;
    }
}

@media screen and (max-width: 315px) {
    #header_main {
        gap: 4px;
        overflow: auto;
    }
}
@media screen and (max-width: 475px) {

    #fixed-calc {
	position: relative;
	z-index: 998;
	right: 0px;
	top: 10%;
	background: url('/bitrix/templates/gvozdevsoft_gsstroy_s1/images/fixed-calc.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 90px;
	height: 90px;
	display: flex;
	text-transform: uppercase;
	transition: .3s;
	margin: auto;
}
#fixed-calc a {
	font-size: 15px;
}

}

.element .label-description {
	display: none;
}

#catalog_element .labels.labels-detail {
    display: none;
}

#catalog_element .zakaz_doma {
    background: unset;
}
#catalog_element .zakaz_doma a {
    margin-top: 25px;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #48a216;
    padding: 12px 25px 12px 25px;
    text-decoration: none !important;
    font-weight: 700;
    /* margin-top: 50px !important; */
    position: relative;
    top: -12px;
}

#catalog_section ul li span.link_name {
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #48a216;
    flex-grow: 1;
}
#catalog_section ul li a{
    text-decoration: none;
}
#catalog_section ul li .block > div {
    color: black;
    /* text-decoration: none !important; */
}
#catalog_section ul li .favorites {
    position: absolute;
    right: 7px;
    top: 7px;
    background-color: white;
    padding: 10px 10px 1px 10px;
    z-index: 9;
    border-radius: 4px;
}
#catalog_section ul li .img_box {
    position: relative;
}
#catalog_section ul li .razm {
    position: absolute;
    bottom: 8px;
    left: 9px;
    z-index: 9;
    font-size: 18px;
    color: white;
    font-weight: 900;
}

form .label.label-primary {
    width: 100%;
}
form .label.label-primary {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-left: 10px;
    flex-wrap: wrap;
}

form  .label-description {
    position: relative;
    opacity: 1;
    font-size: .700rem;
    line-height: 1.25rem; 
    padding: 0.5rem;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
    margin-left: -8px;
    border-radius: 4px;
    min-width: unset;
    max-width: unset;
    /*margin: 10px;*/
   
}
.metr {
    text-shadow: 3px 3px 6px rgba(0,0,0,1);
}
/* Основной контейнер формы */
#city-form {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /*margin-left: 20px;*/
}

/* Стилизация выпадающего списка */
#city-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 32px 8px 12px;
    border: 0px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left -2px center;
    background-size: 16px;
    left: 0px;
    position: relative;
}

/* Ховер-эффекты */
#city-form select:hover {
    border-color: unset !important;
    border: unset !important;
    box-shadow: unset;
    background-color: inherit;
}

/* Стилизация кнопки */
#city-form button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

#city-form button:hover {
    background-color: #0056b3;
}
#header_menu_wish{
    display: none !important;
}
/* Для мобильной версии */
@media (max-width: 768px) {    
    #city-form select {
        padding: 6px 28px 6px 10px;
        font-size: 13px;
    }
    
    #city-form button {
        padding: 6px 12px;
        font-size: 13px;
    }
    form .label-title {
        
        display: none;
    }

    #header_menu_wish{
        display: block !important;
    }
}

form .label-description {
    background-color: #48a216;
    border: unset;
    box-shadow: unset;
    color: white;
    font-weight: 900;
    /*padding-top: 0;*/
}


#city-form select {
	background-color: inherit;
    padding: 1px 15px 2px 13px;
    background-position: right;
    width: 100%;
    text-align: end;
    left: 0px;
    width: max-content;
    font-weight: 400 !important;
    font-size: 12px;
}

.mobile #city-form select{
    color: #48a216 !important;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700 !important;
}

div#catalog_section_list .box .text {

    width: 100%;
}
#catalog_section_list .box .img {
   
    width: 100%;
}


@media screen and (max-width: 475px){
#top_menu ul li.citys:hover {
    background: unset !important;
}


#flvmenu > ul > li > div#header_menu_wish {
    /*padding: 0px;
    margin: 0px;*/
    padding-bottom: 100px;
}
div#city-form {
    max-width: 140px;
}
#flvmenu > ul > li a {
    padding: 15px 11px;
}


}

.accordion_item.hidden1.\35 3{
    display: none;
}

#catalog_section_list .box a {
	text-decoration: none;
}