/* Shared Submit Enquiry card used on portfolio, category and home pages. */
#submit-enquiry {
  width: 100%;
  padding: 28px 20px !important;
  overflow: visible !important;
  background: #fff;
}

#submit-enquiry>.container {
  width: 100%;
  max-width: 1500px;
  padding: 0 !important;
  margin: 0 auto;
}

#submit-enquiry .footer-form {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 24px 48px 22px !important;
  overflow: visible !important;
  flex-direction: column;
  justify-content: center;
  border-radius: 17px;
  isolation: isolate;
  background-color: #062e68 !important;
  background-image:
    linear-gradient(rgba(4, 39, 91, .72), rgba(4, 39, 91, .82)),
    url("../images/bg/map-bg.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover, 86% auto !important;
  box-shadow: 0 14px 35px rgba(2, 45, 98, .16);
  box-sizing: border-box;
}

/* Decorative flight path and envelope used in the supplied reference. */
#submit-enquiry .footer-form::before {
  position: absolute;
  top: 52px;
  left: 5px;
  z-index: 0;
  width: 112px;
  height: 118px;
  border: 0;
  border-radius: 0;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 145 150'%3E%3Cpath d='M16 140 C9 100 31 87 42 105 C55 127 3 124 14 83 C22 55 51 39 83 29' fill='none' stroke='%23fff' stroke-opacity='.75' stroke-width='1.7' stroke-dasharray='6 6'/%3E%3Cpath d='M117 5 L70 28 L88 35 L96 57 Z' fill='%23fff' fill-opacity='.95'/%3E%3Cpath d='M88 35 L117 5 L96 57 L95 39 Z' fill='%23cfe0ff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

#submit-enquiry .footer-form::after {
  position: absolute;
  right: 32px;
  bottom: 22px;
  z-index: 0;
  width: 42px;
  height: 34px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 38'%3E%3Cg transform='rotate(-10 24 19)' fill='none' stroke='%23d0dfff' stroke-opacity='.82' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='42' height='28' rx='3'/%3E%3Cpath d='M5 8 L24 22 L43 8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

#submit-enquiry .footer-form h4 {
  position: relative;
  z-index: 2;
  margin: 0 0 20px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

#submit-enquiry .footer-form h4::before {
  display: none;
  content: none;
}

#submit-enquiry .footer-form h4::after {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
  content: "Fill out the form below and our team will get back to you as soon as possible.";
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

#submit-enquiry .footer-form form {
  position: relative;
  z-index: 2;
  display: block !important;
  overflow: visible !important;
}

/* Disable older page-specific decorations so only one clean icon set appears. */
#submit-enquiry .footer-form form::before,
#submit-enquiry .footer-form form::after {
  display: none !important;
  content: none !important;
}

#submit-enquiry .footer-form form>.row:first-child {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-right: -9px;
  margin-bottom: 7px;
  margin-left: -9px;
}

#submit-enquiry .footer-form form>.row:first-child .form-group {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-right: 9px;
  padding-left: 9px;
}

#submit-enquiry .footer-form form>.row:first-child .form-group::before {
  position: absolute;
  top: 15px;
  left: 31px;
  z-index: 3;
  color: #3977ee;
  font-family: "Font Awesome 5 Free";
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

#submit-enquiry .footer-form form>.row:first-child .form-group:nth-child(1)::before {
  content: "\f007";
}

#submit-enquiry .footer-form form>.row:first-child .form-group:nth-child(2)::before {
  content: "\f0e0";
}

#submit-enquiry .footer-form form>.row:first-child .form-group:nth-child(3)::before {
  content: "\f095";
}

#submit-enquiry .footer-form form>.row:first-child .form-group:nth-child(4)::before {
  content: "\f00a";
}

#submit-enquiry .footer-form .form-control {
  width: 100%;
  height: 50px;
  padding: 0 22px 0 58px;
  border: 1px solid #e6edf7;
  border-radius: 9px;
  color: #475569;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 19, 53, .16);
  box-sizing: border-box;
  font-size: 14px;
}

#submit-enquiry .footer-form .form-control::placeholder {
  color: #65728a;
  opacity: 1;
}

#submit-enquiry .footer-form select.form-control {
  padding-right: 42px;
}

#submit-enquiry .footer-form input[type="tel"] {
  width: 100% !important;
}

#submit-enquiry .footer-form form>.row.justify-content-center {
  position: relative;
  z-index: 5;
  display: flex !important;
  min-height: 52px;
  margin-top: 2px;
  visibility: visible !important;
  opacity: 1 !important;
}

#submit-enquiry .footer-form .row.justify-content-center .form-group.col-lg-3 {
  display: block !important;
  flex: 0 0 280px;
  max-width: 280px;
  padding-right: 9px;
  padding-left: 9px;
  visibility: visible !important;
  opacity: 1 !important;
}

#submit-enquiry .footer-form button.btn {
  position: relative;
  z-index: 6;
  display: block !important;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 9px;
  color: #fff !important;
  background: linear-gradient(100deg, #ff2538, #ff4350) !important;
  box-shadow: 0 10px 22px rgba(255, 37, 56, .28);
  font-size: 15px;
  font-weight: 800;
  visibility: visible !important;
  opacity: 1 !important;
}

#submit-enquiry .footer-form button.btn::after {
  margin-left: 25px;
  content: "\f1d8";
  font-family: "Font Awesome 5 Free";
  font-size: 20px;
  font-weight: 900;
}

#submit-enquiry .footer-form button.btn:hover {
  color: #fff !important;
  background: linear-gradient(100deg, #e91f31, #f43645) !important;
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  #submit-enquiry {
    padding: 24px 18px !important;
  }

  #submit-enquiry .footer-form {
    padding: 26px 28px 22px !important;
  }

  #submit-enquiry .footer-form form>.row:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #submit-enquiry .footer-form::before {
    opacity: .55;
  }
}

@media (max-width: 575.98px) {
  #submit-enquiry {
    padding: 18px 12px !important;
  }

  #submit-enquiry .footer-form {
    padding: 22px 16px 16px !important;
    border-radius: 14px;
  }

  #submit-enquiry .footer-form h4 {
    margin-bottom: 18px;
    font-size: 22px;
  }

  #submit-enquiry .footer-form h4::after {
    margin-top: 8px;
    font-size: 12px;
  }

  #submit-enquiry .footer-form form>.row:first-child {
    grid-template-columns: 1fr;
  }

  #submit-enquiry .footer-form .form-control {
    height: 50px;
    padding-left: 50px;
  }

  #submit-enquiry .footer-form form>.row:first-child .form-group::before {
    top: 15px;
    left: 27px;
    font-size: 18px;
  }

  #submit-enquiry .footer-form .row.justify-content-center .form-group.col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #submit-enquiry .footer-form button.btn {
    min-height: 58px;
  }

  #submit-enquiry .footer-form::before,
  #submit-enquiry .footer-form::after {
    display: none;
  }
}

/* Footer strip below the enquiry card. */
.site-footer {
  position: relative;
  z-index: 2;
  margin: 0;
  border: 0;
  background: #042d67 !important;
}

.site-footer::before {
  display: none !important;
}

.site-footer .footer-bottom {
  margin: 0 !important;
  padding: 15px 15px !important;
  color: rgba(255, 255, 255, .88);
  background: #042d67;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .footer-bottom a {
  color: #28a8ff;
  font-weight: 600;
}

.site-footer .footer-bottom a:hover {
  color: #fff;
}

#back-to-top.back-to-top {
  right: 28px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  color: #fff;
  background: #0869ef;
  box-shadow: 0 8px 22px rgba(0, 41, 104, .32);
  font-size: 0;
  line-height: 54px;
}

#back-to-top.back-to-top::before,
#back-to-top.back-to-top::after {
  transform: translateY(0) rotateZ(45deg);
}

#back-to-top.back-to-top::before {
  margin-top: -6px;
  transform: translateY(0);
}

#back-to-top.back-to-top::after {
  margin-top: -9px;
  transform: translateY(0) rotateZ(45deg);
}

#back-to-top.back-to-top:hover {
  background: #005bd8;
}

@media (max-width: 575.98px) {
  .site-footer .footer-bottom {
    padding: 20px 70px 20px 15px !important;
  }

  .site-footer .footer-bottom p {
    font-size: 12px;
  }

  #back-to-top.back-to-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }
}