/********** Template CSS **********/
:root {
    --primary: #96262C;
    --light: #F3F4F5;
    --dark: #101820;
    --green: #3DAE2B;
    --blue: #215AA8
}
body{
    font-size: 18px;
    font-family: "Montserrat", sans-serif !important;
    line-height: normal;
}


.navbar-contSocial{
    background: var(--primary);
    color: var(--light);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-primary-temp{
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary-temp:hover{
    color: #fff;
}

.btn-secondary-temp{
    background-color: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.btn-secondary-temp:hover{
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-secondary-hist{
  background-color: var(--blue);
  border-color: var(--blue);
  border-radius: 10px;
  color: #fff;
}
.btn-secondary-hist:hover{
  background-color: var(--primary);
  border-color: var(--primary);
  border-radius: 10px;
  color: #fff;
}

.btnHeader{
  width: 10rem;
    display: block;
    font-size: 16px;
    font-weight: bold;
    border-radius: 3px;
    background-color: #96262C;
    border-color: #96262C;
    -webkit-box-shadow: 0 8px 12px rgba(51, 51, 51, 0.2);
    -moz-box-shadow: 0 8px 12px rgba(51, 51, 51, 0.2);
    box-shadow: 0 8px 12px rgba(51, 51, 51, 0.2);

}


.btnHeader:hover{
  background-color: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    max-height: 100%;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    #hero-slide .carousel-caption {
      text-align: center!important;
      min-width: 0!important;
      min-height: 0!important;
      padding: 30px 35px 30px 35px!important;
    }

    #hero-slide .carousel-caption p{
      text-align: justify!important;
    }

    .owl-nav{display: none;}
    .contactData h5{font-size: 14px;}

    .btnHeader{display: none;}
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-bg {
    background-color: var(--primary);
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.docsList i{
    font-size: 5rem;
    color: var(--green);
}

.docsList .titleDoc {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.docsList .subtitleDoc {
 font-size: 1.5rem;
 font-weight: 600;
 margin-bottom: 0;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 40px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
.hero-section-full-height {
    /* height: 680px;
    min-height: 680px; */
    position: relative;
  }
  
  .carousel:hover .carousel-control-next-icon, 
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }
  
  /* #hero-slide .carousel-item {
    height: 680px;
    min-height: 680px;
  } */
  
  #hero-slide .carousel-caption {
    background: var(--white-color);
    /* clip-path: polygon(100% 100%, 100% 150px, 0 100%); */
    color: var(--secondary-color);
    top: 1px;
    bottom: -1px;
    right: 0;
    left: auto;
    text-align: right;
    /* min-width: 680px;
    min-height: 680px; */
    padding: 100px 100px 50px 840px;
  }
  
  .carousel-image {
    display: block;
    width: 100%;
    /* min-height: 680px; */
  }
  
  #hero-slide .carousel-indicators-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
  }
  
  #hero-slide .carousel-indicators {
    margin-right: 0;
    margin-left: 22px;
    justify-content: inherit;
  }
  
  .carousel-control-next, 
  .carousel-control-prev {
    opacity: 1;
  }
  
  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    background-color: var(--blue);
    border-radius: 100px;
    background-size: 60% 60%;
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: all 0.5s;
  }
  
  .carousel-control-next-icon:hover, 
  .carousel-control-prev-icon:hover {
    background-color: var(--primary);
  }

.text-title-span{
    color: var(--primary);
}

/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
    background: #ffffff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
  }
  
  /* .custom-block-wrap:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  } */
  
  .custom-block-body {
    border-bottom: 30px solid var(--primary);
    padding: 30px;
    height: 350px;
  }

  .custom-block-body p{
    font-size: 14px;
    text-align: justify;
  }

  .custom-block-body h5{
    font-size: 16px;
    text-align: justify;
  }

  .custom-block-body a{
    cursor: pointer;color: #25935b;font-size: 14px; border-bottom: 1px solid #25935b;
  }
  .custom-block-body a:hover{
    cursor: pointer;color: var(--primary);border-bottom: 1px solid var(--primary);
  }

  
  .custom-block-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .custom-block .custom-btn {
    border-radius: 0;
    display: block;
  }

/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 2rem;
    bottom: 8rem;
    border: 5px solid var(--primary);
}

.img-border img {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: calc(100% - 2rem);
    height: calc(100% - 8rem);
    object-fit: cover;
}

.img-border-hist {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.img-border-hist::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 5rem;
  bottom: 0rem;
  border: 5px solid var(--primary);
}

.img-border-hist .image-container {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: calc(100% - 5rem);
  object-fit: cover;
}

.image-container {
  position: relative;
  display: inline-block; /* o block si prefieres que ocupe todo el ancho disponible */
}

.image-container img {
  display: block;
  max-width: 100%;
}

.icono-ver {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 100px!important;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .icono-ver {
  opacity: 1;
}

.image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover::before {
  opacity: 1;
}

.avisual lite-youtube{
    border-radius: 20px;
}

/*---------------------------------------
  VOLUNTEER              
-----------------------------------------*/
.volunteer-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
    color: #fff;
  }

  .owl-prev {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 40%;
    margin-left: -35px;
    display: block !important;
    border:0px solid black;
}

.owl-next {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 40%;
    right: -35px;
    display: block !important;
    border:0px solid black;
}
.owl-prev i, .owl-next i {transform : scale(3,3); }

.lite-youtube-fallback {
	aspect-ratio: 16 / 9; /* matches YouTube player */
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 1em;
	padding: 1em;
	background-color: #000;
	color: #fff;
	text-decoration: none;
}

/* right-facing triangle "Play" icon */
.lite-youtube-fallback::before {
	display: block;
	content: '';
	border: solid transparent;
	border-width: 2em 0 2em 3em;
	border-left-color: red;
}

.lite-youtube-fallback:hover::before {
	border-left-color: #fff;
}

.lite-youtube-fallback:focus {
	outline: 2px solid red;
}
.prevDocumento{cursor: pointer;}
.prevDocumento span{cursor: pointer;color: #25935b;font-size: 14px; border-bottom: 1px solid #25935b;}
.prevDocumento span:hover{cursor: pointer;color: var(--primary);border-bottom: 1px solid var(--primary);}

.galery-item {
  position: relative;
  display: block;
}

.galery-item .galery-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px !important;
  opacity: 0;
  transition: .5s;
}

.galery-item:hover .galery-text {
  opacity: 1;
  padding-bottom: 20px !important;
}

  footer {
    background: none repeat scroll 0 0 #141f26;
    color: #ffffff;
    font-family: "Montserrat",sans-serif;
    font-size: 14px;
    line-height: 28px;
    padding: 18px 0 10px;
    position: relative;
  }
  
  footer h3 {
    color: #fff;
    border-bottom: solid #ffb500 1px;
    padding-bottom: 4px;
    text-transform: none;
    font-size: 16px;
    font-weight: 600;
  }
  .social-top a {
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: inline-block;
    font-family: "FontAwesome";
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
    transition: background-color .2s linear, color .2s linear;
  }
  footer a {
    color: #ffffff;
  }
  .social-top a.fa-twitter:hover {
    background-color: #00acee;
    color: #eeeeee !important;
  }
  .social-top a.fa-facebook:hover {
    background-color: #3b5998;
    color: #eeeeee !important;
  }
  .social-top a.fa-youtube:hover {
    background-color: #c4302b;
    color: #eeeeee !important;
  }
  .social-top a:before {
    width: inherit;
    height: inherit;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
  }
  footer a:hover, a:focus {
    color: #feb501;
    text-decoration: none;
  }

  .footer .transparencia {
    margin: 22px 0 0;
}