﻿/*
    This file contains CSS styles applicable to the ENTIRE app
*/

body {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333333;
    font-size: .84rem !important;
}

.dropdown-menu {
    font-size: .84rem !important;
}

.table {
    color: #333333 !important;
}

.table th {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    color: #696969;
}

.table td, .table th {
    padding: 0.55rem;
    vertical-align: middle !important;
}

.table thead th {
    border-top: 0px;
}

/*Colors*/
.color-primary {
    color: var(--main-blue-color) !important;
}

.text-danger {
    color: var(--color-red) !important;
}

.btn-danger {
    background-color: var(--color-red) !important;
}

.btn-success {
    background-color: var(--color-green) !important;
}

.text-success {
    color: var(--color-green) !important;
}

.text-white {
    color: white !important;
}

.text-darkgray {
    color: darkgray;
}

.text-black-transparent {
    color: rgba(0, 0, 0, 0.5);
}

.text-black {
    color: #000000;
}

a.text-darkgray:hover {
    color: #696969;
}

.bg-silver {
    background-color: #eeeeee !important;
}

.badge-success {
    background-color: var(--color-green);
}

.badge-danger {
    background-color: var(--color-red);
}

.badge {
    line-height: 1.25;
}

.card-primary {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-radius: 1.25rem;
}

.card-with-back {
    padding-top: 0px !important;
}

.card-with-back > div:nth-of-type(2) {
    margin-top: -15px;
}

/* Extend card size card to include "Show More" button */
.card-withShowMore {
    padding-bottom: 2em;
}

.btn-show-more {
    padding-top: 6px;
    padding-bottom: 7px;
    min-width: 120px;
    color: #696969;
    font-weight: 500;
    font-size: 0.95rem;
}

/*HEADERS*/
/*BUTTONS*/
.btn.btn-m-width {
    min-width: 154px;
}

.btn-primary {
    border-radius: 0.50rem;
    min-width: 120px;
    font-size: 0.95rem;
    padding-top: 6px;
    padding-bottom: 7px;
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 13px;
}

.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:hover,
.btn-primary:hover:enabled,
.btn-primary:focus {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.btn-secondary {
    padding-top: 6px;
    padding-bottom: 7px;
    background-color: #788794;
    border-color: #788794;
    border-radius: 0.50rem;
    min-width: 120px;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: #788794;
    opacity: 0.85;
}

.btn-info, .btn-info:hover {
    color: rgb(51, 51, 51);
    background-color: #E4E4E4;
    border-color: #E4E4E4;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .5rem;
    font-size: .55rem;
    line-height: 1;
    border-radius: .15rem;
}

.button-secondary {
    background-color: #F1F5F7;
    border-radius: 5px;
    padding: 0 10px;
    min-height: 43px;
    width: 100%;
    outline: 0;
    border: 0;
}

/*-----------*/

page-outline-top {
    height: 20px;
    border: 0px solid red;
    margin-left: -12px;
    margin-right: -12px;
    background: white !important
}

.page-outline-top > div {
    background: #f1f5f7;
    border-radius: 30px 30px 0px 0px;
    height: 100%
}

#page-topbar, .vertical-menu {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.footer {
    display: none;
}

/*PRELOADER*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999
}

#status, .busypanel-status {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: -47px 0 0 -75px
}

.busypanel-status {
    margin: -20px 0 0 -20px
}

.busypanel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #ffffff77;
}

/*SPINNER*/
.spinner .spin-icon, .btn-spinner .spin-icon {
    font-size: 56px;
    color: var(--main-blue-color);
    position: relative;
    display: inline-block;
    -webkit-animation: spin 1.6s infinite linear;
    animation: spin 1.6s infinite linear
}

.btn-spinner .spin-icon {
    color: #bbbbbb;
    font-size: 20px;
}

.btn-spinner {
    padding: .2rem .75rem;
}

.spin-icon-md {
    font-size: 42px !important;
}

.spin-icon-sm {
    font-size: 32px !important;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

/*AVATARS*/
.avatar-xs {
    height: 2rem;
    width: 2rem
}

.avatar-sm {
    height: 3.8rem;
    width: 3.8rem
}

.avatar-md {
    height: 4.5rem;
    width: 4.5rem
}

.avatar-lg {
    height: 6rem;
    width: 6rem
}

.avatar-xl {
    height: 7.5rem;
    width: 7.5rem
}

.avatar-title, .employee-avatar {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #5664d2;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 500;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%
}

.employee-avatar {
    background-color: #eeeeee;
    border: 1px solid gray;
    color: gray;
}

/*MAIN CONTENT*/
.main-content {
    margin-left: 240px;
    overflow: hidden
}

.main-content .content {
    padding: 0 15px 10px 15px;
    margin-top: 70px
}

@media (max-width: 992px) {
    .vertical-menu {
        display: none
    }

    .main-content {
        margin-left: 0 !important
    }

    body.sidebar-enable .vertical-menu {
        display: block
    }
}

body[data-layout=horizontal] .main-content {
    margin-left: 0 !important
}

body[data-sidebar-size=small] .main-content {
    margin-left: 160px
}

body[data-sidebar-size=small].vertical-collpsed .main-content {
    margin-left: 70px
}

.page-content {
    padding: calc(70px + 24px) calc(24px / 2) 60px calc(24px / 2);
    padding-top: 70px;
}

.page-outline-top {
    height: 20px;
    border: 0px solid red;
    margin-left: -12px;
    margin-right: -12px;
    background: white !important
}

.page-outline-top > div {
    background: #f1f5f7;
    border-radius: 30px 30px 0px 0px;
    height: 100%
}

body[data-layout=horizontal] .page-content {
    margin-top: 70px;
    padding: calc(55px + 24px) calc(24px / 2) 60px calc(24px / 2)
}

@media (max-width: 992px) {
    body[data-layout=horizontal] .page-content {
        margin-top: 15px
    }
}

/*FONTS*/
.font-family-headers {
    font-family: Poppins, sans-serif
}

.fs-10 {
    font-size: 10px !important
}

.fs-11 {
    font-size: 11px !important
}

.fs-12 {
    font-size: 12px !important
}

.fs-13 {
    font-size: 13px !important
}

.fs-14 {
    font-size: 14px !important
}

.fs-15 {
    font-size: 15px !important
}

.fs-16 {
    font-size: 16px !important
}

.fs-17 {
    font-size: 17px !important
}

.fs-18 {
    font-size: 18px !important
}

.fs-20 {
    font-size: 20px !important
}

.fs-22 {
    font-size: 22px !important
}

.fs-24 {
    font-size: 24px !important
}

.fs-30 {
    font-size: 30px !important
}

.fs-46 {
    font-size: 46px !important
}

.fw-thin {
    font-weight: 300;
}

.fw-medium {
    font-weight: 400;
}

.fw-semibold {
    font-weight: 600;
}

.w-90 {
    width: 90px;
}

.w-16 {
    width: 16px;
}

.w-210 {
    width: 210px;
}

.w-250 {
    width: 250px;
}

.w-255 {
    width: 255px;
}

.mw-60 {
    min-width: 60px;
}

.hmin-100 {
    min-height: 100px;
}

.mr-50 {
    margin-right: 50px;
}

.custom-control-label {
    cursor: pointer;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--main-blue-color);
    background-color: var(--main-blue-color);
}

.pointer {
    cursor: pointer;
}

.tooltip-area:hover {
    color: var(--color-blue);
}

.scheduled-visits-interval-filter-selected {
    background: var(--color-blue);
    min-width: unset;
}

.scheduled-visits-interval-filter-unselected {
    background: #EFF3F4;
    color: #323333 !important;
    border-color: white;
    min-width: unset;
}

@media (max-width: 576px) {
    .mb-mobile-1 {
        margin-bottom: 0.5rem;
    }

    .mr-mobile-0 {
        margin-right: 0 !important;
    }

    .w-mobile-100 {
        width: 100%;
    }
}

@media (min-width: 576px) {
    .flex-wrap-only-on-wide-screen {
        flex-wrap: wrap;
    }
}

.dashboard-image-area {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Blazored Modal */

.blazored-modal-container {
    z-index: 1050;
    /*Added for scrolling on mobile view*/
}

.blazored-modal-header {
    padding: 0 0 0.5rem 0;
}

.blazored-modal {
    padding: 0.75rem;
}

@media (max-width: 575px) {
    .blazored-modal {
        min-width: 200px;
    }

    .blazored-modal.blazored-modal-bottom {
        margin-top: 1rem;
        height: calc(100% - 1rem);
        border-radius: 15px 15px 0 0;
    }
}

@media (min-width: 576px) {
    .blazored-modal {
        min-width: 400px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Fix columns blinking on bootstrap grid in Safari*/
.row:before, .row:after {
    display: none !important;
}

/* Need for rounded crop box */
.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

/*Fix cropper for correct select box*/
.cropper-modal {
    z-index: 1;
    opacity: 0.4 !important;
}

.cropper-crop-box {
    z-index: 2;
}

/*Dialog*/
:root {
    --main-blue-color: #1C214F;
    --main-grey-color: #d8d8d8;
    --border-radius: 15px;
    --text-gray: #848585;
    --color-blue: #1C214F;
    --color-white-blue: #D2E1F0;
    --color-light-blue: #3696F8;
    --color-dark-blue: #1C214F;
    --color-green: #00D1A3;
    --color-red: #EA7B75;
    --color-white: #FFF;
    --color-asphalt-black: #ADADAD;
    --dm-status-color-blue: #4aa3ff;
    --dm-status-color-green: #00D1A3;
    --dm-status-color-orange: #FCE347;
    --dm-status-color-gray: #808080;
    /*--color-dark-blue: #0F2A46;
    --color-blue: #1D67B2;
    --main-blue-color: #20409a;
    --color-green: #72C24B;
    --dm-status-color-green: #72c24b;
    --dm-status-color-orange: #fcb92c;
    */
}

.modal-fluid {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}


.modal-fluid__overlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 101;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
}

.modal-fluid__dialog {
    margin-top: 1rem;
    height: calc(100% - 1rem);
    z-index: 102;
    width: 100%;
}

.dialog-content {
    height: 100%;
    display: grid;
    grid-template-areas: 
            "header"
            "body"
            "footer";
    grid-template-rows: minmax(min-content, max-content) auto minmax(min-content, max-content);
}

.dialog-content__header {
    grid-area: header;
    background-color: #FFFFFF;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    padding: 20px 16px 10px;
}

.dialog-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.dialog-content-header__text {
    margin-bottom: 2px;
    font-size: 1rem;
}

.dialog-content-header__description {
    font-size: .875rem;
    font-family: Inter, sans-serif;
    color: var(--text-gray);
}

.dialog-content__body {
    grid-area: body;
    overflow: hidden;
    background-color: #FFFFFF;
    border-radius: 0;
    padding: 10px 16px 20px;
}

.dialog-content__footer {
    grid-area: footer;
    background-color: #FFFFFF;
    border-radius: 0;
    padding: 40px 16px;
}

.dialog-content-footer {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.dialog-content-footer__button {
    width: 100%;
}

@media (min-width: 576px) {
    .modal-fluid__dialog {
        margin-top: 0;
        height: auto;
        max-width: 1052px;
        width: 90%;
    }

    .dialog-content__header {
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
        padding: 32px 32px 16px;
    }

    .dialog-content-header__text {
        margin-bottom: 4px;
        font-size: 1.5rem;
    }

    .dialog-content-header__description {
        font-size: 1.125rem;
    }

    .dialog-content__body {
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
        padding: 16px 32px 28px;
        margin-bottom: 20px;
    }

    .dialog-content__footer {
        border-radius: var(--border-radius);
        padding: 16px 20px;
    }

    .dialog-content-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        column-gap: 32px;
    }

    .dialog-content-footer__button {
        width: auto;
    }
}

/*Button*/

.btn-green {
    border-radius: 8px;
    background-color: #72C24B;
    color: var(--color-white);
}

.btn-blue {
    border-radius: 8px;
    background-color: var(--color-blue);
    color: var(--color-white);
}

.btn-gray {
    border-radius: 8px;
    background-color: #DCE2E4;
    color: var(--color-blue);
}


.btn.btn-white-blue {
    border-radius: 0.50rem;
    min-width: 154px;
    font-size: 0.95rem;
    padding-top: 6px;
    padding-bottom: 7px;
    background-color: var(--color-white-blue);
    color: var(--color-blue);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 13px;
}

.btn.btn-white-blue.disabled,
.btn.btn-white-blue:disabled,
.btn.btn-white-blue:disabled:hover {
    background-color: #F1F5F7;
    color: #A5C2E0;
    opacity: 1;
}

.btn.btn-white-blue:active,
.btn.btn-white-blue:not(:disabled):not(.disabled):active,
.btn.btn-white-blue:hover,
.btn.btn-white-blue:hover:enabled,
.btn.btn-white-blue:focus {
    color: var(--color-blue);
    background-color: var(--color-white-blue)
}

.btn.btn-white-blue img {
    filter: invert(33%) sepia(90%) saturate(720%) hue-rotate(179deg) brightness(88%) contrast(99%);
}

/*Ellipse*/

.ellipse {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
}

/*Text*/

.text-blue {
    color: var(--color-blue);
}

/*Desk map*/

.deskmap-image-container {
    /* Cause the absolutely positioned circles to be relative to the container */
    position: relative;
}

.desk-map-position {
    position: absolute;
    border-radius: 50%;
    background-color: var(--color-blue);
    cursor: pointer;
    border: 4px solid var(--color-white);
    padding: 4px;
}

.desk-map-position:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.desk-status_not-available {
    background-color: var(--dm-status-color-gray);
}

.desk-status_available {
    background-color: var(--dm-status-color-green);
}

.desk-status_booked {
    background-color: var(--dm-status-color-orange);
}

.desk-status_occupied {
    background-color: var(--dm-status-color-blue);
}

.desk-status_selected {
    background-color: var(--dm-status-color-blue);
}

.desk-status_available.desk-status_selected {
    background-color: var(--dm-status-color-blue);
}

/* Desks dialog (booking and viewing)*/

.desks-map-bv {
    display: grid;
    grid-template-rows: auto minmax(min-content, max-content);
}

.desks-map-bv__image {
    height: 100%;
}

.desks-map-bv__info {
    margin-top: 24px;
}

.desks-map-bv-info {
    display: flex;
    column-gap: 32px;
    flex-wrap: wrap;
}

.desks-map-bv-info__item {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.desks-map-bv-info__item_small-text {
    font-size: 1rem;
}

.desk-popover {
    font-size: 0.875rem;
    min-width: 74px
}

@media (min-width: 576px) {
    .desks-map-bv__image {
        height: 200px;
    }
}

@media (min-width: 768px) {
    .desks-map-bv__image {
        height: 300px;
    }
}

@media (min-width: 992px) {
    .desks-map-bv__image {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .desks-map-bv__image {
        height: 400px;
    }
}

/*Popover*/
.popover {
    background: #FFFFFF;
    box-shadow: 0 4px 24px rgb(0 0 0 / 25%);
    border-radius: 11px;
    border: none;
}

/* total width */
.custom-scrollbar::-webkit-scrollbar {
    background-color: transparent;
    width: 16px;
}

/* scrollbar itself */
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 6px solid white;
}

/* set button(top and bottom of the scrollbar) */
.custom-scrollbar::-webkit-scrollbar-button {
    display: none;
}

/* background of the scrollbar except button or resizer */
.custom-scrollbar::-webkit-scrollbar-track {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    color: var(--color-white) !important;
}

.e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-status.e-upload-success {
    color: var(--color-green);
}

/******* Loading indicator begin *******/
.loading-progress {
    position: relative;
    display: block;
    width: 6rem;
    height: 6rem;
    margin: 30vh auto 1rem auto;
    background-image: url(https://cdn.goilobby.com/blazor/logo/v25/app-loading-indicator-fos.svg) !important;
    background-position: center;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.2rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1B224F;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    color: #1B224F;
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(30vh + 5.6rem) 0 auto 0.6rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

/****** Loading indicator end *******/

.navbar-brand-box {
    display: flex;
}

.logo.logo-dark {
    display: flex;
}

.logo.logo-dark span.logo-lg {
    display: none
}

.logo.logo-dark span.logo-sm {
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .logo.logo-dark span.logo-lg {
        display: flex;
        align-items: center;
    }

    .logo.logo-dark span.logo-sm {
        display: none;
    }
}

.vertical-collpsed .logo.logo-dark span.logo-sm {
    display: flex;
    align-items: center;
}

.vertical-collpsed .logo.logo-dark span.logo-lg {
    display: none;
}