/* ***************************************** */
#cnt-calendar {
    /*margin: 30px 0;*/
    min-height: 24.5rem;
    border-bottom: 1px solid #bbb;
    margin-bottom: 2rem;
}

/*#cnt-calendar .title {*/
/*    !*color: #c51c3e;*!*/
/*    !*font-size: 18px;*!*/
/*    !*border-bottom: 1px solid #c51c3e;*!*/
/*    !*font-size: 20px;*!*/
/*    font-size: 1.25rem;*/
/*    color: #000;*/
/*    margin-bottom: 10px;*/
/*}*/

#calendar-box:after {
    content: "";
    display: table;
    clear: both;
}

#calendar,
.calendar-event-list {
    overflow: hidden;
    /*float: left;*/
    /*width: 50%;*/
}

#calendar {
    width: 100%;
    max-width: 590px;
    padding: 1.25rem;
    /*background: #f7f7f7;*/
    border-radius: 10px;
    cursor: default;
}

#calendar-body {
    width: 100%;
    margin: 0 auto;
}

#calendar .month {
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #bbb;
    margin-bottom: 1.25rem;
}

#calendar .month-change {
    float: left;
    /*width: 14.2857142857%;*/
    width: 13%;
    /*height: 34px;*/
    /*height: 1.1333333333rem;*/
    text-align: center;
    color: #696969;
    vertical-align: middle;
    /*line-height: 23px;*/
    /*line-height: 0.7666666667rem;*/
    /*font-size: 30px;*/
    /*font-size: 1.875rem;*/
    margin-left: 1.5%;
    border: 2px solid #696969;
    border-radius: 4px;

    height: 2.125rem;
    font-size: 1.875rem;
    line-height: 0.8;
}

#calendar .month-change:hover,
#calendar .month-change:focus {
    background: #696969;
    color: #fff;
}

#calendar .month-change a {
    display: block;
    width: 100%;
    height: 100%;
    color: #696969;
    text-decoration: none;
}

#calendar .month-change a:hover,
#calendar .month-change a:focus,
#calendar .month-change a:active {
    text-decoration: none;
    color: #fff;
}

#calendar #month-title {
    text-align: left;
    /*font-size: 20px;*/
    font-size: 1.25rem;
    float: left;
    width: 71%;
    color: #000;
    /*line-height: 34px;*/
    line-height: 2.125rem;
    vertical-align: middle;
    /*width: 71.4285714285%;*/
}

#calendar .week-row {
    width: 100%;
    margin-bottom: 0.3125rem;
}

#calendar .month:after,
#calendar .week-row:after {
    content: "";
    display: table;
    clear: both;
}

#calendar .week-row a {
    text-decoration: none;
}

#calendar .week-row .day {
    float: left;
    /*width: 14.2857142857%;*/
    /*width: 34px;*/
    width: 13%;
    /*height: 34px;*/
    height: 2.125rem;
    /*font-size: 16px;*/
    font-size: 1rem;
    /*line-height: 30px;*/
    line-height: 1.875;
    text-align: center;
    color: #000;
    margin-left: 1.5%;
    border: 2px solid #f7f7f7;
    border-radius: 4px;
    position: relative;
}

#calendar .week-row .day:first-child {
    margin-left: 0;
}

#calendar .week-row.days-header .day {
    background: #e3e3e3;
    border-color: #e3e3e3;
    font-weight: bold;
}

/*#calendar .week-row .day.sunday,*/
#calendar .week-row .day.holiday {
    color: #df444f;
}

#calendar .week-row .day:not(.empty):hover,
#calendar .week-row .day:not(.empty):focus {
    border-color: #e3e3e3;
}

#calendar .week-row .day.event {
    /*background: #00395d !important;*/
    /*color: #fff;*/
    /*border-radius: 50%;*/
    text-decoration: none;
}

#calendar .week-row .day.event a {
    position: relative;
    color: #000;
    display: block;
    width: 100%;
    height: 100%;
}

#calendar .week-row .day.event a .events-count-info {
    display: none;
    position: absolute;
    top: -30px;
    left: 0;
    padding: 3px;
    width: 100%;
    height: 30px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #fff;
    background: #333;
    z-index: 100;
}

#calendar .week-row .day.event a:hover .events-count-info,
#calendar .week-row .day.event a:focus .events-count-info {
    /*display: block;*/
}

#calendar .week-row .day.event:hover,
#calendar .week-row .day.event:focus {
    color: #fff;
    background: #df444f;
    border-color: #df444f;
}

#calendar .week-row .day.event:hover a,
#calendar .week-row .day.event:focus a {
    color: #fff;
}

#calendar .week-row .day .bottom-border {
    display: none;
}

#calendar .week-row .day.event .bottom-border {
    display: block;
    width: 42%;
    height: 3px;
    background: #df444f;
    position: absolute;
    bottom: 1px;
    left: 50%;
    margin-left: -21%;
}

#calendar .week-row .day.event:hover .bottom-border,
#calendar .week-row .day.event:focus .bottom-border {
    background: #fff;
}

#calendar .week-row .day.today {
    /*background: #808080;*/
    border-color: #000;
}

#calendar .week-row .day.selected {
    /*background: #eee;*/
    border-color: #df444f;
}