.calendar-box {

}

.buttons-container {
  cursor: pointer;
}

.week {
  /* overflow: hidden; */
  display: flex; /* l'ho aggiunto io */
}

.week.highlight {
  background: #efefef;
}

/* weekend */
.week .day:first-child, .week .day:last-child {
  /*color: orange;*/
}

/* sunday */
.week .day:first-child {
  /*color: red;*/
  border-left: none;
}

.day {
  display: inline-block;
  float: left;
  width: 14.28%;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  border-left: 1px solid #aaa;
}

.day.disabled span {
  color: #959595;
}

/* vertical highlight */
.week .day.highlight span {
  /*color: blue;*/
}

.day.selected span {
  /*background: orange;*/
}

.day.today span {
  font-weight: bold;
}

.months-container.hidden, .weeks-container.hidden {
  display: none;
}

.months-wrapper {
  overflow: hidden;
}

.months-wrapper .month {
  display: inline-block;
  float: left;
  width: 25%;
  text-align: center;
  cursor: pointer;
}
.months-wrapper .month.one-third {
  width: 33.33%;
}

.buttons-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.buttons-container .label-container {
  display: inline-block;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

.year-dropdown {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  padding: 5px 20px;
}

.prev-button,
.next-button {
  background: transparent;
  border: none;
  padding: 10px;
}

.week {
  margin: 20px 0;
}

.week.highlight {
  border-radius: 5px;
}

.weeks-wrapper.header {
  border-bottom: 1px solid #eee;
}

.week .day.header {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 120%;
}

.day span {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  vertical-align: middle;
}

.day.today span {
  position: relative;
  display: inline-block;
  font-size: 110%;
}

/* weekend */
/* .week:not(.start-on-monday) .day:first-child,
.week:not(.start-on-monday) .day:last-child {
  color: orange;
} */

/* sunday */
/* .week:not(.start-on-monday) .day:first-child {
  color: red;
} */

/* start on monday - weekend */
/* .week.start-on-monday .day:nth-child(6),
.week.start-on-monday .day:last-child {
  color: orange;
} */

/* start on monday - sunday */
/* .week.start-on-monday .day:last-child {
  color: red;
} */

.day.today span:not(.info_point)::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 2px solid #fff;
  width: 10px;
  height: 1px;
}

/* .day.sunday span {
  color: #ff8a80;
} */

/* .week .day.highlight span {
  color: #2196f3;
} */
.week .day.date-start{
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}
.week .day.date-end{
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}
.week .day.today.day-passed{
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}
.week .day.day-passed{
  background: #E80E89;
  color: #fff;
}
.mimaUser .week .day.day-passed.fiveDaysRange{
  background: #57cf6b;
}
.standardUser .week .day.day-passed.fiveDaysRange{
  background: #57cf6b;
}
.week .day.day-passed a{
  color: #fff;
}
.week .day.day-future{
  background: #FCDFEF;  
}

.week .day.day-passed.disabled{
  background: #eb5aad;
}
.mimaUser .week .day.day-passed.fiveDaysRange.disabled{
  background: #a7f9bd;
}
.standardUser .week .day.day-passed.fiveDaysRange.disabled{
  background: #a7f9bd;
}

.week .day .info_point{
  display: none;
}
.week .day.missingDay{
  position: relative;
}
.mimaUser .week .day.missingDay.fiveDaysRange:not(.disabled) .info_point{
  color: #3A3A3A;
  display: block;
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.4rem;
  z-index: 9;
}

.mimaUser .week .day.today.day.missingDay.fiveDaysRange .info_point{
  color: #3A3A3A;
  border-bottom: none;
  background: none;
  z-index: 2;
}

.standardUser .week .day.missingDay.fiveDaysRange:not(.disabled) .info_point{
  color: #3A3A3A;
  display: block;
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.4rem;
  z-index: 9;
}

.standardUser .week .day.today.day.missingDay.fiveDaysRange .info_point{
  color: #3A3A3A;
  border-bottom: none;
  background: none;
  z-index: 2;
}

.week .day.missingDay:not(.fiveDaysRange):not(.disabled) .info_point{
  border-bottom: none;
  background: #03a827;
  display: block;
  position: absolute;
  top: 3px;
  right: 10px;
  width: 15px;
  height: 15px;
  z-index: 9;
}

.week .day.today.day.missingDay:not(.fiveDaysRange) .info_point{  
  border-bottom: none;
  background: #03a827;
  z-index: 2;
}


/* ora gli mettiamo che se è dentro mima digiuno fa vedere la tic icon grigia,  altrimenti fa vedere un pallino giallo */
.mimaUser .week .day.missingDay.fiveDaysRange .info_point:before{
  font-family: "b2a";
  font-style: normal;
  font-weight: normal;
  speak: never;
  content: '\e801';

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.standardUser .week .day.missingDay.fiveDaysRange .info_point:before{
  font-family: "b2a";
  font-style: normal;
  font-weight: normal;
  speak: never;
  content: '\e801';

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* .week .day.missingDay .info_point:after{
  content: '';
  position: absolute;
  background-color: #fff;
  width: 10px;
  height: 10px;
  z-index: -1;
  top: 5px;
  left: 5px;
} */


.week .day.selected span {
  /* background: #E80E89; */
  background: rgba(0,0, 0,.3);
  color: white;
}

.week .day[disabled="disabled"] span {
  color: #959595;
  cursor: not-allowed;
}

.months-wrapper .month span {
  display: inline-block;
  padding: 10px;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.special-buttons {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.today-button {
  margin: 0 auto;
  background: transparent;
  border: none;
  padding: 5px;
}