/* Styles for the contact page (formerly the Angular component stylesheet contact.component.css). */
#content {
  background: #fff2eb;
  padding: 2em 0;
  padding-bottom: 8em;
}

header {
  background: #fff2eb;
}

#nav {
  background: #fff2eb;
}

#contact {
  background: white;
  max-width: 800px;
  border-radius: 20px;
  padding: 5em 4em;
  margin: -15em auto 5em auto;
}

@media only screen and (max-width: 1024px) {
  #contact {
    margin: -20em auto 5em auto;
  }
}

#contact h1 {
  margin: 0em 0 0.4em 0;
  text-align: center;
}

#contact p {
  font-family: Titling Gothic FB Normal;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2em;
  line-height: 1.5;
}

#contact .form-grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-gap: 1.5em;
}

#contact .form-grid-col-full {
  grid-column: span 2;
}

@media only screen and (max-width: 800px) {
  #contact .form-grid-container {
    grid-template-columns: 1fr;
  }

  #contact .form-grid-col-full {
    grid-column: span 1;
  }
}

#contact .select-container {
  border-radius: 20px;
  display: inline-block;
  overflow: hidden;
  background: none;
  border: 2px solid #FF7000;
  padding: 0 10px;
}

#contact .form-grid-container input, #contact .form-grid-container textarea, #contact .form-grid-container select {
  padding: 15px 20px;
  color: black;
  border-radius: 20px;
  width: 100%;
  border: 2px solid #FF7000;
  font-size: 18px;
}

#contact .select-container select {
  border: 0px;
  outline: none;
  height: 50px;
  border: none;
}

.error
{
    margin: 20px 0 0 0 !important;
    font-size: 12px;
    color: #FA6D26;
    font-family: 'Titling Gothic FB Normal';
}

.actions
{
	padding: 17px 0 18px;
}

#contact, .right-contact
{
    height: 100%;
}

.hubSpotForm {
  height: 100%;
  position: relative;

  /*-webkit-overflow-scrolling: touch;
  overflow-y: scroll;*/
}

.hubSpotForm iframe {
   max-height: 100% !important;
}

#contact .row .right-contact .submit button {
    font-family: Titling Gothic FB Normal;
    float: right;
    margin-top: 2rem;
    padding: .7em 5em;
    background: #ff7000;
    color: #fff;
    font-size: 19px;
    border-radius: 25px;
    transition: all .5s;
    border: 2px solid transparent;
}

#contact .row .right-contact .submit button:disabled {
    background: #fb884f;
}

#contact .hubSpotForm .submit {
  display: grid;
}

#contact .hubSpotForm .submit button,
#contact .hubSpotForm .submit a {
  font-family: Titling Gothic FB Normal;
  text-decoration: none;
  border-radius: 48px;
  background: #fa6d26;
  border: none;
  color: #fff;
  padding: 16px 52px;
  margin-top: 19px;
  transition: all .5s;
  font-size: 17px;
  margin: 1em auto;
}

#contact .hubSpotForm .submit button:hover,
#contact .hubSpotForm .submit a:hover {
  background: #fec109;
}

footer #footer #footer-info .content-info .left-footer-info {
  width: 150px;
}

#footer .middle-footer-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(50px, 1fr) ) ;
  color: white;
  font-family: Titling Gothic FB Normal;
  font-size: 14px;
}

#footer .middle-footer-info .middle-footer-col {
  padding: 10px 10px 0 10px;
}

#footer .middle-footer-info .middle-footer-title {
  font-weight: 600;
  margin-bottom: 20px;
}

#footer .middle-footer-info .middle-footer-nav {
  padding: 5px 0;
  cursor: pointer;
}

@media only screen and (max-width: 1025px) {
  #footer .middle-footer-info {
    grid-template-columns: repeat(2, minmax(50px, 1fr) ) ;
    grid-gap: 20px;
  }

  footer #footer #footer-info .content-info .left-footer-info{
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 600px) {
  #footer .middle-footer-info {
    text-align: center;
  }

  footer #footer #footer-info .content-info .left-footer-info{
    margin: auto;
  }
}

footer #footer #footer-contact .content-contact .social a {
  padding-left: 1em;
}

footer #footer #footer-info .content-info {
  width: 90%;
}

footer #footer #footer-info .content-info .right-footer-info {
    width: 30%;
}

@media only screen and (max-width: 1680px) {
footer #footer #footer-info .content-info .right-footer-info {
    width: 30%;
}
}

@media only screen and (max-width: 1440px) and (max-width: 1680px) and (min-width: 320px) {
  footer #footer #footer-info .content-info .right-footer-info {
      width: 33.5%;
  }
}

@media only screen and (max-width: 1300px) and (max-width: 1440px) and (max-width: 1680px) and (min-width: 320px){
  footer #footer #footer-info .content-info .right-footer-info {
      width: 39.5%;
  }
}

@media only screen and (max-width: 1024px) {
footer #footer .own-a-business .own-a-business-right {
  margin-top: -9.5em;
}
}

@media only screen and (max-width: 800px) {
footer #footer .own-a-business .own-a-business-right {
  margin-top: 1em;;
}
}

.quick-links {
  padding:5px 0;
  font-family: Titling Gothic FB Normal;
  font-size: 12px;
  margin: auto 0;
}

.tickbox {
  width: 100%;
  text-align: right;
  margin-top: 1em;
}

/* Custom checkbox */

.lb-checked {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media only screen and (max-width: 990px) {
  .lb-checked {
    flex-direction: column-reverse;
    text-align: center;
  }

  .lb-checked .txt {
    margin: .4rem 0 0;
  }
}

/* Hide the browser's default checkbox */

.lb-checked input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */

.checkmark {
  height: 26px;
  width: 26px;
  border-radius: 3px;
  background-color: transparent;
  border: solid 1px #fff;
}

.lb-checked .txt {
  margin-left: .4rem;
  font-family: 'Titling Gothic FB Normal';
  color: #fff;
  font-weight: normal;
  font-size: 14px;
}

/* On mouse-over, add a border */

.lb-checked:hover input ~ .checkmark {
  box-shadow: inset 0 0 0 transparent, 0 0 0 0.1rem #fff;
}

/* When the checkbox is checked, add a blue background */

.lb-checked input:checked ~ .checkmark {
  /* background-color: #006577; */
  border: solid 2px #fff;
  background-image: url(/assets/img/check.png);
  background-size: 16px;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */

.lb-checked input:checked ~ .checkmark:after {
  display: none;
}

/* Style the checkmark/indicator */

.lb-checked .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* END Custom checkbox */

/* Email button (replaces the old form's Submit button): fit narrow screens. */
#contact .hubSpotForm .submit a {
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

@media only screen and (max-width: 600px) {
  #contact .hubSpotForm .submit a {
    padding: 14px 16px;
    overflow-wrap: anywhere;
  }
}
