﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
* {
    touch-action: pan-y;
}
/*#region Carousel*/
.carousel-item {
    margin: 0 auto;
    width: 90vw;
    float: none;
}

.carousel-control-prev,
.carousel-control-next {
    bottom: 50%;
    cursor: pointer;
}

.imageSliderArrows {
    bottom: 0 !important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-indicators {
    position: relative;
    margin-bottom: 0;
}
.carousel-indicators li {
    background-color: black;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    margin-right: 2vh;
    opacity: 0.2;
}

.alignSlider {
    display: grid;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
}

.carousel-inner-list {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-text {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.carousel-image {
    margin-top: 3vh;
}
/*#endregion Carousel*/

/*#region Image Summary*/
.mainImage {
    width: 75%;
    object-fit: scale-down;
}
.imageUploadThumbnail,
.imageThumbnail {
    touch-action: pan-x pan-y;
    width: 100%;
    object-fit: cover;
}

.imageUploadThumbnail {
    height: 20vh;
}

.imageThumbnail {
    cursor: pointer;
    height: 25vh;
}

.column-upload,
.column {
    display: inline-block;
    vertical-align: top;
    touch-action: pan-x pan-y;
}

.column {
    width: 25%;
}

.column-upload {
    width: 50%;
}

.imageSummaryContainer {
    margin: 0 20px 20px 20px;
    height: 105%;
}

.imageUploadContainer {
    margin: 20px 20px 20px 20px;
    height: 26vh;
    max-width: 95%;
}

.imageUploadContainer::-webkit-scrollbar,
.imageSummaryContainer::-webkit-scrollbar {
    margin-top: 10px;
    width: 0.8em;
}

.imageUploadContainer::-webkit-scrollbar-track,
.imageSummaryContainer::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
    border-radius: 25px;
}

.imageUploadContainer::-webkit-scrollbar-thumb,
.imageSummaryContainer::-webkit-scrollbar-thumb {
    background-color: darkgray;
    border-radius: 25px;
}

.overflowX {
    white-space: nowrap;
    overflow-x: scroll;
    touch-action: pan-x pan-y;
}

.noXScroll {
    overflow-x: hidden !important;
}

/* Next & previous buttons */
.imagePrev,
.imageNext {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.imageNext {
    right: 2%;
    border-radius: 3px 0 0 3px;
}

.imagePrev {
    left: 2%;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.imagePrev:hover,
.imageNext:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
/*#endregion Image Summary*/

/*#region Text*/
.selectVehicleText {
    margin: 0.3rem 0 0 0;
}

.whiteText{
    color: white !important;
}
.header-font {
    display: inline;
    font-weight: 500;
}
.text-font {
    font-weight: 500;
}

.addendum {
    padding: 0 3vh 10px 3vh;
}

.text-font-questions {
    font-weight: 500;
    padding-bottom: 10px;
}

.mandatory {
    color: red !important;
}

.lineHeight30 {
    line-height: 30px;
}
/*#endregion Text*/
/*#region Container*/
html,
body {
    height: -webkit-fill-available;
}
body {
    overflow-x: hidden;
    background-color: #f0f2f5;
}

html {
    position: relative;
    min-width: 100%;
    font-size: 14px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    user-select: none;
    overflow-x: hidden;
}

.headerColumns {
    display: flex;
    padding: 0;
}

.wrapperNoOverflow {
    overflow: hidden;
}

.wrapper {
    margin: auto;
    display: flex;
    flex-direction: column;
    background-color: #f0f2f5;
}

.wrapperTop {
    border-radius: 0 0 6rem 6rem;
    height: 15vh;
    width: 110vw;
    margin-left: -5vw;
}

.curveBody {
    margin: auto;
    margin-top: -3vh;
    border-radius: 25px;
    background-color: white;
    width: 95vw;
    display: flex;
    flex-direction: column;
}

.container-body {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    height: 100%;
    justify-content: center;
}

.container-header {
    text-align: center;
    margin: 0;
}

.container-footer {
    margin-top: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.modal {
    overflow: hidden !important;
}

.modal-dialog {
    max-width: 100% !important;
}

.modal-content {
    margin-top: -5vh;
    margin-left: 1%;
    width: 98%;
}
/*#endregion Container*/

/*#region Toggle Switch*/
.isACheckbox {
    padding: 2vh !important;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }
/*#endregion Toggle Switch*/

/*#region Content & Images*/
.textboxQuestion {
    width: 100%;
    padding-top: 0.5rem;
    padding-right: 1.5rem;
}

.textboxElement {
    width: 100% !important;
}

.notClickable {
    pointer-events: none;
}

img {
    -webkit-user-drag: none;
}
.photoInfo {
    font-size: 1.5em !important;
}

.photographs {
    width: 100%;
}

.vehicleImages {
    width: 75%;
    margin-bottom: 1% !important;
}

.badgeIcon {
    position: absolute !important;
    font-size: 1.25em !important;
    right: 0;
    top: 5px;
}

.badgeIconSize {
    font-size: 1.5em !important;
    line-height: 1.3 !important;
    color: white;
}

.fa-circle {
    color:white;
}

.dateTimeField {
    width: 100% !important;
    min-width: 60vw !important;
    line-height: 2;
}
.form-control.is-valid {
    line-height: 1.5 !important;
}
.enolReference {
    pointer-events: none;
}
.enolReference > a {
    text-decoration: none;
    color: inherit;
}

.col-form-label {
    padding: 0;
    text-align: end;
}

.progressbar li {
    width: 3em;
    height: 3em;
    text-align: center;
    line-height: 1em;
    border-radius: 2em;
    margin: 0 1em;
    display: inline-block;
    position: relative;
}

.progressbar {
    text-align: center;
    padding: 0px;
    margin: 20px auto;
    width: 100%;
}

.noUnderline,
.instructions {
    text-decoration: none !important;
}

.instructionArrow {
    margin: auto 0 auto 0;
}

.instructionText {
    padding: 0 10px 0 10px;
}

.locate-icon,
.search-icon {
    position: absolute;
    /* Vertically center the icon in the input */
    top: calc(50% - 0.5em);
}

.locate-icon {
    cursor: pointer;
    right: 14%;
    font-size: 30px;
}

.search-icon {
    left: 14%;
    font-size: 16px;
    opacity: 0.5;
}

#searchLocation {
    padding-left: 25px;
}

.custom-wrapper {
    position: relative;
}

.searchBox {
    width: 75%;
    min-width: 75%;
}

.vehicleBox {
    padding: 1%;
    margin: auto;
    cursor: pointer;
}

.vehicleBoxRow {
    margin-bottom: 5%;
}

.damageColour {
    cursor: pointer;
    fill: url(#crosshair-none);
}

.close {
    z-index: 9999;
    position: relative;
}

.postcodeField {
    display: inline;
    width: 60%;
    float: left;
}

#map {
    height: 50vh;
    max-width: 600px;
    margin: auto;
}

.landingButton {
    margin-top: 0 !important;
    margin: 0;
    padding: 5px;
    font-weight: 700;
}

.alignLabel {
    padding-right: 0;
    text-align: right;
}

.customBtn {
    max-width: 50vw;
    padding: 10px !important;
}

.fa-solid {
    font-size: 8em;
    margin-bottom: 20px;
}

.listTextbox {
    max-width: 50vw !important;
    min-width: 40vw !important;
    text-align: center;
}

.listVehicleSelect {
    justify-content: center !important;
}

.list-group {
    display: block;
    margin: auto;
    -webkit-overflow-scrolling: touch;
}

.list-group-horizontal {
    display: flex;
    margin-bottom: 20px;
}

.list-group-item {
    border: 0;
    background-color: transparent;
}

.list-group::-webkit-scrollbar {
    width: 0.8em;
}
.list-group::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
    border-radius: 25px;
}
.list-group::-webkit-scrollbar-thumb {
    background-color: darkgray;
    border-radius: 25px;
}

.errorIcon {
    text-align: center;
    margin: auto;
    color: red;
    font-size: 4em !important;
}

.importantError {
    display: block !important;
}

.selectable {
    cursor: pointer;
}

.largerRadioButtons {
    margin: 1em 1em 0 0;
    transform: scale(1.25);
    -moz-transform: scale(1.25);
    -webkit-transform: scale(1.25);
    -o-transform: scale(1.25);
    transform-origin: 100% 0;
}

input[type='radio']:after,
input[type='radio']:checked:after {
    width: 16px;
    height: 16px;
    border-radius: 16px;
    position: relative;
    content: '';
    display: inline-block;
    visibility: visible;
}

input[type='radio']:after {
    background-color: #9c9c9c;
}

.uploadImagesButton {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: auto;
    display: block;
    width: fit-content !important;
    text-align: center;
}

.uploadImagesButton input[type=file]{
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 0;
    text-align: right;
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.input-group-prepend {
    height: calc(1.5em + 0.75rem + 2px);
}

.centre {
    text-align: center;
}

.marginTopOverride {
    margin-top: 0 !important;
}

.centreRow {
    /*justify-content: center;*/
    align-items: center;
    text-align: center;
}

.justifyCentre {
    justify-content:center;
}

.logo-image {
    height: 8vh;
    margin-top: 3px;
    margin-bottom: 3px;
    max-width: 80%;
}

.header-logo {
    height: 10vh;
}

.no-logo {
    margin-top: 3vh;
}

.textboxes,
.registration-plate {
    border: 2px solid black;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.locationLookupButton {
    margin-top: 0 !important;
    min-width: 35px !important;
    cursor: pointer;
    padding-left: 1vh;
}

.vehicleLookupButton,
.button {
    width: 90%;
    color: white;
    padding: 10px;
    font-weight: 500;
    margin-top: 20px;
    border: 0px;
    min-width: 120px;
}

.vehicleLookupButton {
    background: #d1d1d1;
    margin-top: 0;
    color: #000000;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.horizontal-line {
    border-top: 3px solid black;
    width: 100vw;
    margin-top: 5px;
}


.returnButton,
.infoButton {
    font-size: 2em !important;
    cursor: pointer;
}

.returnButton {
    margin: auto 0 auto 12vw;
}

.infoButton {
    margin: auto 0;
}

.input-group-prepend {
     height: auto; 
     margin: auto;
}

.questionBackground {
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    border-radius: 25px;
    background-color: #e8e8e8;
}

.box {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

.yellow {
    background-color: yellow;
}

.orange {
    background-color: orange;
}

.red {
    background-color: red;
}

.fire {
    background: rgb(252,171,8);
    background: linear-gradient(0deg, rgba(252,171,8,1) 0%, rgba(252,55,5,1) 100%);
}

.noUnderline {
    color: inherit;
}

.centerButton {
    justify-content: center;
    display: flex;
    margin: auto;
}

.thirdpartyBorder {
    border: 2px solid black;
}

.expandClickable {
    padding: 10px;
    margin-bottom: -7px;
}

.panelPadding {
    padding: 0px 16px;
}

.questionButton {
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: center;
}
/*#endregion Content & Images*/
/*#region Breakpoints*/
/*Desktop only*/
@media (pointer: fine), (pointer: none) {
    input [type='radio']:after {
        top: -2px;
        left: -2px;
    }

    input[type='radio']:checked:after {
        top: -2px;
        left: -2px;
    }
}
@media all and (orientation:landscape) {
    @media (min-height: 300px) {
        .imageUploadContainer {
            height: 40vh !important;
        }
        .imageUploadThumbnail {
            height: 34vh !important;
        }
    }

    @media (min-height: 700px) {
        .carousel-inner {
            max-height: 350px !important;
            min-height: 350px !important;
            line-height: 175px !important;
        }
    }


    @media (min-height: 768px) {
        .carousel-inner {
            max-height: 370px !important;
            min-height: 370px !important;
            line-height: 175px !important;
        }
    }

    @media (min-height: 900px) {
        .carousel-inner {
            max-height: 390px !important;
            min-height: 390px !important;
            line-height: 175px !important;
        }
    }

    @media (min-width: 660px) {
        .image-inner {
            max-height: 95vh !important;
            line-height: 2 !important;
        }
        .imageSummaryContainer {
            height: 31vh;
        }
    }

    @media (min-width: 720px) {
        .carousel-inner {
            max-height: 320px !important;
            min-height: 320px !important;
            line-height: 120px !important;
        }
        .image-inner {
            min-height: 100vh !important;
            max-height: 95vh !important;
            line-height: 1 !important;
        }
    }

    @media (min-width: 960px) {
        .carousel-inner {
            max-height: 320px !important;
            min-height: 320px !important;
            line-height: 120px !important;
        }
        .image-inner {
            min-height: 67vh !important;
            line-height: 2 !important;
        }
    }

    @media (min-width: 1024px) {
        .carousel-inner {
            max-height: 380px !important;
            min-height: 380px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 67vh !important;
            line-height: 2 !important;
        }
        .curveBody {
            min-height: 88vh;
        }
    }

    @media (min-width: 1180px) {
        .carousel-inner {
            max-height: 400px !important;
            min-height: 400px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 70vh !important;
            line-height: 2 !important;
        }
    }

    @media (min-width: 1300px) {
        .carousel-inner {
            max-height: 440px !important;
            min-height: 440px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 70vh !important;
            line-height: 2 !important;
        }
        .selectVehicleText {
            margin: 0.1rem 0 0 0;
        }
    }

    @media (min-width: 1368px) {
        .carousel-inner {
            max-height: 450px !important;
            min-height: 450px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 70vh !important;
            line-height: 2 !important;
        }
    }

    @media (min-width: 1900px) {
        .image-inner {
            min-height: 70vh !important;
            line-height: 1 !important;
        }
        .mainImage {
            width: 60%;
        }
        .selectVehicleText {
            margin: 0.2rem 0 0 0;
        }
    }
}

@media all and (orientation:portrait){
    @media (max-width: 375px) {
        .carousel-inner {
            max-height: 400px !important;
            min-height: 400px !important;
            line-height: 140px !important;
        }
        .curveBody {
            margin-top: -6vh;
        }
        .image-inner {
            min-height: 60vh !important;
        }
        .selectVehicleText {
            margin: 0.5rem 0 0 0;
        }
    }

    @media (max-width: 280px) {
        .image-inner {
            min-height: 62vh !important;
        }
    }
    @media (min-width: 280px) {
        .imageThumbnail {
            height: 10vh;
        }

        .imageSummaryContainer {
            height: 13vh;
        }
    }
    @media (min-width: 375px) {
        .carousel-inner {
            max-height: 300px !important;
            min-height: 300px !important;
            line-height: 120px !important;
        }
        .image-inner {
            min-height: 60vh !important;
        }
        .container-footer {
            margin-top: 0 !important;
        }
    }

    @media (min-width: 390px) {
        .image-inner {
            min-height: 50vh !important;
        }
    }

    @media (min-width: 400px) {
        .carousel-inner {
            max-height: 340px !important;
            min-height: 340px !important;
            line-height: 120px !important;
        }
        .image-inner {
            min-height: 50vh !important;
        }
        .container-footer {
            margin-top: auto !important;
        }
    }

    @media (min-width: 540px) {
        .image-inner {
            min-height: 50vh !important;
            line-height: 3 !important;
        }
    }

    @media (min-width: 600px) {
        .carousel-inner {
            max-height: 380px !important;
            min-height: 380px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 56vh !important;
        }
    }

    @media (min-width: 750px) {
        .carousel-inner {
            max-height: 360px !important;
            min-height: 360px !important;
            line-height: 120px !important;
        }
        .image-inner {
            min-height: 56vh !important;
        }
    }

    @media (min-width: 800px) {
        .carousel-inner {
            max-height: 360px !important;
            min-height: 360px !important;
            line-height: 120px !important;
        }

        .image-inner {
            min-height: 50vh !important;
        }
    }

    @media (min-width: 960px) {
        .carousel-inner {
            max-height: 320px !important;
            min-height: 320px !important;
            line-height: 120px !important;
        }
        .image-inner {
            min-height: 50vh !important;
        }
    }

    @media (min-width: 1024px) {
        .carousel-inner {
            max-height: 380px !important;
            min-height: 380px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 56vh !important;
        }
    }

    @media (min-width: 1180px) {
        .carousel-inner {
            max-height: 400px !important;
            min-height: 400px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 56vh !important;
        }
    }

    @media (min-width: 1300px) {
        .carousel-inner {
            max-height: 440px !important;
            min-height: 440px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 56vh !important;
        }
    }

    @media (min-width: 1368px) {
        .carousel-inner {
            max-height: 450px !important;
            min-height: 450px !important;
            line-height: 140px !important;
        }
        .image-inner {
            min-height: 56vh !important;
        }
    }
}

@media (min-width: 280px) {
    .subhead {
        font-size: 1rem !important;
    }

    .bodyText {
        font-size: 1rem !important;
    }

    .numberHeader,
    .headline {
        font-size: 2.27rem !important;
    }
}

@media (min-width: 380px) {
    .subhead {
        font-size: 1.1rem !important;
    }

    .bodyText {
        font-size: 1.1rem !important;
    }

    .numberHeader,
    .headline {
        font-size: 2.57rem !important;
    }
}

@media (min-width: 500px) {
    .subhead {
        font-size: 1.3rem !important;
    }

    .bodyText {
        font-size: 1.3rem !important;
    }

    .numberHeader,
    .headline {
        font-size: 3.27rem !important;
    }
}

@media (min-width: 600px) {
    .subhead {
        font-size: 1.5rem !important;
    }

    .numberHeader,
    .headline {
        font-size: 4.27rem !important;
    }
}

@media (min-width: 760px) {
    .subhead {
        font-size: 1.8rem !important;
    }

    .numberHeader,
    .headline {
        font-size: 5.27rem !important;
    }
}


@media (min-width: 280px) {
    .locationLookupButton {
        font-size: calc(1.25em + 0.75rem + 2px) !important;
    }
}
@media (max-width: 390px) {
    .postcodeMargin {
        margin-left: 5px;
    }
}

@media (min-width: 390px) {
    .locationLookupButton {
        font-size: calc(1.5em + 0.75rem + 2px) !important;
    }
}

@media (min-width: 700px) {
    .imageTextBody,
    .imageTextAltBody {
        font-size: 1.338rem !important;
    }
}

@media (max-height: 667px) {
    .vehicleImages {
        width: 100%;
        margin-bottom: 5% !important;
    }

    .carousel-inner-list {
        max-height: 150px;
        min-height: 150px;
    }
}

@media (min-height: 600px) {
    .curveBody {
        margin-top: -6vh;
    }
}

@media (min-height: 669px) {
    .carousel-inner-list {
        max-height: 200px;
        min-height: 200px;
    }

    .carousel-image {
        margin-top: 5vh;
    }
}

@media (min-height: 896px){
    .carousel-image {
        margin-top: 5vh;
    }
}

@media (min-height: 900px){
    .carousel-image {
        margin-top: 6vh;
    }
}

/*ipad mini*/
@media (min-height: 768px) {
    .listTextbox {
        font-size: 16px;
    }

    .lineHeight30 {
        line-height: 35px;
    }

    .locationLookupButton {
        font-size: calc(2em + 0.75rem + 2px) !important;
    }

    .curveBody {
        margin-top: -6vh;
        min-height: 88vh;
    }
    .landingButton {
        margin-bottom: 1vh;
    }
}

@media (min-width: 1024px) {
    .listTextbox {
        font-size: 22px;
    }

    .lineHeight30 {
        line-height: 35px;
    }

    .locationLookupButton {
        font-size: calc(2em + 0.75rem + 2px) !important;
    }
    .landingButton {
        margin-bottom: 1vh;
    }
}

/*ipad air*/
@media (min-height: 1180px) {
    .carousel-image {
        margin-top: 5vh;
    }
}

@media (min-height: 1368px) {
    .carousel-image {
        margin-top: 5vh;
    }
}
/*#endregion Breakpoints*/