/*
List Common Styles
*/

#ect-events-list-content a,
#ect-events-list-content a:hover {
    text-decoration: none !important;
}

#ect-events-list-content,
.ect-list-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 5px auto;
    padding: 0;
    max-width: 100%;
}

#ect-events-list-content h2.ect-events-page-title {
    margin: 0 auto 20px;
    width: 100%;
}

.ect-list-post {
    width: 100%;
    height: 100%;
    min-height: 200px;
    box-sizing: border-box;
    word-break: break-word;
    display: flex;
    margin: 15px auto;
    border: 1px solid #00000020;
    border-radius: 15px;
    padding: 5px;
    gap: 15px;
}

.ect-list-post-left {
    width: 30%;
    background-size: cover;
    position: relative;
    min-height: 200px;
    z-index: 9;
}

.ect-list-post-right {
    width: 70%;
    display: flex;
}

.ect-list-post-left:hover {
    -webkit-filter: brightness(95%) hue-rotate(2deg);
    filter: brightness(95%) hue-rotate(2deg);
}

.ect-list-img {
    height: 100%;
    width: 100%;
}

.ect-list-post.style-1 .ect-list-img,
.ect-list-post.style-1 .ect-list-date {
    min-height: 200px;
    border-radius: 7px;
    padding: 5px;
}

.ect-list-post a {
    box-shadow: none;
    text-decoration: none;
}

.ect-list-post-left .ect-list-date {
    -webkit-transition: width linear 0.5s;
    /* Safari */
    transition: width linear 0.5s;
    width: 35%;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(224, 232, 243, 0.96);
    height: 100%;
    color: #fff;
    padding: 8px;
    box-sizing: border-box;
    position: relative;
    top: 0;
    z-index: 2;
}

.ect-list-post:hover .ect-list-post-left .ect-list-date {
    width: 100%;
}

.ect-list-date .ect-date-area {
    text-align: center;
    line-height: 92%;
    font-size: 35px;
    font-family: inherit;
    padding-top: 14px;
    /* padding: 14px 0px; */
}

.ect-list-post.style-2 .ect-list-date .ect-date-area {
    text-align: left;
}

.ect-list-date .ect-date-area .ev-day {
    font-size: 1em;
    clear: both;
    display: inline-block;
    width: 100%;
}

.ect-list-date .ect-date-area .ev-mo {
    font-size: 0.55em;
    clear: both;
    display: inline-block;
    width: 100%;
}

.ect-list-date .ect-date-area .ev-yr {
    font-size: 0.5em;
    clear: both;
    display: inline-block;
    width: 100%;
    position: relative;
    /* top: -14px; */
}

.ect-list-date .ect-date-area .ev-time {
    font-size: 0.32em;
    clear: both;
    display: inline-block;
    width: 100%;
    line-height: 1.35em;
}

#ect-events-list-content .ect-share-wrapper {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 11;
}

.ect-list-post .ect-share-wrapper .ect-social-share-list {
    width: 45px;
    top: 0px;
    left: -50px;
    border: 1px solid #00000015;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 5px -3px #B5B5B5;
}

.ect-list-post.style-3 .ect-list-img {
    padding: 5px;
    border-radius: 7px;
}

.ect-list-post .ect-style3-desc .ect-event-content p {
    margin-bottom: 0px;
}

.ect-list-post .ect-share-wrapper:hover .ect-social-share-list {
    top: 0px;
}

.ect-list-post .ect-share-wrapper .ect-social-share-list:before {
    display: none;
}

.ect-list-post .ect-share-wrapper .ect-social-share-list a {
    line-height: 35px;
}

#ect-events-list-content .ect-list-post .ect-share-wrapper i.ect-icon-share:before {
    background-color: #00000000;
}


/*right side*/

.ect-list-post-right-table {
    display: flex;
    height: 100%;
    width: 100%;
}

.ect-list-post-right .ect-list-description {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    justify-content: center;
    gap: 8px;
}

.ect-list-post a.ect-events-read-more {
    display: inline-block;
}

.ect-list-wrapper .ect-list-post-right .ect-list-venue {
    height: 100%;
    display: flex;
}

.ect-list-wrapper .style-3 .ect-list-post-right .ect-list-venue .ect-icon {
    width: auto;
}

.ect-list-wrapper .style-1 .ect-list-post-right .ect-list-venue {
    width: 30%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    border-radius: 7px;
    background-color: #00000015;
}

.ect-list-wrapper .style-2 .ect-list-post-right .ect-list-venue {
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
}

.ect-list-post h2.ect-list-title {
    font-size: 18px;
    font-family: inherit;
    margin: 0px;
    padding: 0;
}

.ect-list-post h2.ect-list-title a {
    text-decoration: none;
    box-shadow: none;
}

.ect-list-post h2.ect-list-title a:hover {
    filter: opacity(0.75);
    -webkit-filter: opacity(0.75);
}

.ect-list-post .ect-event-content,
.ect-list-post .ect-events-read-more,
.ect-list-post .ect-rate-area {
    font-size: 13px;
    font-family: inherit;
    padding: 0;
    margin: 0;
    display: flex;
    width: 100%;
    line-height: 1.6em;
    flex-direction: column;
}

.ect-list-description .ect-event-content p {
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 100%;
    line-height: 23px;
}

a.ect-event-read-more {
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

#ect-events-list-content .ect-list-cost {
    position: relative;
}

#ect-events-list-content .ect-rate-area {
    display: inline-block;
}

.ect-venue-details {
    font-size: 13px;
    line-height: inherit;
    text-decoration: none;
    display: inline-block;
}

.ect-list-venue .ect-venue-details .tribe-address {
    width: 100%;
    display: inline-block;
}

.ect-venue-details .tribe-address span {
    display: inline-block;
}

.ect-venue-details .tribe-address .tribe-delimiter {
    margin-right: 3px;
}

.ect-venue-details .tribe-address .tribe-postal-code {
    margin: 0 3px;
}

.ect-list-venue .ect-google {
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
}

.ect-list-venue .ect-google a {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 0 0 currentColor;
}

.ect-list-post .ect-list-venue .ect-rate-area {
    display: inline-block;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    font-size: 22px;
}

.ect-list-post .ect-icon::before {
    margin-left: 0px;
}


/*  Style-2 / Modern List*/

.modern-list-right-side {
    width: 30%;
    height: 100%;
    display: flex;
    padding: 10px 15px;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
}

.modern-list-right-side .ect-list-date,
.modern-list-right-side .ect-list-date .ect-date-area {
    display: inline-block;
    width: 100%;
}

.ect-list-post.style-2 {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #00000020;
    padding: 10px;
    border-radius: 10px;
}

#ect-events-list-content .style-2 .ect-rate-area {
    width: 100%;
    margin: 0px;
    display: inline-block;
}

.ect-list-post.style-2 .modern-list-right-side {
    border-radius: 0px 10px 10px 0px;
}

.ect-list-post.style-2 .ect-list-img {
    border-radius: 10px 0px 0px 10px;
}

.ect-modern-time {
    text-align: center;
    font-size: 0.65em !Important;
    line-height: 1.25em;
}


/***      CSS for Classic List Style  ***/

.style-3 .ect-list-post-right .ect-list-description {
    width: 100%;
}

.style-3 i.ect-icon-location {
    vertical-align: top;
    font-size: 13px;
}

.ect-list-post.style-3 {
    min-height: auto;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
}

.ect-list-post.style-3 .ect-list-post-left {
    overflow: hidden;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date {
    width: 100%;
    opacity: 0.95;
    border-radius: 7px;
}

.ect-list-post.style-3 .ect-list-post-left:hover {
    border-radius: 7px;
}

#ect-events-list-content .style-3 .ect-rate-area {
    margin-top: 0px;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date .ect-date-area {
    width: calc(100% - 50px);
    min-height: calc(100% - 50px);
    border: 1px solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 7px;
    padding: 14px 0px;
}

.ect-list-post.style-3 .ect-clslist-event-details {
    box-shadow: unset;
    background: #ffffff00;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    position: relative;
    width: 180px;
}

.ect-list-post.style-3 .ect-list-post-right {
    background: #f4fcff00;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date:hover {
    background: #ff000000 !important;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date:hover .ect-date-area {
    display: none;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-img:hover {
    transition-duration: 1s;
    transform: scale(1.5);
}


/*  Media Query */

@media only screen and (max-width: 790px) {
    .ect-list-post {
        margin-bottom: 35px;
        flex-direction: column;
    }
    .ect-list-wrapper .style-1 .ect-list-post-right .ect-list-venue {
        width: 100%;
    }
    .ect-list-post a.ect-events-read-more,
    .ect-list-post .ect-list-title,
    .ect-list-post .ect-clslist-time,
    .ect-list-post .ect-style3-desc .ect-event-content p,
    .ect-list-date .ect-date-area {
        text-align: center;
    }
    .ect-list-post-left .ect-list-date {
        width: 100%;
        top: inherit;
        bottom: 0;
    }
    .ect-list-date .ect-date-area .ev-day,
    .ect-list-date .ect-date-area .ev-mo,
    .ect-list-date .ect-date-area .ev-yr {
        clear: none;
        width: auto;
        height: auto;
        float: left;
        top: 0;
        margin-left: 5px;
    }
    .ect-list-post.style-2 .ect-list-date .ect-date-area .ev-day {
        font-size: 0.55em;
    }
    .ect-list-date .ect-date-area .ev-time {
        margin-left: 5px;
    }
    .ect-list-post.style-1 .ect-list-date .ect-date-area,
    .ect-list-post.style-1 .ect-list-date .ev-time {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .ect-list-post.style-2 .ect-list-date .ect-date-area .ev-time {
        text-align: center;
    }
    .modern-list-right-side .ect-list-date,
    .modern-list-right-side .ect-list-date .ect-date-area {
        display: flex;
        justify-content: center;
        padding-top: 0px;
        flex-wrap: wrap;
    }
    .ect-event-category ul.tribe_events_cat {
        justify-content: center;
    }
    #ect-events-list-content .ect-share-wrapper .ect-social-share-list:before {
        left: inherit;
        right: 6px;
    }
    .ect-list-post .ect-list-post-right .ect-list-description {
        border-right: 0;
    }
    .ect-list-img {
        min-height: 210px;
    }
    .ect-list-post-left,
    .ect-list-post-right,
    .ect-list-post-right-table,
    .ect-list-venue {
        display: block;
        width: 100%;
        overflow: hidden;
        height: auto;
        text-align: center;
    }
    /* .ect-list-post.style-3 .ect-list-venue {
        text-align: left;
    } */
    .ect-list-post.style-3 .ect-list-post-right-table,
    .ect-list-post.style-3 .ect-list-description,
    .ect-list-post.style-3 a.ect-events-read-more,
    .ect-list-post.style-3 .ect-list-venue {
        text-align: left;
        align-items: self-start;
    }
    .ect-list-post-right .ect-list-venue {
        width: 100%;
        overflow: hidden;
        height: auto;
    }
    .ect-list-post {
        padding: 30px auto;
    }
    .ect-list-post-right .ect-list-description,
    .modern-list-right-side {
        align-items: center;
        width: 100%;
    }
    .ect-list-description .ect-event-content {
        align-items: center;
    }
    .ect-modern-time {
        display: inline-block;
    }
    .ect-clslist-event-date,
    .ect-clslist-event-info,
    .ect-clslist-event-details,
    .ect-clslist-event-details a.tribe-events-read-more {
        display: inline-block;
        width: 100%;
        position: relative;
        padding: 10px;
    }
    .ect-list-post.style-3 .ect-clslist-event-details {
        position: absolute;
        right: 10px;
        top: 10px;
    }
    #ect-events-list-content .style-1 .ect-rate-area {
        float: left;
        margin-top: 0;
    }
    /* #ect-events-list-content .style-3 .ect-rate-area {
        margin-top: 10px;
        text-align: center;
    } */
    .ect-list-post.style-3 .ect-list-post-left .ect-list-date {
        min-height: 210px;
    }
    .ect-list-post.style-3 {
        position: relative;
    }
}

.ect-list-post-left span.ect-custom-schedule {
    display: flex;
    text-align: center;
    line-height: 92%;
    font-size: 38px;
    font-family: inherit;
    padding-top: 14px;
    align-items: center;
}

.ect-list-post.style-2 .ect-list-img,
.ect-list-post.style-2 .modern-list-right-side {
    border-radius: 10px;
}

.ect-list-post.style-2 .ect-list-description {
    border-bottom: none;
    gap: 8px;
}


/*** style 4*/

.style-4 .ect-list-schedule {
    background: white;
    border: 1px solid #C5C5C5;
    padding: 2px;
    position: absolute;
    width: 100px;
    right: 0;
    left: auto;
    bottom: 0;
}

.ect-list-schedule-wrap {
    align-items: center;
    border: 1px solid #C5C5C5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ect-list-schedule .ev-mo {
    color: #FA5A41;
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    line-height: 0.9;
}

.ect-list-schedule .ev-day {
    font-size: 1.5rem;
    line-height: 1;
}

.ect-grid-image-style4 {
    width: 100%;
    position: relative;
}

.ect-list-schedule span {
    display: block;
    text-align: center;
}

#ect-events-list-content .ect-share-style-4 .ect-share-wrapper {
    right: unset;
    left: 11px;
}

#ect-events-list-content .style-4 .ect-rate-area {
    float: none;
}

.ect-list-post .ect-icon-clock:before,
.ect-list-post .ect-icon-location:before,
.ect-list-post .ect-icon-ticket:before {
    margin-left: 0px !important;
}