/***** CALENDAR *****/
.hb-calendar, .hb-calendar * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hb-calendar {
    margin-bottom: 20px;
    background: -webkit-linear-gradient(#005975, #003752);
    background: linear-gradient(#005975, #003752);
    border-radius: 5px;
}

    .hb-calendar a {
        color: inherit;
        text-decoration: none;
        -moz-transition: .2s;
        -o-transition: .2s;
        -webkit-transition: .2s;
        transition: .2s;
    }


/***** MONTHS *****/
.hb-months {
    position: relative;
    text-align: center;
    text-transform: uppercase;
    padding: 5px;
}

    .hb-months a {
        color: #fff;
    }

    .hb-months:after {
        content: "";
        display: table;
        clear: both;
    }

.hb-current-month>span {
    display: block;
    margin-top: 10px;
    line-height: 20px;
    font-size: 18px;
    font-weight: 700;
}

.hb-change-month {
    position: absolute;
    display: inline-block;
    bottom: 0;
}

    .hb-change-month span {
        font-size: 18px;
        font-weight: 400;
    }

.fa-calendar-o, .icon-calendar {
    margin-right: 5px;
}

.hb-prev-month:before {
    content: '< ';
}

.hb-next-month:after {
    content: ' >';
}

.hb-prev-month {
    left: 10px;
}

.hb-next-month {
    right: 10px;
}


/***** DAYS *****/
.hb-days {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 5px 10px 10px;
    border-radius: 5px;
}



    .hb-days:after {
        content: "";
        display: table;
        clear: both;
    }

.hb-day {
    float: left;
    display: inline-block;
    width: calc(100%/7);
    height: 26px;
    font-weight: 700;
    line-height: 26px;
    background-color: #ccc;
    color: #888;
    text-align: center;
    font-size: 14px;
    transition: .2s;
}

.hb-notactive {
    background-color: transparent;
}


@media screen and (min-width:992px) {
    .hb-day-31 {
        width: calc(100%/31);
    }

    .hb-day-30 {
        width: calc(100%/30);
    }

    .hb-day-29 {
        width: calc(100%/29);
    }

    .hb-day-28 {
        width: calc(100%/28);
    }

    .hb-notactive {
        display: none;
    }

    .hb-day-name {
        display: none;
    }
}

.hb-day.hb-day-name {
    color: #fff;
    background-color: transparent;
    font-weight: 400;
    font-size: 14px;
}

.hb-day.hb-day-active {
    background-color: #fff;
    color: rgb(0,89,117) !important;
    cursor: pointer;
}

    .hb-day.hb-day-active:hover {
        /*background-color: #8a8a8a; */
    }

.hb-day.hb-day-old {
    color: #ccc;
}


.hb-day.hb-day-selected, .hb-day.hb-day-selected:hover {
    background-color: #aaa;
    cursor: default;
}

/* LOADER */

.hb-error {
    padding: 10px 15px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 3px;
    color: #b84442;
}

@media screen and (max-width:767px) {
    .hb-months {
        height: 50px;
    }
}
