.events-calendarlist {
    margin-bottom: 25px;
}

.events-calendarlist .wrapper {
    margin: auto;
}

.events-calendarlist h2 {

}


.events-calendarlist .search {
    margin-bottom: 15px;
    width: 100%;
    position: relative;
    display: inline-block;

}

.events-calendarlist .search .filter-search {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    font-size: 24px;
    padding-left: 30px;
    padding-right: 60px;
    border: solid 1px #00377A;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;

    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid  #00377A;
    padding: 15px;
    font-size: 18px;
    font-family: 'TheSans', sans-serif;
    background: #fff;
    border-radius: 10px;
    color: #00377A;
}

.events-calendarlist .search .filter-search:focus {
    outline: none;
}

.events-calendarlist .searchicon:before {
    content: "\f109";
}

.events-calendarlist .search .searchicon:before {
    color: #00377A;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 23px;
    padding-top: 2px;
    content: '\f002';
}

.events-calendarlist .search .innericon {
    position: absolute;
    top: 11px;
    right: 2%;
    z-index: 2;
    display: block;
    text-align: center;
    pointer-events: none;
}

.events-calendarlist .filter-select-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 25px;
}

.events-calendarlist .filter-select-wrapper .form-select {
    width: 31%;
}

.events-calendarlist .filter-select-wrapper .form-select select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: #00377A solid 1px;
    border-radius: 10px;
    background-size: auto;
    background: url('/_images/select.svg') no-repeat 0 0 #fff;
    background-position-x: 95%;
    background-position-y: 8px;
    background-size: 20px;
    width: 100%;
    padding: 0;
    padding-left: 15px;
    color: #00377A;
    font-size: 18px;
    height: 40px;
    cursor: pointer;
    box-sizing: border-box;
}

.events-calendarlist .filter-item-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.events-calendarlist .filter-item-wrapper .title {
    margin: 10px 35px 10px 0;
}

.events-calendarlist .filter-item-wrapper .filter-item-topic {
    border: #00377A solid 1px;
    border-radius: 10px;
    height: 40px;
    padding: 0 17px;
    line-height: 40px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
}

.events-calendarlist .filter-item-wrapper .filter-item-topic.selected {
    color: #fff;
    background: #00377A;
}

.events-calendarlist .legend {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.events-calendarlist .legend .explanation {
    padding: 5px 22px;
    background: #00377A;
    color: #fff;
}

.events-calendarlist .legend .explanation.topic_2 {
    background: #0071B9;
}

.events-calendarlist .legend .explanation.topic_3 {
    background: #009CDA;
}


#event-list-container .spinner {
    width: 100px;
    height: 100px;
    border: 10px solid rgb(230, 230, 230);
    border-top: 10px solid #00377A;
    border-radius: 50%;
    animation: loading-offer-list 1s linear infinite;
    margin-left: calc(50% - 75px);
}

#event-list-container .noresults {
    padding-bottom: 30px;
}

@keyframes loading-offer-list {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.events-calendarlist .calenderlist-groupheadline {
    font-family: 'TheSans';
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.events-calendarlist .grouplist {
    list-style-type: none;
    padding: 0;
    display: block;
    margin-bottom: 30px;
}

.events-calendarlist .grouplist li {
    margin-bottom: 10px;
    border-left: 8px solid #00377A;
    float: none;
    position: relative;
    background-color: #E5F0F8;
    padding-left: 27px;
    padding-right: 40px;
    display: flex;
    gap: 20px;
    color: #00377A;
    padding-bottom: 25px;
}

.events-calendarlist .grouplist li .nolink {
    background-color: #E5F0F8;
    padding: 15px 20px;
}


.events-calendarlist .grouplist li:last-child {
    margin-bottom: 0;
}

.events-calendarlist .grouplist h3,
.events-calendarlist .grouplist a h3 {
    font-size: 20px;
    font-family: 'TheSans';
    font-weight: 600;
    margin-bottom: 8px;
}

.events-calendarlist .grouplist .text,
.events-calendarlist .grouplist a .text {
    font-size: 16px;
    line-height: 24px;
    padding-top: 43px;
    width: calc(100% - 60px - 300px - 56px - 23%);
}

.events-calendarlist .grouplist .link {
    display: flex;
    align-items: center;
}

.events-calendarlist .grouplist a:hover .text .date,
.events-calendarlist .grouplist a:hover .text .location{
    color: #fff;
}

.events-calendarlist .grouplist .text .date {
    display: flex;
}

.events-calendarlist .grouplist .text .date:before {
    content: '\f073';
    font-family: 'Font Awesome 6 Pro';
    color: #00377A;
    margin-right: 8px;

}

.events-calendarlist .grouplist .text .location:before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Pro';
    color: #00377A;
    margin-right: 8px;

}


.events-calendarlist .grouplist a:hover .text .date:before,
.events-calendarlist .grouplist a:hover .text .location:before {
    color: #fff;

}

.events-calendarlist .grouplist a:hover h3,
.events-calendarlist .grouplist a:hover .topline,
.events-calendarlist .grouplist a:hover .text {
    color: #ffffff;
}

.events-calendarlist .grouplist .text,
.events-calendarlist .grouplist a .text {
    font-size: 18px;
    line-height: 24px;
}

.events-calendarlist .grouplist li .label {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 700;
}

.events-calendarlist .grouplist li .label,
.events-calendarlist .grouplist li .introtext {
    max-width: 1000px;
}

.events-calendarlist .grouplist li .introtext {
    font-size: 18px;
}

.events-calendarlist .grouplist li:last-child {
    margin-bottom: 0;
}

.events-calendarlist .grouplist h3,
.events-calendarlist .grouplist a h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.events-calendarlist .ajax-list-load-more {
    display: inline-block;
    background: #00377A;
    color: #fff;
    height: 60px;
    width: 250px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 20px 10px;
    box-sizing: border-box;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

.events-calendarlist .ajax-list-load-more.hidden {
    display: none;
}

.events-calendarlist .no-results {
    margin-bottom: 25px;
    margin-top: 25px;
}


.events-calendarlist .list-item .day-square {
    background: #00377A;
    color: #fff;
    width: 56px;
    height: 56px;
    text-align: center;
    line-height: 56px;
    font-size: 24px;
}

.events-calendarlist .list-item .day {
    display: flex;
    gap: 20px;
}

.events-calendarlist .list-item .day .month {
    display: none;
    font-size: 20px;
    font-weight: 700;
    color: #00377A;
}

.events-calendarlist .list-item .link a {
    background: #FF6347;
    color: #fff;
    width: 300px;
    text-align: center;
    display: inline-block;
    padding: 8px 35px;
    border-radius: 5px;
    box-sizing: border-box;
}

.events-calendarlist .list-item .link a:after {
    font-family: 'Font Awesome 6 Pro';
    content: '\f061';
    margin-left: 8px;
}

/* *** local events *** */


.events-calendarlist .grouplist h3 {
    clear: both;
}

.events-calendarlist .grouplist li.local a,
.events-calendarlist .grouplist li.local div.nolink {
    /*background-color: #FFFFF5;*/
    /*color: #576471;*/
}

.events-calendarlist .grouplist li.local a h3,
.events-calendarlist .grouplist li.local div.nolink h3,
.events-calendarlist .grouplist li.local a .text,
.events-calendarlist .grouplist li.local div.nolink .text {
    /*color: #576471;*/
}

.events-calendarlist .grouplist li.local a:hover {
    /*color: #74B841;*/
    /*background-color: #FEF7E5;*/
}

.events-calendarlist .grouplist li.local a:hover h3,
.events-calendarlist .grouplist li.local a:hover .text {
    /*color: #74B841 !important;*/
}

.events-calendarlist .grouplist .divider {
    margin-bottom: 16px;
}

.events-calendarlist .grouplist .divider:last-child {
    margin-bottom: 0px;
}

.events-calendarlist .grouplist .registration_deadline,
.events-calendarlist .grouplist .price {
    color: inherit;
}

.events-calendarlist .grouplist li .info {
    margin-top: 13px;
    display: flex;
    flex-flow: column;
    gap: 5px;
    width: calc(100% - 60px - 300px - 56px - 45%);
}

.events-calendarlist .grouplist li .info .month {
    font-size: 20px;
    font-weight: 700;
    color: #00377A;
}

.events-calendarlist .grouplist li .info .date {
    display: flex;
}

.events-calendarlist .grouplist li .info .location:before,
.events-calendarlist .grouplist li .info .date:before,
.events-calendarlist .grouplist li .info .time:before {
    font-family: 'Font Awesome 6 Pro';
    margin-right: 8px;
    color: #00528c;
}

.events-calendarlist .grouplist li .info .location:before {
    content: '\f3c5';
}

.events-calendarlist .grouplist li .info .date:before {
    content: '\f073';
}

.events-calendarlist .grouplist li .info .time:before {
    content: '\f017';
}

.events-calendarlist .more-events {
    cursor: pointer;
    display: inline-block;
    font-family: 'TheSans';
    font-size: 20px;
    font-weight: 400;
    color: #00377A;
}

.events-calendarlist .more-events::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f101';
    margin-right: 10px;
    font-weight: 900;
}

.events-calendarlist .list-item.topic_3 .day-square {
    background: #009CDA;
}
.events-calendarlist .list-item.topic_3 {
    border-left: 8px solid #009CDA;
}

.events-calendarlist .list-item.topic_2 .day-square {
    background: #0071B9;
}

.events-calendarlist .list-item.topic_2 {
    border-left: 8px solid #0071B9;
}

@media only screen and (max-width: 1450px){
    .events-calendarlist .grouplist li {
        flex-wrap: wrap;
    }

    .events-calendarlist .grouplist li .info {
        width: calc(100% - 20px - 56px);
    }

    .events-calendarlist .grouplist .text {
        padding-top: 0px;
        margin-left: 75px;
        width: 100%;
    }

    .events-calendarlist .grouplist .link {
        width: 100%;
        margin-left: 75px;
    }

}

@media only screen and (max-width: 1024px){
    .events-calendarlist .search .filter-search {
        height: 40px;
        padding: 5px 15px;
    }

    .events-calendarlist .search .innericon {
        top: 4px;
        right: 5%;
    }

    .events-calendarlist .filter-select-wrapper {
        flex-wrap: wrap;
        gap: 15px;
    }

    .events-calendarlist .filter-select-wrapper .form-select {
        width: 100%;
    }

    .events-calendarlist .filter-select-wrapper .form-select select {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 550px){
    .events-calendarlist .grouplist .link {
        max-width: 100%;
    }
}

@media only screen and (max-width: 520px){

    .events-calendarlist .legend .explanation {
        width: 100%;
    }

    .events-calendarlist .grouplist li {
        padding-left: 18px;
        padding-right: 10px;
    }

    .events-calendarlist .grouplist li .info {
        margin-top: 0px;
        width: 100%;
    }

    .events-calendarlist .grouplist .text {
        margin-left: 0px;
    }

    .events-calendarlist .grouplist .link {
        margin-left: 0px;
    }

    .events-calendarlist .grouplist .link a {
        width: fit-content;
    }

    .events-calendarlist .list-item .day {
        align-items: center;
    }

    .events-calendarlist .list-item .day .month {
        display: inline-block;
    }

    .events-calendarlist .grouplist li .info .month {
        display: none;
    }

}