@media (min-width: 1920px) {}

@media (min-width: 1040px) {}

.row-centered {
  text-align: center;
}

.col-centered {
  display: inline-block;
  float: none;
  /* reset the text-align */
  text-align: left;
  /* inline-block space fix */
  margin-right: -4px;
}

.fieldsetStyle {
  height: calc(100% - 2px);
  border: 1px solid #bed6f8;
  margin-left: 5px;
  padding: 0 0 0 30px;
  width: calc(100% - 37px);
  margin-right: 0px;
  overflow: auto;
}

.fieldsetLegendStyle {
  border: 1px;
  border-style: solid;
  border-color: #BED6F8;
  min-width: 199px;
  height: 25px;
  padding-top: 10px;
  margin-bottom: 5px;

}

#noAttr{
  opacity: 0;
}

#footer{
  background: #2175bc;
  display: flex;
    flex-direction: column;
    height: auto;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
}
#footer img{
  width: 100px;
}

#footer label{
  color: #fff;
}

.d-flex{
  display: flex;
}

.flex-row{
  flex-direction: row;
}

.flex-column{
  flex-direction: column;
}

.justify-content-between{
  justify-content: space-between;
}

.align-items-center{
  align-items: center;
}

rect:hover{
  cursor: pointer;
}

#sortable2 li:hover{
  cursor: move;
}

#sortable2 li img:hover{
  cursor: pointer;
}

#main-header {
  background: #2175bc;
  color: white;
  /* height: 40px; */
  width: 100%;
  /* hacemos que la cabecera ocupe el ancho completo de la página */
  left: 0;
  /* Posicionamos la cabecera al lado izquierdo */
  top: 0;
  padding: 10px 0;
  /* Posicionamos la cabecera pegada arriba */
  /*position: fixed; Hacemos que la cabecera tenga una posición fija */
}

#main-header a {
  color: white;
  font-size: 1.2em;
}

/*
 * Logo
 */
#logo-header {
  float: left;
  /*padding: 15px 0px 0px 15px;*/
  text-decoration: none;
}

#logo-header:hover {
  color: #0b76a6;
}

#logo-header .site-name {
  padding: 0 0px 0px 15px;
  display: block;
  font-weight: 600;
  font-size: 1.2em;
}

#logo-header .site-desc {
  padding: 0px 0px 0px 15px;
  display: block;
  font-weight: 250;
  font-size: 0.9em;
  color: white;
}

#mapa {
  height: fit-content !important;
  min-height: auto !important;
}

/*
 * Navegación
 */
nav {
  float: right;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  padding-right: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 40px;
}

nav ul li a {
  display: block;
  padding: 0 10px;
  text-decoration: none;
}

nav ul li a:hover {
  background: #0b76a6;
}


body {

  background-color: #ECECEC;

  /*padding-top: 70px;  Relleno superior igual a la altura de la cabecera*/
}

input[type=range] {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animation-duration: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #3071A9;
  border-radius: 5px;
  border: 1px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 30px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -11px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #3071A9;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animation-duration: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #3071A9;
  border-radius: 5px;
  border: 1px solid #000000;
}

input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 30px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animation-duration: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: #3071A9;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}

input[type=range]::-ms-fill-upper {
  background: #3071A9;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}

input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 30px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
  background: #3071A9;
}

input[type=range]:focus::-ms-fill-upper {
  background: #3071A9;
}

#personal,
#familiar,
#escolar,
#caracteristicas {
  display: inline;
  margin: 3px;
  padding: 4px 4px 4px 4px;
  line-height: 20px;
  /* line-width: 20px; */
  width: 210px;
  border-color: red;
}

#personal li,
#familiar li,
#escolar li,
#caracteristicas li {
  display: inline;
  margin: 1px;
  padding: 0 0 0 0;
  list-style: none;
  float: left;
}

#personal li a,
#personal li a:focus,
#familiar li a,
#familiar li a:focus,
#escolar li a,
#escolar li a:focus,
#caracteristicas li a,
#caracteristicas li a:focus {
  /*background: linear-gradient(rgb(121, 187, 255) 5%, rgb(55, 141, 229) 100%) rgb(121, 187, 255);*/
  border-radius: 8px;
  display: inline-block;
  /*background-color: #C6DBEF;*/
  margin: 3px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: Verdana, Arial, Helvetica;
  font-size: 8.2px;
  font-weight: bold;
  padding: 3px;
  width: 210px;
  /*box-shadow: rgb(151, 196, 254) 0px 1px 0px 0px inset; background: linear-gradient(rgb(61, 148, 246) 5%, rgb(30, 98, 208) 100%) rgb(61, 148, 246); border-radius: 6px; border: 1px solid rgb(51, 127, 237); display: inline-block; cursor: pointer; color: rgb(255, 255, 255); font-family: Arial; font-size: 15px; font-weight: bold; padding: 6px 24px; text-decoration: none; text-shadow: rgb(21, 112, 205) 0px 1px 0px;*/
}

#personal li a:hover,
#familiar li a:hover,
#escolar li a:hover,
#caracteristicas li a:hover {
  /*background: linear-gradient(rgb(55, 141, 229) 5%, rgb(121, 187, 255) 100%) rgb(55, 141, 229);*/
  border-radius: 8px;
  display: inline-block;
  /*background-color: #C6DBEF;*/
  margin: 3px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: Verdana, Arial, Helvetica;
  font-size: 8.2px;
  font-weight: bold;
  padding: 3px;
  width: 210px;
  /*box-shadow: rgb(151, 196, 254) 0px 1px 0px 0px inset; background: linear-gradient(rgb(61, 148, 246) 5%, rgb(30, 98, 208) 100%) rgb(61, 148, 246); border-radius: 6px; border: 1px solid rgb(51, 127, 237); display: inline-block; cursor: pointer; color: rgb(255, 255, 255); font-family: Arial; font-size: 15px; font-weight: bold; padding: 6px 24px; text-decoration: none; text-shadow: rgb(21, 112, 205) 0px 1px 0px;*/
}


#sortable1 {
  display: inline;
  background-color: linear-gradient(rgb(121, 187, 255) 5%, rgb(55, 141, 229) 100%) rgb(121, 187, 255);
  border: 1px solid #eee;
  width: 99%;
  min-height: 14px;
  list-style-type: none;
  margin: 0px 0px 5px 2px;
  padding: 1px;
  float: left;
}

#sortable2 {
  display: inline;
  border-radius: 8px;
  background: linear-gradient(rgb(121, 187, 255) 5%, rgb(55, 141, 229) 100%) rgb(121, 187, 255);
  border: 1px solid #eee;
  width: 60%;
  height: 25px;
  list-style-type: none;
  margin: 0px;
  padding: 1px;
  float: left;
}

#sortable1 li,
#sortable2 li {
  /*border-radius: 8px;
	display: inline;
    margin:auto ;
    padding: 0px;
	font-family: Verdana,Arial,Helvetica; 
	font-size: 810px;
	font-weight:bold;
    width: 90px;
	float: left;*/
  font-weight: bold;
  font-family: Arial;
  font-size: 10px;
  text-decoration: none;
  float: left;
  padding: 2px;
  background: linear-gradient(rgb(61, 148, 246) 5%, rgb(2, 27, 66) 100%) rgb(61, 148, 246);
  color: #fff;
  width: 215px;
  border-radius: 5px;
}

#boton1 {
  background-color: rgb(0, 137, 255);
}

circle {
  fill-opacity: .7;
}

circle.hidden {
  fill: #ccc !important;
}

.extent {
  fill: #000;
  fill-opacity: .125;
  stroke: #fff;
}

#estados path {
  cursor: pointer;
}

@media (min-width: 1920px) {

  .fieldsetStyle {
    height: calc(100% - 2px);
    border: 1px solid #bed6f8;
    margin-left: 5px;
    padding: 0 0 0 30px;
    width: calc(100% - 37px);
    margin-right: 0px;
    overflow: auto;
  }

  .fieldsetLegendStyle {
    border: 1px;
    border-style: solid;
    border-color: #BED6F8;
    min-width: 199px;
    height: 25px;
    padding-top: 10px;
    margin-bottom: 5px;

  }

  #main-header {
    background: #2175bc;
    color: white;
    height: 55px;
    width: 100%;
    /* hacemos que la cabecera ocupe el ancho completo de la página */
    left: 0;
    /* Posicionamos la cabecera al lado izquierdo */
    top: 0;
    /* Posicionamos la cabecera pegada arriba */
    /*position: fixed; Hacemos que la cabecera tenga una posición fija */
  }

  #main-header a {
    color: white;
    font-size: 1.5em;
  }

  /*
 * Logo
 */
  #logo-header {
    float: left;
    /*padding: 15px 0px 0px 15px;*/
    text-decoration: none;
  }

  #logo-header:hover {
    color: #0b76a6;
  }

  #logo-header .site-name {
    padding: 10px 0px 0px 15px;
    display: block;
    font-weight: 600;
    font-size: 1.4em;
  }

  #logo-header .site-desc {
    padding: 0px 0px 0px 15px;
    display: block;
    font-weight: 250;
    font-size: 0.9em;
    color: white;
  }

  /*
 * Navegación
 */
  nav {
    float: right;
  }

  nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-right: 20px;
  }

  nav ul li {
    display: inline-block;
    line-height: 55px;
  }

  nav ul li a {
    display: block;
    padding: 0 10px;
    text-decoration: none;
  }

  nav ul li a:hover {
    background: #0b76a6;
  }




  circle {
    fill-opacity: .7;
  }

  circle.hidden {
    fill: #ccc !important;
  }

  .extent {
    fill: #000;
    fill-opacity: .125;
    stroke: #fff;
  }
}

.hidde{
  display: none;
}
.show{
  display: inline-block;
}

#personal, #familiar, #escolar, #caracteristicas{
  display: flex !important;
  flex-wrap: wrap;
  width: auto;
  align-items: center;
}
#sortable2{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 25px;
  height: fit-content;
  padding: 10px;
}

#sortable1 li, #sortable2 li{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  min-width: 215px;
  width: auto;
}


@media (min-width: 1600px){
  #mapa {
    float: left;
  }
}