.popup_link {cursor: pointer;}
.popup_side {
    display: block;
    position: fixed;
    top: 0;
    left: -730px;
    width: 700px;
    max-width: 100%;
    height: 100%;
    box-shadow: 0 0 30px -10px;
    z-index: 10000;
    overflow-x: hidden;
    overflow-y: auto;
    transition: left 0.4s;
    padding: 30px 20px;
}
.popup_side.active {left: 0;}
.popup_block {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    white-space: nowrap;
    text-align: center;
    font-size: 0;
    z-index: 15;
}
.popup_block.active {display: block;}
.popup_block:before {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    content: '';
}
.popup-head {
    margin-top: 20px;
    text-align: center;
}
.popup-block {
    display: inline-block;
    max-height: 80vh;
    margin: 10vh auto;
    font-size: 16px;
    overflow: auto;
    white-space: normal;
    vertical-align: middle;
    text-align: left;
    position: relative;
}
.popup-close {
    position: absolute;
    top: 35px;
    right: 20px;
    width: 42px;
    height: 20px;
    background: url('https://www.finn-flare.ru/upload/images/icons/svg/icon_arrow_big.svg') center no-repeat;
    transition: 0.4s;
    cursor: pointer;
    z-index: 2;
}
.popup_noclose .popup-close {
    display: none;
}
.popup-close:hover {opacity: 0.8;}
.popup-header {
    display: flex;
    padding: 45px 25px 35px;
}
.popup-header__title {
    font-size: 32px;
    line-height: 32px;
    display: inline-block;
    margin: 0;
    font-family: 'ProbaMedium';
    text-transform: uppercase;
    letter-spacing: 0;
}
.popup-header-link {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.4;
    transition: 0.4s;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
.popup-header-link:hover {opacity: 0.8;}
.popup-header-link.active, .popup-header-link.active:hover {
    opacity: 1;
    cursor: default;
}
.popup-content-header {
    text-align: center;
    border-bottom-width: 1px;
    padding-bottom: 10px;
}
.popup-content {
    display: none;
    padding-bottom: 20px;
}
.popup-content.active {
    display: block;
    height: 100%;
}
.popup-content.active > #bx_incl_area_1_1 {
    height: 100%;
}
.popup-content-block {padding: 0 37px;}
.popup-phone {padding: 0 20px;}
.popup-phone-time {margin-top: 20px;}
.popup-phone .slidelist {margin-left: 0;}
.popup-phone .slidelist_header {padding-right: 17px;}
.popup-phone .slidelist_header::after {right: 2px;}
.popup-phone .button {margin-top: 20px;}
.popup-phone .minor {
    max-width: 400px;
    margin: 0;
}
.popup-up {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    border: 28px solid;
    border-top-color: transparent;
    border-left-color: transparent;
    background: transparent;
    z-index: 9;
    cursor: pointer;
}
.popup_side.active .popup-up.active {display: block;}
.popup-up::after {
    content: '';
    display: block;
    position: absolute;
    width: 21px;
    height: 21px;
    background: url('/upload/images/icons/arrow.png') center no-repeat;
    background-size: 8px auto;
    transform: rotate(-90deg);
    filter: brightness(500%);
}

.popup_side.popup_side--right {
    left: unset;
    right: -100%;
    transition: right 0.4s;
}

.popup_side.popup_side--right.active {
    right: 0;
}

.popup_side::-webkit-scrollbar-thumb {
    background: #e2e2e2;
}
.popup_side::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.popup-content[data-popup='size-table'] {
    padding-bottom: 0;
}

.popup__header {
    margin-bottom: 20px;
}

.popup_side.popup_side--right.popup__size-table {
    right: -1010px;
}

.popup_side.popup_side--right.popup__size-table.active {
    right: 0;
}

.popup_side.popup__size-table {
    width: 950px;
    box-sizing: border-box;
}

.popup__title {
    font-size: 32px;
    line-height: 32px;
    font-weight: 500;
    text-transform: uppercase;
    color: #272725;
}
.popup_size {
    width: 950px;
}

.popup_side_main.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
}

@media screen and (max-width: 1024px) {
    .popup_side.popup__size-table {
        width: 100%;
    }
    .popup_size {
        width: 100%;
    }
    .popup_size.popup_side--right {
        right: calc(-100% - 30px);
    }
}

@media (max-width: 768px) {
    .popup_side	{left: calc(-100vw - 50px);}
    .popup-content-block {padding: 0 20px;}
    .popup-header-link {
        font-weight: normal;
        font-size: 16px;
    }

    .popup__title {
        font-size: 24px;
        line-height: 30px;
    }

    .popup__header {
        margin-bottom: 10px;
    }
}
@media (max-width: 500px) {
    .popup-header {
        flex-wrap: wrap;
        padding: 50px 5px 15px;
    }
    .popup-header-link {margin: 4px 0;}
}
