.pre-footer .row {
  .pre-footer .social-links {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  @include media-breakpoint-up(lg) {
    >* {
      flex: 0 0 33.33%;
      width: 33.33%;
    }
  }

  .logo {
    img {
      // max-width: 217px;
      margin-left: 0;
      display: block;

      @include media-breakpoint-down(md) {
        margin-left: auto;
        margin-right: auto;
      }
    }

  }

  h3 {
    padding-bottom: 5px;
    font-weight: bold;
    text-transform: capitalize;
  }

  .footer-contact {
    p {
      padding-bottom: 0px;

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

.footer-main {
  background: $white;
  color: $brown;
  font-size: $font-size-16;
  overflow: visible;

  .pre-footer {
    padding: 100px 0 30px 0px;

    @include media-breakpoint-down(lg) {
      padding: 40px 0 40px 0px;
    }
  }

  h2 {
    border: none;
  }

  .copy-rights {
    background: $white;
    display: none;

    &>.container {
      border-top: 1px solid #e5e5e5;
      padding-top: 15px;
    }
  }

  .footer-menu {
    @include media-breakpoint-down(md) {
      padding: 20px;
      border: 3px solid $tertiary-color;
    }
  }

  .footer-menu ul li a,
  .copyrights-menu ul li a,
  .copyrights-menu ol li a {
    color: $brown;
  }
}

.footer-main {
  .footer-followus {
    .subscribe-box input[type="text"] {
      border: 2px solid #a2a2a2;
      font-size: 1rem;
    }

    .frame-type-text {
      >h2 {
        margin-bottom: 10px;
        font-family: $font-family-raleigh;
      }

      p {
        font-family: $font-family-raleigh;
      }
    }
  }

  >.py-4 {
    >.row {
      background-color: #eaddd1;
      padding-top: 50px !important;
      padding-bottom: 50px !important;
    }
  }

  .row {

    .col-sm-12.col-md-4.col-lg-4.mb-3 {
      position: absolute;
      top: -40px;
      right: 0;

      .card {
        .figure {
          overflow: visible;

          img {
            width: auto;
            height: auto;
            object-fit: contain;
            object-position: 50% 50%;
          }
        }
      }
    }
  }
}

.footer-sitemap-header {
  display: none;
}

@media (max-width: 767.98px) {
  .footer-menu {
    display: contents;
    text-align: center;
  }
}