﻿/* ExpertHiring header/footer chrome for Ogma Blogster */
/* Rebuilt from home.html: style.css + newStyle.css + newRWD.css + rwd chrome */

/* --- Tokens / utilities (style.css) --- */
:root {
    /* Colors */
    --color-1: #191A15;
    --color-2: #2B2B2B;
    --color-3: #424242;
    --color-4: #EFEFEF;
    --color-5: #EAEAEA;
    --color-6: #F9F9F9;
    --color-7: #454545;
    --color-8: #CBE5FF;
    --color-9: #D8E9FD;
    --color-10: #F5FAFF;
    --color-11: #1A77E1;
    --color-12: #919191;
    --color-13: #0A0A0A;
    --color-black: #000;
    --color-white: #FFF;
    --btn-color1: #414651;
    --btn-blackBG: #1E1006;

    /* Typography */
    --font-family-inter: 'Inter', sans-serif;
    --h1-size: 3.375rem;
    --h2-size: 3.125rem;
    --h3-size: 2rem;
    --h4-size: 1.5rem;
    --h5-size: 1.25rem;
    --h6-size: 1rem;
    --heading-weight: 700;


    --font-size-small: 0.875rem;
    --font-size-sm: 1rem;
    --font-size-base: 1.125rem;
    --font-size-lg: 1.375rem;
    --font-size-22: 1.5rem;
    --font-size-xl: 1.625rem;
    --font-size-xxl: 2.125rem;
    --font-size-18: 1.125rem;
    --fs14: 0.875rem;
    --fs56: 3.5rem;
    --fs64: 4rem;


    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semi-medium: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Border */
    --border-1: 1px solid #D9D9D9;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --input-border: 1px solid rgba(17, 17, 19, 0.20);
    --btn-border: 1px solid #D5D7DA;
    --btn-border-width: 2px;
    --border-radius-48: 48px;

    --Line-height68: 136%;
}

.my-container {
    max-width: 1260px;
}

.Fw-400 {
    font-weight: var(--font-weight-regular) !important;
}

.Fw-500 {
    font-weight: var(--font-weight-medium) !important;
}

.Fw-600 {
    font-weight: var(--font-weight-semi-medium) !important;
}

.Fw-700 {
    font-weight: var(--font-weight-bold) !important;
}

.my-btn {
    font-size: var(--font-size-small);
    font-weight: 500;
    line-height: normal;
    margin: 0;
    border: none;
    box-shadow: none;
    outline: 0;
}

.my-btn:hover,
.my-btn:focus,
.my-btn:active {
    border: none;
    outline: 0;
}

.btn-blackBg {
    color: var(--color-white);
    border: 2px solid transparent;
    background:
        linear-gradient(var(--btn-blackBG), var(--btn-blackBG)) padding-box,
        linear-gradient(90deg, #FF8DB3 0%, #7B48FE 100%) border-box;
}

.btn-blackBg:hover,
.btn-blackBg:active,
.btn-blackBg:focus {
    color: var(--color-white) !important;
    border: 2px solid transparent !important;
    background:
        linear-gradient(#392727, #392727) padding-box,
        linear-gradient(90deg, #FF8DB3 0%, #7B48FE 100%) border-box !important;
}

.btn-glow {
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 12px rgba(123, 72, 254, 0.4),
        0 0 12px rgba(254, 140, 178, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

.Color-1 {
    color: var(--color-1) !important;
}

/* --- Header base (style.css) --- */
/* header section start here */
.My-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--color-white);
    z-index: 999;
    border-bottom: 1px solid #f5f3f3;
}

.My-NavBar {
    padding-top: 16px;
    padding-bottom: 16px;
}

.myLogo {
    width: 160px;
}

.My-NavBar .nav-link {
    color: var(--color-1);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: all 0.25s ease;
    -webkit-border-radius: var(--border-radius-md);
    -moz-border-radius: var(--border-radius-md);
    -ms-border-radius: var(--border-radius-md);
    -o-border-radius: var(--border-radius-md);
}

.My-NavBar .nav-link:hover {
    background: rgba(25, 26, 21, 0.07);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.my-nav-dropdown.show>.nav-link {
    background: rgba(25, 26, 21, 0.07);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.My-NavBar .dropdown-toggle {
    display: flex;
    align-items: center;
    border: none;
}

.My-NavBar .navbar-nav {
    margin: 0 auto;
}

.My-NavBar .dropdown-toggle::after {
    background-image: url(https://www.experthiring.com/wp-content/uploads/2026/05/Nav-down-arrow.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    border: none;
    transition: transform 0.25s ease;
}

.My-NavBar .dropdown-toggle.show::after,
.my-nav-dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.Nav-right-btns .my-btn {
    padding: 10px 16px;
    border-radius: var(--border-radius-48);
}

.My-NavBar .navbar-toggler {
    padding: 2px 3px;
    background-color: #FFFFFF;
}

.My-NavBar .navbar-toggler:focus,
.My-NavBar .navbar-toggler:hover,
.My-NavBar .navbar-toggler:active {
    background-color: #FFFFFF !important;
    box-shadow: none;
}

.my-nav-dropdown .dropdown-menu {
    width: max-content;
    left: auto;
    right: 0;
    padding: 0;
    background: #FFF;
    box-shadow: rgb(0 0 0 / 0%) 0px 4px 8px 0px, rgb(0 0 0 / 7%) 0px 6px 8px 0px;
    border: 1px solid #e1e0e0;
    border-radius: 4px;
}

.Nav-overlay {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    background-color: #0003;
    width: 100%;
    height: 100vh;

    inset: 100% 0% 0%;
    top: 100%;
    pointer-events: none;
    overflow: hidden;
    transition: 0.3s ease;
}

.RSN-section {
    border-radius: 12px;
    padding: 48px;
}

.RSN-heading {
    color: #646464;
    font-size: 12px;
    line-height: 24px;
    margin-bottom: 7px;
}

.RSN-border {
    border-color: #d9d9d9;
}

.RSN-learnMore-section h5 {
    color: var(--color-3);
    font-size: 14px;
    line-height: 21px;
}

.RSN-learnMore-section h6 {
    color: var(--color-3);
    font-size: 14px;
    line-height: 20px;
}

.RSN-Itemgap {
    gap: 11px;
}

.RSN-header {
    margin-bottom: 37px;
}

.RSN-hiring-strip {
    background: #FFF;
    margin-top: 108px;
}

.RSN-hiringteams-Section p {
    color: var(--color-3);
    margin-bottom: 3px;
}

.RSN-hiringteams-Section a {
    color: #3063D2;
    font-style: italic;
    text-decoration: none;
}

.RSN-hiringteams-Section p,
.RSN-hiringteams-Section a {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.28px;
}

.RSN-hiringteams-Section a:hover {
    text-decoration: underline;
}

.RSN-Itemgap {
    cursor: pointer;
}

.RSN-MenuItemsSections {
    gap: 40px;
}

.RSNForstaffing-owners-icon {
    width: 24px;
    margin-top: -1px;
}

.RSN-hiring-strip,
.RSN-MenuItemsSections {
    padding-left: 22px;
}

.RSN-Resources-Menu {
    padding-left: 12px;
    padding-right: 12px;
}

/* header section ends here */

/* --- Mega / phone / footer (newStyle.css) --- */
html,
body {
  max-width: 100%;
}

/* New header elements (phone + CTA row) */
.Nav-right-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone-link {
  font-weight: 400;
}

.My-NavBar .nav-phone-link:hover,
.My-NavBar .nav-phone-link:focus,
.My-NavBar .nav-phone-link:active {
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

.My-NavBar .nav-link:focus {
  outline: none;
  box-shadow: none;
}

.nav-hiring-logos {
  height: 48px;
}

.industries-mega .RSN-hiring-strip .logos,
.resources-mega .RSN-hiring-strip .logos {
  flex-shrink: 0;
  width: auto;
  max-width: max-content;
}

.industries-mega .nav-hiring-logos,
.resources-mega .nav-hiring-logos {
  display: block;
  height: 48px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* Mega dropdown panels */
.my-nav-dropdown .industries-mega,
.my-nav-dropdown .resources-mega {
  list-style: none;
  padding: 0;
  margin: 0;
}

.my-nav-dropdown .industries-mega > .RSN-section,
.my-nav-dropdown .resources-mega > .RSN-section {
  list-style: none;
}

.industries-mega .RSN-hiring-strip,
.resources-mega .RSN-hiring-strip {
  margin-top: 32px;
}

.industries-mega .RSN-header,
.resources-mega .RSN-header {
  margin-bottom: 16px;
}

.resources-mega .RSN-Itemgap {
  padding: 10px 14px;
  border-radius: 10px;
  transition: background .18s;
}

.resources-mega .RSN-Itemgap:hover {
  background: #F5F7FF;
}

.resources-mega .RSN-learnMore-section h5 {
  margin-bottom: 2px;
}

.resources-mega .RSN-learnMore-section h6 {
  margin: 0;
}

.ind-mega-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 992px) {
  .ind-mega-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ind-mega-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  color: #2B2B2B;
  transition: background .18s;
}

.ind-mega-item:hover {
  background: #F5F7FF;
  color: #2B2B2B;
}

.ind-mega-item .rm-sub {
  display: none;
}

.ind-mega-item .rm-title {
  font-size: 14px;
  font-weight: 500;
  color: #1A1A1A;
  font-family: 'Inter', sans-serif;
}

.ind-mega-item .rm-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ind-mega-item .rm-icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  display: block;
}

.ind-mega-view-all {
  padding: 10px 14px;
  color: #3063D2;
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  line-height: 18px;
  letter-spacing: -0.28px;
  text-decoration: none;
}

.ind-mega-view-all:hover {
  color: #3063D2;
  text-decoration: underline;
}

@media (min-width: 992px) {
  .ind-mega-view-all {
    grid-column: 4;
    align-self: start;
  }
}

.industries-mega {
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
  border: 1px solid #EAEAEA;
  overflow: hidden;
  margin-top: 8px;
  background: #fff !important;
}

.resources-mega {
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
  border: 1px solid #EAEAEA;
  overflow: hidden;
  margin-top: 8px;
  background: #fff !important;
}

@media (min-width: 992px) {
  .industries-mega {
    min-width: 780px;
  }

  .resources-mega {
    min-width: 640px;
  }
}

/* Footer */
.EH-footer {
  background: #0A0A0A;
  padding: 72px 0 0;
  font-family: 'Inter', sans-serif;
  border-top: 2px solid rgba(255, 255, 255, .12);
}

.EH-footer-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 40px;
}

.EH-footer-tagline {
  color: rgb(203, 199, 199);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

.EH-footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}

.EH-footer-contact-section {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 80px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 32px 0 24px;
}

.EH-footer-contact-left {
  display: flex;
  flex-direction: column;
}

.EH-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  border-top: none;
  align-items: center;
}

.EH-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgb(203, 199, 199);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}

.EH-footer-contact-item svg {
  opacity: .6;
  flex-shrink: 0;
}

.EH-footer-contact-item:hover,.EH-footer-contact-item:visited {
  color: #fff;
}

.EH-footer-logo-sm {
  width: 120px;
  height: auto;
  display: block;
}

.EH-footer-contact a,
.EH-footer-contact span {
  color: rgb(203, 199, 199);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.65;
  transition: color .2s;
}

.EH-footer-contact a:hover {
  color: #fff;
}

.EH-footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  margin-bottom: 20px;
}

.EH-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.EH-footer-link {
  color: rgb(203, 199, 199);
  font-size: 16px;
  text-decoration: none;
  transition: color .2s;
	transition: color 0.25s, transform 0.25s;
}

.EH-footer-link:hover{
     color: rgb(255, 255, 255);
}
.EH-footer-link:hover, .EH-footer-link:focus, .EH-footer-link:active {
    color: var(--color-white);
    transform: translateX(2px);
}
.My-border {
  border-color: #1F1F1F !important;
}

.EH-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.EH-footer-logo {
  width: 160px;
  height: auto;
  display: block;
}

.EH-footer-copy {
  color: rgb(195, 169, 169);
  font-size: 14px;
  margin: 0;
}

.EH-footer-social {
  width: 40px;
  height: 40px;
  background: #0077B5;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}

.EH-footer-social:hover {
  background: #005f8e;
  color: #fff;
}

/* Extra icon colors */
.rm-icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  display: block;
}


.EH-footer-sparkle {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 4px;
}

.EH-footer-contact-item--address {
  gap: 10px;
}

.EH-footer-social--inline {
  flex-shrink: 0;
  margin-left: 16px;
  color: #fff;
}

/* --- Responsive chrome (newRWD.css) --- */
/* ExpertHiring homepage redesign - responsive overrides */
/* Loaded after rwd.css on home.html only */

@media (min-width: 992px) {
  .my-nav-dropdown { position: static !important; }
  .navbar { position: relative !important; }
  .my-nav-dropdown .industries-mega,
  .my-nav-dropdown .resources-mega {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    top: 100%;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1040;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    background: #fff !important;
  }
  .my-nav-dropdown:hover .industries-mega,
  .my-nav-dropdown:hover .resources-mega,
  .my-nav-dropdown.show .industries-mega,
  .my-nav-dropdown.show .resources-mega {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }
  .my-nav-dropdown .industries-mega::before,
  .my-nav-dropdown .resources-mega::before {
    content: '';
    display: block;
    height: 20px;
    margin-top: -20px;
    background: transparent;
  }
  .Nav-overlay {
    position: absolute; left: 0; top: 100%; width: 100%; height: 100vh;
    background: #0003; z-index: 1029;
    display: block !important; opacity: 0; pointer-events: none; overflow: hidden;
    transition: opacity 0.3s ease;
  }
  .My-header:has(.my-nav-dropdown:hover) .Nav-overlay,
  .My-header:has(.my-nav-dropdown.show) .Nav-overlay {
    opacity: 1;
    pointer-events: none;
  }
}

@media (max-width: 991px) {
  .Nav-overlay {
    display: none !important;
  }

  .My-header {
    z-index: 100000;
  }

  .my-nav-dropdown .industries-mega,
  .my-nav-dropdown .resources-mega,
  .my-nav-dropdown .dropdown-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    border: 1px solid #EAEAEA !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08) !important;
    overflow: hidden !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  .my-nav-dropdown .industries-mega > .RSN-section,
  .my-nav-dropdown .resources-mega > .RSN-section {
    padding: 22px !important;
    border-radius: 0 !important;
  }

  .ind-mega-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ind-mega-view-all {
    grid-column: auto !important;
  }

  .industries-mega, .resources-mega { min-width: 0 !important; }

  .industries-mega .RSN-hiring-strip .logos,
  .resources-mega .RSN-hiring-strip .logos {
    max-width: 100%;
  }

  .industries-mega .nav-hiring-logos,
  .resources-mega .nav-hiring-logos {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 576px) {
  .ind-mega-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  .EH-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .EH-footer-copy { white-space: normal; }
}

@media (max-width: 767px) {
  .EH-footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .EH-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .EH-footer-contact-section { flex-direction: column; gap: 24px; }
}

/* --- Supplemental RWD chrome (rwd.css) --- */
@media (max-width: 991px) {
  .my-container { max-width: 98%; }
  .My-NavBar .nav-link { padding: 0.5rem; }
  .Nav-right-btns { margin-top: 16px; }
  .navbar-collapse { max-height: 80vh; overflow: auto; }
  .RSN-section { padding: 22px; }
  .RSN-header { margin-bottom: 24px; }
  .RSN-hiring-strip { margin-top: 22px; }
}

@media (max-width: 767px) {
  .RSN-section { border-radius: 0; padding: 16px; width: 100%; height: auto; }
  .RSN-header { margin-bottom: 30px; }
  .RSN-hiring-strip { margin-top: 10px; }
  .RSN-MenuItemsSections { gap: 20px; flex-direction: column; }
  .RSN-hiring-strip, .RSN-MenuItemsSections { padding-left: 17px; }
}

@media (max-width: 550px) {
  /* home.html rwd.css: lock scroll only while Menu-open.
     Do not change custom.css `body { overflow: visible !important }` —
     body.Menu-open is more specific and wins only while the class is present. */
  body.Menu-open {
    overflow: hidden !important;
  }

  html:has(body.Menu-open) {
    overflow: hidden !important;
  }
}

/* --- Blog adapters (Ogma Blogster only) --- */
/* Fixed + high z-index so megas sit above #masthead (z-index 9999). */
.My-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100000;
}

html { overflow-x: clip; }

@media (min-width: 992px) {
  .My-header .my-nav-dropdown .industries-mega,
  .My-header .my-nav-dropdown .resources-mega {
    left: 50%;
    right: auto;
    max-width: calc(100vw - 32px);
    transform: translateX(-50%) translateY(20px);
  }
  .My-header .my-nav-dropdown:hover .industries-mega,
  .My-header .my-nav-dropdown:hover .resources-mega,
  .My-header .my-nav-dropdown.show .industries-mega,
  .My-header .my-nav-dropdown.show .resources-mega {
    transform: translateX(-50%) translateY(0) !important;
  }
}

@media (max-width: 991.98px) {
  .My-header { z-index: 100000; }
  .My-header .navbar.My-NavBar > .my-container {
    flex-wrap: wrap;
    align-items: center;
  }
  .My-header .navbar-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }
  .My-header .navbar-toggler.Menu-btn {
    order: 2;
    display: block !important;
    position: static;
    margin-left: auto;
    align-self: center;
    background-color: #fff !important;
  }
  .My-header #mainNav.navbar-collapse {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    overflow: auto;
    background: #fff;
  }
  .My-header #mainNav.navbar-collapse:not(.show) { display: none !important; }
  .My-header #mainNav.navbar-collapse.show { display: block !important; padding-top: 8px; padding-bottom: 16px; }
  .My-header #mainNav .navbar-nav { align-items: stretch !important; width: 100%; margin: 0; }
  .My-header #mainNav .nav-item,
  .My-header #mainNav .nav-link { width: 100%; }
  .My-header #mainNav .Nav-right-btns {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 12px; width: 100%; margin-top: 16px;
  }
  .My-header #mainNav .Nav-right-btns .my-btn { width: 100%; text-align: center; }
  .My-header .myLogo { width: min(160px, 58vw); height: auto; }
  /* Bootstrap accordion megas: hide until .show */
  .My-header .my-nav-dropdown .dropdown-menu:not(.show) {
    display: none !important;
  }
  .My-header .my-nav-dropdown .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}

