/* Lugano Event Connector stylesheet */

.z-index-5 {
    z-index: 5;
}

.z-index-9999 {
    z-index: 9999;
}

.LE-button-disabled {
    background-color: #9E9E9E !important;
    color: #FFF;
}

.LE-overflow-scroll {
    overflow: scroll;
}

#LE-events-grid .elementor-button {
    min-height: 50px;
    height: 50px;
    display: flex;
    align-items: center;
}

.load-more-button {
    width: 72px !important;
    height: 72px !important;
}

#LE-events-grid .elementor-button span {
    white-space: nowrap;
}

.LE-portrait-filter .LE-single-filter .dropdown-collection-editions,
.LE-portrait-filter .LE-single-filter .dropdown-collection-editions > button {
    width: 100%;
    text-align: left;
}

/* create a new arrow, because we are going to mess up the native one  */
input[type="date"]:after {
    content: "\e075";
    color: var(--primary);
    padding: 0 5px;
    font-family: 'Simple-Line-Icons';
    font-size: 1rem;
    line-height: 1.9rem;
}

/* make the native arrow invisible and stretch it over the whole field so you can click anywhere in the input field to trigger the native datepicker*/
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
    color: transparent;
    background: transparent;
}

#LE-events-grid input[type="date"]::-webkit-inner-spin-button,
#LE-events-grid input[type="date"]::-webkit-calendar-picker-indicator {
    display: block;
    -webkit-appearance: button;
}

/* Reset filer button */
.LE-reset-filter {
    white-space: nowrap;
}

.LE-reset-filter:hover {
    cursor: pointer;
    text-decoration: underline !important;
}

.LE-reset-filter-active {
    font-weight: 700;
    color: var(--e-global-color-primary) !important;
}

#LE-events-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Mobile filter button */
#LE-mobile-filter:after {
    content: "\e06c";
    font-family: 'Simple-Line-Icons';
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
}

/*Mobile modal*/
.LEG-modal-element {
    border: none !important;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 20px !important;
}

.LEG-modal-header {
    border-radius: 0 0 20px 20px;
    box-shadow: 0 9px 25px 0 #0000000F;
    align-items: center !important;
    height: 10vh;
    max-height: 81px;
}

.LEG-modal-footer {
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -9px 25px 0 #0000000F;
    flex-direction: column;
    height: 18vh;
    max-height: 150px;
}

.modal .modal-content {
    height: unset !important;
}

/* Mobile Filter indicator when there are filters active */
#mobile-filter-indicator {
    background: #66BB6A;
    width: 10px;
    height: 10px;
    position: absolute;
    top: -2px;
    right: -2px;
    border-radius: 50%;
}

.LEG-mobile-modal-content input[type="checkbox"],
#LE-events-grid input[type="checkbox"] {
    appearance: none;
}

.LEG-mobile-modal-content input[type="checkbox"]:checked + span,
#LE-events-grid input[type="checkbox"]:checked + span {
    color: var(--e-global-color-primary);
    font-weight: bold;
}

.LEG-mobile-modal-content input[type="checkbox"]:checked + span::after,
#LE-events-grid input[type="checkbox"]:checked + span::after {
    content: "\2715";
    color: var(--e-global-color-text);
    margin: 0 0 0 5px;
}

/* Input color definition */
#LE-landscape-filter.blue input,
#LE-landscape-filter.blue .checkbox,
#LE-landscape-filter.blue .dropdown-menu,
#LE-landscape-filter.blue .dropdown-toggle,
#LE-landscape-filter.blue #LE-mobile-filter,
#LE-portrait-filter.blue input,
#LE-portrait-filter.blue .checkbox,
#LE-portrait-filter.blue .dropdown-menu,
#LE-portrait-filter.blue .dropdown-toggle {
    background-color: #E8F0F7 !important;
}

#LE-landscape-filter.white input,
#LE-landscape-filter.white .checkbox,
#LE-landscape-filter.white .dropdown-menu,
#LE-landscape-filter.white .dropdown-toggle,
#LE-landscape-filter.white #LE-mobile-filter,
#LE-portrait-filter.white input,
#LE-portrait-filter.white .checkbox,
#LE-portrait-filter.white .dropdown-menu,
#LE-portrait-filter.white .dropdown-toggle {
    background-color: #FFF !important;
}

/* OLD Calendar plugin style */
article.LE-single-event.opacity-30 .LE-single-event-image {
    opacity: var(--opacity-30);
}

article.LE-single-event .LE-single-event-image img {
    transition-duration: 0.8s;
}

article.LE-single-event .LE-single-event-info {
    padding: 20px;
    margin-top: -40px;
}

article.LE-single-event .LE-single-event-info .datetable {
    margin-bottom: 0.5rem;
}

article.LE-single-event .LE-single-event-info .timetable {
    margin-bottom: 0.5rem;
}

article.LE-single-event .LE-single-event-info .location {
    margin-bottom: 0.5rem;
}

article.LE-single-event ul.LE-single-event-info-category li a {
    font-size: 13px;
}

article.LE-single-event .LE-single-event-info-title h2 {
    font-size: 24px;
    line-height: 1.25;
}

article.LE-single-event .LE-single-event-info-icon a {
    font-size: 16px;
}

article.LE-single-event .LE-single-event-info-icon-text {
    line-height: 1.3em;
}

article.LE-single-event .LE-single-event-info-icon-text a {
    font-size: 14px;
}

article.LE-single-event .LE-single-event-info-icon-text,
article.LE-single-event .LE-single-event-info-extended {
    font-size: 14px;
    line-height: 1.4em;
}

article.LE-single-event [class*='LE-single-event-info-chip-'] {
    font-size: 13px;
    border-radius: var(--LE-border-radius);
    padding: 4px 10px;
}

article.LE-single-event .LE-single-event-info-chip-information {
    background: var( --e-global-color-ba0ec77);
    color: var( --e-global-color-primary);
}

article.LE-single-event .LE-single-event-info-chip-warning {
    background: var( --e-global-color-1d52384);
    color: var( --e-global-color-d254bfa);
}

article.LE-single-event .LE-single-event-info-chip-danger {
    background: var( --e-global-color-22a0a90);
    color: var( --e-global-color-197a7b0);
}

/*highlights*/

#LE-highlight article.LE-single-event.LE-single-main-event .LE-single-event-info {
    margin-top: -100px;
}

#LE-highlight article.LE-single-event:not(.LE-single-main-event):first-of-type {
    margin-bottom: 30px;
}

#LE-highlight #LE-highlight-view article.LE-single-event:not(.LE-single-main-event) .LE-single-event-info {
    box-shadow: -20px 0px 0px 0px #fff;
}

@media (min-width: 576px) {

    #LE-highlight-slider article.LE-single-event .LE-single-event-info {
        margin-top: -100px;
    }
}

#LE-highlight-slider button>span {
    display: none;
}

#LE-highlight-slider button {
    border-radius: 50%;
    padding: 8px 11px 8px 10px;
    height: auto;
    width: auto;
}

#LE-highlight-slider .owl-nav {
    top: var( --slider-button-top);
}

#LE-highlight-slider button.owl-prev {
    left: 10px;
}

#LE-highlight-slider button.owl-next {
    right: 10px;
}

#LE-highlight-slider button::before {
    font-family: "Porto";
    content: "\e8cc";
    font-size: 18px;
    font-weight: bold;
    display: flex;
}

#LE-highlight-slider button.owl-prev::before {
    transform: scaleX(-1);
}


/* filters calendar */
#LE-modal-filter .LE-single-filter {
    min-height: 48px;
}

#LE-modal-filter .LE-single-filter .accordion .card-header {
    padding: 15px 30px;
}

.LE-single-filter input,
.LE-single-filter label,
.LE-single-filter span.label-icon {
    font-size: .875rem;
    position: relative;
}

.LE-single-filter span.label-icon.selected {
    font-weight: 700;
    color: var(--e-global-color-primary);
}

/* make the native arrow invisible and stretch it over the whole field so you can click anywhere in the input field to trigger the native datepicker*/

#LE-modal-filter .LE-single-filter input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
    color: transparent;
    background: transparent;
}

.LE-single-filter .dropdown {
    height: 100%;
}

.LE-single-filter .dropdown button {
    padding: 12px 24px;
    box-shadow: none !important;
}

.LE-single-filter .dropdown .dropdown-toggle::after {
    display: none;
}

.LE-single-filter .dropdown-advanced .dropdown-menu {
    width: 100%;
    transform: translate(0px, 43px) !important;
}

.LE-single-filter .dropdown .dropdown-menu a {
    padding: 0;
}

.LE-single-filter .dropdown .dropdown-item:hover,
.dropdown-item:focus {
    background-color: inherit;
}

.LE-single-filter .dropdown .dropdown-item span {
    color: var(--e-global-color-secondary);
}

.LE-single-filter .dropdown span.selected {
    font-weight: 700;
    color: var(--e-global-color-primary);
}

#LE-events-grid .loading {
    background-color: rgba(255,255,255,.8);
}

#LE-events-grid section {
    position: relative;
    min-height: 200px;
}

#LE-events-grid .loading ._loading_overlay_content {
    margin-top: 8em;
}

.LE-overflow-scroll::-webkit-scrollbar {
    display: none;
}

#LE-events-grid .elementor-button-link,
.LEG-mobile-modal-content .elementor-button-link {
    line-height: 18px;
    padding-top: 16px;
    padding-bottom: 16px;
}

#LE-events-grid .min-width-200 {
    min-width: 200px;
}

#LE-landscape-filter .text-secondary,
.LEG-mobile-modal-content *.text-secondary {
    color: #212121 !important;
}

/* grid cards */

@media (min-width: 1470px) {
    #LE-events-grid .col-xxl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    #LE-events-grid .col-xxl-4 {
        flex: 0 0 33%;
        max-width: 33%;
    }
}
