html {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    height: 92%;
    font-size: 13px !important;
}

.dashboard-card {
    height: 28em;
    overflow-y: auto;
}

.subQuestions {
    background-color: aliceblue;
    padding: 1em;
}

.pre-line {
    white-space: pre-line;
}

.modal {
    z-index: 10000 !important;
}

table, td, tr, th {
    font-size: 13px !important;
}

#app, .container-fluid, #sidebarMenu {
    height: 100%;
}

#sidebarMenu {
    position: fixed;
    border-right: 1px solid #e3342f;
    margin-top: 0.2em;
    z-index: 5 !important;
    font-size: 12px !important;
    overflow-y: auto;
}

#sidebarMenu .logout {
    margin-bottom: 10em !important;
}

#sidebarMenu p {
    border-bottom: 2px solid #b80000;
}

#sidebarMenu a:hover, #sidebarMenu button:hover {
    text-decoration: none;
}

#sidebarMenu .bg-light a {
    color: #e3342f !important;
    font-weight: bold;
    border-bottom: 2px solid white !important;
}

#sidebarMenu .bg-light a:hover {
    border-bottom: 2px solid #b80000 !important;
}

#sidebarMenu .admin-option {
    background-color: #ff7c00;
}

#sidebarMenu .admin-suboption {
    background-color: #ff4d00;
}

.sidebar-dropdown-active {
    background-color: #b80000 !important;
    font-weight: bold;
}

.sidebar-dropdown-container .bg-light {
    color: #e3342f !important;
    font-weight: bold;
}

#sidebarMenu .hover:hover, #sidebarMenu a:hover, #sidebarMenu button:hover {
    background-color: #aa0202 !important;
    color: white !important;
}

.logo {
    width: 6.5em;
}

.link {
    color: #3791dc;
    font-weight: bold;
}

.quick-links+hr {
    margin-top: 0.5em;
}

.preview {
    height: 10em;
    width: 10em;
    object-fit: contain;
}
.preview-lg {
    height: 13em;
    width: 13em;
    object-fit: contain;
}

.mewpImage {
    max-height: 47em;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
}

.mewpHireImage {
    max-height: 15em;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
}

.checklistDefectImage {
    max-height: 40em;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
}

.mewpData p {
    margin-top: 7.5px;
    margin-bottom: 7.5px;
}

#pdfDiv {
    height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.signature {
    width: 12em;
}

.btn-red {
    color: red;
    background: white;
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.rams p, .rams label {
    color: #807777;
}

.rams .mb-1, .mb-n1 {
    color: black !important;
}

.hide {
    display: none;
}

.page-link {
    color: #e3342f;
}

.page-item.active .page-link {
    background-color: #e3342f;
    border-color: #e3342f;
}

.w-90 {
    width: 90% !important;
}

.table thead th {
    vertical-align: top;
}

#sequence p {
    color: black;
}

.risk-table {
    font-size: 0.9em;
}

.risk-table ul {
    padding-left: 0.9em;
}

.mt-6 {
    margin-top: 5em !important;
}

.flex-1 {
    display: flex !important;
    flex: 1;
    padding: 5px 8px;
}

.close {
    color: white !important;
    opacity: 0.7 !important;
}

.close:hover {
    color: white !important;
    opacity: 1 !important;
}

.alert {
    position: fixed;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    right: 3%;
    top: 12%;
    z-index: 9999;
}

.btn-improvements-section {
    height: 14em !important;
    padding: 1.5em;
}

.text-red {
    color: red !important;
}

.text-orange {
    color: orange !important;
}

.text-green {
    color: green;
}

.text-lightgreen {
    color: lightgreen !important;
}

.text-royalblue {
    color: royalblue;
}

.text-violet {
    color: violet;
}

.text-slategray {
    color: slategray;
}

.text-hotpink {
    color: hotpink;
}

.text-pink {
    color: #ffd4db !important;
}

.text-mediumseagreen {
    color: mediumseagreen;
}

.bg-lightgreen {
    background-color: lightgreen !important;
}

.bg-lightblue {
    background-color: lightblue !important;
}

.bg-lightpapayawhip {
    background-color: #fffaf2 !important;
}

.bg-pink {
    background-color: #ffd4db !important;
}

.bg-papayawhip {
    background-color: papayawhip !important;
}

.bg-red {
    background-color: red !important;
}

.bg-royalblue {
    background-color: royalblue !important;
}

.bg-lightsteelblue {
    background-color: lightsteelblue !important;
}

.table-responsive-overflow {
    overflow-y: auto;
    max-height: 60em;
}

input[type=range].disabled::-webkit-slider-thumb {
    background: green;
}

.method-table figure, .sortMethods figure {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.method-table img, .sortMethods img {
    width: 100%;
    max-width: 550px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #e3342f;
}

.numbering-info {
    font-size: 13px;
    color: red;
    margin: 0;
}

.loader-box {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #343a40, #e3342f);
    height: 78vh;
}

.loader {
    width: 16em;
    height: 8em;
    position: relative;
    overflow: hidden;
}

.loader::before, .loader::after {
    content: "";
    position: absolute;
    bottom: 0;
}

.loader::before {
    width: inherit;
    height: 0.2em;
    background-color: #d9d9d9;
}

.loader::after {
    box-sizing: border-box;
    width: 50%;
    height: inherit;
    border: 0.2em solid #d9d9d9;
    border-radius: 50%;
    left: 25%;
}

.loader span {
    position: absolute;
    width: 5%;
    height: 10%;
    background-color: white;
    border-radius: 50%;
    bottom: 0.2em;
    left: -5%;
    -webkit-animation: 2s linear infinite;
    animation: 2s linear infinite;
    transform-origin: 50% -3em;
    -webkit-animation-name: run, rotating;
    animation-name: run, rotating;
}

.loader span:nth-child(2) {
    -webkit-animation-delay: 0.075s;
    animation-delay: 0.075s;
}

.loader span:nth-child(3) {
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}

.lds-hourglass {
    position: absolute;
    margin-left: 9px;
    margin-top: 3px;
}

.lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    box-sizing: border-box;
    border: 9px solid rgb(0, 0, 0);
    border-color: rgb(0, 0, 0) transparent rgb(0, 0, 0) transparent;
    animation: lds-hourglass 1.2s infinite;
}

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    100% {
        transform: rotate(1800deg);
    }
}

@-webkit-keyframes run {
    0% {
        left: -5%;
    }

    10%, 60% {
        left: calc((100% - 5%) / 2);
    }

    70%, 100% {
        left: 100%;
    }
}

@keyframes run {
    0% {
        left: -5%;
    }

    10%, 60% {
        left: calc((100% - 5%) / 2);
    }

    70%, 100% {
        left: 100%;
    }
}

@-webkit-keyframes rotating {
    0%, 10% {
        transform: rotate(0deg);
    }

    60%, 100% {
        transform: rotate(-1turn);
    }
}

@keyframes rotating {
    0%, 10% {
        transform: rotate(0deg);
    }

    60%, 100% {
        transform: rotate(-1turn);
    }
}

.quick-links {
    font-size: 20px;
    color: #e3342f;
    font-weight: bold;
}

.swal-modal {
    width: 450px !important;
}

.swal-button {
    background-color: #e3342f;
}

.swal-button:hover {
    background-color: #d22a25 !important;
}

.swal-button--cancel {
    background-color: #3490dc;
    color: white;
}

.swal-button--cancel:hover {
    background-color: #2786d4 !important;
}

.swal-text {
    font-size: 18px !important;
}

.notes {
    font-size: 12px;
}

*.hidden {
    display: none !important;
}

div.main-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 16, 16, 0.62);
    z-index: 20000 !important;
}

@-webkit-keyframes uil-ring-anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes uil-ring-anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes uil-ring-anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes uil-ring-anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.uil-ring-css {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
}

.uil-ring-css>div {
    position: absolute;
    display: block;
    width: 160px;
    height: 160px;
    top: 20px;
    left: 20px;
    border-radius: 80px;
    box-shadow: 0 6px 0 0 #ffffff;
    -webkit-animation: uil-ring-anim 1s linear infinite;
    animation: uil-ring-anim 1s linear infinite;
}

body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

.sortMethods {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    min-height: 5em;
    padding: 0.6em;
    padding-bottom: 5em;
    font-size: 12px;
    list-style: none;
}

.sortMethods .draggable-list-item {
    cursor: -webkit-grab;
    cursor: grab;
    padding: 0.5em;
    padding-bottom: 0em;
    margin-bottom: 7px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff0f0;
}

.rams-tabs {
    border-radius: 0.25rem;
    padding: 0;
    position: fixed;
    z-index: 1;
}

.sortMethods .draggable-list-item:hover {
    background-color: #f9d3d3;
}

#methodOfWorkList .draggable-list-item {
    background-color: aliceblue;
}

#methodOfWorkList .draggable-list-item:hover {
    background-color: #d3e7f9;
}

.sortMethods .draggable-list-item:active {
    cursor: -webkit-grabbing !important;
    cursor: grabbing !important;
}

ol.sortMethods .draggable-list-item.placeholder {
    position: relative;
    /** More li styles **/
}

ol.sortMethods .draggable-list-item.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
}

.sidebar-dropdown {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0;
    border-bottom: 2px solid #b80000;
    padding: 5px 8px;
    font-size: 13px;
}

.sidebar-dropdown:focus {
    box-shadow: none !important;
}

.sidebar-caret-down {
    padding: 14px;
    position: absolute;
    right: 0px;
}

.dropdown-menu {
    font-size: 12px;
}

.dropdown-menu.show {
    top: 100% !important;
    right: 2% !important;
    left: auto !important;
}

.sidebar-dropdown-container p {
    padding-left: 11px !important;
    font-size: 11px;
    background-color: #d0211c;
    text-align: left !important;
}

.sidebar-dropdown-container .flex-1 {
    padding: 3px 5px;
}

.sidebar-subdropdown {
    background-color: #ff4d00;
    text-align: left !important;
    font-size: 11px;
    padding: 3px 5px;
}

.card-checklist {
    padding: 1em;
    background: antiquewhite;
}


#filter-dropdown {
    left: 0 !important;
    font-weight: bold;
}

#filter-dropdown li label {
    display: block;
    padding: 3px 10px;
    clear: both;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    margin: 0;
    transition: background-color 0.4s ease;
}

#filter-dropdown li input {
    margin: 0px 5px;
    top: 2px;
    position: relative;
}

#filter-dropdown li.active label {
    background-color: #cbcbff;
    font-weight: bold;
}

#filter-dropdown li label:hover, #filter-dropdown li label:focus {
    background-color: #f5f5f5;
}

#filter-dropdown li.active label:hover, #filter-dropdown li.active label:focus {
    background-color: #b8b8ff;
}

.filter-box {
    padding-left: 0px !important;
}

.filter-employee-overflow {
    max-height: 55em !important;
    overflow-y: auto !important;
}

/* Small screen */

@media (max-width: 767px) {
    .filter-box {
        padding-left: 14px !important;
        margin-bottom: 15px !important;
        max-height: 25em !important;
    }

    .filter-employee-overflow {
        max-height: 25em !important;
        margin-right: 2em !important;
    }

    #filter-dropdown {
        margin-left: 1.13em !important;
        margin-top: 0em !important;
    }

    #sidebarMenu {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        z-index: 10;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        margin-top: -2px;
        position: relative;
        display: block;
    }

    #sidebarMenu .logout {
        margin-bottom: 0em !important;
    }

    .display-small-none {
        display: none;
    }

    .mt-md-7 {
        margin-top: 5.5em !important;
    }

    .swal-overlay--show-modal .swal-modal {
        width: 75% !important;
    }
}

@media (max-width: 992px) {
    .display-md-none {
        display: none;
    }
}

.table-hover tbody tr:hover {
    background-color: #dfedf9 !important;
}

.component {
    background-color: white !important;
    cursor: pointer !important;
}

/* Vehicle Checklist */
.object-fit-contain{
    object-fit: contain;
}

.checkmark {
    font-family: arial;
    -ms-transform: scaleX(-1) rotate(-35deg);
    -webkit-transform: scaleX(-1) rotate(-35deg);
    transform: scaleX(-1) rotate(-35deg);
    margin-top: -3px;
}
