@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #0d2f5e;
    background: #ffffff;
    background: linear-gradient(180deg, #0d2f5e 0, #0d2f5e 160px, white 160px);
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
}

#logo-block {
    text-decoration: none;
    color: #0d2f5e;
}

.contentBox {
    border: 1px solid #999;
    background: white;
    padding: 0 30px 30px;
    margin: 80px auto 20px;
    max-width: 600px;
    width: 100%;
}

#footer {
    background: #26282c;
    width: 100%;
    color: #b9b9b9;
    margin-bottom: 0;
    padding-top: 20px;
    font-size: 0.8em;
    text-align: center;
    margin-top: auto;
}
#footer address :last-child {
    margin-bottom: 0;
}

#footer a, #footer a:visited {
    color: #FFF;
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}

.servizi label {
    line-height: 1em;
    margin: 0.3em 0;
}

.servizi > label.off {
    display: none !important;
}

.servizi > label > select {
    display: none;
}

.servizi input[type="checkbox"]:checked + select {
  display: block;
}

.casacaf {
  display: none;
}

.appointmentPicker #step1, .appointmentPicker #step2 {
    display: none;
}

#calendarContainer {
    margin-bottom: 20px;
    user-select: none;
}

#calendar .carousel-item table {
    width: 100%;
}

.carousel-control-next, .carousel-control-prev {
    height: 30px;
}

.day {
    height: 3em;
    line-height: 3em;
    color: #999;
    pointer-events: none;
}

.day.available {
    color: #0d2f5e;
    cursor: pointer;
    background: #e8f4f7;
    border-radius: 4px;
    border: 2px solid transparent;
    pointer-events: all;
}

.day.available:hover {
    border-color: #0d2f5e;
}

.slot {
    cursor: pointer;
    text-align: center;
    width: 6em;
    height: 3em;
    margin: 1em;
    display: inline-block;
    color: #0d2f5e;
    cursor: pointer;
    background: #e8f4f7;
    border-radius: 4px;
    border: 2px solid transparent;
    line-height: 3em;
    box-shadow: 0 0 4px rgb(0 0 0 / 40%);
}

.slot:hover {
    border-color: #0d2f5e;
}

#appointmentProposal {
    margin-bottom: 1em;
    font-size: 1.3em;
}

#appointmentProposal a {
    cursor: pointer;
}

/* responsive */
@media (max-width: 576px) {

    #form-richiedente label {
        width: 100%;
        text-align: left;
        margin-top: 0.5em;
        margin-left: 0;
    }

    #form-richiedente input {
        width: 100%;
    }

    #form-richiedente label.error {
        margin-top: 0;
    }

    .form-check-input {
        min-width: 16px;
    }
}