﻿body {
    /*padding-top: 0px;*/
    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;*/
}

.field-validation-error {
    color: red;
}

.input-validation-error {
    border: 2px solid red;
}

#MVCGrid_Loading_RepairItemsGrid {
    display: none;
}

.table_repair_progress {
    background-color: white;
}

    .table_repair_progress > tbody > tr > td {
        color: black;
    }

.table_record_red {
    color: red !important;
}

.legend_repair_progress {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 2px;
    margin-bottom: 0;
}

.legend_reported {
    background-color: #afdffb;
}

.legend_scheduled {
    background-color: #e29090;
}

.legend_started {
    background-color: #ffffb3;
}

.legend_finished {
    background-color: #a4e49c;
}

.progress_container {
    padding-left: 0;
}

.btn_mutate {
    float: right;
}

.add_mutate_repair_content {
    margin-bottom: 50px;
    overflow: auto;
}


/*LOADING SPINNER*/
.center-div {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -150px;
}

.spinner {
    position: fixed;
    z-index: 1031;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.9;
}

.loader {
    margin: auto;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #15a0ec;
    border-bottom: 16px solid #15a0ec;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.inner-div {
    background-color: white;
    border-radius: 15px;
    margin: auto;
    padding: 2%;
    width: 150px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* END LOADING SPINNER*/

.outputSlider {
    float: left;
    margin-right: 2px;
}

.fillingDegreeSlider {
    -webkit-appearance: none;
    float: right;
    margin-top: 15px;
}

    .fillingDegreeSlider:focus {
        outline: none;
    }

    .fillingDegreeSlider::-webkit-slider-runnable-track {
        width: 100%;
        height: 8.4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        background: #0576BD;
        border-radius: 1.3px;
        border: 0.2px solid #010101;
    }

    .fillingDegreeSlider::-webkit-slider-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 16px;
        width: 16px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -4px;
    }

    .fillingDegreeSlider:focus::-webkit-slider-runnable-track {
        background: #0576BD;
    }

    .fillingDegreeSlider::-moz-range-track {
        width: 100%;
        height: 8.4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        background: #0576BD;
        border-radius: 1.3px;
        border: 0.2px solid #010101;
    }

    .fillingDegreeSlider::-moz-range-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 36px;
        width: 16px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
    }

    .fillingDegreeSlider::-ms-track {
        width: 100%;
        height: 8.4px;
        cursor: pointer;
        animate: 0.2s;
        background: transparent;
        border-color: transparent;
        border-width: 16px 0;
        color: transparent;
    }

    .fillingDegreeSlider::-ms-fill-lower {
        background: #0576BD;
        border: 0.2px solid #010101;
        border-radius: 2.6px;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    }

    .fillingDegreeSlider::-ms-fill-upper {
        background: #0576BD;
        border: 0.2px solid #010101;
        border-radius: 2.6px;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    }

    .fillingDegreeSlider::-ms-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 16px;
        width: 16px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
    }

    .fillingDegreeSlider:focus::-ms-fill-lower {
        background: #0576BD;
    }

    .fillingDegreeSlider:focus::-ms-fill-upper {
        background: #0576BD;
    }

.clickableNotification {
    cursor: pointer;
    border-bottom: 1px solid;
    border-top: 1px solid;
    border-color: lightgray;
}

    .clickableNotification :hover {
        background-color: #cbdaf2;
    }

/*AUTOMATIC IMPORT MODULE */

.ImportIncrementBackgroundGray,
.ImportIncrementBackgroundOrange,
.ImportIncrementBackgroundYellow {
    height: 38px;
    border-radius: 4px;
    border-width: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.ImportIncrementBackgroundGray {
    background-color: #d9d9d9;
    z-index: 1;
}

.ImportIncrementBackgroundOrange {
    background-color: #ff892e;
    z-index: 2;
}

.ImportIncrementBackgroundYellow {
    background-color: #ffd614;
    z-index: 3;
}

.ImportIncrementLabel {
    font-size: 18px;
    font-weight: bold;
    color: #19224a;
    text-align: center;
    vertical-align: middle;
    z-index: 4;
    width: 100%;
    height: 38px;
    position: absolute;
    top: 6px;
    left: 0;
}

.disabledAction {
    opacity: 0.25;
    background-color: #9f9f9f !important;
    pointer-events: none;
}


.checkboxcontainer2 input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
    padding: 10px;
}

/*CUSTOM CHECKBOX*/
.checkboxcontainer input {
    display: none;
}

.checkboxcontainer {
    display: inline-block;
    padding-left: 30px;
    position: relative;
    cursor: pointer;
    user-select: none;
}

    .checkboxcontainer .checkmark {
        display: inline-block;
        width: 20px;
        height: 20px;
        background: white;
        position: absolute;
        left: 0;
        top: 0;
        border: 1px solid black;
    }

    .checkboxcontainer input:checked + .checkmark {
        background-color: #1390e5;
        border: 1px solid #1390e5;
    }

    .checkboxcontainer input:indeterminate + .checkmark {
        background-color: #1390e5;
        border: 1px solid #1390e5;
    }

    .checkboxcontainer input:checked + .checkmark:after {
        content: "";
        position: absolute;
        height: 6px;
        width: 11px;
        border-left: 2px solid white;
        border-bottom: 2px solid white;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .checkboxcontainer input:checked:disabled + .checkmark {
        border: 1px solid grey;
        background-color: grey;
    }

    .checkboxcontainer input:disabled + .checkmark {
        border: 1px solid grey;
    }

    .checkboxcontainer input:indeterminate + .checkmark:after {
        content: "";
        position: absolute;
        height: 0px;
        width: 11px;
        border-left: 2px solid white;
        border-bottom: 2px solid white;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(180deg);
    }


/*PLANNING LOG*/
.PlanningLogContainer {
    max-height: 108px;
    overflow: hidden;
    transition: max-height 500ms linear;
}

    .PlanningLogContainer.expanded {
        max-height: 300px;
        transition: max-height 500ms linear;
    }

.divFade {
    position: relative;
    height: 60px;
    top: -60px;
    margin-bottom: -60px;
    background: -webkit-linear-gradient( rgb(243, 243, 243, 0) 0%, rgb(243, 243, 243, 80) 100% );
}

.validation-summary-errors ul li {
    color: #ff0000;
}

.div-container {
    border-style: solid;
    border-width: 3px;
    border-color: var(--border-color);
}

#RoutesTable {
    margin-top: 85px;
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: separate;
    width: 95%;
    margin: 30px auto;
}

    #RoutesTable td, #RoutesTable th {
        border: 1px solid #ddd;
        padding: 8px;
    }

#RoutesTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

#RoutesTable tr:hover {
    background-color: #ddd;
}

    #RoutesTable th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #DAE3F3;
        color: #555555;
    }

    .lt {
        border-top-left-radius: 10px;

    }

.rt {
    border-top-right-radius: 10px;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    max-width:600px;
    margin-left: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    transform: translate(-50%)
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s;
        animation: fadein 0.5s;
    }

    #snackbar.hide {
        -webkit-animation: fadeout 0.5s 2.5s;
        animation: fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* The Modal (background) */
.modalBox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 25%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modalBox-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 25%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }