/*background: 85,96,116*/
/*highlight: 66,146,77*/

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body { 
    margin-bottom: 60px;

}

h1 {
    color: rgb(87,96,114);
    font-size: 2.0em !important;
}

.cd-panel__header h1 {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

h2 {
    color: rgb(87,96,114);
    font-size: 1.8em !important;
}

h3 {
    font-size: 1.5em !important;
}

h4 {
    font-size: 1.3em !important;
}

h5 {
    font-size: 1.1em !important;
}

h6 {
    font-size: 1.0em !important;
}

a {
    color: rgb(6,147,67);
    font-weight: bolder;
    text-decoration: none;
}

    a:visited {
        color: rgb(6,147,67);
    }

    a:hover {
        color: rgba(16,53,88);
    }

a.btn-primary:visited {
    color:white;
}

.warning {
    background-color: #f2e090;
}

.ok {
    background-color: #7a9460;
}

.holding {
    background-color: #dd9977;
}

.moving {
    background-color: #83A1CD;
}

.bad {
    background-color: #CB4C4E;
}

.btn-primary {
    background-color: rgb(6,147,67) !important;
    border-color: rgb(6,147,67) !important;
    color:white !important;
}

    .btn-primary:hover {
        background-color: rgba(16,53,88);
        border-color: rgb(16,53,88);
    }

.btn-primary.disabled {
    background-color:rgb(6,147,67) !important;
    opacity:0.65;
    pointer-events:none;
}

.btn-secondary {
    background-color: white !important;
    color: rgb(6,147,67) !important;
    border-color: rgb(6,147,67) !important;
}

    .btn-secondary:hover {
        background-color: gainsboro;
        color: rgb(89,96,122);
    }

.navtext {
    color: white;
}

.navitem {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left:25px;
    border-bottom:solid 1px rgb(240,240,240);
    border-top:solid 1px rgb(240,240,240);
    width:100%;
    cursor:pointer;
    margin-top:-1px;
}

.form-control-dropdown {
    appearance: menulist-button !important;
    padding-top: 12px !important;
}

.form-control-text {
    padding: 12px !important;
}

.datepicker td, th {
    text-align: center;
    padding: 8px 12px;
    font-size: 14px;
}

.required:after {
    content: " *";
    color: red;
    font-size: smaller;
    white-space:nowrap;
}

.required2:after {
    content: " +";
    color: blue;
    font-size:smaller;
    white-space:nowrap;
}

.hint-text {
    font-size: x-small;
}

.vcenterdiv {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

div.pagetitle {
    border-bottom:solid 2px rgba(87,96,114,0.7);
}

div.subtitle {
    border-bottom:solid 1px rgb(87,96,114);
}

div.tablerow {
    border:solid 1px rgba(87,96,114,0.7);
    padding:7px;
    color:rgba(87,95,114,0.9);
    margin-top:-1px;
    transition:box-shadow 0.5s ease-in-out;
    background-color:white;
}

    div.tablerow:hover {
        color:rgb(87,95,114);
        box-shadow: 0 0 4px 2px rgba(87,96,114,0.7);
        transition: box-shadow 0.2s ease-in-out;
    }

div.tabletitlerow {
    color:rgba(87,96,114,0.7);
    padding:10px;
    font-weight: bolder;
}

.choiceDefItem {
    width: 100%;
    background-color: whitesmoke;
    border: solid 1px darkgray;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 7px;
    margin-bottom: 3px;
}

div.centercontent {
    display:flex;
    align-items:center;
    justify-content:center;
}

@media (min-width:700px) {
    .navtextlink {
        display: inline;
        font-size: smaller;
        color:rgb(6,147,67);
        font-weight:bold;
    }
}

@media (max-height:1024px) {
    .bottommenu {
        display: none;
    }

    .bottommenusmall {
        display: block;
    }
}

@media (min-height:1025px) {
    .bottommenu {
        display: block;
    }

    .bottommenusmall {
        display: none;
    }
}

.announce {
    border: solid 1px rgba(87,96,144,0.7);
    text-align:center;
    font-size:smaller;
    padding:10px;
}

.announcegood {
    background-color:rgba(66,146,77,0.1);
}

.announcebad {
    background-color:rgba(255,0,0,0.1);
}

.announcewhite {
    background-color:white;
}

.announcewarn {
    background-color:rgb(254,251,218);
}

.button-wrapper {
    display: inline-block;
    position: relative;
}

.dropdown-button {
    border: none;
    padding-bottom:7px;
    padding-top:7px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: auto;
    right: 0;
    text-align: left;
}

    .dropdown-content a {
        text-decoration: none;
        display: block;
        padding: 7px;
    }

    .dropdown-button:focus + .dropdown-content,
    .dropdown-content:hover {
        display: block;
        pointer-events:auto;
    }

.nav-link {
    color:rgb(6,147,67);
}

.invalidfield {
    background-color:#FFCCCB;
}

.tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    width: 100px;
    color: white;
    font-size: 12px;
    background-color: #192733;
    border-radius: 10px;
    padding: 10px 15px 10px 15px;
}

.hover-text:hover .tooltip-text {
    visibility: visible;
}

#top {
    top: -40px;
    left: -50%;
}

#bottom {
    top: 25px;
    left: -50%;
}

#left {
    top: -8px;
    right: 120%;
}

#right {
    top: -8px;
    left: 120%;
}

.hover-text {
    position: relative;
    display: inline-block;
    font-family: Arial;
    text-align: center;
}
