/* Footer Links Section */
.footer-links {
  display: flex;
  justify-content: space-between;
  padding: 2em 0.5em 1em 0.5em;
}

.footer-links__heading {
  font-size: 1.1em;
  font-weight: 400;
}

.footer-links__col {
  margin: 0;
  padding: 0 0.5em;
  width: calc(100% / 4);
}

.footer-links a {
  font-size: 0.8em;
  font-weight: 400;
  color: #A3C739;
}


/* Let Your Property Section */
.footer-lyp {
  padding: 1em;
  text-align: center;
}

.footer-lyp a {
  font-size: 0.8em;
  font-weight: 400;
  color: #A3C739;
}

/* Footer Social */
.footer-social {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  padding: 1em;
}

.footer-social__col {
  width: 100%;
}

.footer-social__col--left {
  width: 75%;
}

.footer-social__col--right {
  width: 35%;
}

/* Footer Social Links */
.footer-social-links {
  align-items: flex-end;
  display: flex;
  margin: 0;
}

.footer-social-links__item:nth-child(n + 2) {
  margin-left: 1.5em;
}

.footer-social-links__heading {
  color: #fff;
  line-height: 1em;
  margin: 0;
}

.footer-social-links__item a {
  display: block;
  font-size: 0;
}

.footer-social-links__icon {
  fill: #fff;
  height: 31px;
}

/* Footer Email Signup Form */
.footer-signup {
  display: flex;
  flex-wrap: wrap;
}

.footer-signup__label {
  color: #fff;
  font-size: 0.8em;
  text-align: center;
  width: 100%;
}

input.footer-signup__input {
  flex: 1;
  margin: 0;
  height: 32px;
}

.footer-signup__button {
  background-color: #6BA643;
  border: 1px solid #6BA643;
  border-radius: 3px;
  flex: 0 0 auto;
  font-size: 0.8em;
  margin: 0 0 0 0.5em;
  min-height: 100%;
  padding: 0;
  padding: 3px 14px;
}

.footer-signup__button:hover, .footer-signup__button:focus {
  background-color: transparent;
  border: 1px solid #fff;
}

/* Signup Frame Modal */
.signUpFrameContainer {
  min-height: 550px;
  overflow: hidden;
  position: relative;
}
  
.signUpFrameContainer iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 150px;
  width: 100%;
}

#footer-frame {
  border: none;
}

.signUpTitle {
  color: #6d6d6d;
  padding-bottom: 10px;
}

#displayBeforeSignup {
  text-align: center;
}

#displayAfterSignup {
  text-align: center;
  margin-top: 70px;
}

#displayAfterSignup img {
  width: 80px;
}

#displayAfterSignup h3 {
  color: #506e8b;
  font-size: 32px;
  margin: 20px 0 5px 0;
}

#displayAfterSignup p {
  color: #adc06a;
  line-height: 1.4;
  font-size: 20px;
}

#emailSubscribe {
  left: 0;
  margin: 0 auto;
  position: fixed;
  right: 0;
  top: 10% !important;
	width: 30%;
}

/* Footer ABTA */
.footer-abta {
  border-top: solid 1px #666;
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
}

.footer-abta__title {
  width: 75%;
  text-align: center;
  color: #fff;
}

.footer-abta__link {
  display: block;
  flex: 0 0 auto;
  margin-right: 1em;
}

.footer-abta__logo {
  height: 60px;
}

.footer-abta__info {
  flex: 1;
}


/* Footer Opening Hours & Phone Number */
.footer-hours {
  border-top: solid 1px #666;
  padding: 1em 1em 0.5em 1em;
}

.footer-hours__number {
  font-size: 1.7em;
  text-align: center;
  text-decoration: none;
}

.footer-hours__number a {
  color: #fff;
  font-weight: 400;
}

.footer-hours__number a:hover {
  text-decoration: none;
}

.footer-hours__opentimes {
  font-size: 0.8em;
  margin: 0;
  text-align: center;
}

/* Footer Cottages For You (C4U) Message */
.footer-c4u p {
  font-size:0.7em;
  margin:0;
  padding: 0.5em 1em;
  text-align: center;
}


/* Footer Logos */
.footer-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5em 1em;
}

.footer-logos__item:nth-child(n + 2) {
  margin-left: 1em;
}

.footer-logos__item a {
  display: block;
  font-size: 0;
}

.footer-logos__icon {
  fill: #fff;
  height: 31px;
}


/* Footer Trading Info */
.footer-tradinginfo {
  padding: 0.5em 1em 2em 0.5em;
}

.footer-tradinginfo p {
  font-size:0.7em;
  margin:0;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .footer-links, .footer-lyp, .footer-hours, .footer-c4u, .footer-tradinginfo {
    display: none;
  }

  .footer-social {
    padding: 1em;
  }

  .footer-social__col--left {
    display: none;
  }

  .footer-social__col--right {
    width: 100%;
  }

  .footer-signup__label {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 1em;
  }

  input.footer-signup__input {
    flex: 1 0 auto;
    margin-bottom: 0.5em;
    text-align: center;
  }

  .footer-signup__button {
    flex: 1 0 auto;
    margin: 0;
  }

  .footer-abta {
    border: none;
    padding: 1em;
    text-align: center;
  }

  .footer-abta__title {
    display: none;
  }
  
  .footer-abta__link {
    flex: 1 0 auto;
    margin: 0 0 1em 0;
    width: 100%;
  }


  .footer-logos__item--modernslavery, .footer-logos__item--greenscheme {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
	#emailSubscribe {
		width: 50%;
	}
}

@media only screen and (max-width: 768px) {
	#emailSubscribe {
		width: 70%;
	}
}

@media only screen and (max-width: 500px) {
	#emailSubscribe {
		top: 0 !important;
		width: 100%;
	}
}