/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

/* Dimming overlay under the modal. The site-wide stylesheet in use
   (popup-windows-new.css) has no #dv_modal_bg rules, so without these the
   .show class toggles an invisible empty div and nothing dims. */
#dv_modal_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity .15s cubic-bezier(0.4, 0.0, 0.2, 1) .15s;
}

#dv_modal_bg.show {
    display: block;
    z-index: 2000;
}

a#subscription-buy-extra:hover {
    color: #202124;
}

.btn.btn-orange.subscription-buy__btn,
.btn.btn-primary.subscription-buy__btn {
    max-width: 240px;
}

a#subscription-buy-apply {
    max-width: 260px;
    font-size: 18px;
}

.subscription-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2002;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    scrollbar-width: thin;
}

.subscription-wrap::-webkit-scrollbar {
    width: 5px;
}

.subscription {
    font-size: 16px;
    line-height: 20px;
    color: #707070;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.subscription.subscription--modal {
    width: 100%;
    max-width: 860px;
    border-radius: 0;
    margin: auto;
}

.subscription .close {
    display: none;
}

/* Same close-cross pattern as .a-filter .modal__close in popup-windows-new.css:
   two rotated bars + round hover backdrop. */
.subscription--modal .close {
    display: block;
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    padding: 15px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-radius: 50%;
}

.subscription--modal .close::before,
.subscription--modal .close::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    background: #202124;
    left: 50%;
    top: 50%;
    border-radius: 5px;
}

.subscription--modal .close::before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.subscription--modal .close::after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.subscription--modal .close:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

/* Lock page scroll while the modal + overlay are up. */
body.subscription-modal-open {
    overflow: hidden;
}

.subscription-advantage {
    padding: 30px 16px 16px;
}

.subscription-advantage__title {
    font-size: 18px;
    color: #202124;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 5px;
}

.subscription-advantage__subtitle {
    margin-top: 15px;
    line-height: 20px;
}

.subscription-advantage__item {
    margin-bottom: 10px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 24px;
}

/* Plain teal checkmarks, same pattern as the pricing page bullets --
   replaces the old orange-circle check icons. */
.subscription-advantage__item::before {
    content: "\f00c";
    position: absolute;
    display: inline-block;
    font-family: "Font Awesome 5";
    font-size: 14px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    font-weight: 900;
    color: #00a193;
}

.no-webp .subscription-buy {
    background-image: none;
    z-index: -1;
}

.webp .subscription-buy {
    background-image: none;
    z-index: -1;
}

.subscription-buy {
    color: #202124;
    padding: 20px;
    text-align: center;
    background-color: #1035401a;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 -10px -10px;
}

.subscription-buy__title {
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 20px;
}

.subscription-buy__form {
    margin: 0 auto 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    max-width: 350px;
    width: 100%;
}

.subscription-buy__form label {
    margin: 0;
    display: flex;
}

input[name="subscription-buy"]:checked + .subscription-buy__label {
    font-size: 19px;
    font-weight: 400;
    background-color: #005A52;
    padding: 5px 8px;
    border-radius: 5px;
}

.subscription-buy__cur {
    font-size: 90%;
    margin-right: 0.24rem;
}

.btn.btn-orange.subscription-buy__btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 19px;
    line-height: 1.2rem;
    text-transform: uppercase;
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    max-width: 390px;
    white-space: normal;
    box-shadow: none;
    margin: 0 auto 25px;
    padding: 14.41px 11.2px;
}

.subscription-buy__extra {
    color: #202124;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 10px;
    font-size: 1rem;
    line-height: 1.5;
    display: block;
}

.subscription-buy__extra-prompt {
    display: block;
}

.subscription-buy__extra-link {
    display: block;
    color: #176ec7;
    text-decoration: none;
}

.subscription-buy__extra-link:hover {
    color: #176ec7;
    text-decoration: underline;
}

@media screen and (min-width: 1024px) {
    .subscription-buy {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .subscription-buy__extra {
        margin: 16px;
    }
}

.tbl_data__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #007bff;
}

.tbl_data__unsubscription.tbl_account tr:hover {
    background-color: transparent;
}

.popup-sub {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    padding: 20px;
    border-radius: clamp(10px, 1.2vw, 16px);
    z-index: 2005;
    background-color: #fff;
    max-width: min(320px, calc(100vw - 32px));
    min-width: 220px;
    font-size: 16px;
    line-height: 22px;
    color: #707070;
        -webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
}

.popup-sub__text {
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.popup-sub-anchor {
    position: relative;
}

.popup-sub::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 18px;
    border: 8px solid transparent;
    border-bottom-color: #fff;
}

.popup-sub.popup-sub--align-left {
    left: 0;
    right: auto;
}

.popup-sub.popup-sub--align-left::before {
    left: 18px;
    right: auto;
}

.popup-sub .close {
    position: absolute;
    top: 0;
    right: 7px;
}

.popup-sub .close::before {
    color: #000;
}

@media screen and (min-width: 700px) {
    .subscription-wrap {
        padding: 20px 0;
        border-radius: 5px;
    }

    .subscription.subscription--modal {
        border-radius: 5px;
    }

    .subscription-wrap .subscription-buy {
        border-radius: 0 0 4px 4px;
    }
}

@media screen and (min-width: 770px) {
    .subscription-wrap .subscription-buy {
        border-radius: 0 0 8px 8px;
    }

    .subscription-advantage__subtitle,
    .subscription-advantage__title {
        text-align: left;
    }

    .subscription-wrap {
        overflow: hidden;
    }
}

@media screen and (min-width: 1024px) {
    .subscription {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex !important;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .subscription-buy {
        margin: 0 -21px -21px;
    }

    .subscription.subscription--modal {
        max-width: 720px;
    }

    .subscription.subscription--free {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: scale(0.8);
        -ms-transform: scale(0.8);
        transform: scale(0.8) translate(-64%, -65%);
        width: 100%;
        max-width: 860px;
    }

    .subscription--modal .close {
        z-index: 2;
    }

    .subscription-advantage {
        padding: 20px 0 8px 20px;
    }

    .subscription-advantage__subtitle {
        margin-bottom: 20px;
    }

    .subscription-buy__title {
        margin-bottom: 20px;
    }

    .subscription-buy__form {
        margin: 0 auto 25px;
        max-width: none;
    }

    .subscription-buy__label {
        font-size: 20px;
    }

    input[name="subscription-buy"]:checked + .subscription-buy__label {
        padding: 15px 7px;
    }

    .subscription-buy {
        padding: 40px 20px 40px 10%;
        margin: -21px -21px -21px 0;
        min-width: 50%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
        clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
    }

    .subscription-wrap .subscription-buy {
        border-radius: 0 7px 7px 0;
    }

    .subscription-buy__extra {
        margin: 16px;
    }
}
