﻿:root {
    --green: #287411;
}

.bg-green {
    background-color: var(--green);
}
.text-green {
    color: var(--green);
}
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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 width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* sections below added for ABC site that Andy worked on*/
.max-input {
    min-width: 100%;
    max-width: 100%;
}

.btn-ms-login {
    background-image: url(Images/ucg-login-image.png);
    min-width: 300px;
    min-height: 55px;
    margin-bottom: 25px;
    padding-left: 55px;
    border: 1px solid #000;
}

.footer {
    background-color: #f5f5f5;
    /*position: fixed;
    bottom: 0;*/
    width: 100%
}

.side-item:hover {
    color: #ffc107 !important;
    font-weight: 700 !important;
}

.background-danger {
    background-color: #dc3545 !important;
    color: #fff;
    font-weight: 600;
}

.validation-summary-valid {
    display: none;
}

/* personnel */
.objective-close {
    position: relative;
    float: right;
    top: -3em;
   
}
.row-wrapper {
    flex-wrap: nowrap;
    flex-direction: row;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
    display: flex;
}
    .row-wrapper .col {
        padding-left: 1em;
        padding-right: 1em;
    }
    .width-content {
        width: 80%;
        flex: 1 80%;
    }
.width-sidebar {
    width: 20%;
    flex: 1 20%;
    max-width: 220px;
    min-width: 210px;
}
.personnel-header .width-content .nav-wrapper {
    margin-right: 0 !important;
    width: calc(100% - 1em) !important;
}
.personnel-banner {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.personnel-sidebar {
    background-color: #eee;
    padding-top: 48px;
    border-left: 1px solid #ccc;
}
    .personnel-sidebar .information-wrapper {
        display: inherit;
    }
    .personnel-content {
        padding-top: 30px !important;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
.personnel-profile {
    display: block;
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    margin-top: .65em;
}
.profile-image-wrapper {
    margin-left: 12px!important;
}
.personnel-profile img {
    max-width: 190px;
    width: 100%;
    height: auto;
    position: absolute;
}
.personnel-nav {
    position: relative;
    top: 1px;
}
.personnel-nav .nav-link {
    color: #fff;
}
    .personnel-nav .nav-link.active {
        color: #333;
    }
.hideable {
    flex: 1 0%;
    padding-top: 75px;
}
.hideable .personnel-sidebar {
    width: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    height: 0;
}
.goals-col {
    flex: 1 100%;
    padding-top: 75px;
}
.toggleVitals {display: none}

    
    @media all and (max-width: 768px) {
        .toggleVitals {
        display: block;
    }
.personnel-profile {
    position: static;
    text-align: left!important;
    margin-top: .65em;
}
    .personnel-profile img {
        position: static!important;
        transform: translateX(0)!important;
    }
    .row-wrapper {
        margin: 0;
    }

.personnel-sidebar {
    padding-top: 2em;
    background: transparent;
        
    border-right: 1px solid #ccc;
}
        .personnel-sidebar .information-wrapper {
            display: none;
        }
        .personnel-sidebar.active {
            background-color: #eee;
        }
        .personnel-sidebar.active .information-wrapper {
            display: block;
        }
    .row-wrapper  {
        flex-wrap: wrap;
    }
    .width-content {
        flex:1 100%;
    }
    .width-sidebar {
        flex: 1 100%;
        max-width: 999em;
    }
}

.subnav .nav-link.active {
    border-bottom: 2px solid;
    color: var(--green);
    font-weight: bold;
}

.subnav .nav-link:hover {
    border-bottom: 2px solid #777777;
}

.subnav .nav-link {
    color: #444444;
    margin: 0 0.5em;
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.subnav {
    border-bottom: 1px solid #777777;
}

[data-bs-theme="dark"] {
    --green: #4d803e;
}
.togglerIcon .bi {
   color: #fff;
}
.dark-mode-switch {
    position: relative;
    top: 2px;
}
    .dark-mode-switch .form-check-label {
        width: 2.5em;
    }
.theme-toggle-wrapper {
    display: none;
}
.theme-toggle-wrapper .togglerIcon {
    display: block;
    margin-right: 10px;
}
    .theme-toggle-wrapper .togglerIcon i {
        display: none;
    }
[data-bs-theme="dark"] .theme-toggle-wrapper .togglerIcon i.bi-sun {
    display: inline-block;

}
[data-bs-theme="light"] .theme-toggle-wrapper .togglerIcon i.bi-moon {
    display: inline-block;
}
.entry {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 4px;
    padding-bottom: 4px;
}
.entry .vital-icon {
    width: 20px;
    min-width:20px;
    display: inline-block;
    margin-right: 3px;
}
    .entry .vital-value {
        text-overflow:ellipsis;
        overflow: hidden;
        display: inline-block;
    }
    .entry .vital-value:hover {
        overflow: visible;
        background: #eee;
    }
input, select, textarea {
    max-width: 100%;
}


[data-bs-theme="dark"] .personnel-sidebar {
    background: #222020;
    border-color: #444;
}
[data-bs-theme="dark"] .personnel-content {
    border-color: #444;
}

[data-bs-theme="dark"] .personnel-nav .nav-link.active {
    color: #fff!important;
}
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info {
    color: #fff;
}

[data-bs-theme="dark"] .breadcrumb {
    background-color: #222!important;
}

[data-bs-theme="dark"] .entry .vital-value:hover {
    overflow: visible;
    background: #222;
}