/* new header */
img {
    max-width: 100%;
}
.header {
    background: #EBEFF4;
    padding: 20px 0;
}
.header__top {
    border-bottom: 1px solid #538DD640;
    padding-bottom: 8px;
}
.header__top > .row {
    align-items: center;
}
.header__menu {
    padding-top: 10px;
}
.header-col {
    text-align: right;
}
.header-text {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
}
.header-text > div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-text a:not(:hover), #footer a:not(:hover), .contacts-dropdown a:not(:hover) {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: unset;
}
.header-text a:hover, #footer a:hover, .contacts-dropdown a:hover {
    color: #2a6496;
    text-decoration: underline;
}
.header__menu ul {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}
.header__menu ul li {
    min-width: 140px;
    max-width: 140px;
}
.header__menu ul li a {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
    background: #538DD6;
    color: white;
    text-decoration: none;
    padding: 9px;
    display: block;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}
.header__menu ul li:hover a {
    background: white;
    color: #538DD6;
}

/* other */
.cat {
    padding: 15px;
}
.cat .lefthead {
    margin-top: 5px;
}
.cat_desc ul {
    margin-left: 0;
}
section {
    padding: 20px 0;
}
.row-top {
    margin-bottom: 0;
}
.news_title {
    margin-left: 0;
}
.news_item {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    min-height: unset;
}
.news_item img {
    width: 100%;
    object-fit: cover;
}
.news_link {
    position: unset;
    margin-bottom: 0;
}
.news-section, .blog-section {
    background: #eaeff4 none repeat scroll 0 0;
}
.news-section {
    border-top: 1px solid #cdd8e3;
}
.blog-section {
    border-bottom: 1px solid #cdd8e3;
}
.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* .news-section .row, .blog-section .row, #footer .row { */
.row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
}
body {
    overflow-x: hidden;
}
.content {
    text-align: left;
}
.lefthead .submenu_item {
    display: none;
}
.gal-item {
    margin: 0 !important;
    float: unset !important;
}
.gal-item img {
    width: 100%;
    object-fit: cover;
}
.form_border, .last_button {
    margin-right: 25px;
    margin: 0 auto;
}
#callme .va {
    display: unset;
}
.table-scroll table tbody tr:nth-child(odd) {
    background: #fff;
}
.table-scroll table tbody tr:nth-child(even) {
    background: #f2f6f8;
}
.table-scroll {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.table-scroll {
    margin-top: 20px;
}
.table-scroll table {
    border: 1px solid #ddd;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}
.table-scroll table>thead>tr>th, .table-scroll table>tbody>tr>th, .table-scroll table>tfoot>tr>th, .table-scroll table>thead>tr>td, .table-scroll table>tbody>tr>td, .table-scroll table>tfoot>tr>td {
    border: 1px solid #ddd;
}
.table-scroll table>thead>tr>th, .table-scroll table>tbody>tr>th, .table-scroll table>tfoot>tr>th, .table-scroll table>thead>tr>td, .table-scroll table>tbody>tr>td, .table-scroll table>tfoot>tr>td {
    padding: 5px;
    line-height: 1.42857143;
    vertical-align: middle;
    text-align:center;
}
.table-scroll table>tbody>tr:not(:first-child):not(:nth-child(2)):not(.header):not(.position)>td {
    text-align: left;
}
.table-scroll table tr:first-child td, .table-scroll table tr.header td {
    background:#538dd6;
	color:#fff;
	text-align:center;
	font-size: 18px;
}
.table-scroll table tr:nth-child(2) td, .table-scroll table tr.position td {
    text-align:center;
	font-weight:700;
	color:#000;
    /* vertical-align: middle; */
}
@media (max-width: 1199.98px) {
    .main, #headerpromo .mainpromo {
        width: calc(100% - 30px);
    }
    body {
        min-width: 100%;
    }
    .header__menu ul li {
        min-width: 132px;
        max-width: 132px;
    }
    .menu li {
        width: auto;
        display: inline-block;
        float: unset;
    }
    .wrapper {
        margin-right: 0;
    }
    .lefthead {
        font-size: 24px;
    }
}
@media (min-width: 992px) {
    a[href="tel:+79045965656"], a[href="tel:+74922604722"], a[href="mailto:zakaz@setka33.ru"] {
        /* color: unset !important;
        text-decoration: unset !important;
        pointer-events: none !important; */
    }
}
@media (max-width: 991.98px) {
    #new_header #adress_info {
        width: 230px;
    }
    #new_header #contact_info {
        width: 180px;
    }
    #new_header .logo {
        width: 320px;
        font-size: 75px;
    }
    #new_header .logo span {
        font-size: 36px;
    }
    .lefthead {
        font-size: 18px;
    }
    .sf-menu > li {
        font-size: 16px;
    }
    .catalog a, .catalog a:visited, .catalog a:active, .catalog a:hover {
        font-size: 14px;
    }
    .cat_img {
        height: 215px;
    }
    .logo_b {
        width: 220px;
    }
    #footer .row > div:nth-child(1) {
        order: 2;
    }
    /* Скрытое состояние */
    .cat .sf-menu {
        display: block;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
    }
    /* Открытое состояние */
    .cat .sf-menu.open {
        max-height: 2000px; /* достаточно большое значение */
    }
    .lefthead {
        cursor: pointer;
    }
    .lefthead .submenu_item {
        display: inline-block;
        margin-left: 10px;
        transition: transform 0.4s ease;
        font-size: 14px;
    }
    .lefthead.open .submenu_item {
        transform: rotate(180deg);
    }
    .header-text {
        font-size: 15px;
        gap: 4px;
    }
    .header__menu ul li a {
        font-size: 13px;
        line-height: 13px;
    }
    .header__menu ul li {
        min-width: 100px;
        max-width: 100px;
    }
}
@media (max-width: 767.98px) and (min-width: 576px) {
    #footer .row > div {
        width: 50%;
    }
}
@media (min-width: 768px) {
    .burger-col, .header__under, .header__burgers {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .col-xs-12:has(.cat) {
        display: none;
    }
    .header-col, .header__menu ul {
        display: none;
    }
    .header__logo img {
        /* max-width: 327px; */
    }
    .header__top {
        padding-bottom: 10px;
    }
    .burger-col {
        text-align: right;
    }
    .burger-button {
        display: inline-flex;
        justify-content: end;
        cursor: pointer;
    }
    .header__under {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }
    .catburger-button {
        display: flex;
        gap: 5px;
        align-items: center;
        padding: 9px 11px;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        background: #538DD6;
        border-radius: 5px;
        color: white;
    }
    .contacts-dropdown {
        position: relative;
    }
    .contacts-dropdown__current {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .contacts-dropdown__link {
        font-size: 18px;
        line-height: 18px;
        font-weight: 700;
        white-space: nowrap;
    }
    .contacts-dropdown__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .contacts-dropdown.active .contacts-dropdown__toggle {
        transform: rotate(180deg);
    }
    .contacts-dropdown__menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 100%;
        padding: 12px 0;
        background: #fff;
        border: 1px solid #E5E5E5;
        border-radius: 6px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 100;
    }
    .contacts-dropdown.active .contacts-dropdown__menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .contacts-dropdown__item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 15px;
    }
    .contacts-dropdown__item a:last-child {
        font-size: 16px;
        line-height: 16px;
        font-weight: 700;
        white-space: nowrap;
    }
    .header__burgers {
        position: relative;
    }
    .menu-burger {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-sizing: border-box;
    }
    .menu-burger.active {
        left: 0;
    }
    .burger-header {
        display: flex;
        justify-content: flex-end;
        background: #538DD6;
    }
    .close-burger {
        cursor: pointer;
        padding: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }
    .close-burger:hover {
        transform: rotate(90deg);
    }
    .close-burger svg path {
        fill: white;
    }
    .menu-burger ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .menu-burger li {
        border-bottom: 1px solid #eee;
    }
    .menu-burger li a {
        display: block;
        padding: 15px 12px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
    }
    /* .menu-burger li.active a, */
    .menu-burger li a:hover {
        color: #538DD6;
        background: #f5f5f5;
    }
    .catalog-burger {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    .catalog-burger.active {
        left: 0;
    }
    .catalog-burger .burger-header {
        display: flex;
        justify-content: flex-end;
    }
    .catalog-burger > ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .catalog-burger > ul > li {
        border-bottom: 1px solid #eee;
        position: relative;
    }
    .catalog-burger > ul > li > a {
        display: block;
        padding: 15px 12px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
    }
    .catalog-burger > ul > li > a:hover {
        /* color: #538DD6; */
        /* background: #f5f5f5; */
    }
    .toggle-submenu {
        position: absolute;
        right: 0;
        /* top: 50%; */
        top: 3.5px;
        /* transform: translateY(-50%); */
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }
    .toggle-submenu svg {
        transition: transform 0.3s ease;
    }
    .toggle-submenu.active svg {
        transform: rotate(180deg);
    }
    .catalog-burger ul ul {
        list-style: none;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #f9f9f9;
    }
    .catalog-burger ul ul.active {
        max-height: 500px;
    }
    .catalog-burger ul ul li {
        border-bottom: 1px solid #e0e0e0;
    }
    .catalog-burger ul ul li:last-child {
        border-bottom: none;
    }
    .catalog-burger ul ul li a {
        display: block;
        padding: 12px 15px;
        color: #666;
        text-decoration: none;
        font-size: 13px;
        transition: all 0.3s ease;
    }
    .catalog-burger ul ul li a:hover {
        /* color: #538DD6; */
        /* padding-left: 20px; */
    }
}
@media (max-width: 575.98px) {
    .lefthead {
        font-size: 16px;
    }
    .cat_item h2 {
        font-size: 20px;
    }
    h1.h2_main {
        font-size: 28px;
    }
    h2 {
        font-size: 20px;
    }
    .news_name {
        font-size: 16px;
    }
    #callme {
        width: calc(100% - 30px);
    }
    .popup .popup_h1 {
        font-size: 26px;
    }
    .popup .popup_h2 {
        font-size: 18px;
    }
    .table-scroll table tr:first-child td {
        font-size: 15px;
    }
    .table-scroll table {
        font-size: 12px;
    }
}   
@media (max-width: 399.98px) {
    .news-section .col-xs-6, .blog-section .col-xs-6, #footer .col-xs-6 {
        width: 100%;
    }
    .gallery-row .col-xs-6:nth-child(odd) {
        padding-right: 5px;
    }
    .gallery-row .col-xs-6:nth-child(even) {
        padding-left: 5px;
    }
    .gallery-row {
        row-gap: 10px;
    }
    .form_border, .last_button {
        width: 100%;
    }
}
@media (max-width: 389.98px) {
    .contacts-dropdown__link {
        font-size: 16px;
        line-height: 16px;
    }
    .contacts-dropdown__item a:last-child {
        font-size: 14px;
        line-height: 14px;
    }
}
@media (max-width: 359.98px) {
    .contacts-dropdown__link {
        font-size: 14px;
        line-height: 14px;
    }
    .contacts-dropdown__item a:last-child {
        font-size: 12px;
        line-height: 12px;
    }
    .contacts-dropdown__current {
        gap: 2px;
    }
    .popup .popup_h1 {
        font-size: 22px;
    }
    .popup .popup_h2 {
        font-size: 16px;
    }
}