.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 1000;
}

.custom-modal--service {
    max-width: 1200px;
}

.custom-modal--service .custom-modal__title {
    margin-bottom: 6px;
}
.custom-modal--show {
    overflow-x: hidden;
    overflow-y: auto;
}

.custom-modal--show .custom-modal__content {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    background: #F1F1F1;
}

.custom-modal__dialog {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: calc(100% - 30px);
    min-height: calc(100% - (1.75rem * 2));
    margin: 1.75rem 15px;
}

.custom-modal__bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: #000000;
    opacity: 0.6;
    z-index: 1;
}

.custom-modal--success {
    max-width: 500px;
}
.custom-modal--order_min {
    max-width:600px;/* 730px;*/
}

.custom-modal__content {
    position: relative;
    width: 100%;
    background: #ffffff;
    z-index: 2;
    opacity: 0;
    border-radius: 35px;
    padding: 50px;
    -webkit-box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    transform: translateY(-60px);
    -webkit-transition: opacity ease-in-out 0.2s, -webkit-transform ease-in-out 0.2s;
    transition: opacity ease-in-out 0.2s, -webkit-transform ease-in-out 0.2s;
    -o-transition: transform ease-in-out 0.2s, opacity ease-in-out 0.2s;
    transition: transform ease-in-out 0.2s, opacity ease-in-out 0.2s;
    transition: transform ease-in-out 0.2s, opacity ease-in-out 0.2s, -webkit-transform ease-in-out 0.2s;
}

.custom-modal--order_min .custom-modal__content {
  padding: 77px 46px;
}
.custom-modal--order_min .custom-modal__content .mess{
    margin:10px auto 0;
    max-width: 355px;
}
.oops{
    font-weight: 600;
    font-size:40px;/* 48px;*/
    line-height: 133.5%;
    color: #575757;
    font-style: normal;
    padding-bottom:10px;/*19px;*/
    font-family: Prosto One;
}
.custom-modal__close {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
}

.custom-modal__close svg {
    display: block;
    fill: #2B2E2B;
    -webkit-transition: fill ease-in-out 0.1s;
    -o-transition: fill ease-in-out 0.1s;
    transition: fill ease-in-out 0.1s;
}

.custom-modal__close svg:hover {
    fill: #75B831;
}
.header__menu > .menu-item-has-children{
    position: relative;
}
.header__menu .menu-item-has-children > a::after{
    content: '';
    display: block;
    position: absolute;
    right: -27px;
    top: 0;
    background-image: url('../img/icons/arrow-downward-black.svg');
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}
.header__menu .menu-item-has-children:hover > a::after{
    transform: rotate(180deg);
}
.header__menu > .menu-item-has-children:hover > .sub-menu{
    display: block !important;
}
.header__menu > .menu-item-has-children > .sub-menu{
    position: absolute;
    display: none;
    top: 100%;
    z-index: 2;
    background: #ffffff;
    padding: 30px 20px 20px 40px;
    min-width: 250px;
    left: -40px;
}
.header__menu > .menu-item-has-children > .sub-menu > li.menu-item-has-children a{
    position: relative;
}
.header__menu > .menu-item-has-children > .sub-menu > li{
    list-style: none;
    font-weight: normal;
    font-size: 16px;
    line-height: 160%;
    margin-bottom: 10px;
}
.header__menu > .menu-item-has-children > .sub-menu > li.menu-item-has-children .sub-menu{
    list-style: disc;
    padding-left: 18px;
    display: none;
}
.header__menu > .menu-item-has-children > .sub-menu > li.menu-item-has-children:hover .sub-menu{
    display: block !important;
}
.header__menu > .menu-item-has-children > .sub-menu > li.menu-item-has-children .sub-menu li a{
    color: #5F5F5F;
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    display: block;
}
.header__menu li a{
    color: #1A1A1B;
}
.header__menu li.menu-item-has-children a{
    font-weight:500;
}
.header__menu li.menu-item-has-children.menu-item-638 a,
.header__menu li.menu-item-has-children ul li a{
    font-weight:normal;
}

.header__menu li a:hover{
    color: #FF15BD !important;
}
.persons .section-title{
    text-align: left;
    padding: 0 15px;
}
.persons .container{
    position: relative;
}
.benefits-block .button{
    margin: 0 auto 25px;
    display: block;
    width: fit-content;
}
@media (max-width: 1199px) {
    .header__menu .menu-item-has-children > a::after {
        right: -15px;
    }
}
@media (max-width: 991px){
    .header__menu > .menu-item-has-children > .sub-menu{
        position: relative;
        background: #fff;
        padding: 10px 0 0;
        left: initial;
        top: initial;
    }
    .header__menu > .menu-item-has-children > .sub-menu li{
        list-style: none;
    }
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity ease-in-out .2s;
  -o-transition: opacity ease-in-out .2s;
  transition: opacity ease-in-out .2s;
}
.mobile-menu.mobile-menu--opened {
  display: flex;
}
.mobile-menu__bg {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0,0,0,.5);
  cursor: pointer;
}
.mobile-menu__content {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 320px;
  height: 100%;
  background-color: #fff;
  margin-left: calc(100% - 320px);
}
.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.mobile-menu__main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-height: 0;
  padding: 144px 15px;
}
.mobile-menu__inner {
  overflow: auto;
  height: 100%;
}
.mobile-menu__navigation {
  width: 260px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.mobile-menu__navigation {
  list-style: none;
}
.mobile-menu__navigation li {
  margin: 0 0 4px;
  list-style-type: none;
}
.mobile-menu__navigation a {
  display: block;
  padding: 10px 15px;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  color: #000;
  background-color: #fff;
}
.mobile-menu--opened {
  opacity: 1;
}
.mobile-menu__main .menu-item-has-children .sub-menu{
    display: none;
    max-height:0px;
    overflow:hidden;
    -webkit-transition:max-height 0.6s linear;
    -moz-transition:max-height 0.6s linear;
    transition:max-height 0.6s linear;
}
.mobile-menu__main .menu-item-has-children.opened .sub-menu{
    display:block;
    max-height:700px;
}
.mobile-menu__main .menu-item-has-children > a::after {
  content: '';
  display: block;
  position: absolute;
  right: 20px;
  margin-top: -21px;
  background-image: url('../img/icons/arrow-downward-black.svg');
  width: 24px;
  height: 24px;
  transition: all 0.3s;
  transform: rotate(-90deg);
}
.mobile-menu__main .menu-item-has-children.opened > a::after{
    transform: rotate(0deg);
}
.mobile-menu__close{
    -webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;
    -webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;
    width:70px;margin-left:30px;cursor:pointer;margin-top:57px;
}
.mobile-menu__close span{display:block;width:100%;height:4px;margin-bottom:16px;background-color:#FF4298;-webkit-transition:opacity ease-in-out .2s,-webkit-transform ease-in-out .2s;transition:opacity ease-in-out .2s,-webkit-transform ease-in-out .2s;-o-transition:transform ease-in-out .2s,opacity ease-in-out .2s;transition:transform ease-in-out .2s,opacity ease-in-out .2s;transition:transform ease-in-out .2s,opacity ease-in-out .2s,-webkit-transform ease-in-out .2s}
.mobile-menu__close span:last-child{margin-bottom:0}
.mobile-menu__close span:nth-child(1){
    -webkit-transform:translateY(20px) translateX(0) rotate(45deg);
    -ms-transform:translateY(20px) translateX(0) rotate(45deg);
    transform:translateY(20px) translateX(0) rotate(45deg)
}
.mobile-menu__close span:nth-child(2){opacity:0}
.mobile-menu__close span:nth-child(3){
    -webkit-transform:translateY(-20px) translateX(0) rotate(-45deg);
    -ms-transform:translateY(-20px) translateX(0) rotate(-45deg);
    transform:translateY(-20px) translateX(0) rotate(-45deg)
}
@media(max-width:1399px){
    .header__menu .menu-item-has-children > a::after {
        right: -13px;
    }
}
@media(max-width:767px){
    .mobile-menu__close {
        width: 30px;
        margin-top: 0;
        top:10px;
        right:10px;
    }
    .mobile-menu__main {
        padding: 40px 15px;
    }
    .custom-modal--order_min .custom-modal__content {
        padding:50px;
    }
    /*.oops{
        font-size: 40px;
        padding-bottom: 10px;
    }*/
    .custom-modal--order_min .custom-modal__content .mess {
        margin: 0px auto 0;
    }
}
@media(max-width:456px){
    .mobile-menu__content{
        width:100%;
        margin-left:0;
    }
    .mobile-menu__content{
        width: 100%;
        margin-left: 0;
    }
    .mobile-menu__navigation {
        width: 100%;
    }
    .custom-modal--order_min .custom-modal__content {
        padding: 30px;
    }
}
.lk_tab_header{
    width: 1050px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content: space-between;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
a.tab4{
    font-weight: 400;
    font-size: 18px;
    line-height:55px;
    color: #575757;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
a.tab4:before{
    content: '';
    /*background: url(/wp-content/themes/site4all/img/icons/ion_exit-outline.svg) center no-repeat;*/
    background: url(../img/icons/ion_exit-outline.svg) center no-repeat;
    height: 24px;
    width: 24px;
    background-size: contain;
    margin-right: 10px;
    margin-top: 15px;
    display:block;
}
@media(max-width:1199px){
    .lk_tab_header,
    .order {
        max-width: 100%;width:100%;
    }
    .order-oper .button {min-width:100%;height: auto;padding: 10px 15px;}
}
@media(max-width:991px){
    .order-oper {
        margin-left: calc(100% - 190px);
        margin-top: 15px;
    }
}
@media(max-width:791px){
    .order-pay {
      margin-top: 30px;
    }
    .order-oper {
        margin-top: -25px;
    }
}
@media(max-width:767px){
    .lk_tabs_menu {
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-bottom:0px;
        width:100%;
    }
    .tab1,.tab2,.tab3{
        margin-bottom:14px;width:100%;
    }
    .lk_tabs_menu li a {min-width:100%;}
    a.tab4 {margin-left: calc(100% - 94px);margin-bottom: 20px;}
    .form.lk-period{
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-pack:justify;
        -ms-flex-pack:justify;
        justify-content: space-between;
    }
    .js-type-date:last-child {margin-right:0;}
    .order-pay {display:none}
    .open .order-pay {display:block;}
    .order-oper {margin-top: 25px;margin-left: 0;width: 100%;}
    .order.open .order-oper {margin-top: -25px;margin-left: calc(100% - 108px);}
}
@media(max-width:641px){
    .order-sostav{padding-left:0}
    .order-sostav-title {margin-bottom: 15px;}
    .order-sostav-table{width:100%}
    .order-sostav-table .usl{
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }
    .order-sostav-table .usl-itog {margin-left: calc(100% - 103px);}
    .order-number {
        width: 17.5%;
        min-width: 17.5%;
    }
    .order-data {
        width: 22.2%;
        min-width: 22.2%;
    }
    .order-status {
        width: 32.3%;
        min-width:32.3%;
    }
    .order-price {
        width:28%;
        min-width:28%;
    }
}
@media(max-width:531px){
    .order-number,
    .order-data,
    .order-status,
    .order-price {
        width:100%;
        min-width:100%;
    }
    .orders-list-header{display:none}
}