.cal_container {
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 10px;
  /*min-height: 525px;*/
  height: auto;
  /*max-width: 800px;*/
}

.body-section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 30px;
}


@media (max-width: 1250px) {
  .cal_container {
    display: block;
    /*height: 85vh;*/
    text-align: center;
    width: 645px;
    /*margin: 50px auto;*/
    overflow-y: scroll;
  }
  .body-section {
    margin: 30px 50px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media (max-width: 645px) {
  .cal_container {
    background-color: none;
    width: auto;
    /*margin: 50px 0;*/
    overflow: auto;
  }
  .body-section {
    padding: 0;
    margin: 30px 2%;
  }
}

.time-div-active {
  /*max-width: 900px;*/
}

#calendar-section #calendar {
  font-weight: 400;
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2;
}

#calendar-section table {
  border: none;
}

#calendar-section .fc-theme-standard td, #calendar-section .fc-theme-standard th {
  border: none;
}

#calendar-section .fc-toolbar-title {
  font-size: 1rem;
  font-weight: 400;
}

#calendar-section .fc-today-button {
  display: none;
}

#calendar-section .fc-prev-button, #calendar-section .fc-next-button {
  color: dodgerblue;
  background-color: white;
  border-color: white;
  outline: none;
}

#calendar-section .fc .fc-button-primary:focus {
  -webkit-box-shadow: 0;
          box-shadow: 0;
}

#calendar-section .fc-col-header-cell {
  font-weight: 400;
  font-size: .8rem;
}

#calendar-section .fc-daygrid-day {
  font-weight: 400;
  color: lightgray;
}

#calendar-section .fc-daygrid-day-events {
  margin: 0;
}

#calendar-section .fc-daygrid-day-number {
  margin: auto;
}

#calendar-section .fc-day-today {
  background-color: ghostwhite;
}

#calendar-section .fc-day-disabled {
  background-color: white;
}

#schedule-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#available-times-div {
  /*display: none;*/
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  margin-left: 10px;
}

.time-slot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.time-btn {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1px solid #ccc;
  color: #333;
  background-color: white;
  width: 100%;
  font-weight: 600;
  margin-bottom: 10px;
}

.time-btn:hover {
  border-color: #AFCA0B;
  color: #AFCA0B;
}

.time-btn:focus {
  background-color: white;
  font-weight: 600;
  color: #333;
  outline: none;
  border: 1px solid #ccc;
}

.time-btn:focus:hover {
  border: 1px solid #ccc;
}

.confirm-btn {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 100%;
  margin-left: 5px;
  margin-bottom:10px;
  border:0!important;
}

.confirm-btn:hover {
  opacity: 0.5;
}

.confirm-btn:focus {
  outline: 0;
  opacity: 0.5;
}

@media (max-width: 1250px) {
  #calendar {
    max-width: 375px;
    margin: auto;
  }
}

@media (max-width: 645px) {
  #schedule-div {
    display: block;
  }
  #calendar {
    width: auto;
    margin-top: 20px;
  }
}