html,
body {
    height: 100%;
    font-family: "SF Pro JP", "SF Pro Text", "SF Pro Icons", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

html {
    display: table;
    margin: auto;
}

body {
    color: #ad1e23;
    background: #f2f2f2;
    opacity: 0.90;
    background-size: cover;
    background-attachment: fixed;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%), url("../img/bg.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

input::placeholder {
    color: #ccc;
}

input:-ms-input-placeholder {
    color: #ccc;
}

input::-ms-input-placeholder {
    color: #ccc;
}

a {
    color: #f5fe59;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #f5fe59;
    text-decoration: none;
}

#triangleRight {
    height: 0;
    border-left: 50px solid #ad1e22;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
}

#triangleLeft {
    height: 0;
    border-right: 50px solid #ad1e22;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
}


/**********************************************/


/*           Calender Table                  */


/**********************************************/

table.calender {
    border-collapse: collapse;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

table.calender th {
    padding: 10px;
    font-weight: bold;
    vertical-align: top;
    font-size: 20px;
    background: #3f3f3f;
    color: #ffffff;
}

table.calender td {
    width: 110px;
    height: 110px;
    padding: 10px;
    font-size: 30px;
    vertical-align: middle;
    border: 1px solid #d0cfcf;
}

td.disable {
    background-color: #eee !important;
    background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #F9F9F9), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, #F9F9F9), color-stop(.75, #F9F9F9), color-stop(.75, transparent), to(transparent)) !important;
    -webkit-background-size: 14px 14px !important;
}


/**********************************************/


/*           Time Slot Table                  */


/**********************************************/

table.timeslot {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 770px;
}

table.timeslot tr:nth-child(odd) td {
    background: rgb(245, 245, 245);
}

table.timeslot th {
    padding: 10px;
    width: 200px;
    font-size: 20px;
    font-weight: bold;
    vertical-align: top;
    text-align: center;
    background: #3f3f3f;
    color: #ffffff;
}

table.timeslot td {
    width: 200px;
    padding: 10px;
    height: 70px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid #aaa;
    color: #888;
    border-bottom: 2px solid #aaa;
}


/**********************************************/


/*           Booking/Cancel Form              */


/**********************************************/

table.bookingform {
    margin-top: 20%;
    border-collapse: collapse;
    width: 700px;
}

table.bookingform td {
    width: 50px;
    padding: 10px;
    font-weight: bold;
    vertical-align: top;
    font-size: 30px;
    background: #fff;
}

.btn-flat-border {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #ad1e22;
    border: solid 2px #ad1e22;
    font-size: 30px;
    background: #fff;
    border-radius: 3px;
    transition: .4s;
}

.btn-flat-border:hover {
    background: #ad1e22;
    color: white;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.layout {
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    /* IE10 */
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    /* IE10 */
}

.layout>div {
    width: 50%;
    padding: 10px;
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .layout>div {
        width: 100%;
    }
    table.timeslot td {
        width: 250px;
        padding: 10px;
        height: 150px;
        text-align: center;
        font-weight: bold;
        font-size: 25px;
        background: #ffffff;
        border: 1px solid #aaa;
        color: #888;
        border-bottom: 2px solid #aaa;
    }
}


/**********************************************/


/*           Cancel Form                     */


/**********************************************/

.cancel_box {
    width: 50px;
    height: 50px;
}


/**********************************************/


/*           Top page menu                     */


/**********************************************/

.btn-flat-bottom-border {
  margin-top: 10px;
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 7px 10px 10px 10px;
  text-decoration: none;
  color: #FFF;
  background: #ad1e22;
  transition: .4s;
}


.btn-flat-bottom-border:hover {
  background: #ad1e23;
}


/**********************************************/


/*           Confirmation Flash               */


/**********************************************/

.flash-title {
    position: fixed;
    top: 0;
    left: 0;
    display: table;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    -webkit-animation: fade-in-out 3s ease 0s forwards;
    visibility: hidden;
    z-index: 1;
}

.flash-title p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 90px;
    color: #999;
}

@-webkit-keyframes fade-in-out {
    0% {
        visibility: hidden;
        opacity: 0;
    }
    50% {
        visibility: visible;
        opacity: 1;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}

@keyframes fade-in-out {
    0% {
        visibility: hidden;
        opacity: 0;
    }
    50% {
        visibility: visible;
        opacity: 1;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}


/**********************************************/


/*           Admin menu                       */


/**********************************************/
.btn-border {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  border: 2px solid #ad1e23;
  font-size: 12px;
  color: #ad1e23;
  text-decoration: none;
  background-color: #fff;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  transition: .4s;
}

.btn-border:hover {
  background-color: #ad1e23;
  border-color: #ad1e23;
  color: #FFF;
}


.btn-menu-border {
  display: inline-block;
  max-width: 250px;
  text-align: left;
  border: 2px solid #fff;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background-color: #ad1e23;
  padding: 8px 12px;
  transition: .4s;
}

.btn-menu-border:hover {
  background-color: #fff;
  border-color: #fff;
  color: #ad1e23;
}

.btn-logoff-border {
  display: inline-block;
  max-width: 250px;
  text-align: left;
  border: 2px solid #fff;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background-color: #ad1e23;
  padding: 8px 12px;
  border-radius: 10px;
  transition: .4s;
}

.btn-logoff-border:hover {
  background-color: #fff;
  border-color: #ad1e23;
  color: #ad1e23;
}

.btn-border-min {
    display: inline-block;
    max-width: 90px;
    text-align: left;
    border: 2px solid #ad1e23;
    font-size: 6px;
  background-color: #ad1e23;
  color: #FFF;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 2px;
    transition: .4s;
}

.btn-border-min:hover {
    color: #ad1e23;
    background-color: #fff;
  border-color: #ad1e23;
}

.btn-border-min-mi {
    display: inline-block;
    max-width: 10px;
    text-align: left;
    border: 1px solid #ad1e23;
    font-size: 5px;
    background-color: #ad1e23;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    padding: 0px 1px;
    border-radius: 2px;
    transition: .4s;
}

.btn-border-min-mi:hover {
    color: #ad1e23;
    background-color: #fff;
  border-color: #ad1e23;
}
