/*
Romanova: #87C5F8;
Romanova_background: #000066;
Homer: #f6c945
LHS: #ffb300
DDS: #f1ce31
DDS_background: #000066
DDS_bookmark_background: #1D242E

#################################################
# Defaults
#################################################
*/

html, body {
    height: 100%;
    max-height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 100;
}

html, body, button, input, h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", "Open Sans", sans-serif;
}

strong {
    font-weight: normal;
    visibility: hidden;
}

a, a:link, a:visited {
    color: #1D63B8;
}

a:hover {
    color: #498ee2;
}

/*
#################################################
# lhs head
#################################################
*/
#lhs-head {
    position: relative;
    height: 70px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background-color: #456A95;
}

.lhs-logo {
    height: 70px;
    max-height: 70px;
    display: flex;
    flex-direction: row;
    align-content: center;
}

#lhs-menu-left-button {
    margin: 0 18px 0 30px;
    max-width: 22px;
    min-width: 22px;
    cursor: pointer;
}

.tq-application-icon {
    max-height: 70px;
    max-width: 145px;
}

@media (max-width: 670px) {
    #lhs-menu-left-button {
        min-width: 18px;
        max-width: 18px;
    }

    .tq-application-icon {
        max-width: 80px;
    }
}

.lhs-announcements-container,
.lhs-user-menu-container {
    display: none;
}

/*
#################################################
# Menu
#################################################
*/
#tq-menu .tq-glyph-exit1 {
    padding-top: 5px;
}

/*
#################################################
# Content
#################################################
*/
#lhs-module-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 40px 0 17px;
    background: #fff;
    color: #456A95;
    font-size: 22px;
    font-weight: 700;
}

#lhs-module-title ul {
    position: relative;
    padding: 0;
    margin: 0;
    max-width: 100%;
    font-size: 16px;
    font-weight: 400;
}

#lhs-menu-top-airline {
    /* overridden when extjs css is loaded */
    visibility: hidden;
}

#lhs-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#lhs-bottom {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
}

#dds-app-container {
    display: flex;
    position: relative;
    flex-direction: row;
    height: calc(100% - 64px - 12px);
    align-content: stretch;
    justify-content: space-between;
    align-items: stretch;
    overflow: hidden;
}

@media (min-width: 1025px) {
    #lhs-menu-left {
        width: 250px;
    }

    #lhs-bottom.menu-collapsed #lhs-menu-left {
        width: 0;
    }
}

@media (max-width: 1024px) {
    #lhs-menu-left {
        flex: 0 0 250px;
        position: absolute;

        width: 250px;
        min-width: 250px;
        z-index: 10000;

        top: 70px;
        bottom: 0;

        -webkit-transition: -webkit-transform 500ms ease;
        -webkit-transition: transform 500ms ease;
        transition: transform 500ms ease;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    #lhs-bottom #lhs-menu-overlay {
        background: rgba(29, 33, 39, 0.5);
        pointer-events: all;

        -webkit-transition: background-color 400ms ease;
        transition: background-color 400ms ease;
    }

    #lhs-bottom.menu-collapsed #lhs-menu-overlay {
        pointer-events: none;
        background: transparent;
    }

    #lhs-bottom.menu-collapsed #lhs-menu-left {
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

#lhs-menu-overlay {
    display: flex;
    position: absolute;
    background: transparent;
    pointer-events: none;
    height: 100%;
    width: 100%;
    z-index: 900;
}

#lhs-menu-left {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    max-width: 250px;
    color: #e8e8e8;
    background: #2c3239;
    overflow: hidden;
}

#lhs-menu-left > div {
    min-width: 150px;
    overflow: hidden auto;
}

#lhs-menu-left .menu {
    flex: 1 1 0;
    font-size: 16px;
    font-weight: 400;
}

#lhs-menu-left .footer {
    margin: 20px 15px 20px 15px;
    font-size: 85%;

}

#lhs-menu-left .footer .version {
    color: #a6a6a6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#lhs-menu-left .footer > *:not(:first-child) {
    margin-top: 11px;
}

#lhs-menu-left a,
#lhs-menu-left a:link,
#lhs-menu-left a:visited,
#lhs-menu-left a:active,
#lhs-menu-left a:hover {
    text-decoration: none;
}

#lhs-menu-left a:link,
#lhs-menu-left a:visited,
#lhs-menu-left a {
    display: flex;
    align-items: center;

    height: 50px;
    padding: 0 15px 0 28px;
    color: #cccccc;
}

#lhs-menu-left .collapsible.sub-active.collapsed a,
#lhs-menu-left a:active,
#lhs-menu-left a.active {
    color: white;
    background: #375374;
}

#lhs-menu-left .collapsible.sub-active.collapsed a:hover,
#lhs-menu-left a:hover {
    color: white;
    background: #3c424c;
}

#lhs-menu-left a div {
    flex: 1;
    line-height: normal;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

/* submenus */
#lhs-menu-left .collapsible {
    cursor: pointer;
}

#lhs-menu-left .menu-chevron {
    opacity: 0.75;
}

#lhs-menu-left .collapsible a:hover .menu-chevron {
    opacity: 1;
}

.menu-chevron {
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
}

#lhs-menu-top-welcome.visible .menu-chevron,
.menu-chevron {
    background-image: url('images/chevron-up.svg');
}

#lhs-menu-top-welcome .menu-chevron,
#lhs-menu-left .collapsible.collapsed .menu-chevron {
    background-image: url('images/chevron-down.svg');
}

#lhs-menu-left .collapsible .submenu-container {
    display: block;
}

#lhs-menu-left .collapsible.collapsed .submenu-container {
    display: none;
}

#lhs-menu-left .collapsible a > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#lhs-menu-left .submenu-container {
    display: none;
}

#lhs-menu-left .submenu-container > a {
    padding-left: 43px;
}

#lhs-main {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#tqapp-container {
    flex: 1;
    padding: 15px;
    min-height: 0;
}

.tq-windowed #tqapp-container {
    height: 100%;
    flex-grow: 1;
}

.tqapp-head {
    position: relative;
    flex-basis: content;

    margin-top: 15px;
    margin-bottom: 15px;

    background-color: #ffffff;
}

.tqapp-head h1 {
    font-size: 30px;
}

#tqapp-body {
    position: relative;
    flex: 1 100%;
    height: 100%;
}

.tq-windowed #tqapp-body {
    position: relative;
    flex: 1 100%;
    height: 100%;
    background: #f7f7f7;
}

/*
#################################################
# Loading Spinner
#################################################
*/
.tq-loadmask {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}

.tq-loadmask div {
    display: inline-block;
    width: 18px;
    height: 18px;

    border-radius: 50%;
    background-color: #43668c;

    -webkit-animation: tq-loadmask-bounce-delay 1.4s infinite ease-in-out both;
    animation: tq-loadmask-bounce-delay 1.4s infinite ease-in-out both;
}

.tq-loadmask .part1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.tq-loadmask .part2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes tq-loadmask-bounce-delay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes tq-loadmask-bounce-delay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.tq-launched .tqapp-loading {
    display: none;
}

/*
#################################################
# Loading Mask Simple
#################################################
*/

body > .x-mask,
.x-mask {
    border-width: 0;
}

.tq-loadmask-simple {
    position: relative;

    color: #666666;
}

.tq-loadmask-simple-text {
    position: relative;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
}

.tq-loadmask-simple-text::after {
    display: inline-block;
    content: "\2026";

    width: 0;

    overflow: hidden;
    vertical-align: bottom;

    animation: tq-ellipsis steps(4, end) 900ms infinite;
    -webkit-animation: tq-ellipsis steps(4, end) 900ms infinite;
}

@keyframes tq-ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes tq-ellipsis {
    to {
        width: 1.25em;
    }
}
