/* FICHA */
/* valores fichas  a 2 columnas */
.property {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 0.5em;
  margin-bottom: 1.5em;
  align-items: start;
}

.property dt {
  grid-column: 1;
  background: #eaeaea;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.property dd {
  grid-column: 2;
  margin: 10px 0 0.5em 10px;
}

.property .value-content {
  display: block; 
  margin: -5px 0; 
 }
  /* metadata browse links*/
a.metadata-browse-link {
  padding: 0 10px;
  font-style: italic;
}

   /* item set  and site page links*/
.item-sets dd {
  grid-column: 2;
  margin: 5px 0 0.5em 10px;
}
.site-pages dd {
  grid-column: 2;
  margin: 5px 0 0.5em 10px;
}
    /*ajustar altura dd multivalue*/
.property dd.value:not(:first-of-type) {
  margin-top: -5px;
}
.property dd.value:not(:last-child) {
  margin-bottom: 10px; 
}



/*THEME*/

/*header*/

header {
  background-color: #d9d9d9;
  margin-bottom: 40px;
}

header h1.site-title a {
  margin: -33px 0 0px 0;
  width: 100%;
}


/*logo an title*/

header img {
  width: 175px;
}

.site-title {
  display: flex;
  align-items: baseline;
}

p.titulo {
    margin: 50px auto;
    padding-left: 20px;
    font-size: 25pt;
    text-shadow: 2px 2px RGBA(0, 0, 0, 0.25);
    display: flex;
    position: relative;
}

header nav {
  background: #c3c3c3;
  max-width: 100%;
  padding: 0 9.38983%;
}

header li a {
  color: #3d3d3d !important;
}

/*nav bar*/
header nav ul.navigation {
    font-weight: 600;
}
header nav ul.navigation>li:hover>ul:after {
    background-color: #c3c3c3;
    border-bottom: 3px  solid #896f6f;
}
header nav ul a:hover {
    background-color: transparent;
    color: #C60C31 !important;
}

/*search*/
#search {
    background: transparent;
    border: none;
}
div#resource-class {
    display: none;
}

    /*hide all .field class after #property-queries with General Sibling Selector (~)*/
#advanced-search #property-queries~ .field {
    display: none;
}


/*Parallax*/
    /* ajustes margenes de nueva clase .page-layout*/
.page-layout-normal .block {
    margin: auto 0 -20px 0;
}
.parallax {
    position: relative;
    background-image: url(/files/asset/743bb5581802cee2f27454cbc6ee7c8efe91a0d7.jpg);
    min-height: 100px;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -42px;
}
.parallax2 {
    background-image: url(/files/asset/e2aae69e68a7841163823e5b67c86ffc84ddbb41.jpg);
    min-height: 250px;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0  0 -60px  0;
    position: relative;
}
/*carousel*/
.carousel-block {
    position: relative;
    padding-bottom: 10px;
    margin: 1rem  5%;
}

/*Tooltip*/
p.tooltip.facetas {
    background: #d1ecf1;
    font-size: 13pt;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 5px;
    margin: 3px 0 7px -9px;
}
p.tooltip.exacta {
    font-size: 14pt;
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
}

.tooltip {
    position: relative;
    display: inline-block;
    min-width: 35px;
    margin: 0px;
    padding: 0px 5px;
    min-height: 30px;
    line-height: 100%;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 375px;
    background-color: #cce5ff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0px;
    position: absolute;
    z-index: 1;
    color: #004085;
    border-color: #b8daff;
    margin: 32px  -80px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
span.tooltiptext {
    font-size: 12pt;
}

/*FOOTER*/

.block-footer ul {
  list-style-type: none;
}

.block-footer {
  text-align: left;
  margin: auto;
  display: inline-block;
}
.soporte {
  border-top: 1px solid #dbdbdb;
  font-size: 11pt;
  margin-bottom: -22px;
  text-align: center;
  padding: 15px 0 15px 0;
}

a.soporte-por {
  text-decoration: underline dotted #e5e5e5;
  color: #9c9c9c !important;
}


/*TEST*/

.header-container {
  width: 100%;
  float: left;
}

.header-un-quinto {
  width: 20%;
  float: left;
}

.header-cuatro-quintos {
  width: 75%;
  float: left;
  line-height: 23pt;
  color: #C60C31;
  font-size: 24pt;
  font-weight: bold;
}

.header-cuatro-quintos span {
  color: ;
  float: left !important;
}

.sec-logo-censo {
  text-align: center;
  margin: 30px 0px 0 0px;
}

/*RESPONSIVE - ADAPTATIVO*/ 
@media only screen and (max-width: 1199px) {
  .header-container {
    width: 93%;
    padding-right: 10%;
    float: left;
    clear: both;
  }
}
 @media only screen and (max-width: 991px) {
    .header-container {
      width: 100%;
    }
    .sec-logo-censo {
      text-align: center;
      position: relative;
      display: block;
    }
    .header-un-quinto {
      width: 100%;
      float: none;
      position: relative;
      text-align: center;
      margin: 45px auto -30px auto;
}
    .header-cuatro-quintos {
     margin-left: 0px;
     font-size: 21pt;
     clear: both;
     text-align: center;
     width: 100%;
}
p.titulo {
    font-size: 17pt;
    display: block;
    position: relative;
    margin: 25px 0;
}
#content {
    padding: 1px 1.69492% 30px;
}
}
  @media only screen and (max-width: 455px) {
    #header-censo {
      margin-top: -20px;
      margin-left: -40px;
      margin-right: -40px;
    }
    .header-container {
      margin-left: 5%;
    }
    .header-logo-censo {
      max-width: 70px;
    }
   .header-cuatro-quintos {
      padding: 0;
      width: 95%;
}
   .sec-logo-censo img {
      width: 150px;
}
   p.titulo {
      margin: 17px auto;
      font-size: 12pt;
}
}

/*FACETAS*/
#content\ facetas {
    max-width: 97%;
    margin: auto;
}
#section-sidebar {
    width: 25%;
    padding: 5px 0 0 20px;
    background: #dedede;
    margin: 0 0 0 -21px;
}
#section-content {
    width: 75%;
    padding-left: 0.5
rem
;
}
thead {
    background: #e6e6e6;
}
.browse-controls {
    margin: 15px 0 -10px 0;
}

/*Bootstrap home*/
.container.home {
    max-width: 100% !important;
}
.container.pie {
    max-width: 90% !important;
}
.home .uno {
    background: #4241419e;
    color: #ffffff;
    border: 2px solid #c3c3c3;
   min-height: 350px;
}
.home .dos {
    background: #f7f7f7a6;
    border: 2px solid #c3c3c3;
   min-height: 175px;
}
.home .tres {
    background: #d79c9ca6;
    border: 2px solid #c3c3c3;
   min-height: 175px;
}
.jumbotron { 
    padding: 8px 5px 30px 5px;
    color: #525252;
    background-color: #c3c3c3;
}

/*Bootstrap footer*/
/**/
.footer-dark {
  padding:50px 0;
  color:#f0f9ff;
  background-color:#282d32;
  border-top: 5px  solid #a9abad;
}

.footer-dark h3 {
  margin-top:0;
  margin-bottom:12px;
  font-weight:bold;
  font-size:16px;
}

.footer-dark ul {
  padding:0;
  list-style:none;
  line-height:1.6;
  font-size:14px;
  margin-bottom:0;
}

.footer-dark ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.6;
}

.footer-dark ul a:hover {
  opacity:0.8;
}

@media (max-width:767px) {
  .footer-dark .item:not(.social) {
    text-align:center;
    padding-bottom:20px;
  }
}

.footer-dark .item.text {
  margin-bottom:36px;
}

@media (max-width:767px) {
  .footer-dark .item.text {
    margin-bottom:0;
  }
}

.footer-dark .item.text p {
  opacity:0.6;
  margin-bottom:0;
}

.footer-dark .item.social {
  text-align:center;
}

@media (max-width:991px) {
  .footer-dark .item.social {
    text-align:center;
    margin-top:20px;
  }
}

.footer-dark .item.social > a {
  font-size:20px;
  width:36px;
  height:36px;
  line-height:36px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(255,255,255,0.4);
  margin:0 8px;
  color:#fff;
  opacity:0.75;
}

.footer-dark .item.social > a:hover {
  opacity:0.9;
}

.footer-dark .copyright {
  text-align:center;
  padding-top:24px;
  opacity:0.3;
  font-size:13px;
  margin-bottom:0;
}




/*media=screen */

@media screen {
  .soporte {
    border-top: 1px solid #dbdbdb;
    font-size: 11pt;
    margin-bottom: -22px;
    text-align: center;
    padding: 15px 0 15px 0;
  }
  a.soporte-por {
    text-decoration: underline dotted #e5e5e5;
    color: #9c9c9c!important;
  }
  .footer-dark {
    padding: 50px 0;
    color: #f0f9ff;
    background-color: #282d32;
  }
  .footer-dark h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 16px;
  }
  .footer-dark ul {
    padding: 0;
    list-style: none;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 0;
  }
  .footer-dark ul a {
    color: inherit;
    text-decoration: none;
    opacity: 0.6;
  }
  .footer-dark ul a:hover {
    opacity: 0.8;
  }
  @media (max-width:767px) {
    .footer-dark .item:not(.social) {
      text-align: center;
      padding-bottom: 20px;
    }
  }
  .footer-dark .item.text {
    margin-bottom: 36px;
  }
  @media (max-width:767px) {
    .footer-dark .item.text {
      margin-bottom: 0;
    }
  }
  .footer-dark .item.text p {
    opacity: 0.6;
    margin-bottom: 0;
  }
  .footer-dark .item.social {
    text-align: center;
  }
  @media (max-width:991px) {
    .footer-dark .item.social {
      text-align: center;
      margin-top: 20px;
    }
  }
  .footer-dark .item.social>a {
    font-size: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    color: #fff;
    opacity: 0.75;
  }
  .footer-dark .item.social>a:hover {
    opacity: 0.9;
  }
  .footer-dark .copyright {
    text-align: center;
    padding-top: 24px;
    opacity: 0.3;
    font-size: 13px;
    margin-bottom: 0;
  }
}


/*ocultar columnas en dinámica*/

@media only screen and (max-width: 1199px) {
    #section-content tr td:nth-child(6),
    #section-content th:nth-child(6) {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    #section-content tr td:nth-child(5),
    #section-content th:nth-child(5) {
        display: none;
    }
    #section-content tr td:nth-child(6),
    #section-content th:nth-child(6) {
        display: none;
    }
}

@media only screen and (max-width: 655px) {
    #section-sidebar {
        width: 35%;
    }
    #section-content {
        width: 65%;
    }
    #section-content tr td:nth-child(4),
    #section-content th:nth-child(4) {
        display: none;
    }
    #section-content tr td:nth-child(5),
    #section-content th:nth-child(5) {
        display: none;
    }
    #section-content tr td:nth-child(6),
    #section-content th:nth-child(6) {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
  .property {
    grid-template-columns: 150px 1fr;
  }
}

@media only screen and (max-width: 455px) {
    #section-sidebar {
        width: 40%;
        margin-top: 12px;
    }
    #section-content {
        width: 60%;
    }
    #section-content td {
        border-bottom: 1px solid grey;
    }
    #section-content tr td:nth-child(3),
    #section-content th:nth-child(3) {
        display: none;
    }
    #section-content tr td:nth-child(4),
    #section-content th:nth-child(4) {
        display: none;
    }
    #section-content tr td:nth-child(5),
    #section-content th:nth-child(5) {
        display: none;
    }
    #section-content tr td:nth-child(6),
    #section-content th:nth-child(6) {
        display: none;
    }
}

@media only screen and (max-width: 325px) {
    #section-sidebar {
        width: 55%;
    }
    #section-content {
        width: 45%;
    }
    #section-content tr td:nth-child(2),
    #section-content th:nth-child(2) {
        display: none;
    }
    #section-content tr td:nth-child(3),
    #section-content th:nth-child(3) {
        display: none;
    }
    #section-content tr td:nth-child(4),
    #section-content th:nth-child(4) {
        display: none;
    }
    #section-content tr td:nth-child(5),
    #section-content th:nth-child(5) {
        display: none;
    }
    #section-content tr td:nth-child(6),
    #section-content th:nth-child(6) {
        display: none;
    }
}