/*
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%;
}

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;
}

#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: 2;
}

.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;
}

@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) {
    div.article-lead-box .elm-photo {
        width: 100%;
    }

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

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

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

/* 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 */
