/* =============================================================================
   Text Image
   ========================================================================== */

.-main .textImage {
  border-top: 1px solid rgb(var(--c-neutral-light));
  padding: 1.5em 0 0 0;
}

.textImage__imageWrap {
  margin-bottom: 1.5em;
  overflow: hidden;
}

.textImage__image {
  background-position: center center;
  background-size: cover;
  padding-bottom: 55%;
  transition: transform 0.3s ease;
}

.textImage__text {
  text-align: center;
}

.textImage__smalltree {
  width: 32px;
  height: 30px;
  margin: 0 auto 0.5em auto;
  background: url("../../Images/smalltree.png") no-repeat center / contain;
}

@media (hover: hover) {
  .textImage__image:hover {
    transform: scale(1.2);
  }
}

@media (min-width: 800px) {
  .-main .textImage {
    border-bottom: 1px solid rgb(var(--c-neutral-light));
    padding-bottom: 1.5em;
  }

  .grid__col.-w25 .textImage__image {
    padding-bottom: 130%;
  }
}

@media (min-width: 1024px) {
  .grid__col3-382438__col:nth-child(2) .textImage__image {
    padding-bottom: 130%;
  }

  .frame-type-col3-382438 .frame-type-dce_dceuid1,
  .frame-type-col3-382438 .textImage {
    height: 100%;
  }
}

/* =============================================================================
   Tabs
   ========================================================================== */

.frame.frame-type-dce_dceuid2 {
  padding-bottom: 0;
}

.frame-type-dce_dceuid2 .tabs {
  font-size: var(--f-size);
  grid-column: span 5;
}

.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 1.5em 0;
  padding: 0;
  list-style: none;
}

.tabs__tab {
  margin: 0;
  list-style-type: none;
}

.tabs__tab a {
  display: block;
  padding: 5px;
  color: rgb(var(--c-neutral-dark));
  text-align: center;
}

.tabs__tab.-active a {
  color: rgb(var(--c-neutral-lightest));
}

.tabs__tab.-active {
  background: rgb(var(--c-primary));
  border-radius: 50%;
}

.tabs__iconWrap {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto;
}

.tabs__icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.tabs__icon img {
  height: 100%;
}

.tabs__iconHover {
  display: none;
}

.tabs__tab.-active .tabs__icon {
  display: none;
}

.tabs__tab.-active .tabs__iconHover {
  display: block;
}

.tabs__title {
  display: none;
}

.tabs__panel {
  display: none;
  position: relative;
}

.tabs__panel.-active {
  display: block;
}

.tabs__panelImage {
  background-position: center center;
  background-size: cover;
  padding-bottom: 38%;
}

.tabs__panelTextWrap {
  position: relative;
  background: rgb(var(--c-neutral-lighter));
  padding: 2em 4%;
}

.tabs__panelTitle {
  display: block;
  color: rgb(var(--c-primary-dark));
  font-weight: var(--f-weight-sb);
  text-transform: uppercase;
}

.tabs__panelTitle a {
  color: rgb(var(--c-primary-dark));
}

.tabs__panelBody {
  padding: 0.5em 0 0 0;
  font-style: italic;
}

@media (min-width: 640px) {
  .tabs__title {
    display: block;
    margin-top: 0.5em;
    font-size: 75%;
    font-style: italic;
  }

  .tabs__nav {
    margin-bottom: -1rem;
    z-index: 10;
    position: relative;
  }

  .tabs__tab {
    border-radius: 0;
    padding: 2rem 0.5rem;
    max-width: 124px;
  }

  .tabs__tab.-active {
    border-radius: 0;
  }
}

@media (min-width: 800px) {
  .tabs__panelTextWrap {
    position: absolute;
    right: 4%;
    bottom: 0;
    width: 92%;
    max-width: 600px;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .tabs__panelTitle {
    display: inline-block;
    max-width: 100%;
    padding: 0.5rem 2rem;
    background: rgb(var(--c-primary));
    color: rgb(var(--c-neutral-lightest));
    float: right;
    text-transform: none;
  }

  .tabs__panelTitle a {
    color: rgb(var(--c-neutral-lightest));
    font-style: italic;
  }

  .tabs__panelBody {
    padding: 2rem;
    background: rgb(var(--c-neutral-lightest));
    float: right;
  }

  .tabs__tab {
    max-width: 160px;
  }
}


@media (min-width: 1580px) {
  .tabs__panelTextWrap {
    right: calc(50vw - 720px);
  }

  .tabs__panelImage {
    padding-bottom: 700px;
  }
}

/* =============================================================================
   Insert Badge
   ========================================================================== */

.insertBadge {
  position: absolute;
  right: 0;
  bottom: 140px;
  z-index: 300;
  font-size: 46%;
  text-align: right;
}

.insertBadge__text {
  display: block;
  background: rgba(var(--c-secondary), 0.8);
  color: rgb(var(--c-neutral-lightest));
  font-size: 225%;
  line-height: 130%;
  padding: 0.8em 3em;
  text-align: left;
  font-style: italic;
}

.insertBadge__link {
  display: inline-block;
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  padding: 0.2em 1.3em;
  font-size: 120%;
  font-style: italic;
}

.insertBadge__link .font__far {
  color: rgb(var(--c-neutral-lightest));
  font-size: 100%;
}

@media (min-width: 640px) {
  .insertBadge {
    bottom: 220px;
  }
}

@media (min-width: 800px) {
  .insertBadge {
    font-size: 0.8vw;
    bottom: 280px;
  }
}

@media (min-width: 1580px) {
  .insertBadge {
    font-size: 100%;
  }

  .insertBadge__text {
    font-size: 200%;
  }
}
