/* Flexible Content Column Control Styles */
/*Admin Bar Item*/
#wpadminbar #wp-admin-bar-live-edit > .ab-item:before {
    content: '\f155';
    top: 2px;
}

/*Prevent scroll when reveal-modal active*/
body.reveal-modal-active {
    overflow: hidden;
}

/*Fix Front End Fonts*/
[data-name='flexible_content_editor'], [data-name='layout_editor'] {
    font-family: 'Open Sans', sans-serif;
}

/*Live Edit Reveal Modal*/
.reveal-modal {
    padding: 0.9375rem !important;
    width: 100% !important;
    left: 0%;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: 0 auto !important;
    position: fixed !important;
    overflow: auto !important;
    z-index: 99999;
    display: block !important;
    visibility: hidden;
    opacity: 1 !important;
}

.reveal-modal.active {
    visibility: visible;
}

body.reveal-modal-active #edit_post_modal {
    visibility: visible !important;
}

.reveal-modal .close-reveal-modal {
    z-index: 99999;
    position: fixed;
    top: 44px;
}

/*Live Edit Control Dock*/
.control-dock {
    position: fixed;
    width: 60%;
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 12px 12px 0px 0px;
    background: #fff;
    opacity: 0;
    z-index: -1;
    margin: 0 auto;
    padding: 0.75rem 1rem 0.5rem;
    border: 1px solid #444;
    border-bottom: 0px;
    box-shadow: 0px -1px 6px -3px rgba(0, 0, 0, 0.9);
    transition: opacity 250ms linear;
    -webkit-transition: opacity 250ms linear;
}

.control-dock button:hover {
    background: #186990;
}

body.open-modal .control-dock {
    visibility: hidden;
}

body.live-edit .control-dock {
    opacity: 0.95 !important;
    z-index: 99998;
    transition: opacity 250ms linear;
    -webkit-transition: opacity 250ms linear;
}

.acf-button, .control-button, .openModal .wp-core-ui .button-primary, #apply_changes, #cancel_changes {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    border: 0;
    border-radius: 2px;
    font-family: Montserrat, 'Helvetica Neue', sans-serif;
    font-weight: 700;
    letter-spacing: 0.046875em;
    line-height: 1;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.8rem;
}

.acf-button.button-large, .reveal-modal .cancel, #apply_changes, #cancel_changes, .confirm-wrapper #ok {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    border: 0;
    border-radius: 2px;
    font-family: Montserrat, 'Helvetica Neue', sans-serif;
    font-weight: 700;
    letter-spacing: 0.046875em;
    line-height: 1;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.8rem;
    padding: 0.84375em 0.875em 0.78125em;
    margin-bottom: 0;
    cursor: pointer;
}

.confirm-wrapper #apply_changes, .confirm-wrapper #ok {
    margin-right: 0.25rem;
}

.confirm-wrapper #apply_changes:hover, .confirm-wrapper #ok:hover {
    background: #186990 !important;
    color: #fff !important;
}

.control-button {
    margin-right: 0.5rem;
    margin-bottom: 0;
}

.control-dock #add_container, .control-dock #edit_post {
    float: right;
    font-size: 26px;
    vertical-align: middle;
    height: auto;
    width: auto;
    margin-left: 0.4rem;
    line-height: 1.3;
    cursor: pointer;
    padding: 0;
}

.control-dock .control-button .acf-spinner {
    height: 18px;
    width: 18px;
    filter: invert(100%);
}

.control-button.cancel, .reveal-modal .cancel, #cancel_changes {
    background: #eee !important;
    color: #444 !important;
    border: 1px solid #9E9B9B !important;
}

.control-button.cancel:hover, .reveal-modal .cancel:hover, #cancel_changes:hover {
    background: #186990 !important;
    color: #fff !important;
    border: 1px solid #9E9B9B !important;
}

.control-button.ok {
    background: #1a1a1a !important;
}

/*Front End Field Wrappers*/
.field-wrapper {
    position: relative;

    /*z-index: 9;*/
}

body.live-edit .field-wrapper:hover {
    outline: 2px dashed #444;
    border: 3px solid rgba(255, 255, 255, 0.98);
    margin: -3px;

    /*cursor: move !important;*/
    background: rgba(255, 255, 255, 0.98);
    z-index: 10;
}

.field-wrapper .edit-element-wrapper {
    display: block;
    position: absolute;
    background: #FAFAFA;
    border-radius: 3px;
    border: 1px solid #444;
    padding: 0.25rem 0.5rem;
    z-index: -1;
    right: 1px;
    top: 1px;
    box-shadow: 1px 1px 2px -1px rgba(0, 0, 0, 0.45);
    line-height: 1.5;
    opacity: 0;
}

body.live-edit .field-wrapper:hover .edit-element-wrapper {
    opacity: 0.925 !important;
    z-index: 98;
}

body.live-edit .field-wrapper:hover .edit-element-wrapper:hover {
    opacity: 1 !important;
}

body.live-edit .field-wrapper .edit-element-wrapper span {
    margin: 0 0.25rem;
    position: relative;
}

body.live-edit .field-wrapper:hover .edit-element-wrapper span {
    cursor: pointer;
}

body.live-edit .field-wrapper:hover .edit-element-wrapper span:hover {
    color: #3D71E0;
}

body.live-edit .entry-content > .row > .columns:last-of-type {
    float: left;
}

ul.acf-actions.acf-hl > li {
    /*margin-right: 0.75rem;*/
    margin-right: 0;
}

.button-primary[data-event='add-layout'] {
    background: inherit !important;
    border: none !important;
    text-shadow: none !important;
    font-weight: bold !important;
    font-size: 1.15rem !important;
    text-align: center !important;
    box-shadow: none !important;
    line-height: 1 !important;
    height: auto !important;
    padding: 0;
    color: #444 !important;
    margin-bottom: 1rem !important;
}

.button-primary[data-event='add-layout']:hover {
    color: #0e7db2 !important;

    /*text-shadow: 0.75px 0.75px 0.5px rgba(0, 0, 0, 0.1) !important;*/
}

.button-primary[data-event='add-layout']:before {
    font: normal 21px/1 'dashicons';
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25rem;
    content: '\f502';
    display: inline-block;
    margin-top: -3px;
}

.control-dock #add_container:hover, .control-dock #edit_post:hover {
    color: #186990;
}

/*Hidden Fields*/
[data-name='flexible_content_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li,
[data-name='layout_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li {
    float: none;
    text-align: center;
    margin-left: 0;
}

[data-name='flexible_content_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li a.button-primary,
[data-name='layout_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li a.button-primary {
    font-size: 1.15rem !important;
    border: 1px solid #4D4D4D !important;
    padding: 0.8rem 4.5rem 0.5rem;
    background: #186990 !important;
    text-align: left !important;
    color: #fff !important;
    line-height: 1 !important;
    height: 2.7rem;

    /*box-shadow: 0px 2px 7px -1px rgba(0,0,0,0.55) !important;*/
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.4) !important;
}

[data-name='flexible_content_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li a.button-primary:hover,
[data-name='layout_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li a.button-primary:hover {
    background: #227fad !important;
}

[data-name='flexible_content_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li a.button-primary:before,
[data-name='layout_editor'] > .acf-input > .acf-flexible-content > ul.acf-actions.acf-hl li a.button-primary:before {
    font: normal 26px/1 'dashicons' !important;
}

[data-name='class'], .acf-th-class,
[data-name='clear'], .acf-th-clear,
[data-name='alignment'], .acf-th-alignment,
[data-name='column_width'], .acf-th-column_width,
[data-layout='column'] .acf-fc-layout-controls .acf-fc-add {
    display: none;
}

/*Column Config Settings*/
.acf-fc-layout-controls .toggle-config {
    float: left;
    cursor: pointer;
}

.modal-button.dashicons:hover, .acf-fc-layout-controls .toggle-config:hover {
    color: #0e7db2;
}

[data-layout='column'] > .acf-table thead tr .column-settings {
    max-height: 0;
    overflow: hidden;
    width: 100% !important;
    display: block !important;
    padding: 0 8px;
    border-width: 0;
    box-sizing: border-box;
    font-size: 0 !important;
    transition: max-height 200ms linear, padding 0ms linear 200ms, border 0ms linear 200ms;
    -webkit-transition: max-height 200ms linear, padding 0ms linear 200ms, border 0ms linear 200ms;
}

[data-layout='column'] > .acf-table thead.active tr .column-settings {
    display: block !important;
    max-height: 300px;
    padding: 8px;
    border-width: 0 0 1px 1px;
    transition: max-height 200ms linear;
    -webkit-transition: max-height 200ms linear;
}

[data-layout='column'] > .acf-table thead tr .column-settings .dashicons {
    width: 32px;
    height: 28px;
    font-size: 28px;
    padding-top: 3px;
}

[data-layout='column'] > .acf-table thead.active tr .column-settings .dashicons:hover {
    opacity: 0.85;
}

input#class {
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1.1;
    font-size: 0.8rem;
    padding: 0.5rem 0.5rem;
    background: #fff;
    font-weight: normal !important;
    height: auto !important;
}

/*Hide Editor Until Ready*/
#acf_after_title-sortables {
    position: relative;
}

#acf_after_title-sortables > * {
    opacity: 0;
}

#acf_after_title-sortables.loaded > * {
    opacity: 1;
}

#acf_after_title-sortables:before {
    content: '';
    background: url("../../../images/gears.svg");
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 142px;
}

#acf_after_title-sortables.loaded:before {
    background: transparent !important;
    -webkit-transition: all 200ms linear;
}

#acf_after_title-sortables:after {
    content: 'WP Constructor';
    position: absolute;
    display: flex;
    vertical-align: middle;
    font-size: 21px;
    color: #444;
    margin: 0 auto;
    text-align: center;
    width: 184px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.89);
    height: auto;
    padding: 8px 0px;
    border-radius: 6px;
    box-shadow: 1px 1px 6px -2px rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    top: 86px;
    font-family: Helvetica;
    font-weight: bold;
    border: 1px solid #aaa;
}

#acf_after_title-sortables.loaded:after {
    -webkit-transition: all 200ms linear;
    opacity: 0;
}

/*Column Alignment*/
[data-name='flexible_content_editor'] .acf-flexible-content > .values > [data-layout='column'] {
    display: inline-block;
    -webkit-transform: translateX(-500%);
    max-height: 0;
    opacity: 0;
}

[data-name='flexible_content_editor'] .acf-flexible-content > .values > [data-layout='column'].visible {
    -webkit-transition: opacity 300ms linear;
    -webkit-transform: inherit;
    max-height: inherit;
    opacity: inherit;
}

.layout[data-align='left'] {
    float: left !important;
}

.layout[data-align='right'] {
    float: right !important;
}

.layout[data-align='center'] {
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
    clear: both !important;
}

.layout[data-align='none'] {
    float: none !important;
}

.column-settings span.dashicons-align-left {
    clear: both;
}

.column-settings .dashicons.align {
    cursor: pointer;
    float: left;
}

.column-settings .dashicons.align.active:before {
    color: #186990 !important;
}

/*Column Widths*/
select.fc-columns {
    float: right;
    width: auto;
}

[data-width='1'] {
    width: 7.33333%;
}

[data-width='2'] {
    width: 15.6667%;
}

[data-width='3'] {
    width: 24%;
}

[data-width='4'] {
    width: 32.3333%;
}

[data-width='5'] {
    width: 40.6667%;
}

[data-width='6'] {
    width: 49%;
}

[data-width='8'] {
    width: 65.6667%;
}

[data-width='9'] {
    width: 74%;
}

[data-width='10'] {
    width: 82.3333%;
}

[data-width='11'] {
    width: 90.6667%;
}

[data-width='12'], [data-width='force_full'], [data-width='no_wrap'] {
    width: 99%;
}

/*Pull Columns to Left/Right Alignment*/
.acf-pull-left {
    clear: both !important;
    float: left !important;
    min-height: 40px !important;
}

.acf-pull-right {
    clear: none !important;
    float: right !important;
    min-height: 40px !important;
    border-left: 1px solid #eeeeee !important;
}

.acf-clear-both {
    clear: both !important;
}

/*Add Element Button*/
body.entry-content > .row > .columns .add-element.primary,
body .entry-content > .row > .columns .add-element.primary {
    display: none;
}

body.live-edit .entry-content > .row > .columns.empty .add-element.primary,
body.live-edit .entry-content > .row > .columns:hover .add-element.primary,
body.live-edit .entry-content > .row > .columns.ui-resizable-resizing .add-element.primary {
    display: block;
    padding: 0;
    background: transparent;
    color: #444;
    position: absolute;
    right: 18px;
    bottom: 13px;
    z-index: 10;
    line-height: normal;
    cursor: pointer;
    margin-bottom: 0;
    z-index: 9;
}

.add-element.primary:hover {
    color: #186990 !important;
    text-shadow: 0.75px 0.75px 0.5px rgba(0, 0, 0, 0.1) !important;
}

/*Column Hover*/
body.live-edit .entry-content > .row > .columns.empty,
body.live-edit .entry-content > .row > .columns:hover,
body.live-edit .entry-content > .row > .columns.ui-resizable-resizing {
    outline: 1px solid #444;
    background: rgba(255, 255, 255, 0.98);
    margin: -21px -6px -47px;
    padding: 21px 21px 47px;
    z-index: 11;
}

body.live-edit .entry-content > .row > .columns.empty {
    z-index: 1;
}

body.live-edit .entry-content > .row > .columns[data-align='center']:hover,
body.live-edit .entry-content > .row > .columns[data-align='center'].ui-resizable-resizing {
    padding: 21px 21px !important;
    -webkit-transform: translateY(-21px);
}

@media screen and (min-width: 1025px) {
    body.live-edit .entry-content > .row > .columns.large-1:hover {
        width: calc(8.33333% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-2:hover {
        width: calc(16.66667% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-3:hover {
        width: calc(25% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-4:hover {
        width: calc(33.33333% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-5:hover {
        width: calc(41.66667% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-6:hover {
        width: calc(50% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-7:hover {
        width: calc(58.33333% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-8:hover {
        width: calc(66.66667% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-9:hover {
        width: calc(75% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-10:hover {
        width: calc(83.33333% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-11:hover {
        width: calc(91.66667% + 12px);
    }

    body.live-edit .entry-content > .row > .columns.large-12:hover,
    body.live-edit .entry-content > .row > .columns.large-12.empty {
        width: calc(100% + 12px);
    }
}

@media screen and (max-width: 1024px) {
    body.live-edit .entry-content > .row > .columns:hover {
        width: calc(100% + 12px);
    }
}

body.live-edit .entry-content > .row > .columns.ui-resizable-resizing {
    pointer-events: none;
}

/*Resizable Handles*/
.columns.ui-resizable > .ui-icon-gripsmall-diagonal-se.ui-resizable-se {
    display: none !important;
}

.acf-flexible-content .layout.ui-resizable .ui-resizable-w {
    z-index: 9;
    visibility: hidden;
}

.acf-flexible-content .layout.ui-resizable.openModal .ui-resizable-w {
    visibility: hidden;
}

body.live-edit .columns.ui-resizable-resizing > .ui-icon-gripsmall-diagonal-se.ui-resizable-se,
body.live-edit .columns.ui-resizable:hover > .ui-icon-gripsmall-diagonal-se.ui-resizable-se {
    display: block !important;
    right: 3px !important;
    bottom: 3px !important;
    z-index: 9;
}

/*Sortable Styles*/
body.live-edit .sortable-placeholder, .layout.ui-sortable-placeholder {
    outline: 2px dashed #444;
    position: relative;
    border-color: transparent !important;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
}

.acf-flexible-content > .values > .ui-sortable-placeholder {
    display: inline-block !important;
    float: left;
}

body.live-edit.ui-sorting .entry-content > .row > .columns {
    pointer-events: none;
}

/* Input Formatting*/
.acf-field select, .acf-fields select {
    font-family: 'Open Sans', sans-serif !important;
    padding-left: 0.5rem;
    line-height: normal;
}

ul.select2-results {
    font-family: 'Open Sans', sans-serif !important;
}

.openModal .ui-slider-handle {
    transform: scaleY(1.6) scaleX(1.3);
    border-color: rgb(151, 151, 151);
}

.media-frame select,
select.fc-columns, input#class {
    font-family: 'Open Sans', sans-serif !important;
    height: auto;
    font-size: 0.8rem;
    line-height: 1.1;
    padding: 0.5rem 0.5rem;
    font-weight: normal !important;
    height: auto !important;
    max-width: 30%;
    margin-left: 0.5rem;
    background-color: #fff;
}

select.fc-columns, input#class {
    float: right;
}

select.fc-columns {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iM3B4IiB2aWV3Qm94PSIwIDAgNiAzIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA2IDMiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iNS45OTIsMCAyLjk5MiwzIC0wLjAwOCwwICIvPjwvc3ZnPg==");
    background-position: 92% center;
    background-repeat: no-repeat;
    box-shadow: none;
}

.media-frame select {
    padding: 0.5rem 0.5rem !important;
    line-height: normal !important;
}

.wp-color-result {
    height: auto;
}

.mce-tooltip-inner {
    font-family: 'Open Sans', sans-serif !important;
}

.wp-editor-tabs {
    background: inherit;
}

.wp-editor-tabs button:hover {
    color: #555;
    background: #F5F5F5 !important;
}

.acf-input-wrap input {
    line-height: 1;
}

.acf-input-append {
    border: none;
    background: transparent;
}

/*ACF Layout Controls Styles*/
table.target > tbody > tr > td > .acf-field {
    margin-right: 0;
}

[data-layout='column'] .acf-fc-layout-controls [data-event='collapse-layout'] {
    display: none !important;
}

[data-layout='column'] > .acf-fc-layout-controls [data-event='collapse-layout'] {
    display: inline-block !important;
}

[data-layout='column'] .values .acf-fc-layout-controls .acf-fc-add {
    display: block;
}

[data-layout='column'].layout .acf-fc-layout-handle span:before {
    visibility: hidden !important;
}

body.open-modal [data-layout='column'] .openModal .acf-fc-layout-handle span:before,
body.reveal-modal-active [data-layout='column'].layout .acf-fc-layout-handle span:before,
body.wp-admin [data-layout='column'] .acf-fc-layout-handle span:before {
    visibility: visible !important;
}

ul.acf-fc-layout-controls select {
    font-size: 10px;
    height: 22px;
}

[data-type='flexible_content'][data-name='elements'] {
    padding: 1rem 1rem 0 !important;
}

[data-type='flexible_content'] > .acf-input > .acf-flexible-content > .values > .layout > .acf-fc-layout-handle {
    border-color: #A0A0A0 !important;
    background: #f1f1f1;
    line-height: 1.2em;
}

[data-type='flexible_content'] > .acf-input > .acf-flexible-content > .values > .openModal.layout > .acf-fc-layout-handle {
    border-width: 0px;
}

[data-name='flexible_content_editor'] > .acf-input > .acf-flexible-content > .values > .layout > .acf-fc-layout-handle {
    border-color: #444 !important;
    background-color: #F1F1F1;

    /*pointer-events: none;*/
}

[data-name='flexible_content_editor'] > .acf-input > .acf-flexible-content > .values > .layout > .acf-fc-layout-handle > .acf-fc-layout-order {
    pointer-events: visible;
}

[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .layout {
    border: 1px solid #A0A0A0;
    margin-bottom: 10px;
}

[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .layout:hover {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .layout > .acf-fc-layout-handle {
    background-color: #F1F1F1;
    border-color: #A0A0A0;
    font-size: 16px;
}

[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .layout > .acf-fc-layout-handle .acf-fc-layout-order {
    vertical-align: middle;
}

[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .layout.-collapsed > .acf-fc-layout-handle {
    background-color: #fff;
    font-size: 17px;
}

[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .layout.openModal > .acf-fc-layout-handle {
    background: transparent !important;
}

[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .openModal.layout,
[data-name='elements'] > .acf-input > .acf-flexible-content > .values > .openModal.layout:hover {
    border: none;
    box-shadow: none;
}

[data-layout='column'] > .acf-fc-layout-controls > li,
[data-layout='column'] > .acf-fc-layout-controls > span {
    display: block !important;
}

/*ACF Column Customizations*/
.acf-flexible-content {padding-bottom: 1rem;}
.layout .layout thead {
    display: none;
}

.acf-th[data-name="elements"] {display: none;}

.layout .layout .openModal thead {
    display: block;
}

.acf-field-columngroup {
    clear: none !important;
}

[data-toggle='closed'] .acf-table {
    display: none;
}

.acf-table > tbody > tr > td {
    border-left: 0px;
}

[data-layout='column'] {
    margin-right: 0.5% !important;
}

.acf-flexible-content .layout {
    margin-top: 0;
}

.acf-fields.-top > [data-type='flexible_content'] > .acf-input > .acf-flexible-content > .values > .layout {
    border-color: #444 !important;
    margin-bottom: 10px;
}

.acf-fields.-top > [data-type='flexible_content'] > .acf-input > .acf-flexible-content > .values > .layout.-collapsed > .acf-fc-layout-handle {
    display: block !important;
    text-align: left;
    text-indent: 26px;
    height: 19px !important;
    font-size: 14px;
    width: auto !important;
}

.acf-fields.-top > [data-type='flexible_content'] > .acf-input > .acf-flexible-content > .values > .layout.-collapsed > .acf-fc-layout-handle > .acf-fc-layout-order {
    margin-right: -6px;
}

.acf-fields.-top > [data-type='flexible_content'] > .acf-input > .acf-flexible-content > .values > .layout.-collapsed > .acf-fc-layout-handle > .acf-fc-layout-order:before {
    font: normal 24px/0.9 'dashicons' !important;
    margin-left: 1px;
}

.acf-flexible-content .layout .acf-fc-layout-controls {
    top: 9px;
    right: 9px;
}

.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon {
    border: 1px solid #444;
}

/*Remove FC Label from Front End*/
body.live-edit label[for='acf-field_5442aa647c573'] {
    display: none;
}

/*Column Title Bar Icons*/
.acf-flexible-content .layout .acf-fc-layout-order {
    font-size: 0;
    background: transparent !important;
}

.acf-flexible-content .layout .acf-fc-layout-order:before {
    content: '\f333';
    font: normal 21px/1 'dashicons';
}

.acf-flexible-content .layout .acf-fc-layout-order {
    margin-right: -3px;
}

.acf-flexible-content .layout .acf-fc-layout-order,
a.acf-icon.small {
    color: #444;
    border-color: #444;
    background-color: #fff;
    z-index: 99;
    width: 20px !important;
}

.acf-icon.small {
    width: 20px;
    height: 20px;
    line-height: 18px;
    font-size: 16px;
}

.acf-icon.small:before {
    width: 1.1em;
    height: 1.22em;
    font-size: 1.08em;
    line-height: 1.2;
}

.acf-icon.small:hover {
    color: #fff !important;
    background-color: #444 !important;
}

/*Resizable Modal Handles*/
.ui-resizable .ui-icon-gripsmall-diagonal-se.ui-resizable-se {
    background: url(../images/resize-handle.png) !important;
    bottom: 2px !important;
    right: 2px !important;
    position: absolute !important;
    width: 14px !important;
    height: 14px !important;
    cursor: nwse-resize;
}

.ui-resizable .ui-resizable-e {
    cursor: ew-resize;
    width: 9px;
    right: -6px;
    top: 0;
    height: 100%;
    position: absolute;
    z-index: 9;
}

.reveal-modal-active .ui-resizable .ui-resizable-e:hover,
.reveal-modal-active .ui-resizable-resizing .ui-resizable .ui-resizable-e {
    box-shadow: inset 3px 0px 0px rgba(68, 68, 68, 0.38);
    z-index: 9;
}

.openModal.ui-resizable .ui-resizable-e:hover, .openModal.ui-resizable-resizing .ui-resizable .ui-resizable-e {
    box-shadow: none !important;
}

.ui-resizable .ui-resizable-w {
    cursor: ew-resize;
    width: 9px;
    left: -6px;
    top: 0;
    height: 100%;
    position: absolute;
    z-index: 9;
}

.ui-resizable .ui-resizable-s {
    cursor: ns-resize;
    height: 9px;
    bottom: -6px;
    left: 0;
    width: 100%;
    position: absolute;
    z-index: 9;
}

.wp-editor-area .ui-resizable,
[data-layout='column'].ui-resizable > .ui-resizable-s {
    display: none !important;
}

.openModal.ui-resizable .ui-icon-gripsmall-diagonal-se.ui-resizable-se {
    cursor: se-resize !important;
}

[data-layout='standard_content'] .acf-field-text {
    display: none;
}

/*Fix TinyMCE Buttons*/
.wp-editor-wrap button {
    /*background: inherit !important;*/
    text-transform: none;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: normal;
}

.mce-container-body .mce-resizehandle {
    visibility: hidden;
}

body.open-modal .mce-container-body .mce-resizehandle {
    visibility: visible;
}

/*Clear Floats on Add Content Button*/
[data-name='flexible_content_editor'] > .acf-input > .acf-flexible-content > .acf-actions,
[data-name='layout_editor'] > .acf-input > .acf-flexible-content > .acf-actions {
    clear: both;
    margin-top: 1rem;
}

/*Darken Column Layout Borders*/
/*[data-layout='column'] {
    border-color: #444 !important;
}*/

/*ACF Submit Form*/
.acf-form-submit {
    position: fixed;
    padding: 0.7rem 0.8rem 0.85rem 0.6rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0 12px 0 0;
    bottom: -8px;
    left: 0;
    border: 1px solid #444;
    box-shadow: 0px -1px 6px -3px rgba(0, 0, 0, 0.9);
    z-index: 99;
}

body.open-modal .confirm-wrapper {
    visibility: visible;
    position: absolute;
    z-index: 90;
    padding: 0.3rem 0.95rem 0.4rem 0.65rem;
    background: rgba(255, 255, 255, 0.98);
    bottom: 0;
    right: 0;
    left: 0;
    text-align: right;
    border-top: 1px solid #444;

    /*border-radius: 0 5px 0 0;*/
    /*border-top: 1px solid #444;
    border-right: 1px solid #444;
    box-shadow: 0px -1px 6px -3px rgba(0,0,0,0.9);*/
}
