#brand-img
{
    max-height: 4em;
}


/** OVERLAY / LOADER **/

.overlay
{
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;

    background-color: rgba(0, 0, 0, .5);

    z-index: 9999;
}
.overlay .h1, .overlay .h2, .overlay .h3, .overlay .h4, .overlay .h5, .overlay .h6, .overlay  h1, .overlay  h2, .overlay  h3, .overlay  h4, .overlay  h5, .overlay  h6
{
    color: #fff;
    text-shadow: 0 1px #000;
}
body.overlay-open
{
    overflow: hidden;
}

.overlay .loader-wrapper
{
    position: sticky;
    top: 0;

    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}
.overlay .loader span
{
    border-width: 7px;
    border-style: solid;
    margin: 7px;
    display: block;
    border-radius: 100%;
    border-top-color: transparent;
    border-right-color: transparent;
    box-shadow: -1px 1px 0px 0px rgba(255, 255, 255, 0.85);
    animation: loaderdreh 4s infinite cubic-bezier(0.56, -0.24, 0.41, 1.23);
}
@keyframes loaderdreh
{
    100%
    {
        transform: rotate(360deg);
    }
}

.overlay .loader-text
{
    color: #fff;
    margin-top: 1em;
}
.overlay .loader-text-init
{
    animation: loader-text-init-fade-in 10s 1;
}
@keyframes loader-text-init-fade-in
{
    0%, 90% { opacity: 0; }
    100% { opacity: 1; }
}

/** OVERLAY / LOADER END **/


/** ENGINE **/

.layout-content-only-wrapper > .main-content
{
    margin-left: 0;
}
.layout-content-only-wrapper > .main-content > .page-content
{
    border-top: .5em solid #ffe5ba;
    padding-top: 1rem;
}
.layout-content-only-wrapper > .main-content > footer
{
    left: 0;
}

body[data-layout-mode=dark] .layout-content-only-wrapper > .main-content > .page-content
{
    border-top-color: #2C302E;
}


/* engine print */
@media only print
{
    footer,
    .breadcrumb,
    .alert,
    #sectionsList,
    #xle-style-btn-wrapper,
    #page > section:nth-child(n+2),
    .xld-thread.btn
    {
        display: none;
    }

    .question
    {
        page-break-inside: avoid;
    }

    .xld-container .scaleQuestion div
    {
        top: 0 !important;
    }

    /* override non-printable elements */
    .icheckControl.icheckbox_square-blue,
    .icheckControl.iradio_square-blue,
    .slider-container
    {
        border: 1px solid #ccc;
    }
    .icheckControl.iradio_square-blue
    {
        border-radius: 50%;
    }

    .icheckControl.icheckbox_square-blue.checked,
    .icheckControl.iradio_square-blue.checked,
    .icheckControl.iradio_square-blue.checked
    {
        border-color: blue;
    }

    .icheckControl.icheckbox_square-blue.checked:before,
    .icheckControl.iradio_square-blue.checked:before,
    .icheckControl.iradio_square-blue.checked:before
    {
        content: "✓";
        margin-left: .25em;
    }
}

/** ENGINE END **/