﻿@import url("./fonts.css");
@import url("./animations.css");

html, body {
    font-family: 'Roboto', Helvetica Neue, Helvetica, Arial, sans-serif;
    /*background-color: #191d21;*/
    background-color: #FCFCFC;
    color: #4A494A;
    font-size: 14px;
}

.vh-25 {
    height: 25vh !important;
}

/* Scollbar */
.scrollbar::-webkit-scrollbar-track,
.scrollbar-thin::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #F5F5F5;
    border-radius: 0.625rem;
}

.scrollbar::-webkit-scrollbar,
.scrollbar-thin::-webkit-scrollbar {
    width: 0.75rem;
    background: transparent;
    border-radius: 0.625rem;
    height: 16px;
}

.scrollbar::-webkit-scrollbar-track-piece:end,
.scrollbar-thin::-webkit-scrollbar-track-piece:end {
    background: transparent;
    margin-bottom: 1rem;
}

.scrollbar::-webkit-scrollbar-track-piece:start,
.scrollbar-thin::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 1rem;
}

.scrollbar::-webkit-scrollbar-track,
.scrollbar::-webkit-scrollbar-track-piece,
.scrollbar-thin::-webkit-scrollbar-track,
.scrollbar-thin::-webkit-scrollbar-track-piece {
    background: transparent;
    -webkit-box-shadow: none;
}

.scrollbar::-webkit-scrollbar-thumb,
.scrollbar-thin::-webkit-scrollbar-thumb {
    border-radius: 0.625rem;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #888888;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 0.375rem;
}

/*.scrollbar-gold::-webkit-scrollbar-thumb {*/
/*    background-color: #daa74d;*/
/*}*/

h1:focus {
    outline: none;
}

.content {
    padding-top: 1.1rem;
}

/*Links, Buttons, and Dropdowns*/

a, .btn-link {
    color: #daa74d;
    text-decoration: none;
    cursor: pointer;
}

.btn-check:focus + .btn, .btn:focus {
    box-shadow: none;
}

a:hover, .btn-link:hover {
    color: #daa74d;
}

.btn-link.cancel-link {
    color: #595959;
}

.btn-link.cancel-link:hover {
    color: #595959;
    text-decoration: underline;
}

.btn-link.details {
    color: #daa74d!important;
}

.btn-primary {
    color: #000;
    border: solid 1px transparent;
    background-color: #daa74d;
    border-radius: 50px;
    padding: 8px 30px;
    /*background-size: 300% 100%;
transition: all .6s ease-in-out;*/
    /*background-image: linear-gradient(to right, #daa74d, #e9af03, #daa74d);*/
}

.btn-primary:hover, .btn-primary:focus, .btn-check:active + .btn-primary, .btn-check:checked + .btn-primary, .btn-primary.active, .btn-primary:active,
.show > .btn-primary.dropdown-toggle {
    background-position: -50% 0;
    border: solid 1px transparent !important;
    background-color: #ecb554 !important;
    color: #000 !important;
}

.btn:focus-visible {
    border: solid 1px transparent !important;
    background-color: #ecb554 !important;
    color: #000 !important;
    box-shadow: none;
}
    
.btn-outline-secondary {
    color: #000;
    background-color: #FBF6ED;
    border: solid 1px #daa74d;
    border-radius: 50px;
    padding: 8px 30px;
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active, .btn-outline-secondary.active {
    color: #000!important;
    background-color: #daa74d!important;
    border: solid 1px #daa74d!important;
}

.btn-check:active + .btn-primary:focus, .btn-check:checked + .btn-primary:focus, .btn-primary.active:focus, .btn-primary:active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-check:active + .btn-outline-secondary:focus, .btn-check:checked + .btn-outline-secondary:focus, .btn-outline-secondary.active:focus,
.btn-outline-secondary.dropdown-toggle.show:focus, .btn-outline-secondary:active:focus {
    box-shadow: none;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #000;
    background-color: #daddde;
    border: solid 1px #daddde;
}

/*Table dropdown*/
.dropdown-item.active, .dropdown-item:active {
    color: #daa74d;
    text-decoration: none;
    background-color: #fbf6ed;
}

.dropdown-menu-dark .dropdown-item.active, .dropdown-menu-dark .dropdown-item:active {
    color: #fafafa;
    background-color: #daa74d;
}

/*Nav links*/

.navbar-light .navbar-nav .nav-link, .nav-link {
    color: #fff;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .navbar-light .navbar-nav .nav-link.active {
    color: #daa74d;
}

.navbar-light .navbar-nav .nav-link:hover, .nav-link:hover {
    color: #daa74d;
}

.navbar-light .navbar-nav .nav-link:focus, .nav-link:focus {
    color: #daa74d;
}

/*Accordions*/
.accordion-button:focus {
    border-color: unset;
    box-shadow: none;
}

/*Background and text colors*/
.text-pink {
    color: #ff44d7;
}

.text-blue {
    color: #3cd9fd;
}

.text-purple {
    color: #a538ff;
}

.text-yellow {
    color: #ffe000;
}

.text-green {
    color: #03ad03
}

.text-orange {
    color: #ff8100;
}

.text-red {
    color: #fd3c3c;
}

/*.bg-dark {
    background-color: #212529 !important;
}*/

.bg-pink {
    background-color: #ff44d7;
}

.bg-blue {
    background-color: #3cd9fd;
}

.bg-purple {
    background-color: #a538ff;
}

.bg-yellow {
    background-color: #ffe000;
}

.bg-green {
    background-color: #03ad03
}

.bg-orange {
    background-color: #ff8100;
}

.bg-red {
    background-color: #fd3c3c;
}

.bg-gray {
    background-color: #f1f1f1;
}

.bg-dark-gray {
    background-color: #071922;
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Error UI */

#blazor-error-ui {
    color: white;
    background: #343a40;
    bottom: 0;
    box-shadow: 0 -1px 2px #000000;
    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 .reload {
    font-weight: bold;
    color: #daa74d;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Update Available */

#update-available {
    visibility: hidden;
    background-color: #4A494A;
    color: #fff;
    text-align: center;
    border-radius: .5rem;
    padding: 1rem;
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -10%);
}

#update-available.show {
    visibility: visible;
    -webkit-animation: updateFade 0.5s;
    animation: updateFade 0.5s;
}

#update-available a.reload {
    color: #daa74d;
    cursor: pointer;
    font-weight: bold;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* Icons */

.close-icon {
    content: url("/images/close-icon.svg");
    width: 1rem;
}

/* Loader */

#wrapper {
    background: #525252;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    position: fixed;
    transition: opacity .7s;
    z-index: 3;
}

#wrapper.fade {
    opacity: 0;
}

#loader {
    border-radius: 50% !important;
    height: 10em;
    width: 10em;
    -ms-transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    -webkit-transform: translateZ(0);
    animation: mainLoader 1.1s infinite linear;
    border-bottom: 1.1em solid #808080;
    border-bottom: 1.1em solid rgba(238, 243, 220, 0.2);
    border-left: 1.1em solid #daa74d;
    border-right: 1.1em solid #808080;
    border-right: 1.1em solid rgba(238, 243, 220, 0.2);
    border-top: 1.1em solid #808080;
    border-top: 1.1em solid rgba(238, 243, 220, 0.2);
    margin: 40vh auto;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
}

/*Edit Forms*/

.form-control, .form-select {
    border-radius: 0.3125rem;
}

.form-control:focus, .form-select:focus, .form-checkbox:focus {
    border-width: 2px;
    box-shadow: unset;
}

.form-control:focus + div .search-btn,
.form-select:focus, .form-select:focus + div .search-btn {
    border-width: 2px;
}

/*.btn-check:focus + .btn, .btn:focus {
    outline: 0;
    box-shadow: unset;
    border-width: 2px;
    border-color: #0566AD!important;
}*/

@supports (selector(:has(div))) {
    form div:has(.form-control-placeholder),
    form div:has(.form-control-show-placeholder) {
        position: relative;
    }
}
.form-control-placeholder,
.form-control-show-placeholder,
.form-control-always-show-placeholder {
    position: absolute;
    transition-property: transform, font-size, padding;
    transition-duration: 200ms;
    transform: translateY(-160%);
    margin: 0.3rem 0.625rem;
    padding-bottom: 0;
    pointer-events: none;
}

.form-control:disabled ~ .form-control-placeholder,
.form-select:disabled ~ .form-control-placeholder,
.form-control:valid ~ .form-control-placeholder,
.form-control:invalid ~ .form-control-placeholder,
.form-control:-webkit-autofill ~ .form-control-placeholder,
.form-select:valid ~ .form-control-placeholder,
.form-select:invalid ~ .form-control-placeholder,
.form-control:focus ~ .form-control-placeholder,
.form-select:focus ~ .form-control-placeholder,
.form-control-always-show-placeholder,
.form-control:not(.placeholder-hide):valid ~ .form-control-show-placeholder,
.form-select:valid ~ .form-control-show-placeholder,
.form-select:invalid ~ .form-control-show-placeholder,
.form-control:focus ~ .form-control-show-placeholder,
.form-select:focus ~ .form-control-show-placeholder,
.form-control:not(.placeholder-hide):placeholder-shown ~ .form-control-show-placeholder,
.form-select:placeholder-shown ~ .form-control-show-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-240%);
    background-image: linear-gradient(to bottom, transparent 42%, #fff 42%);
}

.form-control:disabled ~ .form-control-show-placeholder,
.form-select:disabled ~ .form-control-show-placeholder,
.form-control[readonly] ~ .form-control-show-placeholder,
.form-select[readonly] ~ .form-control-show-placeholder {
    background-image: linear-gradient(to bottom, transparent 61%, #fff 61%);
}

.form-control:disabled:not(:placeholder-shown) ~ .form-control-show-placeholder,
.form-select:disabled:not(:placeholder-shown) ~ .form-control-show-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-240%);
}

.form-control:focus ~ .form-control-placeholder,
.form-select:focus ~ .form-control-placeholder,
.form-control:focus ~ .form-control-show-placeholder,
.form-select:focus ~ .form-control-show-placeholder,
.form-control-always-show-placeholder {
    transform: translateY(-240%);
}

.placeholder-hide::-webkit-input-placeholder,
.placeholder-hide::placeholder {
    font-size: 0;
}


label {
    font-size: 0.875rem;
    padding: .375rem;
    padding-top: .2rem;
}

.checkbox-menu-label {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    background-image: linear-gradient(to bottom, transparent 42%, #fff 42%);
    position: absolute;
    transition-property: transform, font-size, padding;
    transition-duration: 200ms;
    transform: translateY(-50%);
    padding-bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/***** Modal Multiselect Dropdown with Checkboxes *****/

.checkbox-menu-btn {
    position: relative;
}

.checkbox-menu-btn button {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    text-align: left;
    background-color: #fff;
    border: 1px solid #ced4da;
}

.checkbox-menu-btn button:hover {
    background-color: #fff;
    border: 1px solid #ced4da;
}

.checkbox-menu-btn button:focus {
    border-color: #86b7fe;
    outline: 0;
    /*box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);*/
    background-color: #fff;
}

.checkbox-menu-btn button:active {
    background-color: #fff;
    border-color: #ced4da;
}

.checkbox-menu input:hover,
.checkbox-menu input:focus {
    cursor: pointer;
}

.checkbox-hover {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.checkbox-hover:hover,
.checkbox-hover:focus,
.checkbox-hover label:hover,
.checkbox-hover label:focus {
    background-color: #daa74d;
    color: #fff;
    cursor: pointer;
}

.checkbox-hover.active,
.checkbox-hover.active label {
    background-color: #daa74d;
    color: #fff;
    font-weight: bold;
}

.form-check-input:checked {
    background-color: #daa74d;
    border-color: #fff;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    border-radius: .25em;
}

/* Slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999999;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px !important;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.slider-sm {
    width: 27px;
    height: 14px;
}

.slider-sm:before {
    height: 10px;
    width: 10px;
}

.slider-lg:before {
    height: 20px;
    width: 20px;
}

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

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

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

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

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    margin-bottom: 0;
    line-height: 1.125rem;
    vertical-align: text-top;
}

/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input:disabled ~ .slider {
    cursor: not-allowed;
}

.switch-lg {
    width: 50px;
    height: 24px;
}


/*/*XXL*/
@media screen and (max-width: 2560px) {
}

/*XL*/
@media screen and (max-width: 1440px) {
}

/*Large*/
@media screen and (max-width: 1024px) {
}

/*Medium*/
@media screen and (max-width: 768px) {
}

/*Small*/
@media screen and (max-width: 600px) {
    .btn-100 {
        width: 100%;
        /* margin-bottom: 2rem;*/
    }
}

/* Browser-specific */
/* Firefox */
@supports (-moz-appearance:none) {
    input::-moz-placeholder,
    input:focus::-moz-placeholder {
        color: transparent !important
    }
}

.metrics-div {
    border: solid 1px;
    border-color: #afacac;
    border-radius: 4px;
    margin: 0 0 10px 20px;
    width: 99%;
    padding: 20px;
}

.margin-top-15{
    margin-top: 15px;
}

.margin-left-20{
    margin-left: 20px !important;
}

.div-success-rate{
    width: 300px; 
    height: 300px;
}