.d4plib-widget {
  border-bottom: 1px solid #DFDFDF;
  margin: 0 0 1em;
  min-width: 498px;
  font-size: 15px;
  line-height: 1.7;
}
.d4plib-widget h4 {
  background: #666;
  border-radius: 3px;
  color: #FEFEFE;
  font-size: 1.1em;
  margin: 1em 0 0.3em;
  padding: 0.2em 0.5em;
}
.d4plib-widget h5 {
  font-size: 1em;
  font-weight: bold;
  margin: 0 0 0.5em;
  padding: 0;
}
.d4plib-widget table {
  margin: 0 0 0.5em;
  width: 100%;
  border-collapse: collapse;
}
.d4plib-widget table.no-margin {
  margin: 0;
}
.d4plib-widget table td {
  vertical-align: top;
  padding-bottom: 0.5em;
  line-height: 1.7;
}
.d4plib-widget table td h4 {
  margin-top: 0;
}
.d4plib-widget table td p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 0.5em;
}
.d4plib-widget table td p:last-child {
  margin-bottom: 0;
}
.d4plib-widget table label {
  display: block;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.8;
}
.d4plib-widget table input[type=text] {
  width: 100%;
  max-width: 100%;
}
.d4plib-widget table select {
  width: 100%;
  max-width: 100%;
}
.d4plib-widget table select[multiple] {
  height: 5em;
}
.d4plib-widget table textarea {
  width: 100%;
  min-width: 100%;
  min-height: 10em;
}
.d4plib-widget table textarea.half-height {
  min-height: 5em;
}
.d4plib-widget table p {
  margin: 0;
}
.d4plib-widget table em {
  display: block;
  font-size: 0.9em;
  margin: 0.3em 0 0;
}
.d4plib-widget table em.solo-content {
  margin: 0;
}
.d4plib-widget table .cell-right,
.d4plib-widget table .cell-left {
  width: 49%;
}
.d4plib-widget table .cell-three-left,
.d4plib-widget table .cell-three-middle,
.d4plib-widget table .cell-three-right {
  width: 32%;
}
.d4plib-widget table .cell-three-middle,
.d4plib-widget table .cell-three-left,
.d4plib-widget table .cell-left {
  padding-right: 1%;
}
.d4plib-widget table .cell-three-middle,
.d4plib-widget table .cell-three-right,
.d4plib-widget table .cell-right {
  padding-left: 1%;
}
.d4plib-widget table .cell-shortcode {
  border: 1px dashed #BBB;
  padding: 0.75em 1em;
  font-size: 1.1em;
  line-height: 1.7;
  font-family: monospace;
  background: #F0F0F0;
}
.d4plib-widget .d4plib-widget-tabs {
  border-bottom: 1px solid #DFDFDF;
  display: block;
  margin: 1em 0;
  padding: 0 0 0 0.5em;
}
.d4plib-widget .d4plib-widget-tabs .d4plib-widget-tab {
  color: #666;
  display: inline-block;
  padding: 0.3em 0.6em;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  position: relative;
  bottom: -1px;
  margin: 0 0.3em 0 0;
  line-height: 1.8;
  font-size: 1em;
}
.d4plib-widget .d4plib-widget-tabs .d4plib-widget-tab:hover {
  background-color: #EEE;
}
.d4plib-widget .d4plib-widget-tabs .d4plib-widget-tab.d4plib-tab-active {
  border: 1px solid #DDD;
  font-weight: bold;
  border-bottom-color: #FFF;
  cursor: default;
  color: #333;
}
.d4plib-widget .d4plib-widget-tabs .d4plib-widget-tab.d4plib-tab-active:hover {
  background-color: transparent;
  border-bottom-color: #FFF;
}
.d4plib-widget .d4plib-widget-tabs .d4plib-widget-tab .dashicons {
  margin-top: 3px;
}
.d4plib-widget .d4plib-widget-tabs-content .d4plib-tab-content {
  display: none;
}
.d4plib-widget .d4plib-widget-tabs-content .d4plib-tab-content.d4plib-content-active {
  display: block;
}
.d4plib-widget .d4plib-widget-tabs-content .d4plib-tab-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.d4plib-widget .d4plib-widget-tabs-content .d4plib-tab-content .d4plib-checkbox-list label {
  font-weight: normal;
}
.d4plib-widget .d4plib-widget-tabs-content .d4plib-tab-content .d4plib-checkbox-list input[type=checkbox],
.d4plib-widget .d4plib-widget-tabs-content .d4plib-tab-content .d4plib-checkbox-list input[type=radio] {
  margin-bottom: -3px;
}
.d4plib-widget .d4plib-widget-tabs-content .wp-color-result {
  height: 28px;
  margin: 0 0.4em 0 0;
}
.d4plib-widget .d4plib-widget-tabs-content .wp-color-result:after {
  line-height: 28px;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-wrapper-hierarchy {
  margin: 0;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-wrapper-hierarchy li {
  margin: 2px 0;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-wrapper-hierarchy li label {
  font-weight: normal;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-wrapper-hierarchy ul.children {
  margin-left: 12px;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-content-wrapper {
  max-height: 160px;
  overflow: auto;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-setting-checkboxes label {
  font-weight: normal;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-check-uncheck {
  font-size: 0.9em;
  padding: 0 0 5px;
  margin: 0 0 5px;
  border-bottom: 1px dotted #CCC;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-check-uncheck a {
  text-decoration: none;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-check-uncheck a.d4p-check-all {
  margin-right: 0.5em;
}
.d4plib-widget .d4plib-widget-tabs-content .d4p-check-uncheck a i {
  vertical-align: -2px;
}
.d4plib-widget .d4plib-widget-tabs-content .wp-picker-container .wp-picker-input-wrap input.wp-picker-clear {
  height: 30px;
  line-height: 28px;
}
.d4plib-widget .d4plib-widget-tabs-content .wp-picker-container .iris-picker {
  width: 235px !important;
}
.d4plib-widget .d4plib-widget-tabs-content .wp-picker-container .iris-border .iris-picker-inner {
  bottom: 7px;
  left: 7px;
  right: 7px;
  top: 7px;
}
.d4plib-widget .d4plib-widget-tabs-content .wp-picker-container .iris-border .iris-palette-container {
  bottom: 7px;
  left: 7px;
}
.d4plib-widget .d4plib-widget-tabs-content .wp-picker-container .iris-border .iris-square {
  margin-right: 0.5em;
}

.editor-styles-wrapper .d4plib-widget {
  border-bottom: 0;
  margin: 0;
}
.editor-styles-wrapper .d4plib-widget h4 {
  margin: 15px 0 5px;
  padding: 2px 5px;
  font-weight: bold;
  text-decoration: none;
  border: 0;
  color: #FFF;
  font-size: 1em;
}
.editor-styles-wrapper .d4plib-widget em {
  font-size: 0.9em;
  line-height: 1.5;
}
.editor-styles-wrapper .d4plib-widget table {
  margin: 0 0 0.5em !important;
  border: 0 !important;
}
.editor-styles-wrapper .d4plib-widget table td {
  border: 0 !important;
}
