@keyframes blink {
    50% {
        opacity: 0;
    }
}

.gutenberg__blokquote .jsh_af_ad {
    display: none!important;
}

/* Попап */

.jsh_af_popup_advert {
    position: fixed;
    bottom: 50px;
    left: 40px;
    max-width: 450px;
    border-radius: 15px;
    z-index: 999;
    background: #dcdcdc;
    box-shadow: 7px 7px 30px rgba(0, 0, 0, .15);
    padding: 3px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media (max-width: 575px) {
    .jsh_af_popup_advert {
        bottom: 0;
        right: 0;
        left: 0;
        width: 356px;
    }
}

.jsh_af_popup_advert.jsh_af_popup_hide {
    left: -500px;
}

.jsh_af_popup_btn {
    right: 15px;
    background-color: #dcdcdc;
    top: -30px;
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-border-top-left-radius: 99px;
    -webkit-border-top-right-radius: 99px;
    -moz-border-radius-topleft: 99px;
    -moz-border-radius-topright: 99px;
    border-top-left-radius: 99px;
    border-top-right-radius: 99px;
}

@media only screen and (max-width: 350px) {
    .jsh_af_popup_advert .jsh_af_popup_btn {
        left: 10px;
        right: auto;
    }
}

.jsh_af_popup_btn p {
    font-size: 20px;
    font-weight: 700;
    color: black;
    margin-bottom: 0;
}

.jsh_af_popup_img {
    width: 100%;
    height: 100%;
}

.jsh_af_popup_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.jsh_af_popup_advert a {
    width: 100%;
    height: 100%;
}

/* Фулскрин баннер */

body.no_overflow {
    overflow: hidden;
}

.jsh_af_fullscreen_shader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: #00000050;
}

.jsh_af_fullscreen_advert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 300px;
    aspect-ratio: 300 / 600;
    z-index: 999;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.jsh_af_fullscreen_advert.jsh_af_fullscreen_hide {
    left: -1000px;
}

.jsh_af_fullscreen_shader.jsh_af_fullscreen_hide {
    display: none;
}

.jsh_af_fullscreen_img {
    width: 100%;
    height: 100%;
}

.jsh_af_fullscreen_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.jsh_af_fullscreen_advert a {
    width: 100%;
    height: 100%;
}

.jsh_af_fullscreen_btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-image: url(./cross.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1000;
    cursor: pointer;
}
