﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    overscroll-behavior: contain;
}

#app {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.w-100 {
    width: 100%;
}

.w-33 {
    width: 33%;
}

.w-25 {
    width: 25%;
}

.btn150 {
    width: 150px;
}

.btn200 {
    width: 200px;
}
/*.sefi-nolisticon > input::-webkit-calendar-picker-indicator {
    opacity: 0;
}*/

/*select.form-control {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}*/

/*blazor .net 5.0 base css*/
.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/*blazor end css*/

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

main {
    flex: 1;
    overflow: auto;
}

    main .top-row {
        /*background-color: #e6e6e6;*/
        /*background-image: linear-gradient(0deg, var(--secondary) 0%, var(--secondary) 70%);*/
        border-bottom: 1px solid #d6d5d5;
    }

.module-root {
    flex: 1;
    overflow: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 0.5rem 0.5rem 0.5rem;
}

.module-primary-content {
    display: flex;
    overflow: hidden;
    /*min-height: 10rem;*/
}

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    /*background-image: linear-gradient(0deg, var(--secondary) 0%, var(--secondary) 70%);*/
}

    .sidebar .top-row {
        /*background-image: linear-gradient(0deg, var(--secondary) 0%, var(--secondary) 70%);*/
        /*background-color: rgba(0,0,0,0.4);*/
    }

    .sidebar .navbar-brand {
        /*font-size: 1.1rem;*/
    }

    .sidebar .oi {
        /*width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;*/
    }

.nav-header-separator {
    margin: 0;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.content {
    padding-top: 1.1rem;
}

.navbar {
    padding: 0.5rem 0;
}

/*.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}*/

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.header-logo-lg {
    width: 150px;
}

.ao-home-btn {
    cursor: pointer;
}

.header-logo {
    width: 65px;
    height: 40px;
    margin-top: 5px;
    background-image: url(../../images/aoscanTechnologyVertical-logo-white.svg);
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 10px !important;
}

/*boostwatch cyborg theme fix TODO*/
hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#photoContainer {
    overflow: hidden;
}

#photo {
    background-size: cover;
}

#cameraVideo {
    object-fit: cover;
}

#avatar {
    width: 1.5rem;
    height: 1.5rem;
    background-size: cover;
}

.avatar-small {
    width: 3rem;
    height: 3rem;
    min-width: 42px;
    min-height: 42px;
    background-size: cover;
}

/******************* Functional Infrared Study View ************************/
.functionalinfraredstudyview-title {
    color: black;
    font-weight: bold;
}

.functionalinfraredstudyview-table {
    background-color: white;
    color: black;
    padding: 0px 15px 10px 15px;
    margin: 10px 0px 10px 0px;
    width: 100%;
    min-height: 15px;
}

.functionalinfraredstudyview-clientinfo-col {
    width: 75px;
    padding: 3px;
    font-weight: bold;
}

.functionalinfraredstudyview-clientinfo-col-name {
    width: 99%;
    font-weight: bold;
}

.functionalinfraredstudyview-clientinfo-row {
    border: 3px solid black;
}

.functionalinfraredstudyview-scantest-row {
}

.functionalinfraredstudyview-image-button {
    min-width: calc(15vh + 6px);
    min-height: calc(15vh + 6px);
    max-width: 50%;
}

.functionalinfraredstudyview-image {
    min-width: calc(15vh);
    min-height: calc(15vh);
    max-width: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.functionalinfraredstudyview-slider {
    z-index: 0;
}

.functionalinfraredstudyview-noslider::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: none transparent;
    border: 0;
}

.functionalinfraredstudyview-noslider::-moz-range-track {
    -moz-appearance: none;
    background: none transparent;
    border: 0;
}


.functionalinfraredstudyview-slider::-webkit-slider-thumb {
    /*outline: 0;*/
    pointer-events: all;
    position: relative;
    z-index: 1;
    transform: scaleY(2) scaleX(3);
}

.functionalinfraredstudyview-slider::-moz-range-thumb {
    pointer-events: all;
    position: relative;
    z-index: 1;
    transform: scaleY(2) scaleX(3);
    /*-moz-appearance: none;*/
}

.functionalinfraredstudyview-slider-nobar::-webkit-slider-thumb {
    /*outline: 0;*/
    pointer-events: all;
    position: relative;
    z-index: 1;
    transform: scaleY(2) scaleX(3);
}

.functionalinfraredstudyview-slider-nobar::-moz-range-thumb {
    pointer-events: all;
    position: relative;
    z-index: 1;
    transform: scaleY(2) scaleX(3);
    /*-moz-appearance: none;*/
}

.functionalinfraredstudyview-slider-notab::-webkit-slider-thumb {
    /*outline: 0;*/
    display: none;
}

.functionalinfraredstudyview-slider-notab::-moz-range-thumb {
    display: none;
    /*-moz-appearance: none;*/
}

.functionalinfraredstudyview-slider-notab + datalist {
    display: block;
    margin-bottom: -20px;
}

    .functionalinfraredstudyview-slider-notab + datalist option:first-child {
        width: calc((((100% - 12px) / 255) * var(--val-1)) + 12px);
        text-align: right;
        font-weight: bolder;
        font-size: 35px;
        color: blue;
        z-index: 0;
        padding-right: 0px;
    }

    .functionalinfraredstudyview-slider-notab + datalist option:nth-child(2) {
        width: calc((((100% - 12px) / 255) * var(--val-2)) - 2px);
        text-align: right;
        font-weight: bolder;
        font-size: 35px;
        color: red;
        z-index: 0;
        padding-right: 0px;
    }

    .functionalinfraredstudyview-slider-notab + datalist option:nth-child(3) {
        width: calc((((100% - 12px) / 255) * var(--val-1)) + 43px);
        text-align: right;
        font-weight: bolder;
        font-size: 18px;
        color: white;
        z-index: 2;
        padding-right: 0px;
        position: absolute;
        margin-top: 29px;
        margin-left: -13px;
        pointer-events: none;
    }

    .functionalinfraredstudyview-slider-notab + datalist option:nth-child(4) {
        width: calc((((100% - 12px) / 255) * (var(--val-2) + var(--val-1))) + 30px);
        text-align: right;
        font-weight: bolder;
        font-size: 18px;
        color: white;
        z-index: 2;
        padding-right: 0px;
        position: absolute;
        margin-top: 29px;
        pointer-events: none;
    }

    .functionalinfraredstudyview-slider-notab + datalist option:last-child {
        width: calc((((100% - 12px) / 255) * var(--val-3)) + 30px);
        text-align: right;
        font-weight: bolder;
        font-size: 18px;
        color: white;
        z-index: 2;
        padding-right: 0px;
        position: absolute;
        margin-top: 3px;
        pointer-events: none;
    }

.functionalinfraredstudyview-slider-warm::-webkit-slider-thumb {
    background-color: red;
}

.functionalinfraredstudyview-slider-warm::-moz-range-thumb {
    background-color: red;
}

.functionalinfraredstudyview-slider-cold::-webkit-slider-thumb {
    background-color: blue;
}

.functionalinfraredstudyview-slider-cold::-moz-range-thumb {
    background-color: blue;
}

.functionalinfraredstudyview-slider-mid::-webkit-slider-thumb {
    background-color: purple;
}

.functionalinfraredstudyview-slider-mid::-moz-range-thumb {
    background-color: purple;
}

.functionalinfraredstudyview-slider-mid::-webkit-slider-thumb::after {
    content: 'test';
}

.functionalinfraredstudyview-slider-mid::-moz-range-thumb::after {
    content: 'test';
}

.functionalinfraredstudyview-slider {
    pointer-events: none;
    position: absolute;
    /*overflow: hidden;*/
}

.functionalinfraredstudyview-slider-nobar {
    pointer-events: none;
    /*overflow: hidden;*/
}

div > .functionalinfraredstudyview-slider input:last-of-type::-webkit-slider-thumb {
    appearance: none;
    background: none transparent;
    border: 0;
}

/*section.range-slider input::-moz-range-track {
    position: relative;
    z-index: -1;
    background-color: rgba(0, 0, 0, 1);
    border: 0;
}*/

/*section.range-slider input[type=range]::-moz-focus-outer {
    border: 0;
}*/