.cal-btns {
    width: 100%;
    display: inline-block;
    margin: 0 0 25px 0;
    position: relative;
    padding: 0 65px;
}

.cal-btns li {
    height: 60px;
    border: 1px solid #babfc7;
    text-align: center;
    font-size: 18px;
    line-height: 58px;
    color: #2a2b2c;
    font-weight: 500;
    white-space: nowrap;
}

.cal-btns li:first-of-type, .cal-btns li:last-of-type {
    position: absolute;
    top: 0;
    width: 60px;
    left: 0;
    color: #2baa12;
    font-size: 48px;
}

.cal-btns li:last-of-type {
    left: auto;
    right: 0;
}

.cal-btns li button {
    border: none;
    padding: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none !important;
}

[class*="cal-cell"] {
    float: left;
    margin-left: 0;
    min-height: 1px;
}

.cal-row-fluid:before,
.cal-row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
}

.cal-row-fluid:after {
    clear: both;
}

.cal-row-fluid [class*="cal-cell"] {
    width: 100%;
}

.cal-row-fluid .cal-cell7 {
    width: 100%;
}

.cal-row-fluid .cal-cell6 {
    width: 85.71428571428571%;
}

.cal-row-fluid .cal-cell5 {
    width: 71.42857142857142%;
}

.cal-row-fluid .cal-cell4 {
    width: 57.14285714285714%;
}

.cal-row-fluid .cal-cell3 {
    width: 42.857142857142854%;
}

.cal-row-fluid .cal-cell2 {
    width: 28.57142857142857%;
}

.cal-week-box .cal-offset7,
.cal-row-fluid .cal-offset7,
.cal-row-fluid .cal-offset7:first-child {
    margin-left: 100%;
}

.cal-week-box .cal-offset6,
.cal-row-fluid .cal-offset6,
.cal-row-fluid .cal-offset6:first-child {
    margin-left: 85.71428571428571%;
}

.cal-week-box .cal-offset5,
.cal-row-fluid .cal-offset5,
.cal-row-fluid .cal-offset5:first-child {
    margin-left: 71.42857142857142%;
}

.cal-week-box .cal-offset4,
.cal-row-fluid .cal-offset4,
.cal-row-fluid .cal-offset4:first-child {
    margin-left: 57.14285714285714%;
}

.cal-week-box .cal-offset3,
.cal-row-fluid .cal-offset3,
.cal-row-fluid .cal-offset3:first-child {
    margin-left: 42.857142857142854%;
}

.cal-week-box .cal-offset2,
.cal-row-fluid .cal-offset2,
.cal-row-fluid .cal-offset2:first-child {
    margin-left: 28.57142857142857%;
}

.cal-week-box .cal-offset1,
.cal-row-fluid .cal-offset1,
.cal-row-fluid .cal-offset1:first-child {
    margin-left: 14.285714285714285%;
}

.cal-row-fluid .cal-cell1 {
    width: 14.285714285714285%;
}

[class*="cal-cell"].hide,
.cal-row-fluid [class*="cal-cell"].hide {
    display: none;
}

[class*="cal-cell"].pull-right,
.cal-row-fluid [class*="cal-cell"].pull-right {
    float: right;
}

.cal-row-head [class*="cal-cell"] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-row-head [class*="cal-cell"] {
    text-align: center;
    font-weight: 500;
}

.cal-row-head [class*="cal-cell"] small {
    font-weight: normal;
}

.cal-row-head .cal-cell1 > div {
    background: #7f8691;
    padding: 5px 0 6px 0;
    color: #ffffff;
    font-size: 16px;
}

.cal-month-day {
    position: relative;
    height: 150px;
    background: #f1f3f6;
    transition: 0.3s;
    border-right: 1px solid #babfc7;
    border-bottom: 1px solid #babfc7;
}

.cal-cell1:first-of-type .cal-month-day {
    border-left: 1px solid #babfc7;
}

.events-list a.event {
    display: none;
}

.cal-day-outmonth {
    opacity: 0.3;
}

.cal-month-day-event {
    cursor: pointer;
}

.cal-month-day-event:hover, .cal-month-day-event.active {
    background: #fff;
    box-shadow: 1px 0 15px 1px rgba(131,149,176,0.65);
    z-index: 2;
}

span[data-cal-date] {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 0 25px;
    color: #3a4047;
    pointer-events: none;
    float: left !important;
}

.cal-day-today {
    background: #bcc1c9;
    box-shadow: inset 0 1px 13px 0 rgba(61,68,75,0.4);
}

#cal-day-tick {
    display: none !important;
}

#calendar {
    position: relative;
}

#cal-slide-box {
    position: absolute;
    margin: 20px 0 0 20px;
    z-index: 3;
    max-width: 380px;
    background: #fff;
    border-radius: 4px;
    padding: 0 25px 25px 25px;
    box-shadow: 0 1px 18px 0 #9fb7be;
}

#cal-slide-box:before{
    position: absolute;
    content: '';
    width: 20px;
    height: 28px;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid #fff;
    left: -20px;
    top: 20px;
    z-index: 4;
}

.events-list {
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
}

.cal-time {
    background: url(../images/webinar-icon-clock.png) no-repeat left center;
    padding: 0 0 0 16px;
    font-size: 14px;
    color: #858585;
    margin: 0 0 5px 70px !important;
    background-size: 14px;
    position: relative;
    line-height: 22px;
}

.bronze + .cal-time:before, .silver + .cal-time:before, .gold + .cal-time:before, .vip + .cal-time:before, .base + .cal-time:before, .platinum + .cal-time:before {
    position: absolute;
    left: -70px;
    top: 0;
    height: 22px;
    width: 65px;
    background: #7f8691;
    color: #fff;
    line-height: 22px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.base + .cal-time:before {
    background: #1ba101;
}

.vip + .cal-time:before {
    background: #f20e0e;
}

.platinum + .cal-time:before {
    background: orange;
}

.cal-month-day .bronze + .cal-time:before, #cal-slide-content .label span.bronze:before {
    content: 'Bronze';
}

.cal-month-day .silver + .cal-time:before, #cal-slide-content .label span.silver:before {
    content: 'Silver';
}

.cal-month-day .gold + .cal-time:before, #cal-slide-content .label span.gold:before {
    content: 'Gold';
}

.cal-month-day .platinum + .cal-time:before, #cal-slide-content .label span.platinum:before {
    content: 'Platinum';
}

.cal-month-day .base + .cal-time:before, #cal-slide-content .label span.base:before {
    content: 'Open';
}

.cal-month-day .vip + .cal-time:before, #cal-slide-content .label span.vip:before {
    content: 'Vip';
}

#cal-slide-content a.event-item[data-event-class*="vip"],
#cal-slide-content a.event-item[data-event-class*="gold"],
#cal-slide-content a.event-item[data-event-class*="silver"],
#cal-slide-content a.event-item[data-event-class*="bronze"],
#cal-slide-content a.event-item[data-event-class*="base"] {
    pointer-events: none;
}

.vip #cal-slide-content a.event-item[data-event-class*="vip"],
.vip #cal-slide-content a.event-item[data-event-class*="gold"],
.vip #cal-slide-content a.event-item[data-event-class*="silver"],
.vip #cal-slide-content a.event-item[data-event-class*="bronze"],
.vip #cal-slide-content a.event-item[data-event-class*="base"],
.gold #cal-slide-content a.event-item[data-event-class*="gold"],
.gold #cal-slide-content a.event-item[data-event-class*="silver"],
.gold #cal-slide-content a.event-item[data-event-class*="bronze"],
.gold #cal-slide-content a.event-item[data-event-class*="base"],
.silver #cal-slide-content a.event-item[data-event-class*="silver"],
.silver #cal-slide-content a.event-item[data-event-class*="bronze"],
.silver #cal-slide-content a.event-item[data-event-class*="base"],
.bronze #cal-slide-content a.event-item[data-event-class*="bronze"],
.bronze #cal-slide-content a.event-item[data-event-class*="base"],
.base #cal-slide-content a.event-item[data-event-class*="base"] {
    pointer-events: all;
}

.vip #cal-slide-content a.event-item[href="javascript:void(0)"],
.gold #cal-slide-content a.event-item[href="javascript:void(0)"],
.silver #cal-slide-content a.event-item[href="javascript:void(0)"],
.bronze #cal-slide-content a.event-item[href="javascript:void(0)"],
#cal-slide-content a.event-item[href="javascript:void(0)"] {
    pointer-events: none;
}

#cal-slide-content {
    font-size: 16px;
    line-height: 20px;
}

#cal-slide-content ul {
    margin: 0;
}

#cal-slide-content time{
    width: 100%;
    padding: 20px 0 0 0;
    color: #3e4248;
    margin: 25px 0 0 0;
    display: inline-block;
    background: url("../images/webinar-icon-clock-2.png") no-repeat left top;
    font-weight: 600;
}

#cal-slide-content .event-item {
    text-decoration: none !important;
    color: #3e4248 !important;
    transition: 0.3s;
}

#cal-slide-content .event-item:hover {
    color: #1ba101 !important;
}

#cal-slide-content .label {
    color: #52595f;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    margin: 10px 0 0 0;
    display: inline-block;
    padding: 0;
    width: 100%;
    text-align: left;
    white-space: normal;
}

#cal-slide-content .label span {
    background: #a7bcc3;
    color: #fff;
    margin: 0 10px 0 0;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 5px;
    display: none;
}

#cal-slide-content .label span.base, #cal-slide-content .label span.bronze, #cal-slide-content .label span.silver, #cal-slide-content .label span.gold, #cal-slide-content .label span.vip, #cal-slide-content .label span.platinum {
    display: inline-block;
}

#cal-slide-content .label span.base {
    background: #1ba101;
}

#cal-slide-content .label span.vip {
    background: #f20e0e;
}

#cal-slide-content .label span.platinum{
    background: orange;
}

/*response*/

@media (max-width: 1200px) {
    #cal-slide-box {
        max-width: 280px;
    }
}

@media (max-width: 992px) {

    .cal-row-head .cal-cell1 > div {
        color: transparent;
        position: relative;
    }

    .cal-row-head .cal-cell1 > div:after {
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        top: 5px;
        color: #fff;
        content: '';
    }

    /*---ru--*/
    .ru-lang .cal-row-head div:nth-child(1) > div:after {
        content: 'Пн';
    }

    .ru-lang .cal-row-head div:nth-child(2) > div:after {
        content: 'Вт';
    }

    .ru-lang .cal-row-head div:nth-child(3) > div:after {
        content: 'Ср';
    }

    .ru-lang .cal-row-head div:nth-child(4) > div:after {
        content: 'Чт';
    }

    .ru-lang .cal-row-head div:nth-child(5) > div:after {
        content: 'Пт';
    }

    .ru-lang .cal-row-head div:nth-child(6) > div:after {
        content: 'Сб';
    }

    .ru-lang .cal-row-head div:nth-child(7) > div:after {
        content: 'Вс';
    }

    /*---pl---*/
    .pl-lang .cal-row-head div:nth-child(1) > div:after {
        content: 'Mon';
    }

    .pl-lang .cal-row-head div:nth-child(2) > div:after {
        content: 'Tue';
    }

    .pl-lang .cal-row-head div:nth-child(3) > div:after {
        content: 'Wed';
    }

    .pl-lang .cal-row-head div:nth-child(4) > div:after {
        content: 'Thu';
    }

    .pl-lang .cal-row-head div:nth-child(5) > div:after {
        content: 'Fri';
    }

    .pl-lang .cal-row-head div:nth-child(6) > div:after {
        content: 'Sat';
    }

    .pl-lang .cal-row-head div:nth-child(7) > div:after {
        content: 'Sun';
    }

    /*---en,ar---*/
    .en-lang .cal-row-head div:nth-child(1) > div:after, .ar-lang .cal-row-head div:nth-child(1) > div:after {
        content: 'Sun';
    }

    .en-lang .cal-row-head div:nth-child(2) > div:after, .ar-lang .cal-row-head div:nth-child(2) > div:after {
        content: 'Mon';
    }

    .en-lang .cal-row-head div:nth-child(3) > div:after, .ar-lang .cal-row-head div:nth-child(3) > div:after {
        content: 'Tue';
    }

    .en-lang .cal-row-head div:nth-child(4) > div:after, .ar-lang .cal-row-head div:nth-child(4) > div:after {
        content: 'Wed';
    }

    .en-lang .cal-row-head div:nth-child(5) > div:after, .ar-lang .cal-row-head div:nth-child(5) > div:after {
        content: 'Thu';
    }

    .en-lang .cal-row-head div:nth-child(6) > div:after, .ar-lang .cal-row-head div:nth-child(6) > div:after {
        content: 'Fri';
    }

    .en-lang .cal-row-head div:nth-child(7) > div:after, .ar-lang .cal-row-head div:nth-child(7) > div:after {
        content: 'Sat';
    }

    /*---esp---*/
    .es-lang .cal-row-head div:nth-child(1) > div:after {
        content: 'Lun';
    }

    .es-lang .cal-row-head div:nth-child(2) > div:after {
        content: 'Mar';
    }

    .es-lang .cal-row-head div:nth-child(3) > div:after {
        content: 'Mie';
    }

    .es-lang .cal-row-head div:nth-child(4) > div:after {
        content: 'Jue';
    }

    .es-lang .cal-row-head div:nth-child(5) > div:after {
        content: 'Vie';
    }

    .es-lang .cal-row-head div:nth-child(6) > div:after {
        content: 'Sab';
    }

    .es-lang .cal-row-head div:nth-child(7) > div:after {
        content: 'Dom';
    }

    /*---ita---*/
    .it-lang .cal-row-head div:nth-child(1) > div:after {
        content: 'Lun';
    }

    .it-lang .cal-row-head div:nth-child(2) > div:after {
        content: 'Mar';
    }

    .it-lang .cal-row-head div:nth-child(3) > div:after {
        content: 'Mer';
    }

    .it-lang .cal-row-head div:nth-child(4) > div:after {
        content: 'Gio';
    }

    .it-lang .cal-row-head div:nth-child(5) > div:after {
        content: 'Ven';
    }

    .it-lang .cal-row-head div:nth-child(6) > div:after {
        content: 'Sab';
    }

    .it-lang .cal-row-head div:nth-child(7) > div:after {
        content: 'Dom';
    }

    /*---fra---*/
    .fr-lang .cal-row-head div:nth-child(1) > div:after {
        content: 'Lun';
    }

    .fr-lang .cal-row-head div:nth-child(2) > div:after {
        content: 'Mar';
    }

    .fr-lang .cal-row-head div:nth-child(3) > div:after {
        content: 'Mer';
    }

    .fr-lang .cal-row-head div:nth-child(4) > div:after {
        content: 'Jeu';
    }

    .fr-lang .cal-row-head div:nth-child(5) > div:after {
        content: 'Ven';
    }

    .fr-lang .cal-row-head div:nth-child(6) > div:after {
        content: 'Sam';
    }

    .fr-lang .cal-row-head div:nth-child(7) > div:after {
        content: 'Dim';
    }

    /*---deu---*/
    .de-lang .cal-row-head div:nth-child(1) > div:after {
        content: 'Mon';
    }

    .de-lang .cal-row-head div:nth-child(2) > div:after {
        content: 'Die';
    }

    .de-lang .cal-row-head div:nth-child(3) > div:after {
        content: 'Mit';
    }

    .de-lang .cal-row-head div:nth-child(4) > div:after {
        content: 'Don';
    }

    .de-lang .cal-row-head div:nth-child(5) > div:after {
        content: 'Fre';
    }

    .de-lang .cal-row-head div:nth-child(6) > div:after {
        content: 'Sam';
    }

    .de-lang .cal-row-head div:nth-child(7) > div:after {
        content: 'Son';
    }

    .cal-time {
        padding: 0 0 0 15px;
        font-size: 12px;
        margin: 0 0 5px 45px !important;
        background-size: 12px !important;
        line-height: 18px;
    }

    .bronze + .cal-time:before, .silver + .cal-time:before, .gold + .cal-time:before, .vip + .cal-time:before, .base + .cal-time:before, .platinum + .cal-time:before {
        left: -45px;
        height: 18px;
        width: 40px;
        line-height: 18px;
        font-size: 10px;
    }

    .cal-month-day {
        height: 110px;
    }

    #cal-slide-box {
        position: relative;
        margin: 0;
        z-index: 1;
        max-width: none;
        background: transparent;
        border-radius: 0;
        padding: 20px 0;
        box-shadow: none;
        left: auto !important;
        top: auto !important;
        border-bottom: 1px solid #babfc7;
    }

    #cal-slide-box:before{
        display: none;
    }

    #cal-slide-content {
        background: #fff;
        border-radius: 4px;
        padding: 0 25px 25px 25px;
        box-shadow: 0 1px 18px 0 #9fb7be;
    }

    .cal-month-day-event:before {
        position: absolute;
        content: '';
        width: 28px;
        height: 20px;
        border-top: 10px solid transparent;
        border-bottom: 10px solid #fff;
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        left: 50%;
        bottom: -21px;
        z-index: 4;
        margin: 0 0 0 -14px;
        opacity: 0;
        transition: 0.5s;
        pointer-events: none;
    }

    .cal-month-day-event.active:before {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cal-time {
        padding: 8px 0 0 0;
        font-size: 12px;
        margin: 0 0 3px 5px !important;
        line-height: 18px;
        background: transparent;
    }

    .bronze + .cal-time:before, .silver + .cal-time:before, .gold + .cal-time:before, .vip + .cal-time:before, .base + .cal-time:before, .platinum + .cal-time:before {
        left: 0;
        height: auto;
        width: auto;
        line-height: 14px;
        font-size: 10px;
        background: transparent;
        color: #7f8691;
    }

    .base + .cal-time:before {
        color: #1ba101;
    }

    .vip + .cal-time:before {
        color: #f20e0e;
    }
    .platinum + .cal-time:before{
        color: orange;
    }

    .cal-month-day {
        height: 115px;
    }

    span[data-cal-date] {
        font-size: 14px;
        margin: 5px 0 0 10px;
    }

    .cal-btns li {
        height: 42px;
        font-size: 16px;
        line-height: 40px;
    }

    .cal-btns li:first-of-type, .cal-btns li:last-of-type {
        width: 42px;
        font-size: 32px;
    }

    .cal-btns {
        margin: 0 0 15px 0;
        padding: 0 45px;
    }
}

@media (max-width: 480px) {
    .ve-calendar .alert-white {
        padding: 5px;
        margin: 0;
    }

    .cal-row-head .cal-cell1 > div {
        font-size: 14px;
    }

    .bronze + .cal-time:before, .silver + .cal-time:before, .gold + .cal-time:before, .vip + .cal-time:before, .base + .cal-time:before {
        font-size: 9px;
    }
    .platinum + .cal-time:before{
        font-size: 7px;
    }

    .cal-time {
        margin: 0 0 3px 3px !important;
    }

    .cal-month-day-event:before {
        bottom: -15px;
    }

    #cal-slide-box {
        padding: 10px 0;
    }

    #cal-slide-content time {
        padding: 15px 0 0 0;
        margin: 15px 0 0 0;
    }

    #cal-slide-content .label {
        margin: 5px 0 0 0;
    }

    #cal-slide-content {
        padding: 0 15px 15px 15px;
        font-size: 14px;
        line-height: 18px;
    }

    #cal-slide-content .label span {
        padding: 0 3px;
        font-size: 12px;
    }
}