/**********************popup**************************/

.popup {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    z-index: 99;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.8);
}

.popup.active {
    display: flex;
}

.popup__wrap {
    max-width: 700px;
    width: 96vw;
    background: #fff;
    position: relative;
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    cursor: pointer;
    transition: .3s;
}

.popup__close:hover {
    opacity: 0.7;
}

.popup__close svg {
    width: 30px;
    height: 30px;
    display: block;
}

.popup__content {
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    padding: 40px 50px;
    overflow: auto;
    max-height: 98vh;
    display: none;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .popup__content {
        padding: 40px 30px;
    }
    .popup__close  {
        right: 5px;
    }
}

.popup__content.active {
    display: block;
}

.popup__content h3 {
    font-family: "Roboto", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #183A7B;
    margin-bottom: 20px;
}

.popup__content p {
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.popup__content p:not(:last-child) {
    margin-bottom: 14px;
}

.popup__content ul {
    padding-left: 26px;
    list-style-type: initial;
}

.popup__content ul:not(:last-child), 
.popup__content ol:not(:last-child) {
    margin-bottom: 14px;
}

.popup__content ol {
    padding-left: 26px;
}

.popup__content ol li::before {
    content: counters(list-item, ".") ".";
}

.popup__content ul li:not(:last-child), 
.popup__content ol li:not(:last-child) {
    margin-bottom: 10px;
}

.popup__content a {
    color: var(--color_blue);
}

.popup__content h5 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0.5rem 0 1rem;
}

.popup__content table:not(:last-child) {
    margin-bottom: 14px;
}

.popup__content table {
    border-collapse: separate;
    border-spacing: 10px 14px;
}