@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
  @import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

@font-face {
    font-family: 'Patria';
    font-style: normal;
    font-weight: 100;
    src: url("https://framework-gb.cdn.gob.mx/applications/cms/fonts/Patria_Regular.otf") format("opentype");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

body{
    font-family: "Patria","noso Sans", "Helvetica", "Arial", sans-serif;
  /*  line-height: 1.1;*/
    color: #888890;  
}
p{
  /*font-size: 18px;*/
  /*text-align: justify;*/
}

:root {
    --titulo:#f29318;
    --subtitulo:#BA665B;
    --letra-d:#BC955C;
    --radius: 18px;
    --shadow: 0 12px 40px rgba(0,0,0,.15);
    --speed: .25s;
    --success-bg: #ecfdf5; --success-bd:#10b981; --success-tx:#065f46;
    --info-bg:    #eff6ff; --info-bd:   #3b82f6; --info-tx:   #1e3a8a;
    --warn-bg:    #fff7ed; --warn-bd:   #f59e0b; --warn-tx:   #7c2d12;
    --error-bg:   #fef2f2; --error-bd:  #ef4444; --error-tx:  #7f1d1d;
  }

.sidebar {
   height: 100%;
  width: 250px;
  z-index: 1;
  left: 0;
  overflow-x: hidden;
  background: #eeee;
  overflow: hidden;
  margin-bottom: 50px;
}


.sidebar a, .sidebar .dropdown-btn {
  display: block;
  color: black;
  padding: 16px;
  text-decoration: none;
      list-style: none;
}
 
.sidebar a.active {
  background-color: #eeee;
  color: black;
}

.sidebar a:hover:not(.active) {
  background-color: #33534b;
  color: white;
}

div.content {
  margin-left: 200px;
  padding: 1px 16px;
  height: 1000px;
}

/* Add an active class to the active dropdown button */
.sidenav .active {
  background-color: #33534b;
  color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #fff;
  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}

/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}

@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}

.topnav {
  background: black;
  overflow: hidden;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav-right {
  float: right;
  color: white;
}
   .login-box {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 500px;
        padding: 40px;
        transform: translate(-50%, -50%);
        background-color: #ca973b;
        box-sizing: border-box;
        box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
        border-radius: 10px;
    }

    .titulo_campo {
        font-size: 1.5rem;
        color: white;
        font-weight: bolder;
        text-transform: uppercase;

    }

    .boton_inicio {
        background-color: #4d1e0f !important;
        color: white;
    }

    .body_login{
      background-image: url('../img/naranja.png'); background-size: cover;
    }

  .alert {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    border: 2px solid;
    box-shadow: var(--shadow);
    background: white;
    transform: translateY(10px);
    opacity: 0;
    animation: enter var(--speed) ease forwards;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    max-width: 600px;
    font-size: 1.1rem;
  }
  @keyframes enter { to { opacity: 1; transform: translateY(0);} }
  @keyframes exit  { to { opacity: 0; transform: translateY(-8px);} }

  .alert__icon { font-size: 2rem; line-height: 1; margin-top:.2rem }
  .alert__title { font-weight: 700; margin: 0; font-size: 1.4rem }
  .alert__desc  { margin: .3rem 0 0; font-size: 1.05rem; opacity: .9 }
  .alert__close {
    border: none; background: transparent; cursor: pointer;
    font-size: 1.5rem; line-height: 1; opacity: .6; transition: opacity .2s;
  }
  .alert__close:hover { opacity: 1; }

  /* Variantes */
  .alert--success { background: var(--success-bg); border-color: var(--success-bd); color: var(--success-tx); }
  .alert--info    { background: var(--info-bg);    border-color: var(--info-bd);    color: var(--info-tx); }
  .alert--warning { background: var(--warn-bg);    border-color: var(--warn-bd);    color: var(--warn-tx); }
  .alert--error   { background: var(--error-bg);   border-color: var(--error-bd);   color: var(--error-tx); }

  /* Contenedor (para stack) */
  .alerts {
    position: fixed; inset-inline: 0; top: 20px;
    display: grid; justify-items: center; gap: 14px; padding: 0 16px; z-index: 9999;
  }

footer{  
background-size: cover;
background-position: bottom;
padding: 50px 50px 50px;
background-color: #611232;
}

footer p{
color: white;
}
footer a{
text-decoration: none;
}

h1 { 
font-weight: bolder;
    border-bottom: 3px solid #888890;
    text-align: center;
}

h3{
  font-weight: bolder;
color: var();
}
h2{
  font-weight: bolder;
}

a.nav-link{
color: white;
}
.navbar-collapse{
justify-content: center;
}

.video-background-holder {
position: relative;
background-color: #181C47;
height: calc(100vh - 0px);
min-height: 25rem;
width: 100%;
overflow: hidden;
}

.video-background-holder video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 0;
-ms-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}

.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 200;
top: 0;
left: 0;
background-color: #000;
overflow-x: hidden;
transition: 0.5s;
padding-top: 100px;
}

.sidenav a,.sidenav .dropdown-btn {

padding: 8px 8px 16px 16px; 
text-decoration: none;
font-size: 20px;
color: #fff;
display: block;
border: none;
background: none;
width: 100%;
text-align: left;
cursor: pointer;
outline: none;
}


.dropdown-btn:hover, .me:hover{
background-color: #4c4c4c;
}

.dropdown-container a:hover{
border:2px #181C47 solid;
}

.active {
background-color: #4c4c4c;
color: white;
}

.dropdown-container {
display: none;
background-color: #FFFFFF;
/*padding-left: 8px;*/

a{
color: #181C47;
}
}

.fa-caret-down, .fa-external-link {
float: right;
padding-right: 8px;
}

.open {
color: #fff;
display: block;
height: 60px;
line-height: 65px;
text-align: center;
width: 60px;
position: fixed;
z-index: 2;
padding: 1px;
background-color: #000; 
top:55px;
}

.home{
  color: #fff;
display: block;
height: 60px;
line-height: 65px;
text-align: center;
width: 60px;
position: fixed;
z-index: 2;
padding: 1px;
background-color: #000; 
}

.main-footer{
  .fa-solid, .fa-brands{
        color: white;
      }       
}
.icons{
  .fa-solid, .fa-brands{
        color: #ababab;
        display: block;
        height: 60px;
        line-height: 65px;
        text-align: center;
        width: 60px;
        position: fixed;
        z-index: 2;
        padding: 1px;  
        
      }


      .fa-house {
      top:60px;
      } 

      .fa-facebook {
          top: 120px;
      }
      .fa-x-twitter {

          top: 180px;
      }
      .fa-instagram {

          top: 240px;
      }
      .fa-youtube {

          top: 300px;
      }
      .fa-tiktok {
          top: 360px;
      }
         
}
       

.sidenav .closebtn {
position: absolute;
top: -12px;
left: 250px;
font-size: 36px;
margin-left: 50px;
height: 60px;
}

.color-white{
  color: white;
  text-align: justify;
}
/******Gallery******/
#gallery {
  padding-top: 40px;
  margin-bottom: 40px;
 
}

.img-wrapper {
  position: relative;
  margin-top: 15px;
      
  img {
    width: 100%;
   
  }
}
.img-overlay {
  cursor: pointer;
  background: rgba(0,0,0,0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  i {
    color: #fff;
    font-size: 3em;
  }
}

#overlay {
  background: rgba(0,0,0,0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  // Removes blue highlight
  -webkit-user-select: none;
  -moz-user-select: none;    
  -ms-user-select: none; 
  user-select: none; 
  img {
    margin: 0;
    width: 80%;
    height: auto;
    object-fit: contain;
    padding: 5%;
    @media screen and (min-width:768px) {
        width: 60%;
    }
    @media screen and (min-width:1200px) {
        width: 50%;
    }
  }
}

#nextButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 3em;
  }
}

#prevButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 3em;
  }
}

#exitButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  position: absolute;
  top: 15px;
  right: 15px;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 3em;
  }
}

.figura_linea{
  width: 60px;
    margin-right: 20px;
}

.historia{
  text-align: justify;
}

.box-admin{
  display: flex;
  flex-direction: row;
  .left-side{
    width: 20%;
  
  }
  .right-side{
    width: 70%;
   
  }
}

.btn-guardar{
  background-color: black;
  color: white;
}

.btn-guardar:hover{
  background-color: gray;
  color: black;
}

.encabezado{
    height: 90vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.img-video{
  position: absolute;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
    width: 20%;
  margin-left: 60px;
}

  .btn-elimina{
     background-color: #FD1D1D;
    color: white;
  }
  .btn-elimina:hover{
    background-color: #A83636;
    color: white;
  }



#gallery {
  padding-top: 40px;
  margin-bottom: 40px;
 
}

.img-wrapper {
  position: relative;
  margin-top: 15px;
  img {
    width: 100%;
    height: 20rem;
  }
}
.img-overlay {
  background: rgba(0,0,0,0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  i {
    color: #fff;
    font-size: 3em;
  }
}

#overlay {
  background: rgba(0,0,0,0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  // Removes blue highlight
  -webkit-user-select: none;
  -moz-user-select: none;    
  -ms-user-select: none; 
  user-select: none; 
  img {
    margin: 0;
    width: 80%;
    height: auto;
    object-fit: contain;
    padding: 5%;
    @media screen and (min-width:768px) {
        width: 60%;
    }
    @media screen and (min-width:1200px) {
        width: 50%;
    }
  }
}

#nextButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 3em;
  }
}

#prevButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 3em;
  }
}

#exitButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  position: absolute;
  top: 15px;
  right: 15px;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 3em;
  }
}

/* Lazy Load Styles */
.card-image {
  display: block;
  min-height: 20rem; /* layout hack */
  background: #fff center center no-repeat;
  background-size: cover;
  filter: blur(3px); /* blur the lowres image */
}

.card-image > img {
  display: block;
  width: 100%;
  opacity: 0; /* visually hide the img element */
}

.card-image.is-loaded {
  filter: none; /* remove the blur on fullres image */
  transition: filter 1s;
}




.card {
  font-size: 1rem;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
  transition: transform 0.1s ease-in-out, box-shadow 0.1s;
  .card-description {
      display: block;
      padding: 1em 0.5em;
      color: #515151;
      text-decoration: none;
      height: 120px;
    }

    .card-description > h2 {
      font-size: 13pt;
      margin: 0 0 0.5em;
    }

    .card-description > p {
      margin: 0;
    }
}

.card:hover {
  transform: translateY(-0.5rem) scale(1.0125);
  box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
}



.snip1529 {
  background-color: #000000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6em;
  margin: 10px;
  max-width: 310px;
  min-width: 250px;
  overflow: hidden;
  position: relative;
  text-align: left;
  width: 100%;
}

.snip1529 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.snip1529 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
 /* opacity: 0.75;*/
}

.snip1529 figcaption {
  padding: 25px 20px 25px;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.snip1529 .date {
  background-color: #fff;
  color: #333;
  font-size: 18px;
  font-weight: 800;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 0;
  position: absolute;
  right: 15px;
  text-align: center;
  text-transform: uppercase;
  top: 0;
}

.snip1529 .date span {
  display: block;
  line-height: 14px;
}

.snip1529 .date .month {
  font-size: 11px;
}

.snip1529 h3,
.snip1529 p {
  margin: 0;
  padding: 0;
}

.snip1529 h3 {
  font-weight: 800;
  letter-spacing: -0.4px;
}

.snip1529 .hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  background-color: #4c4c4c;
  display: flex;
  font-size: 65px;
  justify-content: center;
  opacity: 0;
}

.snip1529 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.snip1529:hover .hover,
.snip1529.hover .hover {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  opacity: 1;
}

.snip1529:hover figcaption,
.snip1529.hover figcaption {
  opacity: 0;
}

.snip1529:hover .date,
.snip1529.hover .date {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}

.fa-chevron-left, .fa-chevron-right, .fa-times{
  cursor: pointer;
}

.left-img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}
.right-img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
} 

  .boton-bonito {
      background: linear-gradient(135deg, #99c77b, #95be11);
      color: white;
      padding: 15px 30px;
      border: none;
      border-radius: 50px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
    }

    .boton-bonito:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
      background: linear-gradient(135deg, #95be11, #99c77b);
    }

    .boton-bonito:active {
      transform: translateY(1px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    }

    .f-image{
      width: 40%;
    }

       .form-check-input:checked {
      background-color: #6C2523;
      border-color: #6C2523;
    }
/******************/
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
  .encabezado {
      height: 15vh;
      }
      .icons{
      display: none;
    }
}  

@media (min-width: 500px) and (max-width: 1099px) { 
 
 }

 /* Para pantallas de escritorio grandes (más de 1024px) */
@media (min-width: 1024px) {
 
}

/* Para pantallas de tabletas (entre 768px y 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  
}

/* Para pantallas móviles (menos de 768px) */
@media (max-width: 768px) {
    .encabezado {
       height: 20vh;
           background-size: contain;
    }
    .icons{
      display: none;
    }
    .img-video{
      width: 65%;
    }
    .video-background-holder, .video-background-holder video {
      height: 20vh;
    }

    .snip1529 {
     max-width: 95%;
    }
    h1{
      font-size: 16pt;
    }
    body{
      text-align: justify;
    }

    .f-image{
      width: 100%;
    }
}