@import url(https://fonts.googleapis.com/css?family=Raleway:900);
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");


.slider {
  background: white;
  height: 250px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slider::before, .slider::after {
  background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgba(0, 0, 0, 0) 100%);
  content: "";
  height: 100%;
  position: absolute;
  width: 100px;
  z-index: 900;
}

.slider::after {
  right: 0;
  top: 0;
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 18);

}

.slider .slide-track:hover {
  animation-play-state: paused;
}

.slider .slide {
  height: 140px;
  margin: 10px;
  position: relative;
  width: 90%;
  display: grid;
  place-items: center;
}


.no_scroll{
  overflow:hidden;
}

.colored {
  background-color: #D00000;
  color: #FFFFFF;
  transition: background-color 0.7s ease 0s;
}

.coloazuloscuro {
  background-color: #29434e;
  color: #FFFFFF;
  transition: background-color 0.7s ease 0s;
}

.descolored{
  background-color: transparent;
  color: #FFFFFF;
  transition: background-color 0.7s ease 0s;
}
.texto-carousel{
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 25;
}

/* If the screen size is 601px wide or more, set the font-size of <div> to 80px */
@media screen and (min-width: 601px) {
  .texto-carousel h1 {
    max-width: 10em;
    margin: 0 auto;
    font-family: raleway, sans-serif;
    line-height: 1.4em;
    font-size: 7vw;
  }
  .texto-carousel h3 {
    margin: 0 auto;
    font-family: raleway, sans-serif;
    line-height: 1.4em;
    font-size: 2vw;
    text-align: right;
  }
  
}
@media screen and (max-width:800px){
  
#bg-line {
  background-color: #fff;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
  width: 100%;
  height: auto;
  margin-top: 90px;
  padding: 0 0 90px 0;
  text-align: center;
}

#bg-logo {
  background-color: #fff;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
  width: 100%;
  height: auto;
  margin-top: 90px;
  padding: 0 0 90px 0;
  text-align: center;
}
#bg-red {
  background-color: #fff;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
  width: 100%;
  height: auto;
  margin-top: 90px;
  padding: 0 0 90px 0;
  text-align: center;
}
}

/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 600px) {
  .texto-carousel h1 {
    max-width: 10em;
    margin: 0 auto;
    font-family: raleway, sans-serif;
    line-height: 1.5em;
    font-size: 7vh;
    text-align: center;
  }
  .texto-carousel h3 {
    margin: 0 auto;
    font-family: raleway, sans-serif;
    line-height: 1.9em;
    font-size: 2vh;
    text-align: center;
  }
  .pcontenido{
    text-align: justify;
  }
}



.texto-carousel .alt-1 span {
  padding: 5px 0;
  color: #FFBA08;
  background: #dc2f02;
  word-spacing: -0.15em;
}
#sticky {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top:40px;
    left:0px;
    z-index: 19;
  }
#sticky1 {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top:40px;
    right:0px;
    z-index: 19;
  }

  .buttonscarousel{
    z-index: 599;
  }
.carousel-item {
    position: relative;
    height: 100vh;
    width: 100%;
    min-height: 350px;
    background: no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  

  .card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 450px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
  }
  @media (max-width: 768px) {
    .card {
      min-height: 350px;
    }
  }
  @media (max-width: 420px) {
    .card {
      min-height: 300px;
    }
  }
  .card.card-has-bg {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center center;
  }
  .card.card-has-bg:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
  }
  .card.card-has-bg:hover {
    transform: scale(0.98);
    box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
    background-size: 130%;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  }
  .card.card-has-bg:hover .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: #234f6d;
    background: linear-gradient(0deg, rgba(4, 69, 114, 0.5) 0%, #044572 100%);
  }
  .card .card-footer {
    background: none;
    border-top: none;
  }
  .card .card-footer .media img {
    border: solid 3px rgba(255, 255, 255, 0.3);
  }
  .card .card-meta {
    color: #26bd75;
  }
  .card .card-body {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  }
  .card:hover {
    cursor: pointer;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  }
  .card:hover .card-body {
    margin-top: 30px;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  }
  .card .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: #234f6d;
    background: linear-gradient(0deg, rgba(35, 79, 109, 0.3785889356) 0%, #455f71 100%);
  }

  .textcolor-amarillo{
    font-weight: bold;
    font-size: 1.2rem;
    color: #FFBA08;
  }
  
  .textcolor-blanco{
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffffff;
  }

  .textcolor-rojo{
    font-weight: bold;
    font-size: 1.2rem;
    color: #d00000;
  }

  .nav-item{
    margin-left: 0.2em;
  }
  .nav-item .btn-rojo{
    background-color: #D00000 !important;
  }
  .item-image-gallery{
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 100%;
    background: no-repeat center center;
    background-size: cover;
}

.parallelogram {
  -webkit-transform: skew(-40deg);
  -moz-transform: skew(-40deg);
  -o-transform: skew(-40deg);
  transform: skew(-40deg);
  position: absolute;
  bottom:0px;
  left:0px;
  z-index: 15;
}

.parallelogram2 {
  -webkit-transform: skew(-40deg);
  -moz-transform: skew(-40deg);
  -o-transform: skew(-40deg);
  transform: skew(-40deg);
  position: absolute;
  bottom:50%;
  right:0px;
  z-index: 15;
}

#one {
  width: 50px;
  height: 300px;
  animation: moveBar 15s linear infinite;
  -webkit-box-shadow: 100px 509px #D00000, 20px 300px #D00000, -120px 150px #D00000;
  -moz-box-shadow: 100px 509px #D00000, 20px 300px #D00000, -120px 150px #D00000;
  box-shadow: 100px 509px #D00000, 20px 300px #D00000, -120px 150px #D00000;
  opacity: .4;
}

#two {
  width: 20px;
  height: 300px;
  animation: moveBar 30s linear infinite;
  -webkit-box-shadow: 250px 450px #DC2F02, -50px 200px #DC2F02;
  -moz-box-shadow: 250px 450px #DC2F02, -50px 200px #DC2F02;
  box-shadow: 250px 450px #DC2F02, -50px 200px #DC2F02;
  opacity: .4;
}

#three {
  width: 35px;
  height: 500px;
  animation: moveBar 20s linear infinite;
  -webkit-box-shadow: 70px 500px #FAA307, -100px 200px #FAA307;
  -moz-box-shadow: 70px 500px #FAA307, -100px 200px #FAA307;
  box-shadow: 70px 500px #FAA307, -100px 200px #FAA307;
  opacity: .4;
}

@keyframes moveBar {
  100% {
    transform: skew(-40deg) translateY(-1000px);
  }
}
#one {
  box-shadow: 200px 509px #D00000, 20px 300px #D00000, -120px 80px #D00000;
}

#two {
  box-shadow: 250px 450px #DC2F02, -100px 200px #DC2F02;
}

#three {
  box-shadow: 70px 500px #FAA307, -100px 200px #FAA307;
}


.contenedor {
	width: 100%;
	max-width: 1200px;
	margin: auto;
}

/* ------------------------- */
/* HEADER */
/* ------------------------- */

header .header {
	padding: 40px 0;
}


header .categorias {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

header .categorias a{
	color: #9B9B9B;
	margin: 10px 20px;
	font-size: 18px;
	font-weight: 700;
}

header .categorias a.activo {
	color: #000;
}

/* ------------------------- */
/* Grid */
/* ------------------------- */

.grid {
	position: relative;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s linear 1s;
}

.grid.imagenes-cargadas {
	opacity: 1;
}

.grid .item {
	position: absolute;
	display: block;
	padding: 0;
	margin: 10px;
	width: calc(20.333333% - 30px);
}

.grid .item-contenido {
	position: relative;
}

.grid .item img {
	width: 100%;
	cursor: pointer;
	vertical-align: top;
  transition: .2s;
}

.item-contenido img:hover{
  -webkit-transform:scale(1.1);
  -moz-transform:scale(1.1);
  -ms-transform:scale(1.1);
  -o-transform:scale(1.1);
  transform:scale(1.1);
  filter: saturate(180%);
}


/* ------------------------- */
/* Overlay */
/* ------------------------- */
.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,.9);
	width: 100%;
	height: 100vh;
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
  z-index: 25;
}

.overlay.activo {
	display: flex;
}

@media screen and (min-width: 601px) {
  .overlay img {
    max-width: 70vh;
    max-height: 30vw;
    align-items: center;
    justify-content: center;
  }
  
}

@media screen and (max-width: 600px) {
  .overlay img {
    max-width: 90vw;
    max-height: 50vh;
    align-items: center;
    justify-content: center;
  }
  
}


.contenedor-img {
	position: relative;
}

.overlay #btn-cerrar-popup {
	background: none;
	font-size: 20px;
	color: #fff;
	border: none;
	cursor: pointer;
	position: absolute;
  right: -20px;
	top: -30px;
}

/* ------------------------- */
/* Mediaqueries */
/* ------------------------- */
@media screen and (max-width: 700px) {
	.grid .item {
		width: calc(50% - 20px);
	}
}


.footer {
  position: relative;
  width: 100%;
  background: #D00000;
  min-height: 100px;
  margin-top: 7em;
  padding: 0 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}
.menu__item {
  list-style: none;
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 300;
}


.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 6s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 6s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 5s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 5s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}


@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-250px * 9));
  }
}
@media screen and (min-width: 801px)
{#bg-line {
  background: url(../resources/images/w3.png) no-repeat fixed center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: auto;
  margin-top: 20px;
  padding: 0 0 20px 0;
  text-align: center;
}

#bg-logo {
  
    background: url(../resources/images/w3.png) no-repeat fixed center;
    -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: auto;
  margin-top: 20px;
  padding: 0 0 20px 0;
  text-align: center;
}
#bg-red {
  background-color: #D00000;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
  width: 100%;
  height: auto;
  margin-top: 90px;
  padding: 0 0 90px 0;
  text-align: center;
}}


/* MODAL PARA LOS COMUNICADOS */

.span-modal{
  color:white;
  transition: 0.3s;
  float: right!important;
}
.span-modal:hover{
  opacity: 0.6;
}

.modal-activer{
  color: white;
  font-weight: bold;
}
/* //pendiente */
.modal-activer:hover{ 
  color: white;
}

.modal,
.modal-box {
  z-index: 900;
}

.modal-sandbox {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: transparent;
}

.modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, .8);
  overflow: auto;
}

.modal-box {
  position: relative;
  width: 80%;
  max-width: 920px;
  margin: 100px auto;
  animation-name: modalbox;
  animation-duration: .4s;
  animation-timing-function: cubic-bezier(0, 0, .3, 1.6);
}
.modal-body {
  background: #ECEFF1;
  border-radius:5px;
}

/* Close Button */
.close-modal {
  text-align: right;
  cursor: pointer;
}

/* Animation */
@-webkit-keyframes modalbox {
  0% {
    top: -250px;
    opacity: 0;
  }

  100% {
    top: 0;
    opacity: 1;
  }
}

@keyframes modalbox {
  0% {
    top: -250px;
    opacity: 0;
  }

  100% {
    top: 0;
    opacity: 1;
  }
}

.img-modal{
  border-radius: 8px;
  width: 100%;
}

.modal-trigger button {
  top: 50%;
  left: 50%;
  padding: 10px 10px;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  text-decoration: none;
}

.modal-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: ease .2s;
}

button {
  border: 1px solid #333333;
  outline: none;
  color: #333333;
}

.modal-trigger:hover {
  padding: 20px 60px;
}
/* MODAL PARA LOS COMUNICADOS */

body{
  background-color: #fff;
}

/*TEMPORAL*/
.tarjeta ul.i-list {
  padding-left: 0;
  list-style: none;
}
.tarjeta ul.i-list .list-title {
  display: inline-block;
  position: absolute;
}
.tarjeta ul.i-list li {
  padding: 2px 0px;
}
.tarjeta ul.i-list i.fa {
  margin-right: 7px;
}
.tarjeta ul.i-list .list-item {
  margin-top: 3px;
  display: inline-block;
}
.tarjeta ul.i-list.filled i.fa {
  color: white;
  font-size: 9px;
  padding: 5px;
  border-radius: 50%;
}
.tarjeta ul.e-icon-list.filled li {
  padding: 2px 0px;
  line-height: 24px;
}
.tarjeta ul.i-list.underline li {
  padding: 6px 0px;
  border-bottom: 1px solid #eee;
}
.tarjeta ul.i-list.medium li {
  padding-bottom: 25px;
  position: relative;
}
.tarjeta ul.i-list.medium .icon {
  margin-right: 25px;
  color: white;
  font-size: 25px;
  text-align: center;
  line-height: 68px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
  /*background-image: url(../img/crease.svg) !important;
  -moz-background-size: 100% 100% !important;
  background-size: 100% 100% !important;
  background-position: center center !important;*/
}
.tarjeta ul.i-list.medium .icon i.fa {
  margin: 0;
}
.tarjeta ul.i-list.medium.bordered .icon {
  background: white;
  color: inherit;
  border: 2px solid #8fc135;
  font-size: 26px;
  color: #8fc135;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.tarjeta ul.i-list.medium .list-item {
  text-transform: uppercase;
}
.tarjeta ul.i-list.large .icon {
  margin-right: 30px;
  background: #d0d0d0;
  color: white;
  font-size: 30px;
  text-align: center;
  line-height: 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.tarjeta ul.i-list.large .icon i.fa {
  margin: 0;
}
.tarjeta ul.i-list.large.bordered .icon {
  background: inherit;
  color: inherit;
  border: 2px solid #8fc135;
  font-size: 30px;
  color: #8fc135;
}
.tarjeta ul.i-list.large .list-item {
  text-transform: uppercase;
}
.tarjeta ul.i-list .icon {
  float: left;
}
.tarjeta ul.i-list.right {
  text-align: right;
}
.tarjeta ul.i-list.right .icon {
  float: right;
}
.tarjeta ul.i-list.right .icon {
  float: right;
  margin-right: 0;
  margin-left: 25px;
}
.tarjeta ul.i-list.large.right .icon {
  float: right;
  margin-right: 0;
  margin-left: 30px;
}
.tarjeta ul.i-list.large li {
  margin-bottom: 25px;
}
.tarjeta ul.i-list .icon-content {
  overflow: hidden;
}
.tarjeta ul.i-list .icon-content .title {
  margin-top: 5px;
  margin-bottom: 10px;
}
.tarjeta .left-line .iconlist-timeline {
  left: auto;
  right: 35px;
}
.tarjeta .iconlist-timeline {
  position: absolute;
  top: 1%;
  left: 32px;
  width: 1px;
  height: 99%;
  border-right-width: 1px;
  border-right-style: dashed;
  height: 100%;
  border-color: #ccc;
}
.tarjeta .icon {
  background-color: #d00000;
}
.tarjeta separator, .tarjeta .testimonial-two, .tarjeta .exp-separator-inner {
  border-color: #d00000;
}
.tarjeta .exp-separator {
  border-color: #d00000;
  border-top-width: 2px;
  margin-top: 10px;
  margin-bottom: 2px;
  width: 100%;
  max-width: 55px;
  border-top-style: solid;
  height: auto;
  clear: both;
  position: relative;
  z-index: 11;
}
.tarjeta .section-sub-title {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: Poppins;
}
.tarjeta .section-title {
  font-size: 32px;
  font-weight: 600;
  margin-top: 0.45em;
  margin-bottom: 0.35em;
  color: #303133;
  font-family: Poppins;
  letter-spacing: -0.02em;
}
.tarjeta .pb-20 {
  padding-bottom: 20px !important;
}
.tarjeta .text-center {
  text-align: center !important;
}
.tarjeta .center-separator .exp-separator-inner, .tarjeta .center-separator.exp-separator {
  margin-left: auto;
  margin-right: auto;
}












