*{
    margin: 0;
    padding: 0;
    list-style: none;
}

.clear{
    clear: both;
    overflow: hidden;
    height: 0px;
    font-size: 0px;
    line-height: 0px;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-around;
    transition: 0.7s;
    padding: 30px 20px;
    z-index: 10;
}

header{
    background: #fff;
    padding: 5px 20px;
}

header.abajo{
    background: #fff;
    /*padding: 15px 20px;*/
}

header.abajo .logo,
header.abajo ul li a{
    color: #007bff;
    font-size: 20px;
}

header.abajo .logo,
header.abajo ul li ul li a{
    color: #174455;
    font-weight: 600;
    font-size: 16px !important;
    text-shadow: 0 0 0 white;
}

header.abajo .floatmenu a{
    color: gray;
}

header.abajo .floatmenu .fa{
    color: #007bff;
}

header .logo,
header ul li a{
    color: #007bff;
    font-size: 20px;
}

header .logo,
header ul li ul li a{
    color: #174455;
    font-weight: 600;
    font-size: 16px !important;
    text-shadow: 0 0 0 white;
}

header .floatmenu a{
    color: gray;
}

header .floatmenu .fa{
    color: #007bff;
}

header .logo img{
    color: #007bff;
    left: 5%;
    font-size: 25px;
    text-decoration: none;
    font-weight: 700;
    vertical-align:middle;
    display:flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 1px darkslategrey;
    width: 150px;
}

header .logo{
    position: relative;
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    letter-spacing: 2px;
    transition: 1.5s;
    text-decoration: none;
}

nav{
    justify-content: center;
    align-items: center;
    transition: all 300ms;
}

nav .floatmenu{
    float:right; 
    margin: 5px; 
    /*padding-bottom: 15px;*/
    display: flex;
    font-size:14px;
}

nav .floatmenu a{
    text-decoration: none; 
    color: #808080;
    /*text-shadow: 0.5px 0.5px #007bff;*/
}

header #btn-bars{
    display: none;
}

header ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -35%;
    list-style: none;
}

header ul ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -5%;
    list-style: none;
}

header ul ul ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -15.9%;
    list-style: none;
}

header ul li{
    list-style: none;
}

header ul li a{
    position: relative;
    font-family: helvetica;
    display: block;
    margin: 0 15px;
    text-decoration: none;
    color: #007bff;
    letter-spacing: 2px;
    font-weight: 600;
    /*text-shadow: 1px 1px 1px #007bff;*/
}

header a{
    transition: 0.7s;
}

header a:hover{
    transform: scale(1.075);
    border-radius: 5px;
    text-decoration: none;
}

header ul ul, header ul ul ul{
     display: none;
     position: absolute;
}

header ul li:hover ul,
header ul ul li:hover ul{
    display: block;
}

header ul li ul li{
    padding: 5px;
    background: rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid rgba(0, 112, 192);
}

header ul li ul li a{
    color: #174455;
    font-weight: 600;
    font-size: 16px !important;
    text-shadow: 0 0 0 white;
}

.zn1{
    position: relative;
    width: 100%;
    max-height: 50%;
    /*background: url(../pics/Petrofac_SIVA_01.jpg);*/
    /*background-size: cover;*/
    background-position: center center;
}

.zn1 .videoo video{
  position: relative;
  top: 0;
  left: 0%;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.zn2l {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background: #fff;
}

/*****Services cards******/
.zn2l {
    width:100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    /*padding: 0 1.5rem;*/
}

.us, .us2{
    width: 90%;
    /*max-width: 98rem;
    height: 100vh;*/
    justify-content:center;
    max-height: 55vh;
    /*padding: 5rem;*/
    /*background-color: #eeeeee;*/
    /*box-shadow: 0 1.4rem 8rem rgba(0,0,0,0.2);*/
    box-shadow: 3px 3px 5px rgba(0,153,233,0.5);
    display: flex;
    align-items: center;
    margin-left: 5%;
    /*border-radius: 0.8rem;*/
}

.us3{
    width: 90%;
    /*max-width: 98rem;
    height: 100vh;*/
    justify-content:center;
    max-height: 50vh;
    /*padding: 5rem;*/
    /*background-color: #eeeeee;*/
    /*box-shadow: 0 1.4rem 8rem rgba(0,0,0,0.2);*/
    box-shadow: 3px 3px 5px rgba(0,153,233,0.5);
    display: flex;
    align-items: center;
    margin-left: 5%;
    /*border-radius: 0.8rem;*/
}

.us0{
    width: 95%;
    margin-left: 2.5%;
    border-radius: 30px;
    box-shadow: 3px 3px 5px rgba(0,153,233,0.5);
    justify-content:center;
     align-items: center;
}

.us0 p{
    padding: 25px;
    color:#0070c0;
    font-weight: normal;
    font-size: 20px;
    text-align: justify;
}

.blg-img{
    width: 50%;
    height: 35vh;
    position: relative;
}

.blg-img2{
    width: 50%;
    height: 35vh;
    position: relative;
    margin-right: 1vh;
}

.blg-img2A{
    display: none;
}

.blg-img img{
    width: 90%;
    height: 53vh;
    object-fit: cover;
    display: block;
    align-items: center;
    margin-top: 1vh;
    justify-content: center;
    margin-left: 1vh;
}

.blg-img2 img{
    width: 100%;
    height: 53vh;
    object-fit: cover;
    display: block;
    align-items: center;
    margin-top: 1vh;
    justify-content: center;
    margin-right: 1vh;
    /*border-radius: .8rem;*/
}

.blg-img2A img{
    width: 100%;
    height: 53vh;
    object-fit: cover;
    display: block;
    align-items: center;
    margin-top: 1vh;
    justify-content: center;
    margin-right: 1vh;
    /*border-radius: .8rem;*/
}

.blg-img::before, .blg-img2::before, .blg-img2A::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.blg-pst-inf span{
    display: block;
    color: rgba(0,0,0,0.5);
    font-size: 1.2rem;
    font-weight: normal;
    font-style: italic;
    margin: .5rem 0;
}

.blg-pst-inf2 span{
    display: block;
    color: rgba(0,0,0,0.5);
    font-size: 1.6rem;
    font-weight: 600;
    margin-left: 5%;
}

.blg-pst-ttle{
    font-size: 2rem;
    margin: 1.5rem 0 2rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #007bff;
        text-shadow: 1px 1px 1px grey;
}

.blg-pst-ttle2{
    font-size: 2.5rem;
    margin: 1.5rem 0 2rem;
    text-transform: uppercase;
    color: #007bff;
        text-shadow: 1px 1px 1px grey;
    margin-left: 5%;
}

.blg-pst-ttle2A{
    font-size: 2.5rem;
    margin: 1.5rem 0 2rem;
    text-transform: uppercase;
    color: #007bff;
        text-shadow: 1px 1px 1px grey;
    margin-left: 5%;
}

.blg-pst-txt{
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: rgba(0,0,0,0.7);
    /*margin-left: 5%;*/
    margin-right: 5%;
    text-align: justify;
}

.blg-pst-txt2{
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: rgba(0,0,0,0.7);
    margin-left: 5%;
    margin-right: 5%;
    text-align: justify;
}

.blg-pst-cta{
    display: inline-block;
    padding: 1.5rem 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-size: #fff;
    background-image: linear-gradient(to right, #4facfe 0%, #00f2f2 100%);
    border-radius: .8rem;
    text-decoration: none;
    float: right;
    margin-right: 5%;
    margin-bottom: 20px;
}

.blg-pst-cta2{
    display: inline-block;
    padding: 1.5rem 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-size: #fff;
    background-image: linear-gradient(to right, #4facfe 0%, #00f2f2 100%);
    border-radius: .8rem;
    text-decoration: none;
    margin-left: 5%;
    
}

.blg-pst-cta:hover, .blg-pst-cta2:hover{
    background-image: linear-gradient(to right, #00f2f2 0%, #4facfe 100%);
}



@media screen and (max-width: 1068px){
      .us{
          max-width: 90%;
      }
      .blg-img{
          min-width: 30rem;
          max-width: 30rem;
      }
}

@media screen and (max-width: 868px){
        .us, .us2{
          /*padding: 2.5%;*/
          flex-direction: column;
          max-height: 110vh;
      }
        .blg-pst-inf span,
        .blg-pst-ttle,
        .blg-pst-txt{
            margin-left: 5%;
        }
        .blg-pst-ttle, .blg-pst-ttle2{
            font-size: 1.8rem;
        }
        .blg-pst-inf span, .blg-pst-inf2 span{
            font-size: 1.4rem;
        }
        .blg-pst-txt, .blg-pst-txt2{
            font-size: 1.2rem;
        }
      .blg-img img, .blg-img2A img {
          width: 100%;
          margin: 0;
      }
        .blg-img, .blg-img2A{
          min-width: 100%;
          max-width: 100%;
      }
      .blg-img2{
          display: none;
      }
      .blg-img2A{
        display: block;
        height: 55vh;
      }
      
      
}

@media screen and (max-width: 720px){
    nav{
        position: fixed;
        top: 0;
        right: -250px;
        /*background: red;*/
        width: 250px;
        height: 100vh;
        padding: 40px;
        z-index:1;
    }
    nav ul{
        flex-direction: column;
        margin-top: 40px;
    }
    nav ul li{
        margin-top: 30px;
        margin-left: 0;
    }
    nav ul li a{
        color:#bebebe;
    }
    #bkm{
        position: fixed;
        top:0;
        left:0;
        width:100%;
        height:100vh;
        background: rgba(0,0,0,0.5);
        display: none;
    }
    header #btn-bars{
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        width: 50px;
        height: 50px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        cursor: pointer;
        transition: all 300ms;
    }
    header #btn-bars:hover{
        background: rgba(255,255,255,0.75);
    }
}

/***********Servicios*********/
.cont-box{
    max-width: 95%;
    margin: auto;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box{
    width: 18%;
    height: 35vh;
    background: #f0f0f0;
    margin: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    transition: all 300ms ease;
    position: relative;
}

.cont-box img{
    width: 85%;
}

.box2{
    width: 30%;
    height: 75vh;
    background: #f0f0f0;
    margin: 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 300ms ease;
    position: relative;
}



.box:hover,
.box2:hover{
    text-decoration: none;
    box-shadow: 10px 10px 30px -15px rgba(0,153,233,0.5);
}


.box:hover img,
.box2:hover img{
    transform: scale(1.175);
}
.cont-box img{
    width: 85%;
    margin-bottom: 5px;
    font-size: 60px;
    color: #0099E9;
    border-radius: 5px;
    transition: 1.5s;
}

.box h5,
.box2 h5{
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 15px;
    text-align: center;
    color: #174455;
    transition: 1.5s;
}

.box2 h3{
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
    color: #174455;
    transition: 1.5s;
}

.box:hover h5,
.box2:hover h5{
    color: #0099E9;
    font-size:14px;
}

.box2:hover h3{
    color: #0099E9;
    font-size:16px;
}

/***Footer****/
.footer{
    padding: 40px 0;
    background-color: #fff;
}

.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: #4b4c4d;
}

.footer .social a{
    font-size: 24px;
    color: inherit;
    border: 1px sollid #ccc;
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 8px;
    opacity: 0.75;
}

.footer .social a:hover{
    opacity: 0.9;
}

.footer ul{
    margin-top: 0;
    padding: 0;
    list-style: none;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
} 

.footer ul li a{
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer .ul li{
    display: inline-block;
    padding: 0 15px;
}

.footer ul li a:hover{
    opacity: 1;
}

.footer .copyright{
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

/*****pie*****/
.pie{
   width: 100%;
    background: #0d2033;
}

.pie .grp1{
    width: 100%;
    /*max-width: 1200px;*/
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px 10px 0px;
}

.pie .grp1 .bxx figuree{
    
    display: flex;
    justify-content: center;
    align-items: center;
   vertical-align: middle;

}
.pie .grp1 .bxx figuree img{
    width: 300px;
}

.pie .grp1 .bxx h2{
    color: #007BFF;
    margin-bottom: 25px;
    font-size: 20px;
    text-align: center;
}

.pie .grp1 .bxx p{
    color: white;
    margin-bottom: 10px;
    text-align: justify;
}

.pie .grp1 .bxx #p a{
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #007bff;
    margin-right: 10px;
    text-align: center;
    font-weight: 700;
    transition: all 300ms ease;

}

.pie .grp1 .bxx a{
    text-decoration: none;
    color: white;
    text-align: center;
    font-weight: 700;
    transition: all 300ms ease;

    background-color: transparent;
    -webkit-text-decoration-skip: objects;

}

.pie .grp1 .bxx .ldi a{
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 10px;
    /*color: #175445;*/
    margin-right: 10px;
    text-align: center;
    font-weight: 700;
    transition: all 300ms ease;
}

.pie .grp1 .bxx a:hover{
    text-decoration: none;
}

.pie .grp1 .ldi{
    text-align: -webkit-center;
}

.pie .grp1 .ldi a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background: #174455;
    text-align: center;
    transition: all 300ms ease;
}

.pie .grp1 .ldi a:hover{
    color: #c79810;
}

.pie .grp2{
    background: #0d2033;
    line-height:1;
    padding-bottom:5px;
    /*padding: 15px 10px;*/
    text-align: center;
    color: #fff;
}

.pie .grp2 small{
    /*font-size: 12px;*/
    font-style: oblique;
}


.logo-container{
    text-align: center;
}
    
.logo-container img{
        height: 10rem;
        pointer-events: none;
        user-select: none;
    }
    

/*********************NEWS****************/
.hero{
    width: 100%;
    height: 100vh;
    background: #f6fbff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1{
    font-size: 45px;
    position: relative;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: 700;
    color: #174455;
}

.hero h1::after{
    content: '';
    width: 250px;
    height: 3px;
    background: linear-gradient(to right, #4facfe 0%, #00f2f2 100%);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.hero .review-box{
    width: 90%;
    max-width: 700px;
    height: 300px;
    border-radius: 10px;
    box-shadow: -10px 10px 40px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.hero .cardh{
    height: 300px;
    padding: 40px;
    color: #777;
    line-height: 22px;
    box-sizing: border-box;
    background: #fff;
    position: relative;
    z-index: 1;
}

.hero .profilepic{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.hero .profilepic img{
    width: 70px;
    border-radius: 50%;
    margin-right: 20px;
}

.hero .profilepic h3{
    font-size: 26px;
    color: #007bff;
    margin-bottom: 8px;
    font-weight: 700;
}

.hero .profilepic h3{
    font-style: italic;
}

.hero #slideh{
    width: 100%;
    padding-right: 60px;
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: 0.5s;
}

.hero .sidebar{
    width: 60px;
    height: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    background: #007bff;
    position: absolute;
    right: 0px;
    top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hero .sidebar i{
    /*width: 25px;*/
    padding: 5px;
    font-size: 25px;
    color: #007bff;
    background: #fff;
    border-radius: 100%;
    cursor: pointer;
}

.hero .cardh::before{
    content: '';
    width: 110px;
    height: 110px;
    border-bottom-right-radius: 100%;
    background: #007bff;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.hero ::selection{
    background: #007bff;
    color: #fff;
}




/***********************galery***************/
.galry {
    margin-left: 2.5%;
    margin-bottom: 50px;
    max-width: 95%;
}

.galry nav{
    display: flex;
    justify-content: center;
}

.galry .items{
    display: flex;
    max-width: 720px;
    width: 100%;
    justify-content: space-between;
}

.galry .items .item{
    padding: 7px 25px;
    font-size: 18px;
    font-weight: 500;
    color: #007bff;
    border: 2px solid #007bff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav .items .active,
nav .items .item:hover{
    color: #fff;
    background: #007bff;
}

.galry .galleries{
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.galry .galleries .imgs{
    padding: 7px;
    width: calc(100%/4);
    align-self: center;
}

.galry .galleries .imgs span{
    display: flex;
    width: 100%;
    overflow: hidden;
    transition: all 0.8s ease;
}

.galry .galleries .imgs img{
    width: 100%;
    vertical-align: middle;
    border-radius: 5px;
    transition: all 0.8s ease;
}

.galry .galleries .imgs:hover img{
    transform: scale(1.15);
}

@media(max-width: 1000px){
    .galry .galleries .imgs{
        width: calc(100%/3);
    }
}

@media(max-width: 800px){
    .galry .galleries .imgs{
        width: calc(100%/2);
    }
}

@media(max-width: 700px){
    .cont-box img{
        width: 65%;
    }
    .box{
        width: 45%;
        height: 28vh;
        background: #f0f0f0;
        margin: 5px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        cursor: pointer;
        transition: all 300ms ease;
        position: relative;
    }
    .galry nav .items{
       max-width: 600px;
    }
    .galry nav .items .item{
        padding: 7px 15px;
    }
}

@media(max-width: 600px){
    .cont-box img{
        width: 50%;
    }
    .box{
        width: 45%;
        height: 28vh;
        background: #f0f0f0;
        margin: 5px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        cursor: pointer;
        transition: all 300ms ease;
        position: relative;
    }
    .galry nav .items{
       flex-wrap: wrap;
    }
    .galry nav .items .item{
        margin: 5px;
    }
    .galry .galleries .imgs{
        width: 100%;
    }
}
.modal-body ul li a{
 text-align:justify;
}

.modal-body ul li a h2{
    color: #007bff;
    font-size: 18px;
    font-weight: 700;
    vertical-align: middle;
    transition: all 0.5s ease;
}

.modal-body ul li a h2:hover{
    text-decoration: none;
    transform: scale(1.1);
}




