/**
 * Style-sheet for dtpicker
 * https://github.com/mugifly/jquery-simple-datetimepicker
 */

.datepicker {
  display: inline-block;
  font: 15px/1.5 "Helvetica Neue", mplus-2c, Helvetica, Arial,
    "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-weight: 300;
  border: 1px solid #dfdfdf;
  border-radius: 3px;
  margin: 1rem auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  box-shadow: 0.5px 0.5px 0px #c8c8c8;
  -webkit-box-shadow: 0.5px 0.5px 3px #eeeeee;
  -moz-box-shadow: 0.5px 0.5px 3px #eeeeee;
}

/*
 * datepicker_header
*/

.datepicker > .datepicker_header {
  padding-top: 10px;
  padding-bottom: 25px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #eeeeee;
  color: #3f3f3f;
  text-align: center;
  font-size: 9pt;
  font-weight: bold;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.datepicker > .datepicker_header > a {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: pointer;
  color: #738f66;
}
.datepicker > .datepicker_header > .icon-home > svg > g > path {
  color: #738f66;
  fill: #738f66 !important;
  width: 30px;
  height: 30px;
}
.datepicker > .datepicker_header > a:hover {
  color: #303030;
  background-color: #c8c8c8;
}

.datepicker > .datepicker_header > a:active {
  color: #ffffff;
  background-color: #808080;
}

.datepicker > .datepicker_header > span {
  margin-left: 20px;
  margin-right: 20px;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.datepicker > .datepicker_header > .icon-home {
  position: absolute;
  display: block;
  float: left;
  margin-top: 2px;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.datepicker > .datepicker_header > a:hover > svg > g > path {
  fill: #303030; /* Icon button hover color */
}

/*
 * datepicker_inner_container 
*/

.datepicker > .datepicker_inner_container {
  margin: -2px 0px -2px 0px;
  background-color: #d2d2d2;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;

  box-shadow: 0.5px 0px 3px #c8c8c8;
  -webkit-box-shadow: 0.5px 0px 3px #c8c8c8;
  -moz-box-shadow: 0.5px 0px 3px #c8c8c8;
}

.datepicker > .datepicker_inner_container:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/*
 * datepicker_inner_container > datepicker_calendar
*/

.datepicker > .datepicker_inner_container > .datepicker_calendar {
  float: left;
  width: auto;

  margin-top: -0.5px;
  margin-left: -1px;
  margin-bottom: -2px;

  background-color: #ffffff;
  border: 1px solid #c8c8c8;

  border-top: none;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > table {
  padding: 10px;
}

/*
 * datepicker_inner_container > datepicker_calendar > datepicker_table > tbody > tr > th (WDay-cell)
*/

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > th {
  color: #646464;
  width: 18px;
  font-size: small;
  font-weight: normal;
  text-align: center;
}

/*
 * datepicker_inner_container > datepicker_calendar > datepicker_table > tbody > tr > td (Day-cell)
*/

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td {
  color: #4e5a44;
  font-size: small;
  text-align: center;
  font-weight: bold;
  padding: 9px;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: pointer;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.today {
  border-bottom: #bfbfbf solid 2px;
  margin-bottom: -2px;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.wday_sat {
  color: #0044aa;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.wday_sun {
  color: #e13b00;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.day_another_month {
  color: #cccccc;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.day_in_past {
  cursor: default;
  color: #cccccc;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.day_in_unallowed {
  cursor: default;
  color: #cccccc;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.out_of_range {
  cursor: default;
  color: #cccccc;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.active {
  color: #ffffff;
  background-color: #808080;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_calendar
  > .datepicker_table
  > tbody
  > tr
  > td.hover {
  color: #000000;
  background-color: #c8c8c8;
}

/*
 * datepicker_inner_container > datepicker_timelist
*/

.datepicker > .datepicker_inner_container > .datepicker_timelist {
  /*float: left;*/
  height: 118px;

  margin-top: -0.5px;
  padding: 5px;
  padding-left: 0px;
  padding-right: 0px;

  overflow: auto;
  overflow-x: hidden;

  background-color: #ffffff;

  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
}

/*
.datepicker > .datepicker_inner_container > .datepicker_timelist::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
*/

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist::-webkit-scrollbar {
  overflow: hidden;
  width: 6px;
  background: #fafafa;

  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist::-webkit-scrollbar:horizontal {
  height: 1px;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist::-webkit-scrollbar-button {
  display: none;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist::-webkit-scrollbar-piece {
  background: #eee;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist::-webkit-scrollbar-piece:start {
  background: #eee;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist::-webkit-scrollbar-thumb {
  background: #aaaaaa;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist::-webkit-scrollbar-corner {
  background: #333;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist
  > div.timelist_item {
  padding: 10px;
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 2px;

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: pointer;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist
  > div.timelist_item.time_in_past {
  cursor: default;
  color: #cccccc;
  padding: 9px;
  font-size: 16px;
}
.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist
  > div.timelist_item {
  font-weight: bold;
  color: #4e5a44;
}
.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist
  > div.timelist_item.out_of_range {
  cursor: default;
  font-size: 14px;
  font-weight: normal;
  color: #cccccc;
}
.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist
  > div.timelist_item.active {
  color: #ffffff;
  background-color: #808080;
}

.datepicker
  > .datepicker_inner_container
  > .datepicker_timelist
  > div.timelist_item.hover {
  color: #000000;
  background-color: #c8c8c8;
}
#apt-form label {
  display: inline-block;
  vertical-align: middle;
  margin-right: 1rem;
}
#apt-form input {
  padding: 5px;
}
#apt-form .button {
  font-size: 16px;
  padding: 16px;
  -webkit-appearance: none;
}
#apt-form .button {
  border: none;
}
.button {
  cursor: pointer;
}
.button:active,
.button:focus {
  outline: none;
}
@media (max-width: 800px) {
  .datepicker
    > .datepicker_inner_container
    > .datepicker_calendar
    > .datepicker_table
    > tbody
    > tr
    > td {
    padding: 6px;
  }
}
