/****************
 * Fonts
 ****************/
/****************
 * Colors
 ****************/
/****************
 * Grid Settings
 ****************/
/**************
 * Buttons
 **************/
/****************
 * Blocks
 ****************/
.block-tabs {
  overflow: hidden;
}

.tabs__link-list {
  overflow-x: auto;
  margin: 0.5rem 0 1.375rem;
  padding-left: 1.25rem;
  list-style: none;
  white-space: nowrap;
}
.tabs__link-list:before, .tabs__link-list:after {
  content: "";
  display: table;
}
.tabs__link-list:after {
  clear: both;
}
@media (min-width: 768px) {
  .tabs__link-list {
    margin: 0.25rem 0 1.875rem;
    padding-left: 0;
  }
}
.tabs__link-list li {
  margin-bottom: 0.25rem !important;
}
.tabs__link-list li::before {
  content: none !important;
}
.tabs__link-list-wrapper {
  position: relative;
}
.tabs__link-list-wrapper.has-scroll::before {
  display: block;
}
.tabs__link {
  font-size: 0.9375rem;
  font-weight: 700;
  float: left;
  display: inline-block;
  margin: 0;
  border-bottom: 0.0625rem solid #e0e0e0;
}
@media (min-width: 576px) {
  .tabs__link {
    float: none;
  }
}
.tabs__link a {
  position: relative;
  display: block;
  padding: 0.875rem 1.125rem 0.625rem 1.125rem;
  transition: color 0.2s linear;
  text-align: center;
  text-decoration: none;
  color: #3a3a3a;
  font-size: 0.875rem;
  line-height: 1.1428571429;
  font-weight: 700;
  line-height: 1.125rem;
}
@media (min-width: 768px) {
  .tabs__link a {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
  }
}
@media (min-width: 576px) {
  .tabs__link a {
    line-height: 1.5rem;
    padding: 0.875rem 1.6875rem 0.625rem 1rem;
    min-width: 12.5rem;
  }
}
.tabs__link a:hover {
  background-color: #f7f7f7;
}
.tabs__link a:focus, .tabs__link a:hover {
  color: inherit;
}
.tabs__link a:after {
  position: absolute;
  right: auto;
  bottom: -0.0625rem;
  left: 0;
  display: block;
  width: 0;
  height: 0.125rem;
  content: "";
  transition: all 0.2s linear;
}
[data-theme=bba] .tabs__link a:after {
  background-color: #db0029;
}
[data-theme=bbf] .tabs__link a:after {
  background-color: #8c0247;
}
.tabs__link.active a::after {
  width: 100%;
}
.tabs__tab-content {
  position: static;
  visibility: visible;
  transition: opacity 0.2s linear;
  opacity: 1;
}
.tabs__tab-content:not(.active) {
  position: absolute;
  left: -624.9375rem;
  visibility: hidden;
  opacity: 0;
}
.tabs__tab-content p {
  margin-bottom: 1.5rem;
}
@media (min-width: 576px) {
  .tabs__tab-content p {
    margin-bottom: 2.375rem;
  }
}
.tabs__tab-content p img {
  margin-bottom: 0.1875rem;
}
@media (min-width: 576px) {
  .tabs__tab-content p img {
    margin-bottom: -0.3125rem;
  }
}
.tabs__divider {
  font-size: 0;
  overflow: hidden;
  height: 0.0625rem;
  margin-top: 2.9375rem;
  background: #b2b2b2;
}
@media (min-width: 768px) {
  .tabs__divider {
    margin-top: 4.9375rem;
  }
}

.tab-head-wrap {
  position: relative;
}
@media (max-width: 767.98px) {
  .tab-head-wrap {
    margin: 0 -1.25rem;
  }
  .tab-head-wrap .tab-head:before, .tab-head-wrap .tab-head:after {
    content: "";
    display: table;
  }
  .tab-head-wrap .tab-head:after {
    clear: both;
  }
}
.tab-head-wrap.has-scroll:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 4.375rem;
  content: "";
  background-image: linear-gradient(270deg, #f7f7f7 0%, rgba(247, 247, 247, 0) 100%);
}

h2 + .block-tabs {
  margin-top: -0.375rem;
}