/*
################
               BASICS
################
*/
* {
    margin: 0;
    padding: 0;
    overflow-x: none;
    position: relative;
    box-sizing: border-box;
}

body {
    font-size: .875rem;
    overflow-x: hidden;
    background-color: #f8f8f8;

}

.container {
    margin-right: auto;
    margin-left: auto;
    max-width: 1185px;
}

button:active,
button:focus,
button:hover,
.btn:active,
.btn:focus,
.btn:hover,
.form-control:active,
.form-control:focus,
.form-control:hover {
    outline: none !important;
    box-shadow: none !important;
}




/*
################
               NavBar 
################
*/
.nav {
    bottom: 550px !important;
}

@media screen and (min-width: 768px) {
    #wrapper .nav {
        position: absolute;
        top: 0%;
        bottom: 550px !important;
        text-align: center;
        z-index: 10;
    }

    .navbar-brand img {
        left: 50px !important;
        top: 18px !important;
    }
}

.nav-link {
    padding: 0px !important;
    color: #fff;
    font-weight: 300;
    font-size: 0.97rem;
    line-height: 21px;
    font-family: "Roboto", sans-serif;
    transition: all ease-in-out 0.3s;
    display: inline-block !important;
    position: relative !important;
}

.nav-link:hover {
    color: #1C4EAA;
}

.nav-item .active {
    color: #1C4EAA;
    position: relative !important;
}

.nav-item .active:after {
    content: '';
    position: absolute !important;
    left: 0 !important;
    top: 33px !important;
    width: 54px !important;
    height: 2px;
    background-color: #1C4EAA !important;
}

.nav-item {
    padding-left: 2.2rem;
    padding: 23px !important;
}

.nav-link:after {
    position: absolute;
    content: '';
    top: 30px;
    left: 0%;
    height: 3px;
    width: 100%;
    background-color: transparent !important;
    border-bottom: 2px solid transparent;
}

.nav-link.effect-underline:after {
    content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    height: 5px;
    width: 100%;
    border-bottom: 2px solid;
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
}

.nav-link.effect-underline:hover:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

@media (min-width: 992px) {
    .animate {
        animation-duration: 0.3s;
        -webkit-animation-duration: 0.3s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }

    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }

    0% {
        -webkit-transform: translateY(1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}

/*
################
               HEADER
################
*/

.header {
    height: 100vh;
    background-image:
        linear-gradient(to right bottom,
            rgba(76, 216, 255, 0.8),
            rgba(30, 108, 217, 0.8)),
        url('../img/careers-header.jpg');

    background-size: cover;
    background-position:center;
    position: relative;
    overflow: visible !important;
    clip-path: polygon(0 0, 100% 0vh, 100% 100vh, 0 80vh);
}
header h1, header h5 {
    position: absolute;
    left: 50% !important;
}
.header h1 {
    font-size: 3.5rem !important;
    top: 40% !important;
    transform: translate(-50%,0) !important;
}
.header h5 {
    text-align: left !important;
    font-size: 1.16rem !important;
    top: 53% !important;
    font-weight: 450 !important;
    transform: translate(-45%,0) !important;
}
.brand-box {
    position: absolute;
    top: 40px;
    left: 40px;
}

.brand {
    font-size: 20px;
}

/*
/////////// Career Section
*/
.container-careers{
    max-width: 1000px !important;
}
.career-section{
    min-height: 50px !important;
}

.career-section .header-title{
    padding-top: 100px;
    text-align: center !important;
  }
  .career-section .header-title h1{
    color: #454545;
    font-family: "Roboto", sans-serif;
    position: relative;
    font-size: 3rem;
    font-weight: 500;
    line-height: 41px;
    margin-bottom: 35px !important;
  }
  .career-single{
      margin-top: 50px !important;
      margin-bottom: 220px !important;
  }
  .career-type h5{
    margin-bottom: 30px !important;
    color: #f8f8f8;
    font-size: .9rem;
    display: table; /* keep the background color wrapped tight */
    padding:5px;background-color:rgba(67, 194, 230, 0.8);color:#ffffff;
    border-radius: 5px;
}
  .career-panel{
      overflow: hidden !important;
      max-height: 350px !important;
      background-color: rgb(253, 253, 253) !important;
      border-color: grey !important;
      border-radius: 3px !important;
      padding: 15px 15px 30px 15px;
      box-shadow: 0 2px 10px rgba(28, 84, 136, 0.2);
      transition: max-height 500ms ease-in-out; 
      cursor: default !important;
  }
  .header-panel{
      cursor: pointer;
  }
  .show{
    box-shadow: 0 0 8px #d3d3d3;    
    cursor: pointer;
    max-height: 2300px !important;
  }
  .career-panel:hover{
   cursor: pointer;
  }  
  .career-panel h4{
    padding: 50px 0 0 30px !important;
    font-size: 1.65rem;
    color: rgba(30, 108, 217, 0.8);
    font-weight: bold !important;
}
.career-panel h5{
    padding: 60px 0 0 30px !important;
    font-size: 1.4rem;
    color: #1e02be;
}
  .career-panel i {
    padding: 50px 30px 0 0  !important;
    font-size: 25px !important;
    color: rgba(30, 108, 217, 0.8);
    transition:linear all 0.5s;
    cursor:pointer;
  }
.career-panel p{
    text-align: justify;
    width: 95%;
    padding: 20px 0 0 30px !important;
    font-size: 1.15rem;
    line-height: 37px !important;
    font-weight: 400 !important;
}
.career-panel li{
    padding: 20px 0 0 50px !important; 
    font-size: 1.1rem;
    line-height: 37px !important;
    font-weight: 400 !important;   
}
.btn-primary{
   margin:35px 0 10px 30px !important; 
}
/*
################
               Team Section 
################
*/

  .team-section .header-title h1{
      display: inline-block !important;
    color: #454545;
    font-family: "Poppins", sans-serif;
    position: relative;
    font-size: 2.3125rem;
    font-weight: 500;
    line-height: 41px;
    margin-bottom: 35px !important;
    margin-top: 70px;
  }
      /* Team Section */
      .team-section .header-title{
        padding-top: 10px !important;
        text-align: center !important;
      }
      .team-section{
        min-height:700px;
      }
      .team-section .header-title h1::after{
       left: 0px !important;
      }
.team-section{

    min-height:500px;
    background:
    /* top, transparent black, faked with gradient */ 
    linear-gradient(
      rgba(0, 0, 0, 0.5), 
      rgba(0, 0, 0, 0.5)
    ),
    /* bottom, image */
    url(../img/team-banner.jpg);
    background-size: 100% 52% !important;
    background-attachment: fixed !important;
    background-position: center;
    background-repeat: no-repeat;
  }
  .team-section .header-title h1::after{
    content: '';
    position: absolute;
    left: 0px !important;
    top:45px !important;
    width: 120px !important;
    height: 2px;
    background-color: #ffffff;
  }
  .team-section .header-title p{
    padding-top: 10px!important;
    text-align: center !important;
    margin: 0 auto !important;
    color: #fff !important;
    font-size: 1.45rem !important;
    width: 75% !important;
  }
  
  @media (max-width: 992px) {
    .navbar-collapse {
        position: static !important;
        background-color: #f5f5f5 !important;
    }
    .nav-link{
        color: #454545 !important;

    }


}
 /* Reeponsive Mobile Screens */
  @media screen and (max-width: 600px) {
    html,body{
        overflow-x: hidden !important;
     }
     .header {
      height: 100vh;
      background-image:
      linear-gradient(to right bottom,
          rgba(76, 216, 255, 0.8),
          rgba(30, 108, 217, 0.8)),
      url('../img/careers-header.jpg');
  
      background-size: cover;
      background-position: bottom;
      position: relative;
      clip-path: polygon(0 0, 100% 0vh, 100% 100vh, 0 80vh);
      overflow: visible !important;
    /*  clip-path: polygon(0 0, 100% 0, 100% 20vh, 0 100%); */
    
     
  }
  .header h1 {
    white-space:nowrap !important;
    top: 37% !important;
}
.header h5 {
    top:50% !important;
    width: 290px;
    font-size: 1.7rem !important;
}
     /* NavBar */
     nav{
         background-color: rgba(255, 255, 255, 0.137);
         padding: 0 !important;
     }
     nav .container{
     width: 100% !important;
     }
     .nav-item{
      padding: 18px !important;
      }
      .fa-bars{
          font-size: 30px !important;
      }
     .navbar-brand{
         margin-right: 0 !important;
         margin-top: 15px;
     }
     .logo-img{
      padding-top: 0px !important;
      margin-left: 15px !important;
      
     }
     .navbar-toggler{
         margin-right: 15px !important;
     }
      /* Team Section */
      
      .team-section{
        min-height:700px;
        background-size: 100% 45% !important;
      }
      .team-section .header-title h1::after{
       left: 0px !important;
      }

      /* Career panel */
      .career-type h5{
        margin-bottom: 30px !important;
        color: #f8f8f8;
        font-size: 1.3rem;
        display: table; /* keep the background color wrapped tight */
        padding:7px;background-color:rgba(67, 194, 230, 0.8);color:#ffffff;
        border-radius: 5px;
    }
    
      .header-title h1 {
          font-size: 2.7rem !important;
          margin: 150px 0;
      }
      .career-single{
          margin: 150px 0 !important;
          padding: 0 15px !important;
      }
      .career-panel{
        max-height: 4100px !important;
    }
      .career-panel h4{
          white-space: nowrap ;
          text-align: left;
        margin: 50px 0 0 0px !important;
        font-size: 1.4rem;
        color: rgba(30, 108, 217, 0.8);
        font-weight: bold !important;
    }
    .career-panel h5{
        margin: 50px 0 0 0px !important;
        font-size: 1.4rem;
        color: #1e02be;
    }
    .career-panel p{
        text-align: left;
        width: 95%;
        padding: 20px 0 0 30px !important;
        font-size: 1.15rem;
        line-height: 37px !important;
        font-weight: 400 !important;
    }
    .career-panel li{
        padding: 20px 0 0 45px !important; 
        font-size: 1.1rem;
        line-height: 37px !important;
        font-weight: 400 !important;   
    }
    .career-panel i{
     display: none !important;
    }

    /* Footer */
    .footer-section{
        min-height: 1000px;
    }
  }

 /* Reeponsive Mobile Screens */
 @media screen and (max-width: 400px) {
    .career-panel{
        max-height: 4500px !important;
    }    

    .header {
        height: 100vh;
        background-image:
        linear-gradient(to right bottom,
            rgba(76, 216, 255, 0.8),
            rgba(30, 108, 217, 0.8)),
        url('../img/careers-header.jpg');
    
        background-size: cover;
        background-position: bottom;
        position: relative;
        overflow: visible !important;
      /*  clip-path: polygon(0 0, 100% 0, 100% 20vh, 0 100%); */
      
       
    }
 }