@media screen and (max-width: 543px) {
    .spark-splash-screen--panel .spark-splash-screen__help-container {
        margin-top: 0 !important;
    }

    .spark-splash-screen--panel {
        padding-top: 0 !important;
    }

    .spark-panel__header {
        padding: 0 2rem 1.5rem 2rem !important;
    }

    .spark-splash-screen__content > .spark-splash-screen__center > .spark-panel__content {
        padding: 2rem 2rem 1rem !important;
    }

    .spark-splash-screen__content .spark-logo--sabre {
        width: 256px !important;
    }

    h2 {
        line-height: 2rem !important;
        font-size: 1.75rem !important;
    }

    .spark-splash-screen--panel .spark-splash-screen__help {
        text-align: left !important;
        display: inline-block !important;
        width: 100% !important;
    }
}

@media screen and (max-height: 600px) {
    footer {
        display: none !important;
    }
}

#splash-screen {
    overflow-y: auto;
}

.spark-splash-screen::after {
    background: unset !important;
}

.use-kopis-white #splash-screen-box {
}

.use-kopis-white #splash-screen-title {
    background: none;
}

.use-kopis-white #splash-screen-form {
    box-shadow: var(--sedl-gray-20) 0 0 1rem;
}

.use-kopis-white #splash-screen {
    background: var(--sedl-gray-10) !important;
}

#submit {
    margin-bottom: 1rem !important;
}

.lang-selector {
    margin: 0 1.5rem;
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    border: 0;
    background: none;
}

footer.spark-footer {
    padding: .5rem 0 .25rem 0;
    background: var(--sedl-sabre-brand);
    z-index: 9999 !important;
    text-transform: capitalize;
}

/** DESKTOP **/

.srw-desktop-content {
    background: white;
}

.srw-desktop-content #splash-screen-form {
    zoom: 0.9;
}

.srw-desktop-content #splash-screen-box {
    margin-top: unset !important;
}

.srw-desktop-content #sabreLogo {
    width: auto !important;
    height: 6rem !important;
}

.srw-desktop-content #aw-title {
    font-size: 2rem !important;
}

.srw-desktop-content .spark-footer {
    display: none;
}

.srw-desktop-content .spark-panel {
    border: none;
}

.re-sign-in-mode #forgotPassword, .re-sign-in-mode #resetPassword {
    display: none;
}

.re-sign-in-message {
    display: none;
}

.re-sign-in-mode .re-sign-in-message {
    display: flex;
}

.re-sign-in-mode .spark-message ~ .re-sign-in-message {
    display: none;
}

input[readonly] {
    color: #888;
    background: #ddd;
}

.srw-desktop-content .sso-content {
    display: none !important;
}

/** POPOVER - BEGIN **/

.srw-desktop-content .suggestion-item {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.srw-desktop-content .suggestion-list__caret:after {
    content: '';
    position: absolute;
    left: -14px;
    top: 6px;
    width: 0;
    height: 0;
    border: 14px solid transparent;
    border-bottom-color: #ffffff;
}

.srw-desktop-content .suggestion-item:focus-visible {
    background-color: #eee;
    outline-color: #eee;
    outline-style: solid;
}

.srw-desktop-content .suggestion-item:focus {
    background-color: #eee;
}

.srw-desktop-content .popoverContent {
    position: absolute;
    top: 270px;
    left: -90px;
}

.srw-desktop-content .suggestion-list__wrapper {
    position: absolute;
    top: 69px;
    left: 100px;
    z-index: 10;
}

.srw-desktop-content .suggestion-list__wrapper:before {
    content: '';
    border: 14px solid transparent;
    border-bottom-color: #ccc;
    position: absolute;
    top: -26px;
    left: 99px;
    z-index: 30;
}

.srw-desktop-content .suggestion-list__wrapper:after {
    content: '';
    position: absolute;
    left: 100px;
    top: -24px;
    border: 13px solid transparent;
    border-bottom-color: #ffffff;
    z-index: 35;
}

.srw-desktop-content .suggestion-list {
    font-size: 1.1rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    box-shadow: 0 3px 10px 3px rgba(0, 0, 0, .125);
    color: #555;
    font-family: Roboto, sans-serif;
    width: 200px;
    padding: 0.5rem 0;
    max-height: 250px;
    overflow: auto;
}

.srw-desktop-content .suggestion-link {
    padding: 0 2rem;
    font-feature-settings: 'kern' 1 !important;
    line-height: 3rem;
    display: block;
    border: none;
    color: #555;
}

/** POPOVER - END **/

@media screen and (min-height: 601px) and (max-height: 650px) {
    html.srw-desktop-content {
        font-size: 70%;
    }
}

@media screen and (min-height: 551px) and (max-height: 600px) {
    html.srw-desktop-content {
        font-size: 60%;
    }
}

@media screen and (max-height: 550px) {
    html.srw-desktop-content {
        font-size: 50%;
    }
}
