#main-page-logo {
    text-align: center;
    margin: 63px auto 33px;
}

#main-page-logo img {
    max-width: 190px;
    width: fit-content;
}

#error-page-title h1 {
    margin: 10px auto 10px;
    font-size: 100px;
    line-height: 101px;
}

#error-page-text p {
    font-size: 18px;
    margin-bottom: 48px;
}

#error-page-button {
    background: #FFFFFF;
    display: block;
    margin: 0 auto 190px;
    border-top-right-radius: 80px;
    border-bottom-left-radius: 80px;
    font-family: 'Asap Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 9.5px 10px;
    width: 100%;
    max-width: 144px;
    text-align: center;
    color: #250E62;
}

#main-section:has(#error-page-section) {
    margin-bottom: 47px;
}

#error-page-section {
    height: calc(100vh - 386px);
}

/**sitemap page starts here**/
#sitemap-page-title h1 {
    font-size: 32px;
    line-height: 34px;
    margin: 43px auto 25px;
}

#sitemap-list ul {
    padding: 15px 17px 25px;
}

div#sitemap-list li {
    position: relative;
    padding-left: 24px;
}

div#sitemap-list li:before {
    content: '';
    width: 4px;
    height: 4px;
    display: block;
    position: absolute;
    background: #250E62;
    left: 10px;
    top: 12px;
    border-radius: 1px;
}

div#sitemap-list li a {
    font-size: 16px;
    line-height: 28px;
}

/*******exit-ramp style********/
#custom-exit-popup {
    display: none;
}

.cmp-modal__modalbox.modal-md .modal-box {
    width: 100% !important;
}

.exit-ramp-modal,
.cmp-modal__modalbox {
    z-index: 9999999;
    backdrop-filter: none !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background: #120F0F76;
    opacity: 0;
    cursor: auto !important;
}

.exit-ramp-modal.modal--visible,
.cmp-modal__modalbox.modal--visible {
    visibility: visible;
    opacity: 1;
    overflow-y: scroll;
}

.exit-ramp-modal .modal-box,
.cmp-modal__content {
    text-align: center;
    color: #21135C;
    background: #FFFFFF;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.exit-ramp-title,
.cmp-modal__title {
    font-size: 60px;
    font-family: 'Signika', sans-serif;
    font-weight: 300;
    padding-top: 81px;
    padding-bottom: 36px;
}

.exit-ramp-body {
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
    padding: 0px 0 70px;
}

.exit-ramp-title,
.exit-ramp-body,
.cmp-modal__title {
    max-width: 700px;
    margin: 0 auto;
}

.exit-ramp-body span.fw-bold {
    font-size: 24px;
    line-height: 105%;
    display: inline-block;
    margin-top: 20px;
}

.exit-ramp-actions {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    padding-bottom: 59px;
}

.exit-ramp-actions a,
.exit-ramp-actions div {
    background: #250E62;
    display: block;
    margin: 0;
    border-top-right-radius: 80px;
    border-bottom-left-radius: 80px;
    font-family: 'Asap Condensed', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 16px;
    padding: 21.5px 10px;
    max-width: 272px;
    width: 100%;
    color: #FFFFFF;
}

.exit-ramp-cancel.close-exit-ramp {
    margin-right: 83px;
    cursor: pointer;
}

a.exit-ramp-continue.skip-exit-ramp:hover,
.exit-ramp-actions div:hover {
    text-decoration: underline;
}

.exit-ramp-modal button.modal__close,
.modal button.modal__close {
    max-width: 800px;
    width: 100%;
    position: relative;
    top: 0;
    cursor: pointer;
    display: block;
    padding: 0;
    margin: 0 auto;
}

.exit-ramp-modal span.modal__closeIcon,
.modal span.modal__closeIcon {
    width: 53px;
    height: 53px;
    position: absolute;
    right: -26.5px;
    top: -26.5px;
    background: url(/content/dam/intelligentcontent/brands/mytrustory/us/en/images/global/exit-close-icon.png);
    background-size: 100%;
}

.modal__closeLabel,
span.modal__closeIcon svg {
    display: none;
}

.exit-ramp-actions a:hover,
.exit-ramp-actions div:hover {

    color: #19064E !important;
    background-color: #71A9F7;
    text-decoration: none !important;
}

.modal button:focus-visible span.modal__closeIcon {
    outline: 2px solid #e59700;
}

@media screen and (min-width: 992px) {
    #main-page-logo {
        display: none;
    }

    #error-page-title h1 {
        margin: 122px auto 41px;
        font-size: 228px;
        line-height: 166px;
    }

    #error-page-text p {
        font-size: 36px;
        margin-bottom: 53px;
    }

    #error-page-button {
        font-size: 24px;
        line-height: 28px;
        padding: 15.5px 10px;
        max-width: 243px;
        margin-bottom: 196px;
    }

    div#sitemap-page-title h1 {
        font-size: 68px;
        line-height: 82px;
        margin: 35px auto 82px;
    }

    div#sitemap-list ul {
        padding: 29px 60px 84px;
    }

    div#sitemap-list li a {
        font-size: 36px;
        line-height: 50px;
    }

    div#sitemap-list li {
        padding-left: 35px;
    }

    div#sitemap-list li:before {
        width: 8px;
        height: 8px;
        left: 13px;
        top: 20px;
        border-radius: 2px;
    }

    .exit-ramp-body span.fw-bold {
        font-size: 30px;
        line-height: 92%;
        margin-top: 30px;
        display: inline-block;
    }
}

@media screen and (max-width: 991px) {
    body:has(#main-page-logo) #header-banner>div>.image {
        display: none;
    }

    body:has(#main-page-logo) #header-banner:has(.ic-hamburger.open)>div>.image {
        display: block;
    }

    /**exit ramp starts here***/
    .exit-ramp-modal button.modal__close,
    .modal button.modal__close {
        max-width: 346px;
    }

    .exit-ramp-modal .modal-box,
    .cmp-modal__content {
        max-width: 346px;
    }

    .exit-ramp-title,
    .cmp-modal__title {
        font-size: 30px;
        padding: 22px 36px 11px;
    }

    .exit-ramp-body {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        padding: 0px 36px 25px;
    }

    .exit-ramp-actions {
        padding-bottom: 49px;
    }

    .exit-ramp-cancel.close-exit-ramp {
        margin-right: 9px;
    }

    .exit-ramp-actions a,
    .exit-ramp-actions div {
        font-size: 16px;
        line-height: 18px;
        padding: 8.5px 10px;
        max-width: 129px;
    }

    .exit-ramp-modal span.modal__closeIcon,
    .modal span.modal__closeIcon {
        width: 34px;
        height: 34px;
        right: -17px;
        top: -17px;
    }
}

/******media query for tablet landscape*******/
@media screen and (min-width: 992px) and (max-width: 1023px) {}

/******media query for tablet potrait*******/
@media screen and (min-width: 768px) and (max-width: 991px) {}

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

    .exit-ramp-modal.modal--visible>*,
    .cmp-modal__modalbox.modal--visible>* {
        max-width: 88% !important;
    }
}