/*Custom CSS*/

/*------------------------------------------------
  ----------------- Custom Font Styles ----------------
  ------------------------------------------------*/


/*------------------------------------------------*/
:root{
  --main-colour: #05a848;
  --second-colour: #003015;

  --banner-colour: #05a848;

  --text-colour: #333;

  --a-skip-colour: #1e2f48;
  --a-skip-background: #fd0;

  --light-grey: #eaeaea;
  --border-grey: #ededed;
  --shade-grey: #f2f6f6;

  --main-font: "IBM Plex Sans";
  --secondary-font: "Roboto",
    Arial,
    "Helvetica Neue",
    Helvetica,
    sans-serif;

  --border-radius: 4px;
  --button-border-radius: 24px;
  
}
/*------------------------------------------------
  ----------------- Body Styles ----------------
  ------------------------------------------------*/

body,
#widget-stats,
input,
textarea,
select,
option {
  font-family: var(--main-font);
  color: var(--text-colour);
  font-size: 1.1rem;
}

a {
  color: var(--main-colour);
}

a:focus,
a:hover {
    color: var(--main-colour);
    text-decoration: underline;
}
a.skip:focus,
a.skip:active{
    color: var(--a-skip-colour);
    background: var(--a-skip-background);
}

.home-text a, .jobs-grid-heading a {
  display: inline-flex;
  align-items: center;
}

.home-text a svg, .jobs-grid-heading a svg {
    transition: transform 0.2s ease;
}

.home-text a svg:hover, .jobs-grid-heading a svg:hover {
   transform: translateX(4px);
}

.theme-text {
    color:  var(--text-colour);
}

.theme-color {
    color: var(--main-colour);
}

.theme-bg {
    color: var(--main-colour);
    border-color: var(--second-colour);
}

.ISlink {
  height:auto;
  width: 140px;
  text-align: left;
  margin-left: 0;
  margin-bottom: 4px;
}

.circle.theme-hover,
.ISlink {
    border: solid 1px transparent;
}

.theme-hover:hover,
.theme-hover:focus,
.ISlink:hover,
.ISlink:focus {
    color: var(--main-colour);
}

.theme-border {
    border: 1px solid var(--border-grey);
}

.theme-lt-grey-bg {
    background: var(--light-grey) none repeat scroll 0 0;
    padding-bottom: 40px;
}

.theme-heading {
    color: var(--main-colour);
    margin: 40px 0;
    font-size: 3rem;
    line-height: 3.2rem;
    font-family: var(--main-font), var(--secondary-font);
}

.theme-tagline{
  font-family: var(--main-font), var(--secondary-font);
  font-size: 1.5rem;
}

.heading-shade .theme-heading {
    margin: 60px 0 60px;
}

.widget-section h2 {
    margin-bottom: 25px;
}

h3.panel-title {
    font-size: 18px;
    color: var(--text-colour);
}

section.cta {
    text-align: center;
    padding: 30px 0;
    background: #FCEBDB;
}

@media (max-width: 767px) {
  .theme-heading {
    font-size: 3rem;
    line-height: 3rem;
  }
}

/*------------------------------------------------
  ----------------- Header tags ----------------
  ------------------------------------------------*/
h1,.h1 {
  font-size: 3rem;
  margin-bottom: 1.875rem;
  line-height: 3.2rem;
}

h2,.h2 {
  font-size: 2rem;
  line-height: 2.2rem;
  margin-bottom: 1.25rem;
}

h3,.h3 {
  font-size: 1.625rem;
  line-height: 1.875rem;
  margin-bottom: 0.625rem;
}

h4,.h4 {
  font-size: 1.3rem;
  line-height: 1.5rem;
}

h5,.h5 {
  font-size: 1.125rem;
  line-height: 1.375rem;
}

h6,.h6 {
  font-size: 1rem;
  line-height: 1.25rem;
}

@media (max-width: 736px) {
  h1,.h1 {
    font-size: 2rem;
    line-height: 2.2rem;
    margin-bottom: 1.25rem;
  }

  h2,.h2 {
    font-size: 1.625rem;
    line-height: 1.875rem;
    margin-bottom: 0.625rem;
  }

  h3,.h3 {
    font-size: 1.3rem;
    line-height: 1.5rem;
  }

  h4,.h4 {
    font-size: 1.125rem;
    line-height: 1.375rem;
  }

  h5,.h5 {
    font-size: 1rem;
    line-height: 1.25rem;
  }

  h6,.h6 {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/*------------------------------------------------
  ------------------- Utility -------------------
  ------------------------------------------------*/

.img-marg-20 {
  margin: 20px 0;
}

.border-top-split {
  border-top: solid 1px var(--border-grey);
}

.margin-bottom-30 {
  margin-bottom: 30px;
}


/*------------------------------------------------
  ------------------- General -------------------
  ------------------------------------------------*/


/*------------------------------------------------
  ------------------- Section -------------------
  ------------------------------------------------*/

.section-shade {
  background-color: var(--shade-grey);
}

.section-subtitle {
  color:  var(--text-colour);
}

.section-heading h2 {
  color: var(--main-colour);
}

.section-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  background-image: url('/shared-assets/images/banner.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-heading img.img-responsive {
  display: none;
}

 
/*------------------------------------------------
  ------------------- Buttons -------------------
  ------------------------------------------------*/

.btn, .btn-default, .buttons, .btn.btn-default {
  border-radius: var(--button-border-radius);
}

.rasp_button,
html .btn.btn-success,
.btn-primary,
#hSearchModal .search-hierarchy-dialog .modal-footer .btn.btn-success
{
    background-color: var(--main-colour);
    border:1px solid var(--main-colour);
    color: #fff;
    border-radius: var(--button-border-radius);
}

.btn-primary.btn-outline {
    color: #fff;
}
.rasp_button:hover,
.rasp_button:focus,
.rasp_button.focus,
.rasp_button:active,
.rasp_button.active,
.btn.btn-success:hover,
.btn.btn-success:focus,
.btn.btn-success.focus,
.btn.btn-success:active,
.btn.btn-success.active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.rasp_button,
.open>.dropdown-toggle.buttons,
#hSearchModal .search-hierarchy-dialog .modal-footer .btn.btn-success:hover,
#hSearchModal .search-hierarchy-dialog .modal-footer .btn.btn-success:focus {
    background-color: var(--main-colour);
    border-color: var(--main-colour);
}

.btn-success:active:hover,
.btn-success.active:hover,
.open>.dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open>.dropdown-toggle.btn-success:focus,
.btn-success.focus:active,
.btn-success.active.focus,
.open>.dropdown-toggle.btn-success.focus {
    background-color: var(--main-colour);
    border-color: var(--main-colour);
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open>.dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open>.dropdown-toggle.btn-primary:focus,
.btn-primary.focus:active,
.btn-primary.active.focus,
.open>.dropdown-toggle.btn-primary.focus {
    background-color: var(--main-colour);
    border-color: var(--main-colour);
}

.btn.btn-default,
#hSearchModal .search-hierarchy-dialog .modal-footer .btn.btn-default,
.buttons {
    background-color: transparent;
    border-color: var(--main-colour);
    color: var(--main-colour);
}

.btn-default.active,
.btn-default.focus,
.btn-default:active,
.btn-default:focus,
.btn-default:hover,
#hSearchModal .search-hierarchy-dialog .modal-footer .btn.btn-default:hover,
#hSearchModal .search-hierarchy-dialog .modal-footer .btn.btn-default:default,
.open>.dropdown-toggle.btn-default {
    background: transparent;
    border-color: var(--main-colour);
    color: var(--main-colour);
}

.button:active,
.button:focus,
.button:hover {
    background: none repeat scroll 0 0 var(--main-colour);
    border-color: var(--main-colour);
    color: #fff;
}

.left-column i{
    color:var(--main-colour);
}

input.view,
input.storenext,
input.refine,
input.expire,
input.reset,
input.editprofile,
input.deleteprofile,
input.saveprofile,
input.test,
input.sendpwd,
input.apply {
  background: var(--main-colour) none repeat scroll 0 0;
  width: inherit;
}

@media (max-width: 767px) {
  .btn-cta {
    border-radius: 20px;
    padding: 10px 15px;
  }
}


/*------------------------------------------------
  -------------------- Header --------------------
  ------------------------------------------------*/
#header {
  border-bottom: 1px solid var(--border-grey);
}

.logo-holder {
  width: 125px;
}

.logo {
  background: rgba(0, 0, 0, 0) url("../shared-assets/images/logo.png") no-repeat scroll 0 0;
  height: 66px;
  margin: 20px 0;
  width: 200px;
}

/*------------------------------------------------
  ------------------- Navigation -------------------
  ------------------------------------------------*/

nav#navbar .nav>li>a:hover,
nav#navbar .nav>li>a:focus,
nav#navbar .nav>li>button:hover,
nav#navbar .nav>li>button:focus,
#navbar.navbar .navbar-nav > li > a:hover{
    border-bottom: solid 1px #000;
    color: #000;
}

nav#navbar .nav-pills>li.active>a,
nav#navbar .nav-pills>li.active>a:hover,
nav#navbar.nav-pills>li.active>a:focus {
    background-color: var(--main-colour);
}

nav#navbar .navbar-nav>.active>a,
nav#navbar .navbar-nav>.active>a:focus,
nav#navbar .navbar-nav>.active>a:hover,
#navbar.navbar .navbar-nav > .active > a:hover{
    border-bottom: solid 1px #000;
    color: #000;
}

nav#navbar .navbar-nav > .active > a {
  border-color: #000;
  border-bottom: solid 1px #000;
}

#navbar.navbar .navbar-nav > .active > a {
  border-bottom: 1px solid;
}

#navbar.navbar .btn.btn-cta {
  background-color: var(--main-colour);
  border: 1px solid var(--main-colour);
}

#navbar.navbar .btn.btn-cta:hover,
#navbar.navbar .btn.btn-cta:focus {
  border: 1px solid var(--main-colour);
  color: var(--main-colour);
}

.navbar a {
  text-decoration: none;
}

nav#navbar {
    background-color: #fff;
}

#navbar.navbar .navbar-nav .dropdown-menu > li > a {
  font-weight: 500;
}

.navbar-header {
  padding-top: 10px;
  padding-bottom: 10px;
}
 
/*Menu items colour*/
nav#navbar .navbar-nav>li>a,
nav#navbar .navbar-nav>li>button {
    color: #000;
  font-weight: 500;
}

/*Menu colour*/
nav#navbar .navbar-toggle .icon-bar {
  background-color: var(--text-colour);
}

nav#navbar .navbar-nav.navbar-right>li>a i {
    font-size: 16px;
    vertical-align: unset;
    margin-right: 5px;
}

@media(min-width:1025px){
  #navbar {
    min-height: 40px;
  }
}

/*------------------------------------------------
  --------------------- Banner ---------------------
  ------------------------------------------------*/

/* .widget-banner {  
  background: var(--banner-colour);
} */

.section-heading img.img-responsive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-heading .heading-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  min-height: 180px;
  gap: 0;
}

@media (min-width: 992px) {
  .section-heading .heading-overlay {
    padding: 5.2rem 1.5rem;
    min-height: 220px;
  }
}

.section-heading .heading-overlay h1,
.section-heading .heading-overlay h2,
.section-heading .heading-overlay .theme-heading {
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.35rem;
}

.section-heading .heading-overlay p {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.home-text div{
 margin-bottom: 8px;
}

/*------------------------------------------------
  -------------- Smart/Quick Search --------------
  ------------------------------------------------*/
.widget-quick-search{
  background: var(--light-grey);
}

.widget-quick-search h2 {
    color: var(--main-colour);
}

.widget-quick-search #smart-search-result .smart-filter div:first-of-type h5 {
    border-top: none;
}

/*------------------------------------------------
  --------------------- Job Ads --------------------
  ------------------------------------------------*/
.jobDetails .table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
  padding: 15px;
  border-top: solid 1px #ccc;
}

.jobDetails table.table.table-striped th {
  background-color: transparent;
  color: inherit;
  border: none;
}

#nav-jobdetails .jobDesc p,
#nav-jobdetails .jobDesc li {
  color: var(--text-colour);
}

table#rasp_jobdetails tr td.col_1 {
  padding-right: 10px;
  width: 40%;
  font-weight: 600;
}

table#rasp_jobdetails {
  width: 100%;
}

#JobAdv .detail-apply {
  display: none;
}

/*------------------------------------------------
  ------------------ Job listings  -----------------
  ------------------------------------------------*/
.info-mark {
  background-color: transparent;
  font-weight: 500;
}

/*------------------------------------------------
  ------------------ Job Subscription  -----------------
  ------------------------------------------------*/
  .notify-jobs-content .input-group input:hover,
  .notify-jobs-content .input-group input:focus {
    border-color: var(--main-colour);
  }

/*------------------------------------------------
----------------- login template -----------------
------------------------------------------------*/

.main-paragraph {
  color:  var(--text-colour);
}

.widget-section .circle.theme-bg {
  margin: 10px auto;
}

.widget-section .statistic .left-column {
  padding-top: 10px;
}

#widget-recent-jobs-body i {
  font-size: 16px;
}

.video-wrapper {
  text-align: center;
  width: 100%;
}

.grid-item-overlay {
  max-width: 255px;
  max-height: 255px;
  margin: 20px auto 0 auto !important;
}

/*Legacy Register*/
.register-checkbox-container {
  overflow: hidden;
}

.registration-acknowledgement {
  width: 80%;
}

#registerCheckbox {
  float: left;
  line-height: 0.7em;
  padding: 0 10px 0 0;
  width: auto;
}

.widget-section .circle {
  width: 62px;
  height: 62px;
}

/*------------------------------------------------
------------------- onboarding -------------------
------------------------------------------------*/
.candidate_portal .job-panel-container .ui-accordion-header {
  background-color: var(--main-colour);
  border-top: solid 3px var(--second-colour) !important;
}

.candidate_portal .job-panel-container .ui-accordion-header .ui-icon.ui-icon-triangle-1-s::before{
    color: var(--second-colour);
}

.candidate_portal a.btn.btn-primary{
    color:#fff;
}

.candidate_portal h3{
    color: var(--text-colour);
}

.onboarding .right-column {
    border-radius: var(--border-radius);
}

.onboarding .right-column a {
    background-color: var(--main-colour);
    border-radius: var(--border-radius);
    color: #fff;
}


/*------------------------------------------------
  ------------------- App form -------------------
  ------------------------------------------------*/





/*------------------------------------------------
------------------- Profile form -------------------
------------------------------------------------*/
#nav-profile #widget-content.candidate_portal a.btn-primary {
  color: #fff;
}

#nav-profile #widget-content.candidate_portal a.btn-primary:hover {
  background: var(--main-colour);
}

/*------------------------------------------------
------------------- General Forms -------------------
------------------------------------------------*/
div.form-group div.sub-heading {
  color: var(--main-colour);
}

/*------------------------------------------------
------------------- Home Page Grid -------------------
------------------------------------------------*/

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  padding: 1rem 0;
}

.cards-grid .card{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.cards-grid .card:hover,
.onboarding .card:hover{
  border-color: #05a848;
  background: #e8faef;
  text-decoration: none;
}

.cards-grid .card:active,
.onboarding .card:active{
  transform: scale(0.99);
}

.cards-grid .card-icon,
.onboarding .card-icon{
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--main-colour);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cards-grid .card-icon svg,
.onboarding .card-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cards-grid .card-body {
  flex: 1;
}

.cards-grid .card-title,
.onboarding .card-title{
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 4px;
  color: #1a1a1a;
}

.cards-grid .card-desc {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.muted-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f7f4;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-top: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.muted-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
  background: #efefed;
}

.muted-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--main-colour);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.muted-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 2px;
  color: #000;
}

.muted-card-desc {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}


/*------------------------------------------------
  --------------------- footer ---------------------
  ------------------------------------------------*/
footer {
  background-color: var(--second-colour);
  color: #fff;
}

footer .poweredby {
  background-color: #fff;
  color: #000;
}

.footer-prefooter {
  display: flex;
  flex-direction: row;
}

.footer-prefooter .footer-flex {
  flex: 1;
}

footer .footer-bottom {
  display: flex;
  flex-direction: column;
}

.footer-prefooter-brand img {
  max-width: 200px;
}

footer .footer-bottom.footer-flex {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

footer .footer-bottom .footer-nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

@media(max-width: 488px) {
  footer .footer-bottom .footer-nav {
    flex-wrap: wrap;
  }
}

footer .footer-nav li:first-child {
  padding-right: 20px;
}

footer .footer-nav li:not(:last-child){
   border-right: 1px solid #fff;
}

@media (max-width: 600px) {
 footer .footer-nav li:not(:last-child) {
    border: none;
  }
}

footer .footer-nav li a {
  color: #fff;
  display: inline-block;
  padding: 1px 20px;
}

footer .footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .footer-social a i {
  font-size: 1.5rem;
  line-height: 48px;
}

footer .footer-social li a i::after {
  border-radius: 50%;
  border: 2px solid #fff;
}

footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

footer .footer-social a:hover {
  text-decoration: none;
}

/* testing the new stuff */
li.job-item {
  background: #ffffff;
  border: 1px solid #e8e6e0;
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

li.job-item:hover {
  border-color: #c8c4bc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.job-title a {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1a1916;
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.15s;
  cursor: pointer;
}

.job-title a:hover {
  text-decoration: underline;
}

.job-closing {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--second-colour);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.job-closing svg {
  width: 13px;
  height: 13px;
  opacity: 0.75;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #000;
  background: #f5f4f0;
  border: 1px solid #e8e6e0;
  padding: 4px 10px;
  border-radius: 99px;
  line-height: 1;
}

.meta-chip svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  flex-shrink: 0;
}

.job-badges {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  background: #e8faef;
  color: #003015;
  border: 1px solid #c2f0d4;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.badge-new svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: #05a848;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-expiring {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  background: #fff8e8;
  color: #7a4e00;
  border: 1px solid #f5d98a;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.badge-expiring svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: #7a4e00;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*------------------------------------------------
------------------- Onboarding Card -------------------
------------------------------------------------*/
.onboarding-card {
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 2rem 1.25rem;
  margin-bottom: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.onboarding-card .card-desc {
  max-width: 480px;
}

/*------------------------------------------------
------------------- Jobs Grid -------------------
------------------------------------------------*/

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  padding-left: 0;
}


@media (max-width: 600px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

.jobs-grid-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.jobs-grid-heading h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--main-colour);
  margin: 0;
}

.job-grid-card {
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.job-grid-card:hover {
  border-color: var(--main-colour);
  background: #e8faef;
  text-decoration: none;
}

/*------------------------------------------------
------------------- Quick Search changes -------------------
------------------------------------------------*/
.widget-quick-search {
  background: #e8faef;
}

.quick-search-widget {
  display: flex;
  background: #fff;
  border-radius: 99px;
  border: 1px solid #ddd;
  overflow: hidden;
  padding: 0;
}

.quick-search-widget .form-group {
  margin: 0;
  display: flex;
  align-items: center;
}

.quick-search-widget .form-group.col-md-5 {
  flex: 1;
  padding: 0;
}

.quick-search-widget .form-group.col-md-4 {
  padding: 0;
  border-left: 1px solid #e0e0e0;
}

.quick-search-widget .form-group.col-md-3 {
  padding: 0;
}

.quick-search-widget input.searchString {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 20px;
  font-size: 14px;
  height: auto;
  background: transparent;
}

#in_skills {
  border: none;
}

.quick-search-widget input.searchString:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.quick-search-widget .btn.btn-success.modal-link {
  border-radius: 0;
  border: none;
  background: transparent;
  color: #555;
  padding: 12px 18px;
  font-size: 14px;
  border-left: 1px solid #e0e0e0;
}

.quick-search-widget .btn.btn-success.modal-link:hover {
  background: #f5f5f5;
  color: #333;
}

.quick-search-widget #in_searchBut {
  border-radius: 0 99px 99px 0;
  padding: 12px 22px;
  font-size: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  text-decoration: none;
  color: inherit;
}

.feature-ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--main-colour);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-ico svg {
  width: 20px;
  height: 20px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 4px;
  color: #1a1a1a;
}

.feature-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}



/*------------------------------------------------
  --------------- Job Ad Detail Page ---------------
  ------------------------------------------------*/

/* back link in banner */
.ad-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.ad-back-link svg {
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ad-back-link:hover {
  color: #fff;
  text-decoration: none;
}

/* banner chips */
.ad-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0.9rem;
}

.ad-info {
  display: inline-flex;
  align-items: center;
}

.ad-info .info-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 99px;
}

.ad-info .info-mark svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ad-info .info-mark a {
  color: #fff;
}

/* job reference */
.ad-reference {
  font-size: 11px;
  color: var(--light-grey);
  margin-bottom: 0.35rem;
}

/* body layout ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ description + sidebar */
#nav-jobdetails .row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

#nav-jobdetails .col-md-8.jobDesc {
  flex: 1;
}

#nav-jobdetails .col-sm-9.col-lg-4.jobDetails {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* apply button inline in description */
.col-sm-12.detail-apply {
  display: none;
}

/* sidebar cards */
.ad-sidebar-card {
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.share-this .stButton .facebook::before,
.share-this .stButton .twitter::before,
.share-this .stButton .linkedin::before{
  color: var(--main-colour);
}

.share-this .stButton .email::before {
  color: transparent;
}


.ad-sidebar-card h3 {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin: 0;
}

/* apply + email buttons in sidebar */
.ad-sidebar-apply {
  display: block;
  background: var(--main-colour);
  color: #fff;
  border-radius: 99px;
  padding: 11px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: 100%;
}

.ad-sidebar-apply:hover {
  background: #03903d;
  color: #fff;
  text-decoration: none;
}

.ad-sidebar-email {
  display: block;
  background: transparent;
  color: var(--main-colour);
  border: 1px solid var(--main-colour);
  border-radius: 99px;
  padding: 9px 0;
  text-align: center;
  font-size: 13px;
  text-decoration: none;
}

.ad-sidebar-email:hover {
  text-decoration: none;
  background: #e8faef;
}

/* job detail rows in sidebar */
.ad-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #444;
  padding: 6px 0;
  border-bottom: 0.5px solid #f0f0f0;
}

.ad-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ad-detail-row svg {
  width: 13px;
  height: 13px;
  stroke: var(--main-colour);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* share icons */
.ad-share-icons {
  display: flex;
  gap: 6px;
}

.ad-share-ico {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #f5f4f0;
  border: 0.5px solid #e8e6e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.ad-share-ico:hover {
  background: #e8e6e0;
}

.ad-share-ico svg {
  width: 13px;
  height: 13px;
  stroke: #555;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* footer strip */
.section-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 15px;
}

.section-footer .ad-footer-title {
  font-size: 13px;
  color: #555;
}

.section-footer .btn.btn-success {
  border-radius: 99px;
  padding: 10px 24px;
  font-size: 14px;
}

@media (max-width: 768px) {
  #nav-jobdetails .row {
    flex-direction: column;
  }

  #nav-jobdetails .col-sm-9.col-lg-4.jobDetails {
    width: 100%;
  }
}

/*------------------------------------------------
  --------------- Email a Friend Page ---------------
  ------------------------------------------------*/

.email-friend-section {
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 12px;
}

.email-friend-section-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--main-colour);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.email-friend-section-head svg {
  width: 13px;
  height: 13px;
  stroke: var(--main-colour);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-friend-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .email-friend-section {
    margin-bottom: 16px;
  }

  #nav-jobsearch .col-sm-3 {
    margin-bottom: 1rem;
  }
}

/*------------------------------------------------
  --------------- Account Details Page ---------------
  ------------------------------------------------*/

.signin-link .user-menu svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
}

#nav-details .section-body {
/*   background: #f2f6f6; */
  padding: 1.5rem 0;
}

/* hide default legend and fieldset border */
#nav-details legend.form-sub-head {
  display: none;
}

#nav-details fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* section cards */
.account-card {
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 14px;
}

.account-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 0.5px solid #ededed;
}

.account-card-head svg {
  width: 15px;
  height: 15px;
  stroke: var(--main-colour);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-card-head h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--main-colour);
  margin: 0;
}

.account-hint {
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
  line-height: 1.5;
}

/* actions card */
.account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.account-delete-note {
  font-size: 11px;
  color: #aaa;
  margin-top: 8px;
  line-height: 1.5;
}

/* delete card */
.account-card.delete-card {
  background: #fff5f5;
  border-color: #fcc;
}

.account-card.delete-card .account-card-head svg {
  stroke: #c00;
}

.account-card.delete-card .account-card-head h3 {
  color: #c00;
}

@media (max-width: 767px) {
  .account-card {
    border-radius: 8px;
  }
}