﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}

/*Required for collapsing the nav bar below 1200px*/
/*@media (max-width: 1100px) {
    .navbar-header {
        float: none;
    }

    .navbar-start, .navbar-end {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }
}*/

/*WebPilot Additions*/

.validation-summary-valid {
    display: none;
    display: none;
}

.validation-summary-errors {
    color: red;
    border: 2px solid red;
    padding: 3px;
}

.validation-summary-errors > li {
    margin-top: 4px;
}

.validation-summary-errors > span {
   font-weight: bold;
}


.details-panel-background {
    background-color: #EFF3FB !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.edit-panel-background {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    background-color: lightsteelblue;
}
.BaseCheckBoxList label {
    margin-left: 5px;
    margin-right: 20px;
}

.top-margin {
    margin-top: 0;
}

.control-margin {
    margin-right: 20px;
    margin-bottom: 20px;
}

/*  modal popup */
.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.modalPopup {
    border: 3px solid Gray;
    background-color: #ffffff;
    /*background-color: #EFF3FB;*/
    padding: 3px!important;
    margin-right: 0!important;
}

/*class for popupOverlay.js jquery plugin for transitional popups*/
.popupOverlay {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: none;
    margin: 1em;
    border-radius: 10px;
    padding: 20px;
    background-color: #fcf8e3;
}


/*required to over-ride a Bootstrap css that makes tables full width*/
.table {
    width: auto !important;
}

/*used when handling sorting in a gridview programatically*/
.SortedAscendingHeaderStyle {
    padding: 0 10px 0 15px;
    background-color: #6D95E1;
    background-repeat: no-repeat;
    background-image: url(/Images/asc.gif);
}

.SortedDescendingHeaderStyle {
    padding: 0 10px 0 15px;
    background-color: #4870BE;
    background-repeat: no-repeat;
    background-image: url(/Images/desc.gif);
}

.SortedAscendingCellStyle {
    background-color: #FFFFCC;
    background-repeat: no-repeat;
}

.SortedDescendingCellStyle {
    background-color: #FFFFCC;
    background-repeat: no-repeat;
}

/*Recency CSS used on the IFR and NVG recency gridviews to color cautions (impending expirations) and warnings (expired)*/

.RecencyCaution {
    background-color: yellow !important;
    font-weight: bold;
    color: black !important;
}

.RecencyWarning {
    background-color: indianred !important;
    font-weight: bold;
    color: black !important;
}

.RecencyCautionInverseVideo {
    background-color: black !important;
    font-weight: bold;
    color: yellow;
}

.RecencyWarningInverseVideo {
    background-color: black !important;
    font-weight: bold;
    color: indianred;
}

.radio-inline input {
    margin-left: 0 !important;
    margin-right: 5px !important;
    position: relative !important;
}

.radio-inline label {
    margin-right: 10px !important;
}

/*Text highlight classes (used on NOTAMs)*/
.YellowHighlight {
    color: Black;
    background-color: Yellow;
    font-weight: bold;
}

.BlueHighlight {
    color: White;
    background-color: DodgerBlue;
    font-weight: bold;
}

.RedHighlight {
    color: White;
    background-color: Red;
    font-weight: bold;
}

.GreenHighlight {
    color: White;
    background-color: green;
    font-weight: bold;
}

.BlackHighlight {
    color: White;
    background-color: black;
    font-weight: bold;
}

.PurpleHighlight {
    color: White;
    background-color: mediumpurple;
    font-weight: bold;
}

.ArchivedHighlight {
    color: darkslategray;
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.modal-danger {
    border-radius: 10px !important;
    background-color: #fca7a7
}

.modal-warning {
    border-radius: 10px !important;
    background-color: lightyellow
}

/*weather */
.wx-vfr {
    background-color: limegreen !important;
    color: white !important;
    font-weight: bold;
}

.wx-mvfr {
    background-color: dodgerblue !important;
    color: white !important;
    font-weight: bold;
}

.wx-ifr {
    background-color: red !important;
    color: white !important;
    font-weight: bold;
}

.wx-lifr {
    background-color: fuchsia !important;
    color: white !important;
    font-weight: bold;
}

.wx-unkn {
    background-color: slategray !important;
    color: white !important;
    font-weight: bold;
}

.wx-fzdz {
    background-color: yellow !important;
    color: black !important;
    font-weight: bold;
}

.lightstate-night {
    background-color: black;
    color: white;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.lightstate-day {
    background-color: #3366CC;
    color: white;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.lightstate-mixed {
    background-color: lightgray !important;
    color: darkslategray !important;
    font-weight: bold;
    border-color: darkslategray;
    border-style: solid;
    border-width: 2px;
    padding-left: 5px;
    padding-right: 5px;
}

.nvg-background {
    background-color: #55D343 !important;
    color: black;
}

.night-background {
    background-color: black!important;
    color: white!important;
}

.ifapp1 {
    background-color: cyan !important;
    color: black!important;

}

.ifapp2 {
    background-color: yellow !important;
    color: black !important;
}

/**aircraft */
.aircraft-ops-restricted {
    color: #666600 !important;
    background-color: lemonchiffon !important;
    --bs-table-bg: lemonchiffon !important;
    border-width:1.5px;
}

.aircraft-red {
    background-color: #f2dede !important;
    --bs-table-bg: #f2dede !important;
    border-color: #eed3d7 !important;
    color: #b94a48 !important;
    border-width: 1.5px;
}

.aircraft-green {
    background-color: #dff0d8 !important;
    --bs-table-bg: #dff0d8 !important;
    border-color: #d6e9c6 !important;
    color: #468847 !important;
    border-width: 1.5px;
}

.not-in-service {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    --bs-table-bg: #f8d7da !important;
    border-color: #f5c6cb !important;
    font-weight: bold !important;
}

.in-service {
    color: #155724;
    background-color: #d4edda;
    --bs-table-bg: #d4edda !important;
    border-color: #c3e6cb;
}

/** NOTAMS **/
.NewNOTAM {
    background-color: lawngreen;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 20px;
    font: bold 14px "Helvetica Neue", Sans-Serif;
    color: blue;
}

.RecentNOTAM {
    background-color: mediumpurple;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 20px;
    font: bold 14px "Helvetica Neue", Sans-Serif;
    color: cyan;
}



.lightstate-night {
    background-color: black !important;
    color: white !important;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.lightstate-day {
    background-color: #3366CC !important;
    color: white !important;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.form-label {
    font-weight: bold;
}
/*Currency table warnings  - NOTE: in BS5, the standard BS bg color must be explicitly overwritten using the --bs-table-bg variable*/

.table-cell-warning {
    --bs-table-bg: indianred !important;
    font-weight: bold;
    color: black;
}

.table-cell-conditional-warning {
    background-color: orange !important;
    font-weight: bold;
    color: black !important;
}

.table-table-cell-warning-inverse {
    --bs-table-bg: black !important;
    font-weight: bold;
    color: indianred !important;
}

.table-cell-caution {
    --bs-table-bg: yellow !important;
    font-weight: bold;
    color: black;
}

.table-table-cell-caution-inverse {
    background-color: black !important;
    font-weight: bold;
    color: yellow !important;
}

.decimal-number {
    text-align: right;
    padding-right: 20px;
}

/*Logbook Editor*/
.logbook-table td {
    margin: 2px !important;
    padding: 2px !important;
}

.logbook-table-bordered th, .logbook-table-bordered td {
    border-style: solid !important;
    border-width: 1px !important;
    margin: 2px !important;
}

.logbook-header-table {
    border-style: solid !important;
    border-width: 1px !important;
    width: 100% !important;
}

    .logbook-header-table > td {
        padding: 3px 3px 3px 3px !important;
        width: auto !important;
        border-style: none !important;
    }

.logbook-editor-background {
    background-color: #E3EAEB;
}

.logbook-editor-hours-cell {
    width: 35px;
    text-align: center;
}

.logbook-column-IFR {
    background-color: #CCCCCC;
    color: black;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.logbook-column-night {
    background-color: black;
    color: white;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.logbook-column-day {
    background-color: #3366CC;
    color: white;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.logbook-column-nvg {
    background-color: #55D343 !important;
    color: black;
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}