/**
 * Tabs Container
 */
 .tabs-container {
}

/**
 * Tabs Block
 */
.tabs-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

/**
 * Tabs
 */
.tabs {
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 0;
}

.tabs > label,.tabs .labels-wrapper label {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  cursor: pointer;
  background-color: #fff;
  color: #70747e;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: background-color ease 0.3s;
}
.tabs > label {
  display: none;
}
.section-user-journey .tabs label {
  display: flex;
}
.labels-wrapper {
  display: flex;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.tabs label .material-icons {
  margin-right: 0.3rem;
}

.tabs .tab {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  display: none;
  padding-top: 32px;
  color: #000;
  background-color: #fff;
}

body:not(.section-user-journey) {
  .tabs .tab > *:not(:last-child) {
    margin-bottom: 0.8rem;
  }
}

.tabs [type="radio"] {
  display: none;
}

.tabs label.active {
  background-color: var(--color-light-blue);
  color: var(--color-main-buttons);
  border-bottom: 4px solid var(--color-main-buttons);
}

.tabs [type="radio"]:checked + label + .tab , .tabs [type="radio"]:checked + .tab {
  display: block;
}
@media (min-width: 768px) {
  body:not(.section-user-journey) {
    /* font-size: 1.125rem; */
  }

  .tabs-container {
  }

  .tabs label {
    display: flex;
    order: 1;
    width: auto;
  }

  .tabs .tab {
    order: 9;
  }

}
@media (min-width: 992px) {
  .tabs {
    width: 100%;
  }
}

/* USER JOURNEY */
.section-user-journey .tabs {
  --tabs-top: calc(var(--header-height) - 1px); /* 1px safe for sticky text overflow on top */
  padding: var(--gap-1);
}

.section-user-journey .tabs label,
.section-user-journey .tabs input {
  position: sticky;
  top: var(--tabs-top);
  background: #fff;
  color: var(--color-5);
  order: -1;
  font-family: var(--font-family-uj-basic);
  font-size: var(--font-size-small-2);
  text-transform: uppercase;
  font-weight: normal;
  padding: var(--gap-2) var(--gap-1);
  border-radius: initial;
  border-bottom: 2px solid var(--color-4);
  transition: 0.2s;
  /* make it above map tab */
  z-index: 3; 
  flex: 1 1 0;
}

.section-user-journey .tabs [type="radio"]:checked + label,
.section-user-journey .tabs [type="radio"]:hover + label {
  background: #fff;
  color: var(--color-primary);
  border-top: none;
  box-shadow: none;
  border-bottom: 2px solid var(--color-secondary);
  font-weight: bold;
}

.section-user-journey .tabs .tab {
  box-shadow: none;
  padding: var(--gap-2);
  color: var(--color-dark-grey);
}
.section-user-journey .tabs .tab > * + * {
  margin-top: var(--gap-4);
}

/* sm up (large mobile+) */
@media (min-width: 576px) {
  .section-user-journey .tabs label,
  .section-user-journey .tabs input {
    font-size: var(--font-size-small);
  }
}
/* md up (tablet+) */
@media (min-width: 768px) {
  .section-user-journey .tabs {
    --tabs-top: calc(var(--header-height) + var(--journey-categories-height) - 1px); /* 1px safe for sticky text overflow on top */
  }
}




.onboard-page .tabs-wrapper > .tabs-container > .tabs-block > .tabs {
	background-color: unset;
}
.onboard-page .tabs-wrapper > .tabs-container > .tabs-block > .tabs [type="radio"]:checked + label {
  color: #7D8526 !important;
  border-bottom: 2px solid #7D8526 !important;
  box-shadow: unset !important;
}
.onboard-page .tabs-wrapper > .tabs-container > .tabs-block > .tabs > .tab {
  box-shadow: unset !important;
  padding-left: 0px;
  padding-right: 0px;

}
.onboard-page .tabs-wrapper > .tabs-container > .tabs-block > .tabs > .tab > form > div {
  padding-left: 0px;
  padding-right: 0px;
}
.onboard-page .tabs-wrapper > .tabs-container > .tabs-block > .tabs > label {
  width: 50%;
  background-color: unset;
  color: #BCBCBC;
  font-weight: normal;
  border-bottom: 2px solid #BCBCBC !important;
}
