/* Dark/Light Theme - uncomment for dark theme code */
/*body h3 {
    color: black;
}
body.themeDark h3 {
      color: red;
}
@media (prefers-color-scheme: dark) {
    body h3 {
        color:  red;
    }
    body.themeLight h3 {
        color: black;
    }
}*/

.gm-ui-hover-effect {
    display: none !important;
}

.airport-map-popup {
    color: #24313d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    padding: 2px 4px;
}

.login-register {
    /* Not used - but overrides theme class to make it a bit better */
    min-height: 100%;
    padding: 5% 0 !important;
    position: relative !important;
    overflow: visible;
    background-attachment: fixed;
}

.sectors-login {
    /* Div including margin around card */
    width: 100%;
    max-height: 100%;

    /* Centre in viewport at all times */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sectors-login-box {
    /* Actual login box */
    margin-bottom: 5% !important;
    margin-top: 5% !important;

    -moz-box-shadow: inset 0 0 1px #000000;
    -webkit-box-shadow: inset 0 0 1px #000000;
    box-shadow: inset 0 0 1px #000000;
}

.sectors-LogbookHeader {
    font-weight: bold;
    border: 2px solid black;
    background-color: #d3d3d363;
}

.sectors-LogbookBody {
    border: 2px solid black;
}

.sectors-Logbook {
    font-size: 12px;
    border: 1px solid black;
    border-collapse: collapse !important;
}

.sectors-Logbook td {
    vertical-align: middle;
    border: 1px solid #4C4C4C !important;
}

.sectors-logbookTableDivider {
    background-color: #E7E7E7 !important;
    font-weight: bold;
    text-align: center;
}

.sectors-logbookTableDividerText {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    left: 50vw;
}

.night {
    background-color: #d8ebf7c4;
}

.logbookFutureRow,
.logbookFutureRow h3,
.logbookFutureRow h6 {
    color: #FFB234;
}

.sectors-noMargin {
    margin-top: 0px !important;
}

.sectors-noMarginBottom {
    margin-bottom: 0px !important;
}

.sectors-NoPadding {
    padding: 0px !important;
}

.sectors-noPaddingLeft {
    padding-left: 0px !important;
}

.sectors-noPaddingRight {
    padding-right: 0px !important;
}

.sectors-noPaddingLeftRight {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.sectors-noPaddingTop {
    margin-top: 0px;
}

.sectors-marginTop20 {
    margin-top: 20px;
}

.sectors-hrHeadings {
    margin-top: 0.3rem;
}

.sectors-SearchBar {
    background-image: url('../images/questionmarkicon.png');
    /* Add a search icon to input */
    background-position: 2px 2px;
    /* Position the search icon */
    background-repeat: no-repeat;
    /* Do not repeat the icon image */
    padding-left: 37px;
}

.sectors-uppercase {
    text-transform: uppercase;
}

.sectors-inputControlInvalid {
    border-color: red !important;
    outline: 0 none;
}

.sectors-inputControlInvalid:focus {
    border-color: red;
    outline: 0 none;
    box-shadow: 0 1px 1px #fff, 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.sectors-border {
    border-width: 5px;
    border-style: solid;
}

.sectors-ValFail {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.sectors-inputControlCaution {
    border-color: #ffb22b !important;
    outline: 0 none;
}

.sectors-inputControlCaution:focus {
    border-color: #ffb22b !important;
    outline: 0 none;
    box-shadow: 0 1px 1px #fff, 0 0 0 0.2rem rgba(255, 178, 43, 0.25);
}

.sectors-SmallMessage {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #001582;
}

.sectors-NoBold {
    font-weight: normal !important;
}

.sectors-OperatorsYes {
    background-color: #00FA3E !important;
    color: black !important;
}

.sectors-OperatorsNo {
    background-color: #FA0021 !important;
    color: white !important;
}

.sectors-FleetYes {
    background-color: #00FA3E !important;
    color: black !important;
}

.sectors-FleetNo {
    background-color: #FA0021 !important;
    color: white !important;
}

.sectors-TableCentre td {
    text-align: center;
}

.sectors-m-w-150 {
    width: 150px;
}

.sectors-m-w-250 {
    width: 250px;
}

.sectors-normalBorderRadius {
    border-radius: 4.8px !important;
}

.sectors-bottomMostCard {
    /* Removes bottom margin of bottom most card on page to prevent large gap at the bottom of the page - must be applied manually to each bottom card */
    margin-bottom: 0px !important;
}

.sectors-clickableRow:hover {
    /* Manually makes the logbook rows appear to be buttons (hand pointer appears) */
    cursor: pointer;
}

.sectors-flexboxRow {
    display: flex !important;
}

.sectors-flexboxCol {
    flex: 1;
    width: 100%;
}

.sectors-addLowerBorder {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.sectors-cardCheckboxActive {
    background-color: #b2ebf5;
    color: rgba(0, 0, 0, 0.75);
    border-color: rgba(0, 0, 0, 0.75) !important;
}

.sectors-cardCheckboxDisabled {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 0, 0, 0.75) !important;
}

.sectorsCardLabel {
    text-align: center;
    font-size: 90%;
}

.starredFlightIcon {
    /*color: #FFC200;*/
    color: gold;
}

.strikethrough {
    text-decoration: line-through;
}

.badge-recency {
    background-color: #EFEFEF;
    color: black;
}

.sectors-badge-navy {
    background-color: #1b5389;
    color: white;
}

.sectors-badge-blue {
    background-color: #1f88cd;
    color: white;
}

.hover-pointer {
    cursor: pointer !important;
}

@media screen and (max-height: 650px) and (min-width: 400px) {

    /* Adjust margin on screens with large width and small height like wide computer screens, but not affect mobile phones */
    .sectors-login-box {
        margin-bottom: 1.5% !important;
        margin-top: 1.5% !important;
    }
}

@media (max-width: 767px) {

    /* Small screens like mobile phones */
    .sectors-smallScreenPadTop {
        margin-top: 10px;
    }

    .sectors-mediumScreenDisplayNone {
        display: none;
    }

    .sectors-NoPaddingRightSmall {
        padding: 0px !important;
    }

    .sectors-NoPaddingLeftSmall {
        padding: 0px !important;
    }

    .sectors-cardCol12 {
        /* Make cards wider on small screens */
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
}

@media (min-width: 767px) {
    .sectors-NoPaddingRightSmall {
        padding-right: 0px !important;
    }

    .sectors-NoPaddingLeftSmall {
        padding-left: 0px !important;
    }

    .sectors-DisplaySmallMediumScreens {
        display: none;
    }
}

/* Table Display Modes */
@media (max-width: 850px) {
    .cellDesktop {
        display: none;
    }
}

@media (min-width: 850px) {
    .cellMobile {
        display: none;
    }
}

/* Loader (plane icon) */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #03a9f4;
    z-index: 1000;
    position: fixed;
    height: 100%;
    width: 100%;
    opacity: 80%;
}

.loaderAnimation {
    position: relative;
    width: 120px;
    height: 120px;
}

.loaderAnimation span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(calc(18deg * var(--i)));
}

.loaderAnimation span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    transform: scale(0);
    animation: animate 2s linear infinite;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes animate {
    0% {
        transform: scale(0);
    }

    10% {
        transform: scale(1.2);
    }

    80%,
    100% {
        transform: scale(0);
    }
}

.loaderAnimationPlane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotating 2s linear infinite;
    animation-delay: -1s;
}

@keyframes rotating {
    0% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(370deg);
    }
}

.loaderAnimationPlane::before {
    content: '\f135';
    font-family: fontAwesome;
    position: absolute;
    top: 80px;
    left: 85px;
    color: #fff;
    font-size: 55px;
    transform: rotate(125deg);

}

/* Bootstrap Overriding */
.table {
    margin-bottom: 0rem !important;
}

::-webkit-input-placeholder {
    color: #A8A8A8 !important;
}

::-moz-placeholder {
    color: #A8A8A8 !important;
}

::-ms-placeholder {
    color: #A8A8A8 !important;
}

::placeholder {
    color: #A8A8A8 !important;
}

.btn:disabled:hover {
    cursor: not-allowed;
    box-shadow: none;
}

/* Clamp some page's widths */
@media (min-width: 1200px) {
    .row.widthClamp {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .row.widthClampWide {
        max-width: 1450px;
        margin-left: auto;
        margin-right: auto;
    }
}