
/*  Events display */

.events-wrapper {
  color:#24388d;
  overflow-y: scroll;
  height: 100%;
  width: 50%;
  float: right;
  margin: 0px auto;
  display: inline-block;
  padding: 0px;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  padding: 0; }
  @media (max-width: 767.98px) {
    .events-wrapper {
      width: 100%;
      height: auto; } }

.events-wrapper:after {
  clear: both; }

.events-header { 
  background: #24388d;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
  border-top-right-radius: 3px; 
}
.events-header h3 {
  margin: 0;
  padding: 5px 0; }

.event-card {
  padding: 5px 0;
  max-width: 100%;
  display: block;
  background: #fff;
  border: none !important;
  margin: 5px;
  margin-left: 12px; }
  @media (max-width: 991.98px) {
    .event-card {
      margin: 10px; } }
  @media (max-width: 767.98px) {
    .event-card {
      margin: 0;
      background: #e6e6e6; } }

.event-count, .event-name, .event-cancelled {
  display: inline;
  padding: 0 10px;
  font-size: 1rem; }

.event-count {
  color: #7e0cf5;
  text-align: right; }

.event-name {
  padding-right: 0;
  font-weight: bold;
  text-align: left; }

.event-time,
.event-detail,
.event-action {
  padding: 0 10px;
}

.event-action {
  text-align: right;
}

.event-cancelled {
  color: #cd4dcc;
  text-align: right; }


.calendar-content {
  overflow: none;
 
  max-width: 800px;
  padding: 0px 0;
  height: 500px;
  position: relative;
  margin: 10px auto;
  background: #24388d; 
  color: white;
} 
@media (min-width:991.98px) {
  .calendar-content {
    min-width: 790px;
  }
}
@media (max-width:770px) {
  .calendar-content {
    min-width: 500px;
    max-width: 500px;
  }
}


#today {
  background-color: #b38cdd !important;
}

td.table-date.today-date {
  background: #b38cdd;
}
  
/*  Calendar wrapper */
.calendar-container {
  position: relative;
  margin: 0 auto;
  height: 100%;
  width: 50%;
  background: #fff;
  font: 13px Helvetica, Arial, san-serif;
  display: inline-block;
  padding: 5px;
  float: left; 
}
  @media (max-width: 991.98px) {
    .calendar-container {
      padding: 0; } }
  @media (max-width: 767.98px) {
    .calendar-container {
      padding: 0;
      width: 100%; } }

.calendar-container:after {
  clear: both; }
  

.calendar {
  width: 100%;
  padding: 0; }

/* Calendar Header */
.year-header {
  background: #fff;
  height: 30px;
  text-align: center;
  position: relative;
  color: #fff;
  border-top-left-radius: 3px;
  margin-top: 0px; }

.year-header span {
  display: inline-block;
  font-size: 18px;
  color: #000; 
  height: 18px;
  padding-top: 0;
  padding-bottom: 0;

  line-height: 18px;
}

.calendar > .frame {
  height: 315px;
}

.ftco-section {
  padding: 7em 0; }

.ftco-no-pt {
  padding-top: 0; }

.ftco-no-pb {
  padding-bottom: 0; }

/* Days/months tables */
.days-table, .dates-table, .months-table {
  border-collapse: separate;
  text-align: center; }

.day {
  height: 26px;
  width: 26px;
  padding: 0 10px;
  line-height: 26px;
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 10px;
  color: #000; }

.month {
  cursor: default;
  height: 26px;
  width: 26px;
  padding: 0 2px;
  padding-top: 10px;
  line-height: 26px;
  text-transform: uppercase;
  font-size: 11px;
  color: #cccccc;
  -webkit-transition: all 250ms;
  -o-transition: all 250ms;
  transition: all 250ms; }
  @media (max-width: 991.98px) {
    .month {
      font-size: 8px; } }
  @media (max-width: 767.98px) {
    .month {
      font-size: 10.5px; } }

.active-month {
  font-weight: 700;
  color: #000; }

.month:hover {
  color: #cd4dcc; }

/*  Dates table */
.table-date {
  cursor: default;
  color: #2b2b2b;
  height: 26px;
  width: 26px;
  font-size: 15px;
  padding: 10px;
  line-height: 20px;
  text-align: center;
  border-radius: 0; /* 50%; */
  border: 2px solid transparent;
  -webkit-transition: all 250ms;
  -o-transition: all 250ms;
  transition: all 250ms;
  position: relative; }

.table-date:not(.nil):hover {
  border-color: #cd4dcc; }

.event-date {
  /* border-color: #7e0cf5;
  background: #7e0cf5; 
  color: #fff; */ 
}
  .event-date:after {
    /*position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: '';
    background: #28a745; */ }

.active-date {
  background: #24388d !important;
  color: #fff !important; }

.event-date.active-date {
  background: #7e0cf5; 

}

/* input dialog */
.dialog {
  z-index: 5;
  background: #000;
  position: absolute;
  width: 50%;
  height: 500px;
  top: 0;
  right: 0;
  display: none; }
  @media (max-width: 767.98px) {
    .dialog {
      width: 100%; } }

.dialog-header {
  margin: 20px;
  color: #fff;
  text-align: center;
  font-size: 28px; }

.form-container {
  margin-top: 25%; }

.form-label {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9); }

.input {
  border: none;
  background: none;
  border-bottom: 1px rgba(255, 255, 255, 0.2) solid;
  display: block;
  margin-bottom: 50px;
  width: 300px;
  height: 20px;
  text-align: center;
  -webkit-transition: border-color 250ms;
  -o-transition: border-color 250ms;
  transition: border-color 250ms;
  color: #fff; }

.input:focus {
  outline: none;
  border-color: #fff; }

.error-input {
  border-color: #cd4dcc; }


  .event-date-eseguita {
    border: 5px solid #28a745 ;

    color: #000;
  }
  
  .event-date-programmata {
    border: 5px solid orange ;
    color: #000;
  }
  
  .event-date-eseguita.event-date-programmata {
    border-top: 5px solid #28a745 ;
    border-bottom: 5px solid orange;
    border-left: 5px solid orange ;
    border-right: 5px solid #28a745 ;

    /* background: linear-gradient(to right bottom , #28a745 50%, orange 50%) no-repeat; */ 
    
  }
 
  .event-eseguita {
    border-left: 5px solid #28a745 !important;
  }
  .event-programmata {
    border-left: 5px solid orange !important;
  }