.cal-label{
    -webkit-box-flex: 1 0 auto;
    -webkit-flex: 1 0 auto;
    flex: 1 0 auto;
    margin-right: 8px;
    white-space: nowrap;
    font: 400 12px/16px Roboto,Arial,sans-serif;
    letter-spacing: .3px;
    color: #5f6368;
    margin-left: 16px;
}

#calendarBox .title, #calendarBox .title a i{

    font-size: 20px!important;
    font-weight:bold;
}

.cal-label-box-active{
    border: 2px rgb(0, 132, 137) solid!important;
}
.cal-header{
    max-width: -webkit-calc(50% - 15px);
    max-width: calc(50% - 15px);
}
.cal-checkin,.cal-checkout{
    position: relative;
    max-width: -webkit-calc(50% - 4px);
    max-width: calc(50% - 4px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;

    padding: 1px;
    -webkit-border-radius: 1px;

    height: 36px;
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    align-items: center;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    padding-left: 16px


}
.cal-arrow-right{
    cursor: pointer !important;
    user-select: none !important;
    background-color: rgb(255, 255, 255) !important;
    color: rgb(117, 117, 117) !important;
    position: absolute !important;
    top: 5px !important;
    line-height: 0.78 !important;
    right: 0px !important;
    margin: 0px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgb(228, 231, 231) !important;
    border-image: initial !important;
    border-radius: 3px !important;
    padding: 6px 9px !important;
}
.cal-arrow-left{
    cursor: pointer !important;
    user-select: none !important;
    background-color: rgb(255, 255, 255) !important;
    color: rgb(117, 117, 117) !important;
    position: absolute !important;
    top: 5px !important;
    line-height: 0.78 !important;
    left: 0px !important;
    margin: 0px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgb(228, 231, 231) !important;
    border-image: initial !important;
    border-radius: 3px !important;
    padding: 6px 9px !important;
}
.cal-results{
    max-width: 618px;
}

#calendarBox{
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
    width: 700px;

    display: none;
    z-index: 10000;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 14px 36px 2px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    white-space: normal !important;

    padding: 0px;
    visibility: visible !important;
    background: rgb(255, 255, 255) !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    border-image: initial !important;
    border-radius: 4px !important;


}

.cal-footer{
    box-sizing: border-box;

background-color: #FFF;
    width: 100%;
    border-top: 1px solid #e0e0e0;
}
.cal-header-box{
    background-color: #fafafa;
    padding: 12px 20px 8px;
    overflow-x: hidden;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.10);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.10);
}
.cal-header{

    display: flex;

}
.cal-panel{
    overflow-x: auto;

}

.cal-header-1,.cal-header-2{
    -webkit-box-flex: 1 1 0%;
    -webkit-flex: 1 1 0%;
    flex: 1 1 0%;

}
.cal-header-1{
    padding-right: 8px;
}
.cal-label-box{
    -webkit-align-items: center;
    align-items: center;
    background-color: #fff;
    border: 1px #d7d7d7 solid;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1 1 0;
    -webkit-flex: 1 1 0;
    flex: 1 1 0;
    height: 36px;
    -webkit-justify-content: space-between;
    justify-content: center;

}

.cal-label-box span{
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    overflow: hidden;
    padding: 0 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cal-mobile-table{
    display: none;
}
.cal-arrow-up-box{
    width: 100%;
    margin-bottom:5px;
    margin-top:1px;

}

.cal-arrow-up{

    cursor: pointer !important;
    user-select: none !important;
    display: block;

    text-align: center !important;
    width: 100% !important;


    padding:2px !important;
    background: rgb(255, 255, 255) !important;
    font-size: 24px;
    border-bottom: 1px solid #e0e0e0;


}
.cal-arrow-down-box{
    position: fixed;
    bottom: 60px;
    left:0px;
    right:0px;
  width: 100%;
    margin-top:5px;

}
.cal-arrow-down{

    cursor: pointer !important;
    user-select: none !important;
    display: block;

    text-align: center !important;
    width: 100% !important;


    padding:2px !important;
    background: rgb(255, 255, 255) !important;
    font-size: 24px;
    border-top: 1px solid #e0e0e0;


}
.clear{
    clear: both!important;
}
.cal-panel-container{
    padding: 20px;
}
@media (min-width:767px) {
    .cal-month-1 {
        padding-left: 0px;
    }

    .cal-month-2 {
        padding-right: 0px;
    }
}

#calendarBox{
    -webkit-animation: slide-down .3s ease-out;
    -moz-animation: slide-down .3s ease-out;
}

@-webkit-keyframes slide-down {
    0% { opacity: 0;  }
    100% { opacity: 1; }
}
@-moz-keyframes slide-down {
    0% { opacity: 0;  }
    100% { opacity: 1; }
}

#calendarBoxOverlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #000;
    opacity: 0.7;
    -webkit-transform: translate3d(0,0,0);
}
body.mobile-cal {
    overflow: hidden!important;
}
.mobile-cal #main{
    overflow: hidden!important;
}

@media (max-width:767px) {
    #calendarBox .title{
        margin: 5px 0px!important;
    }
    #calendarBox .title, #calendarBox .title a i {
        font-size: 16px !important;
    }
    .cal-panel-container .col-md-6{
        padding-left: 20px;
        padding-right: 20px;
    }
    .cal-mobile-table{
        display: block;
    }


    #calendarBox {
        transform:none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        overflow-x: hidden;
        z-index: 10001;
        height: 100vh;
        max-height:100vh!important;
        width: 100vw;
    }
    .mobile-cal .main-header{
        position: static!important;
        z-index: 1;
    }
    .mobile-cal  #wrapper{
        padding-top: 0px;
    }
    .mobile-cal .main-header{
        z-index: 1;
    }
    .cal-footer{
        position: fixed;
        bottom:0px;
    }
    .cal-header-box{
        height: 80px;
        padding: 12px 20px 0px;
    }
    .cal-header{
        max-width: 100%;
    }
    .cal-panel{
        position: fixed !important;
        top: 82px !important;
        left: 0px !important;
        right: 0px !important;
        bottom: 62px !important;


    }
    .cal-panel-container{
        overflow: auto;
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        height: 100%;


    }

    .cal-panel-container{
        padding-left:0px!important;
        padding-right:0px!important;
        padding-top:0px!important;
        padding-bottom:40px!important;



    }

}
 .row:after{
    clear: both;
}
#cal-nights{
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 33px;
    display: inline-block
}
.cal-button{
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 80px;
    text-align: center;
    vertical-align: top;
    background-color: #FFF;
    border: 1px solid rgba(0,0,0,0.12);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .75px;
    line-height: 33px;
    color:#757575;
    cursor: pointer;
}
.cal-button-color{
    background-color: rgb(0, 132, 137);
    border: 1px solid transparent;
    color:#FFF;
}
.cal-button-color:disabled{
    background-color: #ddd;
    color: #80868b;
}
.cal-footer{
    -webkit-box-shadow: 0 -2px 4px 0 rgba(0,0,0,0.10);
    box-shadow: 0 -2px 4px 0 rgba(0,0,0,0.10);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 12px 20px ;
    height: 60px;

}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;

}



.cal-mobile-table table th{
    padding: 15px 0 0px!important;
}

.cal-panel{

}



#calendarBox{
    display: none;
}
#calendarBox .title{
    margin:10px 0;
}

#calendarBox .title small{
    font-size: 12px;
    line-height: 16px !important;
    font-weight: 400;
 }
#calendarBox .title span > i{
    color: #ccc;
    font-size: 19px;

    font-weight: 300;
}

#calendarBox .title a{
    cursor: pointer;
}
#calendarBox table{
    width:100%
}
#calendarBox table th{
    color: rgb(117, 117, 117) !important;


    text-align:center;
    font-size: 12px;
    text-transform: uppercase;
    padding: 0 0 15px;
    width: 14%

}


#calendarBox table td{
    padding:1px
}
#calendarBox table td span{
    height: 2.5em;
    padding: 0px 5px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    display: block;
}
#calendarBox table td span.room-day{
    background: #fafafa;
}
#calendarBox table td span.day-num{
    line-height: 2.5em;
    text-align: center;
    font-weight:700;

}
#calendarBox table td span span{
    height: auto;
    padding: 0;
}
#calendarBox table td a{
    height: 2.5em;
    padding: 0px 5px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    display: block;

}
#calendarBox table td a.room-check{
    cursor: pointer;
}
#calendarBox table td a.room-checked{
    background: rgb(0, 132, 137)!important;
    color:#FFF!important;

}
#calendarBox table td a.room-checked-interval{
    background: rgb(51, 218, 205) !important
}



#calendarBox table td a.room-avail{
    background: rgb(237, 246, 246);
    color: rgb(0, 132, 137);
    border: rgb(204, 238, 235);
    border-radius: 7px;
}
#calendarBox table td a.room-avail:hover {
    background:rgb(204, 238, 235);
}

#calendarBox table td span span, #calendarBox table td a span{
    height: auto;
    padding: 0;
}
#calendarBox table td a span.day-price{
    font-size: 16px;
    font-weight: 900;
    line-height:15px;
    margin-top:5px;
    position: relative;
}
#calendarBox table td a span.day-price small{
    font-size: 10px;
    position: absolute;
    bottom: -3px;
    padding-left: 3px;
    font-weight: 400;
}

@media only screen and (max-width: 540px) {

    #calendarBox table td a span.day-price small{
        display: block;
        position:relative;
        text-align: center;
    }
    .quantity{
        margin-bottom: 10px;


    }
    .change-dates{
        text-align: center;
        margin-top: 10px;
    }
    #calendarBox table td span.day-num{
        padding-top: 2px;
        padding-right: 0px;
        font-size: 12px;
    }
    #calendarBox table td a span.day-price{
        font-size: 14px;
    }
}
#calendarBox table td a span.day-out{
    font-size: 12px;
    font-weight: 900;
    line-height:15px;
    margin-top:5px;
}
#calendarBox table td a span.day-currency{
    font-size: 8px;
}
#calendarBox .legend{
    margin: 10px 0;

}
#calendarBox .legend span{
    margin-left:10px;
}
#calendarBox .legend span span{
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
}
#calendarBox .legend span.day-past{
    background: #fff;
    border: 3px solid #4d4d4d;
}
#calendarBox .legend span.room-avail{
    background: #a3cc50;
}


. room-availability{
    margin-right: 20px;
    margin-left: 20px;
}

#calendarBox .legend span.room-noavail ,#calendarBox table td span.room-noavail{

    background: repeating-linear-gradient(-45deg, rgb(255, 255, 255), rgb(255, 255, 255) 3px, rgb(235, 235, 235) 3px, rgb(235, 235, 235) 4px);
    color: rgb(216, 216, 216);
    border:1px solid rgb(235, 235, 235);
    border-radius: 7px;

}

.btn-room-availability{
    color: rgb(72, 72, 72) !important;
    font-size: 17px;
    font-weight:800;
    cursor: pointer;
}
#calendarBox .title, #calendarBox .title a i{
    color: rgb(72, 72, 72) !important;
    font-size: 26px;
    font-weight:bold;
}

#calendarBox table th.saturday{
    color: rgb(72, 72, 72) !important;
}
#calendarBox table th.sunday{
    color: rgb(72, 72, 72) !important;
}
.room-avail .day-num{
    color:#444;
}
.room-checked .day-num {
    color:#FFF!important;

}