html, body { width: 100%; height: 100%; margin: 0; }
    #map1, #map2 { width: 49.9%; height: 100%; }
    #map1 { float: left; }
    #map2 { float: right; }

    .leaflet-top {
    top: 30px;
    }

#header {
    background: rgba(163, 163, 163, 0.9);
    width: 100%;
    height: 30px;
    position: absolute;
    z-index: 3;
}
.fa-external-link {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 22px;
  color: white;
  cursor: pointer;
  display:none;
}

#map1-select {
  position: absolute;
  width: fit-content;
  top: 60px;
  right: 50%;
  margin-right: 25px;
  z-index: 1;
  border-radius: 5px;
  padding: 8px 12px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

#map1-select:hover {
  border-color: #888;
}

#map1-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

#map2-select {
  position: absolute;
  width: fit-content;
  top: 60px;
  left: 50%;
  margin-left: 25px;
  z-index: 1;
  border-radius: 5px;
  padding: 8px 12px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

#map2-select:hover {
  border-color: #888;
}

#map2-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

    /*
     *  Mapas Base
     */


#basemaps {
      background-color: #083F6F;
      color: white;
      margin-bottom: 5px;
      margin-left: 5px;
}

#basemaps-scrollbar {
    height: 266px;
    width: 112px;
    background: #FFFFFF;
    overflow-y: scroll;
    margin-bottom: 25px;
    display: none;
    position: absolute;
    right: 68px;
    top: 57px;
    padding: 10px;
    z-index: 5;
    text-align: center;
    margin: auto;
    direction: rtl;
}

#legend1-container {
  background:transparent;
  width:300px;
  height:300px;
  position:absolute;
  bottom:20px;
  left:25px;
  z-index:1;
  border-radius:3px;
  padding:0 3px;
}

.info-container {
  z-index: 999;
  background-color: white;
  border: 2px solid #ff51ba;
  border-radius: 4px;
  padding: 10px;
  height: 100%;
}

#legend2-container {
  background:transparent;
  width:300px;
  height:300px;
  position:absolute;
  bottom:20px;
  left:50%;
  margin-left: 25px;
  z-index:1;
  border-radius:3px;
  padding:0 3px;
}

.lgd-title {
  font-weight: 700;
  color: gray;
  font-size: 16px;
  margin-bottom: 7px;
}

.lgd-title .fa {
  float:right;
  cursor:pointer;
}

.img-lgd-container {
  max-height: 185px;
  overflow-x: hidden;
  overflow-y: auto;
}

.layer-wrapper {
  height:40px;
  width:265px;
}

.layer-title {
  color: #F3F3F3;
  font-size: 14px;
  width:230px;
  float:left;
}

.layer-checkboxes {
  margin-top:5px;
  float:right;
}

#scroll-menu{
  color: white;
  left:13px;
  z-index:1;
  border-radius:3px;
  width:277px;
  max-height:220px;
  padding:0 3px;
  overflow-y: auto;
  overflow-x: hidden;
  }

#scroll-menu .container {
  direction:ltr;
  width: 190px;
  text-align: left;
  line-height: 20px;
  color: #555;
  margin-bottom: 10px;
}

::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}

::-webkit-scrollbar
{
  width: 5px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  background-color: #fff;
}

#legend-button1 {
  position: absolute;
  z-index: 999;
  bottom: 15px;
  left: 20px;
  border-radius: 50%;
  background-color: white;
  color: #ff51ba;
  font-size: 23px;
  padding: 0.5rem 0.8rem;
  border: 2px solid #ff51ba;
  cursor: pointer;
}

#legend-config1 {
  position: absolute;
  z-index: 999;
  top: 100px;
  left: 20px;
  border-radius: 50%;
  background-color: white;
  color: #ff51ba;
  font-size: 23px;
  padding: 0.5rem 0.8rem;
  border: 2px solid #ff51ba;
  cursor: pointer;
}
#legend-button.active-button,
#legend-button:hover,
#legend-config.active-button,
#legend-config:hover,
#base-maps-button.active-button,
#base-maps-button:hover
{
    background-color: #ff51ba;
    color: white !important;
    border-color: white;
}

.base-maps{
  color:#ff51ba;
  background: #fff;
  padding: 5px;
}
#basemaps-wrapper.active-button,
#basemaps-wrapper:hover,
#icon-base-map.active-button,
#icon-base-map:hover{
  background-color: #ff51ba;
    color: white;
    border-color: white;
}
#icon-base-map{
  padding: 1rem;
  border: 2px solid #ff51ba;
  cursor: pointer;
  border-radius: 50%;
}



.demo {
  width: 50vw;
  height: 50vh;
  background: linear-gradient(45deg, darken(#CC9EC6, 30%), darken(#CC9EC6, 50%));
}

.demo__buttons {
    position: absolute;
    top: 127px;
    left: 87px;
    width: 150px;
    height: 150px;
    transform: translate(-100px, -100px);
    filter: url("#goo");
    z-index:600;
}

.demo__buttons.step-0 .demo__social-btn-1, .demo__buttons.step-0 .demo__social-btn-2,
.demo__buttons.step-0 .demo__social-btn-3, .demo__buttons.step-0 .demo__social-btn-4 {
        transform: translate3d(-35px, -35px, 0);
      }

.demo__buttons.step-1 .demo__social-btn-1 {
        transform: translate3d(-35px, -35px, 0);
      }

.demo__buttons.step-1 .demo__social-btn-2, .demo__buttons.step-1 .demo__social-btn-3,
.demo__buttons.step-1 .demo__social-btn-4 {
    transform: translate3d(-35px, 35px, 0);
}

.demo__buttons.step-2 .demo__social-btn-1 {
    transform: translate3d(-35px, -35px, 0);
}

.demo__buttons.step-2 .demo__social-btn-2 {
    transform: translate3d(-35px, 35px, 0);
}

.demo__buttons.step-2 .demo__social-btn-3, .demo__buttons.step-2 .demo__social-btn-4 {
    transform: translate3d(35px, 35px, 0);
}

.demo__buttons.step-3 .demo__social-btn-1 {
    transform: translate3d(-35px, -35px, 0);
}
.demo__buttons.step-3 .demo__social-btn-2 {
    transform: translate3d(-35px, 35px, 0);
}
.demo__buttons.step-3 .demo__social-btn-3 {
    transform: translate3d(35px, 35px, 0);
}
.demo__buttons.step-3 .demo__social-btn-4 {
    transform: translate3d(35px, -35px, 0);
}

.demo__social-btn {
    position: absolute;
    left: 65px;
    top: 65px;

    width: 50px;
    height: 50px;

    text-align: center;
    line-height: 50px;
    font-size: 23px;

    background: #fff;
    color: #ff51ba;

    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
  }
.demo__social-btn:hover {
      color: #ff51ba;
      box-shadow: 0 0 15px white;
}
.demo__open-btn {
    position: absolute;
    left: 65px;
    top: 65px;
    width: 50px;
    height: 50px;

    text-align: center;
    line-height: 50px;
    font-weight: 700;
    font-size: 26px;
    font-family: sans-serif;

    background: #fff;
    color: #ff51ba;

    border-radius: 50%;
    cursor: pointer;

    transition: all 0.2s ease;
}
.demo__open-btn:hover, .demo__open-btn.hovered {
      color: #ff51ba;
      box-shadow: 0 0 15px white;
}


/*----------------------
	Tools-button 
------------------------*/
.tools-button {
  width: 53px;
  height: 53px;
  position: absolute;
  top: 10%;
  z-index: 1;
  left: 5%;
  -ms-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  background: #fff;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease-in-out 0s;
  -webkit-transition: all 0.25s ease-in-out 0s;
  -moz-transition: all 0.25s ease-in-out 0s;
}
.tools-button:before {
  content: "\f0c9";
  position: absolute;
  color: #ff51ba;
  font-size: 2.4rem;
  font-family: FontAwesome;
  top: 50%;
  left: 50%;
  -ms-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(0deg);
}
.tools-button:hover {
  -webkit-box-shadow: 0 0 10px 1px #494848;
  box-shadow: 0 0 10px 1px #494848;
}

/*----------------------
	Circle
------------------------*/
.circle {
  top: 10%;
  left: 5%;
  -ms-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  position: absolute;
  transition: all 0.25s ease-in-out 0s;
  -webkit-transition: all 0.25s ease-in-out 0s;
  -moz-transition: all 0.25s ease-in-out 0s;
}
.circle .button {
  width: 53px;
  height: 53px;
  position: absolute;
  top: -33px;
  right: -26px;
  z-index: -1;
  background: #fff;
  border-radius: 50%;
  visibility: hidden;
  cursor: pointer;
  transition: all 0.25s ease-in-out 0s;
  -webkit-transition: all 0.25s ease-in-out 0s;
  -moz-transition: all 0.25s ease-in-out 0s;
}
.circle .button:before {
  position: absolute;
  font-size: 2.4rem;
  font-family: FontAwesome;
  top: 50%;
  left: 50%;
  cursor: pointer;
  -ms-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  transition: all 0.25s ease-in-out 0s;
  -webkit-transition: all 0.25s ease-in-out 0s;
  -moz-transition: all 0.25s ease-in-out 0s;
}
.circle .button:hover:before {
  color: #fff;
}
.circle .show {
  visibility: visible;
  top: -89px;
  transition: all 0.25s ease-in-out 0s;
  -webkit-transition: all 0.25s ease-in-out 0s;
  -moz-transition: all 0.25s ease-in-out 0s;
}

.first-circle .button:before {
  color: #ff51ba;
}
.first-circle .button:hover {
  background: #ff51ba;
  color: #fff;
}

.second-circle .button {
  color: #ff51ba;
}
.second-circle .button:hover {
  background: #ff51ba;
  color: #fff;
}

.third-circle .button:before {
  color: #ff51ba;
}
.third-circle .button:hover {
  background: #ff51ba;
  color: #fff;
}

.forth-circle .button:before {
  color: #ff51ba;
}
.forth-circle .button:hover {
  background: #ff51ba;
  color: #fff;
}

.fifth-circle .button {
  color: #ff51ba;
}
.fifth-circle .button:hover {
  background: #ff51ba;
  color: #fff;
}

.rotate1 {
  -ms-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(0deg);
}
.rotate1 .button {
  -ms-transform: translateX(0) translateY(0) rotate(0deg);
  transform: translateX(0) translateY(0) rotate(0deg);
  -webkit-transform: translateX(0) translateY(0) rotate(0deg);
  -moz-transform: translateX(0) translateY(0) rotate(0deg);
}

.rotate2 {
  -ms-transform: translateX(-50%) translateY(-50%) rotate(72deg);
  transform: translateX(-50%) translateY(-50%) rotate(72deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(72deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(72deg);
}
.rotate2 .button {
  -ms-transform: translateX(0) translateY(0) rotate(-72deg);
  transform: translateX(0) translateY(0) rotate(-72deg);
  -webkit-transform: translateX(0) translateY(0) rotate(-72deg);
  -moz-transform: translateX(0) translateY(0) rotate(-72deg);
}

.rotate3 {
  -ms-transform: translateX(-50%) translateY(-50%) rotate(144deg);
  transform: translateX(-50%) translateY(-50%) rotate(144deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(144deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(144deg);
}
.rotate3 .button {
  -ms-transform: translateX(0) translateY(0) rotate(-144deg);
  transform: translateX(0) translateY(0) rotate(-144deg);
  -webkit-transform: translateX(0) translateY(0) rotate(-144deg);
  -moz-transform: translateX(0) translateY(0) rotate(-144deg);
}

.rotate4 {
  -ms-transform: translateX(-50%) translateY(-50%) rotate(216deg);
  transform: translateX(-50%) translateY(-50%) rotate(216deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(216deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(216deg);
}
.rotate4 .button {
  -ms-transform: translateX(0) translateY(0) rotate(-216deg);
  transform: translateX(0) translateY(0) rotate(-216deg);
  -webkit-transform: translateX(0) translateY(0) rotate(-216deg);
  -moz-transform: translateX(0) translateY(0) rotate(-216deg);
}

.rotate5 {
  -ms-transform: translateX(-50%) translateY(-50%) rotate(288deg);
  transform: translateX(-50%) translateY(-50%) rotate(288deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(288deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(288deg);
}
.rotate5 .button {
  -ms-transform: translateX(0) translateY(0) rotate(72deg);
  transform: translateX(0) translateY(0) rotate(72deg);
  -webkit-transform: translateX(0) translateY(0) rotate(72deg);
  -moz-transform: translateX(0) translateY(0) rotate(72deg);
}


.first-circle .button:before {
  content: "\f013"; /* Código Unicode para el ícono 'fa-minus' */
}

.second-circle .button:before {
  content: "\f279"; /* Código Unicode para el ícono 'fa-plus' */
}

.third-circle .button:before {
  content: "\f068"; /* Código Unicode para el ícono 'fa-gear' */
}

.forth-circle .button:before {
  content: "\f067"; /* Código Unicode para el ícono 'fa-map' */
}

.fifth-circle .button:before {
  content: "\f5fd"; /* Código Unicode para el ícono 'fa-layer-group' */
}

.modal{
  top: 33% !important;
}
.modal-header .close {
  margin-top: -20px !important;
}