.flex-calendar {
  width: 100%;
  min-height: 50px;
  color: #FFFFFF;
  font-weight: 200;
}

.flex-calendar .month {
  position:relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-align-content: flex-start;
      -ms-flex-line-pack: start;
          align-content: flex-start;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;

  background-color: #ffb835;
}

.flex-calendar .month .arrow,
.flex-calendar .month .label{
  height: 60px;

  -webkit-box-ordinal-group: 1;

  -webkit-order: 0;

      -ms-flex-order: 0;

          order: 0;
  -webkit-box-flex: 0;
  -webkit-flex: 0 1 auto;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  -webkit-align-self: auto;
      -ms-flex-item-align: auto;
          align-self: auto;
  line-height: 60px;

  font-size:20px;
}

.flex-calendar .month .arrow:last-child {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.flex-calendar .month .arrow.visible{
  opacity:1;
  visibility: visible;
  cursor: pointer;
}
.flex-calendar .month .arrow.hidden{
  opacity:0;
  visibility: hidden;
  cursor: default;
}
.flex-calendar .week,
.flex-calendar .days {
  line-height: 25px;
  font-size: 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.flex-calendar .days {
  background-color: #FFF;
}

.flex-calendar .week {
  background-color: #faac1c;
}

.flex-calendar .week .day,
.flex-calendar .days .day{
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  min-width: 14.285714286%;

  text-align: center;
}

.flex-calendar .days .day{
  min-height: 60px;
  box-sizing: border-box;
  position: relative;
  line-height: 60px;
  border-top:1px solid #FCFCFC;
  background-color: #fff;
  color: #8B8B8B;

  -webkit-transition: all 0.3s ease;

          transition: all 0.3s ease;
}

.flex-calendar .days .day.out {
  background-color: #fCFCFC;
}

.flex-calendar .days .day.today,
.flex-calendar .days .day.disabled.today{
  color: #FFB835;
  border: 1px solid;
}

.flex-calendar .days .day.selected,
.flex-calendar .days .day.current-date {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-content: center;
      -ms-flex-line-pack: center;
          align-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.flex-calendar .days .day.selected .number,
.flex-calendar .days .day.current-date .number {
    width: 40px;
    height: 40px;
    /*background-color: #FFB835;*/
    border-radius: 100%;
    line-height: 40px;
    font-weight: bold;
    color: #FFF;
}

.flex-calendar .days .day:not(.disabled):not(.out){
  cursor: pointer;
}

.flex-calendar .days .day.disabled {
    border: none;
}

.flex-calendar .days .day.disabled .number {
  background-color: #EFEFEF;  
}


/* Gray Bg Circle */
.flex-calendar .days .day.event:before {
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #8B8B8B;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    opacity: .2;
}

@media screen and (min-width: 500px) {
    .flex-calendar .days .day.event:before {
        width: 50px;
        height: 50px;
        margin-left: -25px;
        margin-top: -25px;
    }
}

@media screen and (min-width: 0px) and (max-width: 499px) {
    .flex-calendar .days .day.event:before {
        width: 40px;
        height: 40px;
        margin-left: -20px;
        margin-top: -20px;
    }
}


/* Mini Circles */
.small-circles-container {
    position: absolute;
    top: 32px;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: normal;
}

.small-circles-container .agenda-circle {
    margin: 0;
    padding: 0;
    width: 6px;
    height: 6px;
    line-height: normal;
    position: relative;
    /* z-index: 9999; */
    display: inline-block;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    margin-left: 4px;
}
.small-circles-container .agenda-circle:first-child {
    margin-left: 0;
}

.small-circles-container .emp-circle {
    background-color: #ff0000;
}

.small-circles-container .cli-circle {
    background-color: #0099ff;
}

.small-circles-container .prom-circle {
    background-color: #0099ff;
}

@media screen and (min-width: 500px) {
    .small-circles-container {
        top: 32px;
    }

    .small-circles-container .agenda-circle {
        width: 6px;
        height: 6px;
    }
}

@media screen and (min-width: 0px) and (max-width: 499px) {
    .small-circles-container {
        top: 30px;
    }

    .small-circles-container .agenda-circle {
        width: 4px;
        height: 4px;
    }
}
