/* JobFairCanada homepage refresh
   Add this file at /new_design/css/jfc-home-redesign.css.
   All PHP, database queries, form fields, and existing links remain unchanged. */

:root {
  --jfc-ink: #14243b;
  --jfc-muted: #64748b;
  --jfc-blue: #1769e0;
  --jfc-blue-dark: #1054bb;
  --jfc-teal: #18a89a;
  --jfc-line: #e4eaf1;
  --jfc-surface: #f4f7fb;
  --jfc-white: #fff;
  --jfc-radius: 16px;
  --jfc-shadow: 0 14px 38px rgba(19, 42, 73, .09);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--jfc-ink);
  background: var(--jfc-white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body a {
  color: var(--jfc-blue);
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body a:hover,
body a:focus {
  color: var(--jfc-blue-dark);
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
}

/* Header and navigation */
.header-wrap {
  position: relative;
  z-index: 20;
  margin-bottom: 0;
  background: #fff;
  border-bottom: 1px solid rgba(226, 232, 240, .85);
  box-shadow: 0 4px 18px rgba(20, 36, 59, .035);
}

.header-wrap > .container {
  padding-top: 15px;
  padding-bottom: 15px;
}

.header-wrap .container > .row {
  display: flex;
  align-items: center;
  margin: 0 -12px;
}

.header-wrap .container > .row > div {
  float: none;
  padding-right: 12px;
  padding-left: 12px;
}

.header-wrap .container > .row > div:first-child {
  width: 24%;
}

.header-wrap .container > .row > div:nth-child(2) {
  width: 39%;
}

.header-wrap .container > .row > div:last-child {
  width: 37%;
}

.header-wrap .logo {
  margin: 0;
  padding-top: 0;
}

.header-wrap .logo br {
  display: none;
}

.header-wrap .logo img {
  display: block;
  width: auto;
  max-width: 205px;
  max-height: 68px;
  object-fit: contain;
}

.header-wrap .navbar-toggle {
  display: none;
  position: static;
  top: auto;
  right: auto;
  border-color: #dce5f0;
  border-radius: 9px;
  background: #f5f7fa;
}

.header-wrap .navbar-toggle .icon-bar {
  background: var(--jfc-ink);
}

.header-wrap .navigationwrape,
.header-wrap .navbar,
.header-wrap .navbar-default {
  min-height: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.header-wrap .navbar-header,
.header-wrap .navbar > .clearfix {
  display: none;
}

.header-wrap .navbar-collapse {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.header-wrap .navbar-nav {
  display: flex;
  float: none;
  justify-content: center;
  gap: 2px;
  margin: 0;
}

.header-wrap .navbar-nav > li > a {
  padding: 11px 12px;
  border-radius: 9px;
  color: #46566d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.header-wrap .navbar-nav > li > a:hover,
.header-wrap .navbar-nav > li > a:focus {
  color: var(--jfc-blue);
  background: #f0f6ff;
}

.header-wrap .header-right {
  padding: 0;
  background: transparent;
  text-align: right;
}

.header-wrap .post-btn {
  display: inline-block;
  float: none;
  margin: 0;
  vertical-align: middle;
}

.header-wrap .post-btn a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 10px;
  color: #fff;
  background: var(--jfc-blue);
  box-shadow: 0 7px 15px rgba(23, 105, 224, .2);
  font-size: 13px;
  font-weight: 700;
}

.header-wrap .post-btn a:hover {
  color: #fff;
  background: var(--jfc-blue-dark);
  transform: translateY(-1px);
}

.header-wrap .user-wrap {
  display: inline-flex;
  float: none;
  width: auto;
  align-items: center;
  gap: 13px;
  margin: 0 0 0 9px;
  text-align: left;
  vertical-align: middle;
}

.header-wrap .login-btn,
.header-wrap .register-btn {
  display: inline-flex;
  float: none;
  width: auto;
  align-items: center;
}

.header-wrap .login-btn:before,
.header-wrap .register-btn:before {
  display: none;
}

.header-wrap .login-btn a,
.header-wrap .register-btn a {
  color: #41516a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.header-wrap .register-btn a {
  color: var(--jfc-blue);
}

.header-wrap .login-btn a:hover,
.header-wrap .register-btn a:hover {
  color: var(--jfc-teal);
}

.header-wrap .clb {
  display: none;
}

.header-wrap .header-right > .clearfix {
  clear: both;
  padding-top: 7px;
  color: var(--jfc-muted);
  font-size: 11px;
  line-height: 1.4;
}

.header-wrap .header-right > .clearfix p {
  float: none !important;
  margin: 0;
  color: #718198 !important;
  font-size: 11px !important;
}

/* Search hero */
.slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 79px 0 62px;
  color: #fff;
  background:
    radial-gradient(ellipse at 86% 18%, rgba(54, 193, 183, .24) 0, rgba(54, 193, 183, 0) 34%),
    radial-gradient(ellipse at 6% 94%, rgba(82, 153, 255, .25) 0, rgba(82, 153, 255, 0) 35%),
    linear-gradient(118deg, #11294a 0%, #153b69 54%, #135b79 100%);
}

.slider-wrap:before,
.slider-wrap:after {
  position: absolute;
  z-index: 0;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.slider-wrap:before {
  top: -205px;
  right: 12%;
  box-shadow: 0 0 0 32px rgba(255, 255, 255, .025), 0 0 0 66px rgba(255, 255, 255, .02);
}

.slider-wrap:after {
  right: -170px;
  bottom: -245px;
  width: 430px;
  height: 430px;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 70px rgba(255, 255, 255, .02);
}

.slider-wrap > .container {
  position: relative;
  z-index: 1;
}

.sliderTxt {
  max-width: 990px;
  margin: 0 auto;
  text-align: center;
}

.sliderTxt > p {
  margin: 0 0 13px;
  color: #a9d9e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sliderTxt .mainSearchText {
  max-width: 850px;
  margin: 0 auto 33px;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 49px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.16;
}

.sliderTxt .form-wrap {
  max-width: 1030px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(5, 20, 41, .24);
}

.sliderTxt .form-wrap form .row {
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr auto;
  gap: 10px;
  margin: 0;
}

.sliderTxt .form-wrap form .row:before,
.sliderTxt .form-wrap form .row:after {
  display: none;
}

.sliderTxt .form-wrap form .row > div {
  float: none;
  width: auto;
  padding: 0;
}

.sliderTxt .input-group {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

.sliderTxt .form-control,
.sliderTxt select.dropdown,
.sliderTxt select.form-control {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px !important;
  outline: 0;
  color: #263a55;
  background-color: #f5f7fa;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
}

.sliderTxt .form-control:focus,
.sliderTxt select.dropdown:focus,
.sliderTxt select.form-control:focus {
  border-color: #9ac3fb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .1);
}

.sliderTxt select.dropdown,
.sliderTxt select.form-control {
  cursor: pointer;
}

.sliderTxt .input-btn,
.sliderTxt .input-btn input {
  height: 54px;
}

.sliderTxt .sbutn {
  min-width: 132px;
  padding: 0 24px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--jfc-teal);
  box-shadow: 0 7px 16px rgba(24, 168, 154, .22);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .2s ease, transform .2s ease;
}

.sliderTxt .sbutn:hover,
.sliderTxt .sbutn:focus {
  background: #128d83;
  transform: translateY(-1px);
}

.slider-wrap > .container > p.mainSearchText {
  float: none !important;
  width: fit-content;
  margin: 19px 0 0 auto;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #e2f3fa;
  background: rgba(255, 255, 255, .09);
  font-size: 13px !important;
  font-weight: 600;
}

/* Browse categories */
.browse-wrap {
  padding: 70px 0 61px;
  background: var(--jfc-surface);
}

.heading-title {
  margin: 0 0 29px;
  color: var(--jfc-ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.25;
  text-align: center;
}

.browse-wrap .heading-title:after,
.works-wrap .heading-title:after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 13px auto 0;
  border-radius: 5px;
  background: var(--jfc-teal);
  content: "";
}

.browse-wrap ul.row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.browse-wrap ul.row:before,
.browse-wrap ul.row:after {
  display: none;
}

.browse-wrap ul.row > li {
  float: none;
  width: auto;
  margin-top: 0;
  padding: 0;
}

.jobsWrp {
  height: 100%;
  padding: 17px 18px;
  border: 1px solid #e7edf4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(24, 43, 69, .035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jobsWrp:hover {
  transform: translateY(-3px);
  border-color: #bdd7fa;
  box-shadow: 0 12px 24px rgba(24, 71, 128, .09);
}

.jobsWrp:hover:before,
.jobsWrp:hover:after {
  content: none;
}

.browse-wrap .jobTitle {
  margin: 0;
  text-align: left;
}

.jobTitle,
.jobTitle a {
  color: #263a55;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.jobTitle a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.jobTitle a:after {
  flex: 0 0 auto;
  color: #8aa1bd;
  content: "\f105";
  font-family: FontAwesome;
  font-size: 17px;
}

.jobTitle a:hover {
  color: var(--jfc-blue);
}

.jobTitle .colr {
  margin-left: auto;
  color: var(--jfc-blue);
  font-size: 12px;
  font-weight: 700;
}

/* Featured jobs call to action */
.featured-wrap {
  padding: 7px 0 66px;
  background: var(--jfc-surface);
  text-align: center;
}

.featured-wrap .read-btn a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid #c8d9ee;
  border-radius: 10px;
  color: var(--jfc-blue);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.featured-wrap .read-btn a:hover {
  border-color: var(--jfc-blue);
  color: #fff;
  background: var(--jfc-blue);
}

/* How it works */
.works-wrap {
  padding: 72px 0 82px;
  background: #fff;
}

.works-wrap .heading-title span {
  color: var(--jfc-blue);
}

.works-wrap .headTxt {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--jfc-muted);
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

.works-wrap .headTxt h1 {
  display: inline;
  margin: 0;
  color: var(--jfc-ink);
  font-size: 15px;
  font-weight: 700;
}

.works-wrap .jobC {
  color: var(--jfc-blue);
}

.works-wrap .forC {
  color: var(--jfc-teal);
}

.works-wrap .works-service {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-wrap .works-service:before,
.works-wrap .works-service:after {
  display: none;
}

.works-wrap .works-service > li {
  float: none;
  width: auto;
  margin-top: 0;
  padding: 29px 25px 27px;
  border: 1px solid var(--jfc-line);
  border-radius: var(--jfc-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 36, 59, .045);
  text-align: center;
}

.works-wrap .worksIcon {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 17px;
  color: var(--jfc-blue);
  background: #edf5ff;
  border: 0;
  border-radius: 17px;
  line-height: 1;
  font-size: 25px;
}

.works-wrap .worksIcon:before {
  content: none;
}

.works-wrap .works-service > li:nth-child(2) .worksIcon {
  color: #12998e;
  background: #eaf9f6;
}

.works-wrap .works-service > li:nth-child(3) .worksIcon {
  color: #7856c7;
  background: #f2efff;
}

.works-wrap .works-service h3 {
  margin: 0 0 10px;
  color: var(--jfc-ink);
  font-size: 18px;
  font-weight: 700;
}

.works-wrap .works-service h5 {
  margin: 0;
  color: var(--jfc-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}

/* Footer */
.footer-wrap {
  padding: 57px 0 48px;
  color: #c3cedd;
  background: #11243c;
}

.footer-wrap .container > .row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr);
  gap: 60px;
  margin: 0;
}

.footer-wrap .container > .row:before,
.footer-wrap .container > .row:after,
.footer-wrap .container > .row > div:last-child .row:before,
.footer-wrap .container > .row > div:last-child .row:after,
.footer .row:before,
.footer .row:after {
  display: none;
  content: none;
}

.footer-wrap .container > .row > div {
  float: none;
  width: auto;
  padding: 0;
}

.footer-wrap .footer-logo {
  margin-bottom: 18px;
}

.footer-wrap .footer-logo img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 68px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
}

.footer-wrap h4.cw14 {
  margin: 0;
  color: #b8c5d6;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
}

.footer-wrap h4.cw14 br:first-child {
  display: none;
}

.footer-wrap .read-btn {
  margin-top: 18px;
  margin-bottom: 0;
}

.footer-wrap .read-btn a {
  display: inline;
  padding: 0;
  color: #61c9c0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.footer-wrap .read-btn a:hover {
  color: #fff;
  background: transparent;
}

.footer-wrap .container > .row > div:last-child .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 0;
}

.footer-wrap .container > .row > div:last-child .row > div {
  float: none;
  width: auto;
  padding: 0;
}

.footer-wrap h3 {
  margin: 4px 0 17px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.footer-wrap .footer-links {
  margin: 0;
  padding: 0;
  min-height: 0;
  list-style: none;
}

.footer-wrap .footer-links li {
  margin: 0 0 9px;
  padding: 0;
}

.footer-wrap .footer-links a {
  color: #aebbd0;
  font-size: 12px;
}

.footer-wrap .footer-links a:hover {
  color: #fff;
}

.footer {
  padding: 18px 0;
  color: #9eacc0;
  background: #0c1b2f;
}

.footer .row {
  display: flex;
  align-items: center;
  margin: 0 -12px;
}

.footer .row > div {
  float: none;
}

.footer .copyright {
  font-size: 10px;
  line-height: 1.7;
}

.footer .social {
  text-align: right;
}

.footer .followWrp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #aebbd0;
  font-size: 11px;
}

.footer .social-wrap {
  display: inline-flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .social-wrap a {
  color: #c2d1e4;
  font-size: 18px;
}

.footer .social-wrap a:hover {
  color: #63d0c5;
}

@media (max-width: 1100px) {
  .header-wrap .container > .row > div:first-child {
    width: 21%;
  }

  .header-wrap .container > .row > div:nth-child(2) {
    width: 42%;
  }

  .header-wrap .container > .row > div:last-child {
    width: 37%;
  }

  .header-wrap .logo img {
    max-width: 175px;
  }

  .header-wrap .navbar-nav > li > a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }

  .header-wrap .user-wrap {
    gap: 8px;
    margin-left: 4px;
  }

  .header-wrap .post-btn a {
    padding: 0 12px;
  }
}

@media (max-width: 900px) {
  .header-wrap .container > .row {
    flex-wrap: wrap;
  }

  .header-wrap .container > .row > div:first-child {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .header-wrap .container > .row > div:nth-child(2),
  .header-wrap .container > .row > div:last-child {
    width: 50%;
    margin-top: 12px;
  }

  .header-wrap .navbar-nav {
    justify-content: flex-start;
  }

  .header-wrap .header-right {
    text-align: right;
  }

  .footer-wrap .container > .row {
    gap: 35px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 30px, 620px);
  }

  .header-wrap > .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-wrap .logo img {
    max-width: 175px;
    max-height: 56px;
  }

  .header-wrap .navbar-toggle {
    display: block;
    float: none;
    margin: 0;
    padding: 9px 10px;
  }

  .header-wrap .container > .row > div:nth-child(2) {
    width: 100%;
    margin-top: 0;
  }

  .header-wrap .container > .row > div:last-child {
    width: 100%;
    margin-top: 4px;
  }

  .header-wrap .navbar-collapse {
    padding-right: 0;
    padding-left: 0;
  }

  /* Bootstrap's mobile collapse is required for the existing menu toggle. */
  .header-wrap .navbar-collapse.collapse:not(.in) {
    display: none !important;
  }

  .header-wrap .navbar-collapse.collapse.in {
    display: block !important;
  }

  .header-wrap .navbar-nav {
    display: block;
    padding: 5px 0;
  }

  .header-wrap .navbar-nav > li > a {
    padding: 10px 12px;
  }

  .header-wrap .header-right {
    text-align: left;
  }

  .header-wrap .header-right > .clearfix {
    padding-left: 2px;
  }

  .slider-wrap {
    padding: 59px 0 43px;
  }

  .sliderTxt .mainSearchText {
    margin-bottom: 25px;
  }

  .sliderTxt .form-wrap {
    padding: 10px;
  }

  .sliderTxt .form-wrap form .row {
    grid-template-columns: 1fr 1fr;
  }

  .sliderTxt .form-wrap form .row > div:first-child {
    grid-column: 1 / -1;
  }

  .sliderTxt .sbutn {
    width: 100%;
  }

  .browse-wrap,
  .works-wrap {
    padding: 55px 0;
  }

  .browse-wrap ul.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .heading-title {
    font-size: 26px;
  }

  .works-wrap .works-service {
    gap: 12px;
  }

  .works-wrap .works-service > li {
    padding: 22px 16px;
  }

  .footer-wrap .container > .row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-wrap .container > .row > div:last-child .row {
    gap: 18px;
  }

  .footer .row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer .row > div {
    width: 100%;
    padding: 0;
  }

  .footer .copyright,
  .footer .social {
    text-align: left;
  }

  .footer .social {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .header-wrap .container > .row > div:last-child {
    margin-top: 10px;
  }

  .header-wrap .header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 11px;
  }

  .header-wrap .user-wrap {
    margin-left: 0;
  }

  .header-wrap .header-right > .clearfix {
    flex-basis: 100%;
    padding-top: 0;
  }

  .slider-wrap {
    padding: 48px 0 36px;
  }

  .sliderTxt > p {
    font-size: 10px;
  }

  .sliderTxt .mainSearchText {
    font-size: 31px;
  }

  .sliderTxt .form-wrap form .row {
    grid-template-columns: 1fr;
  }

  .sliderTxt .form-wrap form .row > div:first-child {
    grid-column: auto;
  }

  .sliderTxt .form-control,
  .sliderTxt select.dropdown,
  .sliderTxt select.form-control,
  .sliderTxt .input-btn,
  .sliderTxt .input-btn input {
    height: 49px;
  }

  .slider-wrap > .container > p.mainSearchText {
    margin-right: auto;
    font-size: 12px !important;
  }

  .browse-wrap ul.row {
    grid-template-columns: 1fr;
  }

  .featured-wrap {
    padding-bottom: 52px;
  }

  .works-wrap .works-service {
    grid-template-columns: 1fr;
  }

  .works-wrap .works-service > li {
    padding: 25px 21px;
  }

  .footer-wrap .container > .row > div:last-child .row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-wrap .container > .row > div:last-child .row > div:first-child {
    grid-column: 1 / -1;
  }

  .footer .row {
    display: block;
  }

  .footer .social {
    margin-top: 11px;
    text-align: left;
  }
}

/* Job listing pages: scoped to the two updated PHP templates. */
.jfc-listing-heading {
  padding: 44px 0;
  background: linear-gradient(115deg, #11294a 0%, #154771 72%, #156478 100%);
}

.jfc-listing-heading h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-align: left;
  text-transform: none;
}

.jfc-job-results {
  min-height: 460px;
  padding: 38px 0 76px;
  background: var(--jfc-surface);
}

/* The second template has an accidental pre-listing title link with unset values. */
.jfc-job-results > .container > a:first-of-type {
  display: none;
}

.jfc-job-results > .container > .row {
  display: grid;
  grid-template-columns: minmax(245px, 290px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin: 0;
}

.jfc-job-results > .container > .row:before,
.jfc-job-results > .container > .row:after,
.jfc-job-results .listWrpService > .row:before,
.jfc-job-results .listWrpService > .row:after,
.jfc-job-results .listWrpService > .row > div:last-child > .row:before,
.jfc-job-results .listWrpService > .row > div:last-child > .row:after,
.jfc-job-results .pagiWrap > .row:before,
.jfc-job-results .pagiWrap > .row:after {
  display: none;
  content: none;
}

.jfc-job-results > .container > .row > div {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}

.jfc-job-results > .container > .row > div:first-child {
  margin-top: 0 !important;
}

.jfc-job-results .leftSidebar {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--jfc-line);
  border-radius: var(--jfc-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 36, 59, .045);
}

.jfc-job-results .filter {
  margin: 0;
  padding: 20px 22px 15px;
  border: 0;
  color: var(--jfc-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.jfc-job-results .sidebarpad {
  padding: 0 22px 24px;
}

.jfc-job-results .leftSidebar h4 {
  margin: 16px 0 8px;
  color: #40536b;
  font-size: 12px;
  font-weight: 700;
}

.jfc-job-results .leftSidebar h4:first-child {
  margin-top: 2px;
}

.jfc-job-results .input-wrap {
  margin: 0 0 12px;
}

.jfc-job-results .input-wrap .form-control {
  display: block;
  width: 100%;
  height: 46px !important;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #dce5ef;
  border-radius: 9px !important;
  color: var(--jfc-ink);
  background: #f8fafc;
  box-shadow: none;
  font-size: 13px;
}

.jfc-job-results .input-wrap .form-control:focus {
  border-color: #8bb9f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .1);
}

.jfc-job-results .leftSidebar .sbutn {
  width: 100%;
  margin: 10px 0 0;
  padding: 13px 14px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--jfc-blue);
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.jfc-job-results .leftSidebar .sbutn:hover {
  border: 0;
  color: #fff;
  background: var(--jfc-blue-dark);
}

.jfc-job-results .listService {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jfc-job-results .listService > li {
  margin: 0 0 14px;
  padding: 0;
}

.jfc-job-results .listWrpService.featured-wrap {
  height: auto !important;
  min-height: 110px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--jfc-line);
  border-radius: var(--jfc-radius);
  background: #fff;
  box-shadow: 0 6px 21px rgba(20, 36, 59, .045);
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jfc-job-results .listWrpService.featured-wrap:hover {
  transform: translateY(-2px);
  border-color: #c5d9f4;
  box-shadow: 0 13px 30px rgba(24, 71, 128, .09);
}

.jfc-job-results .listWrpService > .row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
  margin: 0;
}

.jfc-job-results .listWrpService > .row > div {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}

.jfc-job-results .listImg {
  margin: 0;
  text-align: left;
}

.jfc-job-results .listImg img,
.jfc-job-results .listImg img.fade {
  display: block;
  width: 62px;
  height: 62px;
  padding: 6px;
  border: 1px solid #e8edf4;
  border-radius: 11px;
  background: #fff;
  object-fit: contain;
  opacity: 1;
}

.jfc-job-results .listWrpService > .row > div:last-child > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.jfc-job-results .listWrpService > .row > div:last-child > .row > div {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}

.jfc-job-results .listWrpService h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.jfc-job-results .listWrpService h3 a {
  color: var(--jfc-ink);
  font: inherit;
}

.jfc-job-results .listWrpService h3 a:hover {
  color: var(--jfc-blue);
}

.jfc-job-results .listWrpService h3 input[readonly] {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0 !important;
  outline: 0;
  color: inherit;
  background: transparent !important;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  pointer-events: none;
  text-overflow: ellipsis;
}

.jfc-job-results .listWrpService p {
  margin: 0 0 9px;
  color: #587087;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.jfc-job-results .featureInfo.innerfeat {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jfc-job-results .featureInfo.innerfeat li {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--jfc-muted);
  font-size: 12px;
  line-height: 1.55;
}

.jfc-job-results .featureInfo.innerfeat i {
  padding-right: 4px;
  color: var(--jfc-teal);
}

.jfc-job-results .listWrpService .apply {
  margin: 0;
}

.jfc-job-results .listWrpService .apply a {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 9px;
  color: #fff;
  background: var(--jfc-blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.jfc-job-results .listWrpService .apply a:hover {
  color: #fff;
  background: var(--jfc-blue-dark);
}

.jfc-job-results .pagiWrap {
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #dce5ef;
}

.jfc-job-results .pagiWrap > .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.jfc-job-results .pagiWrap > .row > div {
  float: none;
  width: auto;
  padding: 0;
}

.jfc-job-results .pagiWrap .showreslt {
  margin: 0;
  color: var(--jfc-muted);
  font-size: 12px;
  text-align: left;
}

.jfc-job-results .pagiWrap .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  float: none;
  max-width: none;
  margin: 0;
}

.jfc-job-results .pagination > li > a,
.jfc-job-results .pagination > li > span {
  min-width: 33px;
  padding: 6px 10px;
  border: 1px solid #dce5ef;
  border-radius: 7px !important;
  color: #46607c;
  background: #fff;
  font-size: 12px;
  text-align: center;
}

.jfc-job-results .pagination > li > a:hover,
.jfc-job-results .pagination > li.active > a {
  border-color: var(--jfc-blue);
  color: #fff;
  background: var(--jfc-blue);
}

@media (max-width: 900px) {
  .jfc-job-results > .container > .row {
    grid-template-columns: minmax(215px, 255px) minmax(0, 1fr);
    gap: 16px;
  }

  .jfc-job-results .listWrpService > .row > div:last-child > .row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .jfc-listing-heading {
    padding: 31px 0;
  }

  .jfc-job-results {
    padding: 24px 0 52px;
  }

  .jfc-job-results > .container > .row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Keep the existing tall ad unit, but place it after jobs on phones. */
  .jfc-job-results > .container > .row > div:first-child {
    display: contents;
  }

  .jfc-job-results > .container > .row > div:first-child > br {
    display: none;
  }

  .jfc-job-results .leftSidebar {
    grid-column: 1;
    grid-row: 1;
  }

  .jfc-job-results > .container > .row > div:last-child {
    grid-column: 1;
    grid-row: 2;
  }

  .jfc-job-results > .container > .row > div:first-child > ins.adsbygoogle {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    max-width: 100%;
  }

  .jfc-job-results .sidebarpad {
    padding-bottom: 19px;
  }

  .jfc-job-results .pagiWrap > .row {
    flex-wrap: wrap;
  }

  .jfc-job-results .pagiWrap > .row > div {
    width: 100%;
  }

  .jfc-job-results .pagiWrap .pagination {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .jfc-job-results .listWrpService.featured-wrap {
    padding: 15px;
  }

  .jfc-job-results .listWrpService > .row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }

  .jfc-job-results .listImg img,
  .jfc-job-results .listImg img.fade {
    width: 48px;
    height: 48px;
  }

  .jfc-job-results .listWrpService h3 {
    font-size: 15px;
  }
}