.calendar {
    display: flex;
    flex-flow: column;
    border: 1px solid #2C4E3F;
}

.calendar .header {
    display: grid;
    width: 85%;
    margin: 0 auto;
    padding: 10px 0 30px;
    grid-template-columns: 40px auto 40px;
}

.calendar .header .arrow-control {
    cursor: pointer;
}

.calendar .header .arrow-control img {
    width: 100%;
    margin-top: 15px;
}

.calendar .header .month-year {
    font-size: 20px;
    font-weight: bold;
    color: #636e73;
    padding: 0 0;
    text-align: center;
    text-transform: uppercase;
    font-family: 'tuppence-regular';
}
.calendar .days {
    display: flex;
    flex-flow: wrap;
}
.calendar .days .day_name {
    width: calc((100% - 6px) / 7);
    padding: 0px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    height: 30px;
    color: #333333;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e6e9ea;
    border-right: 1px solid transparent;
}
.calendar .days .day_name:nth-child(7) {
    border-right: none;
}
.calendar .days .day_num {
    display: flex;
    flex-flow: column;
    width: calc((100% - 6px) / 7);
    /*border-right: 1px solid #e6e9ea;
    border-bottom: 1px solid #e6e9ea;*/
    border-bottom: 1px solid #e6e9ea;
    border-right: 1px solid #e6e9ea;
    padding: 0px;
    height: 50px;
    font-weight: bold;
    color: #7c878d;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.calendar .days .day_num span {
    display: inline-flex;
    font-size: 16px;
    text-align: center;
    color: #2C4E3F;
    font-weight: 300;
}

.calendar .days .day_num  .events-holder {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 5px;
}

.calendar .days .day_num .event {
   /* margin-top: 10px;
    font-weight: 500;
    font-size: 14px;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #f7c30d;
    color: #fff;
    word-wrap: break-word;*/
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.calendar .days .day_num .event.green {
    background-color: #7BA080;
}
.calendar .days .day_num .event.yellow {
    background-color: #F2AC4A;
}
.calendar .days .day_num .event.blue {
    background-color: #518fce;
}
.calendar .days .day_num .event.red {
    background-color: #ce5151;
}
.calendar .days .day_num:nth-child(7n+1) {
    /*border-left: 1px solid #e6e9ea;*/
   /* background: red;*/
}

.calendar .days .day_num:nth-child(7n) {
    border-right: 0;
    border-right: 0;
}

.calendar .days .day_num:last-child {
    border-right: 0;
}
.calendar .days .day_num:hover {
    background-color: #fdfdfd;
}
.calendar .days .day_num.ignore {
    background-color: #ffffff;
    color: #BDBDBD;
    cursor: inherit;
    font-weight: 300;
}

.calendar .days .day_num.selected {
    background-color: #F3D688;
    cursor: inherit;
    color: #2C4E3F;
}

.calendar .days .day_num.checked {
    background-color: #9CBCBB;
    cursor: inherit;
    color: #2C4E3F;
}


@media only screen and (max-width: 1100px) {

    .calendar-holder:not(.active) {
        display: none;
    } 
        


}