/*:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: #242424;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

h2 {
  font-size: 1rem;
  line-height: 1;
}
.container {
  display: flex;
  justify-content: center;
}
*/
.d-none {
    display: none;
}


#calendar {
    /*position: fixed;*/
    width: 100%;
    bottom: 0;
    /*height: 70%;*/
    /*border: 1px solid #535bf2;*/
    border-radius: 1rem;
}

.arrow-container {
    display: flex;
    justify-content: center;
}

.arrow {
    width: 0;
    height: 0;
    border-left: 105px solid transparent;
    border-right: 105px solid transparent;
    border-bottom: 15px solid white;
}
.calendar-container {
    color: #eee;/*#213547;*/
    width: 100%;
    background-color: #111; /*#eee;*/
    /*border-top-left-radius: 16px;
    border-top-right-radius: 16px;*/
    border-radius:16px;
    height: 100%;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    height: 50px;
}

.calendar-body {
    height: calc(100% - 50px);
    overflow: hidden;
    /* overflow-y: scroll; */
    display: flex;
    padding-bottom: 50px;
}
/*.calendar h2,
.modalOrePrenotaz h3, .modalOrePrenotaz h5 {
    color: #111 !important;
}*/
.calendar-header h2 {
    font-size: 2em;
}
h2.month-name {
    font-size: 1.6em;
}
.month {
    padding-bottom: 10px;
    flex-basis: 100%;
    flex-shrink: 0;
    display: none;
}

    .month.active {
        display: block;
    }

.month-header {
    text-align: center;
    padding: 10px;
}

.weekdays {
    display: flex;
    list-style: none;
    justify-content: space-between;
    /*padding: 10px 20px;*/
    font-weight: bold;
    padding: 2px 20px;
    margin: 0;
}

.days {
    display: flex;
    list-style: none;
    justify-content: start;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.day {
    width: calc(100% / 7);
    text-align: center;
    border-bottom: 2px solid transparent;
    border-top: 2px solid transparent;
}

.days > .day {
    padding: 5px; /*20px;*/
    cursor: pointer;
}

.day.disabled {
    color: #7c7c7c;/*#d5d8db;*/
}

.day.selected {
    background-color: #c08d36; /*#0070cc;*/
    color: #fff;
    border-radius: 6px;
    border-bottom: 2px solid #e6a22f; /*#0070cc;*/
    border-top: 2px solid #e6a22f; /*#0070cc;*/
}

.modalOrePrenotaz {
    /*
    position: fixed;
    top: calc(30% + 15px);
    left: 70%;
    height: 40%;
    width: 20%;*/
    background-color: #111;/*#eee;*/
    border-radius: 16px;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #eee;/*#213547;*/
    text-align: center;
    padding: 20px 0;
}

    .modalOrePrenotaz.show {
        display: block; /* flex;*/
    }

.close-modalOrePrenotaz {
    cursor: pointer;
}

.modalOrePrenotaz ul {
    list-style: none;
    margin-top: 10px;
}

.modalOrePrenotaz .hour.unavailable a {
    pointer-events: none;
    color: red !important;
}
.calendar-button {
    color: #ff4106;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
}
.hour {
    display: inline-block;
    min-width: 30%;
}
.hour a, .hour span {
    display: block;
    padding: 8px 12px;
    margin: 0 12px 12px 0;
    border-radius: 12px;
}
.hour span {
    background-color: #999;
    color: #000;
}
.hour a {
    background-color: green;
    color:#fff;
}
.hour a:hover {
    background-color: #07ba07;
    color:#ebff00;
}

@media (prefers-color-scheme: light) {
    /*  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }*/
}

@media screen and (min-width: 540px) {
    #calendar {
        width: 480px;
    }
}
