@import "color-picker";
@import "media";

.spinner {
    visibility: hidden;
    display: block;
}

.spinner.is-active {
    visibility: visible;
}

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

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

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

    .redux_field_th {
        font-weight: 600;
        padding: 20px 10px 20px 0px;
        display: block;
        span {
            &:first-child {
                font-weight: normal;
                display: block;
                color: #666;
            }
        }
    }

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

    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;

    a {
        &:focus {
            box-shadow: none;
        }
    }

    #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;

            img {
                transition: all .1s ease-in-out;
            }

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

            .redux-dev-mode-notice-container {
                position: absolute;
                top: 67px;
                left: 20px;
                bottom: auto;
                width: auto;
            }

            span {
                color: #888;

                &.redux-dev-mode-notice {
                    background-color: #f0ad4e;
                    display: inline;
                    padding: .2em .5em .2em;
                    font-weight: 700;
                    line-height: 1;
                    color: #fff !important;
                    text-align: center;
                    white-space: nowrap;
                    vertical-align: baseline;
                    border-radius: .25em;
                }
            }
        }

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

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

        #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-error {
        input, textarea, checkbox {
            background-color: #FFF6F6;
            color: #A00;
        }
    }

    .redux-field-warning {
        input, textarea, checkbox {
            background-color: #fcf8e3;
            color: #444;
        }
    }

    .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: 15px;

        .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;
        .spinner {
            float: left;
            margin-top: 4px;
        }
    }

    .redux-ajax-loading {
        display: none;
        background: red url(data:image/gif;base64,R0lGODlhEAAQAPUAAIiIiIqKio2NjZSUlJqamp6enqKioqSkpK+vr7i4uL+/v8PDw8XFxcnJyc/Pz9HR0dTU1NjY2Nzc3OLi4ubm5unp6ezs7PPz88vLy83NzdDQ0NXV1d3d3eHh4bu7u8zMzOvr6+3t7ZiYmNbW1sDAwMTExNra2s7OztPT09vb2+Xl5QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/i1NYWRlIGJ5IEtyYXNpbWlyYSBOZWpjaGV2YSAod3d3LmxvYWRpbmZvLm5ldCkAIfkEAAoA/wAsAAAAABAAEAAABXDgJY6XZZEoOTnOlI5WdUFNA5UnSR3FJNUSieFAIUUEgcdl4noEBBGSZaHIiSqKhTX2GhVFiQGjuxgkSoYAoosAGE6RhKQrUURHlS+pItMVCHMjEgQ9JBJISg+JT3ciFg4NFkcCNw0OViiDgF0oTC8hACH5BAAKAP8ALAAAAAAQABAAAAVx4CWOZGle1qJYp2hV1xYE29V1JXUYHWUcnQgGwyFFBAENiqUZ1kapFamTyeBcsNOLMkoMGC3GIIEyBBAtRMDAiiSKp04iQqpwc9kRpUCAizgEBVciEQNJFxpKGgECdFAYYBsCAjUMGS0XgAODmDacIyEAIfkEAAoA/wAsAAAAABAAEAAABnbAi3BILBovIMUidBSGQJdNIKBBMomUg6FDMRgoHcOBQowIqNaLJiCIEEMLxdWpnIfITRAHnxgwjiEfDR8UIQYBCEcgDYwdUR6ORxEfG3MgeFiFRB0FBBxEHAQFkUJmaBofamxuRB9/GwICGxeMTRehnrabpERBACH5BAAKAP8ALAAAAAAQABAAAAZ9wItwSCwaL5aFwnIUWiqXUSAwulSYRMrB0KEYDJSO4UAhRgQBDZLpCAgixOSSWFEssEho81IWJgYMTQwDCUgGAQhNCAEGTCMJHU0dCXBDFX1DFhwdeHwFIhxmGBihQxEDaRcOGhYao1WZGIFnAiMUDg6YRR0ioE57Fx2RRkEAIfkEAAoA/wAsAAAAABAAEAAABXLgJY5kaV7WolinaLGQEEBXxZLUUUyUYVATw4FCisg0NZYmIIiQUosKqaJY3FDS1oUoSgwYrcUggTIAEC1EwMCKJCatSYI2qnBx2dGkQOCQOAQFdxdGARoVGhCITE4kGBgWEI8QFgwYWhGTWiMWERFXIyEAIfkEAAoA/wAsAAAAABAAEAAABn/Ai3BILBovloXCchRaKpdRIDC6VJhEysHQoRgMlI7hQCFGBAENkukICCLE5JJYUSywSGjzUhYmBgxNDAMJSAYBCE0IAAZMEQkdTRwKVUMcHHhCFXpDERgYcJYEBZFDI58aFhoOFxpuoUIUGhoUZwJVGA6ZaxccBAQce0QdpUVBACH5BAAKAP8ALAAAAAAQABAAAAZ8wItwSCwaLyEFKXQUhioXSCAAuVSYRMrB0KEYDJSO4UAhmgQBDZKpCQhMxFBJgRVWlFkOtElhUj4NH3VEJQMJFx0NintFCAEGISEQH3BHHR5VThVlRRSMQh0FBBxEHAQFnEJnaRcfHxdtb0WKIWcCVSUNTYgEo7tEHR1HQQAh+QQACgD/ACwAAAAAEAAQAAAGdcCLcEgsGi8hhSJ0FHY6l1EgMLqAmEROo5HqGAwqL5g42qKsoAsqIEgRVacTdAhSLLBI1bWpwiYGDE0MAwlIBgEITQgBBkwjCRxNHQlVdCpGekUqBQSRQxwEBZdDKQIBZ3FqbG5EDYEjpikhW3hFoJ1NRU9HQQA7) 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(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAyCAIAAAAm4OfBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQhJREFUeNrslT0KhDAQhTeLR7ATT6IXSKGFYO0lciFrO1N4AU8TLNXKv0CaJbLJRAZxl1hYyJuXN+PoR/Z9fyFdBNNr27Zf8Oq6bhgGSGUYhpTSzyeBNi8hRFVVEK+6rrXaQFOs6yrvTdOYjcqyVEpTLqXI89yaSypBudq2xckF2TipOSvfmmhZFuAGnJV6Licvey5gj7fnwpwXvEfLfqnT0jQ1OBJCQLnUBvZ9b85VFAV076UU8g1ZckVRxBiDzD6OY62WzPOM9i+cpunvvcZxfCQfPWs9a91Ym2UZ5xyHtd/e8hXWng+/zlrD9jmz1tDj7bkw5wXv0Y210itJEs9az9oHsPYQYACveK0/IuB51AAAAABJRU5ErkJggg==) no-repeat -2px -26px;

        &.expanded {
            background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAyCAIAAAAm4OfBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQhJREFUeNrslT0KhDAQhTeLR7ATT6IXSKGFYO0lciFrO1N4AU8TLNXKv0CaJbLJRAZxl1hYyJuXN+PoR/Z9fyFdBNNr27Zf8Oq6bhgGSGUYhpTSzyeBNi8hRFVVEK+6rrXaQFOs6yrvTdOYjcqyVEpTLqXI89yaSypBudq2xckF2TipOSvfmmhZFuAGnJV6Licvey5gj7fnwpwXvEfLfqnT0jQ1OBJCQLnUBvZ9b85VFAV076UU8g1ZckVRxBiDzD6OY62WzPOM9i+cpunvvcZxfCQfPWs9a91Ym2UZ5xyHtd/e8hXWng+/zlrD9jmz1tDj7bkw5wXv0Y210itJEs9az9oHsPYQYACveK0/IuB51AAAAABJRU5ErkJggg==) 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-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;
        position: relative;

        fieldset.disabled,
        .redux-group-tab.disabled {
            position:relative;

            &:before {
                color: #ffffff;
                font-family: "Elusive-Icons";
                content: "";
                font-size: 38px;
                position: absolute;
                z-index: 100;
                text-shadow: 2px 2px #0e0e0e;
                left: 50%;
                top: 50%;
                margin-top: -25px;
                margin-left: -25px;
            }
        }

        .disabled {
            pointer-events: none;
            opacity: 0.4;
            background: rgba(0, 0, 0, 0.13);
            padding-left: 10px!important;
            padding-right: 10px!important;
        }

        #redux_ajax_overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            -moz-opacity: 0.10;
            -khtml-opacity: 0.10;
            opacity: 0.10;
            filter: progid:DXImageTransform.Microsoft.Alpha(opacity=10);
            filter: alpha(opacity=10);
            background: #000;
            z-index: 200;
            display: none;
        }

        .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;
                margin-top: 10px;
            }

            .redux-field-warning {
                border-color: #C09853;
                margin-top: 10px;
            }

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

        input {
            margin-left: 5px;
            line-height: 19px;

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

        .hide {
            display: none;
        }

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

        .mini,
        input[type=text].mini {
            width: 60px;
            text-align: center;
        }

        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 {
            clear: none !important;
            margin-top: 0px !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;
        }

        .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;
        }

        pre {
            white-space: pre-wrap; /* css-3 */
            white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
            white-space: -pre-wrap; /* Opera 4-6 */
            white-space: -o-pre-wrap; /* Opera 7 */
            word-wrap: break-word; /* Internet Explorer 5.5+ */
        }
    }
}

/* 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);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 27px !important;
}

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

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

        li {
            margin-top: 0;

            &.active a,
            &.active a:hover,
            &.activeChild a,
            &.activeChild a:hover {
                background: #FCFCFC;
                color: #269ad6;
                width: 184px;
                opacity: 1;
            }

            &.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: 600;
                text-decoration: none;
                -webkit-transition: none;
                transition: none;

                &.custom-tab {
                    background: #f6f6f6;
                }

                img {
                    width: 16px;
                    height: 16px;
                    position: absolute;
                    left: 15px;
                }

                &:hover {
                    background: #e5e5e5;
                    color: #777;
                    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: 600;
        line-height: 9px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border: 0 solid transparent;

        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-menu > li.redux-section-hover > a:after {
        right: 0;
        border: 9px solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-right-color: #fff;
        top: 50%;
        margin-top: -8px;
    }

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

        &.hasSubSections {
            &.redux-section-hover {
                position: relative;

                > a {
                    background-color: white;

                    &:after {
                        border-right-color: #46403c;
                    }
                }

                .subsection {
                    background-color: #46403c;
                    display: block !important;
                    z-index: 10000;
                    position: absolute;
                    top: 0;
                    left: 201px;
                    width: 200px !important;
                    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
                    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);

                    a {
                        padding: 8px 15px;
                        width: 170px;
                    }

                    .redux-group-tab-link-li {
                        &.hasIcon {
                            .group_title {
                                padding-left: 30px !important;
                            }
                        }

                        .redux-group-tab-link-a {
                            color: #ffffff;

                            .group_title {
                                padding-left: 0;
                            }
                        }
                    }
                }
            }

            .el-rotate {
                -webkit-transition: 0.1s ease-in-out;
                -moz-transition: 0.1s ease-in-out;
                -o-transition: 0.1s ease-in-out;
                transition: 0.1s ease-in-out;
            }
        }
    }

    #redux-header {
        text-align: center;

        .display_header {
            float: none;
        }
    }
}

/* sidebar */
@media only screen and (max-width: 600px) {
    .redux-sidebar {
        .redux-group-menu li {
            &.hasSubSections.redux-section-hover .subsection {
                display: none !important;
            }
        }
    }
}

.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: 600px) {
    .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: 782px) {
    .form-table > tbody > tr > th {
        width: 100%;
    }
    .redux_field_th {
        padding-bottom: 0;
    }
    .mp6 {
        .redux-container {
            #info_bar {
                height: auto;
                padding-bottom: 1px;

                a {
                    margin-top: 5px;
                }
            }
        }
    }
    .redux-container-switch label {
        padding: 5px 10px !important;
    }

    .redux-container-button_set label {
        padding: 12px 10px;
    }

    .redux-container #redux-footer #redux-share {
        line-height: 34px;
    }
}

pre {
    overflow: hidden;
}

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

.ui-datepicker-header .ui-icon {
    background-image: url(data:image/png;base64, ) !important;
}

// 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;
    }
}

#redux-header {
    position: relative;
}

// Modern Theme
.redux-main {
    position: relative;

    #redux-sticky {
        min-height: 32px;
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -10px;
        margin-bottom: 8px;

        #info_bar {
            height: 32px;
            .expand_options {
                margin-top: 4px;
            }
        }
    }

    .redux_field_search {
        top: 50px;
        right: 5px;
    }

    #redux-footer-sticky {
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: -10px;
    }
}

.redux-qtip {
    z-index: 999999 !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 1.2em;
    top:-1px;
}

.redux-sidebar .redux-group-menu {
    li {
        &.active,
        &.activeChild {
            border-left: 0 none;

            a {
                .extraIconSubsections {
                    display: none;
                }
            }

            &.hasSubSections {
                .redux-menu-error {
                    display: block;
                }

                .subsection {
                    .redux-menu-error {
                        margin-right: 2px;
                    }
                }

                .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;

                    &.active a:hover {
                        color: #fff;
                    }

                    a {
                        width: auto;
                        border-top: 0 !important;
                        padding: 7px;
                        color: #fff;
                        padding-left: 15px;
                        -webkit-transition: all 0.2s;
                        -moz-transition: all 0.2s;
                        -ms-transition: all 0.2s;
                        -o-transition: all 0.2s;
                        transition: all 0.2s;

                        span.group_title {
                            padding-left: 5px !important;
                        }
                    }

                    &.hasIcon {
                        a {
                            padding-left: 14px;

                            span.group_title {
                                padding-left: 30px !important;
                            }

                        }
                    }
                }
            }
        }

        &.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;
                    font-size: 9px;
                    height: 9px;
                    line-height: 9px;
                    margin-right: 5px;
                    padding: 6px 7px 4px 7px;
                    width: 5px;
                }
            }
        }

        &.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;

                    }
                }
            }
        }
    }
}

div.redux-star-holder { 
    position: relative; 
    height:19px; 
    width:100px; 
    font-size:19px;
}

div.redux-star {
    height: 100%; 
    position:absolute; 
    top:0px; 
    left:0px; 
    background-color: transparent; 
    letter-spacing:1ex; border:none;

    img {
        width:19px; 
        height:19px; 
        border-left:1px solid #f1f1f1; 
        border-right:1px solid #f1f1f1;
        display:block; 
        position:absolute; 
        right:0px; 
        border:none; 
        text-decoration:none;        
    }
    
    &.redux-star-rating {
        background-color: #fc0;
    }
    
    &.redux-star1 {
        width:20%;
    } 

    &.redux-star2 {
        width:40%;
    } 

    &.redux-star3 {
        width:60%;
    }

    &.redux-star4 {
        width:80%;
    }

    &.redux-star5 {
        width:100%;
    }
}

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

    .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;
        }
        .subsection a {
            min-height: 15px;
        }
    }

    #redux-footer #redux-share,
    .redux-hint-qtip {
        display: none;
    }

    .redux-container {
        .redux-main {
            margin-left: 44px;
        }

        .redux-action_bar {
            float: none;
        }
    }

    .redux-group-tab-link-a {
        min-height: 15px;

        span {
            padding: 11px 12px;
            color: #555;
            -webkit-transition: all 0.3s;
            -moz-transition: all 0.3s;
            transition: all 0.3s;
            &:hover {
                background: #e5e5e5;
            }

            text-shadow: none !important;
        }
    }
}

@media screen and (max-width: 400px) {
    #redux-defaults {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    #redux-defaults-section {
        display: none;
    }
}

@media screen and (max-width: 730px) {
    #redux-share {
        display: none;
    }

    #redux-defaults-section2 {
        display: none;
    }
    #redux-share {
        display: none;
    }
}

@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-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;
    }

    .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;
        }

        .redux-action_bar .button {
            margin-top: -1px;
        }
    }
}

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

                label {
                    display: initial;
                }
            }
        }
    }
}