.page-popup-like {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-popup-like #footer {
    margin-top: auto;
}

.page-popup {
    display: flex;
}

.page-popup-sidebar {
    width: 360px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.page-popup-sidebar::before {
    background: #171F32;
    content: "";
    width: 100%;
    height: 53px;
    border-bottom: 1px solid #E2E7ED;
}

.page-popup-sidebar-toggler {
    font-weight: 700;
    background: #E00000;
    color: #ffffff;
    transition: .3s;
    height: 73px;
    display: flex;
    align-items: center;
    padding: 18px;
}

.page-popup-sidebar-toggler i {
    margin-right: 17px;
}

.page-popup-sidebar-item {
    border-bottom: 1px solid #E2E7ED;
    padding: 18px;
}

.page-popup-sidebar-item-name {
    color: #E00000;
    font-weight: 700;
    font-size: 18px;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.page-popup-sidebar-item-name::before {
    content: "";
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 50%;
    border: 2px solid #D8DDE1;
    position: absolute;
    left: 0;
    top: 3px;
}

.page-popup-sidebar-item-name.checked::before {
    border: 2px solid #00E031;
}

.page-popup-sidebar-item-name.checked::after {
    width: 6px;
    height: 6px;
    position: absolute;
    left: 4px;
    top: 7px;
    content: "";
    display: block;
    border-radius: 50%;
    background: #00E031;
}

.page-popup-sidebar-item-list {
    padding-left: 24px;
}

.page-popup-sidebar-item-list-toggler {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #E00000;
    cursor: pointer;
}

.page-popup-sidebar-item-list-toggler::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    border-radius: 50%;
    background: #E00000;
    position: absolute;
    left: 0;
    top: 0;
}

.page-popup-sidebar-item-list-toggler::after {
    content: "";
    width: 5px;
    height: 5px;
    display: block;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    position: absolute;
    left: 5px;
    top: 5px;
    transform: rotate(-135deg)
}

.page-popup-sidebar-item-list-toggler.active::after {
    transform: rotate(45deg)
}

.page-popup-sidebar-item-list-readmore {
    display: none;
}

.page-popup-sidebar-item-list-readmore.active {
    display: block;
}

.page-popup-sidebar-item-list-elem {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
}

.page-popup-sidebar-item-list-elem::before {
    content: "";
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 50%;
    border: 2px solid #D8DDE1;
    position: absolute;
    left: 0;
    top: 3px;
}

.page-popup-sidebar-item-list-elem.checked::before {
    border: 2px solid #00E031;
}

.page-popup-sidebar-item-list-elem.checked::after {
    width: 6px;
    height: 6px;
    position: absolute;
    left: 4px;
    top: 7px;
    content: "";
    display: block;
    border-radius: 50%;
    background: #00E031;
}

.page-popup-sidebar-item-list-test {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
}

.page-popup-sidebar-item-list-test i {
    position: absolute;
    left: 0;
    color: #E00000;
}

.page-popup-content {
    width: 100%;
}

.page-popup-header {
    width: 100%;
    height: 53px;
    border-bottom: 1px solid #E2E7ED;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 24px;
}

.page-popup-header-prev {
    cursor: pointer;
    color: #E00000;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    position: relative;
}

.page-popup-header-prev::before {
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    border-left: 2px solid #E00000;
    border-bottom: 2px solid #E00000;
    transform: rotate(45deg);
    position: absolute;
    left: -18px;
    top: 4px;
}

.page-popup-h1 {
    margin-top: 20px;
    margin-bottom: 40px;
}

.page-popup-content-wrapper {
    padding: 20px 0 60px;
}

.page-popup-content-wrapper img {
    max-width: 100%;
    margin-bottom: 20px;
}

.burger {
    display: none;
}

@media (max-width: 768px) {
    .page-popup-sidebar {
        position: absolute;
        left: 0;
        max-width: 100vw;
        left: 0;
        top: 0;
        z-index: 100;
        background: #fff;
        min-height: 100vh;
        height: 100%;
        transform: translateX(-100%);
        transition: 0.3s;
    }
    .page-popup-sidebar.active {
        transform: translateX(0%);
    }
    .maxwidth-theme {
        padding-left: 15px;
        padding-right: 15px;
    }
    .burger {
        display: block;
        position: absolute;
        left: 15px;
        top: 15px;
        width: 30px;
        height: 25px;
        z-index: 200;
    }
    .burger::before {
        content: "";
        width: 100%;
        height: 2px;
        display: block;
        background: #e00000;
        position: absolute;
        left: 0;
        top: 0;
        transition: 0.3s;
    }
    .burger::after {
        content: "";
        width: 100%;
        height: 2px;
        display: block;
        background: #e00000;
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .burger.active::before {
        transform: rotate(45deg);
        top: 50%;
        background: #fff;
    }
    .burger.active::after {
        transform: rotate(-45deg);
        bottom: calc(50% - 2px);
        background: #fff;
    }
}