/**
 * tab-item is hidden by default
 */
.tab-item {
  margin: 0.5em 0;
}
.tab-item .tab-item__header {
  cursor: pointer;
  border-bottom: solid 1px #747576;
  font-size: 19rem / 16px;
  padding: 10px 46px 10px 0;
  position: relative;
}
.tab-item .tab-item__header p {
  display: inline-block;
}
.tab-item .tab-item__content {
  padding: 60px 0;
}
@media (max-width: 1210px) {
  .tab-item .tab-item__content {
    padding: 60px 10px;
  }
}
.wp-block-heinens-tabs {
  background: #FFFFFF;
}
.wp-block-heinens-tabs.tabs-wrapper {
  position: relative;
}
.wp-block-heinens-tabs.tabs-wrapper .tab-item {
  display: none;
  max-width: 1190px;
  margin: 0 auto;
}
.wp-block-heinens-tabs.tabs-wrapper .tab-item.active {
  display: block;
}
.wp-block-heinens-tabs.tabs-wrapper .tab-item .tab-item__content {
  position: relative;
}
.wp-block-heinens-tabs.tabs-wrapper .tab-headers {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  border: solid 1px #4B4F54;
  border-left: none;
  border-right: none;
  text-transform: uppercase;
  font-size: 18px;
}
.wp-block-heinens-tabs.tabs-wrapper .tab-headers .tab-item__header {
  flex-grow: 1;
  text-align: center;
  padding: 20px 10px;
  cursor: pointer;
}
.wp-block-heinens-tabs.tabs-wrapper .tab-headers .tab-item__header.active {
  background: #4B4F54;
  color: #FFFFFF;
}
@media (max-width: 1023px) {
  .wp-block-heinens-tabs.tabs-wrapper .tab-headers {
    display: block;
    position: relative;
    z-index: 1;
  }
  .wp-block-heinens-tabs.tabs-wrapper .tab-headers .tab-item__header {
    margin-top: 0;
    margin-bottom: 0;
    top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    display: none;
    position: relative;
  }
  .wp-block-heinens-tabs.tabs-wrapper .tab-headers .tab-item__header.active {
    padding-top: 10px;
    display: block;
    border-bottom-color: #747576;
  }
  .wp-block-heinens-tabs.tabs-wrapper .tab-headers .tab-item__header.active:after {
    content: "";
    background: transparent url("../../../images/default-select-arrows-white.svg") no-repeat right;
    width: 22px;
    height: 22px;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -11px;
    display: block;
    overflow: hidden;
  }
  .wp-block-heinens-tabs.tabs-wrapper .tab-headers.expanded {
    overflow: visible;
  }
  .wp-block-heinens-tabs.tabs-wrapper .tab-headers.expanded .tab-item__header {
    display: block;
  }
}
