/*---------- Grid ----------*/

.container {
    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
}

.row {
    margin: 0 auto;
}

.layout_style {
    font-size: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    width: 100%;
    color: #302F54;
}

.col {
    float: left;
    width: 100%;
    box-sizing: border-box;
    min-height: 1px;
}

@media (min-width: 600px) {
    .col {
        margin: 0 auto;
    }

    .container {
        width: 90%;
    }

    .col.s1 {
        width: 8.33%;
    }

    .col.s2 {
        width: 16.67%;
    }

    .col.s3 {
        width: 25%;
    }

    .col.s4 {
        width: 33.33%;
    }

    .col.s5 {
        width: 41.67%;
    }

    .col.s6 {
        width: 50%;
    }

    .col.s7 {
        width: 58.33%;
    }

    .col.s8 {
        width: 66.67%;
    }

    .col.s9 {
        width: 75%;
    }

    .col.s10 {
        width: 83.33%;
    }

    .col.s11 {
        width: 91.67%;
    }

    .col.s12 {
        width: 100%;
    }
}

@media (min-width: 900px) {
    .container {
        width: 85%;
    }

    .col.m1 {
        width: 8.33%;
    }

    .col.m2 {
        width: 16.67%;
    }

    .col.m3 {
        width: 25%;
    }

    .col.m4 {
        width: 33.33%;
    }

    .col.m5 {
        width: 41.67%;
    }

    .col.m6 {
        width: 50%;
    }

    .col.m7 {
        width: 58.33%;
    }

    .col.m8 {
        width: 66.67%;
    }

    .col.m9 {
        width: 75%;
    }

    .col.m10 {
        width: 83.33%;
    }

    .col.m11 {
        width: 91.67%;
    }

    .col.m12 {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 80%;
    }

    .col.l1 {
        width: 8.33%;
    }

    .col.l2 {
        width: 16.67%;
    }

    .col.l3 {
        width: 25%;
    }

    .col.l4 {
        width: 33.33%;
    }

    .col.l5 {
        width: 41.67%;
    }

    .col.l6 {
        width: 50%;
    }

    .col.l7 {
        width: 58.33%;
    }

    .col.l8 {
        width: 66.67%;
    }

    .col.l9 {
        width: 75%;
    }

    .col.l10 {
        width: 83.33%;
    }

    .col.l11 {
        width: 91.67%;
    }

    .col.l12 {
        width: 100%;
    }
}

/*---------- Base ----------*/

html {
    font-size: 62.5%;
}

body {
    font-size: 1.5em;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Lufthansa', Helvetica, Arial, sans-serif;
    color: #05164d;
    background-color: #fff;
    margin: 0 auto;
}

* {
    -webkit-transition: color 0.3s linear;
    -moz-transition: color 0.3s linear;
    -ms-transition: color 0.3s linear;
    -o-transition: color 0.3s linear;
    box-sizing: border-box;
    /*position: relative;*/
}


a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    border: none;
    outline: 0;
    color: #eee;
}

img, img:active, img:focus {
    border: 0;
    outline: 0;
    font-family: 'Lufthansa', serif;
}

a:hover {
    color: #ffb300 !important;
}


header {
    width: 100%;
    background-color: #05164d;
    color: #fff;
    /* margin-bottom: 2.5vmin; */
    height: 15vh;
    padding-top: 2.5vh;
    padding-bottom: 2.5vh;
}

.lsg-logo {
    background-image: url('lsg.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    height: 10vh;
    width: 30vh;
    margin-left: 1vw;
}

#selected-csc {
    font-size: 150%;
    font-weight: bold;
    position: absolute;
    right: 1vw;
    top: 1vh;
}

#logged-in-user {
    font-weight: bold;
    position: absolute;
    bottom: 3vh;
    right: 1vw;
}

#logged-in-user:before {
    font-weight: normal;
}

#logout {
    position: absolute;
    right: 1vw;
    bottom: 1vh;
}

#login_page_wrapper {
    margin: 0 auto;
    margin-top: 10%;
    margin-bottom: 10%;
    width: 30vw;
}

#login_page_wrapper input {
    width: 100%;
    display: block;
}

#csc_dropdown_wrapper {
    padding: 1em 0;
    position: relative;
    width: 100%;
    display: inline-block;
}

.cred_wrapper {
    position: relative;
    padding: 1em 0;
    width: 100%;
    display: inline-block;
}

.plotbox {
    padding: 5% 0;
}

#content-wrapper {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

#page-content {
    position: relative;
    width: 95%;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.metrics-tooltip::after {
    content: "?";
    display: inline-block;
}

.metrics-tooltip .metrics-tooltip-wrapper {
    display: none;
}

.metrics-tooltip:hover .metrics-tooltip-wrapper {
    display: block;
}

.metrics-tooltip-wrapper {
    padding: 0 1.5em 1em;
    border-radius: 20px;
    position: absolute;
    width: 40vw;
    transform: translate(-100%, 5%);
    background-color: #05164d;
    font-size: 120%;
    line-height: 180%;
    z-index: 999999;
    color: #fff;
}

.metrics-tooltip-wrapper h2 {
    font-weight: bold;
    font-size: 120%;
    color: #fff;
    margin-top: 1em;
}

.special-link {
    display: none;
}

#navigation.csc-class-special .special-link {
    display: initial !important;
}

.hidden {
    display: none;
}

#navigation.hidden {
    display: none;
}

#navigation {
    margin: 0 auto;
    padding-bottom: 1em;
    width: 95%;
    text-align: center;
    font-size: 120%;
    display: flex;
    justify-content: space-between;
}

#navigation a {
    padding: 0 1em;
    color: #05164d;
}

#navigation a:before {
    display: inline-block;
    font-family: lh-iconfont, serif !important;
    font-size: 4rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-right: 0.2rem;
    transform: translateY(7px);
}

.filter-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.dash-spreadsheet table {
    min-width: 100%;
}

.dash-spreadsheet-container {
    overflow-x: auto;
}

.table-filters {
    width: 80%;
    margin-left: 10px;
}

.fill-available {
    width: 100%;
}

.table-filters textarea {
    height: 48px;
    line-height: 32px;
    resize: none;
}

.table-filters .DateInput_input {
    height: 48px;
}

#time_series_metric {
    min-width: 20vw;
}

/** style the dropdown in lufthansa style */
.Select-control {
    border: 1px solid #cacccd;
    border-radius: 0 !important;
    font-size: 18px;
}

.table-filters .Select-multi-value-wrapper {
    height: 48px;
}

.table-filters .Select-multi-value-wrapper .Select-value {
    line-height: 32px;
    margin-top: 5px;
}

.table-filters .Select-placeholder {
    line-height: 48px;
}

/* this slims down the date input field width */
.DateInput {
    width: 100px;
}

/* this creates a slimmer button that hovers in front of regular elements (z-index > 0) */
/*
#table-export_to_csv {
    font-weight: normal;
	margin: 5px 5px 5px 0;
	padding: 5px 20px;
	position: relative;
	z-index: 1;
}
*/

#caption_weeks, #caption_sibling_weeks, #timeseries-graph-caption, #last-month-single-flight-caption, #single-flight-caption {
    font-weight: normal;
}

.parameter-wrapper {
    width: 80%;
    display: flex;
    justify-content: space-around;
    margin: 10px 10px 10px 0;
}

.parameter {
    width: 80%;
    margin-left: 10px;
    margin-bottom: 20px;
}

.graphwrapper {
    margin: 2em 0;
    width: 100%;
    clear: both;
}

.graphwrapper p {
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 1em;
}

.configuration {
    padding: 5% 0;
}

.hidden-data-divs {
    display: none;
}

.status-log {
    width: 100%;
    /*    padding: 2em 1em;*/
    font-family: 'Courier New', Courier, monospace;
    color: #666;
}

.dash-spreadsheet.dash-spreadsheet-container.dash-grow {
    overflow-x: initial !important;
}

.tab {
    border: none !important;
}

.tab--selected {
    border-top: 15px solid #05164d !important;
}

/*-------- Dashboard -------*/

#dashboard_header_wrapper {
    font-size: 2rem;
}

.graphwrapper_row_dashboard {
    margin: 2em 0;
    width: 100%;
    display: flex;
    justify-content: left;
    /*clear:both;*/
}

.graphwrapper_single_dashboard {
    /*margin: 5em 0;*/
    width: 33%;
    margin-right: 2em;
    /*display: flex;*/
    justify-content: center;
    /*clear:both;*/
}

.graphwrapper_single_dashboard p {
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 0;
}

/*---------- Typo ----------*/

label {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: #05164d;
    margin-top: 0;
    margin-bottom: 0.0rem;
}

h1 {
    font-size: 4.0rem;
    line-height: 1.2;
    letter-spacing: -.1rem;
}

h2 {
    font-size: 3.6rem;
    line-height: 1.25;
    letter-spacing: -.1rem;
}

h3 {
    font-size: 3.0rem;
    line-height: 1.3;
    letter-spacing: -.1rem;
}

h4 {
    font-size: 2.4rem;
    line-height: 1.35;
    letter-spacing: -.08rem;
}

h5 {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -.05rem;
}

h6 {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0;
}

p {
    margin-top: 0;
}

param {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -.05rem;
}

/*---------- Util ----------*/

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.justify {
    text-align: justify;
}

.animate {
    transition: all 0.3s ease 0s;
}

.space-around {
    display: flex;
    justify-content: space-around;
}

/*---------- Btns ----------*/

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    display: inline-block;
    font-size: 1em;
    font-weight: 700;
    padding: 15px 40px;
    color: #05164d;
    background-color: #ffad00;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    box-sizing: border-box;
    outline: 0;
    font-family: inherit;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background-color: #ef9d00;
    outline: 0;
}

a.button {
    color: inherit;
    line-height: normal;
}

a.button:hover {
    color: inherit !important;
}

/*---------- Form ----------*/

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    height: 38px;
    padding: 6px 10px;
    background-color: #f6f6f6;
    border: 0;
    /* border-bottom: 2px solid #787878; */
    box-shadow: none;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    background-color: #e6e6e6;
    outline: 0;
}

input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    /* height: 20px; */
    vertical-align: middle;
}

/*---------- Elem ----------*/

.header {
    height: 120px;
    background-color: #05164d;
}

.logo {
    height: 70px;
    margin-top: 25px;
    margin-left: -40px;
}

.box {
    padding: 16px;
    margin: 12px 6px 0 6px;
    background-color: #fff;
    border: 0;
}

._dash-loading-callback {
    position: fixed;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    border: 6px solid #ffad00;
    border-top: 6px solid transparent;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: fadein 1s linear forwards, spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.input-time {
    background-color: rgb(246, 246, 246);
    border: 0;
    font-family: 'Lufthansa', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 200;
    color: #484848;
    height: 50px;
    padding: 10px;
    min-width: 48px;
}

.time-div {
    width: 200px;
    border: 1px solid rgb(219, 219, 219);
    border-radius: 2px;
}

.reset-btn, .reset-btn:hover {
    padding: 0;
    background-color: rgb(246, 246, 246);
    height: 50px;
}