.flex-block {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
}

.flex-inline {
    display: inline-flex;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
}

.flex-wrap {
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.footer {
    /*padding-top: 300px;*/
    padding-top: 150px;
    position: relative;
    z-index: 1;
    background-color: #F8F7FD;
}
.footer .container {
    position: relative;
    z-index: 3;
}
.footer__wrapper {
    background-color: #2A4163;
}
.footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/footer_bg.png);
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
.footer__top {
    padding-top: 49px;
    padding-bottom: 0;
    /*margin-bottom: -30px;*/
    position: relative;
    z-index: 3;
}
.footer__top .container-1670 {
    position: relative;
}
.footer__f-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    z-index: 2;
}
.footer__f-info {
    margin-top: -174px;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 9px;
    box-shadow: 3px 16px 26px rgba(66, 97, 141, 0.33);
    padding: 49px 60px 90px;
    max-width: 687px;
}
.footer__bottom {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
}
.footer__f-copy {
    width: 100%;
    padding-top: 39px;
    padding-bottom: 19px;
}

.f-menu {
    max-width: 354px;
}
.f-menu-left {
    padding-right: 77px;
}
.f-menu-center {
    padding-right: 90px;
}
.f-menu-right .f-menu__item {
    margin-bottom: 20px;
}
.f-menu__item {
    display: block;
    margin-bottom: 38px;
}
.f-menu__link {
    font-size: 20px;
    line-height: 24.38px;
    color: #ffffff;
    display: inline-block;
    font-weight: 700;
}
.f-menu__link:hover {
    opacity: 0.7;
}
.f-menu__sub {
    display: block;
    margin-top: 10px;
}
.f-menu__subitem {
    display: block;
    margin-bottom: 10px;
}
.f-menu__subitem:last-child {
    margin-bottom: 0;
}
.f-menu__sublink {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    color: #999999;
    display: inline-block;
    line-height: 21.09px;
}
.f-menu__sublink:hover {
    text-decoration: underline;
}

.f-info__title {
    font-size: 40px;
    font-weight: 700;
    color: #2A4163;
    line-height: 48.76px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 57px;
}
.f-info__addr {
    font-size: 20px;
    line-height: 24.38px;
    color: #2A4163;
    display: block;
    margin-bottom: 10px;
}
.f-info__openmap {
    font-family: "Roboto", sans-serif;
    display: inline-block;
    font-size: 16px;
    line-height: 18.75px;
    color: #2A4163;
    text-decoration: underline;
}
.f-info__openmap:hover {
    text-decoration: none;
}
.f-info__connection {
    margin-top: 52px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.f-info__connectionitem {
    width: 50%;
}
.f-info__connectiontitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 24.38px;
    color: #2A4163;
    display: block;
}
.f-info__connectionlist {
    margin-top: 22px;
}
.f-info__connectionel {
    padding-left: 50px;
    position: relative;
    display: block;
}
.f-info__connectionel-bottom {
    margin-bottom: 8px;
}
.f-info__connectionicon {
    display: block;
    height: 30px;
    width: 45px;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    background-position: left center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.f-info__connectionlink {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    line-height: 26.34px;
    color: #2A4163;
    letter-spacing: 0.02em;
}
.f-info__social {
    width: 100%;
}
.f-info__socialtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 24.38px;
    color: #2A4163;
    display: block;
}
.f-info__sociallist {
    padding-top: 20px;
    font-size: 0;
    text-align: center;
}
.f-info__socialitem {
    display: inline-block;
    margin-right: 20px;
}
.f-info__socialitem:last-child {
    margin-right: 0;
}
.f-info__sociallink {
    display: block;
    width: 30px;
    height: 30px;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.f-info__imglogo {
    width: 100%;
    display: block;
    margin-top: 70px;
}
.f-info__imglogolist {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.f-info__imglogoitem {
    display: block;
}
.f-info__imglogoimg {
    display: block;
    max-width: 125px;
    max-height: 78px;
    width: auto;
    height: auto;
}

.f-copy {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 18.75px;
    color: #2A4163;
    display: block;
    width: 100%;
    text-align: center;
}

.f-copy a {
    text-decoration: underline;
    font-size: inherit;
    font-family: inherit;
}
.f-copy a:hover {
    text-decoration: none;
}

.popup-1680 {
    width: 90%;
    max-width: 1680px;
    padding: 88px 46px 39px;
    margin: 30px 0;
}
#modalnomer .fancybox-button {
    width: 6em;
    height: 6em;
    right: 26px;
    top: 26px;
}
.popup-657 {
    width: 100%;
    max-width: 657px;
    padding: 66px 126px 49px;
}
.popup__wrapper {
    z-index: 2;
    position: relative;
}

.p-nomer {
    width: 100%;
}
.p-nomer__top {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    width: 100%;
}
.p-nomer__topleft {
    width: 30%;
}
.p-nomer__title {
    font-size: 40px;
    line-height: 48px;
    color: #2A4163;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}
.p-nomer__price {
    font-size: 60px;
    line-height: 73px;
    color: #2A4163;
    display: block;
    font-weight: 700;
}
.p-nomer__price span {
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #444444;
    font-family: "Roboto", sans-serif;
}
.p-nomer__dop {
    display: block;
    margin-top: 29px;
    font-size: 16px;
    line-height: 19px;
    color: #999999;
    font-family: "Roboto", sans-serif;
    max-width: 405px;
}
.p-nomer__complex {
    padding-top: 51px;
    display: block;
    font-size: 18px;
    line-height: 21px;
    color: #444;
    font-family: "Roboto", sans-serif;
}
.p-nomer__complexlist {
    padding-top: 8px;
    width: 100%;
}
.p-nomer__complexitem {
    font-size: 18px;
    line-height: 21px;
    color: #444;
    font-family: "Roboto", sans-serif;
    display: block;
    padding-left: 46px;
    position: relative;
}
.p-nomer__complexitem::before {
    content: "";
    display: block;
    background-image: url(../img/icons/check.svg);
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 18px;
    height: 14px;
    position: absolute;
    left: 0;
    top: 2px;
}
.p-nomer__zak {
    padding-top: 90px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.p-nomer__zakbtn {
    margin-left: 0;
    margin-right: 0;
}
.p-nomer__radial {
    margin-left: 27px;
    display: block;
    width: 60px;
    height: 60px;
    background-image: url(../img/icons/radial.svg);
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.p-nomer__topright {
    width: 70%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    align-items: flex-end;
}
.p-nomer__slider {
    width: 70%;
}
.p-nomer__sliderimg {
    display: block;
    width: 100%;
    padding-top: 75%;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.p-nomer__minslider {
    width: 30%;
    padding-left: 10px;
}
.p-nomer__minslideritem {
    /*padding-bottom: 10px;*/
}
.p-nomer__minslideritem:last-child {
    padding-bottom: 0;
}
.p-nomer__minsliderimg {
    padding-top: 60%;
    width: 100%;
    display: block;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.p-nomer__topbottom {
    padding-top: 65px;
    width: 100%;
}
.p-nomer__serv {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.p-nomer__servitem {
    max-width: 211px;
}
.p-nomer__servicon {
    height: 42px;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
}
.p-nomer__servtitle {
    padding-top: 20px;
    display: block;
    text-align: center;
    font-size: 18px;
    line-height: 21px;
    font-family: "Roboto", sans-serif;
    color: #999999;
}
.p-nomer__bottom {
    padding-top: 86px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
}
.p-nomer__subtitle {
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #2A4163;
    padding-bottom: 47px;
}
.p-nomer__bottomleft {
    width: 30%;
}
.p-nomer__ydobstva {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    margin-bottom: 34px;
}
.p-nomer__ydobstvatitle {
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #444444;
    display: block;
    width: 100%;
    font-family: "Roboto", sans-serif;
    padding-bottom: 18px;
}
.p-nomer__ydobstvalist {
    width: 100%;
    padding-right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.p-nomer__ydobstvaitem {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    line-height: 25px;
    color: #444444;
    display: block;
    padding-left: 30px;
    position: relative;
    padding-right: 15px;
    width: 50%;
}
.p-nomer__ydobstvaitem::before {
    content: "";
    display: block;
    width: 18px;
    height: 14px;
    position: absolute;
    left: 0;
    top: 4px;
    background-image: url(../img/icons/check.svg);
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    background-position: center center;
}
.p-nomer__ydobstvainfo {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    line-height: 42px;
    color: #444444;
}
.p-nomer__ydobstvainfo b {
    font-weight: 700;
}
.p-nomer__bottomright {
    width: 70%;
}
.p-nomer__3d {
    width: 100%;
    display: block;
}
.p-nomer__3d iframe {
    display: block;
    width: 100%;
    height: 505px;
}
.p-nomer__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    padding-top: 59px;
}
.p-nomer__rowleft {
    width: 50%;
}
.p-nomer__rowprice {
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
    color: #2A4163;
    display: block;
    width: 100%;
}
.p-nomer__rowdescription {
    font-size: 14px;
    line-height: 16px;
    color: #444444;
    display: block;
    font-family: "Roboto", sans-serif;
    margin-top: 20px;
    max-width: 370px;
}
.p-nomer__rowright {
    width: 50%;
}
.p-nomer__bank {
    display: block;
    margin-top: 43px;
    width: 252px;
    height: auto;
}

.p-services {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
}
.p-services__item {
    width: 50%;
    padding-left: 110px;
    position: relative;
    padding-right: 90px;
    padding-bottom: 15px;
}
.p-services__icon {
    position: absolute;
    display: block;
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center center;
    left: 0;
    top: -17px;
}
.p-services__title {
    display: block;
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    color: #2a4163;
    text-transform: uppercase;
    hmin-height: 72px;
}
.p-services__description {
    margin-top: 33px;
    font-family: "Roboto", sans-serif;
    display: block;
    font-size: 18px;
    line-height: 22px;
    color: #444444;
}
.p-services__description p {
    display: block;
    margin-bottom: 22px;
}

#modalservice {
    padding-left: 82px;
    padding-right: 82px;
    padding-top: 170px;
    padding-bottom: 100px;
}

.p-vrach__title {
    font-weight: 700;
    color: #444444;
    display: block;
    width: 100%;
    padding-bottom: 17px;
}
.p-vrach__row {
    padding-bottom: 16px;
}
.p-vrach__row:last-child {
    padding-bottom: 0;
    padding-top: 16px;
    text-align: center;
}
.p-vrach__name {
    font-weight: 400;
    color: #444444;
    font-family: "Roboto", sans-serif;
    display: block;
    width: 100%;
    margin-bottom: 12px;
}
.p-vrach__input {
    display: block;
    width: 100%;
    border-top: 1px solid transparent;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #C4C4C4;
    padding: 6px 0;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}
.p-vrach__btn {
    border: none;
    text-transform: none;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}
.p-vrach__select {
    position: relative;
}
.p-vrach__select select {
    display: none;
}
.p-vrach__select .select-selected {
    background-color: #fff;
    position: relative;
}
.p-vrach__select .select-selected:after {
    content: "";
    background-image: url(../img/icons/arrow_gray_bottom.svg);
    width: 14px;
    height: 18px;
    -webkit-background-size: contain;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    right: 26px;
    top: 50%;
    margin-top: -9px;
}
.p-vrach__select .select-selected.select-arrow-active:after {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}
.p-vrach__select .select-items {
    border: 1px solid #BFBFBF;
    border-top: none;
}
.p-vrach__select .select-items div {
    color: #444;
    font-size: 16px;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
    line-height: 20px;
    padding: 10px 23px;
    cursor: pointer;
}
.p-vrach__select .select-selected {
    color: #aaaaaa;
    font-size: 16px;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
    line-height: 20px;
    padding: 20px 23px;
    border: 1px solid #BFBFBF;
    border-radius: 2px;
    cursor: pointer;
}
.p-vrach__select .select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}
.p-vrach__select .select-hide {
    display: none;
}
.p-vrach__select .select-items div:hover, .p-vrach__select .same-as-selected {
    background-color: #5174A7;
    color: #ffffff;
}