.wrapper {
    max-width: 940px;
    margin: 0 auto;
    padding: 10px;
}

.eCDetails {
    position: relative;
    height: 35px;
    color: #664b8c;
}

.eCDetails h2 {
    font-size: 21px;
    font-weight: 400;
    width: 100%;
    text-align: center;
    position: absolute;
    margin: 0;
}

.eCDetails span {
    text-align: right;
    position: absolute;
    right: 0;
    top: 5px;
    cursor: pointer;
    font-size: 16px;
}

.eCDetails span:after {
    content: ' \2192';
}

.eventsСalendar {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    position: relative;
}

.eCalShadow {
    text-align: center;
    height: 20px;
    background: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0, rgba(255, 255, 255, 0)), color-stop(60%, #fff), color-stop(100%, #fff));
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, #fff 60%, #fff 100%);
    background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, #fff 60%, #fff 100%);
    background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, #fff 60%, #fff 100%);
    background: linear-gradient(rgba(255, 255, 255, 0) 0, #fff 60%, #fff 100%);
    z-index: 2;
    margin: -30px 0 0 0;
    position: relative;
    padding: 30px 0 0 0;
    color: #003862;
    cursor: pointer;
    display: none;
    line-height: 1;
}

.eCalShadow:after {
    content: ' \002B';
}

.eventsСalendar td {
    padding: 0;
}

.eventsСalendar th {
    background-color: #664b8c;
    color: #fff;
    letter-spacing: 1px;
    font-size: 11px;
    text-align: center;
    text-transform: uppercase;
    width: 14.28%;
    font-weight: bold;
    white-space: nowrap;
    padding: 7px;
    line-height: normal;
}

.eventsСalendar tr {
    background-color: #fff;
}

.eventsСalendar td {
    border: 1px solid #d2d2d2;
    border-top: 0;
    box-sizing: border-box;
    color: #003862;
    font-size: 11px;
    vertical-align: top;
    width: 14.28%;
}

td.lastDays {
    color: #d3d3d3 !important;
}

td.lastDays div.events-daynum, td.nextMonth div.events-daynum {
    background-color: #b5b5b5;
}

div.events-daynum {
    background-color: #e5761f;
    color: #fff;
    line-height: 1.2;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 7px 9px 4px;
}

.eventsСalendar ul {
    margin: 0;
    padding: 2px;
    list-style: none;
    text-align: center;
    font-size: 0;
    line-height: 0;
}

.eventsСalendar li {
    width: 35px;
    display: inline-block;
    text-align: center;
    padding: 7px 0;
    background-color: #f5f5f5;
    cursor: pointer;
    font-size: 11px;
    margin: 0;
    line-height: 1;
}

.eventsСalendar li:hover {
    background-color: #9dea8c;
    color: #fff;
}

li.chose {
    background-color: #9dea8c;
    color: #fff;
}

.lastDays li {
    cursor: not-allowed;
}

.lastDays li:hover {
    background-color: #f5f5f5;
    color: #d3d3d3;
}

li.notAvailable {
    background-color: #ea8b89 !important;
    cursor: not-allowed;
    color: #fff;
}

.lastDays li.notAvailable {
    color: #d3d3d3;
}

@media screen and (max-width: 630px) {
    .eCDetails h2 {
        position: relative;
        line-height: 1;
    }
    .eCDetails span {
        position: relative;
        top: 0;
    }
    .eCDetails {
        height: 55px;
        text-align: center;
    }
}