/*
Theme Name: Anvil Property Services
Theme URI: https://github.com/elementor/hello-theme/
Description: Anvil Property Services Theme is a child theme of Hello Elementor, created by Fox & Lee
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: anvil-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

  /* Gravity Form */
  .gform_wrapper .gform_required_legend,
  .gform_wrapper .ginput_container--name .gform-field-label--type-sub {
    display: none;
  }

  .gform-theme--foundation .gform_fields {
    row-gap: 15px !important;
  }

  .gform_wrapper .gform_confirmation_message,
  .gform_wrapper .gfield--type-html p {
    color: #1E3663 !important;
    font-family: "Asap", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 28px !important;
    text-align: center;
  }

  .gform_wrapper .gfield_label,
  .gform_wrapper input[type="text"],
  .gform_wrapper input[type="tel"],
  .gform_wrapper input[type="email"],
  .gform_wrapper textarea {
    color: #1E3663 !important;
    font-family: "Asap", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    margin: 0 !important;
  }

  .gform_wrapper input:-webkit-autofill,
  .gform_wrapper input:-webkit-autofill:hover, 
  .gform_wrapper input:-webkit-autofill:focus,
  .gform_wrapper textarea:-webkit-autofill,
  .gform_wrapper textarea:-webkit-autofill:hover,
  .gform_wrapper textarea:-webkit-autofill:focus,
  .gform_wrapper input[type="text"],
  .gform_wrapper input[type="tel"],
  .gform_wrapper input[type="email"],
  .gform_wrapper textarea {
    border: 0 !important;
    background-color: #E9E9E9 !important;
    border-radius: 0px !important;
    outline: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
  }

  .gform_wrapper input[type="text"],
  .gform_wrapper input[type="tel"],
  .gform_wrapper input[type="email"]{
    height: 45px !important;
  }

  .gform_wrapper textarea {
    height: 95px !important;
    min-height: auto !important;
    min-block-size: auto !important;
  }

  .gform_wrapper .gform_footer {
    width: 100%;
  }

  .gform_wrapper .gfield--type-captcha {
    margin: 10px auto 0;
  }

  .gform_wrapper .ginput_recaptcha {
    text-align: center;
  }

  .gform_wrapper .ginput_recaptcha > div{
   display: inline-block;
  }

  .gform_wrapper .gform_button.button {
    background-color: #1E3663 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-family: "Asap", Sans-serif !important;
    font-weight: 700 !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    height: 44px !important;
    max-width: 167px;
    width: 100% !important;
    display: block !important;
  }

  .gform_wrapper .gform_button.button:hover {
    background-color: #D8BE75 !important;
    color: #fff !important;
  }


  /*
  * Global
  */
  html {
    scroll-behavior: smooth;
  }

  .elementor-button {
    min-width: 167px;
  }


  /*
  * Header
  */

  .elementor-editor-active #header {
    background-color: #000;
  }

  body:not(.elementor-editor-active) #header.elementor-sticky__spacer {
    display: none;
  }

  #header.sticky {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    background-color: #1E3663;
  }

  #header .elementor-button .elementor-button-wrapper {
    align-items: center;
  }
   
  #header .sub-menu {
    border: 0;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    max-width: 206px;
    width: 100%;
    padding: 0 10px;
  }

  #header .sub-menu li {
    text-align: center;
  }

  #header .sub-menu li a {
    border: 0;
    justify-content: center;
  }

  /*
  * Footer
  */
  #ftop .ft-menu .elementor-item {
    display: inline-block;
  }

  /*
  * Home
  */

  .home .home-slider .swiper-pagination-bullets {
    bottom: 50px !important;
  }

  .home .home-slider .swiper-pagination-bullet {
    border: 1px solid #fff;
    background: transparent;
    opacity: 1;
  }

  .home .home-slider .elementor-button {
    min-width: 186px;
  }

  .home .logo-slider .elementor-element.elementor-arrows-position-outside .swiper {
    width: calc(100% - 200px);
  }

  .review-slider .elementor-widget-theme-post-featured-image {
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px;
  }

  .review-slider .swiper-pagination-bullet {
    border: 1px solid #01326C;
    background: #fff;
    opacity: 1;
  }

  .review-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #1E3663;
  }


/*
* Footer
*/

  .logo-slider .swiper-slide-inner {
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px;
    max-width: 316px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-slider .swiper-slide-inner img {
    height: 85px;
    object-fit: contain;
  }

  /*
  * Inner Page
  */

  /* Our Work */
  .our-work-wrap .e-loop-item {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
  }

  .our-work-wrap .elementor-post-info li,
  .fitout-wrap .elementor-post-info li {
    display: block;
    border-bottom: 4px solid #D8BE75;
    padding-bottom: 15px;
  }

  .our-work-wrap .elementor-post-info li .elementor-post-info__terms-list,
  .fitout-wrap .elementor-post-info li .elementor-post-info__terms-list {
    display: flex !important;
    flex-direction: row-reverse;
  }

  .our-work-wrap .elementor-post-info li .sep,
  .fitout-wrap .elementor-post-info li .sep {
    padding: 0 10px;
  }

  .our-work-wrap .elementor-widget-theme-post-featured-image {
    min-height: 113px;
  }

  .our-work-wrap .elementor-widget-theme-post-content p {
    min-height: 162px;
  }

  .our-work-wrap .swiper-pagination-bullets,
  .fitout-wrap .swiper-pagination-bullets  {
    bottom: 20px !important;
  }

  /* Contact */
  .contact-wrap .gform-theme--foundation #gform_1 .gform_fields {
    column-gap: 60px !important;
  }

  .contact-wrap .gform_wrapper .gfield_label,
  .contact-wrap .gform_wrapper input[type="text"],
  .contact-wrap .gform_wrapper input[type="tel"],
  .contact-wrap .gform_wrapper input[type="email"],
  .contact-wrap .gform_wrapper textarea {
    background-color: #fff !important;
    color: #A7A0A0 !important;
  }

  .contact-wrap .gform_wrapper .gfield--type-captcha {
    width: 100%;
    margin-bottom: 20px;
  }

  .contact-wrap .gform_wrapper .ginput_recaptcha {
    text-align: left;
  }

  .contact-wrap .gform_wrapper .gform_button.button {
    background-color: #D8BE75 !important;
    max-width: 102px !important;
    margin: 0 !important;
  }

  .contact-wrap .gform_wrapper .gform_button.button:hover {
    background-color: #fff !important;
    color: #1E3663 !important;
  }

  /* Fitouts */
  .fitout-wrap .swiper-slide-inner img {
    min-height: 426px;
    object-fit: cover;
    width: 100%;
  }

  /* Industry */

  .logo-gallery .gallery-item {
    margin-bottom: 20px !important;
    vertical-align: middle !important;
  }

  .logo-gallery .gallery-item img {
    background-color: #fff;
    box-sizing: border-box;
    padding: 5px;
    height: 55px;
    object-fit: contain;
  }


  /*
  * Media Queries
  */



  @media screen and (max-width: 1400px) {
    .our-work-wrap .elementor-grid {
      display: flex;
      flex-wrap: wrap;
    }

    .our-work-wrap .e-loop-item {
      width: 48%;
    }
  }

  @media screen and (max-width: 1200px) {
    .our-work-wrap .elementor-post-info li {
      text-align: center;
    }
  }


  @media screen and (max-width: 1024px) {

    #header .elementor-nav-menu--dropdown a {
      justify-content: flex-end;
    }

    #header .elementor-nav-menu--dropdown li:not(.menu-item-has-children) a {
      padding-right: 46px;
    }

    #header .sub-menu {
      max-width: 100%;
      margin: 0 auto;
      padding: 0;
    }

    #header .sub-menu li a {
      justify-content: flex-end;
    }

    .home .home-slider .swiper-pagination-bullets {
      bottom: 20px !important;
    }

    .fitout-wrap .swiper-pagination-bullets {
      margin-top: -30px;
      transform: none !important;
    }

  }

  @media screen and (max-width: 767px) {
    .our-work-wrap .e-loop-item {
      width: 100%;
      max-width: 100%;
    }

    .our-work-wrap .elementor-widget-theme-post-featured-image,
    .our-work-wrap .elementor-widget-theme-post-content p {
      min-height: auto;
    }

    .fitout-wrap .e-loop-item {
      max-width: 767px;
    }

    .fitout-wrap .fitout-wrap .swiper-slide-inner img{
      min-height: auto;
    }

    .gform_wrapper .gform_confirmation_message,
    .gform_wrapper .gfield--type-html p {
      font-size: 16px !important;
    }

    .contact-wrap .gform-theme--foundation #gform_1 .gform_fields,
    .gform-theme--foundation #gform_1 .gform_fields {
      column-gap: 20px !important;
    }

    .logo-gallery .gallery-item img {
      max-width: 180px;
      height: auto;
      object-fit: cover;
    }

  }

  @media screen and (max-width: 600px) {
    #wpadminbar {
      position: fixed;
    }

    .review-slider .elementor-testimonial__header {
      flex-direction: column-reverse;
    }

    .review-slider .elementor-testimonial__cite {
      margin-bottom: 20px;
      text-align: center;
    }

    .review-slider .elementor-star-rating {
      margin-bottom: 10px;
    }

    .team-wrap > .elementor-element {
      width: 47% !important;
    }
  }

  @media screen and (max-width: 480px) {
    #header .elementor-button-content-wrapper {
      gap: 5px;
    }

    .team-wrap > .elementor-element {
      width: 100% !important;
    }
  }

  @media screen and (max-width: 380px) {

    .gform_wrapper .ginput_recaptcha > div {
      transform: scale(0.8);
      transform-origin: 0;
    }

    
 
  }
  