@font-face {
    font-family: "roche sans";
    src:
        url("font/RocheSans-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "roche sans bold";
    src:
        url("font/RocheSans-Bold.woff2") format("woff2");
}

@keyframes slide-down {
    0% {
        top: -5rem;
    }

    25% {
        top: 2rem;
    }

    75% {
        top: 2rem;
    }

    100% {
        top: -5rem;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html {
    font-size: 10px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "roche sans", sans-serif;
    font-size: 1.5rem;
}

*.hidden {
    display: none !important;
}

.material-icons {
    -webkit-user-select: none;
    user-select: none;
}

p, li {
    font-size: 1.7rem;
    color: #0b41cd;
}

a {
    color: #092877;
}

.heading {
    color: #0b41cd;
    font-size: 2.5rem;
    font-family: "roche sans bold";
}

.sub-heading {
    color: #0b41cd;
    font-size: 2rem;
}

.label {
    display: block;
    margin: 1.5rem 0;
    font-family: "roche sans bold";
    cursor: pointer;
}

.input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 0.2rem solid #a5a5a5;
    border-radius: 0;
    outline: none;
    color: black;
    background-color: #ededed;
    font-family: inherit;
    font-size: 1.5rem;
    resize: none;
    transition-property: border-color;
    transition-duration: 0.25s;
    appearance: none;
}

.input:focus {
    border-bottom: 0.2rem solid black;
}

.input:not(textarea, input[type="file"]) {
    height: 5rem;
}

.input::file-selector-button {
    padding: 1rem;
    margin-right: 1rem;
    border: none;
    color: white;
    background-color: black;
}

.input-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.anchor {
    color: black;
}

.error {
    color: red;
    font-family: "roche sans bold";
}

.success {
    color: green;
    font-family: "roche sans bold";
}

.button {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin: 1rem 1rem 1rem 0;
    width: max-content;
    height: max-content;
    border: none;
    color: black;
    background-color: #ededed;
    font-family: inherit;
    font-size: 1.5rem;
    font-family: "roche sans bold";
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.button:hover {
    background-color: #dbdbdb;
}

.button .material-icons {
    margin-right: 0.5rem;
}

.row {
    display: flex;
    align-items: center;
    height: max-content;
}

.row-top {
    display: flex;
    align-items: flex-start;
    height: max-content;
}

.row-bottom {
    display: flex;
    align-items: flex-end;
    height: max-content;
}

.text-right {
    text-align: right;
}

.column {
    flex: 1;
}

.column:not(.column:last-child) {
    padding-right: 1rem;
}

.container {
    box-sizing: border-box;
    width: 100rem;
    max-width: 100%;
    padding: 1rem;
    margin: 0 auto auto auto;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #0b41cd;
}

.navbar .row {
    justify-content: right;
}

.navbar-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem;
    color: white;
    font-family: "roche sans bold";
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item:not(.navbar-item:last-child) {
    margin-right: 0.5rem;
}

.navbar-item:hover,
.navbar-item-active {
    background-color: #ffffff;
    color: #0b41cd;
}

.navbar-item:hover .navbar-item-dropdown {
    display: block;
}

.navbar-item:hover .navbar-item-heading .material-icons {
    transform: rotate(180deg);
}

.navbar-item-heading {
    display: flex;
    align-items: center;
}

.navbar-item-heading .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.navbar-item-dropdown {
    position: absolute;
    top: 4rem;
    left: 0;
    display: none;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 1rem #c9c9c9;
}

.navbar-item-dropdown .dropdown-item {
    position: relative;
    display: block;
    padding: 1rem;
    color: black;
    font-family: "roche sans bold";
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item-dropdown .dropdown-item:hover {
    background-color: #ededed;
}

.checkbox-container:not(.checkbox-container:last-child) {
    margin-right: 2.5rem;
}

.checkbox {
    position: relative;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    border: 0.2rem solid #a5a5a5;
    background-color: #ededed;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}

.checkbox.active {
    border-color: black;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox .material-icons {
    margin: auto;
    color: #ededed;
    transition-property: color;
    transition-duration: 0.25s;
}

.checkbox.active .material-icons {
    color: black;
}

.break {
    width: 75rem;
    max-width: 100%;
    margin: 2.5rem auto;
    border: none;
    border-bottom: 0.2rem solid #0b41cd;
    color: #0b41cd;
}

.tab {
    display: flex;
    justify-content: center;
    padding: 1rem;
    color: black;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.tab:not(.tab-active):hover {
    background-color: #ededed;
}

.tab-active {
    background-color: #dbdbdb;
    font-family: "roche sans bold";
}

.table-container {
    overflow: auto;
}

.table {
    table-layout: fixed;
    width: 98rem;
    margin: 2.5rem 0;
    border-collapse: collapse;
    text-align: center;
}

.table caption {
    margin-bottom: 1rem;
    text-align: left;
}

.table th,
.table td {
    padding: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table thead tr {
    background-color: #dbdbdb;
}

.table tbody tr:nth-child(even) {
    background-color: #ededed;
}

.table tbody tr:nth-child(odd) {
    background-color: white;
}

.table a {
    display: flex;
    justify-content: center;
    color: black;
    text-decoration: none;
}

.menu-item {
    box-sizing: border-box;
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 1rem;
    margin-left: auto;
    color: white;
    font-size: 2.5rem;
    font-family: "roche sans bold";
    text-align: right;
    text-decoration: none;
}

.menu-item .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.menu-item-active {
    text-decoration: underline;
}

.menu-item-heading {
    display: flex;
    align-items: center;
    justify-content: right;
}

.menu-item-dropdown {
    max-height: 0;
    overflow: hidden;
    border-left: 0.2rem solid white;
    transition-property: max-height;
    transition-duration: 0.5s;
}

.menu-item.active .menu-item-dropdown {
    max-height: 25rem;
}

.menu-item.active .material-icons {
    transform: rotate(180deg);
}

.menu-item-dropdown .dropdown-item {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
}

#login {
    box-sizing: border-box;
    width: 70rem;
    max-width: 100%;
    padding: 1rem;
    margin: auto;
}

#toolbar {
    color: #0b41cd;
    background-color: white;
}

#user {
    margin-left: 0.5rem;
}

#logout {
    display: flex;
    align-items: center;
    height: max-content;
    margin-left: auto;
    color: #0b41cd;
    text-decoration: none;
}

#logout span {
    margin-left: 0.5rem;
}

#mobile-navbar {
    display: none;
}

#open-menu {
    display: block;
}

#menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #0b41cd;
    transition-property: right;
    transition-duration: 0.5s;
}

#menu.active {
    right: 0;
}

#close-menu {
    display: block;
    margin: 2.5rem 0;
    color: white;
    font-size: 48px;
    text-align: right;
}

#snackbar-container {
    position: relative;
    width: 30rem;
    margin: 0 auto;
}

#snackbar {
    position: fixed;
    top: -5rem;
    z-index: 2;
    box-sizing: border-box;
    width: inherit;
    padding: 1rem;
    box-shadow: 0 0 1rem black;
    color: white;
    background-color: green;
    text-align: center;
    animation-name: slide-down;
    animation-duration: 2s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

#consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 0.5s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

#consent {
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100rem;
    max-width: 100%;
    padding: 2.5rem;
    margin: auto;
    box-shadow: 0 0 1rem black;
    background-color: white;
}

#header {
    object-fit: cover;
    display: block;
    width: 100%;
    /* height: 30rem; */
    margin-bottom: 2.5rem;
}

#header-mobile {
    display: none;
}

.footer {
    width: 100%;
    box-sizing: border-box;
    padding: 2.5rem;
    background-color: #0b41cd;
    color: #FFFFFF;
    font-size: 1.4rem;
    margin: 2rem auto auto auto;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer p {
    line-height: 1.5em;
    font-size: 1.5rem;
    color: #FFFFFF;
}

.container-fluid {
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    margin: 0 auto auto auto;
}

.container-fluid .table{
    width: 98%;
    table-layout: inherit;
}

.smaller-90 {
    font-size: 0.9em;
}

form p {
    margin-bottom: 2.5rem;
}

.txt-blu {
    color: #0b41cd;
}

.testo-login {
    font-size: 1.75rem;
}

.bt-home {
    display: flex;
    font-size: 1.8rem;
    text-decoration: none;
    background-color: #0b41cd;
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.bt-home .material-icons {
    margin-right: 1.1rem;
}

.p-programma {
    color: #0b41cd;
    font-size: 1.7rem;
}

.text-center {
    text-align: center;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.col-orario {
    text-align: right;
}

.col-txt-prog {
    flex: 2;
}

.spacer-home {
    height: 1.5rem;
}

.row-indirizzo {
    margin-bottom: 1.5rem;
}

/* .col-indirizzo{
    flex: 2;
} */
.col-andata {
    border-right: 2px solid #0b41cd;
}
.col-ritorno{
    padding-left: 1rem;
}
.bt-ticket {
    display: flex;
    font-size: 1.8rem;
    text-decoration: none;
    background-color: #0b41cd;
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.bt-ticket .material-icons {
    margin-right: 1.1rem;
}
.bg-azzurro{
    background-color: aliceblue;

}
.pad-top-2{
    padding-top: 2rem;
}
.pad-top-bot-2{
    padding-top: 2rem;
    padding-bottom: 2rem;
}