  /* import vars from Core theme */
/* import vars from this theme */
/* import UoR-adaptive-table sass from Core theme */
/*** uor-component-tabs-container styles ***/
.tabs-wrapper {
  margin: 0;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  body:not(.on-page-editor) .tabscontainer {
    max-width: 347px;
    margin-left: 20px;
    margin-bottom: 24px;
  }
}

/* Mobile Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  body:not(.on-page-editor) .tabscontainer {
    max-width: 480px;
    margin-bottom: 24px;
  }
}

/* Tablet Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
  body:not(.on-page-editor) .tabscontainer {
    max-width: 686px;
    min-width: 100%;
    margin-bottom: 24px;
  }
}

/* Tablet Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
  body:not(.on-page-editor) .tabscontainer {
    max-width: 100%;
    margin-bottom: 24px;
  }
}

/* Desktop and above */
@media only screen and (min-width: 992px) {
  body:not(.on-page-editor) .tabscontainer {
    max-width: 784px;
    min-width: 100%;
    margin-bottom: 24px;
  }
}

/* Experience Editor Only - layout isn't quite right here due to Editor div wrappers so set to 67% with margin to be close to how it will look when previewed or published */
body.on-page-editor .tabscontainer {
  max-width: 784px;
  min-width: 67%;
  margin-left: auto;
  margin-right: auto;
}

.tab-button {
  color: #6F7D14;
  -webkit-appearance: none;
  appearance: none;
  background: #FFFFFF;
  padding: 5px;
  border: 2px solid #6F7D14;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  height: 40px;
  z-index: 2;
}

.tab-button:hover {
  cursor: pointer;
  background: #ececec;
}

.tab-button:focus {
  color: #FFFFFF;
  background-color: #6F7D14;
}

.tab-prev {
  left: 0;
}

.tab-next {
  right: -2px;
}

.tab-button-hidden {
  display: none;
}

.tabs-wrapper .tabs {
  display: block;
  background: #FFFFFF;
  border-bottom: 1px solid #dbdbdb;
  margin: 0 2px 0 2px;
  box-sizing: border-box;
  font-family: effra,sans-serif;
  scroll-behavior: smooth;
  height: 40px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  /*FireFox fix*/
  scrollbar-width: none;
  /*IE10+ fix*/
  -ms-overflow-style: -ms-autohiding-scrollbar;
  position: relative;
  font-size: 0;
  width: 100%;
}

.tabs-wrapper .tabs::-webkit-scrollbar {
  /*Chrome, Safari, Edge*/
  display: none;
}

.tabs-wrapper .tabs .tab-radio {
  position: absolute;
  opacity: 0;
}

.tabs-wrapper .tabs .tab-label {
  width: auto;
  display: inline-block;
  height: 40px;
  padding: 5px 10px 5px 10px;
  background: #FFFFFF;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 18px;
  color: #6F7D14;
  -webkit-transition: background 0.1s, color 0.1s;
  transition: background 0.1s, color 0.1s;
}

.tabs-wrapper .tabs .tab-label:hover {
  background: #ECECEC;
  border-bottom: 4px solid #ececec;
}

.tabs-wrapper .tabs .tab-label:active {
  background: #ececec;
}

.tabs-wrapper .tabs .tab-radio:checked + .tab-label {
  color: #6F7D14;
  background: #ececec;
  height: 40px;
  border-bottom: 4px solid #6F7D14;
}

.tabs-wrapper .tabs .tab-radio:checked:focus + .tab-label {
  color: #FFFFFF;
  background-color: #6F7D14;
}

.tab-panels .tab-panel {
  display: none;
  width: 100%;
  padding: 0 15px;
  background: #FFFFFF;
  margin: 6px 0 0 0;
}

.tab-panel.active {
  display: block;
}

@media (min-width: 600px) {
  .tabs .tab-panel {
    -webkit-box-ordinal-group: 100;
    -ms-flex-order: 99;
    order: 99;
  }
}
