/*
Estilo para las páginas de las colonias
*/

body {
    background: url('../images/jrz1905.webp'), rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    background-size: 120%;
    background-position: top 20% center;
}

@supports (-moz-appearance:none) { /* cambio de imagen de fondo solo para Firefox */
    body {
        background: url('../images/jrz1905.webp'), rgba(83, 83, 83, 0.9);
        background-blend-mode: lighten;
        background-size: 120%;
        background-position: top 20% center;
    }
}

.container-full {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.navbar {
    border-radius: 20px;
    margin-top: clamp(1rem, 2.5vw, 3rem);
    margin-bottom: clamp(1.5rem, 2.5vw, 3rem);
    overflow: hidden;
    /*font-family: "Maname", serif;*/
    font-family: "Noto Sans Symbols", sans-serif;
    font-weight: 400;
    font-style: normal;
    /*background: hsla(56, 100%, 61%, 0.95);*/
    /*background: rgb(255, 244, 85, 0.95);*/
    background: rgb(222, 184, 135, 0.95);
    padding: 0px;
    box-shadow: 5px 5px 8px blue, 10px 10px 8px red;
}
  
.navbar a {
    float: left;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: black;
    text-align: center;
    padding: clamp(0.5rem, 0.8rem, 0.8rem) 17px;
    text-decoration: none;
}

.navbar a:visited {
    color: black;
}

.navbar a:active {
    color: rgb(238, 78, 78);
    text-decoration: underline;
}
  
.navbar a:hover {
    /*font-family: "Maname", serif;*/
    font-family: "Noto Sans Symbols", sans-serif;
    /*background-color: hsla(29, 100%, 61%, 1);*/
    background-color: rgb(219, 193, 156, 0.95);
    text-decoration: underline;
    /*background-color: rgb(255, 199, 0, 1);*/
}

/*.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  max-width: 800px;
}*/

/*.galleryItem {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}*/
.galleryItem img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    /*width: 100%;
    height: 100%;*/
    /*-o-object-fit: cover;
        object-fit: cover;*/
    /*cursor: pointer;
    transition: 0.3s ease-in-out;*/
}
/*.galleryItem:hover img {
  transform: scale(1.1);
}*/

#boton_arriba {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: rgb(250, 159, 67, 0.95);
    box-shadow: 5px 0px 6px rgba(119, 119, 119, 0.85);
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

#boton_arriba:hover {
    background-color: rgb(255, 185, 114, 0.90);
    box-shadow: 5px 0px 6px rgba(119, 119, 119, 0.85);
}

#lightBox {
    display: none;
    z-index: 2;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    flex-direction: column;
}
#lightBox img {
    display: block;
    object-fit: contain;
    width: auto;
    max-width:90%;
    max-height: 90vh;
  /*border-radius: 8px;
  -o-object-fit: cover;
     object-fit: cover;*/
}

#lightBox #close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  cursor: pointer;
  font-size: 50px;
}
#lightBox #caption {
  color: #fff;
  margin-top: 20px;
  font-size: 1.1em;
  text-align: center;
}

.container { /*contenedor*/
    /*background-color: blue;*/
    float: center;
    width: 100%;
    background: clear;
    /*margin-bottom: 50px;*/
}

div.informacion ul {
    list-style-type: none;
    padding: 0;
}

div.informacion a:link {
    text-decoration: none;
}

div.referencias blockquote {
    margin-left: 0;
    margin-right: 0;
}

div.informacion, div.referencias, div.mapa-cardenal {
    box-align: center;
    padding-top: 10px;
    border-radius: 20px;
    background: rgb(222,184,135, 0.85);
    /*margin-top: 2px;*/
    padding-bottom: 5px;
    margin-bottom: 50px;
    box-shadow: 5px 5px 8px blue, 10px 10px 8px red;
}

div.informacion p { /*nombre de la colonia*/
    text-align: left;
    font-size: clamp(2.2rem, 3vw, 2.8125rem);
    /* font-size: 45px;*/
    color: black;
    font-family: "Maname", serif;
    padding-left: 5%;
}

div.informacion h1, div.referencias h1, div.mapa-cardenal h1 { /*nombre de la sección*/
    text-align: center;
    /*font-size: 30px; // old */
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    color: black;
    font-family: "Open Sans", sans-serif;
}

div.informacion h2, div.referencias h2 { /*texto de la información de la colonia*/
    text-align: left;
    /*font-size: 18px; // old */
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #272727d0;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: light;
    padding-left: 5%;
    padding-right: 5%;
}

div.informacion h3 { /*referencias en el texto*/
    display: inline;
    vertical-align: text-top;
    font-family: "Open Sans", sans-serif;
    margin: 2px;
    /*font-size: 15px; // old */
    font-size: clamp(0.9rem, 2.5vw, 0.9375rem);
}

div.informacion h3 a:link, a:visited {
    color: rgb(238, 78, 78, 1);
    background-color: transparent;
    text-decoration: none;
}

div.informacion h3 a:hover {
    color: rgb(238, 78, 78);
    background-color: rgb(238, 78, 78, 0.2);
    text-decoration: underline;
}

div.informacion h4 {
    display: inline;
    /*vertical-align: text-top;*/
    font-family: "Open Sans", sans-serif;
    /*font-size: 18px; // old */
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

div.mapa-cardenal h4 {
    /*vertical-align: text-top;*/
    margin-top: 2px;
    margin-bottom: 2px;
    font-family: "Open Sans", sans-serif;
    /*font-size: 18px; // old */
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

div.informacion h4 a:link, a:visited {
    color: rgb(238, 78, 78, 1);
    background-color: transparent;
    text-decoration: underline;
}

div.mapa-cardenal h4 a:link, a:visited {
    color: rgb(238, 78, 78, 1);
    background-color: transparent;
    text-decoration: underline;
}

div.informacion h4 a:hover {
    color: rgb(238, 78, 78);
    background-color: rgb(238, 78, 78, 0.2);
    text-decoration: underline;
}

div.mapa-cardenal h4 a:hover {
    color: rgb(238, 78, 78);
    background-color: rgb(238, 78, 78, 0.2);
    text-decoration: underline;
}

div.regresar-principio {
    border-radius: 20px;
    background: rgb(255, 199, 0, 0);
}

div.regresar-principio h1 {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    font-style: bold;
    color: black;
}

div.tabla {
    width: 100%; /* Can be in percentage also. */
    height: auto;
    margin: 0 auto;
}

div.tabla table.fixed {
    table-layout:fixed;
    width:90%;
    margin-left: auto;
    margin-right: auto;
}

div.tabla table.fixed td {overflow:hidden;}/*Hide text outside the cell.*/
div.tabla table.fixed td:nth-of-type(1) {width:25%}/*Setting the width of column 1.*/
div.tabla table.fixed td:nth-of-type(2) {width:50%}/*Setting the width of column 2.*/
div.tabla table.fixed td:nth-of-type(3) {width:25%}/*Setting the width of column 3.*/

div.tabla table td {
    border: 0px;
    text-align: center;
}

div.referencias h3 {
    display: inline;
    /*vertical-align: text-top;*/
    font-family: "Open Sans", sans-serif;
    margin: 2px;
    /*font-size: 18px; // old */
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

div.referencias h3 a:link, a:visited {
    color: rgb(238, 78, 78, 1);
    background-color: transparent;
    text-decoration: none;
}

div.referencias h3 a:hover {
    color: rgb(238, 78, 78);
    background-color: rgb(238, 78, 78, 0.2);
    text-decoration: underline;
}

div.referencias h4 {
    display: inline;
    /*vertical-align: text-top;*/
    font-family: "Open Sans", sans-serif;
    margin: 2px;
    /*font-size: 18px; // old */
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

div.referencias h4 a:link, a:visited {
    color: rgb(238, 78, 78, 1);
    background-color: transparent;
    text-decoration: underline;
}

div.referencias h4 {
    color: rgb(238, 78, 78);
    background-color: rgb(238, 78, 78, 0.2);
}

div.informacion hr, div.referencias hr, div.mapa-cardenal hr {
    background-color: black;
    height: 1px;
    border: none;
    width: 90%;
    padding: 0px;
    /*margin-top: -1em;*/
}

div.gallery figure {
    margin-left: 6%;
    margin-right: 6%;
    margin-top: 25px;
    width: 88%;
    float: top;
}

div.gallery img {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    cursor: pointer;
}

div.gallery img:hover {opacity: 0.8;}

div.gallery figcaption {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: light;
}

div.container:after {
    content: "";
    display: table;
    clear: both;
}

div.boton-descarga {
    padding: 10px;
    overflow: hidden;
    /*text-align: center;*/
}

/* Style the buttons inside the tab */
div.boton-descarga button {
    height: 60px;
    width: 250px;
    background-color: inherit;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    /*padding: 1px 10px;*/
    /*transition: 0.3s;*/
    background-color: rgb(250, 159, 67, 0.95);
    padding: 6px;
    box-shadow: 5px 0px 6px rgba(119, 119, 119, 0.85);
}

div.boton-descarga h2 {
    color: rgb(238, 78, 78);
    text-align: center;
    font-family: "Open Sans", sans-serif;
    /* font-size: 20px; // old */
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 600;
    font-style: light;
}

/* Change background color of buttons on hover */
div.boton-descarga button:hover {
    background-color: rgb(255, 185, 114, 0.90);
    padding: 8px;
    box-shadow: 5px 0px 6px rgba(119, 119, 119, 0.85);
}

/* Create an active/current tablink class */
div.boton-descarga button.active {
    background-color: rgb(250, 159, 67, 0.95);
    padding: 8px;
    box-shadow: 5px 0px 6px rgba(119, 119, 119, 0.85);
}