/* このファイルは UTF-8 で保存すること */

/***************************************
 * 予約アンケート日付 フォーム
 * 囲むdivとアイコンのpositionの関係で、
 * input text の左隅にカレンダーアイコンを表示し、
 * input text の右隅にクリアアイコンを表示する。
 **************************************/

div.btcal-div {
  position: relative;
  width: 180px;
}

span.btcal-icon {
  cursor: pointer;
  font-size: 20px;
  left: 12px;
  position: absolute;
  top: 11px;
}

i.btcal-clear-icon {
  color: #666666;
  cursor: pointer;
  font-size: 18px;
  position: absolute;
  right: 12px;
  top: 11px;
}

/***************************************
 * 予約アンケート日付 フォーム
 * 左隅のカレンダーアイコンに対してテキストの位置を右にずらす
 **************************************/

div.btcal-div input.datepicker-input {
  padding-left: 40px;
}

/***************************************
 * 予約アンケート日付 月カレンダー
 **************************************/

table.btcal-calendar-navi {
  background: none !important;
  border: none !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

table.btcal-calendar-navi td {
  background: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 33%;
}

table.btcal-calendar-navi td {
  vertical-align: bottom;
}

table.btcal-calendar-navi td div {
  line-height: 30px;
  text-align: center;
}

table.btcal-calendar-navi td div.type2 {
  width: 80px !important;
}

table.btcal-calendar-navi td div.off {
  background-color: #f7f7f7;
  border: 1px solid #777777;
  border-color: #cccccc;
  border-radius: 4px;
  color: #cccccc;
  cursor: auto;
  display: block;
  line-height: 20px;
  margin-bottom: 0;
  padding: 5px 10px;
  text-decoration: none;
}

table.btcal-calendar-navi td div a {
  background-color: #ffffff;
  border: 1px solid #aaaaaa;
  border-radius: 4px;
  color: #333333;
  cursor: pointer;
  display: block;
  line-height: 20px;
  padding: 5px 10px;
  text-decoration: none;
}

table.btcal-calendar-navi td div a:hover {
  background-color: #eeeeee;
}

table.btcal-calendar-navi td.right,
table.btcal-calendar-navi td.left {
  vertical-align: middle;
}

table.btcal-calendar-navi td.center {
  padding-bottom: 4px!important;
  text-align: center;
}

table.btcal-calendar-navi td.center span.bold {
  font-size: 138.5%;
  font-weight: bold;
  margin-left: 5px;
}

table.btcal-calendar-navi td.left div {
  float: left;
  width: auto;
}

table.btcal-calendar-navi td.right div {
  float: right;
  margin: 0;
  width: auto;
}

table.btcal-calendar-navi td.left div.off {
  padding: 2px 16px 2px 14px;
}

table.btcal-calendar-navi td.right div.off {
  padding: 2px 14px 2px 16px;
}

table.btcal-calendar-navi td.left div a {
  padding: 2px 16px 2px 14px;
}

table.btcal-calendar-navi td.right div a {
  padding: 2px 14px 2px 16px;
}

.btcal-calendar-navi .left i,
.btcal-calendar-navi .right i {
  font-size: 22px;
}

.btcal-calendar-navi .left i:before,
.btcal-calendar-navi .right i:before {
  position: relative;
}

.fa-modal-calendar {
  color: #cccccc;
  font-size: 28px;
}

/***************************************
 * modal-window
 **************************************/

#btcal-modal-win {
  position: absolute;
  width: 100%;
}

#btcal-modal-win-inner {
  bottom: 0;
  box-sizing: border-box;
  left: 0;
  margin: auto;
  max-height: 300px;
  max-width: 377px;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 0;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 101;
}

#btcal-modal-bg {
  background-color: #000000;
  cursor: pointer;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

#btcal-select-calendar {
  background-color: #ffffff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  bottom: 0;
  display: none;
  left: 10px;
  margin: auto;
  min-height: 225px;
  padding: 10px;
  right: 10px;
  top: 0;
  width: 300px;
}

#btcal-select-calendar .close-btn {
  margin-bottom: 1px;
  text-align: right;
}

#btcal-select-calendar table.date th {
  background-color: #eeeeee;
  border: 1px solid #cccccc;
  font-weight: bold;
  height: 24px;
  line-height: 24px;
  text-align: center;
  width: 12%;
}

#btcal-select-calendar table.date th.sun {
  background-color: #ffe1e1;
}

#btcal-select-calendar table.date th.sat {
  background-color: #dee9ff;
}

#btcal-select-calendar table.date td {
  border: 1px solid #cccccc;
  height: 24px;
  line-height: 24px;
  text-align: center;
  width: 12%;
}

#btcal-select-calendar table.date td.sc_sun {
  background-color: #ffe1e1;
}

#btcal-select-calendar table.date td.sc_sat {
  background-color: #dee9ff;
}

#btcal-select-calendar table.date td.on {
  background-color: #dddddd !important;
}

#btcal-select-calendar table.date td a {
  display: block;
  font-size: 85%;
  height: 24px;
  line-height: 24px;
  text-decoration: none;
}

#btcal-select-calendar table.date td a:hover {
  background-color: #ffe259;
  color: #333333;
  display: block;
}

#btcal-select-calendar table.date td.res {
  background-color: #ffd736 !important;
}

#btcal-select-calendar table.date td.sc_today {
  background-color: #f38400 !important;
}

#btcal-select-calendar table.date td.sc_today a {
  color: #ffffff !important;
}
