/* CAROUSEL PAGINATION */

.owl-carousel .owl-controls {
  /* display: block !important; */
  margin-top: 0 !important;
}

.owl-pagination .owl-page {
  margin: 10px 5px;
  width: 19px;
  height: 19px;
}

.owl-pagination .owl-page::after {
  /* -webkit-transition: none;
              transition: none; */
  transform: none;
  transform: none;
}

.owl-pagination .owl-page span {
  /* -webkit-transition: none;
              transition: none; */
  transform: none;
  transform: none;

  /* background-color: rgba(0, 0, 0, .3); */
  background-color: white;
  border: 2px solid rgb(151 151 151);
}

.owl-pagination .owl-page.active span {
  transform: none;
  transform: none;
  opacity: 1 !important;
  -moz-opacity: 1 !important;
  -webkit-opacity: 1 !important;
  background-color: #d8d8d8;
}

.owl-carousel div.owl-wrapper-outer {
  padding-bottom: 5px;
}

.blog div.excerpt {
  margin-bottom: 0;
}

/* END CAROUSEL PAGINATION */

.flex-control-nav li {
  margin-right: 10px;
}

.flex-control-nav li a {
  border-radius: 50%;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 2px solid rgb(151 151 151);
}

.flex-control-nav li a.flex-active {
  background-color: #d8d8d8;
}

.new-slider .flex-control-nav {
  bottom: 0;
}

.flexslider ul li {
  padding-bottom: 0;
}

/* CUSTOM TABS */

div.tabs-slider {
  background-color: #d8d8d8;
}

div.row > div.spb-row-container.custom-tabs {
  display: block;
}

div.row > div.spb-row-container.tabs-slider {
  display: none;
}

@media screen and (max-width: 767px) {
  /* hide custom tabs on small screens
        transform into slider */
  div.row > div.spb-row-container.custom-tabs {
    display: none;
  }

  div.row > div.spb-row-container.tabs-slider {
    display: block;
  }
}

div.row div.spb_testimonial_slider_widget {
  padding-top: 0;
}

.flexslider .slides div.tabs-slider-content {
  display: box;
  display: flex;
  display: flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 30px 15px 80px;
  margin-left: 15px;
  margin-right: 15px;
}

.flexslider .slides div.tabs-slider-image {
  /* margin: auto; */
  padding-bottom: 15px;
}

.flexslider .slides div.tabs-slider-image img {
  width: 100px;
  height: 100px;
}

div.tabs-slider div.tabs-slider-headline p {
  margin-bottom: 24px;
}

div.tabs-slider div.tabs-slider-headline span {
  margin: auto;
  margin-top: 10px;
  padding: 0 15px;

  /* color: #7a7776 !important; */
  font-family: "Ubuntu Light", Ubuntu, "Source Sans Pro", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  -epub-text-transform: uppercase;
  color: #000 !important;
  border-bottom-color: #9bc23b !important;
  border-bottom: solid;
  font-size: 19px;
}

div.tabs-slider div.tabs-slider-text {
  width: 100%;
}

ul.nav.nav-tabs {
  display: box;
  display: flex;
  display: flexbox;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

ul.nav.nav-tabs > li {
  -webkit-box-flex: 1;
  flex: 1 0 auto;
  flex: 1 0 auto;
  text-align: center;
  padding: 10px;
  border: none;
}

ul.nav.nav-tabs > li.active {
  background-color: #fff;
}

ul.nav.nav-tabs > li > a {
  border: none !important;
  color: #7a7776 !important;
  font-family: "Ubuntu Light", Ubuntu, "Source Sans Pro", sans-serif;
  font-weight: normal !important;
  padding-bottom: 4px;
  padding-top: 4px;
}

ul.nav.nav-tabs > li > a:hover {
  box-shadow: none;
  box-shadow: none;
  color: #544741 !important;
}

ul.nav.nav-tabs > li.active > a {
  /* avoid conflict with .spb_tabs .nav-tabs li.active a */
  background-color: transparent !important;
  border: none !important;
  padding-bottom: 4px;
  padding-top: 4px;
}

ul.nav.nav-tabs > li > a > span {
  padding: 4px;
  font-weight: bold;

  /* font-size: 125%; */
}

ul.nav.nav-tabs > li.active > a > span {
  color: #000 !important;
  border-bottom-color: #9bc23b !important;
  border-bottom: solid;
}

ul.nav.nav-tabs > li > a:hover > span {
  border-bottom-color: rgb(155 194 59 / 50%) !important;
  border-bottom-style: solid;
}

ul.nav.nav-tabs > li.active > a:hover > span {
  border-bottom-color: rgb(155 194 59) !important;
}

div.tab-content {
  padding-top: 3%;
}

div.tab-pane div.row {
  display: box;
  display: flex;
  display: flexbox;
  display: flex;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
}

div.tab-pane div.row div.custom-tabs-image {
  margin-bottom: 0;
}

div.tab-pane div.row div.custom-tabs-text {
  margin-bottom: 0;
}

div.tab-pane div.row div.custom-tabs-text p {
  margin-bottom: 0;
}

.spb-row-container > div.custom-tabs-nav-background {
  background-color: #d8d8d8;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
}

/* END CUSTOM TABS */

@media screen and (min-width: 768px) {
  div.tab-pane p {
    font-size: 16px;
  }
}

@media screen and (min-width: 992px) {
  div.tab-pane p {
    font-size: 19px;
  }
}

@media screen and (min-width: 1200px) {
  div.tab-pane p {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  div.tab-pane p {
    font-size: 16px;
  }

  .testimonials-slider .flex-control-nav {
    bottom: 15px;
  }

  /* removes padding on small screens to allow more content */

  /* could conflict with other styles */
  .fw-row > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
