/* Last Updated: 5-7-2025 */
/* ****** POSSIBLE STYLES TO ADD TO A NEW STYLESHEET - OR CUSTOMIZE THE IDMBS5 ONE AND FIGURE THAT OUT ****** */
.larger-text {
    font-size: 1.2rem;
}

.nav-link {
    font-size: 1rem;
    text-decoration: underline;
    color: #003A70;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    color: #fff;
    background-color: #003A70;
}

@media (max-width: 991px) {
    .navbar-collapse {
        border-bottom: 2px solid #212529;
    }

    .container {
        max-width: 100%;
    }

    header .banner .headLogo img.large {
        margin-top: 0;
    }

    header .banner .headLogo img.small {
        padding-top: 0;
        padding-bottom: 4px;
    }
}

/* using SVG for external link icon, for any target="_blank" anchors - modified from https://codepen.io/fathy_ar/pen/WNvZjgK */
a[target="_blank"]::after {
    top: 0em;
    /* to override the idembs5 stylesheet style */
}

/* adding this so that the actual anchor and external link icon are never separated on different lines - revisit if this class is good for the mobile UX - horizontal scrollbars might show up for long links */
a.nowrap {
    white-space: nowrap;
}

/* possible new button to add to PL, for buttons inside the alerts */

.btn-alert-light {
    background-color: #FFFFFF !important;
    text-decoration: none !important;
    border: 1px solid #15354F !important;
    border-radius: 3px !important;
}

.btn-alert-light:hover {
    background-color: #F4F4F4 !important;
    text-decoration: underline !important;
    border-color: #212529 !important;
}

.btn-alert-light.active {
    color: #FFFFFF;
    background-color: #15354F !important;
    text-decoration: none !important;
    border: 1px solid #15354F !important;
    border-radius: 3px !important;
}

.btn-alert-light-gray {
    background-color: #F4F4F4 !important;
    text-decoration: none !important;
    border: 1px solid #15354F !important;
    border-radius: 3px !important;
}

.btn-alert-light-gray:hover {
    background-color: #FFFFFF !important;
    text-decoration: underline !important;
    border-color: #212529 !important;
}

hr.apateal {
    border: 0;
    height: 0px;
    border-top: 8px solid #33BFD5;
    box-shadow: 0 2px 0 0 #004C97;
    margin-bottom: 2em;
}

/* styles for the datatables PDF anchors, along with target blank - to override styles of the anchors within .card-body */
.card-body a.pdf {
    background-color: #D22730;
    border-color: #D22730;
    color: #FFFFFF;
    display: inline-block;
}

.card-body a.pdf:hover {
    background-color: #93001C;
    border-color: #93001C;
    color: #EFB1B6;
}

/* possible tweak to the PL for longer labels on radio buttons - currently inline-block */
label.custom-control-label {
    display: inline;
}

/* ###################### top navigation styles - TO DISCUSSS WITH IUX ABOUT FINAL STYLES AND ACCESSIBILITY ###################### */

#mobileTopNavbar .nav-link {
    padding-bottom: 9px;
    border-radius: 0;
}

#mobileTopNavbar .nav-link.active {
    background-color: #003A70;
    color: #FFFFFF;
}

#mobileTopNavbar .nav-link:hover {
    background-color: #D6F2F7;
}

#mobileTopNavbar .nav-link.active:hover {
    color: #212529;
}

/* mobile menu padding */
@media (max-width: 991px) {
    #mobileTopNavbar .nav-link {
        padding: 12px;
    }
}

/* offcanvas styles */

.offcanvas {
    width: 320px !important;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.nav-link.active {
    background-color: #E9EA75;
}

.sidebar-links {
    position: relative;
    overflow: hidden;
}

.sidebar-link {
    color: #003A70;
    display: flex;
    align-items: center;
}

.sidebar-link:hover {
    background-color: #D6F2F7;
}

/*----------multiple-file-upload-----------*/
.file-upload-contain {
    position: relative;
    margin-bottom: 40px;
}

.file-upload-contain .file-input,
.file-upload-contain .file-preview {
    position: initial;
}

.file-upload-contain .file-drop-zone {
    border: 1px dashed #676767;
    transition: 0.3s;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    background-color: #f4f4f4;
    min-height: auto;
}

.file-upload-contain .file-drop-zone.clickable:hover,
.file-upload-contain .file-drop-zone.clickable:focus,
.file-upload-contain .file-highlighted {
    border: 1px dashed #676767 !important;
    background-color: #E9E9EA;
}

.upload-area h3 {
    font-size: 21px;
}

.file-preview {
    padding: 0;
    border: none;
    margin-bottom: 30px;
}

.file-preview .fileinput-remove {
    display: none;
}

.file-drop-zone-title {
    padding: 55px 10px;
}

.file-drop-zone .file-preview-thumbnails {
    cursor: pointer;
}

.file-preview-frame {
    cursor: default;
    display: flex;
    align-items: center;
    border: 1px solid #676767;
    background-color: #fff;
    box-shadow: none;
    border-radius: 8px;
    width: 100%;
    padding: 15px;
    margin: 8px 0px;
}

.file-preview-frame:not(.file-preview-error):hover {
    background-color: #f4f4f4;
}

.file-preview-frame .kv-file-content {
    min-width: 45px;
    min-height: 45px;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    margin-right: 10px;
    background-color: #fff;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-preview-image {
    border-radius: 4px;
}

.file-preview-frame .file-footer-caption {
    padding-top: 0;
}

.file-preview-frame .file-footer-caption {
    text-align: left;
    margin-bottom: 0;
}

.file-detail {
    font-size: 18px;
    height: auto;
    width: 90%;
    line-height: initial;
}

.file-detail .file-caption-name {
    color: #212529;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.file-detail .file-size {
    color: #212529;
    font-size: 16px;
}

.kv-zoom-cache {
    display: none;
}

.file-preview-frame .file-thumbnail-footer {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.file-preview-frame .file-drag-handle,
.file-preview-frame .file-upload-indicator {
    float: none;
}

.file-preview-frame .file-footer-buttons {
    float: none;
    display: flex;
    align-items: center;
}

.file-preview-status.text-center {
    display: none;
}

.kv-file-remove.file-remove {
    border: none;
    background-color: transparent;
    color: #212529;
    width: 25px;
    height: 25px;
    font-size: 16px;
    border-radius: 4px;
    margin: 0px 4px;
}

.kv-file-remove.file-remove:hover {
    color: #DC3545;
}

.kv-file-upload.file-upload {
    border: none;
    background-color: #fff;
    color: #212529;
    width: 25px;
    height: 25px;
    font-size: 16px;
    border-radius: 4px;
    margin: 0px 4px;
}

.file-thumb-loading {
    background: none !important;
}

.file-preview-frame.sortable-chosen {
    background-color: #fff;
    border-color: #676767;
    box-shadow: none !important;
}

.file-drop-zone-title {
    color: #212529;
}

.kv-hidden {
    display: none;
}

.file-preview-frame .kv-file-content {
    background-color: transparent;
}

.kv-preview-data {
    width: 45px !important;
    height: 45px !important;
    font-size: 40px;
    margin-top: -15px;
}

.file-review {
    border: 1px solid #eeeeee;
    background-color: #eeeeee;
}

.file-review:not(.file-preview-error):hover {
    background-color: #eeeeee;
}

.files .file-detail .file-caption-name {
    font-size: 16px;
}

.files .kv-preview-data {
    font-size: 28px;
    margin-top: 0;
}

.files .file-preview-frame .kv-file-content {
    min-width: 28px;
    min-height: 28px;
    width: 28px;
    height: 40px;
}

.files .file-preview-frame {
    padding: 8px 15px;
}

/* ******* flexbox button bar responsive styles ******* */
.button-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .button-bar {
        /* Changes from row to column */
        flex-direction: column;
        gap: 10px;
    }
}