body {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 13px;
    margin: 0px;
    overflow: hidden;
    background: none transparent;
    background: black;
}

#info{
    margin-left:200px;
    position: absolute;
    top:0px;
    height:100%;
    overflow:auto;
}

#label {
    display: none;
    position: absolute;
    z-index: 1;
    max-width: 200px;
    text-align: center;
    padding: 5px;
    left: 200px;
    text-align: left;
    border-radius: 3px;
    background-color: rgba(166, 77, 255, 0.5);
    ;
    /* Prevent background color leak outs */
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.color{display:inline-block;width:13px;height:13px;position:relative;top:1px;}

#footer {
    font-family: digital-serial;
    font-size: 18px;
    position: fixed;
    bottom: 0;
    z-index: 1;
    width: 100%;
}

.panel {
    position: absolute;
    transition: opacity 0.4s ease-out;
}

#footer-left,
#header-left {
    padding: 5px;
    left: 0px;
}

#footer-right,
#header-right {
    padding: 5px;
    right: 0px;
}

#header-left,
#header-right {
    display: none;
    top: 0px;
}

#footer-left,
#footer-right {
    font-style: italic;
    display: none;
    font-size: 1.5em;
    bottom: 0px;
}

#layers {
    display: none;
    padding: 10px;
    top: 50%;
    transform: translate(0px, -50%);
    overflow-y: auto;
    overflow-x: hidden;
    min-width:190px;
    max-height: calc(100% - 95px);

    transition: opacity 0.4s ease-out;
}

#legends {
    display: none;
    padding: 0px;    
    padding-left:23px;
    right: 0px;
    top: 50%;
    transform:translateY(-50%);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100% - 95px);

    transition: opacity 0.4s ease-out;
}

#reveal_legends{
    cursor:pointer;
    top:50%;
    right:-80px;
    transform:rotate(-90deg) translateY(-50%);
    display:none;
    opacity:0;
    transition: opacity 0.4s ease-out;
}
#reveal_layers{
    cursor:pointer;
    top:50%;
    left:-75px;
    display:none;
    transform:rotate(90deg) translateY(-50%);
    opacity:0;
    transition: opacity 0.4s ease-out;
}

.unhided{
    transform: rotate(0deg);
    border:1px solid red;
    top:100px
}

.layer{margin-bottom:20px;position:relative;}

.icon {

    width: 20px;
    height: 20px;
    position: relative;
    top: .5em;
}

.colapseBtn{
    color:white;
    cursor:pointer;
    padding:0px;
    width:17px;
    background:none;
    position:absolute;
    right:0px;
    top:0px;
    border:1px solid white;
    border-radius:50%;
}

.hideBtn{
    color:white;
    cursor:pointer;
    padding:0px;
    padding-bottom:5px;
    height:20px;
    width:20px;
    background:none;
    position:absolute;
    right:8px;
    top:10px;
    border:1px solid white;
    border-radius:50%;
}

#hide_legends{
    left:0px;
    top:2px;
}

.colorIcon {
    vertical-align: top;
    width: 30px;
    height: 20px;
}

ul {
    padding: 0px;
    margin: 0px;
}

li {
    list-style: none;
    padding: 1px;
    margin: 0px;
    margin-left: 5px;
}

.itemTitle {
    display: inline-block;
}

.bartitle {
    position:relative;
    top:1.3em;
    text-align:center;
    white-space: nowrap;
}

::-webkit-scrollbar {
    width: 8px;
    height: 12px;
    margin: 5px;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #fff6;
  }
 ::-webkit-scrollbar-thumb:hover {
    background-color: #fff;
  }  
  ::-webkit-scrollbar-corner {
    display: none;
    height: 0px;
    width: 0px;
  }

.legend {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
}

.caption{
    padding:0px;
    margin:0px;
    margin-bottom:20px;
}

#menu>div {
    cursor: pointer
}


#calendar {
    text-align: center;
    width: 100%;
    bottom: 0px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 2em;
    margin-left: auto;
    margin-right: auto;
}

#bars {
    top: 0px;
    display: block;
}

a {
    color: white;
    text-decoration: none;
}

a.itemTitle:hover {
    color: red
}

.active{
    cursor:pointer;
    opacity:1;
}
.active:hover {
    color: red
}
.inactive{
    opacity:0.5;
}
.bar {
    position: absolute;
    vertical-align: bottom;
    cursor:pointer;
}

.btn {
    text-align: center;
    background: grey;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 10px;
    margin: 20px
}

.colapse{
    display:inline;
}

.subtitle:hover{
    opacity: 1    
}

.colorIcon {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 1px solid#dedede;
    margin-right: 5px;
}

.bar2D {
    text-align:center;
    color: white;
    position: absolute;
    bottom: 0px;
    font-family: Arial;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 1px;
}

.bar2D span {
    padding: 0px;
    position: relative;
    top: -15px;
    opacity: 1
}

#bar2C {
    background: #c7c7c7;
    left: 21px;
}

#bar2P {
    background: #b5d2f9;
    left: 0px;
}

h3,
h4, h2 {
    padding: 2px;
    margin: 0px;
    margin-bottom:5px;
}

#popup{
    display:none;
    opacity: 0;
    transition: opacity 1s;   
    background:rgba(155,0,0,0.8);
    padding:10px;
    border-radius:5px;
    width:450px;
}

#popup::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 100%; /* To the right of the tooltip */
    margin-top: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(155,0,0,0.8);
}

@media screen and (max-width:530px){
    #header-left img {
        width:130px;
    }
    #header-right img {
        width:210px;
    }
    .legend {
        max-width:210px;
    }
}

@media screen and (max-width:500px){
    .legend {
        max-width:148px;
    }    
}

@keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  .fade-in {
    opacity: 0;
    animation: fadeIn .2s ease-in 1 forwards;
  }