/*!
 * Custom CSS, Grand Grace Development
 */
 @font-face {
   font-family: 'Gotham-Light';
   src: url('../fonts/Gotham-Light.otf');
   font-weight: 600;
   font-style: normal;
   font-display: swap;
}
@font-face {
   font-family: 'Gotham-Book';
   src: url('../fonts/Gotham-Book.otf');
   font-weight: 100;
   font-style: normal;
   font-display: swap;
}
@font-face {
   font-family: 'Gotham-Medium';
   src: url('../fonts/Gotham-Medium.otf');
   font-weight: 500;
   font-style: normal;
   font-display: swap;
}
@font-face {
   font-family: 'Gotham-Bold';
   src: url('../fonts/Gotham-Bold.otf');
   font-weight: 900;
   font-style: normal;
   font-display: swap;
}
@font-face {
   font-family: 'Gotham-MediumItalic';
   src: url('../fonts/Gotham-MediumItalic.otf');
   font-weight: 700;
   font-style: normal;
   font-display: swap;
}
@font-face {
   font-family: 'MyriadPro-Regular';
   src: url('../fonts/MyriadPro-Regular.otf');
   font-weight: 500;
   font-style: normal;
   font-display: swap;
}
.navbar-nav {
  flex-direction: row;
} 
.nav-link {
  font-family: "Gotham-Book";
}
.book {
   font-family: 'Gotham-Book';
}
.light {
   font-family: 'Gotham-Light';
}
.medium {
   font-family: 'Gotham-Medium';
}
.bold {
   font-family: 'Gotham-Bold';
}
.italic {
   font-family: 'Gotham-MediumItalic';
}
.navbar-dark .navbar-nav .nav-link {
   color:#1d3e71;
   font-size: 1.2rem;
}
.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover {
  color:#119B95;
}
 .navbar-dark .navbar-nav .nav-link.disabled {
   color: #1d3e71;
 } 
 .navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link {
   color: #119B95;
 }
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: 808080;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}
input:-webkit-autofill {
   -webkit-text-fill-color: #808080;
}
/**  Arrows **/
.homehero .scroll-wrapper{position: absolute; left: 0; top: 0; height: calc(100vh - 70px); width: 100%; display: flex; justify-content: center; align-items: flex-end; z-index: 9;}

.arrow{
   position: absolute;
   bottom: 10%;
   left: 50%;
   transform: translate(-50%,-50%);
}
.arrow span{
   display: block;
   width: 30px;
   height: 30px;
   border-bottom: 5px solid #FFF;
   border-right: 5px solid #FFF;
   transform: rotate(45deg);
   margin: -10px;
   animation: animate 2s infinite;
}
.arrow span:nth-child(2){
   animation-delay: -0.2s;
}
.arrow span:nth-child(3){
   animation-delay: -0.4s;
}
@keyframes animate {
   0%{
       opacity: 0;
       transform: rotate(45deg) translate(-20px,-20px);
   }
   50%{
       opacity: 1;
   }
   100%{
       opacity: 0;
       transform: rotate(45deg) translate(20px,20px);
   }
}
/**  Arrows **/
.form-control {
   border-bottom: 2px solid #000000;
   border-top: 0px solid #000000;
   border-right: 0px;
   border-left: 0px;
   border-radius: 0rem;
   color: #808080;
   font-family: "Gotham-Book";
   background-color:transparent;
}
.form-control:focus {
   color: #808080;
   background-color:transparent !important;
   border-bottom: 2px solid #1d3e71;
   border-top: 0px solid #FFFFFF;
   border-right: 0px;
   border-left: 0px;
   border-color: #000000;
   outline: 0;
   box-shadow: 0 0 0 0rem ;
}
.form-control:blur .form-control:not(:focus) {
  background-color:transparent !important;
}
.btn-submit {
   border-radius: 0px;
   padding: 1rem 2rem;
   font-size: 1.5rem;
   font-weight: 300;
   text-transform: uppercase;
}
.btn-submit, .btn-submit:hover {
   background-color: #119ba0;
   border-color:#119ba0;
   color: #FFFFFF;
}
.btn-submit:not(:disabled):not(.disabled).active, .btn-submit:not(:disabled):not(.disabled):active, .show>.btn-submit.dropdown-toggle {
   color: #fff;
   background-color: #119ba0;
   border-color: #119ba0;
}
.text-height {
   min-height: 200px;
}
.bg-img {
   background: url(../images/grands/bg.png);
   background-repeat: no-repeat;
   background-position: top 120px left 0%;
   background-size: 700px;
}
.lh-1 {
   line-height: 1rem;
 }
.lh-15 {
   line-height: 1.5rem;
}
.lh-2 {
   line-height: 2rem;
}
.lh-3 {
   line-height: 3rem;
}
.text-blue {
   color: #1d3e71;
}
.text-green {
   color: #119B95;
}
hr{
  margin-top: 0rem;
  margin-bottom: 0rem;
  border: 0;
  border-top: 2.3px solid #1d3e71;
  width: 20%;
}
.blue-line {
  border-top: 2.9px solid #1d3e71;
  width: auto;
}
.hero{
  background-size: cover;
  background-position: center;
  height: 800px;
}
.hero h3 {
  color: #FFF;
  font-size: 9rem;
}
#thefirm {
  background-image: url(../images/banners/the_firm.jpg);
}
#current_projects {
  background-image: url(../images/banners/current_projects.jpg);
}
#planned_projects {
   background-image: url(../images/banners/planned-projects.jpg);
}
#contact_us {
   background-image: url(../images/banners/contact-us.jpg);
}
.ml-auto .dropdown-menu {
  left: auto !important;
  right: 0px;
}
footer{
   background: #1d3e71;
   padding: 4rem 0px;
}
.social-icon {
   max-height: 40px;
   margin-right: 5px;
}
.copy-right a, footer{
   color:#FFFFFF
}
#back-to-top.show {
    opacity: 1;
}
#back-to-top {
   position: fixed;
   bottom: 22px;
   right: 15px;
   z-index: 9999;
   width: 45px;
   height: 45px;
   text-align: center;
   line-height: 42px;
   background: #119ba0;
   color: white;
   cursor: pointer;
   border: 0;
   border-radius: 2px;
   text-decoration: none;
   transition: opacity .2s ease-out;
   opacity: 0;
   font-size: 32px;
   border-radius: 100px;
}
.show {
   display: block !important;
}

@media (max-width:767px) {
   .homehero .scroll-wrapper{display: none;}
   .lh-3 {
      line-height: 2rem;
   }
   .navbar {
      padding:1rem 0.4rem;
   }   
   .navbar-dark .navbar-nav .nav-link {
      font-size: 1.1rem;
      font-weight: 300;
   }
   .nav-item {
      text-align: left;
      width: 100%;
   }
   .navbar-dark .navbar-toggler {
      color: rgba(29, 62, 113,.5);
      border-color: rgba(29, 62, 113,.9);
   }
   .navbar-dark .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28100, 130, 175, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
   }
   .navbar-toggler {
      border: 2px solid transparent;
   }
   .bg-img {
      background-position: top 10% left 0%;
      background-size: 450px;
   }
   .mainhero {
      height: 345px;
   }
   .innerhero {
      height: 400px;
   }
   .hero h3 {
      font-size: 3rem;
      justify-content: center;
      margin: auto;
   }
   .heading {
      font-size: 1.6rem;
   }
   .statement {
      font-size: 1.1rem;
      text-align: justify;
   }
   .mob-text {
      text-align: center !important;
      align-items: center !important;
      justify-content: center !important;
   }
   .mob-justify {
      text-align: justify;
   }
   .mob-center {
      text-align: center;
   }
   .title-line {
      font-size: 1.5rem;
   }
   .grand-address {
      text-align: center;
      margin-bottom: 1.5rem;
   }
   .grand-social {
      text-align: center;
   }
   .horizon-title-blue, .horizon-title-green {
      font-size: 1.5rem;
   }
}

@media (min-width:768px) {
   .container {
      padding:0px; 
   }
   .nav-item {
      text-align: left;
      width: auto;
      float: left;
   }
   .navbar-expand-md .navbar-nav .nav-link {
      padding-right: 0rem;
      padding-left: .5rem;
   }
   .navbar {
      padding:1rem 0.4rem;
   }
   .navbar-dark .navbar-nav .nav-link {
      font-size: 0.8rem;
   }
   .hero {
      height: 500px;
   }
   .hero h3 {
      font-size: 5rem;
   }
   .grace-heading {
      font-size: 2rem;
   }
}

@media (min-width:1024px) {
   .statement, .fs-2 {
      font-size: 1.5rem;
   }
}

@media (min-width:1200px) {
   .navbar {
      padding:0.6rem 0rem;
   }
   .navbar-expand-md .navbar-nav .nav-link {
      padding-right: .5rem;
      padding-left: .5rem;
   }
   .navbar-dark .navbar-nav .nav-link {
      font-size: 1.1rem;
   }
   .form-control {
      font-size: 1rem;
   }
   .mainhero {
      height: 700px;
   }
   .innerhero {
      height: 600px;
   }
   .hero h3 {
      font-size: 5rem;
   }
   .grace-heading {
      font-size: 2.5rem;
   }
   .statement {
      font-size: 1.3rem;
   }
   .fs-2 {
      font-size:1.5rem
   }
}
 
@media (min-width:1366px) {
   .fs-4 {
      font-size: 3rem;
   }
   .mainhero {
      height: 800px;
   }
   .innerhero {
      height: 600px;
   }
   .hero h3 {
      font-size: 6rem;
   }
}

@media (min-width:1400px) {
   .statement {
      font-size: 1.3rem;
   }
}

@media (min-width:1600px) {
   .container,.container-lg,.container-md,.container-sm,.container-xl {
      max-width: 65%;
   }
   .form-control,  input:-webkit-autofill, .statement  {
      font-size: 1.3rem;
   }
   .mainhero {
      height: 1000px;
   }
   .innerhero {
      height: 800px;
   }
   .hero h3 {
      font-size: 7rem;
   }
   .fs-4 {
      font-size: 3.5rem;
   }
   .lh-2 {
      letter-spacing: 1px;
   }
   .title-line {
      font-size: 2.5rem;
   }
   .grace-heading {
      font-size: 3.5rem;
   }
   .fs-2 {
      font-size:1.5rem
   }
}

@media (min-width:2500px) {
   .mainhero {
      height: 1200px;
   }
   .innerhero {
      height: 1000px;
   }
   .hero {
      font-size: 9rem;
   }   
}