.calendar .calendar-header .calendar-title {
    float: left;
    color: #666;
    font-size: 38px;
    font-weight: 300;
    line-height: 1em;
    letter-spacing: -.05em
}

.calendar .calendar-header .calendar-title .calendar-month,
.calendar .calendar-header .calendar-title .calendar-year {
    position: relative;
    display: inline-block;
    padding-right: 25px;
    font-size: 48px;
    font-weight: 600
}

.calendar .calendar-header .calendar-title .calendar-month .btn-nav,
.calendar .calendar-header .calendar-title .calendar-year .btn-nav {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 19px;
    height: 19px;
    color: #008da8;
    font-size: 18px;
    line-height: 19px;
    text-align: center;
    background: 0 0
}

.calendar .calendar-header .calendar-title .calendar-month .btn-nav.btn-prev,
.calendar .calendar-header .calendar-title .calendar-year .btn-nav.btn-prev {
    top: auto;
    bottom: 0
}

.calendar .calendar-header .calendar-title .calendar-month .btn-nav:hover,
.calendar .calendar-header .calendar-title .calendar-year .btn-nav:hover {
    color: #59a541
}

.calendar .calendar-header .calendar-search {
    float: right
}

.calendar .calendar-header .calendar-search .form-search .form-control {
    display: inline-block;
    width: 260px;
    margin-right: 5px
}

.calendar .calendar-header .calendar-search .form-search .btn-search {
    color: #000;
    background: #fff
}

.calendar .calendar-header .calendar-search .form-search .btn-search:focus {
    outline: 0
}

.calendar .calendar-header .calendar-captions {
    float: right;
    margin: 0 10px
}

.calendar .calendar-header .calendar-captions .captions {
    position: relative;
    display: inline-block;
    margin: 15px 0 0;
    padding: 0;
    color: #666;
    font-size: 11px;
    list-style: none
}

.calendar .calendar-header .calendar-captions .captions:before {
    position: absolute;
    top: -15px;
    left: 5px;
    font-size: 11px;
    content: "Legenda:"
}

.calendar .calendar-header .calendar-captions .captions .caption {
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle
}

.calendar .calendar-header .calendar-captions .captions .caption-today .fa {
    color: #59a541;
    background: #59a541
}

.calendar .calendar-header .calendar-captions .captions .caption-holiday .fa {
    color: #4b4a4b;
    background: #4b4a4b
}

.calendar .calendar-header .calendar-captions .captions .caption-search-result .fa {
    color: #d29743;
    background: #d29743
}

@media(max-width:1200px) {
    .calendar .calendar-header .calendar-title {
        display: block;
        float: none;
        text-align: center
    }

    .calendar .calendar-header .calendar-captions,
    .calendar .calendar-header .calendar-search {
        display: block;
        float: none;
        margin-top: 12px;
        text-align: center
    }

    .calendar .calendar-header .calendar-title .calendar-month,
    .calendar .calendar-header .calendar-title .calendar-year {
        display: block;
        padding: 0;
        vertical-align: middle
    }

    .calendar .calendar-header .calendar-title .calendar-month .btn-nav,
    .calendar .calendar-header .calendar-title .calendar-year .btn-nav {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: inline-block;
        width: 40px;
        height: 40px;
        margin: 0 10px;
        font-size: 40px;
        line-height: 40px;
        vertical-align: middle
    }

    .calendar .calendar-header .calendar-title .calendar-month .btn-nav.btn-prev,
    .calendar .calendar-header .calendar-title .calendar-year .btn-nav.btn-prev {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto
    }

    .calendar .calendar-header .calendar-title .calendar-month .btn-nav .fa:before,
    .calendar .calendar-header .calendar-title .calendar-year .btn-nav .fa:before {
        content: "\f054"
    }

    .calendar .calendar-header .calendar-title .calendar-month .btn-nav.btn-prev .fa:before,
    .calendar .calendar-header .calendar-title .calendar-year .btn-nav.btn-prev .fa:before {
        content: "\f053"
    }
}

@media(max-width:420px) {
    .calendar .calendar-header .calendar-search .form-search .form-control {
        width: 195px
    }
}

.calendar .calendar-content {
    margin-bottom: 20px
}

.calendar .calendar-content .calendar-table {
    width: 100%
}

.calendar .calendar-content .calendar-table thead tr th {
    width: 14.2857143%;
    height: 40px;
    color: #000;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    border-bottom: 2px solid #ddd
}

.calendar .calendar-content .calendar-table tbody tr td {
    padding: 10px;
    vertical-align: top
}

.calendar .calendar-content .calendar-table .calendar-day {
    color: #000;
    cursor: default;
    background: #fff;
    border: 2px solid #000
}

.calendar .calendar-content .calendar-table .calendar-day .day-label {
    display: block
}

.calendar .calendar-content .calendar-table .calendar-day .day-label .day-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1em
}

.calendar .calendar-content .calendar-table .calendar-day .day-description,
.calendar .calendar-content .calendar-table .calendar-day .day-label .day-week {
    display: none
}

.calendar .calendar-content .calendar-table .calendar-day .day-dates {
    margin: 0;
    padding: 0;
    font-size: 12px;
    list-style: none
}

.calendar .calendar-content .calendar-table .calendar-day .day-dates .day-date {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid rgba(255, 255, 255, .35)
}

.calendar .calendar-content .calendar-table .calendar-day .day-dates .day-date:last-child {
    border: none
}

.calendar .calendar-content .calendar-table .calendar-day .day-dates .day-date.is-important:before {
    display: inline-block;
    margin-right: .25em;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    content: "\f005";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0)
}

.calendar .calendar-content .calendar-table .calendar-day.is-today {
    background-color: #59a541
}

.calendar .calendar-content .calendar-table .calendar-day.is-holiday {
    background-color: #ffffff
}

.calendar .calendar-content .calendar-table .calendar-day.is-search-result {
    background-color: #d29743
}

@media(max-width:991px) {

    .calendar .calendar-content .calendar-table,
    .calendar .calendar-content .calendar-table tbody,
    .calendar .calendar-content .calendar-table tbody tr,
    .calendar .calendar-content .calendar-table tbody tr td {
        display: block;
        width: 100%
    }

    .calendar .calendar-content .calendar-table tbody tr td {
        width: 100%;
        padding: 0 5px;
        border-bottom: 1px solid #d0d0d0
    }

    .calendar .calendar-content .calendar-table thead {
        display: none
    }

    .calendar .calendar-content .calendar-table .calendar-day .day-label {
        font-size: 24px;
        line-height: 1em;
        vertical-align: middle
    }

    .calendar .calendar-content .calendar-table .calendar-day .day-label .day-number {
        display: inline-block;
        width: 30px;
        margin-right: 5px;
        font-size: 24px;
        line-height: 24px;
        vertical-align: middle
    }

    .calendar .calendar-content .calendar-table .calendar-day .day-label .day-week {
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        line-height: 24px;
        vertical-align: middle
    }

    .calendar .calendar-content .calendar-table .calendar-day .day-dates {
        margin: 5px 0 5px 35px
    }

    .calendar .calendar-content .calendar-table .calendar-day.is-empty {
        display: none
    }
}

.holidays .holidays-month {
    display: block;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase
}

.holidays .holidays-list {
    display: block;
    margin: 0 0 20px;
    padding: 0;
    list-style: none
}

.holidays .holidays-list .holiday {
    display: block;
    margin: 4px 0;
    padding: 0 5px;
    color: #fff;
    background: #008da8
}

.holidays .holidays-list .holiday .holiday-date {
    display: block;
    font-size: 24px;
    line-height: 1em;
    vertical-align: middle
}

.holidays .holidays-list .holiday .holiday-date .holiday-day {
    display: inline-block;
    width: 30px;
    margin-right: 5px;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    vertical-align: middle
}

.holidays .holidays-list .holiday .holiday-date .holiday-dayoftheweek {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 24px;
    vertical-align: middle
}

.holidays .holidays-list .holiday .holiday-title {
    margin: 0;
    padding: 5px 0 5px 35px;
    font-size: 12px
}

.holidays .holidays-list .holiday .holiday-title a,
.holidays .holidays-list .holiday .holiday-title span {
    display: block;
    padding: 5px 0;
    color: #fff
}

.months-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: #eee;
    box-shadow: inset 0 -1px 5px rgba(0, 0, 0, .2);
    z-index: 11
}

.months-nav ul.months {
    position: relative;
    top: 50%;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateY(-50%)
}

.months-nav ul.months li.month {
    margin-bottom: 2px
}

.months-nav ul.months li.month a {
    position: relative;
    display: block;
    width: 50px;
    height: 40px;
    text-decoration: none;
    background: #008da8
}

.months-nav ul.months li.month a span.month-number {
    display: block;
    width: 50px;
    height: 40px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    background: #008da8
}

.months-nav ul.months li.month a span.month-name {
    position: absolute;
    top: 0;
    left: 100%;
    display: block;
    width: 0;
    height: 40px;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 40px;
    text-align: center;
    overflow: hidden;
    background: #008da8
}

.months-nav ul.months li.month a.is-active,
.months-nav ul.months li.month a.is-active span.month-name,
.months-nav ul.months li.month a.is-active span.month-number,
.months-nav ul.months li.month a:hover,
.months-nav ul.months li.month a:hover span.month-name,
.months-nav ul.months li.month a:hover span.month-number {
    background: #59a541
}

.months-nav ul.months li.not-month a,
.months-nav ul.months li.not-month a span.month-name,
.months-nav ul.months li.not-month a span.month-number,
.months-nav ul.months li.not-month a.is-active,
.months-nav ul.months li.not-month a.is-active span.month-name,
.months-nav ul.months li.not-month a.is-active span.month-number,
.months-nav ul.months li.not-month a:hover,
.months-nav ul.months li.not-month a:hover span.month-name,
.months-nav ul.months li.not-month a:hover span.month-number {
    background: #666
}
