/*MAP*/
.map-container {
    padding: 0 0 0 0;
    height: 100%;
    margin-top: -18px;
}
#map {
    width: 100%;
    height: 100%;
}

#map-wrapper {
    height: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    
}

#map-wrapper > .header {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}

#map-wrapper > .header + div {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
}

#map-wrapper > .header + div > div:first-of-type {
    -webkit-flex: 7 0 0;
    flex: 7 0 0;
}

#map-wrapper > .header + div > div:last-of-type {
    -webkit-flex: 3 0 0;
    flex: 3 0 0;
}


 /* The side navigation menu */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 52;
    right: 0;
    background-color: rgba(255, 255, 255, 0.6);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    padding-left: 5px;
    font-size: 12px;
}
.sidenav a:hover{
    text-decoration: none;
}
.sidenav a:active{
    text-decoration: none;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    font-size: 36px;
    color: #090;
    padding-left: 2px !important;
}
.sidenav a:hover{
    color: #090 !important;
}
.sidenav fieldset{
    background-color: #fff;
}

.sidenav .legend{
    background-color: #fff;
}
.sidenav legend{
    font-size: 15px;
    font-weight: bold;
}
.legend-group{
    margin-left: 5px;
}
.legend .green{
    background-image: url('../images/accident_green.png');
}
.legend .brown{
    background-image: url('../images/otherspatialcomments.png');
}
.legend .violet{
    background-image: url('../images/otheractivitysigns.png');
}
.legend .red{
    background-image: url('../images/directspeciesobservations.png');
}
.legend .black{
    background-image: url('../images/animalvehiclecollisions.png');
}
.legend .orange{
    background-image: url('../images/tracks.png');
}
.legend-item{
    padding-left: 15px;
    background-repeat: no-repeat;    
    line-height: 13px;    
}

/*MAP TOOLS*/
.map-tools {
    position: absolute;
    top: 190px;
    z-index: 1000;
}
.map-tools .tool {
    margin-left: 23px;
    margin-bottom: 10px;
}
.map-tools .tool-group {
    margin-left: 5px;
}
.tools {
    position: absolute;
    top: 190px;
    right: 0;
    margin: 5px 8px 5px 5px;
}
.tools .tool {
    margin: 0 0 10px 0;
    z-index: 1000;
}
.searchTool{
    position: absolute;
    right: 0;
    margin: 9px 55px 0px 0px; 
    z-index: 1000;
}

.tool .btn{
    padding: 8px 13px;
}

.searchTool .form-control{
    padding: 20px 19px;
}

.info-window {
    min-width: 300px;
    max-width: 350px;
}
.info-window.en {
    min-width: 350px;
}
.info-window-group {
    min-width: 160px;
    max-width: 300px;
}
@media (max-width: 768px) {
    .info-window {
        min-width: 250px;
        max-width: 300px;
    }
    .info-window.en {
        min-width: 300px;
        max-width: 300px;
    }
}
.info-window table {
    width: 100%;
}
.info-window table td {
    color: #000000;
}
.info-window a:hover {
    text-decoration: none;
}
.info-window hr {
    margin-bottom: 10px;
    margin-top: 10px;
}
td.info-window-title,
.info-window-title-text,
.info-window em {
    color: #7D7D7D !important;
}
.info-window-pictures {
    font-size: 24px;
    line-height: 24px;
}