@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

.footer {
  background: var(--footer-color);
  color: var(--white1);
  padding: 120px 15px;
  border: 0;
  margin: 0;
  z-index: 1;
  position: relative;
}

.region-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
}

/* footer menu */

#block-knomad-footer-menu {
  width: 100%;
  margin-bottom: 86px;
}

.menu--footer-menu {
  display: flex;
  justify-content: center;
  width: 100%;
}

.menu--footer-menu li:not(:last-child) {
  margin-right: 30px;
}

.menu--footer-menu li a {
  font-weight: var(--font-open-semibold);
  color: var(--white1);
  font-size: 13px;
  line-height: 13px;
  padding: 0;
  background: transparent !important;
}

.menu--footer-menu li a:hover {
  color: var(--orange);
}

/* subscribe section */

.footer-subscribe {
  padding: 27px 30px 40px 30px;
  margin: 0 30px;
  border: 1px solid var(--orange);
  border-radius: 20px;
  width: 654px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-subscribe h2 {
  font-family: var(--font-andes-regular);
  font-size: 32px;
  color: var(--white1);
  margin: 0 0 4px 0;
  line-height: 39px;
}

.footer-description {
  font-weight: var(--font-open-regular);
  font-size: 14px;
  color: var(--white1);
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.footer-subscribe .webform-submission-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-subscribe .form-item-subscription-mail {
  max-width: 323px;
  width: 100%;
  margin: 0;
}

.footer-subscribe .form-item-subscription-mail input {
  height: 40px;
  border-radius: 5px;
  box-shadow: none !important;
  font-size: 14px;
  color: var(--black7);
  font-weight: var(--font-open-regular);
  font-family: 'Poppins';
}

.footer-subscribe .form-actions {
  margin: 0 0 0 10px;
}

.footer-subscribe .form-actions .button {
  height: 40px;
  font-size: 14px;
  font-weight: var(--font-open-regular);
  color: var(--white1);
  margin: 0;
}

.footer-subscribe .form-actions .button:hover:focus {
  border: none;
  outline: none;
}

/* logo */

.footer-logo {
  padding-bottom: 40px;
}

/* footer social media */

.footer-social-media-block {
  padding-bottom: 40px;
  display: flex;
  align-items: center;
}

.footer-social-media-block h2 {
  font-size: 14px;
  font-family: var(--font-open-sans);
  font-weight: var(--font-open-bold);
  color: var(--white1);
  margin: 0;
  text-transform: uppercase;
}

.footer-social-media-block .field--name-body {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--pipe-color);
}

.footer-social-media-block .field--name-body p {
  margin: 0;
  line-height: 14px;
}

.footer-social-media-block .field--name-body a {
  font-size: 14px;
  font-family: var(--font-andes-regular);
  color: var(--blue);
  position: relative;
  text-decoration: none !important;
  min-height: 30px;
  display: flex;
  align-items: center;
  padding-right: 46px;
  text-transform: lowercase;
}

.twitter-follow-link:after {
  content: "";
  width: 36px;
  height: 36px;
  display: block;
  background: url(/themes/custom/knomad/components/footer/css/../img/twitter.png) no-repeat center center transparent;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -18px;
}

.twitter-follow-link:hover:after {
  background-image: url(/themes/custom/knomad/components/footer/css/../img/twitter_hover.png);
}

.footer-subscribe .webform-submission-form .webform-confirmation__back {
  text-align: center;
  margin: 30px 0 0 0;
  display: none;
}

.footer-subscribe .webform-submission-form .webform-confirmation__back a {
  color: var(--white1);
  text-decoration: none;
  position: relative;
}

.footer-subscribe .webform-submission-form .webform-confirmation__back a:hover {
  color: var(--orange);
}

.footer-subscribe .webform-submission-form .webform-confirmation__back a:before {
  content: '';
  background: url(/themes/custom/knomad/components/footer/css/../img/right_arrow.png) no-repeat center center transparent;
  position: absolute;
  left: -25px;
  bottom: 2px;
  height: 16px;
  width: 20px;
  transform: rotate(180deg);
}

.footer-subscribe .webform-confirmation .webform-confirmation__message {
  margin-bottom: 0;
}

/* .footer-subscribe .webform-submission-form .webform-confirmation__back a:hover:before {}
 */

/* subscribe */

.footer {
  z-index: 10;
}

.footer-subscribe .form-actions {
  margin: 0;
}

.footer-subscribe .form-actions .button {
  font-size: 16px;
  line-height: 40px;
  padding: 0 30px;
  outline: 0 !important;
}

.footer-subscribe .field--name-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-subscribe .custom-popup-component.iframe-popup-component {
  height: 430px;
  overflow: hidden;
  justify-content: flex-start;
  font-size: 0;
  line-height: 0;
}

.footer-subscribe .custom-popup-component.iframe-popup-component .custom-popup-inner {
  justify-content: flex-start;
}


/* footer-style-2 */

.footer-style-2 {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media only screen and (min-width: 992px) {

  .footer-style-2 .region-footer {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 0;
  }

  .footer-style-2 .footer-logo {
    order: 0;
    padding-bottom: 0;
    width: auto;
  }

  .footer-style-2 #block-knomad-footer-menu {
    order: 1;
    margin-bottom: 0;
    width: 500px;
    padding: 0 25px;
    border-left: 1px solid #606060;
    border-right: 1px solid #606060;
    margin: 0 25px;
  }

  .footer-style-2 #block-knomad-footer-menu ul {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px 30px;
  }

  .footer-style-2 .navbar-nav>li {
    float: left;
    border-bottom: 1px solid #606060;
    padding-bottom: 10px;
    margin-right: 0;
  }

  .footer-style-2 .menu--footer-menu li a {
    line-height: 18px;
    font-size: 12px;
  }

  .footer-style-2 .footer-social-media-block {
    order: 2;
    padding-bottom: 0;
    width: auto;
  }

}

@media only screen and (min-width: 1200px) {
  .footer-style-2 #block-knomad-footer-menu {
    padding: 0 50px;
    margin: 0 50px;
    width: 600px;
  }

  .footer-style-2 .menu--footer-menu li a {
    font-size: 13px;
  }
}

@media only screen and (min-width: 992px) {
  .footer-style-2 .menu--footer-menu li a.active:hover {
    color: var(--orange);
  }
}
