/**
 * Where are all the colors?
 *
 * Everything has been moved to the bedstone/functions/palette.php file.
 *
 * In SASS, you can use the color names as css variables. There's even a
 *     lighter/darker version of each color. Here are some examples:
 *     color: var(--palette-text);
 *     background-color: var(--palette-bg-alt);
 *     border-color: var(--palette-bg-alt-darker);
 */
.flexset {
  display: flex;
  flex-flow: row wrap;
  margin-left: -1vw;
  margin-right: -1vw;
  overflow: hidden;
}
.flexset > * {
  padding-left: calc(2vw / 2);
  padding-right: calc(2vw / 2);
}
.flexset--nogutter {
  margin-left: 0;
  margin-right: 0;
}
.flexset--nogutter > * {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 768px) {
  .flexset {
    display: flex;
    flex-flow: row wrap;
    margin-left: -1.5vw;
    margin-right: -1.5vw;
    overflow: hidden;
  }
  .flexset > * {
    padding-left: calc(3vw / 2);
    padding-right: calc(3vw / 2);
  }
  .flexset--nogutter {
    margin-left: 0;
    margin-right: 0;
  }
  .flexset--nogutter > * {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 991px) {
  .flexset {
    display: flex;
    flex-flow: row wrap;
    margin-left: -13px;
    margin-right: -13px;
    overflow: hidden;
  }
  .flexset > * {
    padding-left: calc(26px / 2);
    padding-right: calc(26px / 2);
  }
  .flexset--nogutter {
    margin-left: 0;
    margin-right: 0;
  }
  .flexset--nogutter > * {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 1199px) {
  .flexset {
    display: flex;
    flex-flow: row wrap;
    margin-left: -20px;
    margin-right: -20px;
    overflow: hidden;
  }
  .flexset > * {
    padding-left: calc(40px / 2);
    padding-right: calc(40px / 2);
  }
  .flexset--nogutter {
    margin-left: 0;
    margin-right: 0;
  }
  .flexset--nogutter > * {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 768px) {
  .tabs {
    display: flex;
  }
}
.tabs .tab-header {
  margin-right: 25px;
  min-width: 265px;
}

.tabs .tab-header > div {
  cursor: pointer;
  color: var(--palette-interactive);
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  border-radius: 5px;
  box-shadow: 0 0 8px #00000040;
  padding: 5px 10px;
}

.tabs .tab-header > div:hover,
.tabs .tab-header > div.active {
  box-shadow: 0 0 8px #2181a370;
  background: var(--palette-interactive);
  color: var(--palette-bg);
}
.tabs .tab-header > div:hover img,
.tabs .tab-header > div.active img {
  filter: brightness(0) invert(1);
}

.tabs .tab-header div img {
  max-width: 25px;
  margin-right: 5px;
}

.tabs .tab-content {
  position: relative;
  width: 100%;
}
.tabs .tab-content h3 {
  margin-top: 0;
}

.tabs .tab-content > div {
  visibility: hidden;
  padding: 0 12px;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
  height: 0;
  display: flex;
  flex-direction: column;
}

.tabs .tab-content > div.active {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.5s linear;
  height: auto;
}
