﻿/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Global Institute for Water Security | Global Water Futures
 * Copyright (c) 2020 All Rights Reserved
 * Author: Stephen O'Hearn
 *
 * Style sheet for the legend of the GWFNet global map.
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.legendPic {
    width: 20px;
    height: 30px;
    display: inline-block;
    transform:translateX(0px) translateY(-4px) rotate(24deg);
    position: absolute;
}

.popupPic {
    width: 10px;
    height: 10px;
    display: inline-block;
    transform: translateX(-15px) translateY(2px);
    position: absolute;
}

.popupPic-labelling {
    width: 14px;
    height: 20px;
    display: inline-block;
    transform: translateX(-8px) translateY(-5px) rotate(-25deg);
    position: absolute;
}

.popupPic-numbering {
    width: 15px;
    height: 25px;
    display: inline-block;
    transform: translateX(-4px) translateY(-4px) rotate(25deg);
}

.gwf-map-legend {
    padding: 0px;
    background-color: white; 
    border: 1px solid gray;
    /*box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);*/
    padding-left: 10px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
    padding-bottom: 40px;
    min-height:50vh;
}

.a-legend {
    display: inline-block;
    text-decoration: none;
    font-size: 10pt;
    margin-right: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.TreeFolder {
    cursor: pointer;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
    font-size: 12pt;
}
    .TreeFolder:hover {
        background-color: white;
        font-size:12pt;
    }

    .TreeFolder::before {
        content: "+";
        color: forestgreen;
        display: inline-block;
        margin-right: 1px;
        font-size:30pt;
        transform:translateY(8px);
    }

.TreeFolderChecked::before {
    content: "\2212";
    color: red;
    margin-right: 1px;
}


.BranchEnvelope{
    margin-left:0px;
}

.Branch {
    display: none;
    list-style-type: none;
    margin-left:30px;
}
.Expanded {
    display: block;
}
.Leaf {
    margin-left: 0px;
    font-size: 12pt;
}

.leaf-item {
    padding: 10px;
    color: #222;
}