/* global custom CSS */

b, strong,
.main-nav__list-item-link {
  font-weight: 600;
}

ul,
ol {
  padding-inline-start: 14px;
}

a {
  font-size: 18px;
}

/* BODY */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HEADER */

.global-header {
  box-shadow: none!important;
}

.header-language-btn {
  min-width: 20px;
}

.header-search__form-btn svg {
  height: 25px;
}

/* FOOTER */

footer a {
  color: #f4f4f4;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
    footer * {
    text-align: start!important;
  }
}

/* FORMS */

.form-default :where(.form-columns-2,.form-columns-3) {
  gap: 23px;
}

.form-default .hs-form-required {
  color: {fallback=var(--system-fonts), font-weight=600, font-family=Ambit, var(--system-fonts)};
}

.form-default select {
  color: #141414;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
}

.hs-fieldtype-select {
  position: relative;
}

.hs-fieldtype-select .input::after {
  content: url(//20297952.fs1.hubspotusercontent-na1.net/hubfs/20297952/raw_assets/public/milient-nimbly-child/images/menu_arrow_white.svg);
  position: absolute;
  top: 38px;
  right: 20px;
  pointer-events: none;
  transform: scale(1.7);
}

.form-default a {
  color: #f4f4f4;
}

.form-default.preset1 a {
  color: #4A25AA;
}

@media (max-width: 991px) {
  .form-default .hs-submit {
    text-align: left !important;
  }
}

/* QUOTE SECTION */

@media (max-width: 991px) {
  .quote-section .button-module {
    text-align: left !important;
  }
}

/* NEWSLETTER SECTION */

.newsletter-section img {
  vertical-align: bottom;
  width: 100%;
}

.newsletter-section .row-fluid .dnd-column:nth-child(1) * {
  height: 100% !important;
}

.newsletter-section .row-fluid .dnd-column:nth-child(2) {
  padding: 7%;
}

@media (max-width: 991px) {
  .newsletter-section .row-fluid .dnd-column:nth-child(1) {
    padding: 0;
  }
}

/* MISSION SECTION */

.mission-section li::marker {
  color: #f4f4f4;
}

/* BRANCH TEMPLATE */
/* Temporary fix for image card image bug */
.branch-template .image-card-module__image .g-module-macros-image {
  flex: inherit!important;
}

/* ABOUT TEMPLATE */

.about-template .card-module__image img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.about-template .image-card-module img {
  flex: inherit;
}

.about-template .image-card-module__image .g-module-macros-image_wrp {
  justify-content: center;
}

/* BLOG RECENT MODULE */

.blog-recent-module__article-button .btn-link {
  padding: 0;
  background: none;
  border: none;
  min-width: auto;
}

.blog-recent-module__article-button .btn-link:hover {
  background: none;
  text-decoration: underline;
}

.blog-recent-module__article-image img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}


.blog-recent-module__article {
  background-color: #fff;
  border-radius: 20px;
}

.blog-recent-module__article-date,
.blog-recent-module__article-heading,
.blog-recent-module__article-button {
  padding-right: 20px;
  padding-left: 30px;
}

.blog-recent-module__article-date {
  padding-top: 45px;
}

.blog-recent-module__article-button {
  padding-bottom: 45px;
}

[data-hs-anchor="true"] {
  scroll-margin-top: 100px;
}

.masonry-content .card-module__image a,
.filter-content .card-module__image a {
  width: 100%;
}

.masonry-content .card-module__image img,
.filter-content .card-module__image img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
    .g-module-macros-richtext :where(h1,h2,h3,h4,h5,h6),
    .g-module-macros-richtext :where(h1,h2,h3,h4,h5,h6) span,
    .g-module-macros-btn,
    .g-module-macros-heading,
    .g-module-macros-richtext table tr > td {
        overflow-wrap: anywhere;
    }
}

.pagination-module_internal-wrp {
  flex-wrap: wrap;
}

.blog-post__body .hs_cos_wrapper_type_rich_text a,
.g-module-macros-richtext  a {
  padding: 6px 0;
}

.pagination-module__page-link--number a.g-module-macros-link {
    padding: 10px 20px;
}