/* Note the addition of ascent-override: 100%; to fix display issues, as per:
https://stackoverflow.com/questions/29366908/wrong-vertical-align-of-text-in-google-chrome-browser/78502076#78502076
This was removed as it caused issues with table cell vertical alignment between different weights
*/

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Black.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Light.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Roman.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Medium.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Heavy.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Book.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ***** Common Css **** */
:root {
    scroll-behavior: initial;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

ol,
ul {
    margin: 0;
    padding: 0;
}

img {
    display: block;
}

figure {
    margin: 0;
}

a,
button {
    text-decoration: none;
}

body {
    font-family: 'Avenir LT Std';
    font-size: 14px;
    font-weight: 400;
    background: #001F52;
    color: #fff;
    text-decoration: none;
}

.container {
    max-width: 1120px;
}

.container-fluid {
    padding: 0 28px;
}

/* ***** End Common Css **** */

/* ***** Panel Page ***** */
.panel-wrpper {
    display: inline-block;
    width: 100%;
    height: 100%;
    max-width: 2080px;
    position: relative;
    min-height: 100vh;
    text-align: center;
    vertical-align: top;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
}

.dark-mode body {
    background: rgb(0, 16, 43);
}

/* Background images */
.panel-wrpper {
    background: url('../images/panel-back.png') 0 0 no-repeat;
    background-size: cover;
}

.env-dev .panel-wrpper {
    background: url('../images/wm-dev-blue.png'), url('../images/panel-back.png');
    background-size: cover;
}

.env-uat .panel-wrpper {
    background: url('../images/wm-uat-blue.png'), url('../images/panel-back.png');
    background-size: cover;
}

.dark-mode .panel-wrpper {
    background-image: linear-gradient(rgba(0, 16, 43, 0.9)),  url('../images/panel-back.png');
    background-size: cover;
}

.dark-mode .env-dev .panel-wrpper {
    background-image: linear-gradient(rgba(0, 16, 43, 0.9)),  url('../images/wm-dev-white.png'), url('../images/panel-back.png');
    background-size: cover;
}

.dark-mode .env-uat .panel-wrpper {
    background-image: linear-gradient(rgba(0, 16, 43, 0.9)),  url('../images/wm-uat-white.png'), url('../images/panel-back.png');
    background-size: cover;
}

header {
    padding: 15px 0 10px;
}

.btn-login,
.btn-logout {
    display: flex;
    align-items: center;
    color: #EDF0F5;
}

.nav-row {
    display: flex;
    align-items: center;
}

.nav-row .btn-group > *:last-child { margin-right: 0; }

.nav-logo img {
    height: 28px;
}

.navbar-right {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    align-items: flex-end;
    margin: 0 0 0 auto;
}

.navbar-right div.btn-logout {
    margin: 0 0 5px;
}

.navbar-right h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    line-height: 20px;
}

.filter-row {
    padding: 0 0 10px;
    border-bottom: 1px solid #AFAFAF;
    margin: 0px;
}

.filter-row .row {
    align-items: flex-end;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 68px;
}

.user-size-input {
    width: 68px;
}

.instru-box button {
    width: 260px;
}

.form-group label {
    font-size: 14px;
    line-height: 14px;
    font-weight: normal;
    color: #fff;
    display: block;
    margin: 0 0 5px;
}

.form-group button.no-dropdown-toggle {
    cursor: default;
    text-wrap-mode: nowrap;
}

.filter-row .select-row, .filter-row .select-row-small {
    padding-top: 10px;
}

.filter-row .select-row:first-child, .filter-row .select-row-small:first-child {
    padding-top: 0;
}

.select-row ul li {
    margin: 0 9px 0 0;
}

.select-row-small ul {
    display: flex;
}

.select-row-small ul li {
    display: flex;
    align-items: center;
    margin-right: 7px;
}

.select-row ul:last-child li:last-child,
.select-row-small ul:last-child li:last-child {
    margin: 0;
}

.select-row, .select-row-small {
    display: block;
}

.select-row.row-ltr, .select-row-small.row-ltr {
    text-align: left;
}

.select-row.row-rtl, .select-row-small.row-rtl {
    text-align: right;
}

.select-row.row-ltr ul {
    display: flex;
    align-items: end;
    justify-content: flex-start;
}

.select-row.row-rtl ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.select-row ul li {
    display: flex;
    align-items: center;
}

.select-row ul.hidden {
    display: none;
}

.select-row ul li:last-child {
    margin: 0;
}

.body-wrapper {
    overflow: hidden;
    padding-top: 16px;
    padding-bottom: 0px;
}

.common-box-parent {
    padding: 0px 0px 12px 0px;
}

.common-box-parent.common-box-parent-last {
    padding: 0px;
}

.common-box {
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0px 4px 9.3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px);
    border-radius: 11px;
}

.common-box.common-box-small {
    padding: 2px;
}

.big-row .row {
    margin: 0 -6px;
    height: 100%;
}

.big-row .row .col-md-5,
.big-row .row .col-md-7,
.big-row .row .col-md-12,
.big-row .row .col-md-6 {
    padding: 0 6px;
}

.common-box table {
    height: 100%;
    margin: 0;
}

.common-box table thead th {
    border: none;
    font-weight: 900;
    color: #fff;
    line-height: 16px;
    background: transparent;
    text-align: center;
    vertical-align: middle;
}

.common-box table thead th .tbl-box {
    font-size: 16px;
    padding: 6px 10px;
}

.common-box table thead th:first-child,
.common-box table thead th.vbb-name,
.common-box table tbody td.vbb-name {
    text-align: left;
    padding-left: 0px;
}

.common-box.textright table thead th:last-child,
.common-box.textright table thead th.vbb-name,
.common-box.textright table tbody td.vbb-name {
    text-align: right;
    padding-right: 0px;
}

.common-box table tbody tr td {
    padding: 3px 0;
    border: none;
    background: transparent;
    text-align: center;
    white-space: nowrap;
}

.common-box table thead tr th.first-child,
.common-box table tbody tr td.first-child,
.common-box table thead tr th.last-child,
.common-box table tbody tr td.last-child  {
    width: 4px;
}

.common-box table tbody tr td.integer.table-col-width-fixed,
.common-box table tbody tr td.fraction.table-col-width-fixed,
.common-box table thead tr th.quantity.table-col-width-fixed,
.common-box table tbody tr td.quantity.table-col-width-fixed {
    width: 4em;
}

.common-box table thead tr th.table-col-width-fixed,
.common-box table tbody tr td.table-col-width-fixed {
    width: 8em;
}

/* Reduce width when expanded columns (the horizontal padding is also adjusted to account for this */
.common-box table.table-expanded tbody tr td.integer.table-col-width-fixed,
.common-box table.table-expanded thead tr th.quantity.table-col-width-fixed,
.common-box table.table-expanded tbody tr td.quantity.table-col-width-fixed {
    width: 4em;
}

.common-box table.table-expanded tbody tr td.fraction.table-col-width-fixed {
    width: 3em;
}

.common-box table.table-expanded thead tr th.table-col-width-fixed,
.common-box table.table-expanded tbody tr td.table-col-width-fixed {
    width: 7em;
}

.common-box table thead tr th.venue,
.common-box table tbody tr td.venue {
    width: 100%
}

.common-box table tbody tr td:first-child {
    text-align: left;
}

.common-box.textright table tbody tr td:last-child {
    text-align: right;
}

.common-box table tbody tr td .tbl-box {
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.10);
}

.common-box table.table-expanded tbody tr td .tbl-box {
    padding: 3px 4px;
}

.common-box table tbody tr td.first-child .tbl-box {
    border-radius: 6px 0 0 6px;
}

.common-box table tbody tr td.last-child .tbl-box {
    border-radius: 0 6px 6px 0;
}

/* General child element style */
.common-box table tbody tr td .tbl-box > * {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    line-height: 20px;
}

/* Specific header style */
.common-box table tbody tr td .tbl-box h3 {
    font-weight: 500;
}

.chevrons {
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.chevrons_inverted .chevrons,
.chevrons.chevrons_inverted {
    transform: rotate(180deg);
}

.ad-block {
    max-height: calc(23vh - 63px);
    width: 100%;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
}

.ad-block a {
    display: block;
    height: 100%;
}

.ad-block a figure {
    height: 100%;
}

.ad-block img {
    border-radius: 11px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 4px 9.3px rgba(0, 0, 0, 0.05);
}

.ad-block p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    font-weight: 900;
    font-size: 22px;
    line-height: 20px;
    color: #FFFFFF;
    margin: 0;
}

.time-input {
    display: flex;
    align-items: start;
}

.time-input-micro {
    width: 112px;
}

.time-input-milli {
    width: 96px;
}

.input-box .form-control {
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    height: auto;
    box-shadow: none;
    font-weight: 900;
    color: #fff;
}

.input-box .form-control input {
    font-weight: 900;
}

.input-box .form-control::placeholder {
    color: #fff;
}

.form-entry > .form-label {
    font-weight: 400;
    color: #fff;
    border-right: 1px solid #83ABC5;
    white-space: nowrap;
}

.form-entry .form-label {
    padding: 0 10px 0 0;
    margin: 0;
}

.form-entry .input-box {
    padding: 0 0 0 10px;
}

input:focus {
    outline: none;
}

.common-box-top {
    padding: 0 0 10px;
}

.copyright-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0px;
}

.copyright-panel p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    margin: 0;
}

.copyright-panel p a{
    color: #FFFFFF;
}

.copyright-panel p a:hover{
    opacity: 0.5;
}

.mobile-view {
    display: none;
}

.dash-view {
    display: block;
}

.common-box table thead th a {
    color: #fff;
}

/* ***** End Panel Page ***** */
