/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    background-color: #ededed;
    min-height: 100vh;
}

.footer {
    /*    bottom: 0;*/
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background-color: #264e5f;
    color: #ffffff;
}

#footercopyright {
    font-family: 'PT Sans', 'Arial', 'Helvetica', sans-serif;
    font-size: 0.75em;
    padding-top: 10px;
    color: #ffffff;
}

#footerlogo {
    padding-top: 35px;
    padding-bottom: 40px;
    height: 176px;
}

#footerWrapper {
    box-shadow: 0px 7px 11px 7px;
}

input[type="radio"] {
    accent-color: #5e5e5e
}

/* Toast Popup CSS */
.toast {
    position: absolute;
    z-index: 1000;
    top: 20px;
    right: 20px;
}

/* Background stuff header */
.headerBackground {
    width: 100%;
    background-image: url(../images/SLCBACKGROUNDSM.jpg);
    background-repeat: repeat;
    background-position: center top;
    background-size: 1922px 150px;
    height: 149px;
    background-color: white;
}

.headerSize {
    height: 245px;
    /*height: 100%;*/
}

header {
    height: 100%;
}

#wrapper {
    position: relative;
    min-height: 60vh;
    height: 100%;
    width: 100%;
}

.blueBackground {
    height: 100px;
    width: 100%;
    background-color: #144f61;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0px -6px 11px 7px;
}

/* Title Styling */

.titleStyle {
    position: relative;
    color: black;
    flex-direction: column;
    text-align: center;
}

.pageHeader {
    background-color: #fafae0;
    border-radius: 10px 10px 0 0;
}

.pageBody {
    background-color: white;
    height: 100%;
    padding: 15px;
}

.banner {
    background-color: #c6a153;
    height: 50px;
    border-radius: inherit;
}

.lightBanner {
    background-color: #f1f1d2;
    min-height: 50px;
}

.userName {
    padding-right: 25px;
    font-weight: 700;
}

.pageTitle {
    padding-left: 25px;
    font-weight: 700;
}


#bodyWrapper:before {
    box-shadow: -15px 0 .5rem -1rem inset;
    content: " ";
    height: 100%;
    left: -15px;
    position: absolute;
    top: 0;
    width: 15px;
}

#bodyWrapper:after {
    box-shadow: 15px 0 .5rem -1rem inset;
    content: " ";
    height: 100%;
    position: absolute;
    top: 0;
    right: -15px;
    width: 15px;
}

#bodyWrapper {
    position: relative;
    width: 100%;
    min-height: 65vh;
}

table {
    table-layout: fixed;
    word-wrap: break-word;
}

    table th, table td {
        overflow: hidden !important;
    }

/* Toast Popup CSS */
.toast {
    position: absolute;
    z-index: 1000;
    top: 20px;
    right: 20px;
}

/* Page Loading CSS */
#LoadingOverlay {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    cursor: wait;
    border: none;
    max-width: 100%;
    max-height: 100%;
}

    #LoadingOverlay .imgLoading {
        max-width: 100px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.75;
    }

dialog {
    border: none;
    border-radius: 1em;
    box-shadow: 1px 1px 10px 3px rgba(0,0,0,0.3);
}

.container {
    max-width: 90%;
    width:100%;
}
.required-field {
    border-left: 2px solid red;
}

.label-primary {
    font-weight: 500;
}

.label-secondary {
    font-weight: normal;
}
.custom-width {
    width: clamp(250px, 100%, 450px);
}

/*
    Hide int spin buttons
*/
/* Hide int spin buttons*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Modal mobile responsiveness */
.modal-width {
    max-width: 60%;
}

@media only screen and (max-width: 1050px) {
    .modal-width {
        max-width: 98%;
    }

    ul {
        list-style-type: none;
        font-size: 10px;
    }

    permissionsModalLabel {
        font-size: 10px;
    }
}

/* Container margins */
@media only screen and (min-width: 250px) {
    #headerImage {
        display: none !important;
    }

    #footerlogo{
        display:none !important;
    }

    .title-width {
        width: -webkit-fill-available;
    }
}

/* Container margins */
@media only screen and (min-width: 300px) {
    #headerImage {
        display: none !important;
    }
    #footerlogo {
        display: none !important;
    }
    .title-width {
        width: -webkit-fill-available;
    }
}

@media only screen and (min-width: 425px) {
    #headerImage {
        display: none !important;
    }

    #footerlogo {
        display: none !important;
    }
    .title-width {
        width: -webkit-fill-available;
    }
}



@media only screen and (min-width: 576px) {
    #headerImage {
        display: none !important;
    }
    #footerlogo {
        display: none !important;
    }

    .title-width {
        width: -webkit-fill-available;
    }
}

@media only screen and (min-width: 768px) {
    #headerImage {
        display: none !important;
    }
    #footerlogo {
        display: none !important;
    }
    .title-width {
        width: -webkit-fill-available;
    }


}

@media only screen and (min-width: 992px) {
    #headerImage {
        display: inline-flex !important;
    }
    .title-width {
        width: 33.33%
    }
}

@media only screen and (min-width: 1200px) {
    #headerImage {
        display: inline-flex !important;
    }
    .title-width {
        width: 33.33%
    }
}

@media only screen and (min-width: 1400px) {
    #headerImage {
        display: inline-flex !important;
    }
    .title-width {
        width: 33.33%
    }
}

@media only screen and (min-width: 1600px) {
    #headerImage {
        display: inline-flex !important;
    }
    .title-width {
        width: 33.33%
    }
}

@media only screen and (min-width: 1800px) {
    #headerImage {
        display: inline-flex !important;
    }
    .title-width {
        width: 33.33%
    }
}

@media only screen and (min-width: 2000px) {
    #headerImage {
        display: inline-flex !important;
    }
    .title-width {
        width: 33.33%
    }
}

@media only screen and (min-width: 2200px) {
    #headerImage {
        display: inline-flex !important;
    }
    .title-width {
        width: 33.33%
    }
}

/*this creates the underline when hovering over top links */
nav a {
    text-decoration: none;
    position: relative;
    font-size: 16px;
    color: #fff;
    transition: color 0.3s;
}

    nav a::before {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        background-color: black;
        transition: width 200ms ease;
    }

    nav a:hover {
        color: #0077FF;
    }

        nav a:hover::before {
            width: 110%;
        }


.link-primary:hover {
    cursor: pointer;
}

.form-control-dropdown {
    width: max-content;
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-table {
    width: 100%;
}

/*    .custom-table div {
        height: 105px;
        overflow: hidden;
    }*/

    .custom-table tr:nth-child(even):not(.change-row) {
        background-color: #f2f2f2;
    }
    .custom-table tr.change-row{
        display:none;
    }

    .custom-table td, th {
        padding: 12px;
        vertical-align: top;
    }

    .custom-table textarea{
        border:none;
    }
    .custom-table tr:nth-child(even) textarea{
        background-color: #f2f2f2;
    }

textarea {
    height: 100%;
    width: 100%;
}

/* CSS for the lightbox overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* CSS for the lightbox image */
.lightbox-image {
    max-width: 90%;
    max-height: 90%;
}
th:hover {
    color: #4a4a4a;
    cursor: pointer;
}


/*Document Viewing CSS*/
/* CSS styles for the enlarged element overlay */
.enlarged-element {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

    .enlarged-element img,
    .enlarged-element video {
        max-width: 90%;
        max-height: 90%;
        position: relative;
        z-index: 1003;
    }

/*    .enlarged-element canvas {
        height: 80%;
        width: 77%;
    }*/

/* Overlay to capture click events for the object element */
.overlay {
    position: relative;
    cursor: pointer;
    /* Background color for illustration purposes */
    background-color: rgba(255, 255, 255, 0);
    z-index: 999;
    margin: 10px;
}

.enlargeable-element {
    max-width: 200px;
    max-height: 200px;
    position:relative;
    display:inline;
}

.cover {
    background-color: rgba(0,0,0,0.05);
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1000;
}

.deleteAttachment {
    position: absolute;
    right: 18px;
    z-index: 1001;
    cursor: pointer;
}

#pdfControls button{
    background-color:rgba(0,0,0,0.01);
    color:white;
    border:none;
    font-size:2em;

}

#pdfControls button : {
    background-color: rgba(0,0,0,0.01);
    color: white;
    border: none;
    font-size: 2em;
}

#pdfControls input {
    background-color: white;
    border: none;
    width: 2.75em;
    display:inline;

}


#pdfControls span {
    color:white;
    margin: 0.5em;
}

#pdfControls div {
    margin: 1em;
}


.multiple-select-div {
    border: 1px solid black;
    position: absolute;
    width: auto;
    min-width: 100%;
    top: 4em;
    left: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    max-height: 50vh;
    /*overflow-y: scroll;*/
    background-color: white;
    padding: 0.5em;
}

    .multiple-select-div.active {
        display: flex !important;
    }

.new-status-text {
    color: #d90000;
}

.in-progress-status-text {
    color: #004eeb;
}
