/* Tab Menu */
.tab-menu {
  background-color: #f9f7f7;
  border-top: 2px solid #ffffff;
  padding: 0;
  margin-bottom: 16px;
}

.tab-menu .container {
  width: 100%;
}

.tab-menu .tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.tab-menu .tab button {
  width: 100%;
  height: 58px;
  padding: 10px 16px;
  text-wrap: nowrap;
  background-color: inherit;
  border: none;
  cursor: pointer;
  transition: 0.3s;

  font-family: Ubuntu;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  text-align: center;
  color: #353535;
}

.tab-menu .tab button:not(:first-of-type) {
  border-left: 2px solid #ffffff;
}

.tab-menu .tab button.active,
.tab-menu .tab button:focus {
  color: #df0611;
}

.tab-menu .tab a {
  width: 100%;
  height: 58px;
  padding: 10px 16px;

  display: flex;
  align-items: center;

  text-wrap: nowrap;
  background-color: inherit;
  border: none;
  cursor: pointer;
  transition: 0.3s;

  font-family: Ubuntu;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  text-align: center;
  color: #353535;
}

.tab-menu .tab a:not(:first-of-type) {
  border-left: 2px solid #ffffff;
}

.tab-menu .tab a.active,
.tab-menu .tab a:focus {
  color: #df0611;
}

@media (min-width: 1280px) {
  .tab-menu {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .tab-menu .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .tab-menu .tablinks {
    display: inline-block;
    transition: text-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
  }

  .tab-menu .tablinks:hover {
    text-shadow: 0 0 0.3px currentColor, 0 0 0.3px currentColor;
    transform: scale(1.01);
  }

  .tab-menu .tablinks {
    will-change: transform, text-shadow;
  }
  
  .tab-menu .tablinks.active {
    color: #DF0611;
  }

  .tab-menu .tablinks.active a {
    color: #DF0611;
  }
}
