.sidebar-legend-open{
    left: 0 !important;
    transition: 0.5s;
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;
    border-left-color: rgba(231, 17, 0, 0);
}
.sidebar-legend-close {
    transition: 0.5s;
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards;
}

.sidebar-legend{
    position: absolute;
    top: 40px;
    zbottom: 6px;
    width: 404px;
    left: -368px;
    z-index:1028;
    background-color: rgba(231, 17, 0, 0);
}
.sidebar-legend-panel{
    width: 364px;
    height: 100%;
    float:left;
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(95, 129, 57, 1) !important;
    border-left: solid;
    border-left-width: 4px;
    border-right: solid;
    border-right-width: 1px;
    border-bottom: solid;
    border-bottom-width: 1px;
    overflow-x:hidden;
    overflow-y: auto;
}
.sidebar-legend-button-panel{
    float:right;
    width: 40px;
    height: 100%;
}


.sidebar-legend-button-panel-button {
    width: 40px;
    height: 40px;
    text-align: center;
    padding-top: 4px;
    color: #fff;
    font-size: 18pt;
    background-color: rgba(95, 129, 57, 0.95);
    cursor: pointer;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.sidebar-legend-button-panel-button:hover {
    background-color: rgba(95, 129, 57, 1);

}


.sidebar-legend-header {
    margin: 0;
    height: 40px;
    padding: 0 0 0 15px;
    line-height: 40px;
    font-size: 14.4pt;
    color: #fff;
    background-color: rgb(70, 95, 45);
}
.sidebar-legend-panel table {
    margin-top: 10px;
    margin-bottom: 4px;
    margin-left:4px;
    margin-right:4px;
    width:98%;
}
.legend-item{
    font-weight: bold;
    font-size: 13px;
    font-stretch: condensed;
}
.legend-item-small{
    font-size: 80%;
}
.sidebar-legend-panel table td {
    line-height: 15px;
    padding: 10px 3px 10px 3px;
    text-align: left;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #d4d4d4;


}
.sidebar-legend-panel table td .header{
    font-size: larger;
    font-weight: bold;
}
.sidebar-legend-panel table td:nth-child(1){
    width:50px;
    vertical-align: top;
}
.sidebar-legend-panel table td:nth-child(2){
    width:35px;
    vertical-align: top;
}
.sidebar-legend-panel table td:nth-child(4){
    vertical-align: top;
    text-align: right;
    padding-right: 8px;
}
.zone-label{
    background-color: black;
    color: white;
    padding: 2px 3px 1px 3px;
    font-size: 9px;
    vertical-align: middle;
}
.sidebar-legend-label:hover {
    background-color: rgb(70, 95, 45);

}
.sidebar-legend-label {
    transform: rotate(270deg);
    transform-origin: left top 0px;
    margin-left: 8px;
    margin-top: 70px;
    font-size: 12pt;
    color: #fff;
    background-color: rgb(70, 95, 45);
    height: 24px;
    width: 70px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 0px;
    padding-top: 0px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;

}
.badge {
    cursor: pointer;
}
.badge:hover {
    background-color: #f86000;
}
.btn-primary {
    color: #fff;
    background-color: rgb(70, 95, 45);
}
.btn-primary:hover {
    color: #fff;
    background-color: rgb(92, 125, 57);
}
.terms:hover {
    color:rgb(70, 95, 45);
    font-weight: bold;
}