  @font-face {
    font-family: 'Chillax-Regular';
    src: url('../fonts/Chillax-Regular.woff2') format('woff2'),
         url('../fonts/Chillax-Regular.woff') format('woff'),
         url('../fonts/Chillax-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
  }
  @font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Medium.woff2') format('woff2'),
         url('../fonts/Chillax-Medium.woff') format('woff'),
         url('../fonts/Chillax-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
  }
  @font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Bold.woff2') format('woff2'),
         url('../fonts/Chillax-Bold.woff') format('woff'),
         url('../fonts/Chillax-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
  }

* {
    font-family: 'Chillax',sans-serif;
}

body {
    color: #072534;
}

b, strong {
    font-weight: 700;
}

a {
    color: #006262;
}
a:hover {
    color: #ed8b00;
}

html,body {
	height:100%;
    font-weight: normal;
}

.container.full-screen, .container.full-screen .row {
	height:100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(0,0,0,0.81);
}

.flex-row, .flex-row > div[class*='col-'] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex:0 auto;
    height:100%;
}

.flex-col {
    display: flex;
    display: -webkit-flex;
    flex: 1;
	flex-flow: column nowrap;
}

.flex-grow {
	display: flex;
    -webkit-flex: 2;
    flex: 2;
}

body {
  padding-top: 3.5rem;
}

.vehicle-mask, .vehicle-placeholder {

}
.card-img-bottom {
    border-bottom-left-radius: calc(.25rem - 1px);
    border-bottom-right-radius: calc(.25rem - 1px);
}
.vehicle-mask {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.81;
    z-index: 1;
}
.vehicle-mask.card-img-bottom {
    top: auto;
    bottom: 0;
}
.vehicle-placeholder {
    z-index: 0;
}
.vehicle-viewname-hint {
    position: absolute;
    top: 10%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    border: 5px solid #212529;
    transform: translateX(-50%) translateY(-50%);
    background-color: white;
    padding: 5px 10px;
    z-index: 1;
}
.vehicle-viewname-hint span {
    font-weight: bold;
    font-size: 1em;
}
.vehicle-viewname-hint-mobile {
    top: 25% !important;
}
.badge.badge-heading {
    font-size: 100%;
}
.navbar-brand {
    position: relative;
    padding-left: 0;
    margin-right: 0;
}
.navbar-brand img {
    position: relative;
    top: 0;
    left: 0;
    height: 41px;
    z-index: 1;
    margin-right: 20px;
}
.navbar-brand span {
    z-index: 10;
    font-size: 14px;
}
.navbar-light .navbar-brand {
    color: #072534;
}

.badge-primary {
    background: #006262;
}
.btn-primary {
    background: #006262;
    border-color: transparent;
}
.btn-primary:hover {
    background: #008282;
    border-color: transparent;
}
.btn-outline-primary {
    color: #006262;
    border-color: #006262;
}
.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #006262;
    border-color: #006262;
}
.btn-primary.focus, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(238,76,20,.5);
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    border-color: transparent;
}
.btn-group-lg>.btn, .btn-lg {
    border-radius: 2rem;
}
.border-primary {
    border-color: #006262!important;
}
h2 {
    color: #072534;
}
h2 + .lead {
    font-size: 18px;
    color: #072534;
    padding-top: 6px;
}
h2 .badge {
    background-color: #ffd540;
    line-height: 1;
    color: #0f3549;
    font-size: 80%!important;
    vertical-align: top;
    font-weight: 600;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(238,76,20,.3);
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #ed8b00;
    background-color: #ed8b00;
}
.custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #ed8b00;
}

#photo-container {

}
#photo-container img {
/*    position: absolute;
    left: 0;
    top: 0;*/
/*    width: 1600px;
    height: auto;
    object-fit: contain; */
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 100%;
    max-height: 100%;
}
.action-container {
    z-index: 3;
    padding: 1em;
    position: absolute;
    z-index: 1030;
    /*background: white;*/
}
.btn {
    border-radius: 2em;
}
.position-absolute-tl {
    position: absolute;
    left: 0;
    top: 0;
}
.position-absolute-tr {
    position: absolute;
    right: 0;
    top: 0;
}
.position-absolute-bl {
    position: absolute;
    left: 0;
    bottom: 0;
}
.position-absolute-br {
    position: absolute;
    right: 0;
    bottom: 0;
}

#video-feed, #rotate-caption {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
#rotate-caption {
    z-index: 4;
    display: none;
    background: black;
    width: 100%;
    height: 100%;
}
#rotate-caption span {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
#rotate-caption i {
    font-size: 7em;
}

/* fix for extra small screens */
.navbar-light .navbar-toggler {
    background: white;
    position: absolute;
    right: 0.7em;
    top: 0.4em;
}
.fixed-top {
    z-index: 1031;
}
#image-upload-form {
    display: none;
}


.required label {

}
.required label:not(.custom-control-label):not(.custom-checkbox):after {
    content:"*";
    color: red;
    font-size: 1.5em;
    line-height: .7em;
}
.asterisk {
    color: red;
    font-size: 1.5em;
}
textarea.form-control {
    height: 10rem;
}

.custom-file-label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 5.4rem;
}
abbr[data-original-title], abbr[title] {
    text-decoration: none;
    border-bottom: 1px dashed gray;
}

/** COLORPICKER **/
:root {
    --primary-color: 240,100,0;
}
.clockpicker-popover .popover-header {
    background-color: #006262;
    background-image: linear-gradient(to right, #ed8b00, #006262);
}
.btn-flat-primary, .btn-flat-primary:active, .btn-flat-primary:focus,
.btn-flat-primary:hover, .btn-outline-primary, .btn-outline-primary:active,
.btn-outline-primary:focus, .btn-outline-primary:hover {
    color:  #006262;
}
.clockpicker-canvas line {
    stroke: #006262;
}
.clockpicker-canvas-bearing {
    fill: #006262;
}
.datepicker table tr td.active:hover, .datepicker table tr td.active:hover:hover,
.datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active:active, .datepicker table tr td.active:hover:active,
.datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.active, .datepicker table tr td.active:hover.active,
.datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled, .datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active[disabled], .datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active.disabled:hover[disabled],
.datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active:active, .datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.active, .datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled, .datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active[disabled], .datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active.disabled:hover[disabled] {
    background-color: #006262;
    background-image: linear-gradient(to right, #ed8b00, #006262);
}

/* site styles */
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-width: 2px;
}
.invalid-feedback {
    font-weight: bold;
}
#vehicle-documents-options-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

@media (max-width: 980px) {
    .navbar-brand img {
        height: 30px;
    }
}
main.container {
    padding-bottom: 30px;
}
.btn-outline-primary {
    border-color: #339B9B;
    color: #339B9B;
}
.action-container > .btn-outline-warning {
    border-color: #FFC905;
    color: #FFC905;
    background-color: #ffd540;
    color: #072534;

}
.action-container > .btn-outline-warning:hover {
    background-color: #ffe279;
}
.panel .action-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.panel .action-container > button {
    width: auto;
}
.btn i {
    margin-right: 5px;
}
.h1, h1 {
    font-size: 38px;
    margin-bottom: 20px;
}
.lead {
    font-size: 20px;
}
.btn {
    padding: 11px 23px;
    line-height: 1;
    font-size: 17px;
    font-weight: 500;
}
.btn-primary {
    background-color: rgb(15, 53, 73)!important;
    color: #fff;
}
.btn-primary:hover {
    background-color: #3e5d6d!important;
}
.btn.btn-sm.btn-outline-primary {
    border-color: #fff;
    color: #fff;
}
.btn.btn-sm.btn-outline-primary:hover {
    background-color: #0f3549;
    color: #0f3549;
    border-color: #0f3549;
}
.not_found_title {
    margin-top: 40px;
}
@media screen and (max-width:500px) {
    .h1, h1 {
        font-size: 29px;
    }
    .lead {
        font-size: 18px;
    }
    .control_buttons_footer {
        width: calc(100% - 160px);
        gap: 0 10px;
        max-width: 400px;
    }
    
    .control_buttons_footer > a {
        flex: 1;
        width: auto;
        text-align: center!important;
    }
    
    .control_buttons_footer > a i {
        display: none;
    }
    
    #photo-container .btn {
        font-size: 13px;
        padding: 9px 14px;
    }
}