

/*    <style>
      html, body, .map {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
      }
      
    </style>
*/

html,body{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
     font-family: Arial, Helvetica, sans-serif;
   font-size: 13px;

}
#map {  
    height: 100%;
    width: 100%;
  }

 /* 
ul {
  list-style-type: none;
  margin: 0;
  padding: 10px;
}  
  

.my-legend {
    border: 1px solid #ebebeb;
    width: fit-content;
    max-width: 265px;
    background: #ffffff;
    padding: 12px;
    padding-bottom: 5px;
}

.my-legend-col {
    display: inline-block 
}

.my-legend .legend-title {
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 90%;
    margin-left: 5px
}

.my-legend .legend-scale ul {
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    float: left;
    list-style: none
}

.my-legend .legend-scale ul li {
    font-size: 90%;
    list-style: none;
    margin-left: 0;
    line-height: 18px;
    border: none;
    margin: 0px 5px 0px 5px;
    display: flex
}

.my-legend ul.legend-labels li span {
    display: block; 
    float: left;
    height: 16px;
    width: 30px;
    margin-right: 5px;
    margin-left: 0
}

.my-legend .legend-source {
    font-size: 80%;
    clear: both;
    line-height: normal;
    text-align: left
}

.my-legend a {
    color: #545454;
    text-decoration: underline
}

.layerselect {
   display: inline;
   right: 10px;
   position: absolute;
   top: 10px;
   width: max-content;
   height: max-content;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 15px;
    -moz-border-radius: 15px;  
  background-color: white;
}*/
/*
.player {
    background-color: #fff;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 15px;
}
.buttons-mcp-right {
    display: inline-block;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin-left: 5px;
}
img.layer-mcp {
    display: none;
}
.buttons-mcp-left {
    vertical-align: middle;
    padding-top: 8px;
}
.buttons-mcp-left img {
    margin-left: 10px;
    margin-right: 10px;
}
img.reset-mcp:hover,
img.play-mcp:hover,
img.layer-mcp:hover,
img.layer-mcp-mobile:hover,
img.info-mcp:hover {
    opacity: 0.6;
    transition: opacity .3s;
    cursor: pointer;
}
.slider_container {
    width: 70%;
    max-width: 400px;
    justify-content: center;
    align-items: center;
    display: inline-block;
    vertical-align: middle;
    padding-top: 8px;
}
.seek_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: #222222;
    border-radius: 10px;
    width: 100%;
}
.seek_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #222222;
    cursor: pointer;
    border-radius: 50%;
}
.current-time {
    padding-top: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}
@media only screen and (min-width: 768px) {
    
    .player {
        padding-top: 20px;
        padding-bottom: 25px;
    }
    .buttons-mcp-right,
    .buttons-mcp-left {
        display: inline-block;
        vertical-align: middle;
        margin-left: 20px;
        margin-right: 20px;
        padding-top: 8px;
    }
    img.layer-mcp {
        display: inline-block;
    }
    img.layer-mcp-mobile {
        display: none;
    }
    .slider_container {
        padding-top: 20px;
    }
}    

*/






/* ////////// Layers and legends ////////// */ 
.layer-wrapper {
   display: inline;
   right: 10px;
   position: absolute;
   top: 10px;
   width: max-content;
   height: max-content;
   background-color: #fff;
   border: 1px solid #EBEBEB;
   transition: height 4s;
}
.legend-container {
    padding: 15px;
}
.layer-container {
    padding: 15px;
}
.legend-container {
    border-top: 1px solid #EBEBEB;
}
.legend-container .layer-label {
    margin-top: 0px;
    margin-bottom: 10px;
}
.layer-label {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}
.legend-col {
    display: inline-block;
    width: 128px;
}
.legend ul {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
}
.legend ul li {
    font-size: 90%;
    list-style: none;
    margin-left: 0;
    line-height: 18px;
    border: none;
    margin: 0px 5px 2px 5px;
    display: flex;
}
.legend ul.legend-labels li span {
    display: block;
    float: left;
    height: 16px;
    width: 30px;
    margin-right: 5px;
    margin-left: 0;
}
li img {
    margin-right: 5px;
    margin-left: 0;
}
li sup {
    margin-top: 10px;
}



/* ////////// Player ////////// */ 
.player {
   background-color: #fff;
   text-align: center;
   padding-top: 5px;
   padding-bottom: 10px;
   display: inline;
   position: absolute;
   bottom: 10px;
   width: max-content;
   height: max-content;
   background-color: #fff;
   border: 1px solid #EBEBEB;
   width: 300px;
   left: 50%;
   margin-left: -150px;
}
.buttons-mcp-right {
    display: inline-block;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin-left: 5px;
    margin-top: -11px;
}
img.layer-mcp {
    display: none;
}
.buttons-mcp-left {
    display: inline-block;
    vertical-align: middle;
    padding-top: 8px;
}
.buttons-mcp-left img {
    margin-left: 10px;
    margin-right: 10px;
}
img.reset-mcp:hover,
img.play-mcp:hover,
img.layer-mcp:hover,
img.layer-mcp-mobile:hover,
img.info-mcp:hover {
    opacity: 0.6;
    transition: opacity .3s;
    cursor: pointer;
}
.slider_container {
    width: 70%;
    max-width: 400px;
    justify-content: center;
    align-items: center;
    display: inline-block;
    vertical-align: middle;
    padding-top: 8px;
}
.seek_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: #222222;
    border-radius: 10px;
    width: 100%;
}
.seek_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #222222;
    cursor: pointer;
    border-radius: 50%;
}
.current-time {
    padding-top: 5px;
}


@media only screen and (min-width: 768px) {
    
    .player {
        width: 700px;
        left: 50%;
        margin-left:-350px;
    }
    .layer-wrapper {
       right: 30px;
       top: 30px;
    }
    .buttons-mcp-right,
    .buttons-mcp-left {
        display: inline-block;
        vertical-align: middle;
        margin-left: 20px;
        margin-right: 20px;
        padding-top: 0;
        margin-top: 0;
    }
    img.layer-mcp {
        display: inline-block;
    }
    img.layer-mcp-mobile {
        display: none;
    }
    .slider_container {
        padding-top: 20px;
    }
}    