.navbar {
    --bs-navbar-brand-font-size: 1.1rem;
}

:root {
    --bs-body-font-size: 0.9rem;
}

body, html {
    font-family: 'Poppins', sans-serif;
}

iframe {
    aspect-ratio: 16 / 9;
    height: 100%;
    width: 100%;
}

textarea {
    resize: none;
}

.container-welcome {
    padding: 60px 15px;
    width: 100vw;
    height: 100vh;
    max-width: 512px;
    margin: 0 auto;
}

@media (max-width:505px) {
    main > .container {
        padding: 60px 15px 0;
        width: 100vw;
        min-height: 100vh;
        margin: 50px auto;
    }

    main > .container-tripadvisor {
        max-width: 800px;
    }
}

@media (min-width:506px) {
    main > .container {
        padding-top: 60px;
        width: 100vw;
        min-height: 100vh;
        max-width: 512px;
        margin: 100px auto;
    }

    main > .container-tripadvisor {
        max-width: 800px;
    }
}

.navbar-flag-icon {
    width: 25px;
    height: 25px;
    padding: 0;
    margin: 0;
}

.frontpage-square-btn {
    width: 38px;
    height: 38px;
    background-color: #3a8dde;
}

.frontpage-breadcrumb, .frontpage-breadcrumb-mobile {
    width: 100%;
}

.frontpage-breadcrumb-btn {
    width: 25%;
    overflow-x: hidden;
    color: #3a8dde;
    border-color: #3a8dde;
}

.btn-plateform, .frontpage-btn, .frontpage-breadcrumb-btn:not(:disabled):not(.disabled).active, .frontpage-breadcrumb-btn:hover, .frontpage-breadcrumb-btn:focus {
    color: #fff;
    background-color: #3a8dde;
    border-color: #3a8dde;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.bottone-indietro {
    color: #3a8dde;
    background-color: #fff;
    border-color: #3a8dde;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.frontpage-btn:hover, .frontpage-btn.active, .btn-plateform:hover {
    color: #fff;
    background-color: #204d74;
}

.bottone-indietro:hover {
    color: #fff;
    background-color: #3a8dde;
    border-color: #3a8dde;
}

.has-error {
    color: red;
}

.has-error textarea,.has-error input,.has-error select {
    border: 1px solid red;
}

.datepicker table tr td.new, .datepicker table tr td.new:hover, .datepicker table tr td.old, .datepicker table tr td.old:hover {
    visibility: hidden !important;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    color: #dee2e6;
}

span.circle{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    border-radius: 50%;
    background: grey;
    color: #fff;
    text-align: center;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #e2e5ec;
    color: #595d6e;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
    background-color: #c0c0dd;
    border: 1px solid #b7b7d9;
    color: #212529;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active {
    background-color: #c0c0dd;
    border: 1px solid #b7b7d9;
    color: #212529;
}

.campi-custom-font {
    font-size: 1.08rem;
}

/* Calendario più largo */
.datepicker-inline {
    width: 90%;
    margin: auto;
}
.datepicker table {
    width: 100%;
    margin: auto;
    border-collapse: separate;
    border-spacing: 5px 5px;
}

/* Giorni calendario mobile */
@media (max-width:352px) {
    .datepicker table tr td, .datepicker table tr th {
        text-align: center;
        width: 29px!important;
        height: 29px!important;
        border-radius: 50%;
        border: none;
    }
}

@media (min-width:353px) and (max-width:402px) {
    .datepicker table tr td, .datepicker table tr th {
        text-align: center;
        width: 32px!important;
        height: 32px!important;
        border-radius: 50%;
        border: none;
    }
}

@media (min-width:403px) and (max-width:457px) {
    .datepicker table tr td, .datepicker table tr th {
        text-align: center;
        width: 39px!important;
        height: 39px!important;
        border-radius: 50%;
        border: none;
    }
}

@media (min-width:458px) and (max-width:506px) {
    .datepicker table tr td, .datepicker table tr th {
        text-align: center;
        width: 42px!important;
        height: 42px!important;
        border-radius: 50%;
        border: none;
    }
}

/* Giorni calendario tondi */
@media (min-width:507px) {
    .datepicker table tr td, .datepicker table tr th {
        text-align: center;
        width: 53px;
        height: 53px;
        border-radius: 53px;
        border: none;
    }
    #frontpage-step-giorno-skeleton-div > table > tbody > tr > td.skeletonBadge {
        width: 53px !important;
        height: 53px !important;
        overflow: hidden;
        border-radius: 53px;
    }
}

/* Colore giorno selezionato */
.datepicker table tr td.active.active, .datepicker table tr td.active.highlighted.active, .datepicker table tr td.active.highlighted:active, .datepicker table tr td.active:active,
.datepicker table tr td.active.active.focus, .datepicker table tr td.active.active:focus, .datepicker table tr td.active.active:hover, .datepicker table tr td.active.highlighted.active.focus, .datepicker table tr td.active.highlighted.active:focus, .datepicker table tr td.active.highlighted.active:hover, .datepicker table tr td.active.highlighted:active.focus, .datepicker table tr td.active.highlighted:active:focus, .datepicker table tr td.active.highlighted:active:hover, .datepicker table tr td.active:active.focus, .datepicker table tr td.active:active:focus, .datepicker table tr td.active:active:hover {
    color: rgba(0, 0, 0, 0.87);
    background-color: rgb(229, 229, 229);
    border-color: rgb(229, 229, 229);
}

/* Colore giorno datepicker :hover */
.datepicker table tr td.day:hover, .datepicker table tr td.focused {
    background: rgb(242, 242, 242);
}

/* Bottoni tondi orari e persone */
.frontpage-btn-persone, .frontpage-btn-orari {
    width: 64px;
    height: 64px;
    border-radius: 64px;
    color: rgba(0, 0, 0, 0.87);
    background-color: rgb(242, 242, 242);
    border-color: rgb(242, 242, 242);
    font-size: 0.9rem;
}

/* Bottoni tondi orari e persone */
.frontpage-btn-orari-disabled {
    width: 64px;
    height: 64px;
    border-radius: 64px;
    color: rgba(124, 124, 124, 0.87) !important;
    background-color: rgb(242, 242, 242);
    border-color: rgba(124, 124, 124, 0.87) !important;
    font-size: 0.9rem;
    color: #fff;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Bottoni tondi orari e persone :hover */
.frontpage-btn-persone:hover, .frontpage-btn-persone.active, .frontpage-btn-orari:hover, .frontpage-btn-orari.active {
    /*color: #fff;
    background-color: #204d74;*/
    color: rgba(0, 0, 0, 0.87);
    background-color: rgb(229, 229, 229);
    border-color: rgb(229, 229, 229);
}

/* Radio button grandi */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
}

/* Breadcrumb */

.breadcrumb-container {
    padding: 4px 0 0;
    margin-bottom: 10px;
    background-color: transparent;
    align-items: flex-start;
    flex-direction: row;
    display: flex;
}

.breadcrumb-container div.breadcrumb-step {
    flex: 1;
    position: relative;
    padding-left: 8px;
    padding-right: 8px;
    cursor: default;
}

.breadcrumb-container div.breadcrumb-step div.step {
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: #ccc;
    font-size: 16px;
    height: 32px;
    line-height: 32px;
    margin: 0 auto;
    position: relative;
    width: 32px;
    z-index: 1;
}

.breadcrumb-container div.breadcrumb-step.active {
    cursor: pointer;
}

.breadcrumb-container div.breadcrumb-step.active div.step {
    border-color: #4183D7;
    color: #4183D7;
}

.breadcrumb-container div.breadcrumb-step div.caption {
    color: #ccc;
    padding: 11px 16px;
}

.breadcrumb-container div.breadcrumb-step.active div.caption {
    color: #4183D7;
}

.breadcrumb-container div.breadcrumb-step div.line {
    top: 16px;
    left: calc(-50% + 32px);
    right: calc(50% + 32px);
    position: absolute;
    border-top-style: solid;
    border-top-width: 1px;
    border-color: #ccc
}

/* Label form */

.form-floating label {
    color: #A2ADB9;
}

/* DELIVERY */

/* Bottone - */
#modal-dettaglio-piatto-minus {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
/* Bottone + */
#modal-dettaglio-piatto-plus {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
/* Modal dettaglio piatto */
.modal-header {
    border-bottom: 0;
}

.modal-footer {
    border-top: 0;
}

.badge.badge-menu-allergeni, .badge.badge-menu-ingredienti {
    background-color: #EFEFEF!important;
    color: black;
}

.flag-fa-surgelato {
    color: #AEB6BF;
    margin-left: 8px;
}

div.menu-piatto-in-evidenza {
    background: #FFF7E0;
    border: 1px dashed #FFBF00;
    padding: 8px;
}

/*td.redday, table.ui-datepicker-calendar tbody td.redday a {*/
/*    background: none !important;*/
/*    background-color : rgba(255, 211, 40, 0.58) !important;*/
/*    background-image : none !important;*/
/*    color: White !important;*/
/*    font-weight: bold !important;*/
/*    font-size: 10pt;*/
/*    margin: 10px;*/
/*}*/
button.listaAttesaDay {
    background: #FABC2A none !important;
}
button.soldoutDay {
    background: #F05365 none !important;
}

/* Giorno lista attesa */
.datepicker table tr td.listaAttesaBadge:not(.old):hover, .datepicker table tr td.listaAttesaBadge:not(.old) {
    outline: 1px dashed #000;
    color: #000;
    background-color: #FFF;
    cursor: pointer;
}
/* Giorno sold out */
.datepicker table tr td.soldOutBadge:not(.old):hover, .datepicker table tr td.soldOutBadge:not(.old){
    border: 1px solid #dee2e6;
    background-color: #FFF;
    color: #dee2e6;
    cursor: not-allowed;
    outline: 0;
}
/* Turni pieni */
.datepicker table tr td.nonDisponibileBadge:not(.old):hover, .datepicker table tr td.nonDisponibileBadge:not(.old){
    border: 1px solid #dee2e6;
    background-color: #FFF;
    color: #dee2e6;
    cursor: not-allowed;
    outline: 0;
}
/* Giorno esperienze */
.datepicker table tr td.esperienzeBadge:not(.old):hover, .datepicker table tr td.esperienzeBadge:not(.old) {
    border: 1px solid #000;
    background-color: #FFF;
    color: #000;
    cursor: pointer;
    outline: 0;
}
/* Giorno disponibile */
.datepicker table tr td.giornoDisponibileBadge:not(.old):hover, .datepicker table tr td.giornoDisponibileBadge:not(.old) {
    border: 1px solid #000;
    background-color: #FFF;
    color: #000;
    cursor: pointer;
    outline: 0;
}
/* Giorno non attivo */
.datepicker table tr td.passatoBadge:not(.old):hover, .datepicker table tr td.passatoBadge:not(.old) {
    border: none;
    background-color: #FFF;
    color: #dee2e6;
    cursor: not-allowed;
    outline: 0;
}
/* Giorno chiuso */
.datepicker table tr td.chiusoBadge:not(.old):hover, .datepicker table tr td.chiusoBadge:not(.old) {
    border: none;
    background-color: #FFF;
    color: #dee2e6;
    cursor: not-allowed;
    outline: 0;
}

/* Skeleton loader */

.datepicker table tr td.skeletonBadge, .datepicker table tr td.skeletonBadge:hover {
    animation: skeleton-loading 1s linear infinite alternate;
    color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
}

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.iti {
    width: 100%;
}

#phone::placeholder {
    color: #A2ADB9 !important;
    font-size:14px;
}