:root {
    --state-without-doctors-color: #ccc;
    --state-with-doctors-color: #3782CA;
}

.map {
    width: 100%;
    height: auto;
}

.map .state {
    stroke: #fff;
    stroke-width: 1.5;
    fill-opacity: 0.8;
}

.map .state:hover {
    fill-opacity: 1;
}

.map .state-label {
    cursor: default;
    pointer-events: none;
    text-anchor: middle;
    fill: #fff;
    font-size: 0.5em;
    font-weight: bold;
}

.my-tooltip {
    position: fixed;
    padding: 0 0.8rem;
    background-color: #0e487e;   
    border-radius: 5px;
}

.my-tooltip::after {
    content: ''; 
    position: absolute;
    bottom: -15px; /* Adjust the offset as needed */
    left: 50%;
    margin-left: -5px; /* Half the width of the arrow */
    border-width: 15px 10px 0 10px; /* Creates the triangle shape */
    border-style: solid;
    border-color: #0e487e transparent transparent transparent; /* Color of the arrow */
}

.my-tooltip .list-group {
    line-height: 1.5em;
    padding: 0.3rem 0.8rem;
    background-color: #0e487e;
    padding-left: 0;
    margin: 0;
}

.my-tooltip .list-group > .list-group-item-primary {
    color: white;
    background-color: #0e487e;
    text-align: center;
    font-weight: 600;
    font-size: 1em;
}

.list-group-item {
    position: relative;
    display: block;
    padding: .5rem 1rem;
    text-decoration: none;
    color: white;
    background-color: #0e487e;
    border: none;
    border-bottom: 1px solid white;
    font-size: 1em;
}

.list-group-item:last-child{
    border-bottom: none;
}

.list-group-item a{
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
}
    
.list-group-item a:hover,
.list-group-item a:focus,
.list-group-item a:visited{
    color: #88cf63;
    text-decoration: none;
}

.list-group-item .com_contact {
    font-size: 0.8em;
    text-align: center;
}

.list-group-item br{
    display: none;
}

@media screen and (max-width: 768px){
    .map .state-label{
        font-size: 1.2em;
    }

    .my-tooltip .list-group {
        padding: 0.3rem 0.8rem;
    }

    .my-tooltip .list-group{
        padding: 0;
    }

    .my-tooltip{
        padding: 0 10px;
        font-size: 8px;
    }
}