/* TIMELINE TEMPLATE CSS by CoolPlugins.net
--------------------------------------------------- */

#event-timeline-wrapper,
#event-timeline-wrapper * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#event-timeline-wrapper {
    display: block;
    width: 100%;
    max-width: 1024px;
    margin: 1.5em auto;
    position: relative;
}

#event-timeline-wrapper:before {
    background: #c1eeff;
    position: absolute;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    height: 16px;
    width: 16px;
    top: -10px;
    left: calc(50% - 8px);
    z-index: 10;
    content: "";
}

#event-timeline-wrapper:after {
    background: #c1eeff;
    position: absolute;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    height: 16px;
    width: 16px;
    bottom: 0px;
    left: calc(50% - 8px);
    z-index: 10;
    content: "";
}

.cool-event-timeline {
    padding: 10px 0;
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0;
}

.cool-event-timeline a.ect-events-read-more {
    display: inline-block;
    text-decoration: none;
}

.cool-event-timeline .ect-lslist-event-detail a {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid;
    display: flex;
    justify-content: center;
    text-decoration: none;
}


/* Mid vertical line--------------------------------------------------- */

.cool-event-timeline:before {
    content: "";
    background-color: rgb(219, 245, 255);
    position: absolute;
    height: 100%;
    width: 4px;
    left: calc(50% - 2px);
    top: 0;
}

.ect-remove-before-style:before {
    width: 0% !important;
}

.ect-remove-after-style:after {
    width: 0% !important;
}


/* Large mid year circle------------------------------------------------------------- */

.ect-timeline-year {
    background: rgb(168, 231, 255);
    color: rgb(0, 68, 94);
    position: relative;
    left: calc(50% - 60px);
    display: table;
    text-align: center;
    height: auto;
    min-height: 120px;
    width: 120px;
    z-index: 10;
    margin-top: 30px;
    margin-bottom: 60px;
    box-shadow: white 0px 0px 0px 4px, rgb(219, 245, 255) 0px 0px 0px 8px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    vertical-align: middle;
}

.ect-timeline-year .year-placeholder {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.ect-timeline-year .year-placeholder span.month-year-box {
    display: inline-block;
    line-height: 28px;
    font-weight: 700;
    font-size: 22px;
    color: rgb(0, 68, 94);
    padding: 8px;
    word-break: break-word;
    white-space: unset;
}


/* Timeline post area----------------------------------------------- */

.ect-timeline-post {
    display: inline-block;
    margin: 0 0 60px 0;
    border: 0;
    padding: 0;
    width: 100%;
    position: relative;
    clear: both;
}


/*--- date/venue/rate area style ---*/


/*--- date area style ---*/

.no-arrow:before {
    display: none !important;
}

.ect-timeline-post .ect-date-area .ev-day,
.ect-timeline-post .ect-date-area .ev-mo,
.ect-timeline-post .ect-date-area .ev-yr {
    font-size: 0.8em;
}

.ect-timeline-post .ect-date-area .ev-time {
    clear: both;
    font-size: 0.45em;
    display: inline-block;
    width: 100%;
    line-height: 90%;
    /* top: -5px; */
    position: relative;
}


/*--- venue/address area style ---*/


/* Timeline mid small dots style------------------------------------------------------------- */

.ect-timeline-post .timeline-dots {
    background: rgb(168, 231, 255);
    position: absolute;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    height: 24px;
    width: 24px;
    top: 18px;
    left: calc(50% - 12px);
    z-index: 10;
}


/* Timeline content area style------------------------------------------------------------- */

.ect-timeline-post .timeline-content {
    position: relative;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0;
    width: calc(50% - 30px);
}

.ect-timeline-post.even .timeline-content {
    margin-left: calc(50% + 30px);
}

.ect-timeline-post.odd .timeline-content {
    margin-left: 0;
}

.ect-timeline-post .timeline-content:before,
.ect-timeline-post .timeline-content.no-arrow:after {
    content: "";
    display: block;
    border: 14px solid transparent;
    position: absolute;
    top: 16px;
}

.ect-timeline-post.odd .timeline-content:before,
.ect-timeline-post.odd .timeline-content.no-arrow:after {
    border-left-color: inherit;
    right: -28px;
}

.ect-timeline-post.even .timeline-content:before,
.ect-timeline-post.even .timeline-content.no-arrow:after {
    border-right-color: inherit;
    left: -28px;
}

.ect-timeline-post h2.content-title {
    margin: 0;
    width: 100%;
    font-size: 18px;
    font-family: inherit;
}

.ect-timeline-post h2.content-title:before {
    display: none;
}

.ect-timeline-post h2.content-title a {
    box-shadow: none;
    text-decoration: none;
    color: rgb(0, 68, 94);
}

.ect-timeline-post .ect-event-content {
    margin: 0;
    display: inline-block;
    width: 100%;
    font-size: 15px;
    line-height: normal;
}

.ect-timeline-post .ect-event-content p {
    padding: 0;
    margin: 0;
}

.ect-timeline-post a.timeline-ev-img {
    display: inline-block;
    width: 100%;
    height: auto;
    max-height: 225px;
    overflow: hidden;
}

.ect-timeline-post img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 2px;
}

#event-timeline-wrapper .ect-share-wrapper .ect-social-share-list {
    left: inherit;
    right: 0;
}

#event-timeline-wrapper .ect-share-wrapper .ect-social-share-list:before {
    left: inherit;
    right: 6px;
}

.ect-timeline-post .timeline-content {
    display: flex;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
}


/* Timeline Template STYLE-1------------------------------------------------------------- */

.cool-event-timeline .style-1 .ect-lslist-event-detail a {
    border-radius: 8px;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-share-wrapper {
    top: 35px;
    left: 35px;
    position: absolute;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-timeline-date {
    z-index: 9;
    min-width: 60%;
    max-width: 80%;
    margin-top: -43px;
    display: flex;
    justify-content: center;
    gap: 7px;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-date-area.timeline-view-schedule {
    padding: 10px;
    border-radius: 8px;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-timeline-main-content {
    display: flex;
    text-align: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-event-category.ect-timeline-categories,
#event-timeline-wrapper .ect-timeline-post.style-1 .timeline-view-venue,
#event-timeline-wrapper .ect-timeline-post.style-2 .ect-event-category.ect-timeline-categories,
#event-timeline-wrapper .ect-timeline-post.style-2 .timeline-view-venue {
    display: flex;
    justify-content: center;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-share-wrapper .ect-social-share-list {
    width: 45px;
    left: inherit;
    right: 0px;
    padding: 2px;
    top: -6px !important;
    right: -50px !important;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-share-wrapper .ect-social-share-list:before {
    display: none;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-share-wrapper .ect-social-share-list a {
    line-height: 35px;
}

#event-timeline-wrapper .ect-timeline-post.style-1 .ect-date-area {
    width: unset;
}


/* Timeline Template STYLE-2------------------------------------------------------------- */

#event-timeline-wrapper.style-2:before,
#event-timeline-wrapper.style-2:after {
    display: none;
}

div#event-timeline-wrapper.style-2 .cool-event-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.style-2 .cool-event-timeline:before {
    left: 93px;
}

.style-2 .ect-timeline-year {
    left: 34px;
}

.style-2 .ect-timeline-post .timeline-dots {
    left: 83px;
}

.style-2 .ect-timeline-post.even .timeline-content {
    margin-left: 130px;
    width: calc(66% - 30px);
}

.style-2 .ect-timeline-post a.timeline-ev-img {
    padding: 0;
}

.style-2.ect-timeline-post .timeline-content .ect-event-cost {
    display: flex;
    justify-content: space-between;
}

#event-timeline-wrapper .ect-timeline-post.style-2 .ect-timeline-header {
    position: relative;
}

#event-timeline-wrapper .ect-timeline-post.style-2 .ect-date-area {
    position: absolute;
    top: 8%;
    width: calc(100% - 20%);
    left: 0px;
    right: 0px;
    text-align: center;
    margin: 0 auto;
    min-width: 50%;
    max-width: 80%;
    padding: 10px;
}

#event-timeline-wrapper .ect-timeline-post.style-2 .ect-timeline-header .ect-share-wrapper {
    right: 13px !important;
    bottom: 13px !important;
    z-index: 99;
    position: absolute;
}

#event-timeline-wrapper .ect-timeline-post.style-2 .ect-timeline-main-content {
    display: flex;
    text-align: center;
    gap: 15px;
    flex-direction: column;
}

#event-timeline-wrapper .ect-timeline-post.style-2 .ect-timeline-footer {
    text-align: center;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

#event-timeline-wrapper .ect-timeline-post.style-2 .ect-lslist-event-detail a:hover,
#event-timeline-wrapper .ect-timeline-post.style-3 .ect-lslist-event-detail a:hover {
    opacity: 0.75;
    filter: alpha(opacity=75);
}


/* Timeline Template STYLE-3------------------------------------------------------------- */

#event-timeline-wrapper.style-3:before,
#event-timeline-wrapper.style-3:after {
    left: 52px;
}

div#event-timeline-wrapper.style-3 .cool-event-timeline {
    max-width: 640px;
}

.style-3 .cool-event-timeline:before {
    left: 58px;
}

.style-3 .ect-timeline-year {
    left: 0px;
}

.style-3 .ect-timeline-post .timeline-dots {
    left: 48px;
}

.cool-event-timeline .style-3 .ect-lslist-event-detail a {
    border-radius: 30px;
}

.style-3 .ect-timeline-post.even .timeline-content {
    margin-left: 88px;
    width: calc(100% - 130px);
    border: 0;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-date-area.timeline-view-schedule {
    border-radius: 0px 30px 30px 0px;
    top: 30px;
    padding: 10px;
    /* min-width: 60%; */
    max-width: 80%;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .timeline-content {
    padding: 0px;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-timeline-header {
    position: relative;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-date-area {
    position: absolute;
    top: 10px;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-share-wrapper {
    position: absolute;
    right: 11px;
    top: 30px;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-event-category {
    position: absolute;
    display: flex;
    /* top: 85%; */
    bottom: 20px;
    left: 19px;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-share-wrapper .ect-social-share-list {
    width: 45px;
    left: inherit;
    padding: 2px;
    top: -6px !important;
    right: 40px !important;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-share-wrapper .ect-social-share-list:before {
    display: none;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-share-wrapper .ect-social-share-list a {
    line-height: 35px;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-timeline-main-content {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .timeline-content {
    border-radius: 20px;
    padding: 18px;
}

#event-timeline-wrapper .ect-timeline-post.style-3 img {
    border-radius: 20px!important;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .timeline-view-venue {
    display: flex;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-timeline-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ect-timeline-post.style-3 .ect-event-category ul.tribe_events_cat li a {
    border-radius: 30px;
}

#event-timeline-wrapper .ect-timeline-post.style-3 .ect-timeline-footer .ect-lslist-event-detail.full-view {
    width: 100%;
}

/*** stye 4 css*/

#event-timeline-wrapper.style-4:before,
#event-timeline-wrapper.style-4:after{
    display: none;
}
.style-4 .cool-event-timeline:before{
    left: 58px;
}
.style-4 .ect-timeline-year{
    left: 0px;
}
.style-4 .ect-timeline-post .timeline-dots{
    left: 47px;
}
.style-4 .ect-timeline-post.even .timeline-content{
    margin-left: 87px;
    width: calc(90% - 30px);
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}
.ect-timeline-post.style-4 .ect-timeline-header{
    width: 40%;
    position: relative;
}
.ect-timeline-post.style-4 .ect-timeline-header .ect-date-area.timeline-view-schedule{
    position: absolute;
    top: 6%;
    left: 0;
    right: 0;
    max-width: 80%;
    min-width: 50%;
    width: calc(100% - 20%);
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}
.ect-timeline-post.style-4 .ect-timeline-header .ect-share-wrapper{
    position: absolute;
    bottom: 14px;
    right: 14px;
}
.ect-timeline-post.style-4 .ect-timeline-main-content{
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ect-timeline-post.style-4 .ect-event-category ul.tribe_events_cat li a{
    border-radius: 0px;
}
.ect-timeline-post.style-4 .timeline-content .ect-cost-readme {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ect-timeline-post.style-4 .ect-timeline-main-content .timeline-view-venue{
    display: flex;
    gap: 3px;
}
/* Mobile Friendly Styles------------------------------------------------------------- */

@media (max-width: 700px) {
    #event-timeline-wrapper:before,
    #event-timeline-wrapper:after,
    #event-timeline-wrapper.style-3:before,
    #event-timeline-wrapper.style-3:after {
        left: 27px;
    }
    #event-timeline-wrapper .cool-event-timeline:before {
        left: 33px;
    }
    #event-timeline-wrapper .ect-timeline-year {
        left: 0px;
        min-height: 70px;
        width: 70px;
    }
    #event-timeline-wrapper .ect-timeline-year .year-placeholder span.month-year-box {
        line-height: 18px;
        font-size: 14px;
        padding: 4px;
    }
    #event-timeline-wrapper .ect-timeline-post .timeline-dots {
        left: 26px;
        width: 18px;
        height: 18px
    }
    #event-timeline-wrapper .ect-timeline-post .timeline-content {
        margin-left: 60px;
        width: calc(100% - 60px);
        position: relative;
    }
    #event-timeline-wrapper .ect-timeline-post.style-1 .timeline-content:before,
    #event-timeline-wrapper .ect-timeline-post.style-2 .timeline-content:before {
        display: none !Important;
    }
    #event-timeline-wrapper .ect-timeline-post .timeline-content:before {
        left: -27px !important;
        right: initial !Important;
        border-left-color: transparent !Important;
    }
    #event-timeline-wrapper .ect-timeline-post .timeline-content {
        -webkit-border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;
        border-radius: 0 0 5px 5px;
    }
    .style-4 .ect-timeline-post.even .timeline-content{
        flex-direction: column;
    }
    .ect-timeline-post.style-4 .ect-timeline-header{
        width: 100%;
    }
    .ect-timeline-post.style-4 .ect-timeline-main-content{
        width: 100%;
    }
}

/* Medai Query for style 4 */

