:root {
    --blu: #034895;
    --arancione: #ea5d28;
    --fucsia: #e7005e;
    --background: #fefef2;
    --testo: #000000;
    --rosso: #FF0000;
    --giallo: #efd8a8;
    --bianco: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes slide-down {
    0% {
        top: -5rem;
    }

    25% {
        top: 2rem;
    }

    75% {
        top: 2rem;
    }

    100% {
        top: -5rem;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 3.5rem;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 3.5rem;
    opacity: 1;
  }
}

html {
    font-size: 10px;
    background-color: var(--background);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    visibility: visible;
    transition: visibility 0s 0.5s;
    color: var(--testo);
}

body.disabled {
    overflow: hidden;
}

body.disabled>:not(#menu) {
    visibility: hidden;
    transition: visibility 0s 0.5s;
}

*.hidden {
    display: none !important;
}

.bold {
    font-weight: 700;
}

.material-icons {
    -webkit-user-select: none;
    user-select: none;
}

.heading {
    color: black;
    font-size: 2.5rem;
    font-weight: 700;
}

.sub-heading {
    color: black;
    font-size: 2rem;
    font-weight: 600;
    line-height: 2.5rem;
}

a {
    color: var(--bianco);
    text-decoration: underline;
}

.blu {
    color: var(--blu);
}

.arancione {
    color: var(--arancione);
}

.giallo {
    color: var(--giallo);
}

.fucsia {
    color: var(--fucsia);
}

.italic {
    font-style: italic;
}

.bg-blu {
    background-color: var(--blu);
    color: #FFF;
}
.bg-giallo {
    background-color: var(--giallo) !important;
    color: var(--blu) !important;
}

.bg-facce-dx {
    background: url('../img/bg-facce-dx.png') right bottom;
    background-repeat: no-repeat;
    background-size: 25%;
}
.bg-facce-sx {
    background: url('../img/bg-facce-sx.png') left bottom;
    background-repeat: no-repeat;
    background-size: 25%;
}

.bg-arancione {
    background-color: var(--arancione);
    color: #FFF;
}

.bg-fucsia {
    background-color: var(--fucsia);
    color: #FFF;
}

.bg-bianco {
    background-color: #FFF;
    color: var(--blu);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.text-home {
    font-size: 1.7rem;
    line-height: 2.4rem;
}
.text-beneficienza {
    font-size: 2.1rem;
    line-height: 2.8rem;
}

.label {
    display: block;
    margin: 1.5rem 0;
    font-weight: 700;
    color: var(--giallo);
}

.input {
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 0.2rem solid #a5a5a5;
    border-radius: 0;
    outline: none;
    background-color: #ededed;
    color: black;
    font-family: inherit;
    font-size: 1.5rem;
    resize: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}

.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-weight: 700;
}

.success {
    color: green;
    font-weight: 700;
}

.button {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem 0;
    width: max-content;
    height: max-content;
    border: none;
    background-color: var(--blu);
    color: white;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.button:hover {
    background-color: var(--blu);
}

.row {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: max-content;
}

.row-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: max-content;
}

.row-bottom {
    display: flex;
    align-items: flex-end;
    height: max-content;
}

.column {
    flex: 1;
}

.container {
    box-sizing: border-box;
    width: 100rem;
    max-width: 100%;
    padding: 1rem 2rem 4rem 2rem;
    margin: 0 auto auto auto;
}

.container-fluid {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    margin: 0;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: var(--giallo);
}

.navbar .container {
    padding: 1rem;
    background-color: var(--giallo);
}

.navbar .row {
    justify-content: center;
}

.navbar-item {
    appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    border: none;
    padding: 1rem;
    color: var(--blu);
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item:hover,
.navbar-item-active {
    background-color: #dbdbdb;
}

.navbar-item.active .navbar-item-dropdown {
    display: block;
}

.navbar-item.active .navbar-item-heading .material-icons {
    transform: rotate(180deg);
}

.navbar-item-heading {
    appearance: none;
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
}

.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-weight: 700;
    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-list-container {
    display: flex;
    gap: 2.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox {
    position: relative;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    border: 0.2rem solid #a5a5a5;
    background-color: #ededed;
    -webkit-user-select: none;
    user-select: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}

.checkbox:focus-within {
    border-color: black;
}

.checkbox.active {
    border-color: black;
}

.checkbox input {
    position: absolute;
    opacity: 0;
}

.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 black;
    color: black;
}

.tab {
    display: flex;
    justify-content: center;
    padding: 1rem;
    color: var(--blu);
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.tab:not(.tab-active):hover {
    background-color: var(--blu);
    color: var(--bianco);
}

.tab-active {
    background-color: var(--blu);
    color: var(--bianco);
    font-weight: 700;
}

.table-container {
    overflow: auto;
}

.table {
    table-layout: fixed;
    width: 98rem;
    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: var(--bianco);
    color: var(--blu);
}

.table tbody tr:nth-child(even) {
    /* background-color: var(--blu); */
    color: var(--giallo);
}

.table-admin tbody tr:nth-child(even) {
    /* background-color: var(--blu); */
    color: var(--blu);
}

.table tbody tr:nth-child(odd) {
    background-color: var(--giallo);
    color: var(--blu);
}

.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-weight: 700;
    text-align: right;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
}

.menu-item .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.menu-item-active {
    text-decoration: underline;
}

.menu-item-heading {
    appearance: none;
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    color: white;
    font-family: inherit;
    font-size: 2.5rem;
    font-weight: 700;
}

.menu-item-dropdown {
    max-height: 0;
    overflow: hidden;
    border-left: 0.2rem solid white;
    transition: max-height 0.5s, visibility 0s linear 0.5s;
    visibility: hidden;
}

.menu-item.active .menu-item-dropdown {
    max-height: 25rem;
    visibility: visible;
    transition: max-height 0.5s, visibility 0s;
}

.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: 50rem;
    max-width: 100%;
    padding: 1rem;
    margin: auto;
}

#toolbar {
    background-color: white;
    color: var(--blu);
}

#toolbar .container {
    padding: 1rem;
}

#user {
    font-weight: 700;
}

#logout {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: max-content;
    margin-left: auto;
    color: var(--blu);
    text-decoration: none;
}

#mobile-navbar {
    display: none;
}

#open-menu {
    display: flex;
}

#menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 1rem;
    overflow: auto;
    background-color: var(--blu);
    transition: right 0.5s, visibility 0s linear 0.5s;
    visibility: hidden;
}

#menu.active {
    right: 0;
    visibility: visible;
    transition: right 0.5s, visibility 0s;
}

#close-menu {
    appearance: none;
    display: flex;
    border: none;
    background: none;
    padding: 0;
    margin: 2.5rem 0 2.5rem auto;
    color: white;
    text-align: right;
}

#close-menu .material-icons {
    font-size: 48px;
}

#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;
    background-color: green;
    color: white;
    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;
}

#consent .paragraph{
    color: #034895 !important;
}

#header {
    display: block;
    width: 100%;
}

#footer {
    color: var(--blu);
    background-color: var(--giallo);
    margin-top: 0;
    margin-bottom: 0 !important;
    padding: 1rem 5rem;
}

#footer p {
    font-size: 1.4rem !important;
}

#footer a{
    color: var(--blu);
}

.logo-sum-contatti {
    display: block;
    margin-bottom: 1.5rem;
}

.bt-link {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
}

.navbar-logo {
    display: flex;
    align-items: center;
    height: max-content;
    margin-right: auto;
    color: white;
    text-decoration: none;
}

.div-account-container-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.div-account-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

#user {
    margin-left: 0.5rem;
    margin-right: 1.5rem;
}

.smaller {
    font-size: 0.8em;
    font-style: italic;
}

.banner-dashboard {
    padding: 2rem 0;
    color: white;
    margin-bottom: 0;
}

.banner-dashboard .container {
    background: none !important;
}

.tab-dashboard {
    color: var(--blu);
    background-color: white;
    margin-right: 0.25rem;
    font-size: 0.8em;
}

.tab-dashboard-active {
    background-color: var(--arancione);
    font-weight: 700;
    color: white;
}

.tab-dashboard a,
.tab-dashboard-active a {
    text-decoration: none;
}

.tab-dashboard-active a {
    color: #ffffff;
}

.min-h {
    min-height: 50rem;
}

.min-h-75 {
    min-height: 75rem;
}

.table-reg {
    table-layout: auto;
    text-align: left;
}

.visibility.active {
    display: flex;
}

.visibility {
    display: none;
    align-items: center;
    padding: 1rem;
    margin-left: 1rem;
    width: max-content;
    height: max-content;
    border: none;
    border-radius: 0.5rem;
    color: white;
    background-color: var(--blu);
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.container-fluid .table {
    width: 100%;
}

.w-100 {
    width: 100%;
}

.w-90 {
    width: 90%;
}

.w-80 {
    width: 80%;
}

.w-70 {
    width: 70%;
}

.w-60 {
    width: 60%;
}

.w-50 {
    width: 50%;
}

.w-40 {
    width: 40%;
}

.bambine-home {
    width: 50%;
    border-bottom: 2px solid var(--giallo);
    padding: 0 2rem;
}

.claim-home {
    font-size: 2.8rem;
}

.spacer-10 {
    height: 10rem;
}

.relatore{
    font-weight: 700;
    font-style: italic;
}

td.td-orario{
    width: 20%;
}

td.td-programma{
    text-align: left !important;
}

.flex-2{
    flex: 2;
}
.flex-3{
    flex: 3;
}
.img-auditorium{
    margin-bottom: 1rem;
    width: 100%;
}
.footer-first-col{
    text-align: left;
}
.footer-second-col{
    text-align: right;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: var(--giallo);
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 35%;
  /* height: 60%;
    overflow-y: scroll; */
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.modal-content img {
  width: 70%;
  display: block;
  margin: 1.5rem auto;
  border-radius: 50%;
}

.privacy-container-pop {
  /* background-color: #F7BC46; */
  padding: 1.5rem;
  height: auto;
  overflow-y: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.privacy-container-pop iframe {
  width: 100%;
  margin: auto;
}

/* The Close Button */
.close {
  color: #005792;
  float: right;
  font-size: 28px;
  font-weight: bold;

  position: absolute;
  right: -2rem;
  top: -2rem;
  background: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50%;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.sponsor-container {
    display: flex;
    margin: 2rem 0;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.sponsor {
    width: 20rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}