.event-title {
    font-family: Merriweather-Bold, serif;
    font-size: 19px;
    line-height: 28px;
    letter-spacing: 0.05em;
    color: #1A1B1C;
}

.event-location {
    background-color: #4094FB;
    border-radius: 6px;
    padding-inline: 7px;
    height: auto;
    display: inline-block;
    padding-top: 7px;
    padding-bottom: 4px;
    line-height: 14px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.event-location-text {
    width: fit-content;
    font-family: Rogan, sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    text-transform: uppercase;
}

.event-date{
    font-family: Rogan-Bold, sans-serif;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #1A1B1C;
}

.event-time{
    font-family: Rogan, sans-serif;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #1A1B1C;
}

#event-body{
    font-size: 18px !important;
    text-align: justify;
    letter-spacing: 0.05em;
    color: #585858;
    margin-top: 1.4rem;
}

#event-body * {
    font-family: Merriweather, serif !important;
    line-height: 25px;
    font-size: 13px !important;
}

.event-subtitle{
    font-family: Rogan-Bold, sans-serif;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #1A1B1C;
}

.event-subtext{
    font-family: Merriweather, serif;
    font-size: 13px;
    line-height: 29px;
    text-align: justify;
    letter-spacing: 0.05em;
}

.large-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4094FB;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-family: Rogan, sans-serif;
    font-size: 15px !important;
    line-height: normal;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    text-transform: uppercase;
    height: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.large-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: #337fdc;
    outline: none;
    color: white;
    transform: translateY(-2px);
}

.event-image{
    box-sizing: border-box;
    width: 122px;
    height: 122px;
    border: 1px solid #E8E8E8;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 6px;
}

.event-image-hover:hover{
    cursor: pointer;
}

.event-details{
    margin: 0 0.65rem 0.65rem;
    padding-bottom: 0.7rem;
}

.fc-button-primary{
    font-family: Rogan, sans-serif !important;
    background-color: #4094FB !important;
    border: none  !important;
    border-radius: 6px  !important;
    height: 40px  !important;
    width: 70px !important;
    text-transform: uppercase  !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important;
    font-size: 13px !important;
    line-height: 33px !important;
    letter-spacing: 0.05em !important;
    color: #FFFFFF !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
    margin-top: 8px !important;
    margin-right: 4px !important;
}

.fc-button-primary:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: #337fdc;
    outline: none;
    color: white;
    transform: translateY(-2px);
}

.fc-today-button{
    width: 50px !important;
}

.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
    margin-left: 0 !important;
}

.fc-prev-button{
    width: 55px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-right: 3px !important;
    margin-left: 5px !important;
    font-size: 18px !important;
    line-height: 2px !important;
}

.fc-next-button{
    width: 55px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    font-size: 18px !important;
    line-height: 2px !important;
}

.fc-Lista-button{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-right: 3px !important;
}

.fc-Hónap-button{
    border-radius: 0 !important;
    margin-right: 3px !important;
}

.fc-Nap-button{
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.fc-toolbar-title{
    font-family: Rogan-Bold, sans-serif !important;
    font-size: 20px !important;
    letter-spacing: 0.05em !important;
    margin-top: 10px !important;
}

.fc-list-day-cushion{
    background-color: #4094FB !important;
    border-radius: 6px !important;
}

.fc-list-day-side-text{
    font-family: Rogan, sans-serif !important;
    color: white;
    font-size: 18px;
}

.fc-list-day-side-text{
    text-decoration: none !important;
    color: white !important;
}

.fc-list-event-time{
    font-family: Rogan, sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0.05em !important;
    width: 175px !important;
    text-align: center !important;
    vertical-align: middle !important;
    background-color: #E1E1E1;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    padding-top: 11px !important;
}

.fc-list-day-text{
    font-family: Rogan, sans-serif !important;
    color: white;
    font-size: 18px;
    background-color: #2C77D1;
    margin: 0 !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    display: grid !important;
    align-items: center !important;
    justify-items: center !important;
    height: 100% !important;
    width: 175px !important;
    padding: 5px !important;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.fc-list-day-text:hover{
    text-decoration: none;
    color: white;
}

.fc-list-event-title{
    background-color: #F4F4F4;
    font-family: Merriweather-Bold, serif;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.05em;
}

.fc-list-event{
    border: 3px solid white !important;
    border-radius: 6px !important;
}

.fc-list-event:hover{
    box-shadow: 0 0 !important;
}

.fc-list-event:hover > td:first-child{
    background-color: #E1E1E1 !important;
}

.fc-list{
    border: 0 !important;
}

.fc-list-empty{
    font-family: Rogan-Bold, serif;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.05em;
    background-color: white !important;
}

.image-container {
    width: 193px;
    height: 193px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.event-thumb-image {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.event-card {
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    height: 195px;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: visible !important;
}

.event-card:hover {
    transition: all 0.5s ease;
    margin-right: 0;
    box-shadow: 0 3px 13px -3px rgba(0, 0, 0, 0.15);
    display: block;
}

.event-data{
    display: flex;
    flex-direction: column;
    gap: clamp(7px, 2vh, 17px);
    padding: 10px 15px 18px 15px;
}

.card-location-list {
    align-self: flex-start;
    padding-top: 6px;
    padding-bottom: 4px;
    line-height: 16px;
}

.card-location-text {
    width: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.event-title-list {
    align-self: flex-start;
    margin: 0;
}

.event-data-footer {
    display: flex;
    margin-top: auto;
    justify-content: space-between;
    align-items: center;
}

.event-date-footer{
    display: flex;
    align-items: center;
}

.hover-icon{
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.card:hover .hover-icon {
    opacity: 1;
}

.arrow-icon{
    width: 35px;
    height: 35px;
}

.filter-card{
    background-color: #E8E8E8;
    border-radius: 6px;
    border: none;
    height: 305px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.filter-label{
    font-family: Rogan-Bold, sans-serif !important;
    font-size: 15px !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0 !important;
    text-align: end;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

.filter-field{
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid #272727;
    width: 90%;
    font-family: Rogan-Bold, sans-serif !important;
    letter-spacing: 0.05em !important;
}


select[name="taxonomy"] {
    background: url('../../images/dropdown.png') #ffffff no-repeat center right;
    background-size: 31px 35px;
}

select[name="organization"] {
    background: url('../../images/dropdown.png') #ffffff no-repeat center right;
    background-size: 31px 35px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    height: 27px;
    width: 27px;
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    opacity: 0;
}

input[name="date"] {
    background: url('../../images/datepick.png') #ffffff no-repeat center right;
    background-size: 31px 36px;
    position: relative;
    padding-right: 2.5rem;
}

.bold-rogan-text{
    font-family: Rogan-Bold, serif;
    letter-spacing: 0.05em;
}


.page-item.active .page-link {
    background: #4094FB !important;
    color: white !important;
    border-color: #4094FB !important;
}

.pagination .page-link:hover, .pagination .page-link:focus {
    background-color: #cccccc !important;
}

.pagination .page-link {
    border: none !important;
    font-family: Rogan-Bold, serif !important;
    background: #efefef !important;
    margin: 0 2px !important;
    border-radius: 6px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #787878 !important;
}

#public_calendar .fc-daygrid-event {
    font-family: Rogan, sans-serif !important;
    color: white !important;
    background-color: #4094FB !important;
    border: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 6px !important;
}

#public_calendar .fc-daygrid-event:hover {
    color: white !important;
}


.fc-col-header-cell-cushion{
    font-family: Rogan-Bold, sans-serif !important;
    color: black !important;
    font-size: 17px;
}

.fc-col-header-cell-cushion:hover{
    text-decoration: none !important;
}


.fc-daygrid-day-number{
    font-family: Rogan, sans-serif !important;
    color: black !important;
    font-size: 17px;
}

.fc-daygrid-day-number:hover{
    text-decoration: none !important;
}

.fc-timegrid-axis-cushion{
    font-family: Rogan, sans-serif !important;
}

.fc-timegrid-slot-label-cushion{
    font-family: Rogan-Bold, sans-serif !important;
}

#public_calendar .fc-timegrid-event {
    background-color: #4094FB !important;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.fc-event-main{
    font-family: Rogan-Bold, sans-serif !important;
    color: white !important;
    font-size: 16px !important;
}

.fc-event-time{
    font-family: Rogan, sans-serif !important;
    margin-top: 5px;
    margin-left: 5px;
}

.fc-event-title.fc-sticky{
    padding-top: 0 !important;
}

.large-button:focus-visible,
.buttonStyle:focus-visible,
.page-link:focus-visible,
.fc-button-primary:focus-visible,
#public_calendar .fc-daygrid-event:focus-visible,
#public_calendar .fc-timegrid-event:focus-visible,
.cardhref:focus-visible,
#event-body a:focus-visible,
.event-image:focus-visible{
    box-shadow: 0 0 0 5px #ffc10799 !important;
    border: 2px solid var(--white) !important;
    border-radius: 6px !important;
    outline-offset: 7px !important;
    outline-style: dashed !important;
    outline-width: thin !important;
    outline-color: black;
    z-index: 20 !important;
    position: relative !important;
}

.fc-list-event-title a:focus-visible,
.event-subtext:focus-visible{
    display: inline-block;
    box-shadow: 0 0 0 7px #ffc10799 !important;
    border: 2px solid var(--white) !important;
    border-radius: 6px !important;
    outline-offset: 9px !important;
    outline-style: dashed !important;
    outline-width: thin !important;
    outline-color: black;
    z-index: 20 !important;
    position: relative !important;
}

.filter-field:focus-visible {
    box-shadow: 0 0 0 4px #ffc10799 !important;
    border: 1px solid var(--white) !important;
    border-radius: 6px !important;
    outline-offset: 2px !important;
    outline-style: dashed !important;
    outline-width: thin !important;
    z-index: 2 !important;
    position: relative !important;
}

.btn:focus {
    outline: #2c77d1;
}

.fancybox:focus-visible{
    outline: 0 white;
}

.fc-event-selected:after,
.fc-event:focus:after {
    content: none !important;
}

#card-list{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

@media (max-width: 680px) {
    .filter-card{
        margin-left: 0;
        margin-right: 0;
    }

    #card-list{
        margin-left: 0;
        margin-right: 0;
    }

    .fc-button-primary:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        background: #4094FB;
    }

    .fc-today-button {
        display: none !important;
    }

    .fc-Lista-button{
        display: none !important;
    }

    .fc-Hónap-button{
        display: none !important;
    }

    .fc-Nap-button{
        display: none !important;
    }

    .event-card {
        height: 130px;
    }

    .image-container {
        width: 130px;
        height: 130px;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }

    .card-title {
        font-size: 13px;
        line-height: 20px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
    }

    .event-data{
        gap: 5px !important;
        padding: 8px 10px 8px 10px;
    }

    .card-date {
        font-size: 13px;
        margin-right: 0 !important;
        line-height: 20px;
    }

    .card-time{
        font-size: 13px;
        line-height: 20px;
    }

    .hover-icon{
        bottom: 12px;
        right: 12px;
    }

    .arrow-icon{
        width: 30px;
        height: 30px;
    }

    .event-date-footer{
        flex-direction: column;
        align-items: start;
    }

    .card-location-list {
        line-height: 12px;
        padding-top: 5px;
        padding-bottom: 3px;
    }

    .card-location-text {
        font-size: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
    }

    #event-body p{
        text-align: start !important;
    }

    .event-details{
        margin: 0 0 0 0;
    }
}
