/* Custom CSS */
.modal-body {
  text-align: left;
  font-size: 75%;
}

.other-finance-grid {
  display: flex;
  flex-wrap: nowrap;
  padding: 0;
}

.other-finance-grid > :not(:first-child) {
  border-left: 1px solid #3c3b3b;
  padding-left: 2em;
}

.other-finance-grid h1 {
  font-size: clamp(26px, 2vw, 55px);
}

.gallery-item img {
  border-radius: 24px;
}

@media (max-width: 768px) {
  .other-finance-grid {
    flex-wrap: wrap;
    row-gap: 2em;
  }

  .other-finance-grid > :not(:first-child) {
    border-left: none;
    border-top: 1px solid #3c3b3b;
    padding-left: 0;
    padding-top: 2em;
  }
}

/* Form Style */

#gform_wrapper_1,
#gform_wrapper_2 {
  background-color: #f5f5f5;
  padding: 40px;
}

.gform_heading {
  text-align: center !important;
  padding-bottom: 10px !important;
}

#gform_wrapper_2 .gform_title,
#gform_wrapper_1 .gform_title {
  font-size: 32px;
  font-weight: bold;
}

#gform_wrapper_2 .gform_fields,
#gform_wrapper_1 .gform_fields {
  row-gap: 15px !important;
}

#gform_wrapper_2 input,
#gform_wrapper_2 select,
#gform_wrapper_1 input,
#gform_wrapper_1 select,
#gform_wrapper_1 textarea {
  border: 1px solid #999999;
  min-height: 50px;
}

.gform-theme--framework .gf_progressbar .percentbar_blue {
  background-color: #c8102e !important;
}

.gform-theme--framework input[type='submit'],
.gform_next_button,
.gform_previous_button {
  border: 1px solid #c8102e !important;
  background: #d30000 !important;
  color: #fff !important;
  font-size: 16px !important;
  padding: 12px 30px !important;
  font-weight: bold;
  letter-spacing: 1px;
  min-height: initial !important;
  margin: 0 auto;
}

.gform-page-footer {
  justify-content: center !important;
}

/* style issues fixed */

figure table tr,
figure table tr td {
  border: none;
}

.logo-carousel-block img {
  margin: 0 auto;
  width: initial !important;
  object-fit: contain !important;
}

.logo-slide-item {
  height: 100px;
  display: flex !important;
  align-items: normal;
  width: initial !important;
}

.logo-carousel-block .slick-slider .slick-slide > div {
  justify-content: center;
}

#no-title-page-wrapper {
  padding: 0px;
}

.counter-item {
  background-image: url('../png/ptac-circle.png');
  background-size: cover;
  background-position: 100% 55%;
  padding: 60px;
  display: inline-flex;
  justify-content: center;
  background-repeat: no-repeat;
  object-fit: cover;
}

/* custom css */

.wp-block-button__link {
  padding: 10px 25px !important;
}

.text-decoration-none a {
  text-decoration: none;
}

.open-color,
.exit-color,
.open-exit-color {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-right: 10px;
}

.open-color::before,
.exit-color::before,
.open-exit-color::before {
  content: '';
  width: 15px;
  height: 15px;
  background-color: #c8102e;
  position: relative;
  display: inline-flex;
  margin-right: 6px;
}

.exit-color::before {
  background-color: #ff9300;
}

.open-exit-color::before {
  background-color: #edd600;
}

@media only screen and (min-width: 782px) and (max-width: 992px) {
  .feature-block .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .feature-block
    .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column {
    flex-basis: auto;
  }
}

/* FAQ custom CSS */

.aagb__accordion_head--keyboard {
  background-color: #e9e9e9ff;
}

.aagb__accordion_component {
  margin-left: 0px !important;
}

/* Custom CSS */

/* ACF Map */

.acf-map {
  width: 100%;
  height: 375px;
}

.acf-map img {
  max-width: inherit !important;
}

@media (max-width: 768px) {
  .page-banner-section {
    min-height: 200px !important;
  }

  .form-banner img {
    height: 60% !important;
  }

  .banner-form-text {
    text-align: center;
  }

  .our-value-section .wp-block-cover__background {
    background: rgba(0, 0, 0, 0.8) !important;
  }
}

h1 {
  font-size: clamp(27px, 2.5vw, 48px);
}

h2 {
  font-size: clamp(24px, 2vw, 40px);
}

h3 {
  font-size: clamp(20px, 1.5vw, 32px);
}

.aagb__accordion_icon .aagb__icon_dashicons_box {
  height: 100%;
}

@media (max-width: 1200px) {
  .dropdown-item {
    white-space: normal !important;
  }
}

@media (max-width: 767.98px) {
  .service-hero-section {
    background-size: 110% 110%;
  }
}

.custom-testimonial .slick-track {
  display: flex;
}

.custom-testimonial .slick-track > div {
  height: auto !important;
}