div#calendar div.header,
div#calendar ul.label li {
    height: 40px;
    line-height: 40px;
    text-align: center;
    vertical-align: middle
}

div#calendar {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    font-family: Helvetica, "Times New Roman", Times, serif
}

div#calendar div.box {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px
}

div#calendar div.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #a0a0a0;
    border: 1px solid #e6e6e6;
    color: #fff;
}

div#calendar div.header a.next,
div#calendar div.header a.prev {
    position: absolute;
    top: 0;
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

div#calendar div.header span.title {
    color: #fff;
    font-size: 21px;
}

div#calendar div.header a.prev {
    left: 10px
}

div#calendar div.header a.next {
    right: 10px
}

div#calendar div.box-content {
    border: 1px solid rgba(0, 0, 0, .1);
    border-top: none
}

div#calendar ul.label {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #d2d2d2;
}

div#calendar ul.label li {
    margin: 0;
    padding: 0;
    float: left;
    list-style-type: none;
    width: 14.2%;
    color: #2f2e2e;
    font-size: 15px;
    background-color: transparent;
}

div#calendar ul.dates {
    float: left;
    margin: 0;
    padding: 0;
    background: #fff;
    width: 100%;
}

div#calendar ul.dates li {
    margin: 0 0 -1px -1px;
    padding: 8px 5px;
    line-height: 15px;
    vertical-align: middle;
    float: left;
    list-style-type: none;
    width: 14.4%;
    height: 140px;
    font-size: 18px;
    color: #000;
    text-align: left;
    position: relative;
    display: inline-table;
    border: 1px solid rgba(0, 0, 0, .1);
}

.ed-name,
.listedate {
    text-align: center;
    font-weight: 600
}

div#calendar ul.dates li:nth-child(7n) {
    width: 14.6%;
}

.currdateclass {
    background: #f1f1f1
}

:focus {
    outline: 0
}

div.clear {
    clear: both
}

.eventDetails {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 1;
    background: #fff;
    width: 300px;
    height: auto;
    color: #767b80;
    box-shadow: #4d576cba 0 0 5px;
    min-height: 300px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 20px
}

.edtlimg,
.edtlimg img {
    width: 100%
}

div#calendar ul.dates li:nth-child(7n - 1) .eventDetails,
div#calendar ul.dates li:nth-child(7n) .eventDetails {
    left: auto;
    right: 100%
}

.eventclass {
    font-size: 12px;
    display: block;
    padding: 0 0 0 6px;
    margin-top: 5px;
    border-left: #00b5aa 4px solid;
    cursor: pointer;
    margin-left: -5px;
}
.eventclass.event1{border-color: var(--web-color1)}
.eventclass.event2{border-color: var(--web-color2);}
.eventclass.event3{border-color: var(--web-color3)}
.eventclass.event4{border-color: var(--web-color4)}
.eventclass.event5{border-color: #8bc34a}
.eventclass.event6{border-color: #49b6e0;}

.view-more-event{position: absolute;bottom: 6px;left: 10px;font-size: .8rem;cursor: pointer;color: var(--web-color4)}

.eventDetails {
    display: none
}

.eventclass.holidayEvncolor {
    border-left-color: #dc3545!important
}

.edtlimg {
    height: 150px;
    overflow: hidden
}

.ed-name {
    padding: 15px 10px;
    font-size: 20px;
    color: #000
}

.ed-type {
    color: #fff;
    font-size: 12px;
    margin: 0 0 15px
}

.eventDetails .ed-type span {
    background-color: #00b5aa!important
}

.ed-type span,
.eventDetails.holidaycolor .ed-type span {
    background-color: #dc3545!important
}

.ed-contact,
.ed-date,
.ed-ticket,
.ed-venue {
    border-top: #ededed 1px solid;
    padding: 10px
}

.ed-type span {
    padding: 2px 5px
}

.ed-icon {
    position: relative;
    padding-left: 40px
}

.ed-icon i {
    position: absolute;
    left: 15px;
    color: #9fa6ad
}


.eventlistview ul {
    list-style-type: none
}

.eventlistview h5 {
    color: #2a2a2a;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 5px
}

.eventlistview li>p {
    color: #9c9c9c;
    margin-bottom: 5px
}

.eventlistview li {
    margin: 0 0 20px;
    position: relative;
    padding: 0 0 0 100px;
    float: left;
    width: 100%;
    min-height: 70px
}

.listedate {
    position: absolute;
    left: 0;
    padding: 5px;
    font-size: 21px;
    width: 80px;
    line-height: 20px
}

.ld-date {
    font-size: 36px;
    line-height: 30px;
    font-weight: 700
}

.bgcyan-e {
    background: #00b5aa;
    color: #fff
}

.bgred-h {
    background: #dc3545;
    color: #fff
}

.devent {
    color: #000;
}

.devent:hover {
    color: #00a79c;
}

/*media*/
@media (max-width: 1024px){
    .eventclass {font-size: 10px;}
}

@media (max-width: 992px){
    .eventclass {height: 15px;border: 8px solid;text-indent: -999px;display: block;margin: 0 5px 5px 0;padding: 0;border-radius: 2px;}
}

@media (max-width:768px) {
    div#calendar ul.dates li:nth-child(7n - 2) .eventDetails {
        left: auto;
        right: 100%
    }
    .eventclass {margin: 0 0 5px 0;}
}

@media (max-width: 480px){
div#calendar ul.dates li{height: 105px;font-size: 1rem;width: 14.7%;}
.view-more-event{display: none;}
.eventclass {
    height: 8px;
    width: 30px;
    border: 4px solid;
    margin: 8px 0;
}



}

@media (max-width: 320px){
.eventclass {width: 25px;}

}