@import url('./fonts/DMSerifDisplay-Regular.ttf');
* {
  font-family: 'DM Serif Display', sans-serif;
  font-weight: 400;
  font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'DM Serif Display', sans-serif !important;
  font-weight: 400;
  &.heading-primary {
    color: #292f36 !important;
  }
}
span,
p {
  font-family: 'Jost', sans-serif !important;
  font-weight: 400;
}

/*** Default ***/
.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}
.mt-5 {
  margin-top: 40px;
}
.mt-6 {
  margin-top: 48px;
}
.mt-7 {
  margin-top: 56px;
}
.mt-8 {
  margin-top: 64px;
}
.mt-9 {
  margin-top: 72px;
}
.mt-10 {
  margin-top: 80px;
}
.mt-11 {
  margin-top: 88px;
}
.mt-12 {
  margin-top: 96px;
}
.mt-13 {
  margin-top: 104px;
}
.mt-14 {
  margin-top: 112px;
}
.mt-15 {
  margin-top: 120px;
}
.mt-16 {
  margin-top: 128px;
}
.mt-17 {
  margin-top: 136px;
}
.mt-18 {
  margin-top: 144px;
}
.mt-19 {
  margin-top: 152px;
}
.mt-20 {
  margin-top: 160px;
}

.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 32px;
}
.mb-5 {
  margin-bottom: 40px;
}
.mb-6 {
  margin-bottom: 48px;
}
.mb-7 {
  margin-bottom: 56px;
}
.mb-8 {
  margin-bottom: 64px;
}
.mb-9 {
  margin-bottom: 72px;
}
.mb-10 {
  margin-bottom: 80px;
}
.mb-11 {
  margin-bottom: 88px;
}
.mb-12 {
  margin-bottom: 96px;
}
.mb-13 {
  margin-bottom: 104px;
}
.mb-14 {
  margin-bottom: 112px;
}
.mb-15 {
  margin-bottom: 120px;
}
.mb-16 {
  margin-bottom: 128px;
}
.mb-17 {
  margin-bottom: 136px;
}
.mb-18 {
  margin-bottom: 144px;
}
.mb-19 {
  margin-bottom: 152px;
}
.mb-20 {
  margin-bottom: 160px;
}

.no-padding {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.no-margin {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.bg-primary-1 {
  background: #cda274;
}

.bg-primary-2 {
  background: #292f36;
}

.bg-primary-3 {
  background: #f4f0ec;
}
.page-content {
  h2 {
    font-size: 50px;
    margin-bottom: 0;
  }
  .about-us {
    img {
      border-radius: 100px;
      margin: 0 auto;
      @media (max-width: 990px) {
        margin-top: 50px;
      }
    }
  }
}
img {
  &.radius-bottom-left {
    border-bottom-left-radius: 140px 140px;
  }
  &.radius-bottom-right {
    border-bottom-right-radius: 140px 140px;
  }
  &.radius-top-right {
    border-top-right-radius: 190px 190px;
  }
  &.radius-top-left {
    border-top-left-radius: 190px 190px;
  }
}

.read-more {
  font-size: 18px;
  line-height: 20px;
  padding: 26px 48px;
  background: #292f36;
  border-radius: 18px;
  color: #fff;
  text-align: center;
  @media (max-width: 450px) {
    word-break: break-word;
    word-wrap: break-word;
    padding: 16px 18px !important;
    width: 100%;
    font-size: 16px !important;
  }
  &:hover {
    color: #fff;
  }
  i {
    color: #cda274;
    margin-left: 10px;
    font-size: 22px;
  }

  &.__icon {
    &::after {
      content: "\f061";
      font-family: "FontAwesome";
      font-weight: normal;
      margin-left: 8px;
      color: #cda274;
    }
  }
}

.section-paragraph {
  margin: 75px 0;
  padding: 50px 0;
  @media (max-width: 768px) {
    margin: 50px 0 50px;
    padding: 75px 0;
    .row {
      margin-right: 0;
      margin-left: 0;
    }
  }
  .content-text {
    vertical-align: center;
  }
  h3 {
    text-align: center;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 70px;
  }
  p {
    text-align: justify;
    font-size: 20px;
    color: #1b1e21;
    font-family: 'Jost', sans-serif;
  }
  .paragraph-image {
    border-bottom-right-radius: 40px 40px !important;
    border-top-left-radius: 40px 40px !important;
    width: 100% !important;
    position: relative !important;
    img {
      border-bottom-right-radius: 40px 40px !important;
      border-top-left-radius: 40px 40px !important;
      min-height: 300px;
      width: 100%;
      object-fit: cover;
      @media (max-width: 990px) {
        width: 100%;
        margin: 50px 0;
      }
    }
  }
  a {
    margin-top: 40px;
  }
}

.paragraph--type--group-card-title-text-link {
  margin: 100px 0 !important;
  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .group-columns-cards {
    position: relative;
    .col-card {
      text-align: center;
      border-left: 1px solid #e6e6e6;
      padding: 25px 15px;
      &:last-child {
        border-right: 1px solid #e6e6e6;
      }
      @media (max-width: 990px) {
        border-left: none;
        border-bottom: 1px solid #e6e6e6;
        margin-bottom: 50px;
        padding-bottom: 50px;

        &:last-child {
          border-right: none;
        }
      }
      strong {
        font-size: 28px;
        line-height: 28px;
        color: #292f36;
      }
      p {
        font-size: 20px;
        line-height: 30px;
        color: #4d5053;
        font-family: 'Jost', sans-serif;
      }
      a {
        font-size: 18px;
        line-height: 20px;
        color: #4d5053;
        font-weight: 400;
        font-family: 'Jost', sans-serif;
        &::after {
          content: "\f061";
          font-family: "FontAwesome";
          font-weight: normal;
          margin-left: 8px;
          color: #cda274;
        }
      }
    }
  }
}

#header {
  min-height: 70px !important;
  .header-btn-collapse-nav {
    background: #114694;
  }
  li {
    &:hover {
      border-bottom: 1px solid #000;
      a {
        background: transparent !important;
        color: #000 !important;
      }
    }
    a {
      color: #000;
      font-family: 'Jost', sans-serif;
      font-size: 16px !important;
    }
  }
  .header-logo {
    img {
      max-height: 65px;
      height: auto !important;
      width: auto !important;
    }
  }
  #mainNav > li.active > a, #mainNav > li.active > a.is-active {
    background: transparent;
    border-bottom: transparent;
    border-radius: 0;
    color: #0088cc;
  }
  .header-body {
    min-height: 95px;
  }
  .header-nav-main {
    @media (max-width: 990px) {
      nav > ul li {
        border-bottom: none;
      }
    }
    nav > ul > li.dropdown {
      a:after {
        border-color: #0f4898 transparent transparent transparent;
      }
    }
    .dropdown-menu>.active>a {
      background-color: transparent;
    }
  }
}

/*** HEADER ***/

.sticky-header-active {
  #header {
    .header-body {
      padding: 10px 0;
      .header-logo {
        img {
          height: 50px !important;
          @media (max-width: 990px) {
            height: 45px !important;
          }
        }
      }
    }
    .nav {
      margin-top: 0;
    }
  }
}
header .header-body {
  position: relative;
}

#header {
  .header-body {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease-in-out, top 0.4s ease-in-out;
    z-index: 1000;
  }
  @media (max-width: 990px) {
    .header-nav-main {
      max-height: 550px !important;
      overflow-x: hidden;
      overflow-y: auto;
    }
    .h-default.header-btn-collapse-nav {
      margin-top: 7px !important;
      padding: 10px 15px;
      i {
        font-size: 18px;
      }
    }

    .header-nav-main nav {
      padding-top: 25px;
      > ul {
        > li {
          padding: 10px 0;
          a,
          a:focus,
          a:hover {
            padding: 10px 0;
          }
        }
      }
    }
  }
}

#footer {
  background: #f4f0ec;
  border-top: 4px solid #d9ccbe;
  font-size: 0.9em;
  margin-top: 0;
  padding: 70px 0 0;
  position: relative;
  clear: both;
  .body-content {
    font-size: 20px;
    margin: 25px 0;
  }
  .first-col {
    @media (max-width: 990px) {
      text-align: center;
    }
  }
  h2 {
    color: #292f36;
    margin-bottom: 12px;
  }
  #logo-footer {
    margin-bottom: 18px;
  }
  ul {
    &.social-icons {
      margin-top: 30px !important;
      li {
        box-shadow: none;
        a {
          width: 50px;
          height: 50px;
          background: 0;
          font-size: 40px;
          &:hover {
            i {
              color: #292f36;
            }
          }
        }
      }
    }
    &.contact {
      li {
        font-size: 16px;
        margin: 0 auto;
        i {
          padding-right: 25px;
          display: contents;
        }
        p {
          padding-top: 5px;
        }
        a {
          color: #292f36;
          font-weight: normal;
          padding-top: 5px;
        }
      }
    }
  }
  .footer-pages {
    ul {
      list-style-type: none;
      padding: 0;
      li {
        a {
          color: #4d5053;
          font-size: 22px;
          line-height: 36px;
          padding: 0;
          font-family: 'Jost', sans-serif;
          font-weight: normal;
          text-transform: capitalize;
        }
      }
    }
  }
  .footer-copyright {
    background: #fff7ef;
    border-top: 4px solid #d9ccbe;
    a {
      color: #292f36;
      font-weight: normal;
      padding-top: 5px;
    }
    .developed-by {
      display: inline;
    }
    @media (max-width: 990px) {
      .col-md-6 {
        text-align: center;
        display: block;
        margin: 10px 20px;
      }
    }
  }
}

section {
  &.img-banner {
    img {
      object-fit: cover;
      max-height: 351px;
      width: 100%;
      margin-top: 25px;
      @media (max-width: 1200px) {
        margin-top: -40px;
        min-height: 300px;
        object-fit: cover;
      }
    }
  }
}
section.page-header-breadcrumb {
  #block-rf-breadcrumbs {
    nav {
      ol {
        li:first-of-type {
          a {
            &::after {
              content: "/";
              margin-left: 8px;
            }
          }
        }
      }
    }
  }
  .container-float-breadcrumb {
    position: absolute;
    margin-top: -278px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (max-width: 1200px) {
      margin-top: -240px;
    }
    @media (max-width: 900px) {
      margin-top: -220px;
    }
    .title-breadcrumb {
      width: 888px;
      height: 180px;
      background: #fff;
      border-top-left-radius: 100px;
      border-top-right-radius: 100px;
      padding: 76px 40px;
      text-align: center;
      text-transform: capitalize;
      @media (max-width: 1200px) {
        height: 180px;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
      }
      @media (max-width: 900px) {
        min-height: 160px;
        width: 600px;
        padding: 52px 32px 0;
      }
      @media (max-width: 768px) {
        width: 90%;
      }
      @media (max-width: 450px) {
        width: 90%;
      }
      h1 {
        font-size: 40px;
        line-height: 0;
        font-weight: 400;
        font-family: 'DM Serif Display', sans-serif;
        @media (max-width: 1200px) {
          font-size: 30px;
        }
      }
      .breadcrumb-list {
        display: inline-flex;
        @media (max-width: 768px) {
          display: block;
        }
        ol,
        span.page-title {
          list-style-type: none;
          display: inline-flex;
          padding-left: 0;
          font-size: 22px;
          font-weight: normal;
          color: #4d5053;
          font-family: 'Jost', sans-serif;
          a {
            color: #4d5053;
            margin-right: 5px;
            font-family: 'Jost', sans-serif;
          }
        }
      }
    }
  }
}
.card-project {
  img {
    width: 525px;
    height: 548px;
    object-fit: cover;
    object-position: center;
  }
  a {
    margin-top: 18px;
    margin-bottom: 12px;
    color: #292f36;
    display: block;
    font-size: 25px;
  }
  span {
    color: #4d5053;
    font-size: 22px;
    font-family: 'Jost', sans-serif;
  }
}

a.open-link {
  background: #f4f0ec;
  color: #292f36;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 15px 20px;
  display: block;
}

.page-header-breadcrumb {
  padding-top: 100px;
  @media (max-width: 990px) {
    padding-top: 62px;
  }
}

#owl-team-about {
  :root {
    --primary-color: #6d3795;
    --hover-color: #bea041;
    --text-color: #fff;
    --transition-speed: 0.5s;
  }
  .item {
    .box-professional {
      text-align: center;
      color: var(--text-color);
      position: relative;
      overflow: hidden;
      border-radius: 80px;

      &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.56) 100%);
        transition: background var(--transition-speed) ease;
      }

      &:hover::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.94) 100%);
      }

      &:hover {
        .title,
        .post {
          transform: translateY(0);
        }
        .social {
          opacity: 1;
          transform: perspective(500px) rotateX(0);
        }
      }

      img {
        width: 100%;
        height: auto;
        display: block;
        max-height: 515px;
        object-fit: cover;
        object-position: center center;
        border-radius: 80px;
      }

      .box-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index: 1;
        transition: transform var(--transition-speed) ease-in-out;
        border-radius: 80px;
      }

      .title {
        color: #fff;
        font-size: 44px;
        font-weight: 400;
        text-transform: capitalize;
        margin-bottom: 10px;
        transform: translateY(75px);
        transition: transform 0.4s cubic-bezier(0.13, 0.62, 0.81, 0.91);
        padding: 0 !important;
        a {
          color: #fff !important;
          &:hover,
          &:focus,
          &:active {
            text-decoration: none;
            color: #efeaea !important;
          }
        }
      }

      .post {
        color: #fff;
        display: block;
        padding: 8px 0;
        font-size: 22px;
        transform: translateY(75px);
        transition: transform 0.4s cubic-bezier(0.13, 0.62, 0.81, 0.91);
      }

      .social {
        list-style: none;
        padding: 0;
        margin: 40px 0 25px;
        display: flex;
        justify-content: center;
        gap: 10px;
        opacity: 0;
        transform: perspective(500px) rotateX(-90deg);
        transition: transform 0.6s cubic-bezier(0, 0, 0.58, 1), opacity 0.6s ease;

        &:hover {
          opacity: 1;
          transform: perspective(500px) rotateX(0);
        }

        &::before {
          content: "";
          width: 50px;
          height: 2px;
          background: var(--text-color);
          position: absolute;
          top: -23px;
          left: 50%;
          transform: translateX(-50%);
        }

        li {
          display: inline-block;
          a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: #fff;
            font-size: 28px;
            transition: background 0.3s ease;
            &:hover,
            &:focus,
            &:active {
              background: var(--hover-color);
              text-decoration: none;
            }
          }
        }
      }
    }
    margin-left: 22px;
    .card-bg {
      height: 433px;
      background-size: cover;
      background-position: center;
      border-radius: 50px;
      display: flex;
      align-items: flex-end;
      padding: 0;
      /*transition-delay: 250ms;*/
      /*transition-property: margin-right;*/
      transition: 0.9s;
      .card-content {
        display: none;
      }
      &:hover {
        opacity: 0.6;
        .card-content {
          display: block;
          background: rgba(255, 255, 255, 0.8);
          padding: 70px 28px;
          border-radius: 49px;
          width: 100%;
          height: 433px;
          strong {
            &.title {
              font-size: 25px;
              font-weight: 400;
              color: #292f36;
              display: block;
            }
          }
          span {
            &.profession {
              font-size: 18px;
              font-weight: 400;
              color: #4d5053;
              display: block;
              margin-top: 10px;
            }
          }
          .social-icons {
            margin: 65px 0;
            ul {
              padding-left: 0;
              li {
                margin-right: 20px;
                a {
                  height: 40px;
                  line-height: 40px;
                  width: 40px;
                  i {
                    font-size: 20px;
                  }
                }
              }
            }
          }
          .contact {
            p {
              font-size: 18px;
            }
          }
        }
      }
    }
  }
}

.gallery {
  margin: 50px 0;
  float: left;
  hr {
    margin-bottom: 100px;
  }
  h3 {
    font-size: 50px;
    line-height: 50px;
    font-weight: 400;
    margin-bottom: 38px;
    text-align: center;
  }
}
.image-gallery {
  .isotope-item {
    min-height: 300px;
    max-height: 300px;
    img {
      min-height: 260px;
      max-height: 260px;
      min-width: 350px;
      object-fit: cover;
      object-position: center center;
    }
  }
}

.views-element-container {
  ul {
    list-style-type: none;
  }
}

.webform-submission-form {
  .js-form-item {
    margin-bottom: 35px;
    label {
      font-family: 'Jost', sans-serif !important;
      font-weight: 400 !important;
    }
    .form-email,
    .form-text {
      height: 46px !important;
      &:focus-visible {
        border: none !important;
        border-bottom: solid 1px #000 !important;
      }
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    .form-select,
    textarea {
      padding-left: 0 !important;
      border: none !important;
      border-bottom: 1px solid #000 !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      outline: none !important;
      transition: none !important;

      &:focus,
      &:focus-visible,
      &:active {
        border: none !important;
        border-bottom: 1px solid #000 !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
      }

      &::selection {
        background-color: rgba(0, 0, 0, 0.1); // só exemplo
      }
    }
    .form-select {
      width: 100%;
      display: block;
      height: 46px !important;
      background-color: #fff;
    }
    &.js-form-item-phone {
      .iti {
        width: 100%;
      }
      input[type=tel] {
        padding-left: 52px;
      }
    }
    &.js-form-type-tel {
      float: left;
      input {
        display: block;
        width: 100%;
        height: 46px;
        padding: 6px 0;
      }
    }
  }
  .form-actions {
    text-align: right;
    .webform-button--submit {
      margin: 0 auto;
      margin-left: 0 !important;
      padding: 20px 54px;
      background: #292f36;
      border-radius: 18px;
      font-size: 18px;
      &:hover {
        color: #fff;
      }
      i {
        margin-left: 10px;
        color: #cda274;
      }
    }
  }
  .custom-file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .custom-input-file {
    opacity: 0;
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
  }

  .custom-file-label {
    display: block;
    padding: 12px 20px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .custom-file-label:hover {
    background-color: #0056b3;
  }
  .js-form-managed-file .webform-button--submit {
    display: none;
  }
}

.content-uploads {
  margin-top: 50px;
  position: relative;
  float: left;
  text-align: center;
  width: 100%;
  hr {
    margin-bottom: 100px;
  }
  h2 {
    text-transform: uppercase;
    margin-bottom: 38px !important;
  }
  .list-cards {
    .col-* {
      padding: 0;
    }
    .file-card {
      display: block;
      position: relative;
      text-decoration: none;
      max-width: 100%;
      background-color: #FFF;
      border-radius: 4px;
      overflow: hidden;
      padding: 30px 10px;
      margin-left: 0;
      min-height: 180px;
      width: 100%;
      box-shadow: rgba(0, 0, 0, 0.15) 0 15px 25px, rgba(0, 0, 0, 0.05) 0 5px 10px;
      margin-bottom: 25px;

      .icon {
        .pdf-popup {
          i {
            font-size: 75px;
            color: #CDA274;
          }
        }
      }
      .description {
        margin-top: 15px;
        i {
          color: #CDA274;
        }
      }
    }
  }
}

.select2-container,
.webform-select2 {
  .select2-selection--single {
    border: none !important;
    border-bottom: 1px solid #000 !important;
    box-shadow: none !important;
    outline: none !important;
    width: 100% !important;
    height: 46px !important;
    padding: 6px 0 !important;
    border-radius: 0 !important;
    .select2-selection__arrow {
      top: 50%;
      transform: translateY(-50%);
    }
    .select2-selection__rendered {
      padding-left: 0 !important;
      line-height: 32px !important;
    }
  }
  .select2-selection__arrow {
    top: 26px !important;
  }
}

.mfp-iframe-holder {
  .mfp-content {
    max-width: 90%;
    width: 90%;
    height: 90%;
  }
  .mfp-iframe-scaler {
    height: 100%;
  }
  iframe {
    width: 100%;
    height: 100%;
  }
}

form input[type="text"]:focus-visible {
  border: none !important;
  border-bottom: 1px solid #000 !important;
  box-shadow: none !important;
  outline: none !important;
}
