/* =========================================================
   MODAL OUTER CONTAINER
   ========================================================= */
.lookeast-admission-modal {
    padding-right: 0 !important;
    /*
     * Allow the modal itself to scroll when necessary,
     * but hide the scrollbar.
     */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
/* Chrome / Edge / Safari */
.lookeast-admission-modal::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
/* =========================================================
   MODAL DIALOG
   ========================================================= */
.lookeast-admission-modal .modal-dialog {
    /*
     * Let the flyer determine the natural width.
     */
    width: fit-content;
    max-width: calc(100vw - 20px);
    margin: 10px auto;
}
/* =========================================================
   MODAL CONTENT
   ========================================================= */
.lookeast-modal-content {
    width: fit-content;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.45);
}
/* =========================================================
   MODAL HEADER
   ========================================================= */
.lookeast-modal-header {
    position: relative;
    width: 100%;
    /*
     * Extra right padding makes room for
     * the close button.
     */
    padding: 9px 60px 9px 15px !important;
    border: 0;
    background:
        linear-gradient(
            135deg,
            #071d5b 0%,
            #123d91 50%,
            #c90008 100%
        );
    color: #ffffff;
    text-align: center;
}
/* =========================================================
   MAIN HEADER TITLE
   ========================================================= */
.lookeast-main-title {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 27px;
    line-height: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow:
        1px 2px 3px rgba(0, 0, 0, 0.30);
}
/* =========================================================
   COURSE TITLE
   ========================================================= */
.lookeast-course-title {
    margin-top: 1px;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #ffe34d;
}
/* =========================================================
   APPROVED BADGE
   ========================================================= */
.lookeast-approved {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 12px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50px;
    background: rgba(255,255,255,0.12);
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    color: #ffffff;
}
.lookeast-approved i {
    margin-right: 4px;
    color: #ffe34d;
}
/* =========================================================
   CLOSE BUTTON
   ========================================================= */
.lookeast-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    background: #c90008 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    font-family:
        Arial,
        Helvetica,
        sans-serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 38px !important;
    text-align: center !important;
    text-shadow: none !important;
    cursor: pointer !important;
    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.35) !important;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease !important;
}

/* Close X */
.lookeast-close span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 300 !important;
    line-height: 36px !important;
    text-align: center !important;
}
/* Close button hover */
.lookeast-close:hover {
    background: #ffffff !important;
    color: #c90008 !important;
    border-color: #c90008 !important;
    opacity: 1 !important;
    transform: rotate(90deg) scale(1.05);
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.35) !important;
}
/* Close X hover */
.lookeast-close:hover span {
    color: #c90008 !important;
}
/* Close button focus */
.lookeast-close:focus {
    outline: none !important;
    box-shadow:
       0 0 0 3px rgba(255,255,255,0.45),
       0 3px 10px rgba(0,0,0,0.3) !important;
}
/* =========================================================
   MODAL BODY
   ========================================================= */
.lookeast-modal-body {
    width: 100%;
    max-height: calc(100vh - 90px);
    padding: 10px;
    border: 0;
    background:
        linear-gradient(
            180deg,
            #f5f8fc 0%,
            #ffffff 100%
        );
    text-align: center;
    /*
     * IMPORTANT:
     * Scrolling remains enabled.
     * Scrollbar is hidden below.
     */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
/* Chrome / Edge / Safari */
.lookeast-modal-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/* =========================================================
   POSTER CONTAINER
   ========================================================= */
.lookeast-poster {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
}
/* =========================================================
   FLYER IMAGE
   ========================================================= */
.lookeast-admission-image {
    display: block;
    width: auto;
    height: auto;
    /*
     * Never exceed the available modal width.
     */
    max-width: 100%;
    /*
     * Maintain original flyer proportions.
     */
    object-fit: contain;
    margin: 0 auto;
    border-radius: 8px;
}
/* =========================================================
   ENROLL ACTION
   ========================================================= */
.lookeast-action {
    width: 100%;
    margin-top: 10px;
}
/* =========================================================
   ENROLL BUTTON
   ========================================================= */
.lookeast-enroll-btn {
    display: block;
    width: 100%;
    padding: 10px 18px;
    border: 0;
    border-radius: 7px;
    background:
        linear-gradient(
            135deg,
            #d00008,
            #ef2027
        );
    color: #ffffff !important;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .4px;
    text-decoration: none !important;
    box-shadow:
        0 4px 11px rgba(208,0,8,0.28);
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}
/* Button hover */
.lookeast-enroll-btn:hover {
    background:
       linear-gradient(
            135deg,
            #ef2027,
            #c90008
        );
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow:
      0 6px 15px rgba(208,0,8,0.35);
}
/* Button focus */
.lookeast-enroll-btn:focus {
    color: #ffffff !important;
    outline: none;
}
/* =========================================================
   CONTACT INFORMATION
   ========================================================= */
.lookeast-contact {
    margin-top: 6px;
    font-size: 10px;
    line-height: 15px;
    font-weight: 700;
    color: #123d91;
}
.lookeast-contact .fa {
    margin-right: 4px;
    color: #d00008;
}
.lookeast-contact .separator {
    margin-left: 5px;
    margin-right: 5px;
    color: #999999;
}
/* =========================================================
   MODAL FOOTER
   ========================================================= */
.lookeast-modal-footer {
    width: 100%;
    padding: 6px 10px;
    border-top: 1px solid #e2e7ee;
    background: #ffffff;
    color: #555555;
    text-align: center;
    font-size: 10px;
    line-height: 14px;
}
/* Footer icon */
.lookeast-modal-footer .fa {
    color: #123d91;
}
/* =========================================================
   DESKTOP
   ========================================================= */
@media (min-width: 992px) {
    .lookeast-admission-modal .modal-dialog {
        width: fit-content;
        max-width: calc(100vw - 30px);
        margin: 10px auto;
    }
    .lookeast-modal-body {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .lookeast-modal-body::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}
/* =========================================================
   LAPTOP / SHORT SCREEN
   Example: 1366 x 768
   ========================================================= */
@media (min-width: 768px) and (max-height: 800px) {
    .lookeast-admission-modal .modal-dialog {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .lookeast-modal-header {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
    .lookeast-main-title {
        font-size: 23px;
        line-height: 25px;
    }
    .lookeast-course-title {
        font-size: 14px;
        line-height: 17px;
    }
    .lookeast-approved {
        margin-top: 2px;
        padding: 2px 9px;
        font-size: 9px;
    }
    .lookeast-modal-body {
        max-height: calc(100vh - 65px);
        padding: 6px 8px;
    }
    .lookeast-action {
        margin-top: 5px;
    }
    .lookeast-enroll-btn {
        padding: 7px 12px;
        font-size: 15px;
    }
    .lookeast-contact {
        margin-top: 3px;
        font-size: 9px;
    }
    /*
     * Footer is hidden on short laptop screens
     * to give maximum space to the flyer.
     */
    .lookeast-modal-footer {
        display: none;
    }
}
/* =========================================================
   TABLET
   ========================================================= */
@media (min-width: 576px) and (max-width: 767.98px) {
    .lookeast-admission-modal .modal-dialog {
        width: fit-content;
        max-width: calc(100vw - 20px);
        margin: 8px auto;
    }
    .lookeast-modal-body {
        max-height: calc(100vh - 70px);
        padding: 7px;
    }
    .lookeast-main-title {
        font-size: 23px;
        line-height: 25px;
    }
    .lookeast-course-title {
        font-size: 14px;
        line-height: 17px;
    }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 575.98px) {
    .lookeast-admission-modal .modal-dialog {
        width: fit-content;
        max-width: calc(100vw - 10px);
        margin: 5px auto;
    }
    .lookeast-modal-content {
        border-radius: 12px;
    }
    .lookeast-modal-header {
        padding: 7px 50px 7px 8px !important;
    }
    .lookeast-main-title {
        font-size: 19px;
        line-height: 21px;
    }
    .lookeast-course-title {
        font-size: 12px;
        line-height: 15px;
    }
    .lookeast-approved {
        margin-top: 2px;
        padding: 2px 7px;
        font-size: 8px;
        line-height: 11px;
    }
    /* Mobile close button */
    .lookeast-close {
        top: 5px !important;
        right: 5px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 29px !important;
        line-height: 34px !important;
    }
    .lookeast-close span {
        font-size: 29px !important;
        line-height: 32px !important;
    }
    .lookeast-modal-body {
        max-height: calc(100vh - 65px);
        padding: 5px;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .lookeast-modal-body::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .lookeast-admission-image {
        max-width: 100%;
        height: auto;
    }
    .lookeast-action {
        margin-top: 6px;
    }
    .lookeast-enroll-btn {
        padding: 8px 10px;
        font-size: 14px;
    }
    .lookeast-contact {
        margin-top: 3px;
        font-size: 8px;
        line-height: 12px;
    }
    .lookeast-contact .separator {
        margin-left: 2px;
        margin-right: 2px;
    }
    .lookeast-modal-footer {
        display: none;
    }
}
/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */
@media (max-width: 380px) {
    .lookeast-modal-header {
        padding: 6px 45px 6px 6px !important;
    }
    .lookeast-main-title {
        font-size: 17px;
        line-height: 19px;
    }
    .lookeast-course-title {
        font-size: 11px;
        line-height: 13px;
    }
    .lookeast-approved {
        font-size: 8px;
        padding: 2px 6px;
    }
    .lookeast-modal-body {
        padding: 4px;
    }
    .lookeast-close {
        top: 4px !important;
        right: 4px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 27px !important;
    }
    .lookeast-close span {
        font-size: 27px !important;
        line-height: 29px !important;
    }
    .lookeast-enroll-btn {
        padding: 7px 8px;
        font-size: 13px;
    }
}
