/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

  {
  % include './generic/_reset.css' %
}

  {
  % include './generic/_normalize.css' %
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/

  {
  % include './objects/_layout.css' %
}

  {
  % include './objects/_containers-dnd.css' %
}

/* Elements
Base HMTL elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

  {
  % include './elements/_typography.css' %
}

  {
  % include './elements/_buttons.css' %
}

  {
  % include './elements/_forms.css' %
}

  {
  % include './elements/_tables.css' %
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

  {
  % include './components/_header.css' %
}

  {
  % include './components/_default-modules.css' %
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

  {
  % include './utilities/_helper.css' %
}

.divider-wave {
  overflow: hidden;
}

.divider-wave img,
.wave-banner-bottom {
  margin-top: -1px;
  min-width: 105vw !important;
  width: 105vw;
  margin: 0 -8px;

}



.menu__link--active-branch,
.menu__item--has-submenu.active>a,
a.menu__link.menu__link--active-branch.menu__link--active-link {
  color: #285ea3;
}

.header_button a {
  max-height: 60px;
}

.header__logo {
  max-width: 278px !important;
}

.header__logo--main {
  padding-top: 0 !important;
}

@media (max-width:1450px) {
  footer .hs-menu-item a {
    font-size: 16px !important;
  }
}

@media (max-width:767px) {

  h2,
  h2 span {
    font-size: 30px !important;
    line-height: normal !important;
  }

  h3 {
    font-size: 25px !important;
  }

  h4 {
    font-size: 20px !important;
  }

  .wysiwyg ul,
  p {
    font-size: 16px !important;
  }

  footer a,
  footer span {
    font-size: 16px !important;
  }

  .breadcrumbs {

    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    overflow: scroll;

    nav {
      margin-left: 0;
      font-size: 14px;
      white-space: nowrap;
      transform: translateY(0);
      opacity: 1;
      width: -moz-max-content;
      width: max-content;

      span {
        font-size: 14px;
      }
    }
  }
}

.social-links__icon svg {
  height: 28px !important;
}

.social-links__icon svg:hover {
  fill: #5d94db !important;
}

/* Breadcrums */
.breadcrumbs {
  font-weight: 600;
  font-family: 'Aptos';
  line-height: 26px;
  font-size: 18px;
  color: #4A4A49;

  nav {
    height: 34px;
  }

  .inner-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

}

@media (max-width: 767px) {
  .breadcrumbs {
    font-size: 14px !important;
    padding-left: 32px;
    padding-right: 32px;
  }

  .container {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

footer {
  overflow: hidden;
  margin-top: -133px;

  #hs_cos_wrapper_footer_allrights {
    display: inline-block;
  }

  .divider-wave img {
    margin-bottom: -1px;
  }

  .dark-blue {
    /* padding-top: 60px; */
  }

  letter-spacing: -1px;

  a:hover {
    text-decoration: underline !important;
  }

  #hs_cos_wrapper_footer_tagline_ {
    font-size: 16px !important;
    max-width: 236px;
    display: block;
    font-weight: normal !important;

    @media (max-width: 1450px) {
      font-size: 16px !important;
    }

    @media (max-width: 767px) {
      margin: auto;
    }
  }

  p,
  a span,
  .contact-wrap span,
  .contact-wrap p {
    font-size: 16px;

    @media (max-width: 1450px) {
      font-size: 16px !important;
    }
  }

  .footer-bottom {
    /* padding-bottom: 32px; */
    letter-spacing: 0;
    max-width: 1340px;

    @media (max-width: 1450px) {
      /* padding-top: 30px; */
      padding-bottom: 15px;
      letter-spacing: 0;
    }

    .w-max>:not([hidden])~:not([hidden]) {
      @media (min-width: 768px) {
        --tw-space-x-reverse: 0 !important;
        margin-left: calc(32px* (1 - var(--tw-space-x-reverse))) !important;
        margin-right: calc(32px * var(--tw-space-x-reverse)) !important;

      }

      --tw-space-x-reverse: 0;
      margin-left: 0;
      margin-right: 0;

    }

    .priv {
      @media (max-width: 900x) {
        width: 51%;
        text-align: right;
      }
    }

    .w-max a {
      @media (max-width: 767px) {
        display: block;
        padding: 5px 0;
      }

    }

    .bottom-wrap {
      @media (max-width: 767px) {
        flex-direction: column-reverse;

      }

      a,
      span {
        @media (max-width: 1450px) {
          font-size: 16px !important;
        }
      }
    }
  }

  .footer-top {
    @media (min-width: 1250px) {
      gap: 61px;
      display: flex;
    }

    @media (max-width: 767px) {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      max-width: 310px;
      margin: auto;
    }

    .secondcol-wrap {
      justify-content: space-between;
      gap: 61px;

      @media (max-width: 767px) {
        flex-direction: column
      }
    }

    .col1 {
      min-width: 260px;
      margin: 0 auto;
    }

    .col1,
    .col2,
    .col3,
    .contact-title {
      @media (max-width: 767px) {
        text-align: center;
      }
    }

    #hs_cos_wrapper_social_media {
      @media (max-width: 767px) {
        margin: auto;
      }
    }

  }

  @media (max-width:1581px) {
    #hs_cos_wrapper_footer_tagline_ {
      font-size: 16px !important;
    }

    h2,
    .h2 {
      font-size: 38px;

    }

    p {
      font-size: 16px;
    }

    p,
    .wysiwyg ul {
      font-size: 16px;
    }

    .wysiwyg {
      p {
        font-size: 16px;
      }

      ul li {
        font-size: 16px;

        span {
          font-size: 16px;
        }
      }
    }
  }
}

.single-blog-mc {
  i.fa-brands:hover {
    color: black
  }

  .blog-footer-social {
    margin-top: 60px;
  }

  .hs_cos_wrapper_type_post_listing,
  .hs_cos_wrapper_type_social_sharing {
    display: none !important
  }

  .blog-post__featured-image img {
    border-radius: 12px;
  }

  span#hs_cos_wrapper_post_body>*:not(:last-child) {
    margin-bottom: 15px;
  }

  .row.gradient {
    border-radius: 12px;
  }

  .cont {
    padding: 0px 0 133px !important;
  }

  @media (max-width: 767px) {
    .cta-blog {
      .cont {
        padding: 0px 0 133px !important;
      }

      .cta_banner.container {
        padding: 0 !important
      }

      h2 {
        font-size: 30px !important;
      }

      .row.gradient {
        padding: 0 25px;
      }

      .col1 {
        padding: 20px 0 0;
      }

      .button {
        padding: 15px;
      }
    }

    .blog-footer-social,
    .author-social {
      flex-direction: column;
      text-align: center;
    }

    article {
      .blog-post__body img {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0px !important;
      }
    }

    .h3,
    .h4,
    h3,
    h4,
    h2,
    h5 {
      line-height: normal;
      font-weight: 600;
    }

    h1 {
      font-size: 30px;
      line-height: normal;
    }

    .blog-post__body {

      .list-item-content,
      p,
      strong,
      span {
        font-size: 16px !important;
      }

      p {
        a {
          text-decoration: underline !important;
        }
      }

      a {
        text-decoration: underline !important;
      }
    }

  }

  .blog-post__body {
    p {
      a {
        text-decoration: underline !important;
      }
    }
  }
  article {
    h3 {
      a {
        text-decoration: underline !important;
      }
    }
    a {
      text-decoration: underline !important;
    }
  }

  @media (min-width: 1024px) {

    .blog-post__body img {
      min-width: 50%;
      max-width: 50%;
      border-radius: 12px;
    }
  }

  @media (max-width: 767px) {
    .blog-post__body img {
      min-width: 100%;
      margin: 15px 0 !important
    }
  }

  .blog-post__body li {
    display: flex;
    line-height: 34px !important;
    font-size: 16px;

  }

  .blog-post__body li:before {
    background-image: url(https://info.grantmcgregor.co.uk/hubfs/McGregor%20Theme%20Assets/check.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: inline-block;
    height: 25px;
    margin-right: 16px;
    vertical-align: middle;
    min-width: 14px;
    position: relative;
    top: 5px;

  }

  ul,
  p {
    font-size: 16px;
  }

  strong {
    font-size: 20px;
    line-height: 28px;
  }

  .latest_blog_container {
    .wave {
      /* margin-top:-1px} */
    }
  }