/*
Theme name: Rrescort
*/

body {
  background-color: #02293d;
  color: white;
}

.rr-price-convert {
  white-space: nowrap;
}

.custom-img {
  margin: 0 auto;
  object-fit: cover;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

.rr-city-picker > summary::-webkit-details-marker {
  display: none;
}

.rr-city-picker > summary {
  list-style: none;
}

.rr-city-panel {
  z-index: 80;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 104px);
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #0e181b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.rr-city-picker-desktop .rr-city-panel {
  position: fixed;
  top: 78px;
  right: 16px;
  bottom: 16px;
  max-height: none;
}

.rr-city-picker-desktop .rr-city-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rr-city-picker-mobile .rr-city-panel {
  width: min(92vw, 360px);
}

.rr-city-picker-desktop {
  margin-right: 24px;
  flex: 0 0 auto;
}

.rr-city-picker-desktop > summary {
  padding-right: 4px;
}

.rr-city-panel-head {
  position: sticky;
  top: -12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -12px -12px 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: #0e181b;
}

.rr-city-panel-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.rr-city-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.rr-city-panel-close:hover,
.rr-city-panel-close:focus-visible {
  border-color: rgba(253, 0, 58, .65);
  color: #fff;
  background: rgba(253, 0, 58, .14);
}

.rr-city-country + .rr-city-country {
  margin-top: 8px;
}

.rr-city-country > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.rr-city-country > summary::-webkit-details-marker {
  display: none;
}

.rr-city-country > summary::after {
  content: '›';
  color: #fd003a;
  font-size: 20px;
  line-height: 1;
}

.rr-city-country[open] > summary::after {
  transform: rotate(90deg);
}

.rr-city-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
  padding-top: 8px;
}

.rr-city-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  background: rgba(255, 255, 255, .03);
  line-height: 1.2;
}

.rr-city-list a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rr-city-list a:hover,
.rr-city-list a:focus-visible,
.rr-city-list a.is-current {
  border-color: rgba(253, 0, 58, .8);
  color: #fff;
  background: rgba(253, 0, 58, .14);
}

.rr-city-list small {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
}

@media (max-width: 480px) {
  .rr-city-list {
    grid-template-columns: 1fr;
  }
}

.rr-casting-overlap {
  margin-right: -12px;
}

.rr-casting-z-1 {
  z-index: 1;
}

.rr-casting-z-2 {
  z-index: 2;
}

.rr-casting-z-10 {
  z-index: 10;
}

#progress-fill {
  background: linear-gradient(90deg, #ff596e, #be0000);
}

.rr-field-invalid-group {
  border: 1px solid #ef4444;
  padding: 8px;
}

.rr-field-invalid {
  border-color: #ef4444 !important;
}

.rr-nav-ink-accent {
  background: #cd1d46;
}

.rr-bg-accent {
  background: #cd1d46;
}

.rr-text-accent {
  color: #b51235;
}

.rr-tab-accent {
  border-color: #cd1d46;
  color: #cd1d46;
}

.rr-card-accent-badge {
  border-color: #b51235;
  color: #b51235;
}

.rr-faq-accent-border {
  border-left-color: #b50202;
}

.rr-line-border-top {
  border-top: 5px solid var(--rr-line-color, #b51235);
}

.rr-line-border-left {
  border-left: 5px solid var(--rr-line-color, #b51235);
}

.rr-line-ring {
  border-color: var(--rr-line-color, #b51235);
}

.rr-line-dot {
  background-color: var(--rr-line-color, #b51235);
}

.rr-line-color-da1e4c { --rr-line-color: #DA1E4C; }
.rr-line-color-ef161e { --rr-line-color: #EF161E; }
.rr-line-color-0078bf { --rr-line-color: #0078BF; }
.rr-line-color-e31e24 { --rr-line-color: #E31E24; }
.rr-line-color-82c2c1 { --rr-line-color: #82C2C1; }
.rr-line-color-a1b3d4 { --rr-line-color: #A1B3D4; }
.rr-line-color-009b48 { --rr-line-color: #009B48; }
.rr-line-color-44b85c { --rr-line-color: #44B85C; }
.rr-line-color-168e44 { --rr-line-color: #168E44; }
.rr-line-color-ffd500 { --rr-line-color: #FFD500; }
.rr-line-color-f58231 { --rr-line-color: #F58231; }
.rr-line-color-d6083b { --rr-line-color: #D6083B; }
.rr-line-color-79443b { --rr-line-color: #79443B; }
.rr-line-color-8b4513 { --rr-line-color: #8B4513; }
.rr-line-color-ea7125 { --rr-line-color: #EA7125; }
.rr-line-color-e12023 { --rr-line-color: #E12023; }
.rr-line-color-d5a72b { --rr-line-color: #D5A72B; }
.rr-line-color-b1d332 { --rr-line-color: #B1D332; }
.rr-line-color-167abc { --rr-line-color: #167ABC; }
.rr-line-color-0078c9 { --rr-line-color: #0078C9; }
.rr-line-color-009a49 { --rr-line-color: #009A49; }
.rr-line-color-de629b { --rr-line-color: #DE629B; }
.rr-line-color-8a8a8a { --rr-line-color: #8A8A8A; }
.rr-line-color-009640 { --rr-line-color: #009640; }
.rr-line-color-a1a1a1 { --rr-line-color: #A1A1A1; }
.rr-line-color-943e90 { --rr-line-color: #943E90; }
.rr-line-color-95c160 { --rr-line-color: #95C160; }
.rr-line-color-000099 { --rr-line-color: #000099; }
.rr-line-color-00bfff { --rr-line-color: #00BFFF; }
.rr-line-color-702785 { --rr-line-color: #702785; }
.rr-line-color-ff0000 { --rr-line-color: #FF0000; }
.rr-line-color-009900 { --rr-line-color: #009900; }
.rr-line-color-b51235 { --rr-line-color: #B51235; }
.rr-line-color-b50202 { --rr-line-color: #B50202; }

/* City filter in geo navigation. */
.rr-geo-nav .rr-geo-city.is-city-filter-hidden,
.rr-geo-nav .rr-geo-country.is-country-filter-hidden {
  display: none;
}

.rr-city-sections__group.is-collapsed .rr-city-sections__list {
  display: none;
}

.rr-geo-nav details.rr-geo-country > summary {
  list-style: none;
}

.rr-geo-nav details.rr-geo-country > summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 768px) {
  .rr-geo-nav details.rr-geo-country > .rr-geo-cities {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  .rr-geo-nav .rr-geo-head > div {
    position: relative;
    padding-right: 1.25rem;
    cursor: pointer;
  }

  .rr-geo-nav .rr-geo-head > div::after {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    border-right: 2px solid #9f1239;
    border-bottom: 2px solid #9f1239;
    transform: rotate(45deg);
    transition: transform 0.16s ease;
  }

  .rr-geo-nav.is-panel-collapsed .rr-geo-head {
    margin-bottom: 0;
  }

  .rr-geo-nav.is-panel-collapsed .rr-geo-head > div::after {
    transform: rotate(-45deg);
  }

  .rr-geo-nav.is-panel-collapsed .rr-geo-search-wrap,
  .rr-geo-nav.is-panel-collapsed .rr-geo-groups,
  .rr-geo-nav.is-panel-collapsed .rr-geo-empty {
    display: none !important;
  }

  .rr-geo-nav details.rr-geo-country[open].is-collapsed .rr-geo-cities {
    display: flex;
  }

  .rr-geo-nav details.rr-geo-country[open].is-collapsed .rr-geo-country-arrow {
    transform: rotate(45deg) translateY(-2px);
  }

  .rr-city-sections__group {
    padding: 0.75rem;
    overflow: hidden;
  }

  .rr-city-sections__group-head {
    position: relative;
    padding-right: 1.25rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
  }

  .rr-city-sections__group-head::after {
    content: '';
    position: absolute;
    right: 0.15rem;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    border-right: 2px solid #9f1239;
    border-bottom: 2px solid #9f1239;
    transform: rotate(45deg);
    transition: transform 0.16s ease;
    pointer-events: none;
  }

  .rr-city-sections__group.is-collapsed .rr-city-sections__group-head::after {
    transform: rotate(-45deg);
  }

  .rr-city-sections__group-head a {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 767px) {
  .rr-vacancy-table-scroll {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .rr-vacancy-table-scroll > table,
  .rr-vacancy-table-scroll > figure.wp-block-table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    margin-right: 0;
    margin-left: 0;
  }

  .rr-vacancy-table-scroll > figure.wp-block-table > table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
  }

  .rr-vacancy-table-scroll th,
  .rr-vacancy-table-scroll td {
    min-width: 140px;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .content.table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .content.table-scroll table,
  .content.table-scroll figure.wp-block-table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
  }

  .content.table-scroll th,
  .content.table-scroll td {
    min-width: 140px;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* Vacancy SEO tables */
.rr-vacancy-content,
.rr-vacancy-table-scroll {
  min-width: 0;
  max-width: 100%;
}

.rr-vacancy-table-scroll {
  box-sizing: border-box;
  display: block;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.rr-vacancy-table-scroll > table,
.rr-vacancy-table-scroll > figure.wp-block-table,
.rr-vacancy-table-scroll > figure.wp-block-table > table {
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: auto !important;
}

.rr-vacancy-table-scroll > figure.wp-block-table {
  display: block;
  margin-right: 0;
  margin-left: 0;
  overflow: visible;
}

.rr-vacancy-table-scroll th,
.rr-vacancy-table-scroll td {
  min-width: 140px;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

/* Mobile viewport/header width guard */
html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
}

.rr-site-header,
.rr-site-header-shell,
.rr-site-header-row {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.rr-site-header {
  flex: 0 0 auto;
}

/* Single vacancy mobile overflow guard */
.rr-vacancy-page,
.rr-vacancy-page * {
  box-sizing: border-box;
}

.rr-vacancy-page {
  overflow-x: clip;
}

.rr-vacancy-page,
.rr-vacancy-page > *,
.rr-vacancy-page section,
.rr-vacancy-page div,
.rr-vacancy-page nav,
.rr-vacancy-page ol,
.rr-vacancy-page li {
  min-width: 0;
}

.rr-vacancy-page [aria-label="Breadcrumb"] {
  max-width: 100%;
  overflow: hidden;
}

.rr-vacancy-page [aria-label="Breadcrumb"] ol {
  align-items: flex-start;
}

.rr-vacancy-page [aria-label="Breadcrumb"] li,
.rr-vacancy-page [aria-label="Breadcrumb"] a,
.rr-vacancy-page [aria-label="Breadcrumb"] span,
.rr-vacancy-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.rr-vacancy-page [aria-label="Breadcrumb"] span {
  display: inline;
}

@media (max-width: 639.98px) {
  .rr-vacancy-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rr-vacancy-page [aria-label="Breadcrumb"] ol {
    line-height: 1.35;
  }

  .rr-vacancy-title {
    font-size: 22px;
    line-height: 1.15;
  }

  .rr-vacancy-page > .bg-white {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Vacancy SEO table bottom spacing */
.rr-vacancy-content .rr-vacancy-table-scroll {
  margin-bottom: 15px !important;
}
