
.calendar-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529; }

.calendar-table th,
.calendar-table td {
      padding: 0.75rem;
      vertical-align: top;
      border-top: 1px solid #dee2e6; }
.calendar-table thead th {
      vertical-align: bottom;
      border-bottom: 2px solid #dee2e6; }
.calendar-table tbody + tbody {
      border-top: 2px solid #c0c2c4; }

.calendar-table-sm th,
.calendar-table-sm td {
    padding: 0.3rem; }

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

.active-date {
    color: #5c187f; }
.active-date:before {
  background: #5c187f; }

.calendar-container {
    position: relative;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    background: #fff;
    font: 13px Helvetica, Arial, san-serif;
    display: inline-block;
    padding: 7px;
    float: right; }
 /* padding: 20px; */

@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; }

.year-header {
    background: #fff;
    height: 29px;
    text-align: center;
    position: relative;
    color: #5c187f;
    border-top-left-radius: 3px;
    margin-top: 20px; }
    /*
        margin-top: 20px;
        height: 40px;
    */
.year-header span {
    display: inline-block;
    font-size: 20px;
    line-height: 15px;
    color: #5c187f; }
    /*
    line-height: 40px;
    */


.left-button, .right-button {
    cursor: pointer;
    width: 28px;
    text-align: center;
    position: absolute;
    color: #cccccc !important;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    font-size: 14px !important; }
    
    @media (prefers-reduced-motion: reduce) {
        .left-button, .right-button {
        -webkit-transition: none;
        -o-transition: none;
        transition: none; } }
    
.left-button:hover, .right-button:hover {
        color: #1C8B4D !important; 
        /* color: #5c187f !important;  */
      }
.left-button {
    left: 0; }
.right-button {
    right: 0;
    top: 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: 23px;
    padding: 0px 0px;
    padding-top: 0px;
    line-height: 17px;
    text-transform: uppercase;
    font-size: 10px;
    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; } }
    /*
        padding: 0 2px;
        padding-top: 10px;
        line-height: 26px;
        width: 26px;
        font-size: 11px;
    */

  .active-month {
    font-weight: 700;
    color: #1C8B4D; 
    /* color: #5c187f;  */
  }

  .month:hover {
    color: #1C8B4D; 
    /* color: #5c187f;  */
  }

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

    .table-date:before {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      bottom: 0;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      width: 25px;
      height: 25px;
      content: '';
      margin: 0 auto;
      border-radius: 50%;
      z-index: -1; }
    /*     
    width: 40px;
    height: 40px;
    */
    
  .active-date {
    color: #fff; }
    .active-date:before {
      background: #5c187f; 
    }

 .calendar_parent .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    /* background-color: #1C8B4D !important; */
    background-color: #1C8B4D !important;
}
.calendar_parent .nav-pills .nav-link:hover{
  color: #fff;
  /* background-color: #1C8B4D !important; */
  background-color: #1C8B4D !important;
}
.calendar_parent .nav-pills .nav-link, .nav-pills .show > .nav-link {
  font-size: 11px;
}

.calendar_parent .nav-pills li{
  margin: auto;
}
