#calendar {
    padding:1em 1em;
    border:1px solid #1da1da;
    width: 100%;
    box-sizing: border-box;
}

#calendar .preloader{
    display:block;
    margin:150px auto;
    width:64px;
}

#calendar .preloader img{
    width:100%;
}

#calendar table{
    width: 100%;
    margin: 0 0 8px;
    table-layout: fixed;
    border-collapse: collapse;
}

#calendar table th{}

#calendar table td{
    padding: 5px 0 10px;
    background-color: transparent;
    border:solid 1px #e0e0e0;
    font-size: 11px;
    text-align: center;
    position: relative;
    box-shadow:none;
    box-sizing:border-box;
    font-weight:100;
}

#calendar table td.before{
    background-color:#f9f9f9;
}

#calendar table td.nonborder{
    border:0px;
}

#calendar table th{}

#calendar table td .num{
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin: 0 auto 5px auto;
}

#calendar table td.today .num{
    background-color: #ffebee;
    border-radius:10px;
}

#calendar table td a{
    font-size:14px;
    padding:2px;
    border-radius:10px;
    text-decoration:underline;
    cursor: pointer;
}

#calendar table td a.nonborder{
    border:0px;
}

#calendar table th{
    color:#333;
    background-color:#FFF;
    font-weight:100;
}

#calendar table td:last-child .num{
    color:#3f51b5;
    font-weight:bold;
}

#calendar table td:first-child .num,
#calendar table td.holiday .num{
    color:#EF5353;
    font-weight:bold;
}

#calendar table td.holiday{}

#calendar .calendarhead{
    text-align:center;
    font-size:16px;
    padding:5px 0;
    position:relative;
}

#calendar .calendarhead a{
    position:absolute;
    font-size:12px;
    color:#999 !important;
    font-weight:100;
}

#calendar .calendarhead a:last-child{
    background-color:#1da1da;
    padding:2px 5px;
    color:#FFF !important;
    border-radius:5px;
}

#calendar .calendarhead .lastMonth{left:0;}

#calendar .calendarhead .nextMonth{right:0;}

#calendar td .timeListWrap{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1101;
    display:none;
}

#calendar td .timeList{
    z-index: 1102;
    position: absolute;
    width: 280px;
    margin: 0 auto;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -20%);
    background-color: #fff;
    border-radius: 2px;
    box-shadow: rgba(0,0,0,0.3) 0px 2px 6px 0px;
    -webkit-box-shadow: rgba(0,0,0,0.3) 0px 2px 6px 0px;
    text-align:left;
}

#calendar td .timeList h2{
    text-align:left;
    padding:1em;
    font-size:16px;
    background-color: #1fbff9;
    color: #FFF;
    margin-top:0px;
    border-bottom:0px
}

#calendar td .timeList a{
    font-size:14px;
    display:inline-block;
    padding:0.8em 1em;
    text-align:left;
    font-weight:100;
    width:50%;
    box-sizing:border-box;
    color:#2d84b1;
    border:0px solid #000;
    margin:0.25em 0;
    text-decoration:none;
    cursor: pointer;
}

#calendar td .timeList .closeTimeList{
    display:block;
    text-align:right;
    padding:1em;
    font-size:14px;
    font-weight:100;
    color:#333;
    border:0px;
    border-top:1px solid #ccc;
    cursor: pointer;
}

#calendar td .backWrap{
    position: absolute;
    top: 0;left: 0;
    background-color: rgba(51,51,51,0.6);
    width: 100%;
    height: 100%;
    z-index: 1;
}


.firsttimePopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1101;
    display:none;
}

.firsttimePopup .wrap{
    z-index: 1102;
    position: absolute;
    width: 280px;
    margin: 0 auto;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -20%);
    background-color: #fff;
    border-radius: 2px;
    box-shadow: rgba(0,0,0,0.3) 0px 2px 6px 0px;
    -webkit-box-shadow: rgba(0,0,0,0.3) 0px 2px 6px 0px;
    text-align:left;
    height:360px;
}

.firsttimePopup .wrap h2{
    text-align:left;
    padding:1em;
    font-size:16px;
    background-color: #1fbff9;
    color: #FFF;
    margin-top:0px;
    border-bottom:0px
}

.firsttimePopup .wrap .closeTimeList{
    display:block;
    text-align:right;
    padding:1em;
    font-size:14px;
    font-weight:100;
    color:#333;
    border:0px;
    border-top:1px solid #ccc;
    cursor: pointer;
    margin-top: 105px;
}

.firsttimePopup .wrap ul {
    overflow: hidden;
    margin:0px;
    padding:0px;
    list-style: none;
    margin-bottom:10px;
}

.firsttimePopup .wrap ul li {
    width:92%;
    margin:6% 4%;
    text-align: center;
    background-color:#1fbff9;
    padding:10px 0;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.firsttimePopup .tel-box{
    display: none;
    padding: 1em 0.5em;
    font-size: 0.9em;
    text-align: center;
    height:108px;
}

.nextLink{text-align:right;}

.reservationTimetableNote{
    background-color:#1da1da;
    border-radius:0 0 5px 5px;
    margin-top:20px;
    padding:1em 1em;
    color:#FFF;
    position:relative;
}

.reservationTimetableNote:after {
    border:10px solid transparent;
    border-bottom-color:#1da1da;
    border-top-width:0;
    top:-10px;
    content:"";
    display:block;
    left:30px;
    position:absolute;
    width:0;
}

.reservationTimetableNote span{
    margin-bottom:6px;
    display:inline-block;
}

.reservationTimetableNote span:first-child{
    border-bottom:1px dotted #FFF;
}