.modalboxclub {
    display: none;
    position: fixed;
    left: 0;
    top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
    right: 0;
    z-index: 100000;
	box-sizing: border-box;
	opacity: 0;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.modalboxclub {
	transition: opacity 0.5s ease-out, display 0.5s ease-out allow-discrete;
}
.modalboxclub .modalbox-header {
	top: 0;
}
.modalboxclub:target {
	opacity: 1;
	display: flex;
}

@starting-style {
    .modalboxclub:target {
        opacity: 0;
    }
}
.modalboxclub .modalbox-close, .modalboxclub .modalbox-close a[href='#close'] {
    position: absolute;
    max-width: none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    color: transparent;
	margin: 0;
}
div.modalboxclub .modalbox-content-wrap {
    max-width: 100vw;
    overflow: auto;
    position: relative;
    z-index: 3;
    animation: load-modal-content 0.5s 1 backwards !important;
    overscroll-behavior: contain;
    width: 100%;
    width: calc(100vw - 16px);
    height: 100%;
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	min-height: unset !important;
}
.modalboxclub .modalbox-content {
    position: relative;
}
div.modalboxclub {
    align-items: flex-start;
}
#modal-list-club img, #modal-list-club .wp-block-image, #modal-list-club .wp-block-image a {
    max-width: 90%;
}
#modal-find-club .modal-list-club-buttons a {
	white-space: nowrap;
	margin-right: 0;
}

#modal-list-club .timetable a.wp-element-button {
    white-space: nowrap;
}
#modal-list-club .timetable a.wp-element-button::before {
    content: "";
    border-left: 1.3em solid;
    mask-image: url(/wp-content/themes/formfactory/assets/images/icon_club_timetable.svg);
    mask-size: contain;
    mask-repeat: repeat;
    mask-position: 0% 0%;
    height: 1.3em;
    margin: 0 0.5em 0 0;
    vertical-align: bottom;
}
#modal-list-club .timetable a.wp-element-button::after {
    content: none;
}

#modal-list-club .timetable a.wp-element-button>strong {
    padding-left: 1.8em;
}

#modal-find-club .modal-help-input-value a {
	cursor: pointer;
    white-space: nowrap;
}
.modal-help-input>div {
	position: relative;
}
input#modal-search-input {
    background-image: url(/wp-content/themes/formfactory/assets/images/icon_club_search.svg);
    background-size: auto 70%;
    background-repeat: no-repeat;
    background-position: 0.5em 50%;
    padding-left: 3em;
    font-size: 1.2em;
	margin-right: 0;
}

#modal-find-club button[type=reset], #modal-find-club button[type=reset]:is(:hover, :focus, :active){
    border-width: 0px !important;
	outline: none !important;
    position: absolute;
    right: 0;
    top: 3px;
    display: flex;
    align-items: center;
    align-content: center;
    margin: 0;
	background: transparent;
    font-size: 1.2em;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

#modal-find-club button[type=reset]::after {
    content: "";
    display: block;
    border-color: inherit;
    border-style: solid;
    clip-path: polygon(13.1px 2.83px, 17.09px 5.41px, 21.75px 10.07px, 26.41px 5.41px, 28.41px 7.41px, 23.75px 12.07px, 28.41px 16.73px, 26.41px 18.73px, 21.75px 14.07px, 17.09px 18.73px, 15.09px 16.73px, 19.75px 12.07px, 15.09px 7.41px, 17.09px 5.41px, 13.1px 2.83px, 3.98px 12.43px, 13.07px 21.31px, 30.99px 21.31px, 30.99px 2.83px, 13.1px 2.83px, 11.88px 0px, 33.82px 0px, 33.82px 24.15px, 11.91px 24.15px, 0px 12.51px, 11.88px 0px, 13.1px 2.83px);
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    border-width: 14px 19px;
}
#modal-find-club input#modal-search-input:placeholder-shown + button[type=reset] {
    opacity: 0;
    pointer-events: none;
}

#modal-list-club .hidden {
	opacity: 0;
	max-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
}
.city-layout, .club-layout {
	transition: all 0.5s;
	box-sizing: border-box;
}
@media(max-width: 1000px){
    #modal-list-club .timetable a.wp-element-button {
        font-size: 0;
    }
    #modal-list-club .timetable a.wp-element-button::before {
        font-size: 15px;
        margin: 0;
    }

}
@media(min-width: 1000px){
    body:not(.scroll-down) div.modalboxclub.onhover:not(:target) {
        display: flex;
        top: calc(var(--wp--custom--main-menu-height, 100px) + var(--wp-admin--admin-bar--height, 0px) - 1px);
		opacity: 1;
        max-height: calc(100vh - var(--wp--custom--main-menu-height, 0px) - var(--wp-admin--admin-bar--height, 0px));
		@starting-style {
			opacity: 0;
		}
    }
    div.modalboxclub.onhover:not(:target) .modalbox-content-wrap {
        max-height: calc(100vh - var(--wp--custom--main-menu-height, 0px) - var(--wp-admin--admin-bar--height, 0px));
    }
    div.modalboxclub.onhover:not(:target) .modalbox-header {
        display: none;
    }
    body:not(.scroll-down) div.modalboxclub:not(:target) {
        transition: opacity 0.5s ease-out, display 0.5s ease-out allow-discrete, top 0s 0.5s allow-discrete;
        @starting-style {
                opacity: 0;
        }
    }
    body:not(.scroll-down) div.modalboxclub:not(:target) .modalbox-header {
        transition: display 0.5s 0.5s ease-out allow-discrete;
        @starting-style {
                display: none;
        }
    }    .is-style-main-menu .showclubs a span {
        position: relative;
    }
    
    .is-style-main-menu .showclubs:hover a span::before {
        content: "";
        position: absolute;
        top: 100%;
        left: -1em;
        right: -1em;
        height: calc(var(--wp--custom--main-menu-height, 100px) / 2 - 0.5em);
    }
    .is-style-main-menu .showclubs a::after {
        content: "";
        display: inline-block;
        outline: solid 2px currentColor;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false"><path d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5" stroke-color="currentColor"></path></svg>');
        border-right: solid .6em currentColor;
        height: .6em;
        margin:  0.25em 0 0.25em 0.25em;
        clip-path: polygon(5.33px 6.18px, 5.33px 6.18px, 5.24px 6.18px, 5.15px 6.17px, 5.06px 6.15px, 4.98px 6.13px, 4.89px 6.10px, 4.81px 6.06px, 4.73px 6.02px, 4.65px 5.97px, 4.57px 5.92px, 4.5px 5.86px, 0px 1.87px, 1.66px 0px, 5.33px 3.26px, 9px 0px, 10.66px 1.87px, 6.16px 5.87px, 6.16px 5.87px, 6.09px 5.93px, 6.01px 5.98px, 5.93px 6.03px, 5.85px 6.07px, 5.77px 6.11px, 5.68px 6.14px, 5.6px 6.16px, 5.51px 6.18px, 5.42px 6.19px, 5.33px 6.19px); 
        vertical-align: middle;

    }
}