.bb-calendar {
    background: white;
    border-top: 3px solid #b6b6b6;
    box-shadow: 0 0 20px 0 rgba(0,0,0, 0.10);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin-bottom: 50px;
}
.bb-calendar.loading {
    position: relative;
}
.bb-calendar.loading::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    z-index: 4;
    background: url(../img/loading3.gif) 50% 50% no-repeat rgba(255,255,255, 0.70);
    background-size: 100px;
    border-radius: inherit;
    width: 100%;
    height: 100%;
}
.bb-calendar .topbar {
    display: table;
    background: #ffffff;
    width: 100%;
}
.bb-calendar .topbar .col {
    display: table-cell;
    vertical-align: middle;
    width: auto;
    padding: 20px;
}
.dates-holder{
    right: 0;
}
.bb-calendar .topbar .title {
    font-size: 18px;
    font-weight: 300;
}
.bb-calendar .calendar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background: #fbfbfb;
}
.bb-calendar .calendar .sidebar {
    width: 150px;
}
.bb-calendar .calendar .date-items {
    position: relative;
    width: calc(100% - 150px);
}
.bb-calendar .calendar .date-items::-webkit-scrollbar {
    background: #eaeaea;
    border: 0px solid #eaeaea;
    border-radius: 25px;
    height: 6px;
}
.bb-calendar .calendar .date-items::-webkit-scrollbar-thumb {
    background: #dadada;
    border-radius: 25px;
    cursor: pointer;
}
.bb-calendar .calendar .date-items .mark-period {
    position: absolute;
    z-index: 1;
    top: 0; left: 0;
    background: rgba(0,0,0, 0.10);
    border-left: 1px solid rgba(0,0,0, 0.10);
    border-right: 1px solid rgba(0,0,0, 0.10);
    width: 100px;
    height: 100%;
}
.bb-calendar .calendar .month-name {
    font-size: 15px;

    font-weight: bold;
    text-transform: uppercase;

}
.bb-calendar .calendar .date-number {
    font-size: 18px;
    font-weight: 300;
}
.bb-calendar .calendar .dates-holder {
    display: none;
    position: fixed;
    z-index: 5;
    top: 0;
}
.bb-calendar .calendar .dates-holder::before {
    position: fixed;
    top: 0;
    width: 150px;
    height: 100%;
    background: #fafafa;
}
.bb-calendar .calendar .dates-holder::-webkit-scrollbar {
    display: none;
}
.bb-calendar .calendar .dates-holder::-webkit-scrollbar-thumb {
    display: none;
}
.bb-calendar .calendar .items {
    position: relative;
    display: table;
    background: #ffffff;
    width: 100%;
    height: 40px;
    font-size: 12px;
    padding: 0;
}
.bb-calendar .calendar .items.ltgray {
    background: #E6EDFB !important;
    color: black;
    font-weight: bold;
    font-size: 20px;
}
.bb-calendar .calendar .items.dates {
    height: 50px;
}
.number{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 40px;
}
.bb-calendar .calendar .items .row {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    background: none;
    border-top: 1px solid #dddddd;
    border-right: 1px solid #dddddd !important;
    width: calc(100% / 12);
    height: 100%;
    text-align: center;
    padding: 5px;
}
.bb-calendar .calendar .items .row.full {
    width: 100%; min-width: 100%; max-width: 100%;
    text-transform: uppercase;
    text-align: left;
    
}
.items:nth-child(1) .full{
    font-size: 15px;
    font-weight: bold;
}
.bb-calendar .calendar .items.rent-items .row {
    border-right: 0;
    background-image: linear-gradient(to top, #3FC0A7, #5AD68B);
}
.bb-calendar .calendar .items .row .preview {
    display: none;
    position: absolute;
    top: 100%; left: 100%;
    z-index: 2;
    margin: -10px 0 0 -20px;
    width: 300px;
    height: auto;
}
.bb-calendar .calendar .items .row:hover .preview {
    display: block;
}
.bb-calendar .calendar .items .row .preview img {
    display: block;
    width: 100%;
    height: auto;
}
.bb-calendar .calendar .items .fill {
    position: absolute;
    top: 1px; left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to top, #FD4379, #FD4379);
    width: auto;
    height: calc(100% - 1px);
    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    text-align: center;
}
.bb-calendar .calendar .items .fill.yellow {
    background-image: linear-gradient(to top, #FD4379, #FD4379);
    border-right: 1px solid #dddddd
}
/* .bb-calendar .calendar .items .fill::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    background: url(../img/bbc-taken-icon.png) center center no-repeat rgba(0,0,0, 0.15);
    background-size: 24px;
    width: 40px;
    height: 100%;
} */
.bb-calendar .calendar .items .fill p {
    width: 100%;
    font-size: 10px;
}
.bb-calendar .calendar .items .fill .tooltip {
    display: none;
    position: absolute;
    top: 100%; left: 50%;
    z-index: 3;
    margin: 0 0 0 -100px;
    background: #ffffff;
    box-shadow: 0 0 10px 0 rgba(0,0,0, 0.15);
    border: 1px solid #dddddd;
    border-radius: 5px;
    width: 200px;
    height: auto;
    color: #676767;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    padding: 5px;
}
.bb-calendar .calendar .items .fill .tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%; left: 50%;
    margin: 0 0 0 -5px;
    background: none;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #cccccc;
}
.bb-calendar .calendar .items .fill .tooltip .client {
    color: #000000;
    margin: 0 0 2.5px 0;
}

#map-holder {
    height: 600px;
    overflow: hidden;
}
#map-holder.loading {
    position: relative;
}
#map-holder.loading::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    z-index: 4;
    background: url(../img/loading3.gif) 50% 50% no-repeat rgba(255,255,255, 0.70);
    background-size: 100px;
    border-radius: inherit;
    width: 100%;
    height: 100%;
}
#bb-map {
    width: 100%;
    height: calc(100% + 25px);
}

.bb-period {
    display: table;
    background: #ffffff;
    border-top: 3px solid #b6b6b6;
    border-bottom: 1px solid #cecece;
    width: 100%;
}
.bb-period .col {
    display: table-cell;
    vertical-align: middle;
    width: auto;
    padding: 10px;
}
.bb-period .col.title {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}
.topbar form{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.topbar form p{
    color: #192744;
}
.topbar form select{
    height: 40px;
    min-width: 200px;
    border-radius: 3px;
    border: 1px solid #192744;
    margin-left: 10px;
    color: #192744;
    font-weight: 600;
    padding-left: 10px;
}
.topbar .col{
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
}
.topbar .title{
    padding-bottom: 20px;
    font-weight: 600 !important;
    color: #192744;
}
.sidebar .items:nth-child(1){
    margin-top: 1px;
}

.sidebar .items .items{
    background-color: #192744 !important;
    color: white;
    margin-left: 40px;
    background-color: #192744 !important;
    border-top: 1px solid #ff000000;
}
.sidebar .items .items:nth-child(1){
    border-top: none;
    border-bottom: 1px solid #ff000000;
}
.sidebar .items .items .full{
    border-top: none !important;
    
}


.sidebar .items span{
    position: absolute;
    left: 0;
    top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    margin-top: -1px;
    font-weight: bold;
    font-size: 20px;
    color: white;
    background-color: #304266 !important;
}
.sidebar > .items:nth-child(1){
    margin-left: 0;
}
.date-info:hover{
    cursor: pointer;
    background-color: rgb(192, 197, 211) !important;
    transition: .3s;
}
.active{
    background-color: rgb(192, 197, 211) !important;
}
.slider{
    margin: 0px 30px;
}

.legend{
    margin-left: auto;
    margin-right: 20px;
    margin-top: -85px;
}

.legend .green{
    display: flex;
    align-items: center;
}
.legend .green span{
    background-image: linear-gradient(to top, #3FC0A7, #5AD68B);
    height: 40px;
    width: 20px;
    display: block;
    margin: 5px 0;
    margin-right: 10px;
}

.legend .red{
    display: flex;
    align-items: center;
}
.legend .red span{
    background-image: linear-gradient(to top, #FD4379, #FD4379);
    height: 40px;
    width: 20px;
    display: block;
    margin: 5px 0;
    margin-right: 10px;
}

@media screen and (max-width: 1024px){
    .legend{
        margin-right: auto;
        margin-left: 0;
        margin-top: 0;
    }
    #map-holder{
        height: 300px;
    }
    .calendar{
        width: max-content;
        margin: auto;
    }
    .slider{
        overflow: scroll;
        margin: 0px 10px;
    }
}

