@import url('https://fonts.cdnfonts.com/css/calibri-light');

.schools_map {
    margin-bottom: 2rem;

    @media (max-width: 1200px) {
        flex-direction: column;
        margin-bottom: 30px;
        padding-bottom: 40px;

    }

    @media(min-width: 1200px) {
        height: 900px;
    }

    height: 1500px;
}

.schools_map__sidebar {
    background-color: #2392B2;
    padding: 30px 20px 20px 20px;

    @media (max-width: 1200px) {
        height: 25%;
    }

    @media (min-width: 1200px) {
        width: 25%;
        height: 100%;
    }

    & .schools_map__sidebar__title {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        & h4 {
            font-family: Rubik, sans-serif;
            font-size: 32px;
            line-height: 40px;
            font-weight: 600;
            color: #fff;
            padding: 0 10px 0 0;
        }

        .school_map__count {
            font-family: 'Rubik', sans-serif;
            font-size: 32px;
            line-height: 30px;
            font-weight: 600;
            color: #fff;
            background-color: #FBBC16;
            border-radius: 50px;
            padding: 8px 16px 8px 16px;
        }
    }

    & .schools_map__sidebar__search {
        position: relative;
        & .schools_map__sidebar__search__icon {
            position: absolute;
            left: 8px;
            top: 6px;
        }

        & .schools_map__sidebar__search__input {
            width: 100%;
            padding: 6px 12px 6px 40px;
            border-radius: 5px;
            border: none;
            font-size: 16px;
            font-family: 'Calibri Regular', sans-serif;
            margin-bottom: 1rem;
        }
    }

    & .schools_map__sidebar__items {
        overflow-y: auto;
        max-height: 80%;
        margin-right: -20px;


        & .schools_map__sidebar__item.active {
            background-color: #FEF4D5;
        }

        & .schools_map__sidebar__item {
            max-width: 95%;

            @media (max-width: 1200px) {
                max-width: 98%;
            }
            width: 100%;
            background-color: #fff;
            margin-bottom: 12px;
            border-radius: 8px;
            padding: 8px;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s;

            &:hover {
                background-color: #FEF4D5;
            }
            & .schools_map__sidebar__item__title {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                margin-left: 8px;

                & .schools_map__sidebar__item__title__town {
                    font-family: 'Calibri Regular', sans-serif;
                    font-size: 16px;
                    font-weight: 700;
                    line-height: 20px;
                    margin-left: 5px;
                }

                & .schools_map__sidebar__item__title__state {
                    font-family: 'Calibri Regular', sans-serif;
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 17px;
                    color: #787878;
                    margin-left: 4px;
                }
            }
        }
    }
    & .schools_map__sidebar__items::-webkit-scrollbar {
        border-radius: 8px;
        background-color: #EDEDED;
    }
    & .schools_map__sidebar__items::-webkit-scrollbar-thumb {
        background-color: #CACACA;
        border-radius: 8px;
        height: 20px;
    }
}


.state_label {
    font-size: 28px;
    color: #292D32;
    font-family: 'Open-sans', sans-serif;
    line-height: 34.18px;
}

.state_label.WA, .state_label.SA, .state_label.NSW {
    min-width: 225px;
}

.state_label.ACT{
    min-width: 304px;
}

.location_state {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
.location_state_count_wrapper {
    position: absolute;
    top: -100px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.location_state_count {
    color: #FAA332;
    font-size: 28px;
    font-family: 'Open-sans', sans-serif;
    line-height: 34.18px;
    padding: 8px;
    background-color: #fff;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;

    &:after {
        content: '';
        display: block;
        width: 12px;
        height: 12px;
        background-color: #fff;
        margin-top: 8px;
        position: absolute;
        bottom: -5px;
        rotate: 90deg;
        left: calc(59% - 12px);
        transform: rotate(45deg);
    }
}


.leaflet-control-attribution {
    display: none;
}

.leaflet-div-icon{
    border: none !important;
    background-color: transparent !important;
}

.map-marker-large {
    background-color:#FAA332;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: relative;
}

.map-marker-large::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
}

.ggsa-map-marker {
    background-color:#fff;
    border-radius: 50%;
    position: relative;
    border: 5px solid #FAA332;
}

.ggsa-map-marker .count {
    font-size: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}


.map-marker-small {
    height: 36px;
    width: 36px;
}

.map-marker-medium {
    width: 44px;
    height: 44px;
}

.map-marker-big {
    width: 52px;
    height: 52px;
}

.ggsa-fake-markers {
    z-index: -1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.ggsa-fake-markers span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 5px solid #FAA332;
    background-color: #fff;
    opacity: .6;
}

.ggsa-fake-markers span:nth-child(1) {
    width: 85%;
    height: 85%;
    margin-left: 35%;
    margin-top: 25%;
}

.ggsa-fake-markers span:nth-child(2) {
    width: 100%;
    height: 100%;
    margin-left: -33%;
    margin-top: 25%;
}

.ggsa-fake-markers span:nth-child(3) {
    width: 85%;
    height: 85%;
    margin-left: -5%;
    margin-top: 25%;
}
