  .Container{
    transition: all 0.5s;
    margin-top: 9rem;  
  }
/*  Mobile  */
  @media screen and (max-width: 440px) {


    body > h1 {
      margin-top: 6.5rem;
      display: none;
      padding: 0;
      line-height: 1.1em;
      font-weight: 600;
      text-align: left;
      margin-bottom: 2rem;
      padding-top: 1.5rem;
      font-size: 1.7rem;
      color: var(--Palette1dark);
      text-transform: uppercase;
      cursor: default;
      padding-inline: 1rem;
    }

    .Container {
      max-width: unset!important;
      margin-top: 6rem !important;
      padding-top: 5.5rem;
      min-height: 35vh;
    }
    #ContainerCalendario #EventsContainer {
      max-width: 92vw;
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      grid-column-gap: 0;
      grid-row-gap: 0rem;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 2.5rem;
      margin-top: -2rem;
    }

    .EmptyBox {
      display: none;
    }

    .NoEvents {
      font-size: 1.1rem;
    }

    .ReplCalendar  tbody::-webkit-scrollbar {
        background-color:transparent;
        height: 0rem;
    }
    .ReplCalendar  tbody::-webkit-scrollbar-thumb {
        background: transparent;
        height: 0rem;
    }
    .ReplCalendar  tbody::-webkit-scrollbar-track {
        background-color: transparent;
        height: 0rem;
    }
    .Calendar {
      display: none;
    }
    .Container  .ReplCalendar{
    /*  border-collapse: collapse; */
        width: 100%;
        display: flex;
        justify-content: center;
      margin: 0 auto;
      overflow: hidden;
      overflow-x: auto;
      margin-top: 0rem;
      margin-bottom: 2rem;
    }
    .Container  .ReplCalendar  tbody {
      display: flex;
      width: 100%;
      overflow: hidden;
      overflow-x: auto;
    }
    .Container  .ReplCalendar  tbody  tr:first-child {
      color: var(--Palette2light);
      display: flex;
      position: absolute;
      top: 0.2rem;
      left: 0;
      width: 100%;
      background: var(--Palette2);
      border-radius: 0rem;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      height: 5.5rem;
      z-index: 100;
    }
    .Container  .ReplCalendar  tbody  tr:first-child  th {
      color: var(--Palette2light);
      text-transform: uppercase;
      font-size: 1.5rem;
      font-weight: 700;
      display: flex;
      justify-content: space-between;
      width: 100%;
      flex-direction: row;
      align-items: center;
    }
    .Container  .ReplCalendar  tbody  tr  th  .ChangeMonth.Left{
      position: relative;
      left: 1rem;
    }
    .Container  .ReplCalendar  tbody  tr  th  .ChangeMonth.Right{
      position: relative;
      right: 1rem;
    }
    .Container  .ReplCalendar  tbody  tr {
      display: flex;
        flex-wrap: nowrap;
    }
    .Container  .ReplCalendar  tbody  tr  .Empty {
      display: none;
    }
    .Container  .ReplCalendar  tbody  tr  .Weekday {
      display: none;
    }
    .Container  .ReplCalendar  tbody  tr  td {
      gap: 0.25rem;
      justify-content: center;
      border-bottom: 0.1rem solid var(--Box_Evento_Border_Color);
      border-radius: 0rem;
      border-left: 0.1rem solid var(--Box_Evento_Border_Color);
      border-right: 0.1rem solid var(--Box_Evento_Border_Color);
      transition: all 0.2s ease;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      text-align: center;
      vertical-align: top;
      width: 6rem;
      height: 6rem;
      border-radius: 0.1875rem;
      background: var(--Palette2light);
      margin: 0rem 0.13rem;
      align-items: center;
      justify-content: center;
    }

    

    .Container  .ReplCalendar  tbody  tr  td  span {
      color: var(--Palette3);
      font-size: 1.4rem;
    }
    .Container  .ReplCalendar  tbody  tr  td  .DayNumber {
      font-size: 1.8rem;
      font-weight: 500;
      color: var(--Palette2dark);
      width: 100%;
      position: relative;
    }

    .Container  .ReplCalendar  tbody  tr  td  ul{
      display: none;
    }
    .Container  #MobileCalendarMessage {
      width: 100%;
      display: flex;
        justify-content: center;
        margin-bottom: 3rem;
        position: relative;
        bottom: 1rem;
    }
    .Container  #MobileCalendarMessage  p {
      text-transform: uppercase;
      text-align: center;
      width: 80%;
      font-size: 1.7rem;
    }
    .Container  #NoShowsMessage {
      width: 100%;
      display: flex;
        justify-content: center;
        margin-bottom: 3rem;
    }
    .Container  #NoShowsMessage  p {
      text-transform: uppercase;
      text-align: center;
      width: 80%;
      font-size: 1.7rem;
      color: var(--Palette2);
    }
    .Container  #spettacoliGiorno {
      width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
        margin: 0;
        padding: 0;
        list-style-type: none;
        list-style: none;
    }
    .Container  #spettacoliGiorno  li {
      width: 85%;
        height: auto;
        margin: 0rem;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
        padding: 0.1rem;
        border-radius: 0rem 0rem 0rem 1.0625rem;
        background: var(--Palette1);
        list-style-type: none;
        list-style: none;
    }
    .Container  #spettacoliGiorno  li  a {
      text-decoration: none;
        display: flex;
        width: 100%;
        min-height: 7rem;
        height: 7.1rem;
        position: relative;
        box-sizing: border-box;
        border-radius: 0rem 0rem 0rem 1.0625rem;
        background: var(--Plette1);
        text-transform: uppercase;
        font-size: 1.5rem;
        color: var(--Palette3);
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        line-height: 1.5rem;
        padding-top: 0.3rem;
    }
    .Container  #spettacoliGiorno  li  a  img {
        display: block;
        height: 7rem;
        width: 7rem;
        border-radius: 0rem 0rem 0rem 1.0625rem;
        margin-right: 1rem;
      position: relative;
      bottom: 0.3rem;
    }
    .Container  #spettacoliGiorno  li span {
      display: block;
      font-size: 0.8rem;
      font-weight: 300;
      border-top: 0.125rem solid var(--Palette2);
      padding-top: 0.4rem;
      position: absolute;
        bottom: 0.2rem;
        left: 8rem;
        text-align: left;
        width: 60%;
        line-height: 0.9rem;
    }
    .Container  #MobileScrollMessage {
      width: 100%;
      display: flex;
      justify-content: center;
        position: relative;
        bottom: 2rem;
    }
    .Container  #MobileScrollMessage  p {
      text-transform: uppercase;
      font-size: 0.9rem;
      color: #a9a9a9;
      margin-top: 2rem;
    }

    .Image {
      display: none;
    }

    .ImageMobile {
      display: block;
      width: 100%;
    }
    .Container .ReplCalendar tbody tr td.has-event .DayNumber::after {
        content: "";
        position: absolute;
        top: -0.3rem;
        right: 0.6rem;
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 50%;
        background: var(--Palette1);
    }
    .Container .ReplCalendar tbody tr td.has-event .DayNumber {

    }
    .Container .ReplCalendar tbody tr td.normal.has-event {
        border-bottom: 0.1rem solid var(--Palette2);
        border-radius: 0rem;
        border-left: 0.1rem solid var(--Palette2);
        border-right: 0.1rem solid var(--Palette2);
    }
    .Container .ReplCalendar tbody tr td.normal.has-event.selected {
        border-bottom: 0.2rem solid var(--Palette1);
        border-radius: 0rem;
        border-left: 0.2rem solid var(--Palette1);
        border-right: 0.2rem solid var(--Palette1);
    }
    .Container .ReplCalendar tbody tr td.normal.selected {
        border-bottom: 0.2rem solid var(--Palette2dark);
        border-radius: 0rem;
        border-left: 0.2rem solid var(--Palette2dark);
        border-right: 0.2rem solid var(--Palette2dark);dark
    }
    .Container .ReplCalendar tbody tr td.normal.has-event .DayNumber {
        font-size: 1.8rem;
        font-weight: 500;
        color: var(--Palette1dark);
    }
    .Container .ReplCalendar tbody tr td.normal.has-event.selected .DayNumber {
        font-size: 1.8rem;
        font-weight: 600;
        color: var(--Palette1);
    }


    .NoEvents {
      width: 100%;
      height: 100%;
      text-align: center;
      align-content: center;
      margin: 2rem 0 5rem 0;
    }

}
a{
  text-decoration: none!important;
}

/*  Desktop  */
  @media screen and (min-width: 441px) {


    body > h1 {
      padding-top: 15.5rem;
      width: 100%;
      max-width: 71.222rem;
      margin-right: auto;
      margin-left: auto;
      display: block;
      line-height: 1em;
      color: var(--Page_Title_Color);
      text-align: left;
      text-transform: uppercase;
      font-size: 2.2rem;
      font-weight: 500;
      margin-bottom: 2.5rem;
      margin-top: 0rem;
      letter-spacing: -0.1rem;
      cursor: default;
    }
    .Container {
      margin-top: 3rem;
      margin-bottom: 4rem;
      /*width: 100%;*/
      max-width: 71.222rem;
    }
    .Container  .PageTitle {
      display: none !important;
    }
    .mobileCalendar {
      display: none;
    }
    .Container  table  tbody  tr  td span {
      display: none;
    }
    
    .Container  .ReplCalendar{
      width: 100%;
    }
    .Container  .ReplCalendar  tbody  tr {
      user-select: none;
      height: auto;
      position: relative;
    }
    /*.Container  .ReplCalendar  tbody  tr::after {
      content: "";
      position: absolute;
      bottom: -0.25rem;
      left: 0;
      width: 100%;
      height: 1px;
      background: var(--Palette2dark);
    }*/
    .Container .ReplCalendar tbody tr:last-of-type::after {
      content: none;
    }
    /*.Container .ReplCalendar tbody:last-of-type tr:last-of-type {
      display: none !important;
    }*/
    .Container  .ReplCalendar  tbody  tr  th {
      height: 2.6rem;
      font-size: 1rem;
      text-transform: capitalize;
      background: transparent;
      color: var(--Palette3);
      border-radius: 0.3rem;
      cursor: default;
    }
    .Container  .ReplCalendar  tbody  tr  th  .ChangeMonth.Left{
      position: relative;
      margin-right: 1rem;
      cursor: pointer;
      font-size: 1rem;
      transition: color 0.3s ease;
    }
    .Container  .ReplCalendar  tbody  tr  th  .ChangeMonth.Left:hover{
      color: var(--Palette1);
    }
    .Container  .ReplCalendar  tbody  tr  th  .ChangeMonth.Right{
      position: relative;
      left: 1rem;
      cursor: pointer;
      transition: color 0.3s ease;
    }
    .Container  .ReplCalendar  tbody  tr  th  .ChangeMonth.Right:hover{
      color: var(--Palette1);
    }
    .Container  .ReplCalendar  tbody  tr  .Weekday {
      text-align: center;
      padding: 1.3rem 0.7rem;
      background: transparent;
      color: var(--Palette1);
      height: 1rem;
      font-weight: 500;
      cursor: default;
      text-transform: capitalize !important;
      border-top: 1px solid var(--Palette2dark);
    }
    .Container  .ReplCalendar  tbody  tr  .Empty {
      box-sizing: border-box;
/*        border: 0.125rem solid transparent !important;*/
      background: transparent;
      cursor: default;
      min-height: 3rem;
      height: 3rem;
    }
    .Container  .ReplCalendar  tbody  tr  .Empty:hover{
      box-shadow: none !important;
    }

    /*.Container  .ReplCalendar  tbody  tr  .normal {
      box-sizing: border-box;
      border: 0.125rem solid var(--Palette1);
      min-height: 3rem;
      height: 3rem;
      padding: 0.8rem;
    }*/
    .Container  .ReplCalendar  tbody  tr  td {
        text-align: center;
        vertical-align: top;
        border-bottom: 1px solid var(--Palette2dark);
        width: 14.285%;
        height: 4rem;
        box-sizing: border-box;
        position: relative;
        transition: box-shadow 0.3s ease;
        cursor: pointer;
    }
    .Container .ReplCalendar tbody tr td.has-event .DayNumber::after {
        content: "";
        position: absolute;
        top: 0.5rem;
        right: 0.6rem;
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 50%;
        background: var(--Palette1);
    }
    .Container .ReplCalendar tbody tr td.selected.has-event::after {
        display: none;
    }
    /*.Container  .ReplCalendar  tbody  tr:last-child{
      display: none;
    }*/

    .Container  .ReplCalendar  tbody  tr  .Weekday:hover{
        box-shadow: none !important;
    }
    .Container  .ReplCalendar  tbody  tr  td  .DayNumber {
        font-size: 1.2rem;
        font-weight: 400;
        text-align: center;
        align-content: center;
        width: 73%;
        height: 90%;
        display: block;
        transition: font-weight 0.3s ease;
        border-radius: 5rem;
        position: relative;
        left: 0.8vw;
        top: 0.4vh;
        transition: box-shadow 0.3s ease;
    }

    .Container  .ReplCalendar  tbody  tr  td  ul {
      list-style-type: none;
        padding: 0rem;
        padding-left: 1rem;
        height: 100%;
        padding-top: 0;
        padding-right: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: 0.55rem;
        font-weight: 500;
    }
    .Container  .ReplCalendar  tbody  tr  td  ul  li {
    /*  border-radius: 0.125rem 0.125rem 0.125rem 0.425rem;   */
        padding: 0.25rem 0.2rem;
        cursor: pointer;
        border-bottom: 0.125rem solid var(--Palette2);
        transition: background 0.3s ease;
        margin-left: 0.2rem;
    }
    .Container  .ReplCalendar  tbody  tr  td  ul  li  a {
/*      height: 100%;*/
      width: 100%;
        display: block;
        text-decoration: none;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .Container  .ReplCalendar  tbody  tr  td  ul  li:last-child{
      border-bottom: none;
    }
    .Container  .ReplCalendar  tbody  tr  td:nth-child(6)  ul  li,
    .Container  .ReplCalendar  tbody  tr  td:first-child  ul  li,
    .Container  .ReplCalendar  tbody  tr  td:last-child  ul  li {
      border-bottom: 0.125rem solid var(--Palette2);
    }
    .Container  .ReplCalendar  tbody  tr  td:nth-child(6)  ul  li:last-child,
    .Container  .ReplCalendar  tbody  tr  td:first-child  ul  li:last-child,
    .Container  .ReplCalendar  tbody  tr  td:last-child  ul  li:last-child {
      border-bottom: none;
    }
    
    .Container  .ReplCalendar  tbody  tr  td:nth-child(6):hover,
    .Container  .ReplCalendar  tbody  tr  td:first-child:hover,
    .Container  .ReplCalendar  tbody  tr  td:last-child:hover{
/*      box-shadow: 0px 0px 0px 2px var(--Palette1);*/
    }
    .Container  .ReplCalendar  tbody  tr  td:hover {
/*      box-shadow: 0px 0px 0px 2px var(--Palette1);*/
    }
    
    .Container  .ReplCalendar  tbody  tr  td:hover  .DayNumber {
      font-weight: 500;
      box-shadow: 0px 0px 0px 2px var(--Palette1);
    }

    .Container  .ReplCalendar  tbody  tr  .selected span {
      box-shadow: 0px 0px 0px 0px var(--Palette1);
      background: var(--Palette1);
      color: var(--Palette2light);
    }

    .Container  .ReplCalendar  tbody  tr  .selected  .DayNumber {
      font-weight: 600;
    }

    #MobileCalendarMessage {
      display: none;
    }
    #NoShowsMessage {
      display: none;
    }
    #MobileScrollMessage {
      display: none;
    }
    .Container  .ReplCalendar  tbody  tr  td  ul  li  a  img {
      display: none;
    }
    
    .CasellaVuota {
        background-color: #727272;
    }


    #main-container  table  tbody  tr:nth-child(1)  th,
    #main-container  table  tbody  tr:nth-child(1)  th  span.ChangeMonth.Right,
    #main-container  table  tbody  tr:nth-child(1)  th  span.ChangeMonth.Left {
      color: #000;
      height: 2.6rem;
    }
    #main-container  table  tbody  tr:nth-child(1)  th  span.ChangeMonth.Right {
      margin-left: 0.5rem;
    }
    #main-container  table  tbody  tr:nth-child(1)  th  span.ChangeMonth.Right i,
    #main-container  table  tbody  tr:nth-child(1)  th  span.ChangeMonth.Left i {
      width: 2rem;
    }
    #main-container  table  tbody  tr:nth-child(1)  th  span.ChangeMonth.Right i {
      position: absolute;
      text-align: end;
      left: 0rem;
      bottom: 0.1rem;
    }


    .Container #ContainerCalendario {
      display: grid;
      grid-template-columns: 49% 49%;
      column-gap: 2%;
    }
    #ContainerCalendario #Calendario {
    	width: 100%;
    }

    .Container #ContainerCalendario #EventsContainer {
      margin-top: 2.5rem;
      margin-left: 0.5rem;
      background: var(--Page_Background_Color);
      border: 0.1rem solid var(--Palette2dark);
      border-radius: 0.4rem;
      height: 100%;
      width: 90%;
      max-height: 24rem;
      padding: 0rem 1rem;
      overflow-y: overlay;
    }


    .Container #ContainerCalendario #EventsContainer .EventBox {
      border-top: 0.1rem solid var(--Palette2dark);
      width: 100%;
      margin: 0;
      padding-top: 0.6rem;
      padding-bottom: 0.5rem;
    }
    .Container #ContainerCalendario #EventsContainer .EventBox:first-child {
      border-top: none;
    }

    .Container #ContainerCalendario #EventsContainer .EventBox:focus-visible {
      border: none;
    }

    .Container #ContainerCalendario #EventsContainer .EventBox a {
      display: flex;
      justify-content: flex-start;
      flex-direction: row;
      align-items: flex-start;
    }


    .Container #ContainerCalendario #EventsContainer .EventBox a .Image {
      object-fit: cover;
      display: block;
      max-width: 35vw;
      width: 35vw;
      height: 6rem;
      margin-right: 0.6rem;
      border-radius: 0.3rem;
    }

    .Container #ContainerCalendario #EventsContainer .EventBox a .TextBox {
      display: grid;
      justify-content: start;
      overflow: auto;
      text-align: left;
      color: var(--Palette1dark);
      overflow: unset;
      margin-top: 0.5rem;
      width: 50vw;
      max-width: 50vw;
    }

    .Container #ContainerCalendario #EventsContainer .EventBox a .TextBox .Sottotitolo {
      font-size: 0.8rem;
    }

    .Container #ContainerCalendario #EventsContainer .EventBox a .TextBox .Location,
    .Container #ContainerCalendario #EventsContainer .EventBox a .TextBox .Date {
      vertical-align: bottom;
      font-size: 0.9rem;
      line-height: 1rem;
      padding: 0;
      color: var(--Palette1dark);
      font-family: var(--Font_Normal);
      font-weight: 400;
      letter-spacing: 0rem;
      transition: all 0.2s ease;
      text-transform: capitalize;
    }
    .EventBox a .TextBox .Location i {
      margin-left: 0.1rem;
      margin-right: 0.1rem;
    }
     
    #EventsContainer .EventBox a .TextBox .Date {
      font-size: 0.8rem !important;
      margin-top: 0.2rem;
    }
    #EventsContainer .EventBox a .TextBox .Date i {
      color: var(--Palette1);
      font-weight: 600;
      font-size: 0.8rem;
    }
     #EventsContainer .EventBox a:hover .TextBox .Location,
     #EventsContainer .EventBox a:hover .TextBox .Date {
      font-weight: 500 !important;
      letter-spacing: -0.01rem !important;
    }
     #EventsContainer .EventBox a:hover .TextBox .Date {
      letter-spacing: -0.007rem !important;
    }

    .EmptyBox {
      border-bottom: 1px solid #c0c0c0;
    }

    .EmptyBox img {
      padding: 0;
      margin: 0;
      padding: 1rem 0 0.8rem 0;
      width: 11rem;
      height: 5rem;
    }

    .NoEvents {
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 5px;
      text-align: center;
      align-content: center;
      background: transparent;
    }

    .ImageMobile {
      display: none;
    }

    .Image {
      display: block;
    }


/*------------------------------------------Pallino Rosso--------*/


    .Container .ReplCalendar tbody tr td.has-events {
      position: relative;
    }

    .Container .ReplCalendar tbody tr td.has-events::after {
      content: "";
      position: absolute;
      top: 0.45rem;
      right: 0.9rem;
      width: 0.45rem;
      height: 0.45rem;
      border-radius: 50%;
      background: var(--Palette1);
      pointer-events: none;
    }

    .Container .ReplCalendar tbody tr td.selected.has-events::after {
      background: #ffffff;
    }



  }

}

