@charset "utf-8";

.reservationCalendar {
  width: 780px;
  font-size: 15px;
  line-height:32px;
  padding: 0 0;
  vertical-align:top;
  position:relative;
}

/*-----------------------------------------------
dateTimePicker
-----------------------------------------------*/
.reservationCalendar .barMonth{
  position: relative;
  background: #fff;
}
.reservationCalendar .btnPager{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  border-radius: 0px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.reservationCalendar .btnPager {
  width: 44px;
  height: 44px;
}

.reservationCalendar .btnPagerLeft {
  left: 10px;
}
.reservationCalendar .btnPagerRight {
  right: 10px;
}

.reservationCalendar .btnPager .las {
  color: #314e87;
  font-size: 1.6rem;
}

.reservationCalendar .labelMonth {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #000;
  letter-spacing: 1px;
  line-height: 50px;
  padding: 7px 0;
  border-right: 3px solid #fff;
  border-left: 3px solid #fff;
}
.reservationCalendar .tableCalendar {
  width: 100%;
  table-layout: fixed;
  border-style: none;
  border-width: 0px;
}

.reservationCalendar  p {
  margin: 0;
}

.reservationCalendar .tableCalendar p {
  margin: 0;
}

.reservationCalendar .tableCalendar td button {
  display: block;
  width: 100%;
  height: 100%;

  border: none;
  font-size: 16px;
  background-color: ;
}

.reservationCalendar .tableCalendar td button.reservable {
  cursor: pointer;
  background-color: #f6f6f6;
  min-height: 90px;
  height: auto;
}

.reservationCalendar .tableCalendar th {
  padding: 6px 0 2px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #000;
  background: #fff;
  border-width: 0px 0px 0px 0px;
  border-style: none;
  border-width: 0px;
  border-color: #000;
  width:calc(100% / 7);
}
.reservationCalendar .tableCalendar .sundayCell {
  color: #c4143c;
}
.reservationCalendar .tableCalendar .saturdayCell {
  color: #0000cd;
}
.reservationCalendar .tableCalendar td {
  height: 90px;
  font-size: 16px;
  text-align: center;
  vertical-align: top;
  background: #FFF;
  border-width: 0px 0px 0px 0px;
  border-style: none;
  border-width: 0px;
  border-color: #000;
  padding:0;
  position: relative;
}
.reservationCalendar .tableCalendar tr td:first-child {
  border-left: 0;
}
.reservationCalendar .tableCalendar tr td:last-child {
  border-right: 0;
}
.reservationCalendar .tableCalendar td.calendar_cell {
  background: #fff;
  color: #c3c3c3;
}

.reservationCalendar .tableCalendar td.calendar_cell.clicked_cell {
  position: relative;
}

.reservationCalendar .tableCalendar td.calendar_cell.clicked_cell::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: calc(100% - 3px);
  height: calc(100% - 4px);
  display: block;
  border: 2px solid #030336;
}

.reservationCalendar .tableCalendar td.calendar_cell.closed {
  background:#fff;
}
.reservationCalendar .tableCalendar td .btnWrapper {
  position: relative;
  height: 100%;
  background: #fff;
}
.reservationCalendar .tableCalendar .date {
  font-size: 16px;
  font-weight: bold;
  line-height: 12px;
  position: absolute;
  top:20px;
  left: 0;
  right: 0;
}
.reservationCalendar .tableCalendar td .state {
  line-height: 22px;
  position: absolute;
  top:48px;
  left: 0;
  right: 0;
}
.reservationCalendar .tableCalendar td .state.fewAkiwaku {
  top: 44px;
}

.reservationCalendar .tableCalendar td .state.selected {
  background-color: #329f65;
  color: #fff;
  font-size:100%;
  padding-top:3px;
  padding-bottom:3px;
  margin-bottom:10px;
  border-radius:4px;
  font-weight:bold;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.reservationCalendar .tableCalendar td.on {
  position: relative;
  height: 100%;
}
.reservationCalendar .tableCalendar td.on::before {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border: 3px solid #e9495b;
}

.reservationCalendar .timePicker {
  padding: 5px !important;

}

.reservationCalendar .timePickerCloseButton{
  margin-top: 5px;
  width: 25px;
  font-size: 13px;
  height: 25px;
  color: #000;
  background: #ddd;
  display: block;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  border-width: 1px;
}

.reservationCalendar .calendarWrapper {
    position: relative;
}

.reservationCalendar .timePickerButtonBox {
  padding: 0;
}

.reservationCalendar .timePickerButton {
    background-color: #0000cd;
    color: #FFF;
    cursor: pointer;
    border: solid;
    border-radius: 4px;
    border-width: 2px;
    border-color: #0000cd;
    width: 100%;
    margin: 5px 0px;
}

.reservationCalendar .timePickerButton.manyAkiwaku {
  background-color: #0439bf;
  border-color: #0439bf;
}

.reservationCalendar .timePickerButton.manyAkiwaku .lar {
  font-size: 15px;
  vertical-align: middle;
}

.reservationCalendar .timePickerButton.fewAkiwaku {
  background-color: #f59835;
  border-color: #f59835;
}

.reservationCalendar .timePickerButton.fewAkiwaku .las {
  transform: rotate(270deg);
  font-size: 18px;
  vertical-align: middle;
}

.reservationCalendar .timePickerButton.disabled {
    background-color: #555;
    border-color: #555;
    cursor: default;
}


.reservationCalendar .state.manyAkiwaku .lar {
    color: #0404B4;
    font-weight: 900;
    font-size: 25px;
}

.reservationCalendar .state.fewAkiwaku .las {
    color: #DF7401;
    font-size: 30px;
    transform: rotate(270deg);
}

.reservationCalendar .state .la-times {
  color: #c3c3c3;
  font-size: 23px;
}

@media screen and (max-width: 767px) {
  .reservationCalendar{
    width:100%;
  }

  .reservationCalendar .labelMonth {
    font-size: 1.1rem;
  }

  .reservationCalendar .btnPager {
    width: 28px;
    height: 28px;
  }

  .reservationCalendar .btnPagerLeft {
    left: 10px;
  }
  .reservationCalendar .btnPagerRight {
    right: 10px;
  }

  .reservationCalendar .tableCalendar td {
    height: 65px;
  }

  .reservationCalendar .tableCalendar td .date {
    font-size: 0.9rem;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
  }

  .reservationCalendar .tableCalendar td button.reservable {
    padding: 0;
    margin: 0;
    min-height: 65px;
    height: auto;
  }

  .reservationCalendar .tableCalendar td button.reservable .date {
    font-size: 1rem;
  }

 .reservationCalendar .tableCalendar td .state {
   position: absolute;
   top: 35px;
   left: 0;
   right: 0;
 }

  .reservationCalendar .tableCalendar td .state.fewAkiwaku {
    top:32px;
  }

 .reservationCalendar .tableCalendar td .state.selected {
   font-size: 11px;
   padding-bottom:1px;
   margin-bottom:0px;
 }

 .reservationCalendar .state.manyAkiwaku .lar {
   font-size: 1.2rem;
 }

 .reservationCalendar .state.fewAkiwaku .las {
   font-size: 1.6rem;
 }

 .reservationCalendar .state .la-times {
   font-size: 1.1rem;
 }

 .reservationCalendar .timePickerButton {
   padding-top: 3px;
   padding-bottom: 3px;
 }

}
