.logo {
    max-width: 150px;
}

.logo img {
    width: 100%;
}

/*
########## IMPORTANT SET OF CALENDAR
*/

.datepicker-block,
.time-block,
.cancel-button,
.book-info,
.button-wrapper button {
    display: none;
}

.time-interval {
    min-height: 20px;
    line-height: 20px;
    font-size: 12px;
    text-align: center;
    /*border: 1px solid #999;*/
    cursor: pointer;
    box-sizing: border-box;
}

.time-interval:hover {
    border-color: #879baa;
    box-shadow: none !important;
    color: #000;
    background: #eee;
}

.datepicker-block::after,
.time-block ul::after,
.time-wrap::after {
    display: block;
    content: '';
    clear: both;
}

/*size calendar-box*/
#calendar-input {
    width: 100%;
    float: left;
    box-sizing: border-box;
}

/*size time-box*/
.time-block {
    float: left;
    width: 100%;
    box-sizing: border-box;
}

.time-wrap .second {
    float: right;
}

/*
########## BASE STYLE
*/

li.booked { /* COLOR OF BOOKED TIME*/
    background-color: #EDE5DD;
    pointer-events: none;
    color: #828282
}

ul li.own { /* COLOR OF YOURS TIME*/
    background-color: #D2EEFF;
    color: #828282;
}

.time-interval { /* COLOR OF DEFAULT TIME*/
    color: #828282;
    background-color: #fff;
}

.time-block ul li.own.active {
    background-color: #5cb85c;
    color: #ffffff;
}

.time-block ul li.active {
    background-color: #5cb85c;;
    color: #ffffff;
}

.time-block ul {
    width: 100%;
    padding: 0;
    display: block;
}

.time-block ul li {
    display: block;
    border: 1px solid #dfe6ed;
    padding: 9px 10px;
    width: 100%;
    margin: 1% 0;
    float: left;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.time-wrap ul {
    width: 48%;
    float: left;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover,
.datepicker table tr td span.disabled,
.datepicker table tr td span.disabled:hover { /* COLOR OF DISABLED DATE IN CALENDAR */
    background-color: #D4D4D4;
    border-radius: 0;
    color: #fff;
}

.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td span.active.active,
.datepicker table tr td span.active:hover.active { /* COLOR OF ACTIVE DATE IN CALENDAR */
    background-color: #5cb85c;;
    color: #ffffff;
    background-image: none;
    border-radius: 0;
}

.time-block .mainbutton {
    margin-top: 10px;
}

#number-of-people {
    width: 104%;
    box-sizing: border-box;
    display: block;
    margin: 3px;
}

#calendar_notes {
    height: auto;
}

#calendar-form label.error {
    color: #ff0000;
    text-transform: none;
    padding-bottom: 5px;
}

button:disabled {
    background-color: #999;
}

.book-info {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 20px;
}

.datepicker-inline {
    width: 100%;
}

.datepicker-inline table {
    width: 100%;
}

@media screen and (max-width: 590px ) {
    #calendar-input,
    .time-block {
        width: 100%;
        max-width: 100%;
        float: none;
        padding: 0 2%;
    }

    .datepicker-inline {
        margin: 0 auto;
    }

    .time-interval {
        font-size: 15px;
        min-height: 36px;
    }

    .time-wrap ul {
        width: 100%;
        float: none;
        margin: 0;
    }

    .time-wrap .second {
        float: 0;
    }

    .calendar select {
        width: 100%;
        height: 36px;
        font-size: 15px;
        margin: 5px 0;
    }

    .datepicker td,
    .datepicker th {
        height: 36px;
        width: 44px;
    }
}
