﻿#loading-text {
    font-family: Rouben-Bold;
    font-size: 1.0rem;
    color: #00A19B;
}

:root {
}

html, body {
    font-family: var(--primary-font-family);
    background-color: #FFF;
}

#app {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #FFF;
    height: 100vh;
}

.page {
    background-color: var(--site-background-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    background-color: #aaa;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
        transform: translateY(100vh);
    }
}

@keyframes diagonal-fall {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
        transform: translate(10vw, 100vh);
    }
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#vytech-header-logo {
    width: 130px;
}

    #vytech-header-logo:hover {
        cursor: pointer;
    }

#vytech-footer-logo {
    width: 250px;
}

.link-flex {
    display: flex;
    justify-content: center;
}

.scroll-target {
    scroll-margin-top: 4rem;
}

.cmd-search {
    min-width: 40%;
}


fieldset:disabled .switch, fieldset:disabled .slider {
    opacity: 0.3;
    cursor: auto;
}

sup {
    font-family: var(--bold-italic-font-familiy);
    color: var(--site-secondary-color);
}

#notification-sup {
    font-family: var(--bold-italic-font-familiy);
    color: red;
    margin-left: 2px;
    font-size: .8rem;
}

.comment-grid {
    display: grid;
    grid-template-columns: 25% 50% 25%;
}

.myGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: auto;
    margin-bottom: 2rem;
}

.myGridGaps {
    row-gap: 2rem;
    column-gap: 2rem;
}

.grnTitle {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    text-align: center;
}

.grnDelAdd {
    grid-column: 5 / 6;
    grid-row: 1 / 2;
    text-align: right;
}

.grnInvAdd {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.grnAcknowledge {
    grid-column: 2 / 6;
    grid-row: 1 / 2;
}

.grnSigned {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border-bottom: 1px solid #FFF;
}

.grnName {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
    border-bottom: 1px solid #FFF;
}

.grnDate {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    border-bottom: 1px solid #FFF;
}

.grnComments {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
    border-bottom: 1px solid #FFF;
}

label, input, select {
    font-family: var(--primary-font-family);
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

th {
    font-size: var(--th-font-size);
}

.secondary-th {
    font-size: var(--secondary-th-size);
}

h5 {
    font-size: var(--h5-font-size);
}

h6 {
    font-size: var(--h6-font-size);
}

p {
    font-size: var(--p-font-size);
}

label,
.col-form-label {
    font-size: var(--label-font-size);
}

td {
    justify-content: center;
    font-size: var(--td-font-size);
}

optgroup {
    font-size: var(--optgroup-font-size);
}

option {
    font-size: var(--option-font-size);
}

li {
    font-size: var(--p-font-size);
}

h1, h2, h3, h4, h5, h6, p, label, li {
    margin-bottom: 0;
    line-height: 1.4;
}

.highlight-text {
    color: var(--site-accent-color);
}

.notification-text {
    margin: 4px 0 0 4px;
    color: var(--site-accent-color);
}

.blankPageTable .table thead th {
    color: black !important;
    background-color: #FFF;
    border-top: 2px solid black !important;
    border-bottom: 2px solid black !important;
}

.blankPageTable .table td {
    vertical-align: middle !important;
    color: black !important;
    border-top: 1px solid black !important;
}

.blankPageTable tr:hover {
    background-color: #FFF;
}

.form-row {
    margin-bottom: 1rem;
}


.underline {
    border-bottom: 1px solid var(--demarcation-line-color);
}


a {
}

    a:not([href]):not([tabindex]) {
        color: var(--site-accent-color);
    }

    a:hover {
        cursor: pointer;
    }

.input-group {
    align-items: center;
}

.input-group-text {
    font-size: var(--form-control-font-size);
}

.customer-logo {
    width: 180px;
    height: auto;
}

.stock-search-screen-logo {
    max-width: 500px;
    height: auto;
}

.stock-part-img {
    width: 200px;
    height: auto;
}

.stock-part-img-xs {
    width: 80px;
    height: auto;
}

.stock-part-img-lg {
    width: 400px;
    height: auto;
}

    .stock-part-img:hover,
    .stock-part-img-xs:hover,
    .stock-part-img-lg:hover {
        cursor: pointer;
    }

.stock-part-img-popout {
    box-shadow: var(--site-shadow-color) 0 5px 10px;
}

    .stock-part-img-popout:hover {
        cursor: nw-resize;
    }

.input-group-append .btn {
    margin: 0;
}

.help-btn {
    border-radius: 50%;
    font-size: 1.5rem;
    padding-bottom: 12px;
}


/* TO BE UPDATED */
.badge {
    color: var(--site-secondary-color);
}

.badge-light {
    border: 2px solid #fff;
    background: linear-gradient(45deg, #80849D, #BBBDCC );
}

.badge-success {
    border: 2px solid #fff;
    background: linear-gradient(45deg, #5FD59F, #7EDDB1);
}

.no-list-style {
    list-style-type: none !important;
}

ul .indented {
    list-style-type: disc;
    margin: 1rem 0 2rem 0;
}

li.page-item.disabled .page-link {
    background-color: #80849D !important;
    border: 1px solid #222222;
    color: #ccc;
}

li.page-item.active .page-link {
    background-color: #25314B !important;
    border-color: #fff;
}

.page-link {
    background-color: #80849D;
    color: #fff;
    border: 1px solid #222222;
}

.device-status {
    background-image: linear-gradient(top, #383838 0%, #1F1F1F 5%, #161616 100%);
    margin: auto;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.comment-header {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid var(--demarcation-line-color);
}

.mini-card {
    position: relative;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    background-clip: border-box;
    width: 700px;
    min-height: 600px;
    margin: auto;
}

.mini-card-no-mh {
    position: relative;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    background-clip: border-box;
    width: 700px;
    margin: auto;
}

.sticky-card {
    position: sticky;
    top: 0;
    z-index: 5000;
    background-color: var(--site-darker-background-color);
}



.blazored-modal-clear-overlay {
    background-color: rgba(0,0,0,0) !important;
}

.blazored-modal-no-mw {
    min-width: 0% !important;
}

.blazored-modal-scrollable .blazored-modal-content {
    padding: 0 1rem;
}

.blazored-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 0 0.5rem 0 !important;
}

.blazored-modal-close {
    color: var(--site-secondary-color);
}





.success-modal {
    min-width: 15% !important;
    margin: 20px;
    color: var(--site-secondary-color) !important;
    background-color: #5FD59F !important;
    border: 2px solid #5FD59F !important;
}

.print-barcode-modal {
    min-width: 100% !important;
    background-color: #FFF !important;
    border: none;
    left: 0 !important;
}



.loading-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 200px 0;
}

.controls {
    text-align: center;
    margin: 20px 0;
    width: 100%;
}

.container-secondary {
    width: 50%;
}

.input-container {
    width: 60%;
}

.barcode {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #FFF;
}

.request-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

    .request-filter-grid .second-row {
        grid-column: 1/2;
        grid-row: 2/3;
    }

.flex {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-around;
}

.flexi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1rem;
}

.flexi-grid-col {
    display: flex;
}

.panel {
    margin: 2rem;
    padding: 1rem;
}

.panel-success {
    border: 1px solid var(--site-accent-color);
}

.panel-warning {
    border: 1px solid var(--warning-color);
}

.primary-border {
    border: 2px solid var(--demarcation-line-color);
}

.dotted-primary-border {
    border: 2px dashed var(--demarcation-line-color);
}

.dotted-warning-border {
    border: 2px dashed var(--warning-color);
}

.translucent {
    opacity: 0.5;
    filter: blur(1px);
}

.rotate-45 {
    transform: rotate(45deg);
}

.rotate-90 {
    transform: rotate(90deg);
}

.rotate-135 {
    transform: rotate(135deg);
}

.rotate-180 {
    transform: rotate(180deg);
}

.rotate-225 {
    transform: rotate(225deg);
}

.rotate-270 {
    transform: rotate(270deg);
}

.rotate-315 {
    transform: rotate(315deg);
}

.mw-50 {
    max-width: 50%;
}

.mw-80 {
    max-width: 80%;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.validation-message {
    margin-top: 3px;
    color: red;
}

.system-comment {
    color: #fa4343;
}

.content-muted label,
.content-muted .form-control,
.content-muted .input-group-prepend {
    opacity: 0.4
}

.valid.modified:not([type=checkbox]) {
    outline: none;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.wobble {
    animation-name: wobble;
    animation-timing-function: ease-in-out;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-delay: .5s;
}

.fade-in {
    opacity: 1;
    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

.fade-in-and-out {
    opacity: 1;
    animation-name: fadeInAndOut;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-duration: 4s;
}

.slow-animation {
    animation-duration: 1s;
}

.slide-out {
    display: block;
    animation-name: slideOut;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
    opacity: 0;
    width: 0%;
    height: 0;
}

.slide-in {
    opacity: 1;
    animation-name: slideIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.2s;
    width: 100%;
}

#nbtHeader {
    max-width: 250px;
}

#nbtFooter {
    max-width: 150px;
}

.step {
    display: flex;
    justify-content: center;
    align-content: center;
    border-radius: 50%;
    width: 50px;
    margin: auto auto 1rem auto;
}

.inactive-step {
    border: 1px solid #6c757d;
}

.active-step {
    border: 3px solid var(--site-secondary-color);
}

.inherit-font-size {
    font-size: inherit !important;
}


@-moz-keyframes flash {
}

@-webkit-keyframes flash {
}

@keyframes wobble {
    0%, 100% {
        transform: rotate(0deg);
    }

    20%, 60% {
        transform: rotate(20deg);
    }

    40%, 80% {
        transform: rotate(-20deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInAndOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideOut {
    0% {
        width: 100%;
        height: 100%;
    }

    100% {
        opacity: 0;
        width: 0%;
        height: 0;
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        flex-grow: 0;
        width: 0%;
    }

    100% {
        opacity: 1;
        flex-grow: 1;
        width: 100%;
    }
}

.border-pulse {
    animation-name: pulse-border;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes pulse-border {
    0% {
        border: 3px solid transparent;
    }

    50% {
        border: 3px solid var(--site-accent-color);
    }

    100% {
        border: 3px solid transparent;
    }
}


#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;
    }

.help-text-box {
    max-width: 75%;
    padding: 1rem;
    margin: 1rem 0;
    background-color: var(--site-darker-background-color);
}

.bold {
    font-family: var(--bold-font-family);
}

.bold-italic {
    font-family: var(--bold-italic-font-familiy);
}



.my-container {
    display: block !important;
    width: 1500px;
    margin: auto;
}

.nice-scrollbar::-webkit-scrollbar-track,
.blazored-modal-content::-webkit-scrollbar-track {
    border: 1px solid #000;
    padding: 2px 0;
    background-color: #404040;
}

.nice-scrollbar::-webkit-scrollbar,
.blazored-modal-content::-webkit-scrollbar {
    width: 10px;
}

.nice-scrollbar::-webkit-scrollbar-thumb,
.blazored-modal-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #737272;
    border: 1px solid #000;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    justify-items: center;
    align-items: start;
    justify-content: stretch;
    align-content: stretch;
    height: 100%;
    width: 100%;
}

.calendar-grid-item-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0.5rem 0;
}

@media (max-width: 1500px) {
    .help-text-box {
        max-width: 100%;
    }

    .report-card {
        width: 40%;
    }

    .my-container {
        width: 1000px;
    }
}

@media (max-width: 1023.98px) {

    .side-panel {
        display: none;
    }

    .top-panel {
        display: block;
        margin: 15px 0px 0px 15px;
    }
}

@media (min-width: 1024px) {

    .top-panel {
        display: none;
    }

    .side-panel {
        position: sticky;
        top: 0;
        padding: 0.8rem 0.5rem;
        height: 100vh;
        overflow-y: auto;
        min-width: 80px;
    }

    .side-bar-modal {
        min-width: 0;
    }

    app, .page {
        flex-direction: row;
    }
}

@media (min-width: 1650px) {
    .stock-details-container {
        display: flex;
        flex-direction: row;
    }
}

@media (max-width: 1550px) {



    .top-row a img {
        width: 100px;
    }

    .top-row .right-row #user-name {
        display: none;
    }

    .top-row .right-row #user-name-cog {
        display: block;
    }

    .top-row .cmd-search {
        margin: 0 1rem;
    }

    .L {
        --h1-font-size: 2.5rem;
        --h2-font-size: 2rem;
        --h3-font-size: 1.75rem;
        --h4-font-size: 1.5rem;
        --h5-font-size: 1.25rem;
        --h6-font-size: 1rem;
        --label-font-size: 1rem;
        --p-font-size: 1rem;
        --btn-font-size: 1rem;
        --th-font-size: 1rem;
        --td-font-size: 1rem;
        --nav-item-font-size: 0.8rem;
    }

    .M {
        --h1-font-size: 2rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.5rem;
        --h4-font-size: 1.25rem;
        --h5-font-size: 1rem;
        --h6-font-size: 0.8rem;
        --label-font-size: 0.8rem;
        --p-font-size: 0.8rem;
        --btn-font-size: 0.8rem;
        --th-font-size: 0.8rem;
        --td-font-size: 0.8rem;
        --nav-item-font-size: 0.5rem;
    }

    .S {
        --h1-font-size: 1.75rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --h4-font-size: 1rem;
        --h5-font-size: 0.8rem;
        --h6-font-size: 0.6rem;
        --label-font-size: 0.6rem;
        --p-font-size: 0.6rem;
        --nav-item-font-size: 0.6rem;
        --btn-font-size: 0.6rem;
        --th-font-size: 0.6rem;
        --td-font-size: 0.6rem;
    }

    .XS {
        --h1-font-size: 1.5rem;
        --h2-font-size: 1.25rem;
        --h3-font-size: 1rem;
        --h4-font-size: 0.8rem;
        --h5-font-size: 0.6rem;
        --h6-font-size: 0.5rem;
        --label-font-size: 0.5rem;
        --p-font-size: 0.5rem;
        --nav-item-font-size: 0.5rem;
        --btn-font-size: 0.5rem;
        --th-font-size: 0.5rem;
        --td-font-size: 0.5rem;
    }

    .input-container {
        width: 90%;
    }
}

@media (max-width: 900px) {
    .top-row {
        flex-direction: column;
    }

        .top-row .cmd-search {
            margin: 1rem;
        }

        .top-row .right-row {
            margin-bottom: 0.5rem;
        }

    .report-card-container {
        justify-content: center;
    }

    .report-card {
        width: 100%;
    }

    .my-container {
        width: 500px;
    }

    .stock-details-container {
        display: flex;
        align-items: start;
        justify-content: center;
        flex-direction: column;
    }
}

/*Wrapped Styling*/

@font-face {
    font-family: WrappedBold;
    src: url('../fonts/rouben/Rouben-Bold.otf') format('opentype');
}

@font-face {
    font-family: WrappedLight;
    src: url('../fonts/rouben/Rouben-Light.otf') format('opentype');
}

@font-face {
    font-family: WrappedItalic;
    src: url('../fonts/poppins/Poppins-BoldItalic.ttf') format('truetype');
}

.wr-absolute-position {
    position: absolute;
}

.wr-warning-text {
    color: #ff6a00;
}

.wr-success-text {
    color: #4fce1d;
}

.wr-no-text-wrap {
    text-wrap: nowrap;
}

.wr-big {
    font-family: WrappedItalic,Impact,Haettenschweiler,Franklin Gothic Bold,Charcoal,Helvetica Inserat,Bitstream Vera Sans Bold,Arial Black,sans serif;
    font-size: 6rem;
    color: #FFF
}

.wr-header-font {
    font-family: WrappedBold,Verdana,Geneva,sans-serif;
    font-size: 5rem;
}

.wr-header-font-cursive {
    font-family: WrappedItalic,Impact,Haettenschweiler,Franklin Gothic Bold,Charcoal,Helvetica Inserat,Bitstream Vera Sans Bold,Arial Black,sans serif;
    color: #FFF;
}

.wr-sub-header-font {
    font-family: WrappedLight,Verdana,Geneva,sans-serif;
    font-size: 3rem;
    /*opacity: 0.6;*/
}

.wr-card-title-font {
    font-family: WrappedLight,Verdana,Geneva,sans-serif;
    font-size: 6rem;
    color: #00A19B
}

.wr-card-font {
    font-family: WrappedLight,Verdana,Geneva,sans-serif;
    font-size: 2rem;
    /*opacity: 0.6;*/
}

.wr-bi {
    /*font-size: 4rem;*/
    color: #00A19B;
    /*background-color: #00A19B;*/
    border-radius: 16px;
    /*padding: 0 12px;*/
}

.wr-share-bi {
    margin-top: -40px;
}

.wr-btn {
    font-family: WrappedLight,Verdana,Geneva,sans-serif;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #FFF;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin: 0.5rem;
    color: #00A19B;
    transition: 0.5s;
    z-index: 100;
}

    .wr-btn > svg {
        transition: 0.5s;
    }

    .wr-btn:hover {
        cursor: pointer;
        color: #FFF;
        background-color: #00A19B;
        border: 1px solid #FFF;
    }

        .wr-btn:hover > svg {
            color: #FFF;
        }

.wr-page {
    background: linear-gradient(180deg, #00A19B 0%, #ffffff 100%);
}

.wr-container {
    font-family: WrappedLight,Verdana,Geneva,sans-serif;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 90vh;
}

    .wr-container > div {
        scroll-snap-align: start;
        position: relative;
        overflow: hidden;
        padding: 0;
        width: 100%;
    }

.wr-slide {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pdf-page-break {
    page-break-after: always;
}

.wr-pdf-slide {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.wr-card {
    justify-content: center;
    align-content: center;
    min-height: 90%;
    min-width: 90%;
    position: relative;
    padding: 1rem;
}

.wr-mini-card {
    margin: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    min-width: 20%;
}

.wr-chart-container {
    max-width: 70%;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.pdf-wr-chart-container {
    max-width: 70%;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

    .pdf-wr-chart-container img {
        max-width: 100%;
    }

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-15px);
    }
}

@media (max-width: 1550px) {

    .wr-header-font {
        font-size: 2.5rem;
    }

    .wr-sub-header-font {
        font-size: 2rem;
    }

    .wr-bi {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        padding: 0 6px;
    }

    .wr-share-bi {
        margin-top: -20px;
        width: 50px;
        height: 50px;
    }

    .wr-card-title-font {
        font-size: 3rem;
    }

    .wr-card-font {
        font-size: 1rem;
    }
}

/* NEW */
hr {
    border: none;
    height: 2px;
    background: var(--site-accent-color);
}

h1, h2, h3, h4, h5, h6 {
    user-select: none;
}

/* Main */
.main {
    flex: 1;
    background-color: var(--site-background-color);
    color: var(--site-secondary-color);
    font-family: var(--primary-font-family);
}

.bg-darker {
    background-color: var(--site-darker-background-color) !important;
}

/* Open Iconic */
.oi {
    font-family: Icons !important;
}

/* Borders */
.border-warning {
    border: 2px solid var(--warning-color) !important;
}

.border-danger {
    border: 2px solid var(--danger-color) !important;
}

/* Button */
.btn {
    color: var(--site-secondary-color);
    border: none;
    border-radius: 0;
    transition: 0.5s;
    margin: 5px 20px;
    font-family: var(--bold-font-family);
    font-size: var(--btn-font-size);
    border-radius: 7px;
}

    .btn:hover {
        color: inherit;
    }

    .btn:active {
        color: inherit !important;
    }

    .btn:active,
    .btn:focus {
        box-shadow: none !important;
    }

    .btn.disabled,
    .btn:disabled {
        color: var(--site-secondary-color);
        opacity: var(--disabled-opacity);
    }

        .btn.disabled:hover,
        .btn:disabled:hover {
            cursor: auto;
        }

    .btn.hover:hover {
        background-color: var(--hover-bg);
    }

/* Button-Primary */
.btn-primary {
    color: var(--btn-primary-text);
    background-color: var(--btn-primary-bg);
}

    .btn-primary:hover {
        background-color: var(--btn-primary-hover-bg) !important;
        cursor: pointer;
    }

/* TEMP (Stock/Suppliers) */
/* TODO: Remove .White class from btn and this can be removed*/
.monochrome.monochromeDark .btn.btn-primary.White {
    color: black !important;
}

/* Button-Outline */
.btn-outline-primary {
    border: 2px solid;
    border-color: var(--btn-outline-border);
}

    .btn-outline-primary:active {
        color: inherit !important;
        background-color: inherit !important;
        border-color: var(--btn-outline-border) !important;
    }

    .btn-outline-primary:active,
    .btn-outline-primary:focus {
        box-shadow: none !important;
    }

    .btn-outline-primary:hover:not(:disabled) {
        background-color: var(--btn-primary-hover-bg);
        border: 2px solid;
        border-color: var(--site-secondary-color);
        color: inherit;
    }

    .btn-outline-primary.disabled:hover,
    .btn-outline-primary:disabled:hover {
        border-color: var(--btn-outline-border);
    }

.btn-outline-warning {
    border: 2px solid var(--warning-color);
}

    .btn-outline-warning:focus {
        box-shadow: none;
    }

    .btn-outline-warning:hover {
        background-color: var(--warning-color);
        border: 2px solid var(--warning-color);
    }

    .btn-outline-warning.disabled:hover,
    .btn-outline-warning:disabled:hover {
        background-color: var(--site-background-color);
    }

.btn-outline-danger {
    border: 2px solid var(--danger-color);
}

    .btn-outline-danger:focus {
        box-shadow: none;
    }

    .btn-outline-danger:hover {
        background-color: var(--danger-color);
        border: 2px solid var(--danger-color);
    }

    .btn-outline-danger.disabled:hover,
    .btn-outline-danger:disabled:hover {
        background-color: var(--site-background-color);
    }

.btn.btn-link,
.btn.btn-link-danger {
    color: var(--site-accent-color);
    text-decoration: none;
    font-weight: 700;
}

    .btn.btn-link:hover {
        text-decoration: none;
        cursor: pointer;
        font-weight: 700;
        color: var(--link-color);
    }

    .btn.btn-link-danger:hover {
        text-decoration: none;
        cursor: pointer;
        font-weight: 700;
        color: var(--warning-color);
    }

    .btn.btn-link.selected {
        text-decoration: underline;
    }

.btn-link-condensed {
    padding: 0;
    margin: 0;
}

.active-filter-btn {
    background-color: var(--site-accent-color);
    border: 2px solid var(--site-secondary-color);
}

    .active-filter-btn:hover {
        background-color: var(--site-accent-color);
    }

.btn-text-fragment {
    white-space: nowrap;
    margin: 0px;
    padding: 2px 5px;
    border: 2px solid var(--site-accent-color);
}

    .btn-text-fragment:hover {
        cursor: pointer;
        color: var(--site-accent-color);
    }

/* Button-Card */
.btn-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 25px 150px;
    justify-content: center;
}

.btn-card {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    color: var(--site-secondary-color);
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: var(--btn-card-background-color);
    box-shadow: 0.5rem 0.5rem 0.5rem var(--site-shadow-color);
    min-width: 25%;
    max-width: 25%;
    border: 2px solid transparent;
}

    .btn-card:hover {
        transition: 0.1s;
        border-color: var(--site-accent-color);
        transform: scale(1.05);
        box-shadow: 1rem 1rem 1rem var(--site-shadow-color);
    }

    .btn-card:focus {
        outline: none;
    }

/* Button Dropdown */
.show > .btn-outline-primary.dropdown-toggle {
    color: var(--site-secondary-color);
    background-color: inherit;
    border: 2px solid var(--site-secondary-color);
}

    .show > .btn-outline-primary.dropdown-toggle:focus {
        box-shadow: none;
        border: 2px solid var(--site-secondary-color);
    }

/* Side-Panel */
.navbar {
    padding: 1rem;
}

.navbar-logo {
    width: 100px;
}

.navbar-toggler {
    position: relative;
    background-color: var(--navbar-toggler-background-color);
    padding: .25rem .25rem;
    font-size: 1rem;
    margin-top: 0.2vh;
    transition: transform .1s;
}

    .navbar-toggler:hover {
        background-color: var(--navbar-toggler-hover-background-color);
        transform: scale(1.1);
    }

    .navbar-toggler:focus {
        outline: none;
    }

@media (min-width: 1024px) {

    .side-panel {
        position: sticky;
        top: 0;
        padding: 0.8rem 0.5rem;
        height: 100vh;
        background-color: var(--site-background-color);
        overflow-y: auto;
        min-width: 80px;
    }

    .side-bar-modal {
        min-width: 0;
    }
}

.side-panel.nice-scrollbar {
    background-color: var(--navbar-background-color);
    border-right: 1px solid black;
    z-index: 99;
}

.side-panel .flex .card {
    background-color: transparent;
}


.nice-scrollbar::-webkit-scrollbar-track,
.blazored-modal-content::-webkit-scrollbar-track {
    border: 1px solid #000;
    padding: 2px 0;
    background-color: #404040;
}

.nice-scrollbar::-webkit-scrollbar,
.blazored-modal-content::-webkit-scrollbar {
    width: 10px;
}

.nice-scrollbar::-webkit-scrollbar-thumb,
.blazored-modal-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #737272;
    border: 1px solid #000;
}

/* Splash Card */
.splash-card {
    position: relative;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    background-clip: border-box;
    width: 700px;
    margin: auto;
    background-color: var(--site-background-color);
    box-shadow: 5px 5px 5px var(--site-shadow-color);
    border: 1px solid gray;
    border-radius: var(--border-radius);
}

    .splash-card .card-header {
        border: none;
        background-color: var(--site-foreground-color);
    }

    .splash-card .card-body li {
        margin: 10px 0px;
        font-family: var(--secondary-font-family);
    }

/* Card */
.card {
    border: none;
    background-color: transparent;
    border-radius: var(--border-radius);
}

    .card .card-header {
        background-color: transparent;
    }

    .card .permission-card {
        background-color: var(--site-darker-background-color);
    }

        .card.permission-card.disabled {
            opacity: 0.75;
            cursor: default;
            height: fit-content;
        }

            .card.permission-card.disabled .card-body {
                display: none;
            }

.card-header {
    background-color: var(--site-foreground-color);
    font-family: var(--bold-italic-font-familiy);
    border-radius: var(--border-radius);
    border-bottom: none;
}

.card-footer {
    background-color: transparent;
    border: none;
}

.highlight-card {
    border-radius: var(--border-radius);
    box-shadow: var(--site-shadow-color) 0 5px 10px;
}

    .highlight-card .card-header {
        border-radius: var(--border-radius) var(--border-radius) 0px 0px;
    }

.permission-card .card-header {
    transition: 0.5s;
    padding: 1rem;
    border: 2px solid var(--site-secondary-color);
    border-radius: var(--border-radius);
}

.permission-card .selected {
    background-color: var(--site-accent-color);
}

.permission-card .disabled {
    opacity: 0.8;
}

.permission-card .card-header:hover {
    cursor: pointer;
    background-color: var(--site-accent-color);
}

.permission-card .card-header.disabled:hover {
    cursor: default;
    background-color: transparent;
}

.permission-card .card-body {
    padding: 0;
}

.info-card {
    color: var(--site-accent-color);
    border: 2px dotted;
    user-select: none;
}

.report-card-container {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
}

.report-card {
    position: relative;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    background-clip: border-box;
    width: 33%;
    margin: 2rem;
    background-color: var(--site-foreground-color);
    box-shadow: var(--site-shadow-color) 0 5px 10px;
    border-radius: var(--border-radius);
}

/* Borders */
.primary-border {
    border: 2px solid var(--site-secondary-color) !important;
}

/* Charts */
.chart-container {
    margin: auto;
    padding: 2rem;
}

/* Blazored Modal */
.blazored-modal {
    display: flex;
    min-width: 50%;
    max-width: 75%;
    z-index: 102;
    flex-direction: column;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--site-shadow-color) 0 5px 10px;
}

    .blazored-modal.warning-modal {
        margin: 20px;
        color: var(--site-secondary-color);
        background-color: var(--site-foreground-color);
        border: 2px solid var(--warning-color);
    }

        .blazored-modal.warning-modal .card {
            background-color: transparent;
        }

    .blazored-modal .monochrome-loader {
        z-index: 199;
    }

.default-modal,
.edit-pl-modal,
.edit-sl-modal {
    margin: 20px;
    color: var(--site-secondary-color);
    background-color: var(--site-foreground-color);
    border: 2px solid var(--site-accent-color);
}

/* Side Bar Modal */
.blazored-modal.side-bar-modal {
    position: sticky;
    top: 0px;
    left: 0px;
    max-height: 100%;
    color: var(--site-secondary-color);
    background-color: var(--navbar-background-color);
    border-radius: 0;
    padding: 2rem 0;
    min-width: fit-content;
    border: none;
}

/* Notifications */
.blazored-modal.notifications-modal {
    position: absolute;
    top: 0px;
    right: 0px;
    padding-top: 1px;
    max-height: 100%;
    min-width: 30vw;
    max-width: 35vw;
    color: var(--site-secondary-color);
    background-color: var(--site-background-color);
    border: none;
    border-radius: 0px 0px 0px 25px;
    box-shadow: var(--site-shadow-color) 5px 5px 10px;
}

.side-bar-modal .card {
    background-color: transparent;
}

/* Underline */
.underline {
    border-bottom: 1px solid var(--site-secondary-color);
}

/* Vytech footer logo */
.text-right #vytech-footer-logo {
    z-index: 99;
    position: absolute;
    bottom: 0;
    right: 0;
}

.main:has(.top-row) #vytech-footer-logo {
    display: none;
}

/* Tables */
.table {
    font-family: var(--secondary-font-family);
    border: none;
}

    .table thead {
        background-color: var(--table-header-bg);
        border-bottom: 2px solid var(--site-secondary-color);
    }

        .table thead th {
            padding: 0.5rem;
            font-family: var(--bold-italic-font-familiy);
            color: var(--site-secondary-color);
            background-color: var(--table-header-bg);
            user-select: none;
            border: none;
        }

        .table thead tr {
            border: none;
        }

    .table tr {
        background-color: var(--table-row-bg);
        border-bottom: 2px solid var(--site-shadow-color);
    }

    .table td {
        padding: 0.5rem;
        vertical-align: middle;
        color: var(--site-secondary-color);
        border: none;
    }

.table-striped tbody tr:nth-of-type(odd),
.table-row-stripe {
    background-color: var(--table-stripe-bg);
}

    .table-striped tbody tr:nth-of-type(odd):hover,
    .table-row-stripe:hover,
    table tbody tr:hover {
        transition: 0.1s;
        background-color: var(--table-hover-bg);
    }

.page table thead tr.sticky {
    top: var(--top-nav-height) !important;
}

.page .table-responsive table tr.sticky {
    top: 0 !important;
}

/* Slider */
fieldset:disabled .switch, fieldset:disabled .slider {
    opacity: 0.3;
    cursor: auto;
}

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    border: 2px solid var(--site-secondary-color);
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }



.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--site-primary-color);
    transition: 0.4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        border: none;
        background-color: #fa4343;
        transition: 0.4s;
    }

input:checked + .slider:before {
    transform: translateX(13px);
    background-color: #5FD59F;
}

/* Input */
input {
    color-scheme: var(--color-scheme);
}

.row-input {
    background-color: var(--site-primary-color);
    color: var(--site-secondary-color);
}

    .row-input.form-control {
        background-color: var(--site-primary-color);
        color: var(--site-secondary-color);
        color-scheme: var(--color-scheme);
    }

/* Input Group */
.input-group-append .btn {
    margin: 0;
}

/* Form Control */
.form-control:not(select) {
    font-size: var(--form-control-font-size);
}

.form-control {
    font-size: var(--optgroup-font-size);
    background-color: white;
    color-scheme: light;
}

    .form-control:disabled {
        background-color: var(--disabled-form-control-color );
        color: var(--site-secondary-color);
    }

        .form-control:disabled::placeholder {
            color: var(--site-secondary-color);
            opacity: 1;
        }

        .form-control:disabled.addressTextArea {
            border: none;
            resize: vertical;
            overflow: hidden;
            font-size: var(--p-font-size);
            background-color: var(--site-foreground-color);
            color: var(--site-secondary-color);
            margin: auto;
        }

            .form-control:disabled.addressTextArea.no-vertical-resize {
                resize: none;
            }

        .form-control.validation-message,
        .form-control:disabled.validation-message {
            color: red;
            margin-top: 0;
        }

/* Dropdown */
.dropdown-menu {
    background-color: var(--site-foreground-color);
    box-shadow: 0.5rem 0.5rem 0.5rem var(--site-shadow-color);
}

    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu a.dropdown-item:active {
        background-color: inherit;
        color: var(--site-secondary-color) !important;
    }

    .dropdown-menu .dropdown-header {
        padding: .5rem .8rem;
        color: var(--site-secondary-color);
    }

    .dropdown-menu .danger-dropdown-header {
        padding: .5rem .8rem;
        color: var(--danger-color);
    }

/* Drop Area */
.dropArea {
    border: 2px dashed var(--site-accent-color);
    padding: 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: var(--site-darker-background-color);
    cursor: pointer;
    position: relative;
}

    .dropArea:hover {
        /*border: 2px solid transparent;*/
        background-color: var(--site-foreground-color);
    }

    .dropArea input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.dropAreaActive {
    border: 2px solid transparent;
    background-color: var(--site-foreground-color);
}

.dropAreaIcon {
    font-size: 400%;
}

/* Nav Tabs */
.nav {
    border-bottom: 1px solid var(--site-secondary-color);
}

.nav-tabs .nav-link {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--site-secondary-color);
}

    .nav-tabs .nav-link.active {
        border: 1px solid var(--site-secondary-color);
        border-bottom: none;
        background-color: var(--site-accent-color);
        color: var(--site-secondary-color);
    }

    .nav-tabs .nav-link:not(.active):hover {
        background-color: var(--hover-bg);
        color: var(--site-secondary-color);
        border-bottom: none;
    }

/* Hides all children of .monochrome-loader except the first */
.page .monochrome-loader > :not(:first-child) {
    display: none;
}

/* ----- TEMP ----- */
/* TODO: Remove this when .White class is removed */
.form-control.row-input.White {
    color: var(--site-secondary-color) !important;
}

/* This is the only none-white input on SoEditStockComponent */
.form-control #stkCode {
    color: var(--site-secondary-color) !important;
}
