﻿@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;
}

h1:focus {
    outline: none;
}

.content {
    padding-top: 1.1rem;
}

/*Links, Buttons, and Dropdowns*/
a, .btn-link {
    color: #ed1375;
    text-decoration: none;
}

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

.btn-primary {
    color: #fff;
    border: solid 1px transparent;
    background-size: 300% 100%;
    transition: all .6s ease-in-out;
    background-image: linear-gradient(to right,#f05138,#ed1375, #f05138);
}

    .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 {
        box-shadow: 0px 0px 11px grey;
        background-position: -50% 0;
        border: solid 1px transparent;
    }

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    box-shadow: 0px 0px 8px grey;
}

.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;
}

/*Table dropdown*/
.dropdown-item.active, .dropdown-item:active {
    color: #ed1375;
    text-decoration: none;
    background-color: #fde7f1;
    background-color: rgba(237, 19, 117, 0.10);
}

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

/*Navlinks*/
.nav-link {
    /* color: #ed1375;*/
    color: #515151;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #ed1375;
    /*background-color: #222;*/
    /*border-color: #515151 #515151 #222;*/
}

.nav-link:hover {
    color: #ed1375;
}

.nav-link:focus {
    color: #ed1375;
}

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

.text-pink {
    color: #ff44d7;
}

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

.text-purple {
    color: #a538ff;
}

.text-yellow {
    color: #ffe000;
}

.text-green {
    color: #44ff5b
}

.text-orange {
    color: #ff8100;
}

.text-red {
    color: #fd3c3c;
}

/*.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: #ed1375;
    }

    #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: #ed1375;
        cursor: pointer;
        font-weight: bold;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIga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MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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 #ed1375;
    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;
}*/

.form-control-placeholder,
.form-control-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:-webkit-autofill ~ .form-control-placeholder,
.form-select:valid ~ .form-control-placeholder,
.form-control:focus ~ .form-control-placeholder,
.form-select:focus ~ .form-control-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-240%);
    background-image: linear-gradient(to bottom, transparent 42%, #fff 42%);
}

.form-control:not(.placeholder-hide):valid ~ .form-control-show-placeholder,
.form-select:valid ~ .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 {
    transform: translateY(-240%);
}

.placeholder-hide::-webkit-input-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: #ed1375;
        color: #fff;
        cursor: pointer;
    }

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

.form-check-input:checked {
    background-color: #ed1375;
    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: #ed1375;
}

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

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
    }
}