/*
Converts a pixel value to matching rem value. *Any* value passed, regardless of unit, is assumed to be a pixel value. By default, the base pixel value used to calculate the rem value is taken from the `$global-font-size` variable.
@access private
@param {Number} $value - Pixel value to convert.
@param {Number} $base [null] - Base for pixel conversion.
@returns {Number} A number in rems, calculated based on the given value and the base pixel value. rem values are passed through as is.
*/
/*
Removes the unit (e.g. px, em, rem) from a value, returning the number only.
@param {Number} $num - Number to strip unit from.
@returns {Number} The same number, sans unit.
*/
/*
Converts one or more pixel values into matching rem values.
@param {Number|List} $values - One or more values to convert. Be sure to separate them with spaces and not commas. If you need to convert a comma-separated list, wrap the list in parentheses.

@param {Number} $base [null] - The base value to use when calculating the `rem`. If you're using Foundation out of the box, this is 16px. If this parameter is `null`, the function will reference the `$base-font-size` variable as the base.

@returns {List} A list of converted values.
*/
.tabbed-content__top {
  overflow: hidden;
}

@media (min-width: 576px) {
  .tabbed-content__top {
    background: #ecedf1;
    margin-bottom: 4px;
  }
}

@media (max-width: 575.98px) {
  .tabbed-content__top-container {
    padding: 0;
    max-width: auto;
  }
}

.tabbed-content__tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -2px;
}

@media (min-width: 576px) {
  .tabbed-content__tabs {
    flex-wrap: nowrap;
    margin: 0;
  }
}

.tabbed-content__tab {
  background: #ecedf1;
  border: 0 solid #FFF;
  border-width: 0 2px;
  flex: 1 0 50%;
  margin-bottom: 4px;
  position: relative;
}

@media (min-width: 576px) {
  .tabbed-content__tab {
    border: 0;
    flex: 1 1 auto;
    margin: 0;
  }
  .tabbed-content__tab + .tabbed-content__tab {
    border-left: 4px solid #FFF;
  }
}

.tabbed-content__tab--active {
  background: #d9dbe2;
}

@media (min-width: 576px) {
  .tabbed-content__tab--active:first-child::before, .tabbed-content__tab--active:last-child::before {
    background: #d9dbe2;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    right: 100%;
    width: 50vw;
  }
  .tabbed-content__tab--active:last-child::before {
    right: auto;
    left: 100%;
  }
}

.tabbed-content__trigger {
  display: block;
  padding: 1.6666666667rem;
}

.tabbed-content__trigger {
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .tabbed-content__trigger {
    font-size: calc(16px + 6 * ((100vw - 768px) / 432));
  }
}

@media screen and (min-width: 1200px) {
  .tabbed-content__trigger {
    font-size: 22px;
  }
}

.tabbed-content__trigger, .tabbed-content__trigger:hover, .tabbed-content__trigger:active, .tabbed-content__trigger:focus, .tabbed-content__trigger:active:focus {
  color: #000;
  text-decoration: none;
}

.tabbed-content__panels {
  background: #d9dbe2;
  padding: 6.25rem 0;
}

.tabbed-content__panel {
  display: none;
  padding: 0 1.5rem;
}

.tabbed-content__panel--active {
  display: block;
}

/*# sourceMappingURL=fc-tabbed-content.css.map */
