/*   <<< GLOBAL STYLES >>>   */
#map {
    position: relative;
    height: 720px;
    width: 100%;
    background-color: #e7e7e7;
}

/*   LEGEND STYLES   */
.info {
    padding: 6px 8px;
    background: white;
    background: rgba(255,255,255,0.8);
    border-radius: 5px;
}
.legend {
    /* width: 190px; */
    margin-left: 26px !important;
    margin-bottom: 26px !important;
    padding: 0px 16px 16px 16px;
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #78373F;
    line-height: 24px;
    color: #555;
}
.legend h4 {
    text-align: left;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 64px;
    margin: 0px;
    color: white;
}
.legend span {
    position: relative;
    margin-left: 5px;
    color: white;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    bottom: 3px;
}
.elem::before {
    content: url(/resources/img/icons/circleElem.svg);
    float: left;
    width: 16px;
}
.mid::before {
    content: url(/resources/img/icons/circleMiddle.svg);
    float: left;
    width: 16px;
}
.high::before {
    content: url(/resources/img/icons/circleHigh.svg);
    float: left;
    width: 16px;
}
.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin: 0 8px 0 0;
    opacity: 1;
}
.legend i.icon {
    background-size: 18px;
    background-color: rgba(255, 255, 255);
}

/*   CONTROL PANEL STYLES   */
label {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 18px;
}

/*   DRAWING STYLES   */
.circleElem {
    background: #89A4EA;
    border:1px solid;
    border-radius: 50%; /* make the div a circular shape */
    border-color: white;
    border-width:  2px;
    cursor: pointer;
    transition: 0.5s fill, 0.5s stroke-width;
    /*
    border: 2px solid #111111; /* Example: white border, adjust as needed */
    /*
    box-shadow: 0px 0px 10px rgba(0,0,0,0.9); /* Example shadow: horizontal offset, vertical offset, blur radius, color */
}
.circleMiddle {
    background: #E86292;
    border:1px solid;
    border-radius: 50%; /* make the div a circular shape */
    border-color: white;
    border-width:  2px;
    cursor: pointer;
}
.circleHigh {
    background: #ECB028;
    border:1px solid;
    border-radius: 50%; /* make the div a circular shape */
    border-color: white;
    border-width: 2px;
    cursor: pointer;
}   
div.image::before {
    content:url(https://raw.githubusercontent.com/San-Diago/ManchesterSchools/main/data/SchoolsLegend.png?token=GHSAT0AAAAAACANBOCXQVPZ3OA4IXK5AS3AZBWZL7Q);
}
.popElemLine {
    position: absolute;
    box-sizing: border-box;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 10px;
    background-color: #89A4EA;
    border: solid #626262;
    border-top: #89A4EA;
    border-width: 2px;
    border-radius: 5px;
}
.popMiddleLine {
    position: absolute;
    box-sizing: border-box;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 10px;
    background-color: #E86292;
    border: solid #626262;
    border-top: #E86292;
    border-width: 2px;
    border-radius: 5px;
}
.popHighLine {
    position: absolute;
    box-sizing: border-box;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 10px;
    background-color: #ECB028;
    border: solid #626262;
    border-top: #ECB028;
    border-width: 2px;
    border-radius: 5px;
}
.popLink {
    width: 120px;
    height: 24px;
    margin: 10px auto 10px auto;
    border: solid #626262;
    border-width: 2px;
    border-radius: 3px;
}
.popLink:hover {
    background-color: #626262;
}
.popLink:hover a {
    color: white;
}