/*CAROUSEL Common Styles*/
#ect-carousel-wrapper {
    display: inline-block;
    width: calc(100% - 44px);
    height: auto;
    margin: 10px 22px;
    padding: 0;
    box-sizing: border-box;
    position:relative;
    max-width: 100%;
}
#ect-carousel-wrapper * {
    box-sizing: border-box;
}


#ect-carousel-wrapper .slick-arrow {
    position: absolute;
    top: calc(50% - 18px);
    width: 36px;
    height: 36px;
    background: none;
    color: #222;
    box-shadow: 0 2px 11px 0 rgba(0, 0, 0, 0.043);
    cursor: pointer;
    z-index: 11;
    font-size: 24px;
    vertical-align: middle;
    padding-top:4px;
    opacity:0.75;
}
#ect-slider-wrapper .slick-arrow i {
    background:#fff;
}
#ect-carousel-wrapper .slick-arrow:hover {
    opacity:1;
}
#ect-carousel-wrapper .slick-arrow.ctl-slick-next {
    right:-28px;
}
#ect-carousel-wrapper .slick-arrow.ctl-slick-prev {
    left:-28px;
}
#ect-carousel-wrapper .slick-arrow.slick-disabled {
    color:#888;
}
#ect-carousel-wrapper .slick-slide:focus {
    outline: none;
}


.ect-carousel-event-area {
    background: #ddd;
    display: inline-block;
    margin:0 15px;
    height:100%;
    padding-bottom: 15px;
    position:relative;
}
#ect-carousel-wrapper .slick-track {
    display: flex !important;
}
#ect-carousel-wrapper .slick-slide {
    height: inherit !important;
}


.ect-carousel-image,
.ect-carousel-image a {
    display: inline-block;
    height: 220px;
    overflow: hidden;
    width: 100%;
    position: relative;
}
.ect-carousel-image a:hover {
    opacity:0.85;
}
.ect-carousel-image img {
    object-fit: cover;
    width: 100%;
    height: 220px;
    object-position: bottom center;
}


#ect-carousel-wrapper .ect-share-wrapper {
    position: absolute;
    right: 7px;
    bottom: 8px;
    z-index: 199;
}
#ect-carousel-wrapper .style-2 .ect-share-wrapper {
    right: 16px;
    bottom:12px;
}
#ect-carousel-wrapper .ect-share-wrapper .ect-social-share-list {
    left:inherit;
    right:0;
}
#ect-carousel-wrapper .ect-share-wrapper .ect-social-share-list:before {
    left:inherit;
    right: 6px;
}
#ect-carousel-wrapper .ect-share-wrapper .ect-social-share-list a {
    height:auto;
    width:auto;
}


.ect-carousel-date {
    display: inline-block;
    width: calc(100% - 20px);
    padding: 20px 10px;
    background: #222;
    margin: 0 10px;
    box-sizing: border-box;
    position: relative;
    margin-top: -45px;
    vertical-align: top;
}
.ect-carousel-date .ev-day {
    display: inline-block;
    font-size:1em;
    vertical-align: middle;
}
.ect-carousel-date .ev-mo, .ect-carousel-date .ev-yr {
    display: inline-block;
    font-size:0.85em;
    line-height:1.1em;
    vertical-align: middle;
}
.ect-carousel-date .ev-time {
    display: inline-block;
    font-size:0.45em;
    width:100%;
    margin-top:2px;
}
.ect-carousel-date .ev-time span {
    display:inline-block;
}
.ect-carousel-date span[class^="ev-"]:nth-of-type(1) {
    font-size: 1em;
}
.ect-carousel-date.custom-arrow:after {
    border-bottom-color: inherit !Important;
}


.ect-carousel-categories {
    position: absolute;
    padding: 0 10px;
    left: 8px;
    top: 4px;
}
.style-1 .ect-carousel-categories {
    top: 0;
    left: 0;
    position: relative;
}


.ect-carousel-title, .ect-carousel-venue, .ect-carousel-cost, .ect-carousel-readmore {
    padding: 0 10px;
    display: inline-block;
    width:100%;
}


.ect-carousel-title h4 {
    margin:15px 0;
    padding:0;
}
.ect-carousel-title h4 a:hover {
    opacity: 0.75;
    filter: alpha(opacity=75);
}


.carousel-view-venue {
    display: inline-block;
    width: 100%;
    margin-bottom:15px;
    word-break: break-word;
}
.carousel-view-venue span.ect-venue-details {
    display: inline-block;
    width: calc(100% - 42px);
    box-sizing: border-box;
    vertical-align: top;
}
.carousel-view-venue span.ect-venue-details span.ect-google {
    display: inline-block;
    width: 100%;
}
.carousel-view-venue span.ect-icon,
.ect-carousel-cost span.ect-rate-icon {
    display: inline-block;
    width: 32px;
    height: auto;
    font-size: 24px;
    vertical-align: top;
    text-align: center;
    margin-right:4px;
    font-weight:bold;
}


.ect-carousel-cost, .ect-carousel-readmore {
    width: 100%;
    padding-top: 10px;
}
.ect-carousel-readmore.full-view {
    width: 100%;
}
.ect-carousel-readmore a {
    width: 100%;
    border: 1px solid;
    padding: 4px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    font-size: 15px;
}
.ect-carousel-readmore a:hover {
    opacity: 0.75;
    filter: alpha(opacity=75);
}


/*Style-1*/
.style-1 .ect-carousel-date {
    position: absolute;
    z-index: 99;
    top: 25px;
    left: -15px;
    width: 90%;
    margin: 0;
    margin-top: 0;
}
.style-1 .ect-carousel-date:after {
    border-color: transparent transparent #222;
    border-style: solid;
    border-width: 11px;
    bottom: -10px;
    content: "";
    display: inline-block;
    left: 4.8px;
    position: absolute;
    transform: rotate(45deg);
    width: 0;
}


/*Style-3*/
.style-3 .ect-carousel-event-area {
    border-radius: 5px;
    overflow: hidden;
    border-bottom:5px solid;
}
.style-3 .ect-carousel-date {
    width: 100%;
    padding: 15px 10px 5px;
    background: none !IMPORTANT;
    margin: 0;
    margin-top: 0;
}
.style-3 .ect-carousel-title h4:before {
    content: '\e804';
    font-family: ecticons;
    display: inline-block;
    width: 32px;
    height: auto;
    font-size: 24px;
    vertical-align: top;
    text-align: center;
    margin-right:4px;
    font-weight:bold;
}
.style-3 .ect-carousel-title h4 a {
    display: inline-block;
    width: calc(100% - 42px);
    box-sizing: border-box;
    vertical-align: top;
}
.style-3 .ect-carousel-date i.ect-icon-clock {
    display: inline-block;
    width: 32px;
    height: auto;
    font-size: 24px;
    vertical-align: top;
    text-align: center;
    margin-right: 4px;
    font-weight: bold;
}
.ect-carousel-description a.ect-events-read-more {
    display: none;
}
.ect-carousel-description {
    padding: 0 10px;
    display: inline-block;
    width: 100%;
    word-break: break-word;
}
.ect-carousel-description .ect-event-content p {
    display: inline-block;
    width: 100%;
    word-break: break-word;
    padding:0;
    margin:5px 0 10px;
}
/**
* Style 4 Css
*/
.ect-date-schedule {
    background: white;
    border: 1px solid #C5C5C5;
    padding: 2px;
    position: absolute;
     bottom: -1rem; 
    right: 1rem;
  }
  .ect-date-schedule-wrap {
    padding: 6px;
    align-items: center;
    border: 1px solid #C5C5C5;
    display: flex;
    flex-direction: column;
    /* height: 3.063rem; */
    justify-content: center;
    /* width: 3.063rem; */
  }
  .ect-date-schedule .ev-mo {
    color: #FA5A41;
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    line-height: 0.9;
    
  }
  .ect-date-schedule .ev-day {
    font-size: 1.5rem;
    line-height: 1;
  }
  .ect-grid-image-style4{
    display: inline-block;
    /* height: 250px;
    overflow: hidden; */
    width: 100%;
    position: relative;
  } 
  .ect-date-schedule span {
    /* display: block; */
    text-align: center;
  }
  .ect-carousel-image-style-4 {
    display: inline-block;
    /* height: 220px; */
    /* overflow: hidden; */
    width: 100%;
    position: relative;
}
#ect-carousel-wrapper .ect-share-wrapper-style-4 .ect-share-wrapper {
 
    left: 10px;
  }


  /* Media Query Start Here */
  @media only screen and (max-width: 1024px){
    #ect-carousel-wrapper .ect-carousel-date, #ect-carousel-wrapper .ect-date-schedule span {
        font-size: 20px !important;
    }
  }
