body:not([langcode="en"]) {
    margin-top: 0px !important;
}

body:not([langcode="en"]) div.tl-state-root.tve-leads-ribbon.tve-tl-anim.tve-leads-track-ribbon-1.tl-anim-slide_top.tve-leads-triggered {
    display: none !important;
}

#random-form-2 div.optin-widget-form:not(.inline-forms){
    max-height: 185px;
    overflow: hidden;
}


.sticky-form-hide-btn {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
}

.sticky-outer-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.random-form-bg {
    width: 100%;
    background-color: #f1f1f1;
    display: grid;
    place-items: center;
}


.random-form-wrapper a {
    text-decoration: none !important;
}

.sticky-ribbon-form {
    padding-top: 14px;
    padding-bottom: 16px;
    max-width: 1100px;
}



.optin-widget-form,
.inline-forms {
    align-items: center;
}

.inline-forms {
    flex-direction: row-reverse;
}

.inline-forms .random-form-title,
.inline-forms .random-form-text {
    line-height: 20px;
}

.inline-forms .random-form-title {
    margin-bottom: .5rem !important;
}

.inline-forms .random-form-text {
    margin-bottom: 0px !important;
    font-size: 14px;
}

.random-form-btn-style {
    background-color: #d40511;
    border-color: #d40511;
    border-radius: 5px;
    padding: .2rem .6rem;
    font-size: 14px;
    color: #ffffff;
}

.random-form-title h4 {
    color: #d40511;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 0px;
}

#random-form-btn {
    text-decoration: none;
}

.random-form-flex-row {
    display: flex;
    flex-direction: row;
    background: linear-gradient(90deg,#fc0 0,#fc0 30%,#faeebb);
}

.inline-forms.random-form-flex-row {
    flex-direction: row-reverse !important;
}

.random-form-left {
    flex: 0 0 30%;
}

.random-form-left img {
    width: 100%;
    /* aspect-ratio: 16 / 9; */
    object-fit: cover;
}

.opt-in-form div img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.random-form-right {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
}

.random-form-right-col-1 {
    flex: 0 0 50%;
    padding-right: 20px;
}

.random-form-right-col-2 {
    flex: 0 0 50%;
}

.random-form-title {
    color: #d40511;
    font-size: 20px;
    font-weight: 900;
}

.random-form-bold-text {
    color: #000;
    font-weight: bold;
}

.random-form-flex-col {
    height: auto;
    background: linear-gradient(180deg,#fc0 0,#fc0 30%,#faeebb) !important;
}

.random-form-50-left {
    flex: 0 0 50%;
    padding: 0 24px;
}

.inline-forms .random-form-50-left {
    padding-top: 24px;
}

.random-form-50-right {
    flex: 0 0 50%;
}

.random-form-50-right img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.inline-forms .random-form-50-right img {
    aspect-ratio: unset;
}

.opt-in-form .random-form-title {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 0px !important;
}

.random-form-flex-col-content {
    padding: 10px 10px;
}

#random-form-modal .modal-content {
    width: 400px !important;
    max-width: 400px !important;
    background-color: #fc0 !important;
}

#random-form-modal .newsletter_subscribe_form a {
    text-decoration: underline !important;
}

.sticky-ribbon-form .random-form-right-col-1 {
    padding-right: 70px;
}

.sticky-ribbon-form .random-form-left img {
    object-fit: cover;
    object-position: center;
    height: 164px;
}

.sticky-ribbon-form .newsletter_subscribe_form a,
.inline-forms .newsletter_subscribe_form a {
    text-decoration: underline !important;
}

.sticky-ribbon-form .random-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}

#random-form-modal .random-form-text {
    line-height: 22px;
    padding: 0 50px;
    margin-bottom: 18px;
}

#random-form-modal .modal-content {
    width: 436px !important;
    max-width: 436px !important;
}

.font-size-12 {
    font-size: 12px;
}

/* sticky ribbon form fix css */

.sticky-ribbon-form .random-form-left {
    flex: 0 0 26%;
}

.sticky-ribbon-form .random-form-left img {
    object-fit: cover;
    object-position: center;
    height: 148px;
}


/* inline form fix css */

.inline-forms .random-form-bold-text {
    font-size: 14px;
}

/* option form fix css */

.opt-in-form .random-form-flex-col-content {
    padding: 20px 10px;
}

/* 2 step opt in fix css */

p.two-step-text {
    line-height: 23px;
    margin-bottom: 8px !important;
}

.optin-widget-form .random-form-50-left {
    padding-left: 48px;
}

#random-form-2 div.optin-widget-form.random-form-flex-row {
    background: rgb(255,204,0);
    background: linear-gradient(180deg, rgba(255,204,0,1) 0%, rgba(255,204,0,0.65) 79%, rgba(255,204,0,0.3) 100%);
}

.sticky-sticky-form {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}


/* thrivelead form */

#header-join-newsletter {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 20px !important;
    margin-bottom: 0.5rem !important;
    padding-right: 0px !important;
}

#header-join-newsletter h4 {
    margin: 0 !important;
}

.thrv_lead_generation_container > #tve-lg-error-container {
    top: 88px !important;
}

.thrv_lead_generation_container [data-name="Custom Checkbox"] {
    display: none !important;
}

.tcb-plain-text:has(input[data-name="Custom Checkbox"]) {
    display: none !important;
}

#header-join-newsletter img {
    display: none;
}

#header-join-newsletter .newsletter-mail-icon {
    width: 28px !important;
    height: 18px !important;
    background-image: url('https://lot.dhl.com/wp-content/themes/logistics-of-things-2021-v3/img/newsletter_mail_icon.svg');
    background-size: contain;
    background-position: center;
    margin-left: 0px !important;
}

#tve-lg-error-container .tve-lg-err-item {
    font-size: 12px !important;
}

.thrv_wrapper.thrv_contentbox_shortcode.thrv-content-box.tve-elem-default-pad.tcb-tablet-hidden.tcb-mobile-hidden {
    height: 100% !important;
}

.tvd-toast.tve-fe-message {
    display: none !important;
}

.modal {
    z-index: 999999 !important;
}
@media only screen and (max-width: 1200px) {
    /* sticky ribbon form */

    .sticky-ribbon-form .random-form-right-col-1 {
        padding-right: 30px;
        width: 100%;
    }

    /* inline form */
    .inline-forms.random-form-flex-row {
        flex-direction: column-reverse !important;
    }

    .inline-forms .random-form-50-left {
        margin-top: 0px;
    }

    .inline-forms .random-form-50-right img {
        aspect-ratio: 16 / 9;
    }

    /* optin widget form */

    #random-form-2 div.optin-widget-form:not(.inline-forms) {
        max-height: unset !important;
    }

    .optin-widget-form.random-form-flex-row {
        flex-direction: column-reverse;
    }

    .optin-widget-form .random-form-50-left {
        padding: 24px;
    }
}

@media only screen and (max-width: 992px) {
    /* random form overlay */

    #random-form-modal .modal-content {
        padding: 0 24px;
        height: auto !important;
    }



}


@media only screen and (max-width: 1024px) {
    /* sticky ribbon form */

    .sticky-ribbon-form .random-form-flex-row {
        flex-direction: column;
    }

    .sticky-ribbon-form .random-form-right {
        flex-direction: column;
    }

    .sticky-ribbon-form .random-form-left {
        flex: 0 0 auto;
    }

    .sticky-ribbon-form .random-form-left img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .sticky-ribbon-form .random-form-right-col-1 {
        padding-top: 1.4rem;
    }

    .sticky-ribbon-form .random-form-right-col-2 {
        width: 100%;
        flex: 0 0 100%;
    }
}

@media only screen and (max-width: 767px) {
    #lg-lmrfgt78 .tve-form-button .tcb-button-link.tve-form-button-submit {
        padding-top: 12px !important;
        padding-bottom: 13px !important;
        justify-content: center;
        width: 49.33px !important;
        font-size: 1.33333em !important;
        line-height: .75em !important;
    }

    .tcb-with-icon:not(.tcb-flip) .tcb-button-texts {
        display: none !important;
    }

    /* thrive plugin css */

    .thrv_wrapper.thrv_icon.tcb-icon-display.tve_evt_manager_listen.tve_et_click.tve_ea_thrive_leads_form_close.tcb-local-vars-root {
        z-index: 999;
        top: 40px !important;
    }
}

@media only screen and (max-width: 640px) {

    .sticky-ribbon-form .terms {
        margin-bottom: 10px;
    }

    .inline-forms .terms {
        margin-bottom: 8px;
    }

    .random-form-title {
        font-size: 18px;
    }

    .sticky-ribbon-form .random-form-left {
        display: none;
    }

    .random-form-bold-text,
    .random-form-text {
        font-size: 14px;
    }

    /* sticky ribbon form */

    .sticky-ribbon-form .random-form-right {
        padding-left: 30px;
        padding-right: 30px;
    }

    .sticky-ribbon-form .random-form-right-col-1 {
        padding-right: 0px;
    }

    /* random form overlay */

    #random-form-modal .modal-content {
        width: 90vw !important;
        max-width: 90vw !important;

    }
}

@media only screen and (max-width: 420px) {
    /* random form overlay */

    #random-form-modal .random-form-text  {
        padding: 0 20px;
    }
}