#hoverInfoBox {
    user-select: none;
    /* Standard */
    position: absolute;
    z-index: 10000;
    padding: .65rem;
    background-color: #fbfdf9;
    /*change this*/
    display: none;
    border-radius: 10px;
    line-height: 1.5rem;
    max-width: 20rem;
    min-width: 11rem;
    max-height: 75vh;
    height: auto;
/*    color: var(--accent-color);*/
   /* border: 1px solid var(--accent-color);*/
    box-shadow: 0px 5px 25px rgba(0, 0, 0, .4);
    font-size: 0.9rem;
    padding-right:2rem;
}

#hoverInfoBoxContainer{
    width:100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top:0;
    left:0;
    display: none;
    align-items: center; 
    justify-content: center;
}

#hoverInfoBox .legendColorBox{
    /* smaller than legend chips*/
    width:0.65rem; 
    height:0.65rem;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    margin-left: 0;
}

/* styling for herd select box hover */
.herd-hover-popup .mapboxgl-popup-content {
    padding: 0.75rem 0.85rem;
    background-color: #fbfdf9;
    border-radius: 10px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, .4);
    font-size: 0.9rem;
    min-width: 11rem;
    max-width: 18rem;
    width: max-content;
    height: auto;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    overflow: visible;
}

.herd-hover-popup .mapboxgl-popup-tip {
    border-top-color: #fbfdf9;
}

.herd-hover-popup .legendLine {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: auto;
}

.herd-hover-popup .legendColorBox {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.herd-hover-popup .hoverTitle {
    font-size: 1rem;
    line-height: 1.6rem;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    min-width: 0;
}


.triangleDown{
    position: absolute;
    margin: 0px auto;
    bottom: -10px;
    left: calc(50% - 25px);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #fbfdf9;
    pointer-events: none;
}


.triangleUp{
    position: absolute;
    margin: 0px auto;
    top: -10px;
    left: calc(50% - 15px);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid #fbfdf9;
    pointer-events: none;
}
.hoverTitle {
    font-size: 1rem;
    /* font-weight: bold; */
    display: inline;
}

.hoverTitle:hover {
    text-shadow: 0px 0px 0.1rem #333;
    cursor: pointer;
}


.hoverOtherMigrations{
    width:100%;
    display: inline;
}

.hoverUseClass{
    
    width:100%;
    display: inline;
}
.hoverContent {
    width:100%;
}

.hoverOwnership{
    color: var(--accent-color);
    display: inline-block;

}

.expandIcon{
    margin-left: 0.5rem;
    /*  for bullseye or pointer */
    font-size:large;
    
    /* font-size: small; 
    font-variant: small-caps;  */

   
}

#boxExitButton{
    display:none;
    position: absolute;
    top: 9px;
    right: 12px;
    font-size: 1.5rem;
    text-align:center;
    height: 0.8rem;
    width: 0.8rem;
    color:grey;
    border-radius: 3px;
    border-color:transparent;
    cursor:default;
    border-width: 1px;
    border-style:solid;
    text-shadow: 0px 0px 0px black;
    transition: text-shadow 0.1s ease;
}

#boxExitButton:hover {
    text-shadow:0px 0px 2px hsl(0, 0%, 0%, 0.5);
    cursor: pointer;
}