.main-calendar {
  position: relative;
  display: inline-block;
  grid-area: 1 / 1 / 2 / 2;
  z-index: 1; }
  .main-calendar .title {
    width: fit-content;
    margin: 45px auto 80px;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'CeraRoundProBold'; }

.open-cal {
  cursor: pointer; }

#calendar-wrapp {
  display: none;
  z-index: 121; }

#calendar {
  position: absolute;
  top: 147px;
  left: calc(49vw + 5px);
  min-height: 414px;
  background-color: #f2f2f2;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  /*display: flex;
  flex-direction: column;
  height:inherit;*/
  user-select: none;
  border: #d7dadc 1px solid;
  border-radius: 21px;
  /*
#ui-datepicker-div{
  position: absolute;
  left: 944.027px;
  z-index: 6;
  width: 400px;
  background-color: #f2f2f2;
  user-select: none;
  display: flex;
  flex-direction: column;
  height: inherit;
  top: 431px !important;
}

.ui-state-default, .ui-widget-content .ui-state-default {
  font-weight: normal;
  color: #454545;
  background: inherit;
}

.ui-datepicker {

  td {
    position: relative;
    height: 28px;
    padding: 13px 17px;
    border: 1px solid #f2f2f2;

    &:hover {
      border-color: #8e50a8 !important;
    }

    &.ui-state-highlight {
      border: 0 !important;
      background-color: #fff !important;
    }
  }

  .ui-datepicker-title {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  select {
    &.ui-datepicker-month, &.ui-datepicker-year {
      border: 0;
      padding: 6px 14px;
      border-radius: 5px;
      background-color: #fff;
      margin-left: 13px;
    }
  }
}

.ui-widget-header {
  border: 0;
  background: inherit;

  .ui-state-highlight {
    background: none;
  }
}

.ui-widget-content{
  border: 0;

  td {
    &.ui-state-highlight {
      background-color: #fff !important;
      border: 0 !important;
    }
  }
}
.ui-widget.ui-widget-content {
  border: 0;
}

a.ui-state-highlight {
  border: 0 !important;
}*/ }
  #calendar .warning {
    display: none;
    position: absolute;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    bottom: 0px;
    right: 20px; }
  #calendar #calendar-month {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 50px 10px 10px; }
    #calendar #calendar-month .month-year {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center; }
      #calendar #calendar-month .month-year .month-name {
        margin-right: 10px;
        min-width: 37px;
        text-align: right; }
      #calendar #calendar-month .month-year #year-calendar-select {
        border: 0;
        padding: 6px 14px;
        border-radius: 5px;
        background-color: #fff; }
    #calendar #calendar-month a {
      text-decoration: none;
      height: 25px;
      width: 25px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin : 0 5px;
      border-radius: 50% 50%;
      background-color: #8e50a8;
      color: white; }
      #calendar #calendar-month a.chevron {
        cursor: pointer;
        /*&:hover{
                  //color:red;
              }*/ }
  #calendar #days_label {
    display: table;
    /*display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;*/
    margin-top: 10px; }
    #calendar #days_label .range-days {
      display: table-row; }
      #calendar #days_label .range-days.days-name > .no-click {
        color: #8e50a8; }
      #calendar #days_label .range-days > .calendar-day {
        /*display: flex;
          flex-direction: row;
          justify-content: center;
          align-items: center;*/
        display: table-cell;
        padding: 13.3px;
        font-size: 12px;
        font-family: 'LatoLatinHeavy'; }
  #calendar.unlocked .warning {
    display: block; }
    #calendar.unlocked #days .range-days .calendar-day.enabled {
      cursor: pointer; }
      #calendar.unlocked #days .range-days .calendar-day.enabled.ui-selected.tmp-selected {
        background-color: rgba(255, 255, 255, 0);
        border: 1px solid #fff; }
        #calendar.unlocked #days .range-days .calendar-day.enabled.ui-selected.tmp-selected:before {
          position: absolute;
          content: '-';
          top: 1px;
          right: 5px;
          color: #b55b92; }
        #calendar.unlocked #days .range-days .calendar-day.enabled.ui-selected:hover:before {
          position: absolute;
          content: '-';
          top: 1px;
          right: 5px;
          color: #8e50a8; }
      #calendar.unlocked #days .range-days .calendar-day.enabled:hover {
        border: 1px solid #8e50a8; }
        #calendar.unlocked #days .range-days .calendar-day.enabled:hover:before {
          position: absolute;
          content: '+';
          top: 1px;
          right: 5px;
          color: #8e50a8; }
  #calendar #days {
    /*display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;*/
    display: table; }
    #calendar #days .range-days {
      /*display:flex;
          flex-direction: row;
          flex-wrap: wrap;*/
      display: table-row; }
      #calendar #days .range-days.days-name > .no-click {
        color: #8e50a8; }
      #calendar #days .range-days .calendar-day {
        position: relative;
        /*display:flex;
              flex-direction: row;
              justify-content: center;
              align-items: center;
              width:15px;
              height:15px;*/
        display: table-cell;
        padding: 10px;
        border: 1px solid #f2f2f2;
        text-align: center;
        font-size: 12px; }
        #calendar #days .range-days .calendar-day.enabled.ui-selected {
          background-color: #fff;
          font-family: 'LatoLatinHeavy';
          color: #b55b92; }
        #calendar #days .range-days .calendar-day.enabled.tmp-selected {
          background-color: #fff;
          border: 1px solid #fff; }
          #calendar #days .range-days .calendar-day.enabled.tmp-selected:before {
            position: absolute;
            content: '+';
            top: 1px;
            right: 5px;
            color: #b55b92; }
  #calendar #calendar-send {
    display: none; }

#calendar-btn {
  position: absolute;
  bottom: 0;
  display: flex !important;
  justify-content: space-between;
  margin: 10px auto;
  padding: 0 10px;
  width: calc(100% - 20px);
  /* =============================================================== RESPONSIVE =================================================================*/ }
  #calendar-btn .calendar-send, #calendar-btn .calendar-cancel {
    text-align: center;
    border-radius: 30px;
    padding: 11px 15px 9px;
    width: 75px;
    text-decoration: none;
    cursor : pointer; }
    #calendar-btn .calendar-send:hover, #calendar-btn .calendar-cancel:hover {
      color: white; }
  #calendar-btn .calendar-send {
    border: 1px solid #8e50a8; }
    #calendar-btn .calendar-send:hover {
      background-color: #8e50a8; }
  #calendar-btn .calendar-cancel {
    border: 1px solid #ed2939;
    color: #ed2939; }
    #calendar-btn .calendar-cancel:hover {
      background-color: #ed2939; }

@media (max-width: 1440px) {
  #calendar {
    left: calc(10% + 640px); }
    #calendar #days {
      margin-top: 0; }
      #calendar #days .range-days {
        width: auto; }
        #calendar #days .range-days .calendar-day {
          padding: 6px 12px;
          height: 11px; }
    #calendar .warning {
      bottom: 20px; } }

@media (max-width: 960px) {
  #calendar {
    top: 146px;
    left: calc(50% - 265px); } }

@media (max-width: 840px) {
  #calendar {
    top: 92px;
    left: calc(10% + 210px); } }

@media (max-width: 480px) {
  #calendar {
    top: 228px;
    left: 13px;
    width: calc(100% - 30px);
    min-height: 444px; }
    #calendar #days_label .range-days > .calendar-day {
      padding: 15px 5.5vw; }
    #calendar #days .range-days .calendar-day {
      padding: 12px 4.7vw; }
      #calendar #days .range-days .calendar-day.enabled.ui-selected:hover:before {
        content: ''; }
        #calendar #days .range-days .calendar-day.enabled:hover:before {
          content: ''; } }

@media (max-width: 320px) {
  #calendar {
    min-height: 370px; }
    #calendar #days_label .range-days > .calendar-day {
      padding: 15px 5vw; }
    #calendar #days .range-days .calendar-day {
      padding: 6px 4vw; } }
