#root {
    position: relative;
    font-size: 11pt;
    overflow: hidden;
}
#root.fullscreen {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 5000;
}

#root .vue-map-container {
    width: 100%;
    min-height: 700px;
}
#root.fullscreen .vue-map-container {
    width: 100vw;
    height: 100vh;
}
#featureTitle {
    position: absolute;
    top: 0px;
    right: 50px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1.5em;
    padding: 5px 5px 0px 5px;
    border-bottom: 4px solid #fff;
}
#fullScreen {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.1em;
}
#showLegend {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 0px;
    margin: 0px;
    color: #fff;
    font-size: 2em;

    width: 50px;
    height: 50px;

    border: none;
    background-color: rgba(0,0,0,0.25);
    border-radius: 25px;
}
#showLegend:hover {
    cursor: pointer;
    border: 2px solid #fff;
    background-color: rgba(0,0,0,0.75);
}
#showLegend.visible {
    opacity: 1;
}
#legend {
    position: absolute;
    /* -1 so that the lower border doesn't add scrollbars to the 
        window when its full-screen/full-height */
    top: -1px;
    left: 0px;
    max-height: 100%;
    overflow-y: auto;
    width: 510px;

    margin: 0px;
    background-color: rgba(0,0,0,0.5);
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 0px;
    color: #fff;

    transition-property: transform;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}
#legend.collapsed {
    transform:translateX(-511px);
}
#legend li {
   list-style: none;
    padding: 0px 10px 0px 10px;
}
#legend li.title {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #fff;
    margin: 5px 0px;
    padding-top: 5px;
}
#legend li.title.property-title {
    border-top: 1px solid #fff;
}
#legend li > button {
    border: none;
    padding: 0px;
    background-color: transparent;
    color: #fff;
    font-size: 1em;
    float: right;
}
#legend li.layer:hover,
#legend li.property:hover,
#legend li > button:hover {
    cursor: pointer;
}
#legend li.layer:before {
    font-family: 'FontAwesome';
    content: '\f096';
    margin-right: 5px;
}
#legend li.layer.selected:before {
    content: '\f14a';
}
#legend li.property > i {
    float: right;
    margin-top: 4px;
}
#legend li.property.selected,
#legend li.property:hover {
    color: #333;
    background-color: rgba(255,255,255,0.5)
}
.tooltip {
    display: block !important;
    z-index: 10000;
}
.tooltip .tooltip-inner {
    background: black;
    color: white;
    border-radius: 16px;
    padding: 5px 10px 4px;
}
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
    border-color: black;
    z-index: 1;
}
.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}
.tooltip[x-placement^="top"] .tooltip-arrow {
    border-width: 5px 5px 0 5px;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    bottom: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}
.tooltip[x-placement^="right"] {
    margin-left: 5px;
}
.tooltip[x-placement^="right"] .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-left-color: transparent !important;
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
    left: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}
.tooltip[x-placement^="left"] {
    margin-right: 5px;
}
.tooltip[aria-hidden='true'] {
    visibility: hidden;
    opacity: 0;
    transition: opacity .15s, visibility .15s;
}
.tooltip[aria-hidden='false'] {
    visibility: visible;
    opacity: 1;
    transition: opacity .15s;
}
