/*
Theme Name: ccm
*/
/* NOTE begin 9999px */
:root {
    --belyy: #fff;
    --fon: #f8f9fa;
    --fon-2: #eeeff0;
    --obvodka: #e4e5e6;
    --obvodka-2: #c6c7c8;
    --chernyy-1: #8d8d8d;
    --chernyy-2: #333;
    --cvet-shapki: #000;
    --krasnyy: #ed1c24;
}

.d_none.menu-item {
    display: none;
}

.is-admin .d_none.menu-item {
    display: block;
}

.subterms-grid {
    display: flex;
    align-items: stretch;
    column-gap: 2%;
    row-gap: 30px;
    flex-wrap: wrap;
}

.subterm {
    width: 32%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    background: var(--belyy);
    box-sizing: border-box;
}

.subterm img {
    width: 100%;
    object-fit: cover;
    height: 204px;
}

.subterm-box {
    padding: 21px 30px 26px 30px;
}

.taxonomy-services h3,
.taxonomy-services p,
.taxonomy-services h1,
.taxonomy-services h2 {
    margin-block-start: 0em;
    margin-block-end: 0em;
}



.subterm-title a {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    color: var(--chernyy-2);
}

.subterm-title a:hover {
    text-decoration: underline;
}

.subterm-subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: var(--chernyy-1);
    margin-top: 9px;
}

.subterm-actions {
    margin-top: 11px !important;
}

.subterm-actions a {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--krasnyy);
    width: max-content;
    padding-right: 20px;
    background-image: url(../img2/arrow.svg);
    background-position: top 6px right;
    background-repeat: no-repeat;
    background-size: auto;
}

.subterm-actions a:hover {
    text-decoration: underline;
}

.taxonomy-services {
    margin-bottom: 100px !important;
}

.posts-grid {
    display: flex;
    align-items: stretch;
    column-gap: 2%;
    row-gap: 30px;
    flex-wrap: wrap;
}

.posts-grid article {
    width: 32%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    background: var(--belyy);
    box-sizing: border-box;
}

.post-card__thumb img {
    width: 100%;
    object-fit: cover;
    height: 204px;
}

.post-card__box {
    padding: 21px 30px 26px 30px;
}

.post-card__title-link {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    color: var(--chernyy-2);
}

.post-card__title-link:hover {
    text-decoration: underline;
}

.post-card__subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: var(--chernyy-1);
    margin-top: 9px;
    margin-bottom: 11px;
}

.post-card__excerpt {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: var(--chernyy-2);
}

.post-card__price {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    color: var(--krasnyy);
    margin-top: 8px;
    margin-bottom: 14px;
}

.post-card__more {
    border: 1px solid var(--obvodka-2);
    border-radius: 5px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--chernyy-2);
}

.post-card__more:hover {
    background-color: var(--chernyy-2);
    color: #fff;
}

.podzagolovok {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    color: #000;
    margin-top: 3px;
    margin-bottom: 14px;
    display: inline-block;
    border-radius: 5px;
    padding: 3px 10px;
    background-color: #e7e7e7;
}

.metka {
    margin-bottom: 23px;
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--cvet-shapki);
    background: #ffb22c;
    display: inline-block;
    padding: 3px 14px 3px 10px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.opisanie img.alignleft {
    float: left;
    margin-right: 50px;
    margin-bottom: 30px;
}

.opisanie img {
    width: 400px;
    height: 226px;
    object-fit: cover;
    border-radius: 10px;
}

.opisanie p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--chernyy-2);
    margin-block-start: 1em !important;
    margin-block-end: 1em !important;
}

.content-box {
    display: flex;
    justify-content: space-between;
    margin-top: 44px;
    margin-bottom: 46px;
}

.content-box_col {
    width: 31%;
    padding-right: 31px;
    border-right: 1px solid var(--obvodka);
}

.content-box_col:nth-last-child(1) {
    padding-right: 0px;
    border-right: 0px solid var(--obvodka);
}

.content-box_col_title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: var(--chernyy-2);
    margin-bottom: 17px;
}

.content-box_col_conteiner_item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    column-gap: 15px;
}

.content-box_col_conteiner_item:nth-last-child(1) {
    margin-bottom: 0px;
}

.content-box_col_conteiner_item_img {
    width: 22px;
    flex-shrink: 0;
}

.content-box_col_conteiner_item_text a {
    text-decoration: underline;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--chernyy-2);
}

.content-box_col_conteiner_item_text a:hover {
    text-decoration: none;
}

.content-box_cena {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 26px;
    color: var(--krasnyy);

}

.content-box_cena:nth-child(2) {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    color: var(--chernyy-2);
}

.single-usluga .footer__application {
    display: none !important;
}

.taxonomy-services h1 {
    margin-bottom: 25px;
}

.ys_con {
    margin-top: 44px;
    border-radius: 10px;
    background: var(--fon);
    padding: 22px 22px 30px 30px;
}

.ys_con_title {
    margin-bottom: 24px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    color: var(--chernyy-2);
}

.ys_con_row {
    display: flex;
    align-items: center;
    column-gap: 50px;
}

.napisat_v_vot_sap {
    background: #2cb742;
    border-radius: 5px;
    display: flex;
    width: 248px;
    height: 50px;
    align-items: center;
    background-image: url(../img2/icon6.svg);
    background-position: left 30px center;
    background-repeat: no-repeat;
    background-size: auto;
    padding-left: 62px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--belyy);
}

.napisat_v_vot_sap:hover {
    opacity: 0.8;
}

.ys_con_row_item {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.ys_con_row_item_left {
    flex-grow: 0;
    width: 22px;
}

.ys_con_row_item_right_t1 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: var(--chernyy-2);
    margin-bottom: 3px;
}

.ys_con_row_item_right_t2 a {
    text-decoration: underline;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--chernyy-2);
}

.ys_con_row_item_right_t2 a:hover {
    text-decoration: none;
}

.benefits-title {
    margin-top: 0 !important;
}

.request-form .form-title {
    margin-top: 18px !important;
    margin-bottom: 34px !important;
}

.request-form_row {
    display: flex;
    align-items: stretch;
    column-gap: 20px;
    margin-bottom: 38px;
}

.request-form_row .tel {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid var(--obvodka-2);
    border-radius: 5px;
    width: 50%;
    padding-left: 57px;
    background-image: url(/wp-content/themes/ccm/assets/img2/icon4.svg);
    background-position: left 25px center;
    background-repeat: no-repeat;
    background-size: auto;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--chernyy-2);
    transition: 0.3s;
}

.request-form_row .napisat_v_vot_sap {
    width: 50%;
    box-sizing: border-box;
}

.request-form_row .napisat_v_vot_sap {
    padding-left: 57px;
    background-position: left 25px center;
}

.request-form_row .tel:hover {
    background-color: #dbffe0;
}

.request-form_row_2 {
    display: flex;
    align-items: center;
}

.request-form_row_2_img {
    border-radius: 5px;
    background-color: var(--fon-2);
    width: 40px;
    aspect-ratio: 1;
    flex-shrink: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-form_row_2_right_t1 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: var(--chernyy-2);
}

.request-form_row_2_right_t2 a {
    text-decoration: underline;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--chernyy-2);
}

.request-form_row_2_right_t2 a:hover {
    text-decoration: none;
}

.footer_panel {
    display: none;
}

.box_tiser {
    margin-top: 32px;
    display: flex;
    column-gap: 30px;
    align-items: flex-start;
}

.box_tiser_left {
    border-radius: 100%;
    background-color: var(--fon);
    width: 120px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.box_tiser_left img {
    max-width: 64px;
    height: auto;
}

.box_tiser_right_title {
    margin-bottom: 17px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    color: var(--chernyy-2);
}

.box_tiser_right_text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--chernyy-2);
    margin-bottom: 24px;
}

.box_row {
    display: flex;
    column-gap: 20px;
}

.box_row a {
    border-radius: 5px;
    padding: 15px 30px 15px 62px;
    box-sizing: border-box;
    padding-top: 15px;
}

.box_row_fail {
    background: var(--krasnyy);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--belyy);
    background-image: url(/wp-content/themes/ccm/assets/img2/icon8.svg);
    background-position: left 30px center;
    background-repeat: no-repeat;
    background-size: auto;
}

.box_row_fail:hover {
    opacity: 0.8;
}

.box_row_ys {
    background: #fff;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--cvet-shapki);
    background-image: url(/wp-content/themes/ccm/assets/img2/icon9.svg);
    background-position: right 30px top 21px;
    background-repeat: no-repeat;
    background-size: auto;
    padding-left: 30px !important;
    padding-right: 44px !important;
    border: 1px solid var(--obvodka-2);
}

.box_row_ys:hover {
    background-color: #dbffe0;
}

.analysis_a .box_tiser_left {
    border-radius: 5px;
    width: 220px;
    aspect-ratio: 0;
    overflow: hidden;
    margin-top: 10px;
}

.analysis_a .box_tiser_left img {
    max-width: 100%;
}

.popup-form-wrapper {
    background-color: #fff;
}

.request-form .request-form_row>a {
    padding-left: 0;
    justify-content: center;
}

.home_contakt {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 42px 30px 49px 30px;
    border-radius: 10px;
}

.home_contakt .form-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
    color: var(--belyy);

}

.home_contakt .form-title br {
    display: none;

}

.home_contakt .request-form_row {
    margin-bottom: 19px;
    row-gap: 20px;
    flex-direction: column;
}

.home_contakt .request-form_row .napisat_v_vot_sap {
    width: 100%;
}

.home_contakt .request-form_row .napisat_v_vot_sap {
    padding-left: 34%;
    background-position: left 26% center;
}

.home_contakt .request-form_row .tel {
    padding-left: 38%;
    background-position: left 30% center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    background-image: url(../img2/icon10.svg);
    background-repeat: no-repeat;
    width: 100%;
    height: 50px;
}

.home_contakt .request-form_row .tel:hover {
    background-color: #2cb742;
}

.home_contakt .request-form_row_2_right_t1 {
    color: #fff;
}

.home_contakt .request-form_row_2_right_t2 a {
    color: #fff;
}

.home_contakt .request-form_row_2_img {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
    min-height: auto !important;
    height: auto !important;
}

.header__callback_pc {
    cursor: pointer;
}

.header__callback_tel a {
    font-weight: 600;
    font-size: 15px;
    color: var(--light-color);
    cursor: pointer;
}

.header__callback_tel {
    display: none;
}

.header__callback_pc {
    width: 186px;
    box-sizing: border-box;
    text-align: center;
    padding: 18px 10px;
}

.header__callback_pc:hover .header__callback_tel {
    display: inline;
}

.header__callback_pc:hover .header__callback_text {
    display: none;
}

.footer__nav {
    justify-content: space-between;
    display: flex;
}

/* NOTE end 9999px */




/* NOTE begin 900px */
@media screen and (max-width: 900px) {
    .taxonomy-services {
        margin-bottom: 40px !important;
    }

    .subterm {
        width: 48%;
    }

    .posts-grid article {
        width: 48%;
    }

    .content-box {
        flex-wrap: wrap;
        row-gap: 30px;
    }

    .content-box_col {
        width: 100%;
        padding-right: 0px;
        border-right: 0px solid var(--obvodka);

    }

    .ys_con_row {
        row-gap: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .box_tiser_left {
        width: 60px;

    }

    .box_tiser_left img {
        max-width: 90%;
    }

    .box_tiser_right_title {
        font-size: 20px;
    }

    .box_row {
        flex-direction: column;
        row-gap: 20px;
    }

    .box_row a {
        padding: 11px 10px 11px 42px;
        box-sizing: border-box;
    }

    .box_row_fail {
        background-position: left 10px center;
    }

    .box_row_ys {
        background-position: right 10px center;
        padding-left: 20px !important;
        padding-right: 24px !important;
    }

    .analysis_a .box_tiser {
        flex-direction: column;
        row-gap: 20px;
    }

    .analysis_a .box_tiser_left {
        width: 100%;
    }

}

/* NOTE end 900px */


/* NOTE begin 500px */
@media screen and (max-width: 500px) {
    .subterm {
        width: 100%;
    }

    .posts-grid article {
        width: 100%;
    }

    .ys_con {
        padding: 15px 10px 20px 20px;
    }

    .request-form_row {
        flex-direction: column;
        row-gap: 30px;
    }

    .request-form_row_2_right_t2 a {
        font-size: 18px;
    }

    .request-form .form-title {
        margin-top: 0px !important;
    }

    .form-title br {
        display: none;
    }

    .request-form_row .napisat_v_vot_sap {
        width: 100%;
        text-align: center;
        padding-left: 70px;
    }

    .request-form_row .tel {
        width: 100%;
        height: 50px;
        text-align: center;
        padding-left: 70px;
    }

    .footer_panel {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        align-items: center;
        justify-content: center;
        column-gap: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #232323;
    }

    .footer_panel>div a {
        color: #fff;
    }

    .footer_panel_wt {
        padding-right: 20px;
        border-right: 1px solid #fff;
    }

    .top_of_the_paige {
        bottom: 50px !important;
    }

    .footer_panel_wt a {
        padding-left: 30px;
        background-image: url(../img2/icon6.svg);
        background-position: left center;
        background-repeat: no-repeat;
        background-size: auto;
        display: flex;
        height: 30px;
        align-items: center;
    }

    .footer_panel_tel a {
        padding-left: 30px;
        background-image: url(../img2/icon7.svg);
        background-position: left center;
        background-repeat: no-repeat;
        background-size: auto;
        display: flex;
        height: 30px;
        align-items: center;
    }

    .popup-form-wrapper_inner {
        padding: 30px;
    }

    .home_contakt {
        padding: 15px;
    }

    .wa-fixed {
        bottom: 45px !important;
    }

    .hidden_latalog {
        display: none !important;
    }

    .home_contakt .form-title {
        font-size: 22px;
    }

    .home_contakt .request-form_row .napisat_v_vot_sap {
        padding-left: 26%;
        background-position: left 16% center;
    }

    .home_contakt .request-form_row .tel {
        padding-left: 30%;
        background-position: left 20% center;
    }
}

/* NOTE end 500px */