/*********************** general **************************/

.text-primary {
    color: #576b9b !important;
}

a.text-primary:focus, a.text-primary:hover {
    color: #222 !important;
}

.bg-primary {
    background-color: #576b9b !important;
}

.border-primary {
    border-color:  #576b9b !important;
}

.bg-secondary {
    background-color: #f2f2f2 !important;
}

.presentationMode {
    background: #576b9b;
}

.container {
    background: white;
}

/************* switch ****************/
.custom-control-input:checked~.custom-control-label::before {
    border-color: #576b9b;
    background-color: #576b9b;
}

.custom-control-input:not(:disabled):active~.custom-control-label::before {
    background-color: #f3ffb2;
    border-color: #f3ffb2;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: none;
}

.custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #222;
}

/************* button ****************/

.btn-primary {
    background-color: #576b9b;
    border-color: #576b9b;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus,
.btn-primary.focus,
.btn-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem #576b9b;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle,
.btn-primary:hover,
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    background-color: #222;
    border-color: #222;
}

.btn-outline-primary {
    color: #576b9b;
    border-color: #576b9b;
}


/************************** header ***********************************/

#header-row {
    margin-bottom: 25px;
    background: white;
}

#miltexLogo {
    margin-right: 15px;
}

.navbar-brand {
    line-height: 47px;
    font-size: 23px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active,
.navbar-nav .dropdown-item:focus,
.navbar-nav .dropdown-item:hover {
    background-color: #eeeeee;
}

.dropdown-item.active, .dropdown-item:active {
    color: #212529;
}

#presentation-mode-switch-container {
    margin-right: 20px;
}

/************************* body *********************************/

#siteHeading {
    color: #576b9b;
}

#heading-row {
    margin-bottom: 15px;
}

/***** table ******/
#analysisTable_wrapper {
    width: 100%;
}

.dataTables_wrapper {
    margin-top: 15px;
}

/**** dropdown ******/

.dropdown-item:focus,
.dropdown-item:hover {
    outline: none;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #576b9b;
}

.dropDownLabel {
    margin: 0 10px 0 0;
    font-weight: bold;
}

/************************ footer ****************************/

#footer-row {
    margin-top: 25px;
    padding: 10px 0;
    border-width: 2px !important;
    background: white;
}

/************************* responsive ***************************/

@media (min-width: 768px) {

    .navbar-nav .nav-link {
        padding: 5px 15px;
        margin: 0 10px;
    }
}
