/* Added since v1.3.5 */
.view-all-events:hover {
    color: #fff !important;
    outline: solid 2px black;
    border: solid 2px #fff;
}
.view-all-events {
    padding: 6px 19px;
    background: black;
    border-radius: 50px;
    color: #fff;
    text-align: center;
    display: flex;
    margin: 0 auto;
    width: 180px;
    margin-bottom: 20px;
    justify-content: center;
    border: solid 2px #000;
}
/* Added since v1.3.2 */
.lapie-events-v1 .center-min-items {
    justify-content: center;
}
/* ------------------------------------------------ */
.lapie-events-v1 {
    box-sizing: border-box;
    padding: 10px;
    display: block;
}
.lapie-events-v1 section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}
.lapie-events-v1 section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (hover: hover) {
    .lapie-events-v1 section ul:hover li {
        opacity: 0.15;
        transition: all 0.55s ease-out;
    }
    .lapie-events-v1 section ul:hover li .event-details {
        background-color: #fff;
        transition: all 0.55s ease-out;
    }
}
.lapie-events-v1 section ul li {
    margin: 0 !important;
    padding: 20px;
    height: auto;
    transition: all 1s ease-in-out;
}
@media screen and (min-width: 1200px) {
    .lapie-events-v1 section ul li.is-2-item {
        min-width: 450px;
    }
    .lapie-events-v1 section ul li.is-1-item {
        min-width: 470px;
    }
}
@media screen and (max-width: 767px) {
    .lapie-events-v1 section ul li {
        padding: 30px;
    }
}
.lapie-events-v1 section ul li:hover {
    opacity: 1;
}
.lapie-events-v1 section ul li:hover a {
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease-in-out;
    outline: solid 1px transparent;
}
.lapie-events-v1 section ul li:hover .event-details {
    background-color: white;
    transition: all 0.2s ease-in-out;
}
.lapie-events-v1 section ul li a {
    position: relative;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transition: all 0.2s ease-in-out;
    outline: solid 1px #fefefe;
}
.lapie-events-v1 section ul li a article {
    position: relative;
    display: block;
}
@media screen and (max-width: 767px) {
    .lapie-events-v1 section ul li a article {
        width: 100%;
        margin: 0 auto;
    }
}
@media screen and (max-width: 520px) {
    .lapie-events-v1 section ul li a article {
        margin: 0;
    }
}
.lapie-events-v1 .event-details {
    position: relative;
    display: block;
    padding: 10px 20px 10px;
    background-color: #fff;
    border: solid 1px #e8e8e8;
}
.lapie-events-v1 .event-image {
    -o-object-fit: cover;
    object-fit: cover;
    position: relative;
    display: inline-block;
    width: 100%;
    height: 300px;
}
@media screen and (max-width: 970px) {
    .lapie-events-v1 .event-image {
        height: 324px;
    }
}
@media screen and (max-width: 659px) {
    .lapie-events-v1 .event-image {
        width: 100%;
        max-height: inherit;
    }
}
.lapie-events-v1 .event-date {
    position: absolute;
    top: 25px;
    left: -18px;
    font-size: 18px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    color: #FDB813;
    font-weight: 500;
    background-color: #1a1a1a;
    padding-left: 0px;
    height: 80px;
    line-height: 2.3;
    padding-right: 20px;
    z-index: 10;
    display: grid;
    grid-template-areas: "evd evm" "evd evy";
    grid-template-columns: 2fr minmax(auto, auto);
    grid-template-rows: auto auto;
    box-shadow: 11px 14px 13px 0px rgb(0 0 0 / 50%);
}
.lapie-events-v1 .event-date:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 80px;
    background: 0 0;
    display: flex;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 767px) {
    .lapie-events-v1 .event-date:before {
        left: 1px;
    }
}
.lapie-events-v1 .event-date:after {
    content: "";
    position: absolute;
    display: inline-block;
    z-index: -1;
    bottom: -13px;
    left: 5px;
    width: 0;
    border-width: 13px;
    border-style: solid;
    border-color: transparent transparent #000000 transparent;
    transform: rotate(45deg);
}
.lapie-events-v1 .event-date .start-date, .lapie-events-v1 .event-date .end-date {
    font-size: 18px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    color: #FDB813;
    font-weight: 500;
    background-color: #1a1a1a;
    padding-left: 14px;
    height: 80px;
    line-height: 2.3;
    z-index: 10;
    display: grid;
    grid-template-areas: "evd evm" "evd evy";
    grid-template-columns: 2fr minmax(auto, auto);
    grid-template-rows: auto auto;
    margin: 0 5px;
    text-shadow: 0 -2px 0 rgb(0 0 0);
}
.lapie-events-v1 .event-date .event-day {
    grid-area: evd;
    font-size: 2.7rem;
    font-weight: bold;
    place-self: center;
    padding: 0 10px;
    line-height: 1;
}
.lapie-events-v1 .event-date .event-month {
    grid-area: evm;
    place-self: end left;
    line-height: 1.1;
}
.lapie-events-v1 .event-date .event-year {
    grid-area: evy;
    place-self: start left;
    line-height: 1.2;
}
.lapie-events-v1 .event-date .ui.vertical.divider {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    width: auto;
    height: 50%;
    line-height: 0;
    text-align: center;
    transform: translateX(-50%);
    padding-left: 2px;
}
.lapie-events-v1 .event-date .ui.vertical.divider:after, .lapie-events-v1 .event-date .ui.vertical.divider:before {
    position: absolute;
    left: 50%;
    content: "";
    z-index: 2;
    border-left: 1px solid #000000;
    border-right: 1px solid #413c00;
    width: 0%;
    height: calc(100% - 1rem);
}
.lapie-events-v1 .event-date .ui.vertical.divider:before {
    top: -100%;
}
.lapie-events-v1 .event-date .ui.vertical.divider:after {
    top: auto;
    bottom: 0;
}
.lapie-events-v1 .event-desc {
    font-size: 20px;
    margin: 15px 0;
    line-height: 1.3;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.lapie-events-v1 .event-desc * {
    color: #000;
}
.lapie-events-v1 .splide__pagination {
    bottom: -2em;
}
.lapie-events-v1 .splide__pagination li {
    padding: 5px 3px;
}
.lapie-events-v1 .splide__pagination li button {
    width: 13px;
    height: 13px;
}
.lapie-events-v1 .splide__pagination__page {
    background: #fff;
    border: solid 1px black;
}
.lapie-events-v1 .splide__pagination__page.is-active {
    background: #000;
    border: solid 1px #fff;
}
/* ------------------------------------------------ */
.lapie-events-v2 {
    box-sizing: border-box;
    padding: 10px;
    display: block;
}
.lapie-events-v2 section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.lapie-events-v2 section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (hover: hover) {
    .lapie-events-v2 section ul:hover li {
        opacity: 0.2;
        transition: all 0.4s ease-in-out;
    }
    .lapie-events-v2 section ul:hover li .event-details {
        background-color: #666;
        transition: all 0.4s ease-in-out;
    }
}
.lapie-events-v2 section ul li {
    margin: 0 !important;
    padding: 20px;
    height: auto;
    transition: all 1s ease-in-out;
}
@media screen and (min-width: 1200px) {
    .lapie-events-v2 section ul li.is-2-item {
        min-width: 450px;
    }
    .lapie-events-v2 section ul li.is-1-item {
        min-width: 470px;
    }
}
.lapie-events-v2 section ul li:hover {
    opacity: 1;
}
.lapie-events-v2 section ul li:hover a {
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.55);
    transition: all 0.2s ease-in-out;
    outline: solid 1px transparent;
}
.lapie-events-v2 section ul li:hover .event-details {
    background-color: black;
    transition: all 0.2s ease-in-out;
}
.lapie-events-v2 section ul li a {
    position: relative;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transition: all 0.2s ease-in-out;
    outline: solid 1px #fefefe;
}
.lapie-events-v2 section ul li a article {
    position: relative;
    display: block;
}
@media screen and (max-width: 659px) {
    .lapie-events-v2 section ul li a article {
        width: 100%;
        margin: 0 auto;
    }
}
@media screen and (max-width: 520px) {
    .lapie-events-v2 section ul li a article {
        margin: 0;
    }
}
.lapie-events-v2 .event-details {
    position: relative;
    display: block;
    padding: 15px 20px 10px;
    background-color: #000;
}
.lapie-events-v2 .event-image {
    -o-object-fit: cover;
    object-fit: cover;
    position: relative;
    display: inline-block;
    width: 100%;
    height: 450px;
}
@media screen and (max-width: 970px) {
    .lapie-events-v2 .event-image {
        height: 450px;
    }
}
@media screen and (max-width: 860px) {
    .lapie-events-v2 .event-image {
        height: auto;
        -o-object-fit: cover;
        object-fit: cover;
        max-height: 450px;
    }
}
@media screen and (max-width: 659px) {
    .lapie-events-v2 .event-image {
        width: 100%;
        max-height: inherit;
        height: auto;
        -o-object-fit: contain;
        object-fit: contain;
    }
}
.lapie-events-v2 .event-date {
    display: inline-block;
    color: #fff;
    border-radius: 30px;
    background-color: #18a5de;
    padding: 4px 13px;
    font-size: 11px;
    letter-spacing: 0;
    margin: 5px 0;
}
.lapie-events-v2 .event-desc {
    margin: 15px 0;
    line-height: 1.4;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
@media screen and (max-width: 949px) {
    .lapie-events-v2 .event-desc {
        font-size: 20px;
    }
}
.lapie-events-v2 .event-desc * {
    color: #fff;
}
.lapie-events-v2 .splide__pagination {
    bottom: -2em;
}
.lapie-events-v2 .splide__pagination li {
    padding: 5px 3px;
}
.lapie-events-v2 .splide__pagination li button {
    width: 13px;
    height: 13px;
}
.lapie-events-v2 .splide__pagination__page {
    background: #fff;
    border: solid 1px black;
}
.lapie-events-v2 .splide__pagination__page.is-active {
    background: #000;
    border: solid 1px #fff;
}