﻿* {
    box-sizing: border-box !important;
}

.k-colorpicker .k-input-inner {
    box-sizing: content-box !important;
}


.k-dropdown-wrap {
    background: #f1f1f1 !important;
}

#addVehicle { 
    touch-action:none;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    overscroll-behavior: none;
}

.email-icon-resend {
    /*color: yellow;*/
    font-size: 18pt;
}

.email-icon-send {
    color: red;
    font-size: 18pt;
}
@media screen and (max-width: 500px){
    div#background {
        min-height: 250px !important;
    }
    div.k-window, canvas#signature {
        width: 100% !important;
    }
}

.bold-label
{
    font-weight: bold;
}

/* fixes some formatting for empty fields in the details form
    see: https://stackoverflow.com/questions/14217902/how-to-set-empty-span-height-equal-to-default-line-height */
.general-details span[class^="col-"]:empty:before, .audit-details span[class^="col-"]:empty:before {
    content: "\200b"; /* unicode zero width space character*/
}


#driver-audit-component textarea, #vehicle-audit-component textarea, #operator-audit-component textarea, .audit-comments textarea {
    width: 100%;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

.joblist_table tr th:nth-child(1){
    width: 200px;
}

.joblist_table tr th:nth-child(2) {
    width: 200px;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}


.map{
    min-height: 500px;
    padding-top: 100px;
}

.pac-card {
    margin: 10px 10px 0 0;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    font-family: Roboto;
}

#pac-container {
    padding-bottom: 12px;
    margin-right: 12px;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

.pac-controls label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}

#pac-input {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
    /*display: none;*/
}

#pac-input:focus {
    border-color: #4d90fe;
}

.top-padded{
    padding-top: 8em;
}

.vertical-center {
    min-height: 100%; /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh; /* These two lines are counted as one :-)       */
    display: flex;
    align-items: center;
}

#top-left, #top-right, #bottom-left, #bottom-right {
    min-height: 420px;
}

#top-left .k-grid td, #top-right .k-grid td, #bottom-left .k-grid td, #bottom-right .k-grid td {
   padding-top: 0;
   padding-bottom: 0;
}
    

.jumbotron {
    background-image: url("../images/wrrBackground.png");
    background-size: cover;
    min-height: 600px;
}

.top-padded-sm{
    padding-top: 1.5em;
}

#driver-training-container tr.rag-R {
    background-color: red;
    color: white;
}

#driver-training-container tr.rag-A {
    background-color: #FFBF00;
    color: black;
}

#driver-training-container tr.rag-G {
    background-color: green;
    color: white;
}

#driver-training-container {
    width: 100%;
    overflow-x: scroll;
}

.mt-4{
    margin-top: 4px;
}

:root {
    --kendo-font-size: 1.4rem; /* Base font size- already good */
    --kendo-font-size-sm: 1.1m; /* Small */
    --kendo-font-size-md: 1.2rem; /* Medium  */
    --kendo-font-size-lg: 1.6rem; /* Large */
}