.redux-main .description {
    margin-top: 7px;
}

.form-table > tbody > tr > th {
    width: 30%
}

.redux-container {
    //font-family: "Open Sans","Lucida Grande", Sans-serif;
    background-color: #f5f5f5; /* Old browsers */
    background-repeat: repeat-x; /* Repeat the gradient */
    background-image: -moz-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2f2f2), color-stop(100%, #f5f5f5)); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%); /* Chrome 10+,Safari 5.1+ */
    background-image: -ms-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%); /* IE10+ */
    background-image: -o-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%); /* Opera 11.10+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0); /* IE6-9 */
    background-image: linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%); /* W3C */
    border: 1px solid #dedede;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    margin-top: 5px;
    overflow: hidden;

    .hr {
        height: 20px;
        line-height: 20px;
        float: none;
        border-color: #E7E7E7;
        display: block;
        width: 100%;
        height: 35px !important;
        line-height: 35px !important;
        position: relative;
        margin: 15px 0 10px 0;

        .inner span {
            background-color: #FCFCFC;
            border-color: #E7E7E7;
            height: 5px;
            width: 5px;
            border-width: 2px;
            border-style: solid;
            display: block;
            position: absolute;
            left: 50%;
            margin-left: -5px;
            margin-top: -5px;
        }
    }

    .inner {
        width: 42% !important;
        left: 40% !important;
        margin-left: -6%;
        background-color: #FCFCFC;
        border-color: #E7E7E7;
        position: absolute;
        height: 1px;
        top: 50%;
        width: 100%;
        margin-top: -1px;
        border-top-width: 1px;
        border-top-style: solid;
    }

    #redux-header,
    #redux-footer {
        text-align: right;
        padding: 6px 10px;
    }

    #redux-header {
        background: #f1f1f1;
        border-bottom: 3px solid blue;

        .display_header {
            float: left;
            margin: 20px 10px;

            h2 {
                display: inline-block;
                font-style: normal;
                padding-right: 5px;
            }

            span {
                color: #888;
            }
        }

        .icon32 {
            float: right;
            margin: 16px 16px 0;
        }
    }

    #redux-footer {
        border-top: 1px solid #E7E7E7;
        z-index: 9999;

        #redux-share {
            float: left;
            line-height: 28px;
            font-size: 15px;

            a {
                text-decoration: none;
                margin-right: 10px;

                img {
                    margin-bottom: -3px;
                }
            }
        }
    }

    .notice-green {
        margin: 0;
        border-bottom: 1px solid #E7E7E7;
        background-color: #DFF0D8;
        color: #468847;
        padding: 8px 35px 8px 14px;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .notice-blue {
        margin: 0;
        border-bottom: 1px solid #BCE8F1;
        background-color: #D9EDF7;
        color: #3A87AD;
        padding: 8px 35px 8px 14px;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .notice-yellow {
        margin: 0;
        border-bottom: 1px solid #E7E7E7;
        background-color: #FCF8E3;
        color: #C09853;
        padding: 8px 35px 8px 14px;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .notice-red,
    .redux-field-errors {
        margin: 0;
        border-bottom: 1px solid #E7E7E7;
        background-color: #F2DEDE;
        color: #B94A48;
        padding: 8px 35px 8px 14px;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .redux-field-errors,
    .redux-field-warnings,
    .redux-save-warn {
        display: none;
    }

    .sticky-save-warn {
        min-height: 76px;

        .redux-save-warn {
            position: fixed;
            top: 32px;
            right: 21px;
            left: 183px;
            opacity: 1;
            z-index: 9999;
        }
    }

    #info_bar {
        background: #f3f3f3;
        border-bottom: 1px solid #dedede;
        padding: 6px 10px 6px 6px;
        text-align: right;
        -moz-box-shadow: inset 0 1px 0 #fcfcfc;
        -webkit-box-shadow: inset 0 1px 0 #fcfcfc;
        box-shadow: inset 0 1px 0 #fcfcfc;
    }

    .redux-group-tab {
        display: none;
        margin-bottom: 30px;

        .redux-theme-data {
            padding: 20px 0;
            border-top: 1px solid #E7E7E7;

            &.theme-description {
                padding: 10px 0;
                border-width: 0;
            }

            &.theme-uri,
            &.theme-author,
            &.theme-version {
                padding: 0;
                border-width: 0;
            }
        }

        h3 {
            margin-top: 0;
            line-height: 2em;
            border-bottom: 1px solid #E7E7E7;
        }

        .redux-section-desc {
            margin-bottom: 15px;
            color: #666;
        }
    }

    .redux-action_bar {
        float: right;
    }

    .redux-ajax-loading {
        display: none;
        background: red url("../img/ajax.gif") no-repeat;
        width: 16px;
        height: 16px;
        margin: 3px 4px 0;
        float: right;
    }

    #redux-intro-text {
        background: #f3f3f3;
        border-bottom: 1px solid #dedede;
        -moz-box-shadow: inset 0 1px 0 #fcfcfc;
        -webkit-box-shadow: inset 0 1px 0 #fcfcfc;
        box-shadow: inset 0 1px 0 #fcfcfc;
        padding: 3px;
        padding: 10px 10px;

        p {
            margin: 0;
            font-family: "Lucida Grande", Sans-serif;
            color: #888;
        }
    }

    .expand_options {
        cursor: pointer;
        display: block;
        height: 22px;
        width: 21px;
        float: left;
        font-size: 0;
        text-indent: -9999px;
        margin: 1px 0 0 5px;
        border: 1px solid #bbb;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        background: url("../img/toggle_tabs.png") no-repeat -2px -26px;

        &.expanded {
            background: url("../img/toggle_tabs.png") no-repeat -2px -1px;
        }

        &:hover {
            border-color: #888;
        }
    }

    .sticky-footer-fixed {
        background: #f3f3f3;
        border-top: 1px solid #dedede !important;
        -moz-box-shadow: inset 0 1px 0 #fcfcfc;
        -webkit-box-shadow: inset 0 1px 0 #fcfcfc;
        box-shadow: inset 0 1px 0 #fcfcfc;
    }

    .redux-sidebar,
    .redux-main {
        min-height: 300px;

    }
}

/* redux-container */

.no-js {
    border: 1px solid #ffbaba;
    margin: 0;
    border-bottom: 1px solid #E7E7E7;
    background-color: #F2DEDE;
    color: #B94A48;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.redux-main {
    background: #FCFCFC;
    margin-left: 201px;
    border-left: 1px solid #D8D8D8;
    padding: 10px 20px;
    -moz-box-shadow: inset 0 1px 0 #fff;
    -webkit-box-shadow: inset 0 1px 0 #FFF;
    box-shadow: inset 0 1px 0 #FFF;

    .form-table.no-border {
        border-top: none;
    }
    .form-table tr {
        border-bottom: 1px solid #E7E7E7;
        &:last-child {
            border-bottom: none !important;
        }
        th,
        td {
            color: #333;
        }
    }

    .form-table tr td {
        table.mceLayout,
        table.mceLayout tr,
        table.mceLayout tr td {
            padding: 0;
            border-width: 0;
        }

        .redux-th-warning {
            font-size: 1em;
            color: #C09853;
            font-weight: normal;
            display: block;
        }

        .redux-field-warning {
            border-color: #C09853;
        }

        .redux-th-error {
            font-size: 1em;
            color: #B94A48;
            font-weight: normal;
            display: block;
        }
    }

    input.large-text {
        width: 100%;
    }

    .hide {
        display: none;
    }

    .redux-field-container {
        padding: 20px 0;
    }

    .mini,
    input[type=text].mini {
        width: 50px;
        text-align: center;
    }
    
    input {
        line-height: 19px;
    }

    img {
        max-width: 100%;
        height: auto;
        width: auto !important;
    }

    .select2-default {
        width: auto !important;
    }

    .showDefaults {
        display: block;
        font-weight: normal;
        font-size: .8em;
        color: #888;
    }

    span.description {
        display: block;
        font-style: normal;
        font-weight: 400;
    }

    #redux-system-info textarea {
        min-height: 730px;
        width: 100%;
    }

    .field-desc {
        clear: both;
        font-size: 13px;
    }

    .data-full li {
        width: 100%;
    }

    .data-half li {
        width: 50%;
        float: left;
    }

    .data-third li {
        width: 33.3%;
        float: left;
    }

    .data-quarter li {
        width: 25%;
        float: left;
    }

    .ui-helper-hidden-accessible {
        top: inherit;
    }

    .form-table:first-child tr th, .redux-main .form-table:first-child tr td {
        padding-top: 0 !important;
    }

    .form-table {
        clear: none;
        margin-top: 0px !important;

        &:first-child tr th,
        &:first-child tr td {
            padding-top: 0 !important;
        }

        tr:first-child th,
        tr:first-child td {
            padding-top: 0;
        }
    }

    .input-append input {
        border-right: 0;
        margin-bottom: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: 0;
        float:left;
        margin-top: 0;
        display: block;
    }
    .input-append .add-on {
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        margin-left: -2px;
        padding-top: 4px !important;
        padding-bottom: 2px !important;
        float: left;
    }
    .input-prepend input {
        border-left: 0;
        margin-bottom: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        margin-left: 0;
        padding-top: 2px;
        padding-bottom: 5px;
        float:left;
        margin-top: 0;
        display: block;
    }
    .input-prepend .add-on {
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        float: left;
    }

    .input-append {
        margin-right: 10px;
        font-size: 0;
        white-space: nowrap;
        float: left;
        display: inline-block;
        margin-bottom: 6px;
    }
    .input-append .add-on, .input-prepend .add-on {
        width: auto;
        display: inline-block;
        min-width: 16px;
        padding: 3px 4px;
        font-size: 12px;
        font-weight: 400;
        line-height: 20px;
        text-align: center;
        text-shadow: 0 1px 0 #ffffff;
        background-color: #eeeeee;
        border: 1px solid #cccccc;
    }
    .input-prepend {
        font-size: 0;
        white-space: nowrap;
        float: left;
        display: inline-block;
        margin-bottom: 6px;
    }

    #redux-object-browser {
        overflow: auto;
        word-wrap: break-word;
        max-height: 600px;
        max-width: 100%;
    }
}

/* main */

.redux-sidebar {
    width: 202px;
    float: left;

    .redux-group-menu {
        margin-top: 0 !important;
        li {
            margin-top: 0;

            &.active a,
            &.activeChild a {
                background: #FCFCFC;
                color: #269ad6;
                width: 184px;
                opacity: 1;
                //margin-right:-2px;
            }

            &.active a li a {
                background: #333;
                padding-left: 5px;
            }

            &.divide {
                padding: 0;
                border-width: 1px 0;
                border-style: solid;
                border-bottom-color: #E7E7E7;
                border-top-color: #F9F9F9;
            }
            a:first-child {
                border-top: none;
            }
            a {
                display: block;
                padding: 10px 4px 10px 14px;
                background: #e0e0e0;
                background: transparent;
                border-width: 1px 0;
                border-style: solid;
                border-bottom-color: #E7E7E7;
                border-top-color: #F9F9F9;
                opacity: 0.7;
                color: #555;
                font-weight: bold;
                text-decoration: none;
                -webkit-transition: none;
                transition: none;
                &.custom-tab {
                    background: #f6f6f6;
                }
                img {
                    width: 16px;
                    height: 16px;
                    // vertical-align:middle;
                    // margin-bottom:-3px;
                    // margin-right: 3px;
                    position: absolute;
                    left: 15px;
                }
                &:hover {
                    background: #e5e5e5;
                    //width: 184px
                    color: #777;
                    //margin-right: -2px;
                    opacity: 1;
                }
            }
        }
    }

    .redux-menu-warning,
    .redux-menu-error,
    .hasSubSections .extraIconSubsections {
        display: inline-block;
        float: right;
        padding: 6px 7px 4px 7px;
        margin-left: 4px;
        font-family: sans-serif;
        font-size: 9px;
        font-weight: bold;
        line-height: 9px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border: 0 solid transparent;
        margin-right: 5px;

        i {
            margin-left: -3px;
            margin-top: -3px;
        }
    }
    .redux-menu-error {
        background-color: rgb(185, 74, 72);
        color: rgb(242, 222, 222);
    }
    .redux-menu-warning {
        background-color: #C09853;
        color: #FCF8E3;
    }

    ul {
        .subsection {
            display: none;
        }
    }

    .redux-group-tab-link-a {
        position: relative;
        outline: 0;
        i {
            vertical-align: middle;
            font-size: 1.35em;
            position: absolute;
        }
        span {
            display: block;
            &.group_title {
                padding-left: 30px;
            }
        }
    }

    .redux-group-tab-link-li a.hasError span.group_title {
        padding-right: 25px;
    }

}

/* sidebar */

.form-table th, .form-table td {
    margin: 0;
    padding: 0;
    width: auto;
}

.redux_field_th {
    font-weight: bold;
    // width: 30%;
    padding: 20px 10px 20px 0px;
    display: block;
    span:first-child {
        font-weight: normal;
        display: block;
        color: #666;
    }
}

/*
 *
 * NHP_Options_color
 *
 */
.farb-popup-wrapper {
    position: relative;
    display: block;
}

.farb-popup {
    position: absolute;
    left: 40px;
    top: 40px;
    background-color: white;
    border: 1px solid #222;
    padding: 5px;
    z-index: 100;
}

#ui-datepicker-div {
    display: none;
}

.mp6 {
    .icon-themes {
        display: none;
    }

    .redux-container {
        #info_bar {
            padding: 6px 10px 6px 6px;

            a {
                margin-top: 2px;
            }
        }
    }
}

.redux-timer {
    text-align: center;
    font-size: 10px;
    color: #888;
}

.wrap {
    margin-top: 0;
}

@media screen and (max-width: 1124px) {
    .redux-sidebar {
        width: 44px;

        .extraIconSubsections {
            display: none !important;
        }

        .redux-group-menu li a,
        .redux-group-menu li a:hover,
        .redux-group-menu li.active a,
        .redux-group-menu li.active a:hover,
        .redux-group-menu li.activeChild a,
        .redux-group-menu li.activeChild a:hover {
            width: auto;
        }

        .redux-group-tab-link-a {
            position: relative;

            i {
                position: inherit;
            }

            span {
                display: none;
                position: absolute;
                top: 0;
                left: 44px;
                padding: 12px;
                width: 200px;
                background: #eeeeee;
                border: 1px solid #ccc;
                -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
                -moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
                box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
                border-width: 1px 1px 1px 0px;
                z-index: 3;
            }

            &:hover > span {
                display: block;
            }
        }
    }

    .redux-main {
        margin-left: 43px;
        width: auto;
        max-width: 100%;
    }

    table.form-table,
    .form-table > thead,
    .form-table > tbody,
    .form-table > tbody > tr > th,
    .form-table > tbody > tr > td,
    .form-table > tbody > tr {
        display: block;
        width: 100% !important;
        padding: 0px !important;
    }

    .form-table > tbody > tr > th, .form-table > tbody > tr > td {
        padding: 10px !important;
    }

    .form-table > tbody > tr > th, .form-table > tbody > tr > td {
        padding: 10px !important;
    }
}

//mp6 fixes
@media screen and (max-width: 783px) {
    .mp6 {
        .redux-container {
            #info_bar {
                height: auto;
                padding-bottom: 1px;

                a {
                    margin-top: 5px;
                }
            }
        }
    }
}

pre {
    overflow: hidden;
}

/* Default admin theme */
#redux-header h2 {
    color: #fff;
}

.backgroundGradient(@to: darken(@to, 5%), @from: lighten(@to, 7%)) {
    background-color: @to;
    background-image: -khtml-gradient(linear, left top, left bottom, from(@from), to(@to));
    background-image: -moz-linear-gradient(top, @from, @to);
    background-image: -ms-linear-gradient(top, @from, @to);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @from), color-stop(100%, @to));
    background-image: -webkit-linear-gradient(top, @from, @to);
    background-image: -o-linear-gradient(top, @from, @to);
    background-image: linear-gradient(top, @from, @to);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@from', endColorstr='@to', GradientType=0);
}

.adminThemeColorOverrides (@darkColor, @accentColor, @secondaryColor, @buttonPrimary) {
    .button.ui-datepicker-current,
    button.ui-datepicker-close {
        background-color: lighten(@accentColor, 3%)!important;
    }

    .ui-datepicker-buttonpane button.ui-datepicker-current {
        background: @buttonPrimary!important;
        color: white!important;
        border: 1px solid darken(@buttonPrimary, 20%)!important;

    }

    .ui-datepicker-header .ui-icon {
        background-image: url(vendor/jquery-ui-bootstrap/images/ui-icons_ffffff_256x240.png)!important;
    }

    .ui-datepicker-header {
        background-color: @secondaryColor!important;
        color: white!important;
    }

    .ui-datepicker td .ui-state-active {
        background-color: lighten(@accentColor, 3%)!important;
        color: white!important;
    }

    .ui-datepicker td .ui-state-hover {
        color: lighten(@accentColor, 3%)!important;
    }

    .ui-datepicker td .ui-state-highlight {
        background: @accentColor!important;
        border: 1px solid @secondaryColor!important;
        color: white!important;
    }

    .redux-container-switch .cb-disable,
    .redux-container-switch .cb-enable, 
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        .backgroundGradient(#f5f5f5, #f8f8f8)!important;
        border-color: #ccc!important;
    }

    .ui-datepicker td .ui-state-active {
        color: black!important;
        font-weight: 700!important;
        background: white!important;
    }

    .redux-container-switch .cb-disable.selected {
        .backgroundGradient(#646464, #929292)!important;
        border-color: #767676!important;
    }
    .redux-container-switch .cb-enable.selected,
    .ui-buttonset .ui-state-active {
        .backgroundGradient(@accentColor)!important;
        border-color: darken(@accentColor, 15%)!important;
        border-color: darken(@accentColor, 10%)!important;
        -webkit-box-shadow: inset 0 1px 0 lighten(@accentColor, 15%), 0 1px 0 rgba(0, 0, 0, .15)!important;
        box-shadow: inset 0 1px 0 lighten(@accentColor, 15%), 0 1px 0 rgba(0, 0, 0, .15)!important;

    }

    #redux-header .display_header span {
        color: @darkColor;
    }
    #redux-header {
        background: @secondaryColor;
        border-color: @accentColor;
    }

    .redux-sidebar .redux-group-menu li.active {
        &.hasSubSections {

            a {
                position: relative;
                &:after {
                    right: 0;
                    border: solid 8px transparent;
                    content: "\0020";
                    height: 0;
                    width: 0;
                    position: absolute;
                    pointer-events: none;
                    border-right-color: #fff;
                    top: 50%;
                    margin-top: -8px;
                }

            }
            ul.subsection li a:after {
                border: 0 none !important;
                content: "\0020" !important;
            }
        }
    }
    .redux-sidebar .redux-group-menu li {
        &.hasSubSections {
            .redux-menu-error {
                display: none;
                margin-right: 5px;
            }

            a {
                &.hasError {
                    .extraIconSubsections {
                        background-color: rgb(185, 74, 72);
                        color: rgb(242, 222, 222);
                    }
                }
                .extraIconSubsections {
                    border-radius: 10px;
                    -moz-border-radius: 10px;
                    -webkit-border-radius: 10px;
                    border: 0 solid transparent;
                    float: right;
                    font-size: 9px;
                    height: 9px;
                    line-height: 9px;
                    margin-right: 5px;
                    padding: 6px 7px 4px 7px;
                    width: 5px;
                }

                &:hover .extraIconSubsections {
                    //right: 2px;
                }

            }
        }
        &.active,
        &.activeChild {
            a .extraIconSubsections {
                display: none;
            }
            &.hasSubSections {
                .redux-menu-error {
                    display: block;
                }
                .subsection {
                    .redux-menu-error {
                        margin-right: 2px;
                    }
                }
            }
        }
    }
    .redux-sidebar .redux-group-menu {
        li.active,
        li.activeChild {
            border-left: 0 none;
            a {
                color: @secondaryColor;
            }
            &.hasSubSections {
                .active {
                    a {
                        &:after {
                            right: 0;
                            border: solid 8px transparent;
                            content: "\0020";
                            height: 0;
                            width: 0;
                            position: absolute;
                            pointer-events: none;
                            border-right-color: #fff;
                            top: 50%;
                            margin-top: -8px;
                        }
                    }
                }
                a {
                    -webkit-transition: all 0.2s;
                    -moz-transition: all 0.2s;
                    transition: all 0.2s;
                    color: #fff;
                    width: auto;
                    border-bottom: 0;
                }
                ul.subsection li {
                    border-top: 0 none !important;
                    a {
                        width: auto;
                        border-top: 0 !important;
                        // border-top-color: lighten(@secondaryColor, 15);
                        padding: 7px;
                        color: #fff;
                        padding-left: 15px;
                        -webkit-transition: all 0.2;
                        -moz-transition: all 0.2;
                        -ms-transition: all 0.2;
                        -o-transition: all 0.2;
                        transition: all 0.2;
                        &:hover {
                            color: #2ea2cc;
                            background: #000;
                        }
                        span.group_title {
                            padding-left: 5px !important;
                        }
                    }
                    &.hasIcon {
                        a {
                            padding-left: 14px;
                            span.group_title {
                                padding-left: 30px !important;
                            }

                        }
                    }
                }
            }
        }
        li.active {
            &.hasSubSections {
                a {
                    background: @accentColor;
                }
                ul.subsection li a {
                    background: @secondaryColor;
                }
            }
        }
        li.activeChild {
            &.hasSubSections {
                a {
                    background: @darkColor;
                }
                ul.subsection li {
                    a {
                        background: @secondaryColor;   
                    }
                    &.active {
                        a {
                            background: @accentColor;
                        }
                    }
                }
            }
        }
    }

    .redux-container-image_select .redux-image-select-selected img {
        border-color: @accentColor;
    }
    #redux-footer #redux-share a {
        color: @accentColor;
        &:hover {
            color: darken(@accentColor, 20%);
        }
    }
    .select2-results .select2-highlighted {
        background: @accentColor;
    }
    .select2-drop-active,
    .select2-container-multi.select2-container-active .select2-choices,
    .select2-drop.select2-drop-above.select2-drop-active,
    .select2-container-active .select2-choice,
    .select2-container-active .select2-choices,
    .select2-dropdown-open.select2-drop-above .select2-choice,
    .select2-dropdown-open.select2-drop-above .select2-choices {
        border-color: @accentColor;
    }
    .select2-dropdown-open.select2-drop-above .select2-choice,
    .select2-dropdown-open.select2-drop-above .select2-choices {
        border-top: inherit;
    }
    .noUi-connect {
        .backgroundGradient(lighten(@accentColor, 3%));
    }
}

/* Light fresh theme */
.admin-color-fresh {
    .adminThemeColorOverrides(#bbb, #0074a2, #222222, #1e8cbe);
}

/* Light admin theme */
.admin-color-light {
    .adminThemeColorOverrides(#e6e6e6, #04a4cc, #888888, #0384a4);
}

/* Blue admin theme */
.admin-color-blue {
    .adminThemeColorOverrides(#e2ecf1, #4796b3, #096484, #db9825);
}

/* Coffee admin theme */
.admin-color-coffee {
    .adminThemeColorOverrides(#cdcbc9, #c7a589, #46403c, #ba906d);
}

/* Ectoplasm admin theme */
.admin-color-ectoplasm {
    .adminThemeColorOverrides(#cbc5d3, #a3b745, #413256, #89993a);
}

/* Midnight admin theme */
.admin-color-midnight {
    .adminThemeColorOverrides(#c2c4c5, #e14d43, #363b3f, #d92c23);
}

/* Ocean admin theme */
.admin-color-ocean {
    .adminThemeColorOverrides(#d5dddf, #9ebaa0, #627c83, #86a988);
}

/* Sunrise admin theme */
.admin-color-sunrise {
    .adminThemeColorOverrides(#f0c8c6, #dd823b, #b43c38, #cc6c23);
}

@media screen and (max-width: 1124px) {
    // .redux-group-tab-link-a span { margin-top: -2px; }
    .redux-group-tab-link-a span {
        //background: #222;
        //color: white;
        padding: 11px 12px;
        color: #555;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
        &:hover {
            //color: #2ea2cc;
            //background: black;
            background: #e5e5e5;
        }
    }
}

@media screen and (max-width: 782px) {
    #redux-footer #redux-share {
        line-height: 38px;
        font-size: 18px;
    }

    .sticky-save-warn .redux-save-warn {
        right: 13px;
        top: 46px;
    }

    .redux-container .expand_options {
        margin-top: 5px;
    }

    .redux-action_bar input {
        margin-bottom: 0 !important;
    }

}

@media screen and (max-width: 650px) {
    #redux-footer #redux-share,
    .redux-hint-qtip {
        display: none;
    }

    .redux-container .redux-action_bar {
        float: none;
    }
}

@media screen and (max-width: 476px) {
    .redux-container .expand_options {
        display: none;
    }

    #redux-footer, .redux-container #info_bar {
        text-align: center;
    }
}

// WP Engine CSS fix
.redux-sidebar .icon-large,
.redux-main .icon-large {
    background-image: inherit !important;
    width: inherit;
    height: inherit;
}

.redux-main dd, .redux-main li, .redux-sidebar li {
    margin-bottom: 0 !important;
}

.fully-expanded {
    .redux-sidebar {
        margin-left: -500px;
    }
    .redux-main {
        margin-left: 0;
    }
    .redux-group-tab {
        display: block;
    }
}

@media screen and (max-width: 1124px) {
    .form-table > tbody > tr > th {
        padding-bottom: 0 !important;
    }

    .redux_field_th {
        padding-top: 0;
        padding-bottom: 0;
    }

    .redux-main {
        .redux-field-container {
            padding-top: 0;
            padding-bottom: 0;
        }
    }
}

@media screen and (min-width: 601px) and (max-width: 782px) {
    .redux-container {
        .sticky-save-warn .redux-save-warn {
            top: 47px !important;
            right: 13px !important;
        }
    }
}

@media screen and (max-width: 782px) {

    .redux-main {
        .form-table-section-indented {
            input[type=text] {
                width: 95% !important;
            }
        }

        .redux-container-sortable {
            input[type=text] {
                width: 80%;
                display: initial;
            }
        }

        .redux-typography-container {
            .input_wrapper input.mini {
                font-size: 16px !important;
                height: 40px !important;
                padding: 7px 10px !important;
                line-height: 24px !important;
            }
            .picker-wrapper label {
                margin-top: 16px !important;
            }
        }

        .input-append {
            height: 50px !important;

            .add-on {
                font-size: 16px;
                line-height: 24px !important;
                padding: 7px;
                height: 32px !important;
                float: right;
                margin-top: -40px;
            }
        }

        .redux-hint-qtip {
            float: left !important;
        }
    }
}

@media screen and (max-width: 600px) {
    .sticky-save-warn .redux-save-warn {
        top: 0 !important;
        right: 14px !important;
    }
}

@media screen and (max-width: 570px) {
    .redux-main {
        .redux-container-sortable {
            .checkbox-container {
                width: 85%;
                padding-bottom: 5px;

                label {
                    display: initial;
                }
            }
        }
    }
}

/* Leftovers? */

/*.shadow1 {
    position: relative;
    
    &:before,
    &:after {
        z-index: -1;
        position: absolute;
        content: "";
        bottom: 15px;
        left: 10px;
        width: 50%;
        top: 80%;
        max-width: 300px;
        background: #777;
        -webkit-box-shadow: 0 15px 10px rgba(0,0,0,0.4);
        -moz-box-shadow: 0 15px 10px rgba(0,0,0,0.4);
        box-shadow: 0 15px 10px rgba(0,0,0,0.4);
        -webkit-transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
        -o-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
        transform: rotate(-3deg);
    }
    
    &:after {
        -webkit-transform: rotate(3deg);
        -moz-transform: rotate(3deg);
        -o-transform: rotate(3deg);
        -ms-transform: rotate(3deg);
        transform: rotate(3deg);
        right: 10px;
        left: auto;        
    }
}*/

/*.redux-menu-warning {
    background-color: #C09853;
    color: #FCF8E3;
}
.redux-menu-error {
    background-color: #B94A48;
    color: #F2DEDE;
}*/

/*.redux-screenshot {
    max-width: 300px;
    display: block;
}*/

/*.redux-container {
    .ajax-loading-img-top {
        margin: 5px 4px 0;
        float: left;
    }
    
    .ajax-loading {
        margin: 3px 4px 0;
        float: right;
    }
    
    .ajax-reset-loading-img {
        display: block;
        margin-left: 100px;
    }
}*/

#redux-header {
    position: relative;
}
.redux-container #redux-header .display_header span.redux-dev-mode-notice {
    position: absolute;
    left: 20px;
    bottom: 9px;
    background-color: #f0ad4e;
    display: inline;
    padding: .2em .6em .3em;
    font-weight: 700;
    line-height: 1;
    color: #fff !important;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}