.legend-frame{
    border:2px solid #1f3c5c;
    border-radius:4px;
    padding:30px 25px 25px 25px;
    background:#ffffff;
    position:relative;
}

.legend-title{
    font-size:22px;
    font-weight:700;
    color:#ffffff;
    background: rgba(14, 51, 149, 0.89);
    padding:6px 20px;
    border-radius:3px;
    border:1px solid #1f3c5c;
    box-shadow:0 3px 6px rgba(0,0,0,0.2);
    letter-spacing:0.5px;
    display:table;
    margin:0 auto;   /* centers the legend */
    text-align:left;
}