body[data-theme='dark'] .mailbox .drop-title {
    color: rgb(178, 185, 191);
}

.popup .topbar,
.popup .left-sidebar,
.popup .page-breadcrumb,
.popup .footer {
    display: none !important;
}

.popup .page-wrapper {
    margin-left: 0 !important;
}

body,
#main-wrapper,
.page-wrapper {
    min-height: 100vh;
}

.btn-side-menu .sidebar-link {
    opacity: 1 !important;
}

.extra-state {
    position: absolute;
    top: 15px;
    right: 0px;
    z-index: 101;
    font-size: 1.2rem;
}

.extra-state i {
    margin-right: 5px;
}

.form-control {
    border: 1px solid #ddd !important;
}

.align-center {
    text-align: center !important;
}

.align-right {
    text-align: right;
}

.page-header .btn {
    margin-top: -7px;
}

.closed-text {
    font-weight: bold;
    color: red;
}

.tab-pane.active {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.page-header a,
.page-header a:link {
    text-decoration: none;
}

.expanded-list {
    border-top: 1px solid #ddd;
}

.toggle-caret {
    transition: all 0.3s ease;
}

.rotate90 {
    transform: rotate(90deg);
}

.add-docs-label {
    text-align: left !important;
    width: 100%;
}

.material-request-plate {
    display: flex;
    flex-grow: 1;
}

.material-request-wrapper {
    cursor: pointer;
}

.add-docs {
    padding: 5px !important;
}

.document-number {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.add-docs input,
.add-docs select,
.add-docs button,
.add-docs .select2 {
    width: 100% !important;
    margin-bottom: 15px;
    max-width: 100% !important;
    min-width: 100% !important;
}

.padding0 {
    padding: 0 !important;
}

.tab-btns {
    margin-bottom: 10px;
    text-align: right;
}

.CarClockWidgetComponent {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: 15px;
}

.ongoing:hover {
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .CarClockWidgetComponent .ongoing {
        width: 100%;
        max-width: 100%;
    }
    .card-body {
        padding: 0 !important;
        max-width: 100%;
    }
    .start-repair-form {
        height: auto !important;
    }
    .material_tab {
        border-top: 1px solid #ddd;
    }
    .btn_material {
        max-width: 30%;
        min-height: 100px;
    }
    .material_btn_container {
        text-align: center;
    }
    .table-mobile {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .page-content {
        padding: 0 !important;
    }
    .page-content .card {
        padding: 10px !important;
    }
}

.car-widget {
    display: flex;
    flex-direction: column;
}

.car-widget .ongoing {
    display: flex;
    flex-direction: column;
    width: 150px;
    justify-content: center;
    align-content: center;
    align-items: center;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    margin-left: 1px;
    margin-right: 1px;
}

.car-widget .ongoing img {
    height: 115px;
    width: 115px;
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px) {
    .CarClockWidgetComponent .ongoing {
        width: 125px;
        max-width: 125px;
    }
    .btn_material {
        margin-bottom: 15px;
    }
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    .CarClockWidgetComponent .ongoing {
        width: 150px;
        max-width: 150px;
    }
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (max-width: 850px) {
    .btn-repair-type {
        width: 100%;
        margin-bottom: 10px;
    }
    .hidden-xs {
        display: none !important;
    }
}

@media only screen and (min-width: 992px) {
    .CarClockWidgetComponent .ongoing {
        width: 150px;
        max-width: 150px;
    }
}

@media only screen and (min-width: 1200px) {
    .CarClockWidgetComponent .ongoing {
        width: 200px;
        max-width: 200px;
    }
}

.CarClockWidgetComponent .ongoing {
    padding: 2px 0px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-content: center;
    align-items: center;
    position: relative;
    color: #107cb0;
    background: #fff;
    padding: 5px;
    border: 1px solid #ddd;
}

.CarClockWidgetComponent .invoiced {
    border: 3px solid #2cd07e;
}

.fc-axis.fc-widget-header {
    width: 0px !important;
}

.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
    background-color: #2cabe3 !important;
    border-color: #2cabe3 !important;
}

.fc-button-primary:not(:disabled):active:focus,
.fc-button-primary:not(:disabled).fc-button-active:focus {
    box-shadow: none !important;
}

.logo-pic {
    width: 50px;
    height: 50px;
}

.login-body {
    background: url(../img/bg.jpg);
    background-position: center;
    background-size: cover;
}

.machanic {
    font-weight: bold;
    font-size: 17px;
}

.plate {
    font-weight: bold;
    border: 1px solid #107cb0;
    margin-bottom: 15px;
    width: 80%;
    overflow: hidden;
    font-size: 17px;
}

.duration {
    position: absolute;
    top: 40%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
    font-size: 20px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px 1px #333;
}

img.category {
    max-width: 80%;
    height: auto;
    margin: auto;
}

.btn-table {
    width: 500px;
}

.state-container {
    width: 100%;
    text-align: left;
}


/* #sidebarnav {
    overflow-x: hidden;
} */

img.state {
    width: 50px;
    height: auto;
}

.img-responsive-h {
    max-height: 100%;
    display: block;
}

.light-logo,
.dark-logo {
    max-height: 50px;
}


/* The snackbar - position it at the bottom and in the middle of the screen */

#snackbar {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #333;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}


/* Show the snackbar when clicking on a button (class added with JavaScript) */

#snackbar.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}


/* Animations to fade the snackbar in and out */

@-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;
    }
}

.appointments-table {
    width: 100%;
    font-size: 12px;
}

.appointments-table tr {
    border-bottom: 1px solid #ddd;
    color: #666;
}

.appointments-table tr td {
    padding: 10px 2px;
}

.appointments-table tr td a,
.appointments-table tr td a:link {
    text-decoration: none;
    color: #666;
}

.appointments-table tr:hover {
    cursor: pointer;
    background: #eee;
}

.requests {
    border-bottom: 1px solid #ddd;
    padding: 0px;
}

.requests:not(:first-child) {
    margin-top: 15px;
}

.requests .title {
    background: #eee;
    padding: 10px;
    margin: 0;
}

.requests .request {
    font-size: 14px;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.requests .request a,
.requests .request a:link {
    text-decoration: none;
    color: #666;
}

.requests .request p {
    margin: 0;
}

a.form-control-plaintext,
a.form-control-plaintext:link {
    color: #333;
    text-decoration: none;
}

.link {
    color: #107cb0 !important;
}

.bold {
    font-weight: bold !important;
}

.bold .form-control-plaintext {
    font-weight: bold !important;
}

.btn {
    cursor: pointer;
}

.select2-selection--single {
    padding: 5px !important;
    height: 38px !important;
    background: #fff !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
}

.pointer {
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .page-header .btn {
        margin-top: 20px !important;
    }
    .recents-car-row {
        text-align: center !important;
        justify-content: center;
    }
}

.recents-car-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#tabs .tab-pane {
    padding-top: 15px;
}

.recent-cars-containers {
    display: flex;
    flex-direction: column;
}

.recent-cars {
    display: flex;
    flex-direction: row;
}

#tabs .tab-pane table {
    /*width: 100%; */
}

#modal-create-record-target .input-group-append {
    display: none !important;
}

.popup #content {
    padding: 15px;
}

.popup .sidebar,
.popup .sticky-footer,
.popup .navbar {
    display: none !important;
}

.select2-container {
    width: calc(100% - 40px) !important;
    min-width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
}

.required {
    font-weight: bold;
}

.start-repair-form {
    padding-left: 10px;
    padding-top: 10px;
    border-right: 1px solid #ddd;
    height: 100%;
}

.strong {
    font-weight: bold;
}

.center {
    text-align: center;
}

.btn-start-stop {
    width: 100%;
    margin-bottom: 15px;
    height: 50px;
}

.compact label {
    margin-bottom: 0 !important;
}

.compact {
    margin-bottom: 25px;
}

.repair_state {
    font-weight: bold;
}

.step {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.stepper {
    width: 100%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    height: 60px;
    min-height: 60px;
}

.stepper:hover {
    background: #eee;
}

.checkin_category {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #eee;
    cursor: pointer;
    margin-bottom: 15px;
}

.checkin_category img {
    max-width: 100%;
    width: 100%;
}

.stepper .description {
    font-size: 14px;
    color: #333;
    display: flex;
    flex-direction: column;
}

.description-value {
    font-size: 12px;
    font-weight: 300;
}

.step .step-content {
    display: none;
}

.step.active .step-content {
    display: block;
}

.step .stepper .circle {
    display: flex;
    margin-right: 15px;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    font-size: 11px;
    background: #fff;
    border: 3px solid #4e73df;
    border-radius: 50px;
    padding-top: 1px;
}

.stepper.complete .circle {
    background-color: #4e73df;
    color: #fff;
}

.step-content {
    width: 100%;
}

.step-content .card-body {
    padding-top: 30px;
}

.recent {
    width: 200px;
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
}

.recent p {
    margin: 0;
}

.fuel-level-indicator {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.fuel-level-indicator span:nth-child(1) {
    text-align: left !important;
}

.fuel-level-indicator span:nth-child(2) {
    text-align: left !important;
    padding-left: 10px;
}

.fuel-level-indicator span:nth-child(3) {
    text-align: center !important;
}

.fuel-level-indicator span:nth-child(4) {
    text-align: center !important;
    padding-left: 28px;
}

.fuel-level-indicator span:nth-child(5) {
    text-align: right !important;
}

.fuel-level-indicator span {
    width: 25%;
}

.add-line-btn {
    border: 2px solid #4e73df;
    border-radius: 50px;
    background: #fff;
    width: 25px;
    height: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #4e73df;
    font-size: 19px;
}

#lines .job-line-container:last-child {
    margin-bottom: 25px;
}

.job-line-container:nth-child(odd) {
    background: #ddd !important;
}

.job-line-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #efefef;
    padding: 5px;
}

.job-line-container input {
    width: calc(100% - 30px);
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    padding-left: 15px;
}

.trash-btn {
    width: 30px;
    padding-top: 5px;
    padding-left: 5px;
    cursor: pointer;
}

#checkboxes .checkbox {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#checkboxes .opt-desc-ta {
    width: 100%;
}

#checkboxes .opt-desc-in {
    width: 100%;
}

#checkboxes .opt-td {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
}

#damage-canvas {
    border: 1px solid #ccc;
}

#damage-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

#block-canvas-dmg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

#damage-picture {
    border: 1px solid #ddd;
    width: 100%;
}

#signature_canvas {
    border: 3px solid #333;
}

.big-checkbox {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

#modal-loading-content {
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 10px;
}

#pictures {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

#pictures img {
    border: 1px solid #ddd;
    cursor: not-allowed;
    margin-right: 5px;
}

.settings-cboxes {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.dmg-btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 25px;
}

.dmg-btn {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    cursor: pointer;
}

.dmg-btn img {
    width: 100%;
}