/*
Theme Name: OrenPro - motivity
Author: OrenPro
Author URI: https://orenpro.ru/
Version: 1.1
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.article-box blockquote {
    font-size: 2rem;
    line-height: 1.5;
    border-radius: 3rem;
    margin-bottom: 4.7rem;
    background: #ff887e;
    color: #fff;
    font-weight: 700;
    padding: 4rem 3rem;
}

.page-full #ez-toc-container {
    display: block;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 0px;
}

.page-full .ez-toc-counter nav ul li::before, .page-full .ez-toc-counter nav ul li a::before {
    display: none;
}

.page .article-lead-box .section-title {
    color: #000;
    max-width: 100%;
}

.page .article-lead-box .info-inner-wrap .section-title {
    max-width: 60rem;
}

.page .article-lead-box.type-second .photo-inner-wrap {
        padding-right: 0;
    }

span.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item-label:before, .wpcf7-list-item-label:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border: 1px solid #8981ac;
    top: 8px;
    left: 8px;
    margin: -8px 0 0 -8px;
    position: absolute;
    border-radius: 3px;
}

.wpcf7-list-item-label:after {
    border: none;
    background: #8981ac url(./img/icons/check.svg) 50%/24px auto no-repeat;
    background-size: 24px auto;
    opacity: 0;
}

.frm-select input:checked~.wpcf7-list-item-label:after {
    opacity: 1;
}

.wpcf7-form-control-wrap select {
    text-overflow: ellipsis;
    width: 100%;
    padding-right: 30px;
    background-image: url(./img/icons/arrow-select.svg);
    background-position: right 15px center;
    background-size: 24px auto;
    background-color: var(--clr-white);
    background-repeat: no-repeat;
    -moz-appearance: none;
    -ms-appearance: none;
    -webkit-appearance: none;
    appearance: none !important;
    line-height: 1em;
    text-indent: .01px;
    outline: none;
    cursor: pointer;
    border-radius: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    letter-spacing: -.42px;
    height: 54px;
    border-bottom: 1px solid #bfb9d5;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -.5px;
    height: 56px;
}

#menu-glavnoe-menyu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    z-index: 20;
    width: 180px;
    font-size: 16px;
    line-height: 20px;
    padding: 15px 15px;
    padding-top: 37px;
}

#popup-form .wpcf7-form-control-wrap select {
    height: 40px;
    border-bottom-color: #7f7f7f;
    font-size: 14px;
}

#menu-glavnoe-menyu .sub-menu li {
    background: #fff;
}

#menu-glavnoe-menyu .sub-menu li:first-of-type {
    border: 1px solid #fff;
    border-top-right-radius: 25px;
}

#menu-glavnoe-menyu .sub-menu li:last-of-type {
    border: 1px solid #fff;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding-bottom: 7px;
}

#menu-glavnoe-menyu .sub-menu li a {
    color: var(--clr-att);
}

#menu-glavnoe-menyu .menu-item-has-children:hover .sub-menu {
    display: block;
}

#menu-glavnoe-menyu .menu-item-has-children:hover .sub-menu li {
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

blockquote a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid;
}

.more-box.elm-hidden-mobile .btn {
    background-color: #28272b;
}

.bliss_loadmore {
    margin-top: 7rem;
    text-align: center;
    width: 100%;
    min-width: 100%;
    padding: 0 4.6rem;
    height: 5.3rem;
    border-radius: 1.4rem;
    font-size: 16px;
    line-height: 49px;
    font-weight: 700;
}

.category .box-inner-wrap img {
    filter: invert(0%) sepia(0%) saturate(0%) brightness(0%) contrast(100%);
}

div.popup-outer-box {
    z-index: 90;
}

.popup-open div.popup-outer-box {
    z-index: 100;
}

/*#ez-toc-container {
    display: none;
}*/
@media (min-width: 768px) {
    .page-lead-box .box-inner-wrap {
        min-height: 460px;
    }
}

.page-full .item-tile-case .tile-info-wrap {
    z-index: 3;
    /*background: #4a4bb761;*/
}

.page-full .item-tile-case .tile-photo-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    padding-top: 0;
    z-index: 2;
}

.page-full .item-tile-case .tile-photo-wrap .tile-photo {
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.page-full .item-tile-case .tile-photo-wrap img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    padding-top: 0;
}

.form-content-box.bg-att select {
    color: #fff;
    background-color: #622bff;
}

div.frm-select {
    font-size: 16px;
}

form.wpcf7-form div.frm-select {
    font-size: 16px;
    line-height: 17px;
}

.form-box div.frm-select p {
    max-width: 100%;
}

div.popup-outer-box.popup-cookies {
    z-index: 20;
}

.popup-cookies.popup-outer-box {
    padding: 0 10px 20px;
    height: 152px;
    bottom: 0;
    top: auto;
}

div.smart-captcha {
    margin-bottom: 20px;
    max-width: 200px!important;
}

#form-content-box .form-content-box .frm-row-submit .frm-select a:not(:hover) {
    color: #fff;
}

/* tile actions edits */
.item-tile-action.type-second {
    font-size: 16px;
    line-height: 1.375;
    font-weight: bold;
}

.item-tile-action.type-second .tile-title {
    font-size: 28px;
    font-size: 2.8rem;
    line-height: 1.42857143;
    margin-bottom: 16px;
    margin-bottom: 1.6rem;
}

a.inline_a:hover {
    cursor: pointer;
}

.popup-form .popup-box .frm-field span.wpcf7-form-control-wrap input.wpcf7-not-valid {
    border-bottom: 1px solid red;
    border-bottom-color: red;
}

.wpcf7-not-valid-tip {
    font-size: 65%;
    display: block;
    position: absolute;
    top: 46px;
}

.frm-popup form .frm-row-submit .btn, .popup-form .popup-box .field-desc {
    font-family: 'Inter', sans-serif !important;
    font-style: normal;
    font-weight: 400;
}

.popup-form .popup-box .frm-field * {
    font-family: 'Inter', sans-serif !important;
}

.submitting .wpcf7-spinner {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.new-main-page .section-calc-box .total-calc-wrap {
    position: relative;
}

.total-img {
    position: absolute;
    top: 0;
    right: 0;
}

.new-main-page .section-main-box .btn {
    background-color: #00D287;
    border-color: #00D287;
}

.new-main-page .section-main-box .btn:hover {
    background-color: #25995e;
}

.new-main-page .section-action-box div.photo04 {
    width: 13%;
}

@media (min-width: 768px) {
    .item-tile-action.type-second {
        font-size: 18px;
        min-height: 295px;
        padding-left: 7.5rem;
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .item-tile-action.type-second .tile-info-wrap {
        max-width: 50.5rem;
        width: 60%;
    }

    .item-tile-action.type-second .tile-photo-wrap {
        width: 40%;
    }

    .item-tile-action.type-second .tile-photo {
        width: 300px;
    }

    .item-tile-action.type-second .tile-action {
        margin-top: 2.4rem;
    }

    .item-tile-action.type-second .tile-action .btn {
        height: 5.2rem;
        border-radius: 10px;
        padding: 0 4rem;
        font-size: 2rem;
        width: auto;
        letter-spacing: 0.03em;
        font-weight: bold;
    }
}

/* end tile actions edits */
@media (min-width: 1200px) {
    .item-tile-action div.tile-title {
        font-size: 28px;
    }
}

@media (min-width: 768px) {
    #form-content-box .form-content-box .title-wrap {
        max-width: 586px;
    }

    #form-content-box .form-content-box .section-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 1440px) {
    .page-full #ez-toc-container {
        max-height: 600px;
        overflow-y: scroll;
    }
}

@media (max-width: 500px) {
    .header-nav-panel .btn-menu .button-ico {
        margin-right: 5px;
    }

    div.article-lead-box .elm-photo {
        width: 100%;
    }

    .popup-cookies.popup-outer-box {
        height: 222px;
    }

    .article-box h2, .article-box h3, .article-box h4 {
        display: block;
        font-size: 1.6em;
        line-height: 1.29230769;
    }

    .article-box p, .article-box li {
        font-size: 130%;
    }

    .side-menu-box {
        display: none;
    }

    .article-lead-box div.box-inner-wrap {
        min-height: 520px;
    }

    .article-lead-box div.section-logo {
        width: 80%;
        max-width: 130px;
        padding-top: 0;
    }

    .section-info-box .title-inner-wrap a {
        display: flex;
        text-align: center;
    }

    .total-img {
        width: 154px;
    }

    .total-img img {
        width: 100%;
    }

    .new-main-page .section-main-box .title-inner-wrap > p {
        max-width: 287px;
        margin: 0 auto;
    }

    .span_wrap {
        display: block
    }

    .new-main-page .section-awards-box .item-tile-award .tile-info {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .new-main-page .section-awards-box .item-tile-award .tile-info img{
        padding-left: 10px;
    }

    .text_display {
        display: block;
    }
}

/*@media (min-width: 768px) {
    div.new-main-page .section-middle-box .title-inner-wrap p {
        max-width: 25.954545em;
    }
}*/
/* popup height adaptive */
@media (min-width: 1024px) and (max-height: 999px) {
    .popup-outer-box {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .popup-box .btn-popup-close {
        top: 0;
    }

    .popup-box .popup-title-wrap {
        padding-top: 30px;
        padding-bottom: 0;
    }

    .popup-box .form-input.inp-border {
        height: 48px;
    }
}

/* /popup height adaptive */
/* popup login info */
.popup-login {
    background: rgba(66, 81, 100, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.popup-login .popup-box {
    background: #fff;
    text-align: center;
    overflow: visible;
}

.popup-login .popup-box .popup-content-wrap {
    overflow: visible !important;
}

.popup-login .popup-box .btn-popup-close {
    top: 10px;
    top: 1rem;
    right: 10px;
    right: 1rem;
    left: auto;
    bottom: auto;
}

.popup-login .popup-box .btn-action-ico.ico-close {
    filter: none;
}

.popup-login .popup-box .btn-action-ico.ico-close:before, .popup-login .popup-box .btn-action-ico.ico-close:after {
    filter: none;
}

.popup-login .popup-box .elm-photo {
    width: 327px;
    width: 32.7rem;
    margin: -90px auto 0 auto;
    margin: -9rem auto 0 auto;
}

.popup-login .popup-box .popup-title {
    margin: 0 auto;
    font-size: 20px;
    font-size: 2rem;
    line-height: 1.5;
    color: #000;
    font-weight: 400;
    min-height: 7em;
    margin-bottom: 1em;
}

.popup-login .popup-box .btn {
    height: 66px;
    height: 6.6rem;
    border-radius: 4rem;
    padding: 0 40px;
    padding: 0 4rem;
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 500;
}

@media (max-width: 1023px) {
    .popup-login {
        padding: 0 15px;
    }

    .popup-login .popup-box {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 400px;
        border-radius: 20px;
    }
}

/* end popup login info */
.new-main-page .item-wrap .item-tile-info-main:hover {
    background: #F6E5DD
}

.new-main-page .item-wrap:nth-child(2n) .item-tile-info-main:hover {
    background: #ACE2CD
}

.new-main-page .item-wrap:nth-child(3n) .item-tile-info-main:hover {
    background: #E5DEF7
}

.new-main-page .item-wrap:nth-child(4n) .item-tile-info-main:hover {
    background: #F5DDE5
}

.new-main-page .item-wrap:nth-child(5n) .item-tile-info-main:hover {
    background: #BECEF8
}

.page-id-1708 .popup-cookies-box .info-wrap, 
.page-id-1708 .popup-cookies-box .btn .button-title,
.page-id-1708 .popup-cookies-box .info-wrap * {
    font-family: Manrope, sans-serif;
}
nav.navigation.pagination, 
div.nav-links {
    display: flex !important;
    padding-top:10px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 auto;
}

div.nav-links *{
    padding: 6px;
    font-size: 22px;
}

.new-main-page-second .item-tile-section-history .tile-photo.photo-bg,
.page-full .item-tile-case  .tile-photo.photo-bg {
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 aspect-ratio: inherit;
 height: auto;
 margin: 0;
}
.new-main-page-second .item-tile-section-history .tile-photo.photo-bg img,
.page-full .item-tile-case  .tile-photo.photo-bg img {
 width: 100%;
}
.new-main-page-second .item-tile-section-history .tile-photo.photo-bg~.tile-photo-wrap,
.page-full .item-tile-case  .tile-photo.photo-bg~.tile-photo-wrap {
 opacity: 0;
}