/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) and (orientation:portrait) {

    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 376px;
        height: 44dvh;
        pointer-events: none;
        cursor: pointer;
    }

    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/mobile_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }

}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) and (orientation:landscape) {


    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 140px;
        height: 26dvh;
        pointer-events: none;
        cursor: pointer;
    }

    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/desktop_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (orientation:portrait) {


    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 376px;
        height: 44dvh;
        pointer-events: none;
        cursor: pointer;
    }

    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/mobile_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }
}

@media only screen and (min-width: 600px) and (orientation:landscape) {

    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 140px;
        height: 26dvh;
        pointer-events: none;
        cursor: pointer;
    }

    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/desktop_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (orientation:portrait) {


    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 640px;
        height: 64dvh;
        pointer-events: none;
        cursor: pointer;
    }


    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/tablet_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }
}

@media only screen and (min-width: 768px) and (orientation:landscape) {


    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 140px;
        height: 26dvh;
        pointer-events: none;
        cursor: pointer;
    }


    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/desktop_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {


    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 140px;
        height: 26dvh;
        pointer-events: none;
        cursor: pointer;
    }

    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/desktop_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {


    .paywall_wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1999;
        width: 100%;
        height: 140px;
        height: 26dvh;
        pointer-events: none;
        cursor: pointer;
    }

    .paywall_img {
        width: 100%;
        height: 100%;
        background: url(images/desktop_paywall.jpg) no-repeat center;
        background-size: contain;
        background-position: bottom;
        pointer-events: auto;
    }
}

.overlay_bg {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 120%;
    z-index: 1991;
    opacity: 0.8;
    background-color: black;
    display: none;
}