@import url(home.css);
@import url(ruchki.css);
@import url(styles.css);
@import url(accordion.css);


.printItem {
    width: 50%;
    display: inline-block;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.printItem img {
    object-fit: cover;
    min-height: 290px;
    width: auto;
}

.printItem a {
    display: block;
}

.printItem .printItemTitle {
    text-align: center;
    padding: 5px 20px;
}

.printItem .printItemTitle a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.printItem .printItemTitle,
.printItem .printItemImg {
    background: #f44934;
}

ol li a {
    color: #FD0808;
    text-decoration: none;
}

ul,
ol {
    padding-left: 0;
}

dd.published {
    display: none;
}

.mid .right {
    background: none;
}

.portitem .portcontent {
    background: none;
}

.portitem .portcontent {
    margin: 0;
    text-align: center;
    padding: 5px 10px;
    background: #f55b48;
}

.moduletable_portfolio .portitem .portcontent .prodsep {
    display: none;
}

.moduletable_portfolio .portitem .portcontent > * {
    display: block;
    margin: 0;
    background: #f55b48;
    color: #fff;
}

.ag_w_1_2:nth-child(2) > * {
    list-style-type: none;
    padding-left: 10px;
    margin: 0;
}

svg#sk2 {
    display: none;
}

.ag_w_1_2 svg#sk1 {
    display: none;
}

.mid .left .custom_buttonport {
    padding-left: 20px;
    text-align: left;
}

.mid .right .newsflash-horiz_portfolio {
    display: table
}

.ag_form_text {
    padding: 16px 0 20px 20px;
}

.item-page p {
    display: table;
}

.mobMail {
    display: none;
}

.social_links a img {
    max-width: 26px;
}

div.social_links > a:nth-child(2) > img {
    margin: 0 8px;
}

div.social_links {
    margin-top: 5px;
}

@media (max-width:768px) {

    body > header > div > div.moduletable_contacts > div > p:nth-child(7) {
        margin-top: 8px;
    }

    .custom_contacts p.mobMail {
        display: block;
        margin-top: 17px;
        font-size: 15px;
    }

    .moduletable iframe {
        width: 100% !important;
    }

    .center > .moduletable_contacts {
        display*: none;
    }

    .ag_menubtn {
        margin*: 0;
        position*: static;
    }

    .mid .center > .left {
        overflow-y: overlay;
    }

    .left .moduletable_contacts {
        position: static;
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .left .moduletable_contacts .custom_contacts > p:first-child {
        text-align: center;
    }

    .left .moduletable_contacts .custom_contacts > p:nth-child(1) > strong > span > span:nth-child(2) {
        font-size: 22px !important;
        line-height: 27px;
    }

    .mid .left .uslugi {
        background-position-y: 40px;
    }

    .mid .right .blog .leading-0 {
        height: auto;
    }

    .mid .right .blog .leading-0 > a > .imageakc {
        position: static;
        float: none;
    }

    .mid .right .blog .leading-0 > .introtext {
        position: static;
        padding: 10px 15px;
        width: 100%;
        display: block;
        height: auto;
        max-width: 100%;
        text-align: center;
    }

    .mid .right .blog .leading-0 > .readmore a {
        position: static;
        display: block;
        line-height: 32px;
        width: 100%;
        text-align: center;
    }

    .mi1d .right .blog .leading-0 > a > .imageakc {
        height: 240px;
    }

    .leading-0 .readmore {
        margin: 0;
    }

    .mid .right .blog .leading-0 > .introtext p {
        margin: 0;
    }

    .mid .right .blog {
        height: auto;
    }

    footer .center > .moduletable_contacts {
        display: block;
    }

    footer .center > .moduletable_contacts .custom_contacts > p:nth-child(2),
    footer .center > .moduletable_contacts .custom_contacts > p:nth-child(3) {
        line-height: 24px;
    }

    footer .moduletable_contacts p:nth-child(3) strong {
        font-size: 18px;
    }


    .printItem {
        display: block;
        width: 100%;
    }

    .printItem img {
        min-height: auto;
    }

    #instaLink_0,
    #instaLink_1 {
        width: 100% !important;
    }

    table {
        width: 100% !important;
        height: auto !important;
        overflow-x: scroll;
    }

    .mid .right .item-page img {
        float: none;
    }

    .item-page p > ymaps {
        width: 335px !important;
    }

    footer .moduletable_contacts p:first-child > strong > span > strong > span {
        font-size: 22px !important;
    }

    .custom_contacts p:first-child {
        line-height: 24px;
    }


    .custom_contacts p span {
        font-size: 18px !important;
    }

    header .custom_contacts {
        text-align: right;
    }

    header .center {
        padding: 20px 20px 30px 20px;
    }

    .custom_contacts p:nth-child(8) {
        font-size: 11px;
    }

    body > header > div > div.moduletable_contacts > div > p:nth-child(9) {
        font-size: 13px;
    }

    body > footer > div.center > div.moduletable_contacts > div > p:nth-child(2) > strong > span > strong > span {
        font-size: 22px !important;
    }

    body > footer > div.center > div.moduletable_contacts > div > p:nth-child(3) > strong {
        font-size: 15px;
    }

}

@media (min-width:769px) {
    .left .moduletable_contacts {
        display: none;
    }
}

@media (max-width:768px) {
    header .center {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 15px 10px 0px 10px;
        transition: 250ms;
    }

    .ag_menubtn {
        order: 2;
        display: grid;
    }

    .center > .moduletable_contacts {
        order: 3;
        display: flex;
        position: relative;
        margin-top: 30px;
        width: 100%;
    }

    label.sk-btn.sk-head {
        position: absolute;
        right: 0;
        top: 6px;
        bottom: auto;
    }

    a.sk-btn.sk-link-custom {
        position: absolute;
        bottom: 20px;
        right: 0;
        top: auto;
        background: #f44934;
        width: 128px;
    }

    .custom_contacts p {
        text-align: left;
        margin-bottom: 5px;
    }

    .custom_contacts p {
        text-align: left;
    }

    .mobMail {
        display: none;
    }

    header .center-scroll {
        position: fixed;
        z-index: 2;
        background: #fff;
        height: 78px;
        top: 0;
        overflow: hidden;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media(max-width: 479px) {
    .ag_menubtn {
        position: static;
        margin: 0;
    }

    .custom_contacts p:first-child {
        text-align: left;
    }
}

form .qform-field__submit_agree-box__link {
    color: #f44934 !important
}

form .qform-field__submit {
    text-align: left !important;
}

.qform-field__block_box__field-box_list-box::-webkit-scrollbar-track {
    background: #d9b4b0 !important;
    /* цвет зоны отслеживания */
}

.qform-field__block_box__field-box_list-box::-webkit-scrollbar-thumb {
    background-color: #f44934 !important;
    /* цвет бегунка */
}

form.qform .qform-row .qform-field.select .qform-field__block_box__field-box_list__item:hover,
form.qform.qform-valid_light .qform-row .qform-field.valid .qform-field__block_box__field {
    border-color: #f44934 !important;
}

.counter {
    margin-top: 30px;
}
