/**
 * @file
 * Visual styles for tabs.
 */
div.tabs {
  margin: 1em 0; }

ul.tabs {
  border-bottom: 1px solid var(--mt-color-primary);
  margin: 10px 0 30px 0;
  font-size: 20px;
  text-align: center;
  padding: 0;
  list-style: none; }
  ul.tabs.primary {
    margin-bottom: 0; }
  ul.tabs > li {
    padding: 0;
    margin-left: 0;
    display: inline-block; }
    ul.tabs > li a {
      margin: 0 5px;
      padding: 5px 20px;
      display: block;
      color: #636363;
      text-decoration: none;
      position: relative;
      margin-bottom: 1px; }
      ul.tabs > li a.is-active {
        border-bottom: 1px solid var(--mt-color-primary);
        margin-bottom: 0;
        background-color: #fff; }
        ul.tabs > li a.is-active:after {
          color: var(--mt-color-primary); }
        ul.tabs > li a.is-active:hover:after {
          color: #ffffff; }
      ul.tabs > li a:hover {
        background-color: var(--mt-color-primary);
        color: #ffffff; }
      ul.tabs > li a:after {
        content: "\f0d8";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        bottom: -7px;
        text-align: center;
        width: 100%;
        left: 0;
        color: #ffffff;
        font-size: 20px;
        line-height: 20px; }

[dir="rtl"] .tabs > li {
  margin-right: 0;
  margin-left: 0.3em; }

.tabs a.is-active {
  background-color: #eee; }

.tabs a:focus,
.tabs a:hover {
  background-color: #f5f5f5; }
