/**
 * Theme Name: QHS - Child
 * Template:   qhs
 */

/* Variables */

:root {
  --main-background: #06377B;
  --main-font: 'Outfit', sans-serif;
  --semi-bold: 500;
  --darker-blue: #031D42;
  --grey-highlight: #828284;
}

/* Set Fonts */

body {
  font-family: var(--main-font);
}

h1, h2, h3, h4, h5, h6, p, li, a {
  font-family: var(--main-font) !important;
  color: var(--main-background);
}

p a {
    text-decoration: underline;
    color: #1f549f;
}

p a:hover {
    color: var(--grey-highlight);
}

/* Menu / Header */

#top-bar .polylang_langswitcher {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    margin-top: 10px !important;
}

#top-bar .polylang_langswitcher .lang-item {
    display: inline-block;
    margin: 10px;
}

#top-bar .polylang_langswitcher .lang-item a img {
    width: 34px !important;
    height: 24px !important;
}

#top-bar .polylang_langswitcher .lang-item a:hover img {
    outline: 2px solid var(--main-background);
    border-radius: 2px;
    padding: 2px;
}

@media (min-width:1100px) {
    #header, 
    #header > div,
    #header > div > .navbar-brand {
        min-height: 100px;
        max-height: 150px;
    }

    #header > div > .navbar-brand img {
        height: 60px;
    }

    .navbar-nav li {
        margin: 0 5px;
    }

}

#header > div > .navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-nav li a {
    color: var(--main-background);
    font-size: 1.1rem;
}

.navbar-nav li a[lang] img {
    width: 16px;
    height: 11px;
}

.navbar-nav li a.active { 
    font-weight: bold;
    color: var(--main-background);
    /* background-color: #F7F7F7; */
}

.navbar-nav li a:active,
.navbar-nav li a.active { 
    background-color: #F7F7F7;
    border-radius: 8px;
}

#header {
    background-color: #FFF !important;
    /* margin-top: 30px; */
}

/* .navbar-nav:hover ul.dropdown-menu {
    display: block;
} */

.navbar-nav .menuOffers {
    background-color: var(--main-background);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 6px 7px;
}

.navbar-nav .menuOffers a {
    color: #FFF;
    font-weight: lighter;
    /* width: 80%;
    margin: 0 auto; */
}

.navbar-nav .menuOffers a:active,
.navbar-nav .menuOffers a.active {
    background-color: var(--main-background);
    color: #FFF;
}

.navbar-nav .menuOffers::before {
    content: '';
    color: #FFF;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.1rem;
    width: 15px; height: 15px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFF"><path d="M7 5V2C7 1.44772 7.44772 1 8 1H16C16.5523 1 17 1.44772 17 2V5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V6C2 5.44772 2.44772 5 3 5H7ZM17 13V10H15V13H9V10H7V13H4V19H20V13H17ZM9 3V5H15V3H9Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.nav-link.has-dropdown::after {
    content: '';
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    width: 0;
    height: 0;
}

@media (min-width:768px){
    .navbar-nav .menuOffers {
        margin-top: -6px;
    }
    .navbar-nav {
        margin-left: auto;
        margin-right: 0 !important;
        float: right;
    }
}

@media (min-width:768px) and (max-width: 1200px){
    #header div.container {
        width: 100%;
        max-width: none;
        margin: 0 10px;
    }
}

@media (min-width:768px) and (max-width: 920px){
    .navbar-nav li a {
        color: var(--main-background);
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        /* height: 75px !important; */
        width: 100% !important;
    }
    .navbar-nav .menuOffers a {
        width: 80%;
        margin: 0 auto;
}
}

/* General Sections */

/* .wpb-content-wrapper > div {
    max-width: 100vw;
} */

.wpb-content-wrapper {
    overflow-x: hidden !important;
    padding: 10px !important;
}

#main {
    overflow-x: hidden !important;
    padding: 0;
}

.sectionHeading {
    display: inline-block;
    margin-bottom: 5% !important;
    position: relative;
    /* font-weight: bold !important; */
    /* color: var(--darker-blue); */
    color: #323232;
    margin-left: 5%;
}

.sectionHeading::after {
    content: '';
    border-top: 2px solid rgba(0,0,0,0.15);
    width: 80%;
    height: 1px;
    margin: 10px auto 0 auto;
    position: absolute;
    bottom: -15px;
    left: 0;
}

.vc_btn3 {
    /* transition: transform 1s ease !important; */
}

.vc_btn3:hover {
    /* transform: scaleX(1.05); */
}

@media (max-width: 768px) {
    .sectionHeading {
        margin-bottom: 10% !important;
    }
}

 /* Entry Row */

 .entryBox {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  margin-bottom: 0 !important;
  background: var(--main-background);
  color: #fff;
  border-radius: 0 0 25px 0;
  font-size: 1.11rem;
  font-weight: var(--semi-bold);
  text-align: left;
  padding: 13px 38px;
  min-width: 220px;
  max-width: 340px;
  z-index: 2;
  letter-spacing: 0.008em;
  display: block;
  transition: transform ease 0.5s;
}

.entryBox h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  text-align: center;
}

#candidateColumn, #employerColumn {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  overflow: hidden;
  min-height: 600px;
  max-width: 60vw;
  margin: 0 20px;
  cursor: pointer;
}

.entryRowColumn:hover .entryBox {
    transform: scale(1.2);
}

#entryRow {
  display: flex;
  justify-content: center;
  gap: 54px;
  padding: 42px 0;
  max-width: 1380px;
  margin: 0 auto;
  align-items: flex-end;
  /* margin-top: 50px; */
  margin-bottom: 50px;
}

.entryRowColumn {
    transition: all 1s ease;
}

@media (max-width:1000px) {
  #entryRow {
    flex-direction: column;
    gap: 24px;
    padding: 20px 0 10px 0;
  }
  #candidateColumn, #employerColumn {
    width: 95vw;
    max-width: 97vw;
    margin: 0 auto 16px auto;
  }
  .entryBox {
    font-size: 1rem;
    min-width: 50vw;
    max-width: 90vw;
    right: 0;
    padding: 10px 24px 10px 14px;
  }
}

/* Main Hero */

@media (max-width:768px) {
    #mainHeroRow {
        min-height: 400px;
    }
    #mainHeroText {
        text-align: center;
        margin-left: auto !important;
    }
    #mainHeroText p {
        font-size: 1.5rem;
        text-align: center;
    }
    div:has(#mainHeroText > .vc_btn3) {
        text-align: center;
    }
}

@media (min-width:768px) and (max-width:1000px) {
    #mainHeroRow {
        min-height: 400px;
    }
}

@media (min-width:1000px) and (max-width:1400px){
    #mainHeroRow {
        min-height: 500px;
    }
}

@media (min-width:1400px) {
    #mainHeroRow {
        min-height: 700px;
    }
}

#mainHeroRow {
    display: flex;
    align-items: center;
    /* max-width: calc(100vw - 50px); */
    overflow: hidden;
}

#mainHeroText{
    margin-left: 15%;
}

#mainHeroText p {
    font-size: 2.5rem;
    color: #FFF;
    margin-bottom: 20px;
}

#mainHeroText p .highlight {
    color: var(--grey-highlight);
}

#mainHeroText .vc_btn3 {
    border-radius: 50px;
    min-width: 250px;
    font-size: 18px;
    color: var(--main-background);
    border: none;
    background-image: none;
    min-height: 50px;
}

#mainHeroText .vc_btn3:hover {
    background-color: var(--main-background);
    color: #FFF;
    outline: 1px solid #FFF;
}

/* Secondary Hero */

#secondaryHeroText {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    border-radius: 25px;
    margin-top: -75px;
    background-color: #FFF;
    padding: 60px 0 0 0;
    box-shadow: 4px 10px 20px -5px rgba(0,0,0,0.15);
    overflow: hidden;
}

#secondaryHeroText h2, 
#secondaryHeroText p {
    color: var(--darker-blue);
}

#secondaryHeroText h2 .highlight {
    color: var(--grey-highlight);
}

#secondaryHeroText .vc_btn3 {
    border-radius: 50px;
    min-height: 50px;
    min-width: 250px;
    font-size: 18px;
    background-color: var(--main-background);
    color: #FFF;
    border: none;
    background-image: none;
}

#secondaryHeroText .vc_btn3:hover {
    background-color: #FFF;
    color: var(--main-background);
    outline: 2px solid var(--main-background);
}

#secondaryHeroText .wpb_single_image {
    margin-bottom: -2.5rem;
}

@media (max-width:768px) {
    #secondaryHeroText {
        max-width: 98%;
        margin-top: 15px;
    }
}

/* Services */

#ourServices {
    margin-top: 75px;
}

#servicesBoxes {
    max-width: 90%;
    margin: 0 auto;
}

.servicesBox {
    display: flex;
    padding: 25px !important;
    min-width: 340px;
    min-height: 500px !important;
}

.servicesBox > div > div {
    width: 100%;
    height: 100%;
}

.servicesBox > div {
    padding: 0 !important;
    border-radius: 10px;
    box-shadow: 4px 10px 20px -5px rgba(0,0,0,0.25);
}

.servicesBox .overlay {
    width: 100%;
    height: 100%;
    box-sizing: border-box !important;
    padding: 5% 10% 0 5% !important;
    border-radius: 10px;
    transition: background-color 1s ease;
    cursor: pointer;
}

.servicesBox .overlay:hover {
    background-color: var(--main-background) !important;
}

.servicesIcon {
    position: absolute;
    top: -20%;
    left: 35px;
}

.servicesIcon > div {
    box-shadow: 4px 4px 20px 0 rgba(0,0,0,0.25);
}

#servicesBoxes > div > div > div > div > div > div > div > div.vc_icon_element.vc_icon_element-outer.vc_do_icon.servicesIcon.vc_icon_element-align-left.vc_icon_element-have-style > div {
    width: 90px !important;
    height: 90px !important;
}

.servicesBox h2 {
    margin-top: 15%;
}

.servicesBox h2,
.servicesBox p {
    color: #FFF;
}

.servicesBox p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    #ourServices h1 {
        margin-bottom: 75px;
    }
    .servicesBox {
        padding: 50px 0 !important;
    }
}

/* Actions */

#actions {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 50px;
}

.actionsColumn:first-child {
    max-width: 300px;
}

.actionsColumn:nth-child(2) {
    max-width: 400px;
}

.actionsColumn:first-child .vc_btn3 {
    background-color: var(--main-background) !important;
    color: #FFF !important;
}

.actionsColumn:first-child .vc_btn3:hover {
    background-color: #FFF !important;
    color: var(--main-background) !important;
    border: 2px solid var(--main-background) !important;
}

#actions > div:nth-child(1) > div > div > div {
    float: right;
}

.actionsColumn:nth-child(2) .vc_btn3 {
    box-sizing: border-box;
    background-color: #FFF !important;
    color: var(--main-background) !important;
    border: 2px solid var(--main-background) !important;
}

.actionsColumn:nth-child(2) .vc_btn3:hover {
    background-color: var(--main-background) !important;
    color: #FFF !important; 
}

.actionsColumn:first-child .vc_btn3,
.actionsColumn:nth-child(2) .vc_btn3 {
    background-image: none;
    border-radius: 8px;
    height: 5rem;
    font-size: 28px;
    width: 100%;
    /* transition: background 0.5s ease; */
    line-height: 1.6em !important;
}

@media (max-width: 768px) {
    .actionsColumn {
        max-width: none !important;
        padding: 0 50px !important;
    }
    .actionsColumn .vc_btn3-container {
        width: 100%;
    }
    .actionsColumn:nth-child(2) .vc_btn3 {
        height: 6rem !important;
    }
}

/* Footer */

#footerLogoColumn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#footerLogo {
    margin-bottom: -35px !important;
}

#footer a {
    text-decoration: none;
    color: var(--main-background);
}

#footer h2 {
    margin-bottom: 30px;
    font-size: 20px !important;
}

.footerLinks p:first-child {
    margin-top: 0 !important;
}

#footer .uavc-list li {
    color: var(--main-background);
}

#footer .uavc-list-icon   {
    margin-top: 4px !important;
}

#footer {
    margin: 50px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 50px;
}

@media (max-width: 768px) {
    #footer h5,
    #footer p,
    #footer span
    {
        text-align: center !important;
    }
    #footer span
    {
        display: inline-block;
    }

    #footer i {
        float: right;
    }
    #footerIcons {
        flex-wrap: nowrap;
    }
}

/* Copyright */

#copyright p {
    color: var(--main-background);
    text-align: center;
    font-size: 15px;
}

/* Offers */
.offersContainer {
    background-color: #F7F7F7;
    padding-top: 50px;
    padding-bottom: 50px;
}

#latestJobs {
    margin-top: 50px;
}

/* Subpages */

.subpage-wrapper {
    padding: 50px 20px !important;
    /* background-color: #F7F7F7 !important; */
}

.subpage-hero {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* margin-bottom: 50px;  */
    height: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.subpage-hero-img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    image-rendering: -webkit-optimize-contrast;
    position: absolute;
    left: 0; top: 0;
    z-index: 1;
}

.subpage-hero-overlay {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: #06377B;
    opacity: 0.8;
    z-index: 2;
}

.subpage-hero-content {
    position: relative;
    z-index: 3;
    color: #FFF;
    width: 100%;
    text-align: left;
    padding-left: 8vw;
}

.subpage-hero-title {
    font-weight: normal;
    margin: 0;
}

@media (max-width:768px){
    .subpage-hero { height: 160px; }
}

/* Job Offers Subpage */
#jobOffers #hrappka-offers-root {
    margin-top: 50px;
}

#jobOffers {
    margin-top: -50px;
    max-width: 100vw;
    margin: 0 auto;
}

/* Contact Subpage */
#contact,
#contact p {
    color: var(--main-background);
}

#contact {
    padding: 50px 10px;
}

#main:has(.subpage-hero) {
    overflow: visible !important;
}

/* Forms */
.forminator-label,
.forminator-error-message,
.forminator-button-submit {
    font-family: var(--main-font) !important;
    font-size: 16px !important;
}

.forminator-button-submit {
    border-radius: 8px !important;
    color: #FFF !important;
    margin-left: 10px !important;
}

.forminator-button-submit:hover {
    outline: 2px solid var(--main-background) !important;
    background: #FFF !important;
    color: #06377B !important;
}

.forminator-label {
    color: var(--main-background) !important;
}

.forminator-input,
.forminator-textarea {
    border: 1px solid var(--main-background) !important;
    border-radius: 5px !important;
}

.forminator-input:focus,
.forminator-textarea:focus {
    outline-color: var(--main-background) !important;
}