.work-permit-page .container{
  width: 1100px;
  max-width: 100%;
}
.work-permit-page h2{
  font-size: 20px;
  font-weight: bold;
  color: #3b404d;
  margin: 0 0 25px 0;
}

/* Title */
.work-permit-page .title-section{
  padding: 45px 0;
}
.work-permit-page .title-section h1{
  font-size: 32px;
  line-height: 1.3em;
}

/* Hero (line/arrow as on the Mortgage pages) */
.wph-hero-section{
  background: url('../images/page-work-permit/hero-banner.jpg') no-repeat #303334;
  background-size: cover;
  background-position: 100% 50%;
  border-bottom: 5px solid #0d78ba;
  position: relative;
  padding: 110px 0 90px 0;
}
.wph-hero-section:before{
  position: absolute;
  bottom: -23px;
  left: 50%;
  margin-left: -23px;
  height: 18px;
  width: 47px;
  content: ' ';
  background: url('../images/page-contact/tooltip.png') no-repeat transparent;
}
.wph-hero-section .hero-content p{
  color: #fff;
  font-size: 24px;
  line-height: 1.3em;
  margin: 0 0 40px 0;
}

/* Buttons (same shape as the site's existing buttons) */
.work-permit-page .wph-btn{
  padding: 0 43px;
  background: #ea5350;
  height: 50px;
  line-height: 50px;
  border: 0;
  border-radius: 0 22px;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  color: #fff;
  letter-spacing: 1px;
  transition: 200ms;
  outline: none;
}
.work-permit-page .wph-btn:hover{
  background: #d14542;
  border-radius: 22px 0;
}
.work-permit-page .wph-btn-blue{
  background: #039edb;
}
.work-permit-page .wph-btn-blue:hover{
  background: #0d78ba;
}

/* The Opportunity */
.wph-opportunity-section{
  background: #fff;
  padding: 75px 0;
}
.wph-opportunity-section p{
  font-size: 16px;
  line-height: 1.4em;
  color: #343738;
  margin: 0 0 12px 0;
}
.wph-opportunity-section .wph-btn{
  margin-top: 30px;
}

/* Why It Works */
.wph-why-section{
  background: #f0f0f0;
  padding: 75px 0 70px 0;
}
.wph-why-section .wph-card{
  background: #fff;
  border-radius: 0 22px;
  padding: 30px 30px 35px 30px;
  margin-bottom: 20px;
  min-height: 250px;
}
.wph-why-section .wph-card h3{
  color: #0793d1;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3em;
  margin: 0 0 30px 0;
  position: relative;
}
.wph-why-section .wph-card h3:after{
  content: ' ';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 50px;
  height: 3px;
  background: #0793d1;
}
.wph-why-section .wph-card p{
  font-size: 16px;
  line-height: 1.4em;
  color: #343738;
  margin: 0;
}

/* How It Works (timeline; each step its own blue) */
.wph-how-section{
  background: #fff;
  padding: 75px 0 65px 0;
}
.wph-how-section .wph-steps{
  margin-left: 0;
  margin-right: 0;
}
.wph-how-section .wph-step{
  padding: 0;
  margin-bottom: 20px;
}
.wph-how-section .step-title{
  padding: 0 0 12px 0;
  margin-bottom: 20px;
  border-bottom: 3px solid #127aba;
}
.wph-how-section .step-title img{
  width: 36px;
  height: 36px;
  vertical-align: middle;
  margin-right: 12px;
}
.wph-how-section .step-title h3{
  display: inline-block;
  vertical-align: middle;
  font-size: 18px;
  font-weight: bold;
  color: #3b404d;
  margin: 0;
}
.wph-how-section .wph-step p{
  font-size: 16px;
  line-height: 1.4em;
  color: #343738;
  margin: 0;
  padding-right: 25px;
}
.wph-how-section .wph-step-2 .step-title{
  border-color: #0598d5;
}
.wph-how-section .wph-step-3 .step-title{
  border-color: #5cbff3;
}

/* Ready to find out (built like the "Need help with your mortgage?" banner) */
.work-permit-page .wph-banner-section{
  background-color: #303334;
  background-image: url('../images/page-work-permit/banner-overlay.jpg');
  background-size: auto 100%;
}
.work-permit-page .wph-banner-section h2{
  font-size: 26px;
  margin: 0 0 15px 0;
}
.work-permit-page .wph-banner-section .banner-content p{
  font-size: 20px;
  max-width: 440px;
}
.work-permit-page .wph-banner-section .btn{
  border: 0;
  outline: none;
}

/* Testimonials (white background) */
.work-permit-page .testi-section{
  margin-bottom: 0;
  background: #fff;
}

/* Work permit enquiry pop-up (forms/work-permit-modal.blade.php).
   Selectors are prefixed with ".modal.wph-modal .modal-content" so they win
   over the theme's global ".modal" rules in main.css (830px width, padding,
   orange submit button, close icon outside the box, etc.) */
.modal-backdrop.in{
  opacity: .7;
}
.modal.wph-modal .modal-dialog{
  width: 600px !important;
  max-width: 94%;
  margin: 60px auto;
}
.modal.wph-modal .modal-content{
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.modal.wph-modal .modal-content .close{
  top: 12px;
  right: 12px;
  z-index: 2;
  opacity: 1;
}
.modal.wph-modal .modal-content .close:hover{
  opacity: .8;
}
.modal.wph-modal .modal-content .close span{
  display: none;
}
.modal.wph-modal .modal-content .work-permit-form{
  padding: 45px 60px 40px 60px;
  background: url('../images/page-generic/form-bg.jpg') no-repeat #078ecd;
  background-size: cover;
}
.modal.wph-modal .modal-content .work-permit-form h3{
  text-align: center;
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px 0;
  padding: 0 20px;
}
.modal.wph-modal .modal-content .work-permit-form .intro-txt{
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4em;
  color: #fff;
  margin: 0 0 30px 0;
}
.modal.wph-modal .modal-content .work-permit-form textarea,
.modal.wph-modal .modal-content .work-permit-form input[type="text"]{
  width: 100%;
  margin-bottom: 12px;
  height: 50px;
  line-height: 1em;
  padding: 0 18px;
  border: 1px solid #d7d7d7;
  color: #6b6b6b;
  font-size: 15px;
  outline: transparent;
}
.modal.wph-modal .modal-content .work-permit-form textarea{
  height: 130px;
  line-height: 1.4em;
  padding-top: 15px;
  resize: vertical;
}
.modal.wph-modal .modal-content .work-permit-form .error-feild{
  border-color: #ea5350;
}
.modal.wph-modal .modal-content .work-permit-form .select2-group{
  margin-bottom: 12px;
}
.modal.wph-modal .modal-content .work-permit-form .select2-container{
  width: 100% !important;
  margin-bottom: 0;
}
.modal.wph-modal .modal-content .work-permit-form .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 50px;
  padding-left: 18px;
  font-size: 15px;
}
.modal.wph-modal .modal-content .work-permit-form .select2-container--default .select2-selection--single .select2-selection__arrow,
.modal.wph-modal .modal-content .work-permit-form .select2-container--default .select2-selection--single{
  min-height: 50px;
}
.modal.wph-modal .modal-content .work-permit-form .select2-container--default .select2-selection--single .select2-selection__arrow b{
  height: 50px;
}
.modal.wph-modal .modal-content .work-permit-form .captcha-consent{
  margin: 6px 0 25px 0;
}
.modal.wph-modal .modal-content .work-permit-form .g-recaptcha{
  float: left;
  width: 304px;
  overflow: hidden;
}
.modal.wph-modal .modal-content .work-permit-form .consent-txt{
  margin: 0 0 0 318px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  text-align: left;
  line-height: 1.3em;
}
.modal.wph-modal .modal-content .work-permit-form .consent-txt a{
  color: #fff;
  text-decoration: underline;
}
.modal.wph-modal .modal-content .work-permit-form .alert{
  margin-bottom: 15px;
}
.modal.wph-modal .modal-content .work-permit-form .submit-btn{
  background: #ea5350;
  height: 50px;
  line-height: 50px;
  width: 200px;
  min-width: 0;
  max-width: 100%;
  border-radius: 0 23px;
  text-align: center;
  transition: 200ms;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 0;
  border: 0;
  color: #fff;
}
.modal.wph-modal .modal-content .work-permit-form .submit-btn:hover{
  background: #d43c39;
  border-radius: 23px 0;
}
.select2-container--open{
  z-index: 1060;
}

@media (max-width: 599px) {
  .modal.wph-modal .modal-dialog{
    margin: 20px auto;
  }
  .modal.wph-modal .modal-content .work-permit-form{
    padding: 45px 20px 30px 20px;
  }
  .modal.wph-modal .modal-content .work-permit-form .g-recaptcha{
    float: none;
    margin-bottom: 12px;
  }
  .modal.wph-modal .modal-content .work-permit-form .consent-txt{
    margin: 0;
  }
}

@media (max-width: 767px) {
  .work-permit-page .title-section h1{
    font-size: 24px;
  }
  .wph-hero-section{
    padding: 60px 0;
    background-position: 70% 50%;
  }
  .wph-hero-section .hero-content p{
    font-size: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  }
  .wph-opportunity-section,
  .wph-why-section,
  .wph-how-section{
    padding: 50px 0;
  }
  .wph-why-section .wph-card{
    min-height: 0;
  }
  .wph-how-section .wph-step{
    margin-bottom: 30px;
  }
  .work-permit-page .wph-banner-section h2{
    font-size: 22px;
  }
  .work-permit-page .wph-banner-section .banner-content p{
    font-size: 17px;
  }
}