/*
List Common Styles
*/

#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; */
}

.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-list-date .ect-date-area .ev-weekday {
    font-size: 0.9em;
    clear: both;
    display: inline-block;
    width: 100%;
}

#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 {
    color: #ff6a5c;
    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;
}


/*  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  ***/


/* .ect-clslist-event-date {
    display: flex;
    width: 160px;
    text-align: center;
    padding: 10px;
    background: rgba(255, 106, 92, 0.90);
    font-size: 28px;
    position: relative;
} */

.ect-clslist-time {
    display: inline-block;
    margin: 0px;
    font-size: 13px;
    width: 100%;
}


/* .ect-clslist-event-info {
    display: flex;
    width: calc(100% - 340px);
    padding: 10px 25px;
    text-align: left;
} */

.ect-clslist-event-details {
    background: #f3fbf1;
    display: flex;
    width: 180px;
    text-align: center;
    position: relative;
    align-items: center;
}

.style-3 .ect-list-post-right .ect-list-description {
    width: 100%;
}

.style-3 i.ect-icon-location {
    vertical-align: top;
    font-size: 13px;
}

.ect-clslist-inner-container i.ect-icon-bell-alt,
.ect-clslist-inner-container i.ect-icon-clock,
.ect-clslist-inner-container i.ect-icon-location {
    min-width: auto;
    display: inline-block;
    min-height: 20px;
}

.ect-list-post.style-3 .ect-clslist-inner-container i:before {
    margin-left: 0px;
}

.ect-list-post.style-3 {
    min-height: auto;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
}


/* .ect-list-post.style-3 .ect-clslist-inner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
} */

.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;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
}

.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;
}

.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);
}

/*** style 4*/

.ect-list-wrapper .ect-list-post.style-4 {
    display: flex;
    gap: 15px;
    box-shadow: 0px 10px 30px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #00000000;
    border-radius: 6px;
    padding: 25px;
    align-items: center;
    position: relative;
}
.ect-list-wrapper .style-4 .ect-list-post-left{
    width: 30%;
    position: relative;
}       
.ect-list-wrapper .style-4 .ect-list-post-left img{
    object-fit: cover;
    width: 100%;
    min-height: 250px;
    border-radius: 6px;
}
.ect-list-wrapper .style-4 .ect-list-post-left .ect-date-highlight{
    position: absolute;
    top: 10px;
    left: 10px;
}
.ect-list-wrapper .style-4 .ect-list-post-left .ect-date-highlight .ect-date-area{
    padding: 10px 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.ect-list-wrapper .style-4 .ect-list-post-left .ect-date-highlight .ect-date-area .ev-day{
    font-size: 20px;
    font-weight: 500;
}
.ect-list-wrapper .style-4 .ect-list-post-left .ect-date-highlight .ect-date-area .ev-mo{
    font-size: 22px;
    font-weight: 700;
}
.ect-list-wrapper .style-4 .ect-list-post-right{
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ect-list-wrapper .style-4 .ect-list-post-right .ect-category-time{
    display: flex;
    gap: 5px;
}
.ect-list-wrapper .style-4 .ect-list-post-right .ect-event-schedule{
    font-size: 17px;
    margin-top: 1px;
    display: flex;
}
.ect-list-wrapper .style-4 .ect-list-post-right .ect-event-content p{
    padding: 0;
    margin: 0;
}
.ect-list-wrapper .style-4 .ect-readmore-cost{
    display: flex;
    align-items: center;
    gap: 15px;
}
.ect-list-wrapper .style-4 .ect-readmore-cost .ect-readmore{
    padding: 10px 15px;
    border-radius: 4px;
}

.ect-list-post.style-4 .ect-events-read-more, 
.ect-list-post.style-4 .ect-rate-area{
    width: auto;
}
#ect-events-list-content .ect-list-wrapper .ect-list-post.style-4 .ect-share-wrapper{
    right: 27px;
    top: 27px;
}

/*  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 {
        text-align: left;
        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-list-post .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:not(.style-3) {
        display: block;
        width: 100%;
        overflow: hidden;
        height: auto;
        text-align: center;
    }
    .ect-list-post.style-3 .ect-list-venue {
        text-align: left;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .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-clslist-inner-container .ect-venue-details {
        width: 100%;
    } */
    .ect-list-post.style-3 .ect-list-post-left .ect-list-date {
        min-height: 210px;
    }
    .ect-list-post.style-3 {
        position: relative;
    }
    .ect-list-wrapper .ect-list-post.style-4 .ect-list-post-left,
    .ect-list-wrapper .ect-list-post.style-4 .ect-list-post-right{
        width: 100%;
    } 
    .ect-list-wrapper .style-4 .ect-list-post-left img{
        max-height: 250px;
        object-fit: unset !important;
    }
    .ect-list-post.style-4 .ect-list-title,
    .ect-list-post.style-4 .ect-list-venue-style-4,
    .ect-list-wrapper .style-4 .ect-list-post-right{
        text-align: left;
    }
}

.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;
}
