* { box-sizing: border-box; }

/* html, body { display: flex; flex-direction: column; margin: 0; max-height: 100vh; } */

ul { list-style-type: none; padding: 0; }

li { margin: 1rem; }

a, li { text-decoration: none; }

li:hover { color: rgba(255, 255, 255, .75); }

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-map-grow {
    flex-grow: 8;
}

.justify-content-start {
    justify-content: flex-start;
}

.row {
    display:flex;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

/* MAP */
/* phone desing first*/
[class*="col-"] {
  width: 100%;
}

/* Extra small landscape devices (phones, 600px and down)*/
@media only screen and (max-width: 600px) and (orientation:landscape) {
  .col-xs-1 {width: 8.33%;}
  .col-xs-2 {width: 16.66%;}
  .col-xs-3 {width: 25%;}
  .col-xs-4 {width: 33.33%;}
  .col-xs-5 {width: 41.66%;}
  .col-xs-6 {width: 50%;}
  .col-xs-7 {width: 58.33%;}
  .col-xs-8 {width: 66.66%;}
  .col-xs-9 {width: 75%;}
  .col-xs-10 {width: 83.33%;}
  .col-xs-11 {width: 91.66%;}
  .col-xs-12 {width: 100%;}
}

/* Extra small devices (phones, 600px and down)*/
@media only screen and (max-width: 600px) {
    .col-xs-1 {width: 8.33%;}
    .col-xs-2 {width: 16.66%;}
    .col-xs-3 {width: 25%;}
    .col-xs-4 {width: 33.33%;}
    .col-xs-5 {width: 41.66%;}
    .col-xs-6 {width: 50%;}
    .col-xs-7 {width: 58.33%;}
    .col-xs-8 {width: 66.66%;}
    .col-xs-9 {width: 75%;}
    .col-xs-10 {width: 83.33%;}
    .col-xs-11 {width: 91.66%;}
    .col-xs-12 {width: 100%;}
  }

/* Small devices (landscape tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (orientation:landscape) {
    .col-s-1 {width: 8.33%;}
    .col-s-2 {width: 16.66%;}
    .col-s-3 {width: 25%;}
    .col-s-4 {width: 33.33%;}
    .col-s-5 {width: 41.66%;}
    .col-s-6 {width: 50%;}
    .col-s-7 {width: 58.33%;}
    .col-s-8 {width: 66.66%;}
    .col-s-9 {width: 75%;}
    .col-s-10 {width: 83.33%;}
    .col-s-11 {width: 91.66%;}
    .col-s-12 {width: 100%;}
  
    ul > li {
        display: inline-block;
    }
  
    .row {
        padding-left: 1%;
        padding-right: 1%;
    }
  
    #logo-colum {
        justify-content: flex-start;
    }
  }

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (orientation:landscape) {
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}

  ul > li {
      display: inline-block;
  }

  .row {
      padding-left: 1%;
      padding-right: 1%;
  }

  #logo-colum {
      justify-content: flex-start;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (orientation:portrait) {
  /* For desktop: */
  .col-m-1 {width: 8.33%;}
  .col-m-2 {width: 16.66%;}
  .col-m-3 {width: 25%;}
  .col-m-4 {width: 33.33%;}
  .col-m-5 {width: 41.66%;}
  .col-m-6 {width: 50%;}
  .col-m-7 {width: 58.33%;}
  .col-m-8 {width: 66.66%;}
  .col-m-9 {width: 75%;}
  .col-m-10 {width: 83.33%;}
  .col-m-11 {width: 91.66%;}
  .col-m-12 {width: 100%;}

  ul > li {
      display: inline-block;
  }

  .row {
    padding-left: 1%;
    padding-right: 1%;
  }

  #logo-colum {
      justify-content: flex-start;
  }
}


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .col-l-1 {width: 8.33%;}
  .col-l-2 {width: 16.66%;}
  .col-l-3 {width: 25%;}
  .col-l-4 {width: 33.33%;}
  .col-l-5 {width: 41.66%;}
  .col-l-6 {width: 50%;}
  .col-l-7 {width: 58.33%;}
  .col-l-8 {width: 66.66%;}
  .col-l-9 {width: 75%;}
  .col-l-10 {width: 83.33%;}
  .col-l-11 {width: 91.66%;}
  .col-l-12 {width: 100%;}
}


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .col-xl-1 {width: 8.33%;}
  .col-xl-2 {width: 16.66%;}
  .col-xl-3 {width: 25%;}
  .col-xl-4 {width: 33.33%;}
  .col-xl-5 {width: 41.66%;}
  .col-xl-6 {width: 50%;}
  .col-xl-7 {width: 58.33%;}
  .col-xl-8 {width: 66.66%;}
  .col-xl-9 {width: 75%;}
  .col-xl-10 {width: 83.33%;}
  .col-xl-11 {width: 91.66%;}
  .col-xl-12 {width: 100%;}
}

.info-container {
    position: absolute;
    z-index: 10;
    display: none;
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    padding: 0.5em;
}

.active, .accordion:hover {
    background-color: #ccc;
}

/* .accordion:after {
  content: '\02795'; // Unicode character for "plus" sign (+)
  color: #777;
  float: right;
  margin-left: 5px;
} */

/* .active:after {
  content: "\2796"; // Unicode character for "minus" sign (-)
} */

.panel-information {
    overflow: auto;
    padding: 0px 15px 0px 15px;
    transition: max-height 0.4s ease-out;
    transition: padding 0.4s ease-out;
}

.panel-legend {
    overflow: auto;
    width: 100%;
    transition: max-height 0.4s ease-out;
    transition: padding 0.4s ease-out;
}

#text-empty-panel {
    display: inline;
    font-size: 0.7em;
    color: #777;
}

.show-element {
    display: block;
}

.hide-element {
    display: none;
}

.hide-panel {
    bottom: 0px;
}

.bottom-option {
    position: absolute;
    bottom:0px;
    transition: bottom 0.4s ease-out;
}

@media only screen and (max-width: 600px) {
    .info-container {
	top: 2.91em !important;	
	left: 3.125em !important;
	width: calc( 100% - 6.25em );	
    }
    
}

@media only screen and (min-width: 600px) {
    .info-container {
	top: .5em !important;
	left: calc( 60% - 3.125em) !important;
	width: 40%;
    }
}

@media only screen and (min-width: 768px) {
    .info-container {
	top: .5em !important;
	left: calc( 70% - 3.125em) !important;
	width: 30%;
    }
    
}

@media only screen and (min-width: 992px) {

}

@media only screen and (min-width: 1200px) {
    .info-container {
	top: .5em !important;
	left: calc( 80% - 3.125em) !important;
	width: 20%;
    }
}

.layer-entry {
    background: #fff;
}
.layer-entry-header {
    background: #fff;
    color: #000;
    margin: 0px;
    padding-left: 0px;
    justify-content: flex-start;
}

.layer-title {
    max-width: calc(100% - 40px);
    font-weight: bold;
    font-size: 0.75em;
    border-style: none none solid none;
    border-width: 2px;
    border-color: rgb(0,89,36);
}

.visibility-icon {
    display: flex;
    justify-content: center;
    width: 40px;
    max-width: 40px;
}

.center {
    display: block;
    margin-top: 10px;
    padding-left: 40px;
    margin-right: auto;
}

#legend-sidebar {
    background: rgba(0, 0, 0, 0.376);
}

.ol-control button {
    background-color: rgb(0, 109, 56) !important;
    padding: 0.125rem;
    margin: 0px;
    height: 1.5675rem;
    width: 1.5675rem;
}

.controls-button-position {
    position: absolute;
    top: .5em;
    right: .5em;
    z-index:2;
}

.boton-icon {
    font-size: 1.14em;
    height: 1.375em;
    width: 1.375em;
    padding: 0px .2em 0px .2em;
    color: white;
    border: none;
}

.container-controls-size {
    position:absolute;
    width: 1.775em;
    height: 4.9em;
    background-color: rgb(0, 109, 56);
    border-color: rgba(255, 255, 255,.4);
    border-radius: 4px;
    border-width: 2px;
    border-style: solid;
}

.flex-container-controls > div {
    width: 2em;
    height: 1.8em;
    text-align: center;
}

/* Scale-line */
.ol-scale-line {
    background: rgba(0,60,136,0.15) !important;
    /* bottom: 0.25em !important; */
    left: 0.25em !important;
}

.show-on-map { z-index: 2; }

/* Attributions */
.ol-attribution { z-index: 3; }