/*
Theme Name: HealthRecruiter Jobs
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthrecruiter-jobs
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
  outline-width: 2px;
  outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation
  .wp-block-navigation-submenu
  .wp-block-navigation-item:not(:last-child) {
  margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation
  .wp-block-navigation-item
  .wp-block-navigation-item__content {
  outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation
  .wp-block-navigation-item
  ul.wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
  outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
  text-wrap: pretty;
}

hr {
  border-color: var(--wp--preset--color--contrast);
  border-bottom-width: 0;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
  display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
  overflow-x: auto;
}

footer.wp-block-template-part {
  margin-top: 0;
}

.wp-block-term-template a {
  text-decoration: none !important;
}
.wp-block-term-template .wp-block-term-count::after {
  content: " jobs";
}

.wp-block-image img {
  display: block;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  object-fit: contain;
}

/*
 * Utility for turning transparent logos/icons white.
 * Best used with SVGs or PNGs that have a clear alpha channel.
 */
.white {
  --speciality-icon-color: #fff;
  color: #fff;
}

img.white,
.white img {
  filter: brightness(0) saturate(100%) invert(1);
}

@media (max-width: 660px) {
  .mobile-scrollable {
    margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
    overflow-x: scroll;
    width: 100vw;
  }
  .mobile-scrollable > ul {
    display: flex !important;
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
  }
  .mobile-scrollable > ul > * {
    min-width: calc(
      100vw - var(--wp--style--root--padding-right) -
        var(--wp--style--root--padding-left) - 5vw
    );
  }
}

.wp-block-post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wp-block-post-terms .wp-block-post-terms__separator {
  display: none;
}
.wp-block-post-terms a {
  background: var(--wp--preset--color--accent-2);
  border: none !important;
  padding: 0 15px;
  line-height: 2.25;
  /* font-weight: 600; */
  pointer-events: none;
}

.wp-block-accordion-panel {
  margin-block-start: 0 !important;
}

.icon-loginout > a,
.icon-dashboard > a {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48px" viewBox="0 -960 960 960" width="48px" fill="%23041f45"><path d="M224.26-261.22q62.44-42.87 123.87-65.8 61.44-22.94 131.99-22.94 70.56 0 132.89 23.37 62.33 23.37 123.73 65.37 42.87-54.56 60.52-107 17.65-52.43 17.65-111.78 0-142.31-96.27-238.61-96.27-96.3-238.54-96.3-142.27 0-238.64 96.3-96.37 96.3-96.37 238.61 0 59.3 17.88 111.6 17.89 52.3 61.29 107.18Zm155.65-225.17q-40.3-40.35-40.3-99.76 0-59.42 40.3-100.05 40.31-40.63 100.09-40.63t100.09 40.63q40.3 40.63 40.3 100.05 0 59.41-40.3 99.76-40.31 40.35-100.09 40.35t-100.09-40.35Zm99.81 420.52q-84.55 0-160.03-32.51t-132.13-89.15q-56.65-56.64-89.17-132.11Q65.87-395.1 65.87-480q0-85.26 32.63-160.59 32.63-75.32 89.11-131.8 56.48-56.48 131.97-89.39Q395.07-894.7 480-894.7q85.26 0 160.59 32.92 75.32 32.91 131.8 89.39 56.48 56.48 89.39 131.8 32.92 75.33 32.92 160.87 0 84.55-32.92 160.09-32.91 75.54-89.39 132.02-56.48 56.48-131.8 89.11-75.33 32.63-160.87 32.63Zm103.26-94.09q49.67-14.87 100.67-53.17-51.56-35.44-101.17-53.02-49.61-17.59-102.48-17.59-52.87 0-102.2 17.59-49.32 17.58-100.89 53.02 51 38.3 100.39 53.17 49.4 14.87 102.7 14.87 53.3 0 102.98-14.87ZM532.92-533.2q20.69-20.37 20.69-52.95 0-32.59-20.69-53.24T480-660.04q-32.23 0-52.92 20.65-20.69 20.65-20.69 53.24 0 32.58 20.69 52.95 20.69 20.37 52.92 20.37 32.23 0 52.92-20.37ZM480-586.43Zm.57 372.3Z"/></svg>');
  background-repeat: no-repeat;
  background-size: 23px;
  padding-left: 30px;
}

.icon-loginout > a {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48px" viewBox="0 -960 960 960" width="48px" fill="%23041f45"><path d="M477.61-105.87v-79.22h297.3v-589.82h-297.3v-79.79h297.3q32.74 0 56.26 23.53 23.53 23.52 23.53 56.26v589.82q0 32.51-23.53 55.87-23.52 23.35-56.26 23.35h-297.3Zm-68-178.78-57.13-56 99.74-99.74H105.87v-79.22h344.35l-99.74-99.74 57.13-56L603.39-479 409.61-284.65Z"/></svg>');
}

.user-role-employer .hide-employer,
.user-role-candidate .hide-candidate,
body:not(.logged-in) .hide-logout {
  display: none;
}

/* Search Form */

#search-form {
  max-width: none !important;
  overflow: hidden;
}

body .facetwp-facet {
  margin: 0;
}

body .facetwp-facet input.facetwp-search,
body .facetwp-facet input.facetwp-location {
  min-width: 0;
  width: 100%;
}

body .facetwp-input-wrap {
  display: block;
}

body .facetwp-checkbox {
  margin-bottom: 6px;
  background: url('data:image/svg+xml,<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 36C2.2 36 1.5 35.7 0.9 35.1C0.3 34.5 0 33.8 0 33V3C0 2.2 0.3 1.5 0.9 0.9C1.5 0.3 2.2 0 3 0H33C33.8 0 34.5 0.3 35.1 0.9C35.7 1.5 36 2.2 36 3V33C36 33.8 35.7 34.5 35.1 35.1C34.5 35.7 33.8 36 33 36H3ZM3 33H33V3H3V33Z" fill="%23041F45"/></svg>');
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: 0 5px;
  padding-left: 22px;
}
body .facetwp-checkbox.checked {
  background-image: url('data:image/svg+xml,<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.95 25.95L29.4 11.5L27.25 9.35L14.95 21.65L9 15.7L6.85 17.85L14.95 25.95ZM3 36C2.2 36 1.5 35.7 0.9 35.1C0.3 34.5 0 33.8 0 33V3C0 2.2 0.3 1.5 0.9 0.9C1.5 0.3 2.2 0 3 0H33C33.8 0 34.5 0.3 35.1 0.9C35.7 1.5 36 2.2 36 3V33C36 33.8 35.7 34.5 35.1 35.1C34.5 35.7 33.8 36 33 36H3ZM3 33H33V3H3V33Z" fill="%23041F45"/></svg>');
}
body .facetwp-counter {
  display: none;
}
body .facetwp-reset {
  background: var(--wp--preset--color--accent-1);
  color: #fff;
  border: none;
  display: block;
  width: 100%;
  padding: 15px;
  font-size: var(--wp--preset--font-size--small);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

#search-form .facet-wrap {
  border: var(--wp--preset--color--contrast) 2px solid;
  border-radius: 10px;
}

.facetwp-dropdown {
  width: 100%;
}

#search-form input.facetwp-search,
#search-form input.facetwp-location,
#search-form .facetwp-dropdown,
#search-form .facetwp-radius,
.facetwp-flyout-wrap input.facetwp-search,
.facetwp-flyout-wrap input.facetwp-location,
.facetwp-flyout-wrap .facetwp-dropdown,
.facetwp-flyout-wrap .facetwp-radius {
  padding: 15px 20px;
  border: none;
  font: inherit;
  height: 56px;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 9px;
  color: inherit;
}
.facetwp-flyout-wrap input.facetwp-search,
.facetwp-flyout-wrap input.facetwp-location,
.facetwp-flyout-wrap .facetwp-dropdown,
.facetwp-flyout-wrap .facetwp-radius {
  border: var(--wp--preset--color--contrast) 2px solid;
  border-radius: 10px;
  width: 100%;
}
.facetwp-flyout-wrap input.facetwp-location {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}
.facetwp-flyout-wrap .facetwp-radius {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
  width: auto;
}
#search-form input.facetwp-search,
#search-form input.facetwp-location,
.facetwp-flyout-wrap input.facetwp-search,
.facetwp-flyout-wrap input.facetwp-location {
  padding-left: 46px;
}
#search-form .facetwp-radius,
.facetwp-flyout-wrap .facetwp-radius {
  padding-left: 0;
}
/* #search-form input.facetwp-search,
.facetwp-flyout-wrap input.facetwp-search {
  min-width: 340px;
} */

#search-form select,
.facetwp-flyout-wrap select {
  background-image: url('data:image/svg+xml,<svg width="24" height="15" viewBox="0 0 24 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 14.15L0 2.15L2.15 0L12 9.85L21.85 0L24 2.15L12 14.15Z" fill="%23041F45"/></svg>');
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center right 15px;
  padding-right: 45px !important;
}

#search-form .facetwp-icon,
.facetwp-flyout-wrap .facetwp-icon {
  left: 0;
  right: auto;
}
#search-form .facetwp-icon:before,
.facetwp-flyout-wrap .facetwp-icon:before {
  width: 40px;
  background-position: 15px center;
}

#search-form .facetwp-facet-search .facetwp-icon:before,
.facetwp-flyout-wrap .facetwp-facet-search .facetwp-icon:before {
  background-image: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M37.5556 40L22.9444 25.3889C21.8333 26.3519 20.537 27.1019 19.0556 27.6389C17.5741 28.1759 16 28.4444 14.3333 28.4444C10.3333 28.4444 6.94444 27.0556 4.16667 24.2778C1.38889 21.5 0 18.1481 0 14.2222C0 10.2963 1.38889 6.94444 4.16667 4.16667C6.94444 1.38889 10.3148 0 14.2778 0C18.2037 0 21.5463 1.38889 24.3056 4.16667C27.0648 6.94444 28.4444 10.2963 28.4444 14.2222C28.4444 15.8148 28.1852 17.3519 27.6667 18.8333C27.1481 20.3148 26.3704 21.7037 25.3333 23L40 37.5556L37.5556 40ZM14.2778 25.1111C17.2778 25.1111 19.8333 24.0463 21.9444 21.9167C24.0556 19.787 25.1111 17.2222 25.1111 14.2222C25.1111 11.2222 24.0556 8.65741 21.9444 6.52778C19.8333 4.39815 17.2778 3.33333 14.2778 3.33333C11.2407 3.33333 8.65741 4.39815 6.52778 6.52778C4.39815 8.65741 3.33333 11.2222 3.33333 14.2222C3.33333 17.2222 4.39815 19.787 6.52778 21.9167C8.65741 24.0463 11.2407 25.1111 14.2778 25.1111Z" fill="%23041F45"/></svg>');
}
#search-form .facetwp-icon.locate-me:before,
.facetwp-flyout-wrap .facetwp-icon.locate-me:before {
  background-image: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.6301 40V36.5753C14.4597 36.1492 10.9893 34.551 8.21918 31.7808C5.44901 29.0107 3.85084 25.5403 3.42466 21.3699H0V18.6301H3.42466C3.85084 14.4597 5.44901 10.9893 8.21918 8.21918C10.9893 5.44901 14.4597 3.85084 18.6301 3.42466V0H21.3699V3.42466C25.5403 3.85084 29.0107 5.44901 31.7808 8.21918C34.551 10.9893 36.1492 14.4597 36.5753 18.6301H40V21.3699H36.5753C36.1492 25.5403 34.551 29.0107 31.7808 31.7808C29.0107 34.551 25.5403 36.1492 21.3699 36.5753V40H18.6301ZM29.7945 29.7945C32.519 27.07 33.8813 23.8052 33.8813 20C33.8813 16.1948 32.519 12.93 29.7945 10.2055C27.07 7.48097 23.8052 6.11872 20 6.11872C16.1948 6.11872 12.93 7.48097 10.2055 10.2055C7.48097 12.93 6.11872 16.1948 6.11872 20C6.11872 23.8052 7.48097 27.07 10.2055 29.7945C12.93 32.519 16.1948 33.8813 20 33.8813C23.8052 33.8813 27.07 32.519 29.7945 29.7945ZM15.137 24.863C13.8128 23.5388 13.1507 21.9178 13.1507 20C13.1507 18.0822 13.8128 16.4612 15.137 15.137C16.4612 13.8128 18.0822 13.1507 20 13.1507C21.9178 13.1507 23.5388 13.8128 24.863 15.137C26.1872 16.4612 26.8493 18.0822 26.8493 20C26.8493 21.9178 26.1872 23.5388 24.863 24.863C23.5388 26.1872 21.9178 26.8493 20 26.8493C18.0822 26.8493 16.4612 26.1872 15.137 24.863ZM22.9224 22.9224C23.7139 22.1309 24.1096 21.1568 24.1096 20C24.1096 18.8432 23.7139 17.8691 22.9224 17.0776C22.1309 16.2861 21.1568 15.8904 20 15.8904C18.8432 15.8904 17.8691 16.2861 17.0776 17.0776C16.2861 17.8691 15.8904 18.8432 15.8904 20C15.8904 21.1568 16.2861 22.1309 17.0776 22.9224C17.8691 23.7139 18.8432 24.1096 20 24.1096C21.1568 24.1096 22.1309 23.7139 22.9224 22.9224Z" fill="%23041F45"/></svg>');
  background-size: 22px;
  background-position: 13px center;
}

#search-form .facetwp-facet-location,
.facetwp-flyout-wrap .facetwp-facet-location {
  display: flex;
  background-color: #fff;
  border-radius: 9px;
  justify-content: space-between;
}

.fwp-submit {
  background: var(--wp--preset--color--accent-1);
  font: inherit;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0 30px;
  line-height: 56px;
  border: var(--wp--preset--color--accent-1) 2px solid;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  #search-form {
    flex-flow: column;
  }
  #search-form > * {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Companies list */

.company-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-content: center;
  justify-content: center;
}

.company-letters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.25rem;
  border: 1px solid var(--wp--preset--color--contrast-3, #ccd3db);
  border-radius: 999px;
  text-decoration: none !important;
}

.companies-overview {
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.company-group {
  box-sizing: border-box;
  margin: 0 0 2rem;
}

.company-letter {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.company-group > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.company-name + .company-name {
  margin-top: 0.5rem;
}

.company-name a {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .company-group {
    width: calc(33.333% - 1.25rem);
    padding-right: 1.25rem;
  }
}

@media (max-width: 767px) {
  .company-group {
    width: calc(50% - 1rem);
    padding-right: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* WP Job Manager sltyes overrides */

@media (min-width: 1024px) {
  .apply-now {
    position: relative;
    z-index: 1;
    margin-top: -160px !important;
  }
}

.job-manager-application-wrapper {
  border: none;
  box-shadow: none;
  padding: 0;
}

.job-manager-form fieldset {
  border: none;
  padding: 0;
}

.job-manager-form fieldset label:not(.full-line-checkbox-field label),
.job-manager-form fieldset div.field:not(.full-line-checkbox-field) {
  float: none;
  width: 100%;
}
.job-manager-form fieldset label:not(.full-line-checkbox-field label) {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  /* text-align: center; */
}
.job-manager-form br,
.apply_with_resume br,
.job-manager-form p:empty,
.apply_with_resume p:empty {
  display: none !important;
}

.job-manager-form input,
.job-manager-form textarea {
  display: block;
  box-sizing: border-box;
  font: inherit;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid var(--wp--preset--color--contrast);
  /* text-align: center; */
}

.job-manager-form input[type="file"] {
  background: #fff;
}

.apply_with_resume
  input[name="wp_job_manager_resumes_apply_with_resume_create"],
.job-manager-form input[type="submit"] {
  font: inherit;
  display: block;
  width: 100%;
  cursor: pointer;
  background: var(--wp--preset--color--accent-5);
  color: #fff;
  border: none;
  padding: 10px;
  font-weight: 600;
}

.apply_with_resume input[type="submit"] {
  background: transparent;
  border: 1px solid var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--contrast);
  padding: 10px;
  border-radius: 10px;
}

.fieldset-application_attachment p {
  margin: 0;
}

.apply_with_resume {
  font-size: var(--wp--preset--font-size--small);
}

.fieldset-logged_in,
.fieldset-login_required,
#job-manager-job-dashboard .account-sign-in,
#resume-manager-candidate-dashboard .account-sign-in {
  border: var(--wp--preset--color--accent-3) 1px solid !important;
  background-color: var(--wp--preset--color--accent-2);
  padding: 10px 20px !important;
  border-radius: 10px;
}

.job-manager-form input[type="submit"] {
  margin-bottom: 15px;
}

/* Candidate Dashboard */

#resume-manager-candidate-dashboard {
  text-align: center;
}

.resume-manager-resumes {
  width: 100%;
}
.resume-manager-resumes thead {
  background: var(--wp--preset--color--accent-2);
}
.resume-manager-resumes thead th,
.resume-manager-resumes tbody td {
  padding: 15px 20px;
}
.resume-manager-resumes tbody td[colspan="4"] {
  text-align: center;
  padding: 50px 20px;
}
.resume-manager-resumes th:first-child,
.resume-manager-resumes td:first-child {
  text-align: left;
}
.resume-manager-resumes th:last-child,
.resume-manager-resumes td:last-child {
  text-align: right;
}

.resume-manager-resumes tfoot a {
  display: block;
  background: var(--wp--preset--color--accent-5);
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

#submit-resume-form fieldset:not([class]),
#submit-resume-form fieldset[class=""] {
  border: var(--wp--preset--color--accent-3) 1px solid !important;
  background-color: var(--wp--preset--color--accent-2);
  padding: 10px 20px !important;
  border-radius: 10px;
}

.resume-submitted {
  text-align: center;
}

/* Job Dashboard */

.jm-notice {
  min-width: 0;
}

/* Job Alerts */

.jm-alerts__my-alerts__email-info {
  text-align: center;
}

/* Footer */

@media (max-width: 660px) {
  .footer-columns > * {
    width: calc(50% - var(--wp--preset--spacing--70) / 2);
  }
}
