.footer {
  margin-top: 83px;
}

.footer > .container > .footer-card {
  display: none;
}

.footer-main,
.footer .grass {
  background-color: #f0f6eb;

}

.footer .grass img {
  background-color: white;
  display: none;
}

.footer .grass {
  background: url(/images/uploads/images/Test/grass-cross-section.png);
    background-repeat: repeat-x;
    height: 53px;
}

.footer-main .container {
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-card {
  background-color: #d2e7db;
  border-radius: 4px;
  padding: 1em 1.5em 2.2em 2em;
  width: 580px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 100%;
}

.footer-card h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-card p {
  margin-bottom: 19px;
}

.footer-card .inputs {
  width: 100%;
}
.footer-card .inputs input[type="text"] {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-width: 200px;
}

.footer-card .inputs input[type="submit"] {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-width: 120px;
  position: relative;
  left: 0;
  margin-left: 2em;
}

.footer-image {
  width: 100%;
  text-align: center;
  display: none;
}

.footer-links-holder {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  flex-direction: row;
  width: auto;
}

.footer-links {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: auto;
  padding: 10px;
}

.footer-links:first-of-type {
  font-weight: bold;
}

.footer-links a {
  display: inline-block;
  color: #009591;
}

.footer-links a:hover {
  color: #d68331;
}

.footer .default {
  color: #543c6a;
}

.footer-links .social-media-icons {
  display: none;
}

.footer-copyright {
  background-color: #6ca438;
}

.footer-copyright .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-copyright .social-media-icons svg {
  font-size: 1.5em;
  margin-right: 30px;
}

@media (max-width: 1200px) {
  .footer-card {
    width: auto;
  }
  .footer-card h2 {
    font-size: 1.2em;
  }
}

@media (max-width: 991px) {
  .footer-card {
    width: 580px;
  }
  .footer-card h2 {
    font-size: 1.5em;
  }
  .footer-main .container {
    justify-content: center;
  }
}

@media (max-width: 838px) {
  .footer {
    margin-top: 30px;
  }

  .footer > .container > .footer-card {
    display: inline-flex;
    width: 100%;
    margin-bottom: 2em;
  }

  .footer-main .footer-card {
    display: none;
  }

  .footer-main .container {
    padding: 0;
    padding: 1em;
  }

  .footer-links-holder {
    margin: 0 auto;
    width: 100%;
    justify-content: center;
  }

  .footer-image {
    display: block;
  }

  .footer-copyright .container {
    justify-content: center;
  }

  .footer-copyright .container .social-media-icons {
    display: none;
  }

  .footer-links .social-media-icons {
    display: inline-block;
  }

  .footer-links .social-media-icons i {
    margin-right: 0;
  }

  .footer-links .social-media-icons a {
    font-size: 1.3em;
  }

  .footer-links .social-media-icons a:nth-of-type(2) {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 767px) {
  .footer-links a {
    font-size: 0.75rem;
  }
}

@media (max-width: 445px) {
  .footer-card {
    padding: 1.5em 1em 1.5em 1em;
  }
  .footer-card .inputs input[type="submit"] {
    position: absolute;
    right: 0;
    left: auto;
    margin-left: 0px;
  }
  .footer-card h2 {
    font-size: 1em;
    margin-bottom: 5px;
  }

  .footer-card p {
    margin-bottom: 15px;
  }

  .footer-links-holder {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 365px) {
  .footer-card .inputs input[type="text"] {
    width: 100%;
    margin-bottom: 10px;
  }
  .footer-card .inputs input[type="submit"] {
    position: relative;
  }
}
