.popup.dyn_mp_jqm_frame {
    max-width: 810px;
    width: auto;
}

.marketing-popup {
    min-height: 300px;
    min-width: 250px;
}

.marketing-popup:not(.popup-text-info--has-img) {
    max-width: 580px;
}

.marketing-popup .popup-text-info__title {
    padding: 55px 60px 33px 60px;
    grid-area: title;
}

.marketing-popup .popup-text-info__text {
    padding: 0px 60px 60px;
    grid-area: text;
}

.marketing-popup .popup-text-info__btn {
    margin: 39px -5px 0;
}

.marketing-popup .popup-text-info__btn .btn {
    margin: 5px;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__picture {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    border-radius: 16px;
    overflow: hidden;
    grid-area: picture;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__picture>div {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__text {
    line-height: 1.571em;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__text {
    padding: 0 50px 50px;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__btn {
    margin-top: 29px;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__btn .btn {
    margin-bottom: 0;
}

/* TEXT */
.dyn_mp_jqm_frame.TEXT {
    box-shadow: 0px 5px 20px 0px #0000001f;
}

.dyn_mp_jqm_frame.TEXT .popup-text-info {
    padding: 32px 35px 30px 35px;
    min-height: auto;
}

.dyn_mp_jqm_frame.TEXT .popup-text-info__title {
    font-size: 1em;
    padding: 0;
    padding-bottom: 11px;
}

.dyn_mp_jqm_frame.TEXT .popup-text-info__text {
    font-size: 0.8667em;
    line-height: 1.54em;
    padding: 0;
}

.dyn_mp_jqm_frame.TEXT .jqmClose {
    /* padding: 8px; */
    right: 0px;
    top: 0px;
    width: 36px;
    height: 36px;
}

.dyn_mp_jqm_frame.TEXT .jqmClose i,
.dyn_mp_jqm_frame.TEXT .jqmClose i svg {
    width: 10px;
    height: 10px;
}

.dyn_mp_jqm_frame.TEXT .popup-text-info__btn {
    font-size: 15px;
    letter-spacing: 0.8px;
}

/* BOTTOM_LEFT */
.dyn_mp_jqm_frame.TEXT.BOTTOM_LEFT {
    bottom: 20px;
    left: 20px;
    max-width: 410px;
}

.dyn_mp_jqm_frame.TEXT.BOTTOM_LEFT .popup-text-info__btn {
    margin-top: 19px;
}

/* BOTTOM_RIGHT */
.dyn_mp_jqm_frame.TEXT.BOTTOM_RIGHT {
    bottom: 20px;
    right: 20px;
    max-width: 410px;
}

.dyn_mp_jqm_frame.TEXT.BOTTOM_RIGHT .popup-text-info__btn {
    margin-top: 19px;
}

/* BOTTOM_CENTER */
.dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER {
    bottom: 20px;
    left: 50%;
    width: calc(100% - 60px);
    transform: translateX(-50%);
}

.dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER .popup-text-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    padding: 21px 40px 20px 26px;
}

.dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER .popup-text-info__btn {
    margin-top: 0px;
    margin-left: 30px;
}

/* WEB_FORM */
.marketing-popup.with_web_form .form .form_footer {
    margin-bottom: 0;
}

.popup .marketing-popup.with_web_form .form .form_footer {
    padding-bottom: 50px;
}

.popup .marketing-popup.with_web_form.popup-text-info--has-img .form .form_body,
.popup .marketing-popup.with_web_form.popup-text-info--has-img .form .form_head,
.popup .marketing-popup.with_web_form.popup-text-info--has-img .form .form_footer {
    padding-left: 50px;
}

.marketing-popup.with_web_form.popup-text-info--has-img .popup-text-info__picture {
    max-width: unset;
}

/* .marketing-popup.with_web_form .popup-text-info__webform{max-height: 700px;} */
.marketing-popup.with_web_form .popup-text-info__webform .close.jqmClose {
    display: none;
}

/* .dyn_mp_jqm_frame.jqmWindow.WEBFORM{max-height: 650px;}  */
.popup.dyn_mp_jqm_frame.WEBFORM .mCSB_container {
    margin-bottom: 0;
}

.popup.dyn_mp_jqm_frame.MAIN .mCSB_container {
    margin-bottom: 0;
}

.popup.dyn_mp_jqm_frame.MAIN {
    max-width: 972px;
}

@media (min-width: 1200px) {
    .popup.dyn_mp_jqm_frame.WEBFORM {
        max-width: 972px;
    }

    .popup.dyn_mp_jqm_frame.MAIN {
        max-width: 972px;
    }

    body .marketing-popup.with_web_form.popup-text-info--has-img {
        min-width: 972px;
    }
}

@media (min-width: 768px) {
    .marketing-popup.popup-text-info--has-img .popup-text-info__picture {
        width: 45%;
    }

    .marketing-popup.popup-text-info--has-img .popup-text-info__title,
    .marketing-popup.popup-text-info--has-img .popup-text-info__text {
        margin-left: 330px;
        margin-left: 45%;
    }

    .marketing-popup.popup-text-info--has-img .popup-text-info__webform {
        margin-left: 330px;
        margin-left: 45%;
    }

    .dyn_mp_jqm_frame.MAIN .marketing-popup,
    .dyn_mp_jqm_frame.WEBFORM .marketing-popup {
        min-width: 700px;
    }

    .marketing-popup.with_web_form.popup-text-info--has-img {
        min-width: 767px;
    }

}

@media (max-width: 767px) {

    .marketing-popup {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-template-areas: "title" "picture" "text";
    }

    .marketing-popup .popup-text-info__title,
    .marketing-popup .popup-text-info__text {
        padding-left: 30px;
        padding-right: 30px;
    }

    .dyn_mp_jqm_frame.TEXT {
        bottom: 0px !important;
        right: 0px !important;
        left: 0 !important;
        max-width: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        transform: none !important;
        min-height: unset !important;
        top: auto !important;
    }

    .dyn_mp_jqm_frame.TEXT .popup-text-info {
        padding: 22px 26px 20px 26px;
    }

    .dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER .popup-text-info {
        flex-direction: column;
        align-items: baseline;
    }

    .dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER .popup-text-info__btn {
        margin-top: 19px;
        margin-left: -5px;
        margin-right: -5px;
    }

    .marketing-popup.with_web_form.popup-text-info--has-img .popup-text-info__picture {
        display: none;
    }
}

@media (min-width: 551px) and (max-width: 767px) {
    .marketing-popup.popup-text-info--has-img .popup-text-info__picture {
        width: 35%;
    }

    body .marketing-popup.popup-text-info--has-img .popup-text-info__title,
    body .marketing-popup.popup-text-info--has-img .popup-text-info__text {
        margin-left: 35%;
    }
}

/* custom styles */

.popup.dyn_mp_jqm_frame.MAIN {
    border-radius: 16px;
}

.marketing-popup .popup-text-info__btn .btn {
    border-radius: 16px;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.jqmClose.top-close {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
    border: 1px solid #8790AF;
    border-radius: 50%;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__text {
    padding: 0 40px 40px !important;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__title {
    padding: 40px 40px 16px !important;
}

.popup-text-info__text p:nth-child(1) {
    margin: 0 0 16px 0;
}

.popup-text-info__text p:nth-child(2) {
    margin: 0 0 40px 0;
}

@media (max-width: 767px) {
    .marketing-popup.popup-text-info--has-img .popup-text-info__picture {
        position: relative;
        padding: 16px;
        width: 100%;
    }

    .marketing-popup.popup-text-info--has-img .popup-text-info__picture>div {
        height: 177px;
        border-radius: 16px;
    }

    body .marketing-popup.popup-text-info--has-img .popup-text-info__title,
    body .marketing-popup.popup-text-info--has-img .popup-text-info__text {
        margin-left: 0 !important;
    }

    .marketing-popup.popup-text-info--has-img .popup-text-info__title {
        padding: 24px 16px 16px !important;
        text-align: center;
    }

    .marketing-popup.popup-text-info--has-img .popup-text-info__text {
        padding: 0 16px 16px !important;
    }

    .popup-text-info__text p:nth-child(2) {
        margin: 0 0 16px 0;
    }
}

@media (max-width: 550px) {
    .marketing-popup.popup-text-info--has-img .popup-text-info__picture {
        padding: 0 16px 16px;
    }
}


@media (max-width: 420px) {

    .marketing-popup.popup-text-info--has-img .popup-text-info__picture>div {
        background-image: url(/upload/bi/marketing_popap_mob.png);
    }
}



/* custom styles */

.popup.dyn_mp_jqm_frame.MAIN {
    border-radius: 16px;
}

.marketing-popup .popup-text-info__btn .btn {
    border-radius: 16px;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.jqmClose.top-close {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
    border: 1px solid #8790AF;
    border-radius: 50%;
}

.marketing-popup.popup-text-info--has-img .popup-text-info__text {
    padding: 0 40px 40px !important;
}

.popup-text-info__text p:nth-child(1) {
    margin: 0 0 16px 0;
}

.popup-text-info__text p:nth-child(2) {
    margin: 0 0 40px 0;
}

@media (max-width: 767px) {
    .marketing-popup.popup-text-info--has-img .popup-text-info__picture {
        position: relative;
        padding: 16px;
        width: 100%;
    }

    .marketing-popup.popup-text-info--has-img .popup-text-info__picture>div {
        height: 177px;
        border-radius: 16px;
    }

    body .marketing-popup.popup-text-info--has-img .popup-text-info__title,
    body .marketing-popup.popup-text-info--has-img .popup-text-info__text {
        margin-left: 0 !important;
    }

    .marketing-popup.popup-text-info--has-img .popup-text-info__text {
        padding: 0 16px 16px !important;
    }

    .popup-text-info__text p:nth-child(2) {
        margin: 0 0 24px 0;
    }

    .marketing-popup .popup-text-info__btn .btn {
        margin: 0;
    }
}

@media (max-width: 550px) {
    .marketing-popup.popup-text-info--has-img .popup-text-info__picture {
        padding: 0 16px 16px;
    }
}


@media (max-width: 420px) {

    .marketing-popup.popup-text-info--has-img .popup-text-info__picture>div {
        background-image: url(/upload/bi/marketing_popap_mob.png);
    }
}