@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F2F5F9
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.link {
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

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

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid green;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

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

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4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Dg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.loading-progress {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: #1D3054;
    font-family: Roboto;
    overflow: hidden;
}

    .loading-progress:before, .loading-progress:after {
        content: "";
        position: absolute;
        left: 50%;
        min-width: 300vw;
        min-height: 300vw;
        background-color: #F2F5F9;
        -webkit-animation-name: rotate;
        animation-name: rotate;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
    }

    .loading-progress:before {
        bottom: 35vh;
        border-radius: 45%;
        -webkit-animation-duration: 10s;
        animation-duration: 10s;
    }

    .loading-progress:after {
        bottom: 32vh;
        opacity: 0.5;
        border-radius: 47%;
        -webkit-animation-duration: 10s;
        animation-duration: 10s;
    }

@-webkit-keyframes rotate {
    0% {
        transform: translate(-50%, 0) rotateZ(0deg);
    }

    50% {
        transform: translate(-50%, -2%) rotateZ(180deg);
    }

    100% {
        transform: translate(-50%, 0%) rotateZ(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, 0) rotateZ(0deg);
    }

    50% {
        transform: translate(-50%, -2%) rotateZ(180deg);
    }

    100% {
        transform: translate(-50%, 0%) rotateZ(360deg);
    }
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

    .loading-progress circle:last-child {
        stroke: #71B28E;
        stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
        transition: stroke-dasharray 0.05s ease-in-out;
    }

.loading-progress-title {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(15vh + 3.25rem) 0 auto 0.2rem;
    padding-bottom: 15px;
}

    .loading-progress-title:after {
        color: #1D3054;
        font-size: 25pt;
        content: "Desk Booking";
    }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        color: #000;
        font-size: 20pt;
        content: var(--blazor-load-percentage-text, "Loading");
    }

*[id^='cell-desk'] > path, *[id^='cell-desk'] > rect, *[id^='cell-desk'] > foreignObject {
    cursor: pointer;
}

*[id^='cell-desk']:hover > path {
    fill: #1D3054 !important;
    stroke: #1D3054 !important
}

svg {
    pointer-events: visible !important
}

.apploading {
    width: 100px;
    height: 200px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    animation: rotation 3s infinite linear;
}

@keyframes rotation {
    100% {
        transform: rotatey(360deg);
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.blazored-modal {
    background-color: #FFFFFF !important;
    padding: 20px !important;
    width: 550px !important;
    border: 0 !important;
    top: 0 !important;
    height: 100% !important;
    right: 0 !important;
    margin: 0 !important;
    padding-bottom: 60px !important;
    position: fixed !important;
    color: #000 !important;
    border-radius: 0 !important;
}

.bm-content {
    height: 100vh;
    overflow-y: scroll;
}

    .bm-content::-webkit-scrollbar {
        display: none;
    }

.blazored-modal.child {
    right: 400px;
    width: 800px;
}

.map {
    width: 100%;
}

h1 {
    display: none
}

@media screen and (min-width: 1300px) {
    .map {
        width: 1000px
    }
}

.list-group-item-action {
    cursor: pointer;
}

.nav-item.bottom {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.map {
    height: calc(100vh - 150px);
}

.nav-link {
    padding-left: 15px;
}

    .nav-link > span {
        padding-right: 10px;
    }

@media screen and (max-width: 640px) {
    .content {
        height: calc(100vh);
        padding-top: 70px;
        padding-bottom: 100px;
        overflow: scroll;
    }

    .navbar {
        display: none
    }

    .blazored-modal {
        background-color: #F2F5F9 !important;
        width: 100% !important;
    }

    .nav-scrollable {
        width: 100%;
        background-color: #1D3054;
        z-index: 2;
        position: fixed;
        padding-left: 5px;
        padding-bottom: 10px;
        bottom: -1px;
        display: flex !important;
        justify-content: space-around !important;
    }

    .nav-item {
        padding: 10px !important;
        float: left;
    }

        .nav-item.bottom {
            position: inherit;
            bottom: inherit;
            width: unset;
            position: relative;
            top: 0;
        }

    .nav-scrollable a {
        font-size: 0;
    }

    .nav-scrollable span {
        font-size: 20px;
    }

    .nav-link {
        padding-right: 7px
    }

    h1, h3 {
        display: unset;
        font-size: 21pt;
        background-color: #F2F5F9;
        position: fixed;
        width: 100%;
        padding-top: 15px;
        padding-bottom: 50px;
        height: 45px;
        top: 0px;
        z-index: 10;
        -webkit-animation: slide-right 0.3s ease-in-out both;
        animation: slide-right 0.3s ease-in-out both;
        line-height: inherit;
    }

    @-webkit-keyframes slide-right {
        0% {
            -webkit-transform: translateX(-30px);
            transform: translateX(-30px);
            opacity: 0;
        }

        100% {
            -webkit-transform: translateX(0px);
            transform: translateX(0px);
            opacity: 1;
        }
    }

    @keyframes slide-right {
        0% {
            -webkit-transform: translateX(-30px);
            transform: translateX(-30px);
            opacity: 0;
        }

        100% {
            -webkit-transform: translateX(0px);
            transform: translateX(0px);
            opacity: 1;
        }
    }

    .bm-header {
        padding: 0 0 3rem 0 !important
    }

    .blazored-modal {
        height: calc(100vh - 78px) !important
    }

    .bm-container {
        background-color: unset !important
    }

    .map {
        height: calc(100vh - 240px)
    }

    .nav-link > .btn-text {
        display: none;
    }

    .nav-link {
        width: 60px;
        padding: 1rem 1rem
    }
}

.gradient {
    background-image: linear-gradient(to right, #ffaccf 20%, #5cb6f8 40%, #ba75e0 60%, #dd5183 80%, #ffaccf 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 10s infinite linear;
}

@keyframes gradient {
    to {
        background-position: 200% center;
    }
}

.popup-actions {
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 10px;
    border-top: solid 1px #c2c2c2;
    left: 0px;
}

.checkmark__circle {
    stroke-dasharray: 216; /* ORIGINALLY 166px */
    stroke-dashoffset: 216; /* ORIGINALLY 166px */
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 106px; /* ORIGINALLY 56px */
    height: 106px; /* ORIGINALLY 56px */
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 50% auto;
    box-shadow: inset 0px 0px 0px #7AC142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 98; /* ORIGINALLY 48px */
    stroke-dashoffset: 98; /* ORIGINALLY 48px*/
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 80px #7ac142;
    }
}

.bg-body {
    background-color: #fff !important
}

.timetable-box {
    width: 100%;
    text-align: center;
}

    .timetable-box > div {
        width: calc(100% / 15);
        display: inline-block;
        vertical-align: top;
        text-align: center;
        margin: 2%;
        padding: 12px;
    }

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.loading {
    background: linear-gradient(110deg, #F2F5F9 8%, #e1e3e1 18%, #F2F5F9 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1s shine linear infinite;
    width: 100%;
    height: calc(100vh - 100px);
}

    .loading.white {
        background: linear-gradient(110deg, #fff 8%, #e1e3e1 30%, #fff 33%);
    }

    .loading.btn {
        width: 200px;
        height: 38px;
        border: unset
    }

    .loading.alert {
        width: 100%;
        height: 55px;
        border: unset
    }

    .loading.item {
        width: 100%;
        height: 55px;
        border: unset;
        margin-bottom: 10px;
    }

.btn-info, .btn-info:hover {
    color: #fff !important
}

.popup-actions > .btn {
    margin-right: 5px
}

.login > .form-floating {
    width: calc(100% - 130px);
    padding-right: 5px;
}

.login > .btn {
    width: 44px;
    cursor: pointer
}

.help {
    color: #71B28E;
    font-size: 20pt;
    text-align: center;
    cursor: pointer;
}

.toast-container {
    z-index: 20
}

.initials {
    width: 40px;
    height: 30px;
    margin: 5px;
    padding: 5px;
    background-color: #5172B0;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    vertical-align: middle;
    line-height: 22px;
}

.users {
    padding: 10px
}

    .users:hover {
        background-color: #ECECEC;
        cursor: pointer;
        padding: 10px;
        border-radius: 5px;
    }
