/* 31633 / Сайт - Доработка - Добавить на сайте Ростест (Аспро) баннер от Росстандарта / ртм_AndreyAA / Начало  */

#js-show-iframe-wrapper {
    position: relative;
    display: flex        ;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 293px;
    max-width: 100%;
    background: linear-gradient(178deg, #ffffff 26.49%, #cde5ef 79.45%);
    color: #3d5d83;
    cursor: pointer;
    border-top: solid 2px #dddddd;
    font-size: 110%;
}

#js-show-iframe-wrapper .pos-banner-fluid {
    position: relative;
}


#js-show-iframe-wrapper .bf-32__content > *:not(img) {
    padding: 20px 0;
}
#js-show-iframe-wrapper .bf-32__decor {
    margin-top: 30px;
    align-self: flex-end;
}

#js-show-iframe-wrapper .pos-banner-fluid * {
    box-sizing: border-box
}

#js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2 {
    display: block;
    width: 225px;
    min-height: 50px;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
    background: #386191;
    color: #fff;
    border: none;
    border-radius: 50px;
    outline: 0;
}

#js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2:hover,
#js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2:focus,
#js-show-iframe-wrapper .pos-banner-fluid .pos-banner-btn_2:active {
    background: #406b9d
}

.bf-32__description {
    justify-content: center;
    text-align: center;
}
#js-show-iframe-wrapper .bf-32__decor {
    margin: 0 10px;
}
.bf-32__aside {
    text-align: center;
}
.bf-32__btn-wrap {
    margin-top: 5px;
}

#js-iframe-overlay {
    background-color: rgb(7 29 55 / 40%) !important;
    backdrop-filter: blur(4px);
    transition-duration: 0.5s;
}
#js-iframe-wrapper iframe {
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* ===== keyframes ===== */

@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0
    }
    1% {
        display: block;
        opacity: 0
    }
    100% {
        display: block;
        opacity: 1
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0
    }
    1% {
        display: block;
        opacity: 0
    }
    100% {
        display: block;
        opacity: 1
    }
}

/* ===== media ===== */

@media screen and (max-width: 1000px) {
    #js-show-iframe-wrapper > * {
        max-width: calc(100% - 140px);
    }
}

@media screen and (max-width: 900px) {
    .bf-32__content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    #js-show-iframe-wrapper .bf-32__content > *:not(img) {
        padding: 5px 0;
    }
    #js-show-iframe-wrapper .bf-32__decor {
        margin-top: 5px;
        align-self: center;
        order: 10;
    }
    .bf-32__description {
        padding-top: 20px !important;
    }
}

/* 31633 / Сайт - Доработка - Добавить на сайте Ростест (Аспро) баннер от Росстандарта / ртм_AndreyAA / Конец  */