﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@media print {
    body {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }

    .is-hidden-print {
        display: none !important;
    }
}

.top-header {
    color: white;
    background-color: deepskyblue;
    padding: 1rem 1rem;
}

.title-header {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.125;
}

.fieldset {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0.5em 1em -0.125em rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.02);
    color: #4a4a4a;
    display: block;
    padding: 1.25rem;
    border: 1px solid #ccc
}

    .fieldset > legend {
        color: #363636;
        display: block;
        font-size: 1rem;
        font-weight: 700;
        background-color: #fff;
        padding: 0 5px;
        width: max-content;
        border: 0 none
    }

.title {
    color: #003366;
}

.subtitle {
    color: #8cd5ec;
}

.is-no-wrap {
    white-space: nowrap;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.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;
    }

.app-loader {
    position: absolute;
    left: 49%;
    right: 49%;
}

.h-3 {
    height: 80px;
}

.nav-link-pad {
    padding: 0.5em 0.75em;
}

.has-border-bottom {
    border-bottom: 1px solid #dbdbdb;
}

.has-border-bottom-medium {
    border-bottom: 1px solid rgb(10 10 10 / 25%);
}

.has-border-bottom-light {
    border-bottom: 1px solid rgb(10 10 10 / 5%);
}

.has-border-left-light {
    border-left: 1px solid rgb(10 10 10 / 5%);
}

.has-border-right-light {
    border-right: 1px solid rgb(10 10 10 / 5%);
}

.has-border-top-light {
    border-top: 1px solid rgb(10 10 10 / 5%);
}

.has-child-100w {
    width: 100% !important;
}

    .has-child-100w > div:first-of-type {
        width: 100% !important;
    }

.has-background-ifoa {
    background-color: #123174 !important;
}

.has-background-wa {
    background-color: #25D366 !important;
}

.footer {
    background-color: #014693;
}

.has-hand {
    cursor: pointer;
}

.margin-auto-lr {
    margin-left: auto;
    margin-right: auto;
}


/* Calendar

-------------------------------------------------- */
.calendar {
}

.calendar-column-header {
    background-color: #fff;
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.25rem;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
}

.calendar-column-day {
    background-color: #fff;
    text-align: left;
    padding: 0.25rem 0.25rem;
    font-size: 0.50rem;
}

    .calendar-column-day:last-child {
    }


.calendar-presenza-header {
    background-color: #fff;
    text-align: left;
    padding: 0.25rem 0.25rem 0.25rem 0rem;
    border: 0px solid rgb(10 10 10 / 5%);
    font-size: 1rem;
}

.calendar-presenza {
    background-color: #fff;
    text-align: left;
    padding: 0.25rem 0.25rem;
    border: 1px solid rgb(10 10 10 / 5%);
    font-size: 1rem;
    margin-bottom: 4px;
    border-radius: 3px;
}

    .calendar-presenza:hover {
        background-color: deepskyblue;
        cursor: pointer;
    }

.calendar-presenza-vuota {
    background-color: #fff;
    text-align: left;
    padding: 0.25rem 0.25rem;
    border: 1px solid rgb(10 10 10 / 5%);
    font-size: 1rem;
}

    .calendar-presenza-vuota:hover {
        background-color: deepskyblue;
    }

.calendar-column {
    background-color: #fff;
    text-align: left;
    padding: 0.25rem 0.25rem;
    border: 1px solid rgb(10 10 10 / 5%);
    font-size: 0.50rem;
    height: 14px;
}

    .calendar-column:hover {
        background-color: deepskyblue;
    }

.calendar-column-holiday {
    background-color: #C981D6;
}

.calendar-row-header {
    background-color: #fff;
    text-align: left;
    padding: 0.25rem 0.25rem;
    border: 1px solid rgb(10 10 10 / 5%);
    font-size: 0.75rem;
    height: 1rem;
    height: 28px;
}

.calendar-presenza {
    background-color: hsl(48, 100%, 67%);
}

.calendar-presenza-confermata {
    background-color: #00d1b2;
}



/* Sticky footer styles

-------------------------------------------------- */
html {
    position: relative;
    min-height: 100vh;
}

body {
    min-height: 100vh;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1;
}

.custom-footer {
    /*flex-shrink: 0;
    width: 100%;
    white-space: normal;
    line-height: 20px;*/ /* Vertically center the text there */
    /*background-color: #fafafa;
    margin: 0rem 0rem 0rem 0rem;
    padding: 1rem 1.5rem 1.5rem 1.5rem;*/
}

.is-size-85 {
    font-size: 0.85rem;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 45%;
    position: absolute;
    z-index: 1000;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}
@media only screen and (max-width: 320px) {
    .max-title-mobile {
        max-width: 100px;
        display:inline-block;
    }
}