/*---------------------------------------------------------------------------------------------
*
*  Flexible Content
*
*---------------------------------------------------------------------------------------------*/
.acf-flexible-content {
  position: relative;
}
.acf-flexible-content > .clones {
  display: none;
}
.acf-flexible-content > .values {
  margin: 0 0 8px;
}
.acf-flexible-content > .values > .ui-sortable-placeholder {
  visibility: visible !important;
  border: 1px dashed #b4b9be;
  box-shadow: none;
  background: transparent;
}
.acf-flexible-content .layout {
  position: relative;
  margin: 20px 0 0;
  background: #fff;
  border: 1px solid #e1e1e1;
}
.acf-flexible-content .layout:first-child {
  margin-top: 0;
}
.acf-flexible-content .layout .acf-fc-layout-handle {
  display: block;
  position: relative;
  padding: 8px 10px;
  cursor: move;
  border-bottom: #E1E1E1 solid 1px;
  color: #333333;
  font-size: 14px;
  line-height: 1.4em;
}
.acf-flexible-content .layout .acf-fc-layout-order {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
  line-height: 20px;
  margin: 0 2px 0 0;
  background: #F1F1F1;
  font-size: 12px;
  color: #666;
}
html[dir="rtl"] .acf-flexible-content .layout .acf-fc-layout-order {
  float: right;
  margin-right: 0;
  margin-left: 5px;
}
.acf-flexible-content .layout .acf-fc-layout-controls {
  position: absolute;
  top: 8px;
  right: 8px;
}
.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon {
  display: block;
  float: left;
  margin: 0 0 0 5px;
}
.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-plus,
.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-minus {
  visibility: hidden;
}
.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-collapse {
  color: #72777c;
  border-color: transparent;
}
.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-collapse:hover {
  color: #23282d;
  background: transparent;
}
html[dir="rtl"] .acf-flexible-content .layout .acf-fc-layout-controls {
  right: auto;
  left: 9px;
}
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus,
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus {
  visibility: visible;
}
.acf-flexible-content .layout.-collapsed > .acf-fc-layout-handle {
  border-bottom-width: 0;
}
.acf-flexible-content .layout.-collapsed > .acf-fields,
.acf-flexible-content .layout.-collapsed > .acf-table {
  display: none;
}
.acf-flexible-content .layout > .acf-table {
  border: 0 none;
  box-shadow: none;
}
.acf-flexible-content .layout > .acf-table > tbody > tr {
  background: #fff;
}
.acf-flexible-content .layout > .acf-table > thead > tr > th {
  background: #F9F9F9;
}
.acf-flexible-content .no-value-message {
  padding: 19px;
  border: #ccc dashed 2px;
  text-align: center;
  display: none;
}
.acf-flexible-content.-empty > .no-value-message {
  display: block;
}
.acf-fc-popup {
  padding: 5px 0;
  z-index: 900001;
  min-width: 135px;
}
.acf-fc-popup ul,
.acf-fc-popup li {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}
.acf-fc-popup li {
  position: relative;
  float: none;
  white-space: nowrap;
}
.acf-fc-popup .badge {
  display: inline-block;
  border-radius: 8px;
  font-size: 9px;
  line-height: 15px;
  padding: 0 5px;
  background: #d54e21;
  text-align: center;
  color: #fff;
  vertical-align: top;
  margin: 0 0 0 5px;
}
.acf-fc-popup a {
  color: #eee;
  padding: 5px 10px;
  display: block;
  text-decoration: none;
  position: relative;
}
.acf-fc-popup a:hover {
  background: #0073aa;
  color: #fff;
}
.acf-fc-popup a.disabled {
  color: #888;
  background: transparent;
}