@import url('https://unpkg.com/leaflet@1.9.4/dist/leaflet.css');

ul.arts_selector > li > span:hover {
    cursor: pointer;
}

ul.arts_selector > li > span.active {
    border-bottom: 1px solid;
}

ul.arts_selector {
    display: flex;
    margin: 0;
    padding: 1em 5em;
    justify-content: space-between;
    gap: 2em;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 1px solid #cbcbcb;
}

#map {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 0;
}

.searcher {
    height: 4em;
    display: flex;
    gap: 2em;
    justify-content: space-between;
    align-items: center;
    padding: 1em 5em;
}

.searcher .localise .icon {
    width: 1.5em;
}

.searcher input[type="text"]:focus {
    outline: none;
    background: none;
}

.searcher input[type="text"] {
    width: 60%;
    height: 2em;
    text-transform: uppercase;
    border: none;
    border-bottom: 1px solid #cbcbcb;
    background-image: url('/assets/icons/1382519138.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - .5em) center;
    background-size: 1.25em;
}

.localise {
    border: 1px solid #cbcbcb;
    height: 2em;
    display: flex;
    align-items: center;
    padding: 0 0.5em;
}

.localise:hover {
    cursor: pointer;
}

.locator_results_searcher {
    padding: 1em 5em;
}

.locator_results_searcher_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
}

.locator_results_counter {
    margin: 0 0 2rem;
}

.locator_results_counter span {
    font-size: 1.2rem;
}

.dojo_card {
    width: 48%;
    border: 1px solid #cbcbcb;
    position: relative;
    display: flex;
}

.dojo_card:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}

span.art_type {
    position: absolute;
    right: 0;
    font-size: 11px;
}

.dojo_logo {
    box-sizing: border-box;
    width: 7.5em;
    padding: 1em;
    display: flex;
    align-items: center;
}

.dojo_logo > img {
    width: 100%;
    height: auto;
}

.dojo_desc {
    display: flex;
    flex-direction: column;
    padding: 1em 1em 1em 0;
}

span.art_type {
    padding: 0.25em;
}

span.dojo_title {
    font-weight: bold;
    font-size: 15px;
}

span.dojo_address {
    font-size: 13px;
}

element.style {
    display: flex;
    padding: 0.5em 0;
    gap: 0.5em;
}

.locator_dojo_contact_buttons {
    display: flex;
    padding: 0.5em 0;
    gap: 0.5em;
}

.locator_dojo_contact_buttons > a > img.icon {
    width: 1.5em;
}

.locator_list_container {
    width: 50%; height: 100%;
}

.locator_main_div {
    width: 100%;
    display: flex;
}

@media screen and (max-width: 600px) {
    .locator_list_container {
        width: 100%;
        height: 100%;
    }

    ul.arts_selector{
        padding: 1em;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 1.5rem;
    }

    .searcher {
        padding: 1rem 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .searcher input[type="text"] {
        width: 80%;
    }

    .locator_results_searcher {
        padding: 1em;
    }

    .dojo_card {
        width: 100%;
    }

    #map {
        height: 40vh;
        width: 100%;
        position: relative;
        top: 0px;
        outline-style: none;
    }

    .locator_main_div {
        flex-direction: column-reverse;
    }
}