:root{
  --orange:#fa2500;
  --grey-text:#706c6c;
  --blue: #00244e;
}
*{
  box-sizing: border-box;
}
body,html {
  padding: 0;
  margin: 0;
  font-family: 'Fira Sans', sans-serif;
}
body{
  display: grid;
  background: #fbfbfb;
  grid-template-rows: max-content auto max-content;
}
h1, h2{
  color: var(--grey-text);
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
}
.bold {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
.inline-block {
  display: inline-block;
}
.center-block {
  display: block;
  text-align: center;
}
.material-icons{
  font-size: 50px!important;
}
.orange{
  color: var(--orange);
}
section{
  font-size: 1.3em;
}
section.boxed{
  padding: 75px;
  max-width: 1200px;
  margin:0 auto;
}

.row{
  width: 100%;
}
.white-heading{
  color: #fbfbfb;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-size:20px;
  padding: 5px;
}
/* ==========================================================================
   Navbar classes
   ========================================================================== */
header{
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  margin-top: 54px;
  z-index: 990;
  background: #fbfbfb;
}
nav{
  margin-top: -20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-bar ul li:not(:last-child) a{
  border-right: 2px solid var(--grey-text);
}
.nav-bar ul li a{
  padding:0 1em;
  text-transform: uppercase;
  color: var(--grey-text);
  display: block;
  text-decoration: none;
  color: var(--grey-text);
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
}
.navbar-brand {
  margin: 8px 20px;
  display: inline-block;
}
.top-bar{
  position: absolute;
  right: 0;
  top: 0;
  z-index: 999;
  background-color:#706c6c;
  font-family: 'Roboto', sans-serif;
  width: 40%;
  padding: 10px;
  display: grid;
  gap: 15px;
  grid-template-columns: max-content min-content min-content auto;
  align-items: center;
}

/* ==========================================================================
   Services
   ========================================================================== */
.icon-wrap{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 50px;
}
.icon-box{
  display:grid;
  text-align: center;
  justify-items: center;
  grid-template-rows: min-content auto;
  padding: 20px;
  cursor:pointer;
  border: 1px solid #fbfbfb;
  transition: all 0.3s;
}
.icon-box:hover{
  border: 1px solid var(--orange);
  transform: scale(1.05);
  box-shadow: 2px 2px 8px #666;
}
.icon-box .blurb h2{
  color: var(--blue);
}
/* ==========================================================================
   Projects classes
   ========================================================================== */
.projects-wrap{
  display: grid;
  gap: 0 2%;
  grid-template-columns: repeat(3, 32%);
}

.project-box{
  display: grid;
  position: relative;
  max-width: 100%;
  margin-bottom: 2vw;
}
.project-box a,.grid-item a{
  display: block;
  height: 100%;
  width: 100%;
}
.project-box a img,.grid-item a img{
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.overlay{
  opacity:0;
  position: absolute;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0,36,78,0.8);

  transition: all 0.2s;
}
.overlay h2{
  color: var(--orange);
  font-weight: normal;
}
.project-box:hover .overlay{
  opacity: 1;
}
.grid-item{
  margin-bottom: 2vw;
}
.back{
  display: grid;
  grid-template-columns: min-content auto;
  align-items: center;
  color: var(--blue);
  font-weight: bold;
  text-decoration: none;
  font-size: 30px;
  gap: 10px;
}
/* ==========================================================================
   Medai classes
   ========================================================================== */
.publications{
  width: 70%;
  height: auto;
}
.publications img{
  width: 100%;
  height:auto;
}
/* ==========================================================================
   Contact classes
   ========================================================================== */
#formData{
  display: grid;
  gap: 20px;
}
#formData label{
  color:#324e6e;
  position: absolute;
  left: 10px;
  align-self: end;
  transition: all 0.4s
}
.inputCont{
  position: relative;
  margin: 0 auto;
  width: 85%;
  display: grid;
  height: 65x;
}
.inputCont input{
  align-self: end;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #9e9e9e;
  border-radius: 0;
  outline: 0;
  height: 2rem;
  font-size: 22px;
  padding-left: 10px;
  box-shadow: none;
  box-sizing: content-box;
  transition: all 0.3s;
}
.inputCont input:focus{
  border-bottom: 1px solid var(--orange);
  box-shadow: 0 1px 0 0 #666;
}
#formData label.active{
  position:initial;
}
textarea{
  font-family: inherit;
  font-size: inherit;
  height: auto;
}
button.g-recaptcha{
  border: 1px solid var(--blue);
  transition: all 0.3s;
  background: none;
  outline: none;
  width: 150px;
  padding: 0.6em 1em;
  font-size: inherit;
  margin: 0 auto;
  cursor: pointer;
}
button.g-recaptcha:hover{
  border: 1px solid var(--orange);
  background-color: var(--orange);
}
/* ==========================================================================
   Footer classes
   ========================================================================== */
footer {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  color: #7f7b7b;
  background-image: url('../images/footer_banner.jpg');
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}
footer p{
  margin:0;
}
footer .row{
  padding: 20px 0;
  background-color: rgba(255,255,255,0.8);
}
.contact-info{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.contact-info .col{
  grid-auto-rows: min-content;
  padding: 20px;
  display: grid;
  gap: 10px;
}
.contact-info .col a{
  color: inherit;
  text-decoration: none;
}
.credits img{
  max-height: 75px;
  width: auto;
}
.facebook{
  background: url(../images/icons/facebook-icon.png) no-repeat;
  height: 30px;
  width: 30px;
}
.instagram{
  background: url(../images/icons/instagram-icon.png) no-repeat;
  background-size: 30px 30px;
  height: 30px;
  width: 30px;
}

/* ==========================================================================
  carousel classes
   ========================================================================== */

.jssorb05 {
  position: absolute;
}
.jssorb05 div, .jssorb05 div:hover, .jssorb05 .av {
  position: absolute;
  width: 16px;
  height: 16px;
  background: url('../images/b05.png') no-repeat;
  overflow: hidden;
  cursor: pointer;
}
.jssorb05 div { background-position: -7px -7px; }
.jssorb05 div:hover, .jssorb05 .av:hover { background-position: -37px -7px; }
.jssorb05 .av { background-position: -67px -7px; }
.jssorb05 .dn, .jssorb05 .dn:hover { background-position: -97px -7px; }
.jssora11l, .jssora11r {
  display: block;
  position: absolute;
  width: 37px;
  height: 37px;
  cursor: pointer;
  background: url(../images/a11.png) no-repeat;
  overflow: hidden;
}
.jssora11l { background-position: -11px -41px; }
.jssora11r { background-position: -71px -41px; }
.jssora11l:hover { background-position: -131px -41px; }
.jssora11r:hover { background-position: -191px -41px; }
.jssora11l.jssora11ldn { background-position: -251px -41px; }
.jssora11r.jssora11rdn { background-position: -311px -41px; }

#slider1_container{
  visibility: hidden;
  position: relative;
  margin: 0 auto;
  width: 100vw;
  height: calc(100vw / (16/9));
  -webkit-aspect-ratio: 16/9;
  aspect-ratio: 16/9;
  overflow: hidden;
}
#testimonial_container{
  visibility: hidden;
  position: relative;
  margin: 0 auto;
  height: 300px;
  width:100%;
  overflow: hidden;
  border: 1px solid var(--orange);
}
#testimonial_container .slide{
  width: 90%!important;
  height:300px;
  margin:0 5%;
}
#testimonial_container .slide a{
  color: var(--orange);
  font-weight: 900;
}
.slide{
  cursor: move;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: calc(100vw / (16/9));
  -webkit-aspect-ratio: 16/9;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.bullet{
  bottom: 16px;
  right: 6px;
}
.carousel-arrow-left{
  top: 123px;
  left: 8px;
}
.carousel-arrow-right{
  top: 123px;
  right: 8px;
}
.testimonial-content{
  font-style: italic;
  font-size: 0.8em;
}
.testimonial-box{
  display: grid;
  align-items: center;
}
@media screen and (min-width:950px) {
  h1{
    font-size: 2em;
  }
  .mobile-menu-btn{
    display: none!important;
  }
  nav{
    display: grid;
    grid-template-columns: max-content auto;
  }
  .nav-bar{
    display: grid;
    align-items: center;
  }
  .nav-bar ul{
    display: grid;
    grid-template-columns: repeat(5, max-content);
    list-style-type: none;
    padding: 0;
    margin:0;
  }
}
@media screen and (max-width:949px) {
  header{
    margin-top: 0;
  }
  nav{
    padding: 0;
    margin-top: 0;
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .navbar-brand{
    margin: 0;
  }
  .navbar-brand img{
    height: 80px;
    width: auto;
  }
  .mobile-menu-btn{
    justify-self: right;
    padding:0 20px;
  }
  .nav-bar{
    max-height: 0px;
    overflow: hidden;
    position: absolute;
    top: 85px;
    width: 100%;
    transition: all 0.3s;
  }
  .nav-bar.open{
    max-height: 100vh;
  }
  .nav-bar.open li,.nav-bar li{
    margin: 10px;
  }
  header .nav-bar.open ul li a,header .nav-bar ul li a{
    border-right: none!important;
    padding: 15px;
  }
  .nav-bar ul{
    background: #fbfbfb;
    list-style-type: none;
    margin: 0;
    height: 100vh;
    padding: 20px;
    text-align: center;
  }
  section.boxed{
    padding: 50px;
    max-width: 95%;
    margin:0 auto;
  }
  .projects-wrap{
    grid-template-columns: repeat(2, 49%);
  }
  .top-bar {
    display: none;
  }
  .icon-wrap{
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
  }
}
@media screen and (max-width:950px) {
  section.boxed{
    padding: 50px 0;
    max-width: 95%;
    margin:0 auto;
  }
  .full-size{
    width: 100%;
    height:auto;
  }
  .contact-info{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .icon-wrap{
    grid-template-columns: 1fr;
  }
  .projects-wrap{
    grid-template-columns: 1fr;
  }
  #testimonial_container{
    height: 500px;
  }
  #testimonial_container .slide{
    width: 80%!important;
    height:500px;
    margin:0 10%;
  }
  .carousel-arrow-right {
    right:0px;
  }
  .carousel-arrow-left {
    left:0px;
  }
}
.notThere{
  display:none;
}