/*Стили header*/
.header {
    width: 100%;
    background-color: #0060aa;
}

.header__main {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}

.header__container-l {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    line-height: 50px;
    flex-grow: 1;
    position: relative;
}

.header__container-r {
    line-height: 50px;
    display: flex;
}

.header__geo {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    margin-right: 13px;
}

.header__search > form {
    white-space: nowrap;
}

.header__icon-geo {
    height: 20px;
    width: 15px;
    vertical-align: text-bottom;
    fill: #fff;
    margin-right: 5px
}

.header__geo .text__main-upp {
    margin-left: 22px
}

.header__geo .header__icon-geo {
    position: absolute;
    top: 14px
}

.header__log {
    display: inline-block;
    margin-right: 13px;
    white-space: nowrap;
}

.header__log-order{
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    margin-right: 10px;
}

.header__log-order span {
        border-bottom: 1px dotted rgba(255, 255, 255, .6);
}

.header__search {
    display: inline-block;
    margin-right: 9px;
    margin-left: 9px;
}

.header__call {
    /* background: #ef7d00; */
    padding: 0 10px;
    display: inline-block;
    vertical-align: top;
    margin-right: 22px;
    margin: 0;
    position: relative;
    display: flex;
}

.header__call .text__main-link {
    white-space: nowrap;
    background: #ef7d00;
    height: 100%;
    display: inline-block;
    padding: 0 10px;
    border: none !important;
}

.header__call-phones {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.header__call-phones .text__main-link.footer__call-link{
    position: relative;
}

.header__call-phones .text__main-link.footer__call-link:last-child::before {
    display: none;
}

.header__call-phones .text__main-link.footer__call-link::before {
    position: absolute;
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 100%;
    background: #fff;
    right: 1px;
}

.header__call .text__main-link {
    margin-right: 10px;
}

.header__call .text__main-link span {
    border-bottom: 1px dotted rgba(255, 255, 255, .6);
}

.header__call .text__main-link:hover span{
    border-bottom: 1px dotted transparent;
}

.header__icon-search {
    height: 22px;
    width: 20px;
    display: inline-block;
    vertical-align: middle;
}

.header__search-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px dotted rgba(255,255,255,.6);
    outline: 0;
    color: #fff;
    display: block;
    position: relative;
    width: 140px;
    height: auto;
    display: inline-block;
    font-size: 17px;
    background: #0060aa;
    -webkit-appearance: none;
}

.header__search-input::placeholder {
    opacity: 0;
}

.header__search-input::-webkit-input-placeholder { /* Edge */
    opacity: 0;
}

.header__search-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    opacity: 0;
}

.header__phone {
    display: inline-block;
    vertical-align: top;
    position: relative;
    z-index: 1;
}

.header__time {
    color: #fff;
    font-size: 16px;
    display: inline-block;
    vertical-align: top;
    margin-left: 22px;
    display: none;
}

.header__container-rMenu {
    height: 100%
}

.header__container-r-blog {
    text-align: right
}

.header__search-blog {
    display: inline-block
}

.btn-blind-ppl {
    z-index: 100;
    margin-left: -3px;
}

.btn-blind-ppl .ez-psp-bigbutton {
    padding: 0;
    background-color: transparent;
    width: 100%;
    margin-bottom: -1px
}

.btn-blind-ppl .ez-psp-bigbutton .ez-psp-text {
    padding-left: 50px;
    width: 46px;
    height: 21px;
    overflow: hidden
}

.mobile-close {
    display: block;
    position: relative;
    width: 36px;
    height: 36px;
    float: right;
    cursor: pointer;
    margin-top: -14px;
}


.mobile-close:before {
    position: absolute;
    content: '';
    width: 36px;
    height: 2px;
    background-color: #fff;
    display: block;
    top: 24px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.mobile-close:after {
    position: absolute;
    content: '';
    width: 36px;
    height: 2px;
    top: 24px;
    background-color: #fff;
    display: block;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}


/*Стили subheader*/

.subheader {
    position: relative;
    border-bottom: 1px solid #d5dce2;
}

.subheader__main {
    width: 100%;
    height: 80px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.subheader__logo {
    display: inline-block;
    float: left;
}

.subheader__logo-l {
    display: inline-block;
}

.subheader__logo-r {
    display: inline-block;
    vertical-align: top;
    margin-top: 25px;
    margin-left: 18px;
}

.subheader__nav {
    position: relative;
    display: inline-block;
    float: right;
    margin-top: 30px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding-bottom: 30px;
}

.subheader__nav .nav__item {
    display: inline-block;
    margin-left: 10px;
    /* position: relative; */
}

.subheader__nav .nav__item:first-of-type {
    margin: 0;
}

.subheader__nav .nav__item.nav__item--mobile {
    display: none;
}

.subheader__nav .nav__item .nav__link {
    padding-bottom: 27px;
    border-bottom: 3px solid transparent;
}

.subheader__nav .nav__sub {
    visibility: hidden;
    position: absolute;
    background-color: #fff;
    -webkit-column-count: 1;
    column-count: 1;
    /* left: 0; */
    margin: 0 auto;
    padding: 20px 15px;
    margin-top: 0;
    -webkit-transition: visibility .1s,opacity .1s cubic-bezier(.71,-.43,0,.28);
    transition: visibility .1s,opacity .1s cubic-bezier(.71,-.43,0,.28);
    overflow: hidden;
    opacity: 0;
    top: 50px;
    width: 100%;
    width: auto;
    min-width: 135px;
    border-top: 1px solid rgba(0,0,0,.1);
    z-index: 32;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
    box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
}

.subheader__nav .nav__sub--double {
    -webkit-column-count: 2;
    column-count: 2;
}

.subheader__nav .nav__sub .text__geo {
    /* white-space: nowrap; */
    text-transform: capitalize;
}

.subheader__nav .nav__item:nth-of-type(1) .nav__sub {
    -webkit-column-count: 1;
    column-count: 1;
    padding: 20px 30px 10px 30px;
}

.subheader__nav .nav__item:nth-of-type(1) .nav__sub li {
    margin-right: 0;
}

.subheader__nav .nav .nav__sab li:hover a,
.subheader__nav .nav__item:hover>.nav__link {
    color: #354a54
}

.subheader__text {
    display: inline-block
}

.subheader__nav .nav__item:hover .nav__sub {
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    margin-top: 0!important;
    width: auto;
}

.subheader__nav .nav__item .nav__link.nav-active {
    border-bottom: 3px solid #01abce;
    -webkit-transition: background-color 1s, border-color 1s ease;
    transition: background-color 1s, border-color 1s ease;
    color: #354a54
}

.subheader__nav .nav__sub li {
    line-height: 33px;
    margin-right: 10px
}

.subheader__nav .nav__sub li:hover a {
    color: #354a54
}

.subheader__nav .nav__item:nth-of-type(1) .nav__sub {
    -webkit-column-count: 1;
    column-count: 1;
    padding: 20px 30px 10px
}

.subheader__nav .nav__item:nth-of-type(1) .nav__sub li {
    margin-right: 0
}

/*Стили subheader END*/



/*Стили BTN-MObiLE */
.btn__mobile {
    position: relative;
    display: none;
    width: 36px;
    height: 36px;
    margin: 25px 0 25px 25px;
    float: right;
    cursor: pointer;
}

.btn__mobile span {
    margin: 0 auto;
    position: relative;
    top: 12px;
    width: 36px;
    height: 2px;
    background-color: #0060aa;
    display: block;
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
    pointer-events: none;
}

.btn__mobile span:after,
.btn__mobile span:before {
    position: absolute;
    content: '';
    width: 36px;
    height: 2px;
    background-color: #0060aa;
    display: block;
    -webkit-transition-property: margin,-webkit-transform;
    transition-property: margin,-webkit-transform;
    transition-property: margin,transform;
    transition-property: margin,transform,-webkit-transform;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-delay: .2s,0s;
    transition-delay: .2s,0s;
}

.btn__mobile span:before {
    margin-top: -12px;
}

.btn__mobile span:after {
    margin-top: 12px;
}

.btn__mobile-menu.active span {
    background-color: transparent;
    -webkit-transition-delay: .2s;
    transition-delay: .1s;
}

.btn__mobile-menu.active span:after {
    margin-top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition-delay: 0s,.2s;
    transition-delay: 0s,.2s;
}

.btn__mobile-menu.active span:before {
    margin-top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-delay: 0s,.2s;
    transition-delay: 0s,.2s;
}

.mobile {
    visibility: hidden;
    position: absolute;
    background-color: #fff;
    top: 106px;
    right: 0;
    -webkit-transition: 0s;
    transition: 0s;
    z-index: 1;
    width: 50%;
    padding-bottom: 60px;
    margin-right: 0!important;
}


.mobile .nav-clinic .nav__item .text__geo,
.mobile .nav-company .nav__item .text__geo {
    padding: 15px 50px;
    width: 100%;
    border-bottom: 1px solid #d5dce2;
    display: block;
    color: #354a54;
    font-size: 15px;
    -webkit-text-size-adjust: 100%
}

.mobile .nav-clinic .nav__item .text__geo:hover,
.mobile .nav-company .nav__item .text__geo:hover {
    background-color: #eef1f7;
    cursor: pointer
}

.mobile .nav__sub {
    display: none
}

.mobile .nav__item .nav__link {
    padding: 15px 70px 15px 37px;
    width: 100%;
    border-bottom: 1px solid #d5dce2;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative
}

.mobile .nav__item .nav__link:hover {
    background-color: #eef1f7;
    cursor: pointer
}

/*Стили MObiLE  END*/

.search-icon-mob {
    display: none
}

.search-header__close {
    width: 20px;
    height: 20px;
    display: none;
    position: absolute;
    opacity: 0;
    z-index: -1;
    bottom: 15px;
    right: 10px;
    cursor: pointer;
}

.search-header__close::before,
.search-header__close::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background: #0060aa;
    top: 9px;
}

.search-header__close::before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.search-header__close::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

body .subheader__city {
    display: none
}

.corp-site .subheader__city {
    display: none
}

.corp-site .logoCoreMob {
    display: none
}

.header__mobile {
    display: none;
}


.text__title-logo-text {
    text-transform: lowercase;
    font-size: 17px;
    color: #0061aa;
}

.text__title-logo {
    margin-top: 0;
    margin-bottom: 8px
}

.subheader__phone {
    display: none;
}

@media screen and (max-width: 1200px) {
    .subheader__nav .nav__item {
        margin-left: 5px;
    }

    .btn-blind-ppl {
        position: absolute;
        right: -60px;
        top: 14px
    }

    .header__phone {
        margin-right: 20px;
    }
}

@media screen and (min-width: 1025px) {
    .overflow .header__main .header__container-rDes {
        display: flex;
    }
    .overflow .header__main .mobile-close {
        display: none
    }
    .header__close-city {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        z-index: 1;
        display: none
    }
    .overflow .header__close-city {
        display: block
    }
}

@media screen and (max-width: 1162px) {
    .header__container-l {
        width: auto;
        display: flex;
        /* justify-content: space-between; */
        padding-right: 0;
    }

    .header__container-r {
        width: auto;
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
        width: 100%;
    }

    .header__call {
        margin-right: 20px;
        /* padding: 0; */
    }

    .header__search {
        display: block;
        position: static;
        order: 1;
        margin: 0;
    }

    .header__search-input {
        right: 0;
        height: 38px;
        background: #fff;
        border: none;
        border-radius: 5px;
        padding: 0 30px 0 20px;
        color: #777;
        position: absolute;
        width: 0;
        bottom: 6px;
        opacity: 0;
        transition: width 0.3s ease-in-out, opacity 0.4s ease-in-out, z-index 0.4s ease-in-out;
        box-sizing: border-box;
        font-family: Roboto, sans-serif;
        z-index: -1;
    }

    .header__search-input.is-active {
        width: 100%;
        opacity: 1;
        z-index: 2;
    }

    .header__search-input::placeholder {
        opacity: 1;
    }

    .header__search-input::-webkit-input-placeholder { /* Edge */
        opacity: 1;
    }

    .header__search-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        opacity: 1;
    }

    .header__search form {
        display: flex;
    }

    .search-header__btn {
        margin-right: 0;
        position: relative;
        right: 10px;
        min-width: 20px;
    }

    .search-header__close::before, .search-header__close::after {
        right: 0;
    }

    .search-header__close {
        opacity: 1;
        z-index: 3;
    }

    .header__phone {
        padding: 0;
        margin-right: 20px;
    }

    .header__time {
        margin-left: 0;
        margin-right: 20px;
    }

    .header__log {
        background: url(/local/templates/medon/styles/../img/icon-lk.svg) no-repeat center;
        width: 40px;
        height: 40px;
        background-size: 64% 60%;
        border: 2px solid #ddd;
        border-radius: 100%;
        margin-top: 4px;
    }

    .header__log .text__main-link {
        font-size: 0;
        display: flex;
        height: 100%;
        width: 100%;
        border: none;
    }

    .header__log  .header__log-order {
        font-size: 15px;
    }

    .subheader__nav {
        display: none;
    }

    .subheader__nav .nav__item {
        margin-left: 8px;
    }

    .btn__mobile {
        display: inline-block;
    }

    .mobile {
        height: calc(100vh - 181px);
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .mobile.display {
        visibility: visible;
        opacity: 1;
        margin-right: 0 !important;
        z-index: 112;
    }

    .search-icon-mob {
        display: block;
    }

    .header__geo {
        white-space: nowrap
    }

    .btn-blind-ppl {
        display: none
    }

    .overflow .header__main .mobile-close {
        margin-top: -14px;
    }

    .header__close-city {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        display: none
    }

    .overflow .header__close-city {
        display: block
    }

    .overflow .mobile-overlay {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .3);
        position: absolute;
        z-index: 32;
        top: 106px;
        left: 0;
        height: 100vh;
        height: calc(100vh - 181px)
    }

    .header__group {
        flex: 1;
    }

}

@media screen and (max-width: 767px) {
    .header__main {
        /* flex-wrap: nowrap; */
    }

    .header__time {
        display: none;
    }

    .header__container-r {
        /* flex-wrap: wrap; */
    }

    .header__call {
        /* width: 100%; */
        margin: 0;
        padding: 0;
    }

    .header__container-l {
        padding-right: 10px;
    }

    .header .container {
        /* padding: 0 20px; */
    }
}

@media screen and (max-width: 888px) {
    .header__main {
        /* flex-wrap: wrap; */
    }

    .header__log-order {
        margin: 0;
        font-size: 14px;
    }

    .text_link_phone {
        font-size: 14px;
    }


}

@media screen and (max-width: 888px) {
    .header__log {
        margin: 10px 10px;
    }

    .header__log-order {
        display: none;
    }

    .header__main {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .header__container-r {
        width: auto;
    }

    .header__call {
        display: none;
    }

    .header__phone {
        margin-right: 35px;
        display: none;
    }

    .header__geo {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #fff
    }

    /* .header__search-blog {
        display: none
    } */

    .subheader__main {
        margin-top: 13px;
        height: 53px;
        margin-bottom: 13px;
    }

    .subheader__logo-l a img {
        height: 53px!important;
        width: 39px!important;
    }


    .subheader__logo-r {
        margin-top: 0;
        margin-left: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .subheader__logo-r .text__title-logo {
        margin-bottom: 3px;
    }

    .subheader__nav .nav__sub {
        -webkit-box-shadow: initial;
        box-shadow: initial;
    }

    .subheader-wrapper {
        height: 67px
    }

    .subheader-wrapper_fixed {
        height: 80px
    }

    .subheader_fixed {
        position: fixed;
        width: 100%;
        z-index: 200;
        background: #fff;
        top: 0;
    }

    .btn__mobile {
        margin: 13px 0 10px 13px;
    }

    .mobile {
        top: 67px;
        width: 100%;
        margin-right: -100%;
        height: calc(100vh - 128px);
        padding-bottom: 70px;
    }

    .mobile .nav-company .nav__item .text__geo {
        padding: 15px 33px
    }
    .mobile .nav-clinic .nav__item .text__geo {
        padding: 15px 33px
    }

    .overflow .mobile-overlay {
        display: none;
    }

    .mobile .nav__item .nav__link {
        padding: 15px 70px
    }

    .corp-site .subheader__city {
        display: block
    }

    .header__log {
        width: 30px;
        height: 30px;
        margin-top: 10px;
    }

    .header__mobile {
        display: flex;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .header__mobile .header__call {
        display: flex;
        width: 50%;
        height: 51px;
        margin: 0;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .header__mobile .header__call .text__main-link {
        border: none;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .header__mobile .header__call .text_link_phone.text_link_phone--desktop {
        display: none;
    }

    a.text__main-link.text_link_phone.text_link_phone--desktop {
        display: none;
    }

    .header__mobile .header__phone {
        display: flex;
        flex-direction: column;
        width: 50%;
        height: 51px;
        margin: 0;
        align-items: center;
        justify-content: center;
        background: #0babcd;
        padding: 0;
    }

    .header__mobile.is-fixed {
        display: flex;
        margin-left: 0;
        margin-right: 0;
        position: fixed;
        top: 80px;
        width: 100%;
        z-index: 200;
    }

    .header__mobile .header__call:last-child a{
        background: #01abce;
    }

    .header__mobile--last .header__call:last-child a{
        background: #ef7d00;
    }

    .header__mobile--last .header__call:first-child a{
        background: #01abce;
    }

    .logoCoreMob {
        display: none !important;
    }

    .text__title-logo.logoCore {
        display: block;
        font-size: 16px;
    }

    .text__title-logo-text {
      display: none;
    }

    .filter__button.selected .filter__button-arrow, .filter__button.server-selected .filter__button-arrow {
        border: 1px solid #0060aa !important;
        border-width: 1px 1px 0 0 !important;
    }

    .header__phone .text__main-link{
        border: none;
    }

    .subheader__phone {
        display: inline;
    }

    .subheader__logo {
        display: flex;
    }

}


@media screen and (max-width: 640px) {
    .mobile .nav__item .nav__link {
        padding: 15px 20px;
    }

    .header__mobile {
        /* flex-direction: column; */
        width: 100%;

    }

    .header__mobile.header__mobile--column {
        flex-direction: column;
    }

    .header__mobile .header__call {
        width: 100%;
    }
}
