/*
Theme Name: pkstroy
Author: <a href="https://t.me/rursul">Ursul Roman Mihailovich</a>
Description: base wp theme
Version: 4.0
*/
.clear {clear: both;}
.ajax-loader {display: none !important;}
input[type="submit"]:disabled {
    filter:         url(~"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(100%);
    filter: gray;
    cursor: not-allowed;
}
.page .article .table_wr table {margin: 30px 0;}
.page_contacts .cols .col:nth-child(4) {display: none;}
.article iframe {
    aspect-ratio: 16/9;
    width: 100%;
}
.vibor {
    line-height: 1.5;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #D9D9D9;
}
.vibor a {display: inline-block;}

.crumbs {gap: 10px;}
.crumbs i,
.crumbs .arrow {padding: 0 !important;}

.img_wr img {
    max-height: 600px !important;
    width: 100% !important;
    object-fit: cover;
}
.manufacture_chars .img_wr img {
    height: 64px !important;
    width: 64px !important;
}
.podurovni {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 26px;
}
.podurovni a.child-link {
    display: flex;
    flex-direction: column;
    width: 33.33%;
    gap: 20px;
}
.podurovni a.child-link img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}
.footer .footer_top .menu > li .sub-menu li ul.sub-menu {
    margin-top: 10px;
    padding-left: 20px;
}
.type-material .article img,
.material-category .article img {
    margin-right: 20px;
    margin-top: 20px;
}
.article table,
.article table tr th,
.article table tr td {
    width: auto !important;
    vertical-align: middle;
}

/*****************************************/

@media screen and (max-width: 1024px) {
    /*.header .header_top .soc a.i_whatsapp,
    .mobile_show .soc a.i_whatsapp {display: none;}*/
    .header .header_top .soc a.i_whatsapp,
    .mobile_show .soc a.i_whatsapp:not(.header .header_bottom .menu_wr .menu_bottom .phone_wr a.i_whatsapp) {display: none;}
    .header .header_top .wr .right > a {font-size: 14px;}
    .podurovni {
        flex-wrap: wrap;
        justify-content: center;
    }
    .podurovni a.child-link {width: calc(50% - 13px);}
}

@media screen and (max-width: 769px) {
    .page .article .table_wr {
        clear: both;
        width: 100%;
        overflow: hidden;
        overflow-x: scroll;
    }
    .podurovni a.child-link {width: 100%;}
}

@media screen and (max-width: 450px) {
    .type-material .article img,
    .material-category .article img {
        margin-left: auto;
        margin-right: auto;
        float: none;
        display: block;
    }
    .article table tr td:not(.article table tr td:nth-child(1)) {min-width: 140px;}
}

@media screen and (max-width: 375px) {
    .mobile_show .header_phone_mobile > a {font-size: 10px;}
}

@media screen and (max-width: 320px) {
    .mobile_show .header_phone_mobile > a {display: none;}
}