:root {
    --primary-colour: red;
    --scondary-colour: blue;
    --tertiary-colour: green;
    --background-splash: url('/img/login_background.jpg');
    --site-logo: '';
}

/** {
    border: 1px dashed red;
}*/

body {
    isolation: isolate;
}

.login-page-background {
    background-image: url("/core/css/img/official-bg.jpg") !important;
    background-image: url("/img/official-bg.jpg") !important;
    filter: brightness(0.5) opacity(0.8);
}

.logout-page-background {
    background-image: url("/img/official-bg.jpg") !important;
}

.app-header .app-logo,
.app-sidebar-logo .app-logo {
    width: 130px;
    background-size: contain;
    background-repeat: no-repeat;
}

.app-logo-login {
    background-image: url('/img/AVVALE_logo.png') !important;
    width: 100%;
    height: 90px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

body.home {
    background-image: var(--background-splash);
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.logo-login {
    width: 80%;
    scale: 0.7;
    filter: invert(100%);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background: #f0f0f0;
}

/* Space reserved for the fixed-bottom footer of the legacy MVC layout.
   The SPA does not need it: its app footer reserves the room itself, via the
   --ybq-dev-footer-height variable published by YubiqStudioFooter. */
#kt_app_body {
    margin-bottom: 60px;
}

.form-label {
    font-weight: 600;
}

.btn-label {
    position: relative;
    left: -12px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px 0 0 3px;
}

.navbar a {
    text-decoration: none;
    color: initial !important;
}

.subheader {
    background-color: #ececec;
    font-weight: 600;
}

    .subheader a {
        text-decoration: none;
        padding: 0.75em 1em;
    }

        .subheader a:first-child {
            color: initial;
            width: calc(100% - 20px);
        }

.btn-labeled {
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    position: relative;
}

    .btn-labeled > i {
        float: right;
        position: absolute;
        right: 12px;
    }


/*Loader Overlay*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.loader-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid transparent;
    border-radius: 50%;
    border-color: #ccc transparent;
    animation: loaderRotation 1s infinite linear;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1 / 1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
}

.loader::before {
    border-color: #f36f21 transparent;
    animation: inherit;
    animation-duration: .5s;
    animation-direction: reverse;
}

.loader::after {
    margin: 8px;
}

@keyframes loaderRotation {
    100% {
        transform: rotate(0.8turn);
    }
}


.opaque {
    opacity: 0.5;
}

@media (min-width: 1400px) {
    .container {
        max-width: 90%;
    }
}

.list-group-item-action:hover {
    background-color: #ffff99;
}

/*Clock*/

.hover:hover {
    cursor: pointer;
}

.multiplierInput {
    display: inline;
    max-width: 6rem;
}

.speedContainer {
    position: relative;
}

.speedLabel {
    position: absolute;
    top: -0.5rem;
    left: -0.2rem;
    font-size: 0.5rem;
    font-weight: normal;
}

.speedRelative {
    position: absolute;
    top: -0.7rem;
    right: 0rem;
    font-size: 0.6rem;
    font-weight: normal;
    text-align: right;
}

.speed-icons {
    font-size: 0.8rem;
}

    .speed-icons > i {
        padding-right: 0.25rem;
    }

.futureDate {
    position: absolute;
    bottom: -0.5rem;
    right: 0.1rem;
    font-size: 0.5rem;
    font-weight: normal;
    text-align: right;
}

.multiplierLabel {
    max-width: 5rem;
}

.dateLabel {
    font-size: 1rem;
}

.timeLabel {
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.fadeInUp {
    animation: fadeInUp ease-in-out 500ms forwards;
}

.fadeInDown {
    animation: fadeInDown ease-in-out 500ms forwards;
}

.fadeOutUp {
    animation: fadeOutUp ease-in-out 500ms forwards;
}

.fadeOutDown {
    animation: fadeOutDown ease-in-out 500ms forwards;
}

.multiplier-container {
    position: relative;
    padding-right: 6.5rem;
    /*border: 1px solid red;*/
}

@keyframes fadeInUp {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOutUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-10px);
        opacity: 0;
    }
}

@keyframes fadeOutDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

/*COMPONENTS*/
.comp-transition-in {
    animation: compTransitionIn 200ms ease-in;
}

.skeleton-loader {
    position: relative;
    overflow: hidden;
}

    .skeleton-loader .form-label,
    .skeleton-loader .form-control-container {
        position: relative;
        visibility: hidden;
    }

        .skeleton-loader .form-label::before,
        .skeleton-loader .form-control-container::before {
            visibility: visible;
            content: '';
            position: absolute;
            background-color: #d3d5de;
            border-radius: 0.35rem;
            animation: load 2500ms ease-in-out infinite;
        }

        .skeleton-loader .form-label::before {
            inset: 0px 70% 2px 0;
        }

        .skeleton-loader .form-control-container::before {
            inset: 0 0 0 0;
        }

@keyframes load {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

@keyframes compTransitionIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.type-ahead-list {
    display: block;
    position: absolute;
    z-index: 1000;
    padding: 5px;
}

.dropdown-menu li {
    padding: 5px 10px;
    cursor: pointer;
}

    .dropdown-menu li.highlighted {
        background-color: #007bff;
        color: white;
    }

.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #999;
}

    .clear-button:hover {
        color: #333;
    }

.typeahead-hint {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #ccc;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.highlighted-text {
    font-weight: bold;
}

.yubik-time-clock {
    display: none;
}

Select2 Multi
.select2-selection__choice__remove {
    border: none;
    background-color: none;
    background: none;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    color: white !important;
}

.select2-selection--multiple {
    padding-left: 0.3rem;
    max-height: 36px;
    overflow-y: scroll !important;
}

.select2-selection__choice {
    border: none !important;
    background-color: #007bff;
    color: white;
    font-size: 0.8rem;
}

.custom__tag {
    background-color: #DBDFE9;
    color: #68729A;
    font-weight: bold;
    font-size: 10px;
    border-radius: 0.4rem;
    padding: 0.25rem 0.4rem;
    margin-right: 0.2rem;
}

.custom__remove:hover {
    cursor: pointer;
}

.multiselect__option--highlight {
    background: #007bff !important;
}

span.multiselect__option--highlight.multiselect__option::after {
    background: #007bff !important;
}

.custom__tag > span {
    margin-right: 0.2rem;
}

.multiselect--above.multiselect,
.multiselect--active.multiselect--above.multiselect {
    height: calc(1.5em + .75rem + 2px)
}



.multiselect__custom {
    position: absolute;
    font-size: 1.4rem;
    right: 2.7rem;
    z-index: 100;
}


.wrap-text {
    overflow-x: clip;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    padding-right: 3rem;
}
/*End Components*/
textarea {
    min-height: 2.5rem;
}

.autosave::before {
    content: 'Autosave';
    position: absolute;
    left: -5rem;
}

.clickable {
    cursor: pointer;
}

.loader-spin {
    animation: spin 1000ms infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(359deg)
    }
}

.fa-angle-left {
    animation: rotate 200ms;
}

.collapsed > i {
    animation: rotateleft 200ms ease-in-out forwards;
}

@keyframes rotateleft {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(90deg)
    }
}

#kt_app_inner_body {
    padding-bottom: 5rem;
}

/* generated parent wrappers */
.ys-form-property {
}



.table.subForm > :not(caption) > * > * {
    padding: 0.15rem 0.15rem;
    padding-left: 0.15rem;
}

.badgeRemoveLookupItemSVG {
    margin: 0;
    padding: 0;
    transform: translateY(-10%);
    fill: #8D95AA;
}

    .badgeRemoveLookupItemSVG > path {
        fill: #8D95AA;
    }


.fill-primary {
    fill: var(--bs-text-primary)
}

.customBsBackdrop {
    background-color: rgb(0, 0, 0, 0.36);
}

body.contentfullscreen #mainPanel {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050; /* above modals */
    transition: all 0.4s ease-in-out;
}


/* Chrome, Safari, Edge, Opera */
/*input[type="number"].nostepper::-webkit-inner-spin-button,
input[type="number"].nostepper::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}*/

/* Firefox */
/*input[type="number"].nostepper {
    -moz-appearance: textfield !important;
}*/

/* Chrome, Safari, Edge, Opera */
.nostepper::-webkit-inner-spin-button,
.nostepper::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Firefox */
.nostepper {
    -moz-appearance: textfield !important;
}


table .readOnlyPickerRules,
.ReadonlyForm .readOnlyPickerRules {
    border: none !important;
    background-color: transparent !important;
    padding: 0;
    text-overflow: ellipsis;
}

table .readOnlyPickerRules i,
.ReadonlyForm .readOnlyPickerRules i {
    display:none;
}

input[type="number"]:not(:hover) {
    -moz-appearance: textfield !important;
}

    input[type="number"]:not(:hover)::-webkit-outer-spin-button,
    input[type="number"]:not(:hover)::-webkit-inner-spin-button,
    input[type="number"].readOnlyInput::-webkit-outer-spin-button,
    input[type="number"].readOnlyInput::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
    }

    input[disabled]{
        background-color:transparent;
    }


.loaderSpinner {
    width:12px;
    height: 12px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotationSpin 1s linear infinite;
}


@keyframes rotationSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-control:focus,
.form-control:focus-visible {
    outline: none !important; 
    box-shadow: none !important; 
    border-color: #ced4da;
}

.app-wrapper {
    min-height: 100vh;
}

.app-sidebar {
    background-color: rgb(19, 19, 19);
}

.app-sidebar-menu a .menu-title {
    color: rgb(219, 223, 233);
    font-weight: 600;
    font-size: 1.1rem;
}

.app-sidebar-menu a .menu-title:hover {
    color: var(--bs-primary-inverse);
}

.app-sidebar-menu {
    padding: .25rem .5rem;
}


/*Footer Start*/
#FooterContainer {
    background: url(/img/footer_background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.partition {
    margin: 1rem 0;
}

.partition > div {
    margin: 0 2rem;
    position: relative;
    background-color: #686868;
    padding: 0.25rem 0;
    border-radius: 0.6rem;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.btn-cust-blue {
    background: #00C3FF;
    color: white;
    border-radius: 0.4rem;
    padding: 0px 10px;
    margin: 0 0.5rem;
}

.footerTitle {
    text-align: center;
    min-width: 50rem;
    transition: translate 300ms ease-in-out;
}

.pin {
    position: absolute;
    inset: 5px 0 0 5px;
    background-color: #545454;
    border-radius: 50%;
    height: 5px;
    width: 5px;
}

.footer-collapse-toggle {
    background: #D9D9D9;
    width: 2rem;
    height: 1.2rem;
    right: 0.5rem;
    border-top: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    display: grid;
    align-content: center;
    align-items: center;
    font-size: 0.8rem;
    text-align: center;
}

.footer-collapse-toggle > i {
    transition: transform 300ms ease-in-out;
}

.footer-collapse-toggle > i.flip {
    transform: rotate(180deg);
}

footer {
    transition: translate 300ms ease-in-out;
}

footer:has(div.slide-down) {
    transition: translate 300ms ease-in-out;
    translate: 0 40px;
}

footer:has(div.slide-down) > div.row > div.partition > div.footerTitle {
    transition: translate 300ms ease-in-out;
    translate: 0 -28px;
}

footer:has(div.slide-down) > div.row > div.footer-collapse-toggle {
    transition: border-radius 300ms ease-in-out;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
/*Footer End*/

.pointer-help {
    cursor: help;
}