:root {
  --d4p-ctrl-color-tabs-background: #FFF;
  --d4p-ctrl-color-tabs-text: #111;
  --d4p-ctrl-color-tabs-border: #BBB;
  --d4p-ctrl-color-tabslist-background: #DDD;
  --d4p-ctrl-layout-tabs-border-radius: 5px;
}

.d4p-ctrl-tabs {
  box-sizing: border-box;
}
.d4p-ctrl-tabs div[role=tablist] {
  border-bottom: 1px solid var(--d4p-ctrl-color-tabs-border);
  position: relative;
  margin: 0;
  display: flex;
  box-sizing: border-box;
}
.d4p-ctrl-tabs div[role=tablist] button[role=tab] {
  color: var(--d4p-ctrl-color-tabs-text);
  border: 1px solid var(--d4p-ctrl-color-tabs-border);
  border-radius: var(--d4p-ctrl-layout-tabs-border-radius) var(--d4p-ctrl-layout-tabs-border-radius) 0 0;
  background: transparent;
  border-bottom-color: transparent;
  display: inline-block;
  margin: 0 0.5em 0 0;
  padding: 0.5em 1.5em 0.5em;
  line-height: 1.7;
  font-size: 1.1em;
  font-weight: normal;
  bottom: -1px;
  cursor: pointer;
  position: relative;
  vertical-align: top;
}
.d4p-ctrl-tabs div[role=tablist] button[role=tab] i.d4p-icon {
  vertical-align: sub;
  margin: 0 0.2em 0 0;
  font-size: 1.2em;
}
.d4p-ctrl-tabs div[role=tablist] button[role=tab][aria-selected=true] {
  background: var(--d4p-ctrl-color-tabs-background);
  border-bottom-color: var(--d4p-ctrl-color-tabs-background);
  font-weight: bold;
}
.d4p-ctrl-tabs .d4p-ctrl-tabs-content {
  border-radius: 0 0 var(--d4p-ctrl-layout-tabs-border-radius) var(--d4p-ctrl-layout-tabs-border-radius);
  background: var(--d4p-ctrl-color-tabs-background);
  color: var(--d4p-ctrl-color-tabs-text);
  border: 1px solid var(--d4p-ctrl-color-tabs-border);
  width: 100%;
  padding: 1.5em;
  border-top: 0;
  margin: 0;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .d4p-ctrl-tabs.d4p-tabs-have-icons button[role=tab] span {
    display: none;
  }
}
.d4p-ctrl-tabs.d4p-tabs-in-group {
  margin: -15px !important;
}
.d4p-ctrl-tabs.d4p-tabs-in-group div[role=tablist] {
  justify-content: space-evenly;
}
.d4p-ctrl-tabs.d4p-tabs-in-group div[role=tablist] button[role=tab] {
  background: transparent;
  border-radius: 0;
  border: 0;
  opacity: 0.6;
}
.d4p-ctrl-tabs.d4p-tabs-in-group div[role=tablist] button[role=tab][aria-selected=true] {
  opacity: 1;
}
.d4p-ctrl-tabs.d4p-tabs-in-group .d4p-ctrl-tabs-content {
  border: 0;
  border-radius: 0;
  padding: 15px;
}
.d4p-ctrl-tabs.d4p-tabs-in-dialog {
  margin: -16px;
}
.d4p-ctrl-tabs.d4p-tabs-in-dialog div[role=tablist] {
  background-color: var(--d4p-ctrl-color-tabslist-background);
}
.d4p-ctrl-tabs.d4p-tabs-in-dialog div[role=tablist] button[role=tab] {
  border-radius: 0;
  border: 0;
}
.d4p-ctrl-tabs.d4p-tabs-in-dialog .d4p-ctrl-tabs-content {
  border-radius: 0;
  border-bottom: 0;
}

dl.d4p-ctrl-list {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  width: 100%;
  line-height: 2.2;
  margin: 0;
  padding: 0;
}
dl.d4p-ctrl-list dt {
  flex: 0 0 30%;
  word-break: break-all;
  margin: 0;
  font-weight: bold;
}
dl.d4p-ctrl-list dd {
  margin: 0 0 0 auto;
  text-align: left;
  flex: 0 0 70%;
  word-break: break-all;
}

.d4p-ctrl-tabs-content dl.d4p-ctrl-list:not(:first-child) {
  margin: 1em 0 0;
  padding: 1em 0 0;
  border-top: 1px solid #DDD;
}
