/*
 * Globals
 */

.back-resistance {
  background-color: rgba(40, 39, 37, 1.0);
}

.bloque-titulo {
    margin-top: 6vh;
}
@media (min-width: 768px) {
  .bloque-titulo {
        margin-top: 30vh;
    }
}

.bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }

.jumbotron {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 0;
  background-color: #fff;
}
@media (min-width: 768px) {
  .jumbotron {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.jumbotron p:last-child {
  margin-bottom: 0;
}

.jumbotron h1 {
  font-weight: 300;
}

.jumbotron .container {
  max-width: 60%;
}

footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

footer p {
  margin-bottom: .25rem;
}


.textMneu-footer {
    font-size: 0.7rem;
}
@media (min-width: 768px) {
  .textMneu-footer {
        font-size: 1rem;
    } 
}

/* The sidebar menu */
.sidebar {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1031; /* Stay on top */
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .6); /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

.anchomenu {
   width: 100%;
}
@media (min-width: 768px) {
  .anchomenu {
       width: 540px;
    } 
}

.sidebar button {
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
  .sidebar button {
        max-width: 80%;
        margin-left: auto;
    margin-right: auto;
    }  
}

/* The sidebar links */
.sidebar a {
  transition: 0.4s;
}

.sidebar hr {
  color: #ccc;
  color:gray;
  background-color:gray;
  width: 80%;
}

/* When you mouse over the navigation links, change their color */

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* The button used to open the sidebar */
button.openbtn{
  background-color: none;
}
.openbtn {
  font-size: 18px;
  cursor: pointer;
  color: rgb(255,255,255,0.7);
  padding: 10px 15px;
  border: none;
  background-color: none;
}

.openbtn:hover {
  color: rgb(255,255,255,1);
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {

}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}


.p-h {
    height: 285px;
    margin-bottom: 16px;
}

.col-m {
    padding: 0 5px;
}

.publication-hover{
  opacity: 0;
  background: #282725;
  text-align: center;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  transition: opacity 300ms;
  color: #fff;
  text-decoration: none;
}
.publication-hover:hover{
  opacity: 1;
}
.publication-hover-text{
  opacity: 1;
  background: #282725;
  text-align: center;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  transition: opacity 300ms;
  color: #fff;
  text-decoration: none;
}
.publication a{
  color: #fff;
  text-decoration: none;
}
.publication-type{
  font-size: 22px;
}
.publication-title{
  font-size: 26px;
  margin-top: auto;
  margin-bottom: auto;
}
.publication-textCar{
  font-size: 14px;
  margin-top: auto;
  margin-bottom: auto;
}
.publication-title span {
  font-size: 14px;
}

.pie-pagina {
  background-color: #282725;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */



/* Carousel base class */
.carousel {
  width: 100%;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 100vh;
  width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

.carousel-item-gallery {
  height: 100vh;
  width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.ad1 {
    background: url('../img/3-2.jpg') no-repeat center center fixed; 
}
.ad2 {
    background: url('../img/3-3.jpg') no-repeat center center fixed; 
}
.ad3 {
    background: url('../img/3-4.jpg') no-repeat center center fixed; 
}

.bloque-datos {
  height: auto;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

}


.flex-equal > * {
  -ms-flex: 1;
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    -ms-flex: 1;
    flex: 1;
  }
}

.carousel-scrolldown {
  position: absolute;
  right: 0;
  bottom: 60px;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}
.carousel-scrolldown i {
  font-size: 32px;
  color: rgb(255,255,255,0.8);
}
.carousel-scrolldown i:hover {
  cursor: pointer;
  font-size: 32px;
  color: rgb(255,255,255,0.9);
}



/*##########*/
@media (min-width: 768px) {

    /* show 3 items */
    .carousel-inner .active,
    .carousel-inner .active + .carousel-item,
    .carousel-inner .active + .carousel-item + .carousel-item,
    .carousel-inner .active + .carousel-item + .carousel-item + .carousel-item  {
        display: block;
    }
    
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item,
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item,
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item + .carousel-item {
        transition: none;
    }
    
    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
      position: relative;
      transform: translate3d(0, 0, 0);
    }
    
    .carousel-inner .active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -25%;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* left or forward direction */
    .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    
    /* farthest right hidden item must be abso position for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* right or prev direction */
    .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }

}

 /* Bootstrap Lightbox using Modal */

#profile-grid { overflow: auto; white-space: normal; } 
#profile-grid .profile { padding-bottom: 40px; }
#profile-grid .panel { padding: 0 }
#profile-grid .panel-body { padding: 15px }
#profile-grid .profile-name { font-weight: bold; }
#profile-grid .thumbnail {margin-bottom:6px;}
#profile-grid .panel-thumbnail { overflow: hidden; }
#profile-grid .img-rounded { border-radius: 4px 4px 0 0;}

    .swiper-wrapper {
        width: 100%;
        height: 80%;
    }


      .swiper {
        width: 100%;
        height: 80%;
        padding-left: 5%;
        padding-right: 5%;
      }

      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        margin-right: 10px;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition-delay: 0.5s;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
        object-fit: cover;
      }

     .swiper-button-prev, .swiper-button-next {
        color:rgb(255,255,255,.8);
        font-size: 3.5rem; 
        background-color: rgb(0,0,0,0.4); 
        height: 100%;
        position: absolute;
        top: 0;
        width: 3rem;
        height: 100%;
        margin-top: 0;
        z-index: 10;
        cursor: pointer;
        background-size: 27px 44px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .swiper-button-next {
       right: 0px;
    }
    .swiper-button-prev {
        left: 16px;
    }

    @media (max-width: 767px),  (max-width: 1000px) and (max-height: 510px) {
        .swiper-button-prev, .swiper-button-next {
            font-size: 2rem; 
            width: 2rem;
        }
    }

      .swiper-button-next, .swiper-rtl .swiper-button-prev {
          right: 0;
          left: auto;
      }

      .swiper-button-prev, .swiper-rtl .swiper-button-next {
          left: 0;
          right: auto;
      }

      .swiper-button-prev::after, .swiper-rtl .swiper-button-next::after {
          content: '';
      }

      .swiper-button-next::after, .swiper-rtl .swiper-button-prev::after {
          content: '';
      }




.photo-carousel {
    padding: 0 50px 100px 50px;
    background-color: #fff;
}
@media (max-width: 767.98px) {
    .photo-carousel {
    padding: 0 40px 80px 40px;
}
}.photo-carousel__item-image {
    height: 490px;
    background-color: #191919;
}
@media (max-width: 767.98px) {
    .photo-carousel__item-image {
    height: 400px;
}
}.photo-carousel__item-text {
    opacity: 0;
    transition: opacity 0.3s;
    position: relative;
    top: -55px;
    color: #fff;
    background-color: #282828;
    padding: 20px;
    float: right;
    border-radius: 4px 0 4px 4px;
}
@media (max-width: 767.98px) {
    .photo-carousel__item-text {
    opacity: 1;
}
}.photo-carousel__item-small-label {
    color: #a8a8a8;
    line-height: 1.2;
    margin-bottom: 5px;
}
.photo-carousel__item-large-label {
    font-size: 1.25rem;
    line-height: 1.2;
}
.photo-carousel .title {
    min-height: 40px;
}
@media (max-width: 767.98px) {
    .photo-carousel .title {
    margin-left: -20px;
    min-height: auto;
}
}.grid-swiper {
    max-width: 100%;
    padding: 76px 50px;
}
@media (max-width: 767px),  (max-width: 1000px) and (max-height: 510px) {
    .grid-swiper {
    padding: 20px;
    margin: 1px 0;
}
}.grid-swiper__item-image {
    height: 30vh;
    position: relative;
}
@media (max-width: 767px),  (max-width: 1000px) and (max-height: 510px) {
    .grid-swiper__item-image {
    height: 150px;
}
}.grid-swiper__item-image-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 25, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-swiper__item-text {
    color: #fff;
    padding: 20px 10px 0 10px;
}
@media (max-width: 767.98px) {
    .grid-swiper__item-text {
    padding: 20px 0 0 0;
}
}.grid-swiper__item-text-time {
;
    margin-bottom: 28px;
}
@media (max-width: 767.98px) {
    .grid-swiper__item-text-time {
    font-size: 0.875rem;
    margin-bottom: 18px;
}
}.grid-swiper__item-text-dimmed {
    color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 767.98px) {
    .grid-swiper__item-text-dimmed {
    font-size: 0.875rem;
}
}.grid-swiper__item-text-big {
;
    font-size: 1.5rem;
}
@media (max-width: 767.98px) {
    .grid-swiper__item-text-big {
    font-size: 1.25rem;
}
}.grid-swiper__item-text-thin {
    }
@media (max-width: 767.98px) {
    .grid-swiper__item-text-thin {
    font-size: 0.875rem;
}
}.grid-swiper .swiper-slide {
    height: auto;
}
.grid-swiper .swiper-slide:last-child:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: calc(100% + 40px);
    background-color: #3f3f3f;
}
.photo-hover-carousel {
    padding: 0 50px 100px 50px;
    background-color: #fff;
}
.photo-hover-carousel__item {
  width: 100%;
}
@media (max-width: 767.98px) {
    .photo-hover-carousel {
    padding: 0 40px 100px 40px;
}
}
@media (min-width: 901px) {
    .photo-hover-carousel .swiper-slide {
    transition: width 0.5s;
    transition-delay: 0.1s;
    float: left;
    width: 25%}
}
@media (min-width: 1025px) {
    .photo-hover-carousel__item:hover .photo-hover-carousel__item-text {
    opacity: 1;
}
}.photo-hover-carousel__item-image {
    height: 490px;
    background-color: #ffffff;
}
@media (max-width: 767.98px) {
      .photo-hover-carousel__item-image {
      height: 400px;
  }
}
.photo-hover-carousel__item-text {
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    bottom: 0;
    right: 0;
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
    padding: 10px;
    float: right;
    border-radius: 6px;
}
@media (min-width: 901px) {
    .photo-hover-carousel__item-text {
    transition: opacity 0.5s;
    transition-delay: 0.1s;
}
}@media (max-width: 767.98px) {
    .photo-hover-carousel__item-text {
    opacity: 1;
}
}.photo-hover-carousel__item-small-label {
    color: #a8a8a8;
    line-height: 1.2;
    margin-bottom: 5px;
}
.photo-hover-carousel__item-large-label {
    font-size: 1rem;
    line-height: 1.1;
}
.photo-hover-carousel .title {
    min-height: 40px;
}
@media (max-width: 767.98px) {
    .photo-hover-carousel .title {
    margin-left: -20px;
    min-height: auto;
    }
}

.swiper-slide:hover .photo-hover-carousel__item .photo-hover-carousel__item-text {
    width: 50%;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: none;
  border: 0;
  background: rgba(0, 0, 0, .1);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
@media (min-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
      opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next {
    transition: none;
  }
}

.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: 50% / 100% 100% no-repeat;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}


.boton3d{
  border-bottom: 5px solid #000000;
  border-radius: 12px;
  box-shadow: 6px 6px 6px #999;
  transition: all 0.2s ease 0s;
}
.boton3d:hover{
}
.boton3d:active {
    box-shadow: 2px 2px 2px #777, 0px 0px 35px 0px #00b7f8;
    border-bottom:1px solid #0045A6;
  text-shadow:  0px 0px 5px #fff, 0px 0px 5px #fff;
    transform: translateY(4px);
  transition: all 0.1s ease 0s;
}

/***** Top content *****/

.top-content { width: 100%; padding-top: 100px; }

.carousel-control-next, .carousel-control-prev { border: 0; }


.pricing-header {
  max-width: 700px;
}

.card-deck .card {
  min-width: 220px;
}

