﻿body {
    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;
}

.cursor-pointer {
    cursor: pointer;
}

.dropdown-menu {
    background-color: #f8f9fa;
}

.dropdown-item:hover {
    background-color: #DFE0E1;
}

input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error {
    background: #FEF1EC;
    border: 1px solid #E74C3C;
}

.btn-success {
    color: white;
    background-color: #d4edda;
}



.list-group {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 1em;
}

@media (min-width: 576px) {
    .list-group {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        grid-row-gap: 1em;
    }

}

@media (min-width: 768px) {
    .list-group {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        grid-row-gap: 1em;
    }

}

@media (min-width: 992px) {

    .list-group {
        display: grid !important;
        grid-template-columns: repeat(12, 1fr);
        grid-row-gap: 1em;
    }

}

@media (min-width: 1200px) {
    .list-group {
        display: grid !important;
        grid-template-columns: repeat(15, 1fr);
        grid-row-gap: 1em;
    }
}

.hideOverflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
}
.icon-success {
    color: #155724;


}

.icon-danger {
    color: #721c24;


}

.quick-nav {
    text-decoration: underline !important;
    font-size: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px !important;
    height: 24px !important;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

/* include generated hidden field here */
input[type="checkbox"]:checked + input[type="hidden"] + .slider,
input[type="checkbox"]:checked + .slider {
    background-color: #2196F3;
}

/* include generated hidden field here */
input[type="checkbox"]:focus + input[type="hidden"] + .slider,
input[type="checkbox"]:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

/* include generated hidden field here */
input[type="checkbox"]:checked + input[type="hidden"] + .slider:before,
input[type="checkbox"]:checked + .slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }


#divPageDetails {
    font-size: 10px;
}

.bg-green {
    background-color: #155724
}

.font-green {
    color: #155724
}

.bg-red {
    background-color: #721c24
}

.font-red {
    color: #721c24
}

.bg-traffic-red {
    background-color: #f8d7da;
    color: #721c24 !important;
}

.bg-traffic-amber {
    background-color: #fff3cd;
    color: #856404 !important;
}

.bg-traffic-green {
    background-color: #d4edda;
    color: #155724 !important;
}

.sticky-info {
    position: fixed;
    background-color: white;
    z-index: 1000;
    top: 62px;
    margin-left: -25px;
}

a.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

@media (min-width: 992px) {
    .modal-md
    {
        max-width: 45% !important;
    }
}



.note_card_header {
    padding: 5px;
    background-color: #000080;
    color: white;
    font-weight:500;
    font-size:14px;
}


.note_card {
    border: 1px solid #000080;
}


.card_note_body {
    border: 1px solid #000080;
    padding: 3px;
}

.fixed-column {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: white;
}