.fusionredux-section {
    p.customize-section-description {
        margin-top: 22px;
        word-break: break-word;
        &.legacy {
            margin-top: 7px;
        }
    }
}

.control-section-themes .accordion-section-title {
    margin: 0;
}

#customize-controls {
    .customize-info {
        margin-bottom: 0;
    }
    .fusionredux-section .accordion-section-content {
        background: #FCFCFC;
    }
}

.fusionredux-section .accordion-section-title i,
.fusionredux-field .accordion-field-title i,
.fusionredux-panel .accordion-section-title i {
    margin-right: 5px;
}

.accordion-section.fusionredux-main {
    background: inherit;
    margin-left: inherit;
    border-left: inherit;
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    padding: inherit;
    box-shadow: inherit;
}

.fusionredux_field_th {
    padding: 13px 0px 0px 0px;
}

.fusionredux-main {
    .fusionredux-field-container {
        padding: 10px 0;
    }
    .select_wrapper {
        float: none;
        width: 100%;
        display: inline-block;
    }
    .select3-container {
        margin-right: 0 !important;
        margin-bottom: 5px !important;
        width: 100% !important;
    }
    .select_wrapper:nth-child(odd) {
        margin-right: 0;
    }
    .fusionredux-option-image {
        max-width: 42% !important;
        margin-right: 3%;
    }
    .customize-control {
        border-bottom: 1px solid #ddd;
        padding-bottom: 4px;
    }
    .customize-control:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .upload {
        width: 100% !important;
    }
    h3 {
        margin-top: inherit;
    }
    .fusionredux-container-raw {
        margin-top: 22px;
        word-break: break-word;
        padding: 0 !important;
    }
    .fusionredux-container-password input {
        width: 100%;
    }
}

.select3-drop {
    z-index: 999999;
}

.rAdsContainer {
    line-height: 0;
    border: 0;
    /*margin-top: -15px;*/
    /*margin-bottom: -15px;*/
}

.customize-control-fusionredux-raw {
    list-style: none;
}

.rAds {
    position: inherit !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    text-align: center;
    margin-bottom: 0;
    line-height: 0;
    -webkit-transition: left ease-in-out .18s;
    transition: left ease-in-out .18s;
    img {
        -webkit-transition: left ease-in-out .18s;
        transition: left ease-in-out .18s;
    }
}

@mixin adminCustomizerThemeColorOverrides($highlight-color, $text-color) {

    $menu-highlight-background: $highlight-color;
    $menu-highlight-text: $text-color;

    #customize-theme-controls {
        .control-section.control-section-fusionredux:hover > h3.accordion-section-title,
        .control-section.control-section-fusionredux h3.accordion-section-title:hover,
        .control-section.control-section-fusionredux.open h3.accordion-section-title,
        .control-section.control-section-fusionredux h3.accordion-section-title:focus,
        .control-panel.control-panel-fusionredux:hover > h3.accordion-section-title,
        .control-panel.control-panel-fusionredux h3.accordion-section-title:hover,
        .control-panel.control-panel-fusionredux.open h3.accordion-section-title,
        .control-panel.control-panel-fusionredux h3.accordion-section-title:focus {
            color: $text-color;
            background: $highlight-color;
            &:after {
                color: $text-color;
            }
        }
        .control-section.control-panel.control-panel-fusionredux>.accordion-section-title:after {
            background: transparent;
            border-left: none;
        }
        .control-panel-fusionredux .customize-panel-back, .fusionredux-section .customize-section-back {
            &:hover {
                background: $highlight-color;
                color: $text-color;
            }
        }
    }
}

/* Light fresh theme */
.admin-color-fresh {
    @include adminCustomizerThemeColorOverrides(#0073aa, #fff);
}

/* Ectoplasm theme */
.admin-color-ectoplasm {
    @include adminCustomizerThemeColorOverrides(#a3b745, #fff);
}

/* Light admin theme */
.admin-color-light {
    @include adminCustomizerThemeColorOverrides(#888, #fff);
}

/* Blue admin theme */
.admin-color-blue {
    @include adminCustomizerThemeColorOverrides(#096484, #fff);
}

/* Coffee admin theme */
.admin-color-coffee {
    @include adminCustomizerThemeColorOverrides(#c7a589, #fff);
}

/* Ectoplasm admin theme */
.admin-color-ectoplasm {
    @include adminCustomizerThemeColorOverrides(#523f6d, #fff);
}

/* Midnight admin theme */
.admin-color-midnight {
    @include adminCustomizerThemeColorOverrides(#e14d43, #fff);
}

/* Ocean admin theme */
.admin-color-ocean {
    @include adminCustomizerThemeColorOverrides(#9ebaa0, #fff);
}

/* Sunrise admin theme */
.admin-color-sunrise {
    @include adminCustomizerThemeColorOverrides(#cf4944, #fff);
}
