@import url('https://fonts.googleapis.com/css?family=Poppins');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Pacifico');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');


html,body{
    height:100%;
    width:100%;
    font-family: 'Open Sans', sans-serif;
}

#tag_line{
  font-family: 'Pacifico', cursive;
  font-size: 20px;
  color: white;
}


/* LOADER */
.infinity-loader {
    position: fixed; /*We have to use it as we are using absolute positioning on its children and we will align it in the center of the page*/
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*yes, we have to define width and height, otherwise transformation won't work*/
    width: 130px; /* 2 x width - border-width */
    height: 70px; /* width */
}

.infinity-loader .bg div,
.infinity-loader > .fg > div > div {
    width: 70px; /* width */
    height: 70px; /* width */
    border: 10px solid #aaa; /* border-width solid #aaa */
    box-sizing: border-box; /* so that its border won't increase its width*/
    border-radius: 50%; /* to make the div round*/
    position: absolute;
}

.infinity-loader .right-bg {
    transform: translate(100%, 0);
    left: -10px; /* -border-width */
}

.infinity-loader > .fg > div > div {
    border-color: #3A98D8 #3A98D8 transparent transparent;
    transform: rotate(135deg);
    animation: spin 1s linear infinite; /* spin time linear infinite */
    position: static; /*add this otherwise transformation in its parent won't work as expect*/
}

.infinity-loader > .fg > div {
    clip: rect(0, 70px, 35px, 0); /* 0, width, width/2, 0*/
    position: absolute; /* required for using clip: rect() */
}

.infinity-loader > .fg > .bottom-right-rect {
    left: -10px; /* -border-width */
    transform: translateX(100%) scale(1, -1);
}

.infinity-loader > .fg > .bottom-right-rect > div {
    animation-delay: 0.25s; /* time/4 */
}

.infinity-loader > .fg > .top-right-rect {
    left: -10px; /* -border-width */
    transform: translateX(100%) scale(-1, 1);
}

.infinity-loader > .fg > .top-right-rect > div {
    animation-delay: 0.5s; /* (2 x time)/4 */
}

.infinity-loader > .fg > .bottom-left-rect {
    transform: scale(-1);
}

.infinity-loader > .fg > .bottom-left-rect > div {
    animation-delay: 0.75s; /* (3 x time)/4 */
}

.infinity-loader > .fg {
    filter: drop-shadow(0 0 6px #3A98D8);
}

@keyframes spin {
    50%,
    100% {
        transform: rotate(495deg);
    } /* (360 + 135)deg*/
}

.justify
{
  text-align: justify;
}

#content{
    display: none;
}

.display-4
{
    color: #3A98D8;
}

.text{
    color: #545454;
    font-size: medium;
}

/*----------------------------------------------- NAV BAR------------------------------------------*/


.navbar {
    padding: .5rem;
    height: auto;
    background-color: transparent !important;
}

.scroll{
    background-color: #3f3f3f !important;
    height: 100px !important;
    padding: .5rem;
}

  
.navbar-nav li{
    padding-right: 20px;
    /* color: white !important; */
}
.nav-link{
    font-size: 1.1em !important;
    color: white !important;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}
.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    /* pointer-events: none; */
}



@media (max-width: 991px){
    .navbar-nav li{
        background-color: #7a7979;
        text-align: center;
    }
}

.fa-bars{
    color: white;
}






/*-----------------------------------------After BODY------------------------------------------*/
.text-box {
	position: absolute;
	top: 50%;
	left: 15%;
	right: 15%;
	color: white;
	transform: translateY(-50%);
}

.carousel-item{
    width: 100% !important;
    height: auto;
}
.carouselinner{
  background: url('../images/Carousel Updated/Seamless1.jpg') no-repeat center;
  height: 700px;
  width: 100%;
  background-size: cover;
}
.carouselinner2{
  background: url('../images/Carousel Updated/maintenance.jpg') no-repeat center;
  height: 700px;  width: 100%;
  background-size: cover;
}
.carouselinner3{
  background: url('../images/Carousel Updated/laptop-3190194.jpg') no-repeat center;
  height: 700px;  width: 100%;
  background-size: cover;
 
}
.carouselinner4{
  background: url('../images/Carousel Updated/InspectionOverhauling.jpg') no-repeat center;
  height: 700px;  width: 100%;
  background-size: cover;

}
.carouselinner5{
  background: url('../images/Carousel Updated/health.jpg') no-repeat center;
  height: 700px;  width: 100%;
  background-size: cover;

}
.carouselinner6{
  background: url('../images/Carousel Updated/environment.jpg') no-repeat center;
  height: 700px;  width: 100%;
  background-size: cover;
}

.text-box h1{
    font-size: 400%;
    text-transform: uppercase;
    text-shadow: 3px 3px 10px #595959 !important;
    background-color: rgba(85, 80, 79, 0.3);
}


.btn-outline-light:hover {
    color: white;
    background-color: #3A98D8;
}

.btn-success:hover{
    border: 1px solid forestgreen;
    color: forestgreen;
    background-color: white;
}

.padding {
    padding-bottom:2rem;
    padding-top: 10px;
}

.welcome {
    width: 75%;
    margin: 0 auto;
}

.welcome hr{
    border-top: 2px solid #b4b4b4;
    width: 95%;
    margin-top: .3rem;
    margin-bottom: 1rem;
}

.fa-coins, .fa-clock, .fa-tools
{
    color:#26A0E4;
    font-size: 4em;
    margin: 1rem;
}

.far, .fa-calendar-alt
{
  color: #3A98D8;
  font-size: 2em;
}

.news_item
{
  margin: 10px 1rem 1rem 1rem;
}

.scroll1
{
  overflow-y: scroll;
  height: 400px;
  -ms-overflow-style: none;
}
.scroll::-webkit-scrollbar
{
  display: none !important;
}
/* ::-webkit-scrollbar {
display: none;
} */

.list{
    list-style: none;
}

hr.light
{
    border-top: 1px solid #d5d5d5;
    width: 75%;
    margin-top: .8rem;
    margin-bottom: 1rem;
}


.foot
{
    background-color: #3f3f3f;
    color: #d5d5d5;
    padding-top: 2rem;
}


a.foot,p.foot{
    color: #dfdfdf;
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    transition: transform 0.5s ease;
}

a.foot,p.foot:hover{
    text-decoration: none !important;
    -webkit-transform: scale(0.2);
    -moz-transform: scale(0.2);
    -o-transform: scale(0.2);
    transform: scale(0.2);
}

.scroll1::-webkit-scrollbar
{
   display: none;
}

.f_list
{
    position: relative;
    right: 10px;
    padding-bottom: 10px;
    margin-bottom: 5px;
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    transition: transform 0.5s ease;
}


.f_list:hover
{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.f_list a{
    color: #dfdfdf;
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    transition: transform 0.5s ease;
}

.f_list a:hover {
    text-decoration: none;
}


.dev_name a{
     color: black;
 }

.dev_name h6{
    color: #b4b4b4;
}

.dev_name a:hover{
    text-decoration: none;
}


.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }


hr.light-100{
    border-top: 1px solid #d5d5d5;
    width: 100%;
    margin-top: .8rem;
    margin-bottom: 1rem;
}

.devname h6{
    text-align: right;
}

.card{
    margin-bottom: 10px;
    text-align: center;
    border: none;
    height: auto;
    width: 100%;
}

.card-img-top{
    height: 250px;
    width: 250px;
    border-radius: 50%;
}

.btn-success{
    margin-bottom:7px;
}


#myBtn{
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #b4b4b4;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    height: 6.5%;
}
#myBtn:hover{
    background-color: forestgreen;
}



.parallax{
    display: flex;
    background: url("../images/cables1.jpg") no-repeat center;
    background-size: cover;
    height: 300px;
}

.parallax2{
    display: flex;
    background: url("../images/Expertise/bg.png") no-repeat center;
    background-size: cover;
    height: auto;
    width: 100%;
}

.jumb_title{
    font-size: 4em;
    color: whitesmoke;
    text-transform: uppercase;
    text-shadow: 1px 1px 10px #595959;
    margin-top: 100px;
}
.jumb_title1{
  font-size: 5vw;
  color: whitesmoke;
  text-transform: uppercase;
  text-shadow: 1px 1px 10px #595959;
  margin-top: 100px;
}
.bold{
  font-weight: bold;
}

#jumb1
{
    background: url("/images/jb_grid.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}
#jumb2
{
    background: url("/images/services.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}
#jumb3
{
    background: url("/images/Careers.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}
#jumb4
{
    background: url("/images/contactus.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}
#jumb5
{
    background: url("/images/expertise.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}
#jumb6
{
    background: url("/images/team.jpeg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}

.h_par{
    color: whitesmoke;
    text-transform: uppercase;
    text-shadow: 1px 1px 10px #595959;
    text-align: center;
    margin-top: 130px;
}



/* ABOUT US STYLING */
:root {
  --input-padding-x: 1.5rem;
  --input-padding-y: 0.75rem;
}

.login,
.image {
  min-height: 100vh;
}


.border{
  border: 25px solid #3A98D8;
  border-radius: 7px;
  padding: 10px;
}

#more {display: none;}
#dots{display: inline;}
#more1{display: none;}
#dots1{display: inline;}
#more2{display: none;}
#dots2{display: inline;}
.hd
{
  font-weight: bold;
}
.btn-success1
{
  background-color: #3A98D8;
  color: white;
  border: 2px solid white;
  border-radius: 6px;
}
.btn-success1:hover
{
  background-color: white;
  color: #3A98D8;
  border: 2px solid #3A98D8;
  border-radius: 6px;
}
.btn-success1:visited
{
  background-color: #3A98D8;
  color: white;
  border: 2px solid white;
  border-radius: 6px;
  text-decoration: none;
}
.marginbottom{
  margin-bottom: 10px;
}

.of_post{
  color: #3A98D8;
}


.login-heading {
  font-weight: 300;
}
.news
{
  color: #3A98D8;
}


/*GRID MENU SERVICES EXPERTISE AND ABOUTUS*/

.menu-text{
    color: white;
    font-size:3vh;
    text-shadow: black 1px 2px;
}
.menu-text{
    padding-top: 50px;
}

.link  a {
    text-decoration: none;
}
.link  a:hover {
    text-decoration: none;
}

/* .grid{
    display: grid;
    grid-template-columns: 65% 35%;
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0; 
    grid-gap: 20px;
}

.grid1{
    display: grid;
    grid-template-columns: 40% 60%;
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    grid-gap: 20px;
}
.grid2{
    display: grid;
    grid-template-columns: 50% 50%;
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    grid-gap: 20px;
}

.grid_text{
    display: grid;
    grid-template-rows: 100%; 
    color: white;
    position: absolute;
    top: 10px;
    padding-left: 10px;
     text-shadow: black 1px 2px;
} */

/* media screen */

/* @media(max-width: 991px){
    .grid{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0; 
    }
    
    .grid1{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;

    }
    .grid2{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;

    }
    
    .grid_text{
        display: grid;
        grid-template-rows: 100%; 
        color: black;
        position: relative;
        top: 10px;
        text-align: center;
    }
} */
/* @media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0)
{
    .grid{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0; 
    }
    
    .grid1{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }
    .grid2{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }
    
    .grid_text{
        display: grid;
        grid-template-rows: 100%; 
        color: white;
        position: absolute;
        top: 10px;
        padding-left: 10px;
         text-shadow: black 1px 2px;
    }
} */
/* .grid_text span{
    font-size: 35px;
    text-shadow: black 1px 2px;
} */


 .services_img{
   
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    filter: grayscale(0%);
    transition: all 0.5s ease; 
} 

#operations_grid{
    width: 100%;
    height: 250px;;
    background: no-repeat center;
}
#maintenance_grid{
    background: no-repeat center;
    width: 100%;
    height: 250px;;
}

#inspection_grid{
    background:no-repeat center;
    width: 100%;
    height: 250px;;
}

#software_grid{
    background: no-repeat center;
    width: 100%;
    height: 250px;;
}

#health_grid{
    background: no-repeat center;
    width: 100%;
    height: 250px;;
}
#environment_grid{
    background: no-repeat center;
    width: 100%;
    height: 250px;;
}

/*ABOUT US SUB PAGES STYLING*/

#whoweare{
    background: url("/images/Who we are.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#missionvision{
    background: url("/images/Mission & Vision 2.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#corevalues{
    background: url("/images/corevalues2.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#mgmtteam{
    background: url("/images/mgmt2.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}
/*EXPERTISE SUB PAGES STYLING*/
#mgmt{
    background: url("/images/Services/maintenance detailed.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#oper{
    background: url("/images/Services/Operation-detailed-image.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#softin{
    background: url("/images/Carousel Updated/softwareintervention.png") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#ino{
    background: url("/images/Services/inspection detailed Image.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}
#hns{
    background: url("/images/Services/HSE detailed image.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#epro{
    background: url("/images/Services/Environment detailed image.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
/*SERVICES SUB PAGES STYLING*/
#power{
    background: url("/images/Expertise/Power Plant.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#grid{
    background: url("/images/Expertise/GridStations.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#proci{
    background: url("/images/Expertise/Process Industry.jpg") no-repeat center;
    display: flex;
    background-size: cover;
    height: 350px;
}
#transl{
    background: url("/images/Expertise/transmission-lines-1.jpg") no-repeat center;
    display: flex;
    background-size: cover;
}
/* MEDIA QUERY */

@media (max-width: 576px) {
    body{
        font-size: medium;
    }

    .display-4{
        font-size: 200%;
    }

    .lead{
        font-size: medium;
    }
}

@media (max-width: 490px) {
    body{
        font-size: medium;
    }

    .display-4{
        font-size: 200%;
    }

    .lead{
        font-size: medium;
    }
    .text-box h1{
        font-size: 200%;
        text-transform: uppercase;
        text-shadow: 1px 1px 10px #595959;
    }
}
    @media (max-width: 452px) {
        body{
            font-size: medium;
        }
        #tag_line{
          font-family: 'Pacifico', cursive;
          font-size: 25px;
        
        }
        .display-4{
            font-size: 200%;
        }

        .lead{
            font-size: medium;
        }
        .text-box h1{
            font-size: 200%;
            text-transform: uppercase;
            text-shadow: 1px 1px 10px #595959;
        }
}
@media (max-width: 408px) {
    body{
        font-size: medium;
    }
    #tag_line{
      font-family: 'Pacifico', cursive;
      font-size: 20px;

    }
    .display-4{
        font-size: 200%;
    }

    .lead{
        font-size: medium;
    }
    .text-box h1{
        font-size: 200%;
        text-transform: uppercase;
        text-shadow: 1px 1px 10px #595959;
    }
}
@media (max-width: 452px) {
    body{
        font-size: medium;
    }
    #tag_line{
      font-family: 'Pacifico', cursive;
      font-size: 13px;

    }
    .display-4{
        font-size: 200%;
    }

    .lead{
        font-size: medium;
    }
    .text-box h1{
        font-size: 200%;
        text-transform: uppercase;
        text-shadow: 1px 1px 10px #595959;
    }
}
@media (max-width: 366px) {
    body{
        font-size: medium;
    }
    #tag_line{
      font-family: 'Pacifico', cursive;
      font-size: 10px;
    }
    .display-4{
        font-size: 200%;
    }

    .lead{
        font-size: medium;
    }
    .text-box h1{
        font-size: 200%;
        text-transform: uppercase;
        text-shadow: 1px 1px 10px #595959;
    }
}
@media (max-width: 768px) {
    body{
        font-size: medium;
    }

    .carousel-caption{
        top: 55%;
    }

    .carousel-caption h1{
        font-size: 350%;
        text-transform: uppercase;
        text-shadow: 1px 1px 10px #595959;
    }
    .carousel-caption .btn{
        font-size: 95%;
        padding: 8px 14px;
    }
    .display-4{
        font-size: 200%;
    }
    .carousel-caption h3{
        font-size: 140%;
        font-weight: 400;
        text-shadow: 1px 1px 10px #595959;
        padding-bottom: .2rem;
    }
    .lead{
        font-size: medium;
    }

}
@media (max-width: 313px) {
    body{
        font-size: medium;
    }
    #tag_line{
      font-family: 'Pacifico', cursive;
      font-size: 13px;
      display: none;

    }
    .display-4{
        font-size: 200%;
    }

    .lead{
        font-size: medium;
    }
    .text-box h1{
        font-size: 200%;
        text-transform: uppercase;
        text-shadow: 1px 1px 10px #595959;
    }
}
