body{
  position: relative;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Spectral', serif !important;

    
}


.carousel {
    /* margin-bottom: 4rem; */
    padding-top: 6.5rem;
}


.carousel h1 {
    font-size: 3em !important;
    font-weight: 600;
}

.carousel p {
    font-size: 1.5em !important;
}

.carousel-item {
    min-height: 70vh !important;
    background:gray ;
}

.carousel-item::before {
    content:"";
    display:block;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background: rgba(0, 0, 0, 0.2);
}


.carousel-item.one {
    background-image: url("../img/slider_01_familia_a.jpg");
    background-size: cover;
    -moz-background-size: cover;
    background-position: center center;
}
.carousel-item.two {
    background-image: url("../img/slider_04_retiro_a.jpg");
    background-size: cover;
    -moz-background-size: cover;
    background-position: center center;
}
.carousel-item.three {
    background-image: url("../img/slider_03_auto_a.jpg");
    background-size: cover;
    -moz-background-size: cover;
    background-position: right bottom;
}

.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}





.featurette-heading {
    margin-top: 7rem;
}


.featurette-divider {
    margin: 5rem 0;
}



.marco {
    /* padding: 20px; */
    padding-bottom: 20px;
    border: 1px solid #dadada;
    border-radius: 10px;
}

.marco:hover{
    background: rgba(0, 0, 0, .03);
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}


.servicio {
    min-height: 430px;
    height: 430px;
}


.sectiongray{
    background: #f8f9fa !important;
}







.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }
  
  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }
  
  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #fff;
    border-radius: .75rem;
  }
  
  .icon-link {
    display: inline-flex;
    align-items: center;
  }
  .icon-link > .bi {
    margin-top: .125rem;
    margin-left: .125rem;
    transition: transform .25s ease-in-out;
    fill: currentColor;
  }
  .icon-link:hover > .bi {
    transform: translate(.25rem);
  }
  
  .icon-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    border-radius: .75rem;
  }
  
  .rounded-4 { border-radius: .5rem; }
  .rounded-5 { border-radius: 1rem; }
  
  .text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }
  .text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); }
  .text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }
  
  .card-cover {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }


  html {
    scroll-padding-top: 100px; /* height of sticky header */
  }


.pie{
    background-color:#495057;
    color:white !important;
}



.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }
  
  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }


.nav-item{
    padding: 0 1rem !important;
}


.navbar-toggler:focus{
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.02rem !important; 
}

.text-primary.servicon {
    color: #3e77d0 !important;
}

.btn-primary{
    background: #3e77d0 !important;
}

.btn-primary:hover{
  background: #0045ab  !important;
}


.navbar-brand{
    padding-left: 20px;
}














  .portfolio-modal .modal-dialog {
    margin: 1rem;
    max-width: 100vw;
    
  }
  .portfolio-modal .modal-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
  }

  
  .portfolio-modal .modal-content h2, .portfolio-modal .modal-content .h2 {
    /* font-size: 3rem;
    line-height: 3rem; */
  }
  .portfolio-modal .modal-content p.item-intro {
    text-align: center !important;
    font-style: italic;
    margin-bottom: 2rem;
    font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }
  .portfolio-modal .modal-content p {
    margin-bottom: 2rem;
    text-align: justify !important;
  }
  .portfolio-modal .modal-content ul.list-inline {
    margin-bottom: 2rem;
  }
  .portfolio-modal .modal-content img {
    margin-bottom: 2rem;
  }
  .portfolio-modal .close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    background-color: transparent;
  }
  .portfolio-modal .close-modal:hover {
    opacity: 0.3;
  }






  .logos {
    filter: alpha(opacity=50);
	opacity: 0.5;
    -webkit-filter: grayscale(100%);
    -webkit-transition: .5s ease-in-out;
    -moz-filter: grayscale(100%); 
    -moz-transition: .5s ease-in-out;
    -o-filter: grayscale(100%); 
    -o-transition: .5s ease-in-out;

}
.logos:hover {
    filter: alpha(opacity=100);
	opacity: 1;
    -webkit-filter: grayscale(0%);
    -webkit-transition: .5s ease-in-out;
    -moz-filter: grayscale(0%);
    -moz-transition: .5s ease-in-out;
    -o-filter: grayscale(0%);
    -o-transition: .5s ease-in-out;
}






footer h5{
    border-bottom:1px solid gray;
    font-size: 1.5rem;
    padding:.5rem;

}

footer a{
    padding: 5px 0 !important;
    text-decoration: underline !important;
    color:white;
}

footer a:hover{
    text-decoration: none !important;
    /* color:gray !important; */
    color: #0d6efd !important;
}


.pie2{
    padding: 10px;
    background: #0d6efd !important;
}




#mainNav {
 
  border-bottom: 3px solid #F4EC7F;
}


@media (min-width: 992px){ 
#mainNav .navbar-brand img {
    height: 5rem;
    transition: height 0.3s ease-in-out;
}
}
@media (min-width: 992px){ 
#mainNav.navbar-shrink .navbar-brand svg, #mainNav.navbar-shrink .navbar-brand img{
    height: 2rem;
    transition: height 0.3s ease-in-out;
}
}

@media (min-width: 992px){
#mainNav {
    padding: 1rem 0;
    border: none;
    background: white;
    transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
    border-bottom: 3px solid #F4EC7F;
  }
}

@media (min-width: 992px){
#mainNav.navbar-shrink {
    padding: 1rem 0;
    background: white;
}

}



/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    .logo {
        max-height: 6rem;
        transition: height 0.3s ease-in-out;

    }

}



@media only screen and (max-width: 600px) {
    .logo {
        max-height: 5rem;
    }



    .carousel p {
        font-size: 1em !important;
    }
}



.nav-link{

}

 .nav-link:hover{
  text-decoration: underline;

  color:#0d6efd !important;
}


h2.descserv {
  padding: 10px;
}


.imgservicio{
  border-radius: 10px;
}



#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

.bt-up{
  color:white;
  background:rgba(0, 0, 0, .2) !important;
  border:none !important;
  border-radius: 50px !important;
}

.bt-up:hover{
  background:rgba(0, 0, 0, .1) !important;

}





.loader_bg{
  position: fixed;
  z-index: 999999;
  background: #fff;
  width: 100%;
  height: 100%;
}
.loader{
  
  width: 100%;
  height: 10px ;
  position: absolute;
  top:0;
  left:0;
}
.loader:before, .loader:after{
  content: '';
  border-top: 5px solid #0d6efd;
  width: inherit;
  height: inherit;
  position: absolute;
  top: 0;
  left: 0;
  animation: loader 2s linear infinite;
  opacity: 1;
}

@keyframes loader{
  0%{
      transform: scale(0, 1);
      opacity: 1;
  }
  50%{
    transform: scale(0.5, 1);
      opacity: 1;
  }
  100%{
      transform: scale(1, 1);
      opacity: 1;
  }
}

