.text-and-image-slider {
  visibility: hidden;
  padding: 0;
}
.text-and-image-slider .admin-message {
  font-size: 12px;
  font-style: italic;
  text-align: center;
}
.wp-admin .text-and-image-slider,
.text-and-image-slider.show {
  visibility: visible;
}
.text-and-image-slider > .wrap { }
.text-and-image-slider .tais-navigation {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  justify-content: center;
  gap: 5px;
  list-style-type: none;
  max-width: 1450px;
  padding: 0 50px;
  margin: 0 auto 30px;
  border-bottom: 1px solid var(--grey);
}
.text-and-image-slider .tais-navigation li {
  margin: 0;
}
.text-and-image-slider .tais-navigation li button {
  display: block;
  position: relative;
  margin: 0;
  padding: 0.5em 1.25em 0.5em 1em;
  border: none;
  outline: none;
  background: transparent;
  color: var(--brand-grey);
  font-size: 21px;
  font-weight: 700;
  line-height: 1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 200ms ease-in-out;
}
.text-and-image-slider .tais-navigation li button:hover,
.text-and-image-slider .tais-navigation li.active button {
  background-color: var(--brand-green);
  color: var(--white);
  transition: all 200ms ease-in-out;
}
.text-and-image-slider .tais-navigation li button.bg-81b350:hover,
.text-and-image-slider .tais-navigation li.active button.bg-81b350 {
  background-color: var(--brand-green);
}
.text-and-image-slider .tais-navigation li button.bg-f28225:hover,
.text-and-image-slider .tais-navigation li.active button.bg-f28225 {
  background-color: var(--brand-orange);
}
.text-and-image-slider .tais-navigation li button.bg-00bbff:hover,
.text-and-image-slider .tais-navigation li.active button.bg-00bbff {
  background-color: var(--brand-blue);
}
.text-and-image-slider .tais-navigation li button.bg-939598:hover,
.text-and-image-slider .tais-navigation li.active button.bg-939598 {
  background-color: var(--grey);
}
.text-and-image-slider .tais-navigation li button.bg-4d4d4d:hover,
.text-and-image-slider .tais-navigation li.active button.bg-4d4d4d {
  background-color: var(--brand-grey);
}
.text-and-image-slider .tais-navigation li button.bg-333333:hover,
.text-and-image-slider .tais-navigation li.active button.bg-333333 {
  background-color: var(--text);
}
.text-and-image-slider .tais-navigation li button.bg-000000:hover,
.text-and-image-slider .tais-navigation li.active button.bg-000000 {
  background-color: var(--black);
}
.text-and-image-slider .tais-navigation li button.bg-000000:hover,
.text-and-image-slider .tais-navigation li.active button.bg-000000 {
  background-color: var(--black);
}
.text-and-image-slider .tais-navigation li button .text {
  position: relative;
  z-index: 1;
}
.text-and-image-slider .tais-navigation li.active button {
  padding-right: 3.25em;
}
.text-and-image-slider .tais-navigation li button::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent url('../../img/btn-bgs/white.small.png') right 2em center no-repeat;
  background-size: auto 0.5em;
  opacity: 0;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.text-and-image-slider .tais-navigation li.active button::before {
  opacity: 1;
  background-position: right 1em center;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.text-and-image-slider .tais-admin-slides {
  padding: 50px;
  background-color: var(--grey);
  text-align: center;
}
.text-and-image-slider .tais-admin-slides .text {
  font-size: 26px;
}

@media screen and (max-width: 900px) {

  .text-and-image-slider .tais-navigation {
    padding: 0;
    margin: 0 25px;
  }

}

@media screen and (max-width: 600px) {

  .text-and-image-slider .tais-navigation li button {
    font-size: 15px;
  }

}

@media screen and (max-width: 400px) {

  .text-and-image-slider .tais-navigation {
    margin: 0 20px;
  }

}