/********** Template CSS **********/
:root {
    --primary: #a01e1e;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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.btn-white {
    background-color: #c9b5b5;
    border-color: #c9b5b5;
    color: #000;
}

.btn.btn-white:hover {
    background-color: #f6e8e8;
    border-color: #c9b5b5;
    color: #000;
}

.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-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.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: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/pipa1.jpeg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.tiraR{
    position: absolute;
    z-index: -999;
    background-color: #a01e1e;
    height: 100px;
    width:-webkit-fill-available;
    margin-top:200px; 
    left:0px;
}
.S{
    /* Span the full grid */
    grid-area: var(--fullGrid);

    /* Re-size video to cover full screen while maintaining aspect ratio */
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;

    /* Display video below overlay */
    z-index: -1;
}

.video-bg {
    /* Span the full grid */
    grid-area: var(--fullGrid);

    /* Re-size video to cover full screen while maintaining aspect ratio */
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;

    /* Display video below overlay */
    z-index: -1;
}

.video-bg::-webkit-media-controls {
    display: none !important;
}

.video-overlay {
    /* Span the full grid */
    grid-area: var(--fullGrid);

    /* Center Content */
    display: inline-block;
    justify-content: center;
    align-content: center;
    text-align: center;

    /* Semi-transparent background */
    background-color: rgba(0, 0, 0, 0.55);
}

::-moz-selection {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
}

::selection {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
}

.videoheader {
    /* Create grid spanning viewport width & height */
    display: grid;
    grid-template-rows: 100vh;
    overflow: hidden;
    box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.5);
}

.videoh1 {
    font-size: calc(1.8em + 2.5vw);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0.05em 0.05em 0.05em rgba(0, 0, 0, 0.4);
}

:root {

    /* Full grid area variable */
    --fullGrid: 1 / 1 / -1 / -1;
}

.drop { filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.7)); }

.owl-nav button {
    position: absolute;
    top: 50%;
    background-color: #000;
    color: #fff;
    margin: 0;
    transition: all 0.3s ease-in-out;
  }
  .owl-nav button.owl-prev {
    left: 0;
  }
  .owl-nav button.owl-next {
    right: 0;
  }
  
  .owl-dots {
    text-align: center;
    padding-top: 15px;
  }
  .owl-dots button.owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    background: #ccc;
    margin: 0 3px;
  }
  .owl-dots button.owl-dot.active {
    background-color: #000;
  }
  .owl-dots button.owl-dot:focus {
    outline: none;
  }
  .owl-nav button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.38) !important;
  }
  span {
      font-size: 32px;    
      position: relative;
      top: -5px;
  }
  .owl-nav button:focus {
      outline: none;
  }

  /* SERVICIOS */

  a:hover {
    text-decoration: none;
  }
  .blog-card {
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
    box-shadow: 4px 15px 25px -12px rgba(152, 182, 255, 0.4);
    margin-bottom: 1.6%;
    background: #fff;
    line-height: 1.4;
    border-radius: 6px;
    overflow: hidden;
    z-index: 0;
  }
  .blog-card a {
    color: inherit;
  }
  .blog-card a:hover {
    color: #ffc400;
  }
  .blog-card:hover .photo {
    -webkit-transform: scale(1.15) rotate(3deg);
    transform: scale(1.15) rotate(3deg);
  }
  .blog-card .meta {
    position: relative;
    z-index: 0;
    height: 200px;
  }
  .blog-card .photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
  }
  .blog-card .description {
    padding: 1rem;
    background: #fff;
    position: relative;
    /* z-index: 1; */
  }
  .blog-card .description h1 {
    line-height: 1.35;
    margin: 0;
    font-weight: 500;
    font-size: 1.4rem;
    font-family: "open sans";
  }
  .blog-card .description h2 {
    font-size: 0.9rem;
    font-weight: 300;
    color: #a2a2a2;
    margin-top: 5px;
    font-family: "open sans";
  }
  .blog-card .description .read-more {
    padding-top: 8px;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 6px;
    position: absolute;
    border-top: 1px solid #dadada;
    color: #3ebecc;
  }
  .blog-card .description .read-more a {
    color: #3ebecc;
    font-size: 16px;
    display: inline-block;
    position: relative;
    /*  border: 1px solid;
    padding: 2px 10px; */
    border-radius: 4px;
    text-transform: uppercase;
  }
  .blog-card .description .read-more:after {
    content: "\f061";
    font-family: FontAwesome;
    margin-left: -9px;
    opacity: 0;
    vertical-align: middle;
    transition: margin 0.3s, opacity 0.3s;
  }
  .blog-card .description .read-more:hover:after {
    margin-left: 10px;
    opacity: 1;
  }
  .blog-card p {
    position: relative;
    margin: 10px 0 0;
  }
  .blog-card p:first-of-type {
    margin-top: 1.25rem;
  }
  /*
  .blog-card p:first-of-type:before {
    content: "";
    position: absolute;
    height: 4px;
    background: #3ebecc;
    width: 75px;
    top: -0.75rem;
  } 
  */
  .blog-card:hover .details {
    left: 0%;
  }
  @media (min-width: 640px) {
    .blog-card {
      flex-direction: row;
      min-height: 210px;
    }
    .blog-card .meta {
      flex-basis: 50%;
      height: auto;
    }
    .blog-card .description {
      flex-basis: 70%;
    }
    .blog-card .description:before {
      -webkit-transform: skewX(-3deg);
      transform: skewX(-3deg);
      content: "";
      background: #fff;
      width: 30px;
      position: absolute;
      left: -10px;
      top: 0;
      bottom: 0;
      z-index: -1;
    }
    .blog-card.alt {
      flex-direction: row-reverse;
    }
    .blog-card.alt .description:before {
      left: inherit;
      right: -10px;
      -webkit-transform: skew(3deg);
      transform: skew(3deg);
    }
    .blog-card.alt .details {
      padding-left: 25px;
    }
}  

.serviceTitle{
    text-align:center; 
    word-wrap: break-word;
    padding: 10px; 
    background-color:#fbfafa
}

.ulservice{
    line-height: 25px; 
    padding-top:10px; 
    text-align:justify;
}
.ulservice li{
    padding: 10px;
}

  @media (max-width: 767px) {
    .certificadocol {
        width: 50%;
    }
    .mainlogo{
        width: 60px;
    }
    .videoheader {
        /* Create grid spanning viewport width & height */
        display: grid;
        grid-template-rows: 70vh;
        overflow: hidden;
        box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.5);
    }

    .mobilefooter{
        margin-top: 10px;
        padding-top: 0px !important;
    }
}

.certificadocol{
    display:flex; 
    justify-content:center
}

.carousel {
    /* ... */
    > * {
      flex: 0 0 100%;
    }
  }

.carousel{
        height: 233px;
        margin-bottom: 30px;
        display: flex;
        gap: 20px;
        overflow: hidden;
        display: flex;
        padding: 20px 0;
        margin: 0 auto;
        padding: 20px 0;
        overflow: hidden;
        display: flex;
}

.imgcarousel {
    width: -webkit-fill-available;
    color: white;
    box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
    justify-content: center;
    align-items: center;
    min-height: 200px;
  }

  .group{
    will-change: transform; 
    animation: scrolling  20s linear infinite;
  }

  .carousel {
    /* ... */
    &:hover .group {
      animation-play-state: paused;
    }
  }

  .group {
    display: flex;
    gap: 20px;
    /* Add padding to the right to create a gap between the last and first card. */
  }

  @keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  .equipodiv{
    justify-content:center; 
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-size: cover; 
    background-image: url(../img/20221014132105_Gruas2.jpeg);
    background-color: #0a090aeb;
    background-blend-mode: soft-light;
  }

  .equipodiv2{
    justify-content:center; 
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-size: cover; 
    background-image: url(../img/GR-150542.jpg);
    background-color: #0a090aeb;
    background-blend-mode: soft-light;
  }

  .equipodiv3{
    justify-content:center; 
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-size: cover; 
    background-image: url(../img/PetroGruasimg12.png);
    background-color: #0a090aeb;
    background-blend-mode: soft-light;
  }

 /* Estilo básico para el Slider*/
#gallery {
    width: 80%;
    margin: auto;
    overflow: hidden;
 }
 
 .gallery-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
 }
 
 .gallery-item {
    min-width: 100%;
    box-sizing: border-box;
 }
 
 .gallery-item img {
    width: 100%;
    display: block;
 }
 
 /* Navegación del Slider */
 .gallery-navigation {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -50px;
 }
 
 .nav-button {
    background-color: #ffffff00;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
 }
 
 .nav-button:hover {
 background-color: #cedfdf00;
 }


 /* 2 */
 #gallery2 {
    width: 80%;
    margin: auto;
    overflow: hidden;
 }
 
 .gallery-container2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
 }
 
 .gallery-item2 {
    min-width: 100%;
    box-sizing: border-box;
 }
 
 .gallery-item2 img {
    width: 100%;
    display: block;
 }

 .nav-button2 {
    background-color: #ffffff00;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
 }
 
 .nav-button2:hover {
 background-color: #cedfdf00;
 }

  /* 3 */
  #gallery3 {
    width: 80%;
    margin: auto;
    overflow: hidden;
 }
 
 .gallery-container3 {
    display: flex;
    transition: transform 0.5s ease-in-out;
 }
 
 .gallery-item3 {
    min-width: 100%;
    box-sizing: border-box;
 }
 
 .gallery-item3 img {
    width: 100%;
    display: block;
 }

 .nav-button3 {
    background-color: #ffffff00;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
 }
 
 .nav-button3:hover {
 background-color: #cedfdf00;
 }

/* 4 */
#gallery4 {
    width: 80%;
    margin: auto;
    overflow: hidden;
 }
 
 .gallery-container4 {
    display: flex;
    transition: transform 0.5s ease-in-out;
 }
 
 .gallery-item4 {
    min-width: 100%;
    box-sizing: border-box;
 }
 
 .gallery-item4 img {
    width: 100%;
    display: block;
 }

 .nav-button4 {
    background-color: #ffffff00;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
 }
 
 .nav-button4:hover {
 background-color: #cedfdf00;
 }

/* 5 */
  #gallery5 {
    width: 80%;
    margin: auto;
    overflow: hidden;
 }
 
 .gallery-container5 {
    display: flex;
    transition: transform 0.5s ease-in-out;
 }
 
 .gallery-item5 {
    min-width: 100%;
    box-sizing: border-box;
 }
 
 .gallery-item5 img {
    width: 100%;
    display: block;
 }

 .nav-button5 {
    background-color: #ffffff00;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
 }
 
 .nav-button5:hover {
 background-color: #cedfdf00;
 }
 
.mainlogo{
    width: 110px;
}

.swal2-success-line-tip, .swal2-success-line-long {
    font-size: 16px !important;
  }

  .swal2-x-mark-line-right, .swal2-x-mark-line-left {
    font-size: 16px !important;
  } 