.wpsf-framework {
    position: relative;
    margin-top: 20px;
    margin-right: 20px;

    label {
        padding: 0;
        margin: 0;
        display: inline-block;
    }

    .wpsf-settings-error {
        margin: 0 0 15px 0;
    }

    .wpsf-header {
        position: relative;
        background-color: #050505;
        padding: 25px;
        @include border-radius(2px 2px 0 0);
        &.wpsf-sticky-header.sticky {
            position: fixed;
            margin-top: 0;
            top: 32px;
            z-index: 9999;
            box-sizing: border-box;
        }
        h1 {
            color: #fff;
            float: left;
            font-size: 1.5em;
            line-height: 26px;
            font-weight: 400;
            margin: 0;

            small {
                font-size: 11px;
                color: #555;
                font-weight: 500;
            }
        }

        fieldset {
            float: right;

            input {
                margin: 0 2px;
                line-height: 26px;
            }
        }
    }

    .wpsf-body {
        position: relative;
        background-color: #fff;
    }

    .wpsf-nav {
        display: block;
        position: relative;
        z-index: 10;
        float: left;
        width: 225px;

        ul {
            clear: left;
            margin: 0;
            list-style-type: none;

            li {
                margin-bottom: 0;

                a {
                    font-size: 13px;
                    position: relative;
                    display: block;
                    padding: 15px;
                    text-decoration: none;
                    color: #999;
                    background-color: #222;
                    border-bottom: 1px solid #2f2f2f;
                    @include transition(all 0.2s ease-out);

                    &:hover {
                        color: #fff;
                    }

                    &:focus {
                        outline: none;
                        @include box-shadow(none);
                    }
                }

                .wpsf-section-active {
                    color: #fff;
                    background-color: #111;

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

                .wpsf-arrow:after {
                    content: "\f054";
                    display: inline-block;
                    font-family: "FontAwesome";
                    font-size: 9px;
                    line-height: 1;
                    position: absolute;
                    right: 10px;
                    top: 50%;
                    margin-top: -4px;
                    @include transform(rotate(0));
                    @include transition(transform 0.2s);
                }

                &.wpsf-tab-active .wpsf-arrow:after {
                    @include transform( rotate(90deg));
                }
            }

            ul {
                display: none;
                position: relative;
                border-bottom: 1px solid #2f2f2f;
                position: relative;

                li {

                    a {
                        font-size: 12px;
                        padding: 13px 15px 13px 25px;
                        background-color: #191919;
                        border-bottom: 1px solid #222;
                    }

                    .wpsf-section-active {
                        background-color: #101010;
                    }

                    &:last-child a {
                        border-bottom: 0;
                    }
                }

                &:before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 15px;
                    z-index: 1;
                    width: 1px;
                    height: 100%;
                    background-color: rgba(#222, 0.75);
                }
            }
        }

        .wpsf-icon {
            width: 20px;
            margin-right: 5px;
            font-size: 14px;
            text-align: center;
        }

        .wpsf-seperator {
            color: #fff;
            font-weight: 600;
            text-transform: uppercase;
            padding: 30px 15px 15px 15px;
            border-bottom: 1px dashed #2f2f2f;
        }
    }

    .wpsf-nav-background {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 9;
        width: 225px;
        background-color: #222;
    }

    .wpsf-content {
        position: relative;
        margin-left: 225px;

        .wpsf-sections {
            float: left;
            width: 100%;
        }

        .wpsf-section-title {
            display: none;
            padding: 20px 30px;
            background-color: #5bc0de;

            h3 {
                color: #fff;
                margin: 0;
                padding: 0 !important;
                font-weight: bold;
                text-transform: uppercase;
                @include text-shadow(1px 1px 0 rgba(#44a7c5, 0.5));
            }
        }

        .wpsf-section {
            display: none;
        }

    }

    .wpsf-footer {
        padding: 20px;
        color: #555;
        text-align: right;
        font-size: 11px;
        background-color: #050505;
        @include border-radius(0 0 2px 2px);
    }

    .wpsf-show-all {
        .wpsf-nav-background,
        .wpsf-nav {
            display: none;
        }

        .wpsf-content {
            margin-left: 0;
        }

        .wpsf-section-title,
        .wpsf-section {
            display: block !important;
        }
    }

    .wpsf-expand-all {
        position: absolute;
        right: 40px;
        bottom: 5px;
        z-index: 1;
        color: #555;
        font-size: 11px;
        font-weight: 500;
        text-decoration: none;

        &:hover {
            color: #fff;
        }

        &:focus {
            @include box-shadow(none);
        }
    }

    &.wpsf-theme-simple {
        .inside {
            padding: 0;
            margin-top: 0;
            .wpsf-element {
                padding: 15px;
            }
            .wpsf-title {
                font-size: 14px;
                h4 {
                    font-size: 14px;
                }

            }

        }
        .wpsf-content {
            margin-left: 0;
            .wpsf-sections {
                float: none;
            }
        }

        .wpsf-subnav-container {
            .wpsf-submenus {
                font-size: 14px;
                line-height: 2;

            }
            ul {
                margin-top: 0 !important;
                float: none;

                li {
                    a {
                        padding: 0 5px !important;
                        font-size: 14px;
                    }
                }
            }
        }

        .wpsf-simple-footer {
            padding: 8px 12px;
            border-top: 1px solid #eee;
            text-align: right;
            font-size: 14px;

            .wpsf-save {
                float: right;
                margin-left: 15px;
            }
        }
    }
}

.wpsf-wc-style{
    .wpsf-element + .wpsf-element{
        border: none;
    }
    .wpsf-element{
        padding: 5px 20px 5px 12px !important;
        margin: 9px 0;

        .wpsf-fieldset{
            margin-left: 0 !important;
        }
        .wpsf-title{
            width:150px;
            h4{
                vertical-align: middle;
                font-weight: normal;
            }
        }
    }
}

.wpsf-metabox-framework {
    margin: -6px -12px -12px -12px;

    .wpsf-content {
        .wpsf-section-title {
            padding: 20px;
        }
    }
}

.wpsf-element {
    position: relative;
    padding: 30px;

    + .wpsf-element {
        border-top: 1px solid #eee;
    }

    p:last-child {
        margin-bottom: 0 !important;
    }

    &:after,
    &:before {
        content: " ";
        display: table;
    }

    &:after {
        clear: both;
    }

    h4 {
        margin-top: 0;
    }

    .wpsf-title {
        position: relative;
        width: 25%;
        float: left;

        h4 {
            margin: 0;
            color: #23282d;
        }
    }

    .wpsf-fieldset {
        margin-left: 30%;
    }

    pre {
        clear: both;
        color: #ccc;
        background-color: #222;
        padding: 15px;
        overflow: auto;
        @include border-radius(2px);

        strong {
            color: #ffbc00;
        }
    }
}

.wpsf-pseudo-field {
    padding: 0 5px 0 0 !important;
    border: 0;
    display: inline-block;
}

.wpsf-field-text {
    input {
        width: 340px;
        max-width: 100%;
    }
}

.wpsf-field-textarea {
    textarea {
        width: 100%;
        max-width: 100%;
        min-height: 125px;
    }

    .wpsf-shortcode {
        margin-bottom: 10px;
    }
}

.wpsf-field-wysiwyg {
    textarea {
        width: 100%;
        max-width: 100%;
        min-height: 125px;
    }

    .wp-editor-container {
        clear: none;
    }
}

.wpsf-field-number {
    input {
        width: 70px;
    }
    em {
        margin-left: 5px;
        color: #bbb;
    }
}

.wpsf-field-select {
    select {
        max-width: 100%;
    }
}

.wpsf-field-typography {
    select,
    .chosen-container {
        margin-right: 5px;
    }

    .wpsf-typo-variant {
        min-width: 90px;
    }
}

.wpsf-field-checkbox,
.wpsf-field-radio {
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        overflow-y: auto;
        max-height: 305px;
    }

    .horizontal li {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 15px;
    }

    input[type="radio"]:checked:before {
        line-height: 10px;
    }
}

.wpsf-field-switcher {

    label {
        display: block;
        float: left;
        cursor: pointer;
        position: relative;
        width: 62px;
        height: 26px;
        padding: 0;
        margin: 0;
        overflow: hidden;
        @include border-radius(20px);

        span {
            position: absolute;
            top: 4px;
            left: 4px;
            width: 18px;
            height: 18px;
            background-color: #fff;
            @include border-radius(16px);
            @include transition(left 0.15s ease-out);
        }

        input {
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;

            &:checked ~ em {
                background: #4fb845;
            }

            &:checked ~ em:before {
                opacity: 0;
            }

            &:checked ~ em:after {
                opacity: 1;
            }

            &:checked ~ span {
                left: 40px;
            }
        }

        em {
            position: relative;
            display: block;
            height: inherit;
            font-size: 11px;
            line-height: 26px;
            font-weight: 500;
            font-style: normal;
            text-transform: uppercase;
            color: #fff;
            background-color: #ed6f6f;
            @include transition(background 0.15s ease-out);
        }

        em:before,
        em:after {
            position: absolute;
            @include transition(opacity 0.15s ease-out);
        }

        em:before {
            content: attr(data-off);
            right: 14px;
        }

        em:after {
            content: attr(data-on);
            left: 14px;
            opacity: 0;
        }
    }

    .wpsf-text-desc {
        float: left;
        margin-left: 5px;
        margin-top: 0;
        padding-top: 4px;
    }
}

.wpsf-field-image_select {

    label {
        display: inline-block;
        margin: 5px;

        img {
            max-width: 100%;
            vertical-align: bottom;
            background-color: #fff;
            border: 2px solid #eee;
            @include opacity(0.75);
            @include transition(all 0.15s ease-out);
        }
    }

    input {
        display: none;

        &:checked ~ img {
            border-color: #333;
            @include opacity(1);
        }
    }
}

.wpsf-field-upload {
    input {
        width: 420px;
        max-width: 100%;
    }
}

.wpsf-field-background {
    .wpsf-field-color_picker {
        position: relative;
        top: 10px;
    }
}

.wpsf-field-color_picker {

    .wpsf-alpha-wrap {
        display: none;
        position: relative;
        top: -1px;
        width: 235px;
        padding: 9px 10px;
        border: 1px solid #dfdfdf;
        border-top: none;
        background-color: #fff;
    }

    .wpsf-alpha-slider {
        position: absolute;
        width: 190px;
        margin-left: 2px;
        height: 18px;

        .ui-slider-handle {
            position: absolute;
            top: -3px;
            bottom: -3px;
            z-index: 5;
            border-color: #aaa;
            border-style: solid;
            border-width: 4px 3px;
            width: 10px;
            height: 16px;
            margin: 0 -5px;
            background: none;
            cursor: ew-resize;
            @include opacity(0.9);
            @include border-radius(4px);
            @include box-shadow(0 1px 2px rgba(black, 0.2));

            &:before {
                content: " ";
                position: absolute;
                left: -2px;
                right: -2px;
                top: -3px;
                bottom: -3px;
                border: 2px solid #fff;
                @include border-radius(3px);
            }
        }
    }

    .wpsf-alpha-slider-offset {
        height: 18px;
        width: 200px;
        background: url(../images/checkerboard.png) repeat-y center left scroll #fff;
        @include box-shadow(0 0 5px rgba(black, 0.4) inset);
        @include border-radius(2px);
    }

    .wpsf-alpha-text {
        position: absolute;
        top: 12px;
        right: 10px;
        width: 30px;
        font-size: 12px;
        line-height: 12px;
        text-align: center;
        color: #999;
    }
}

.wpsf-field-backup {
    textarea {
        width: 100%;
        min-height: 200px;
        margin-bottom: 5px;
    }

    small {
        display: inline-block;
        margin: 5px;
    }

    hr {
        margin: 30px 0;
    }
}

.wpsf-field-fieldset {
    .wpsf-inner {
        border: 1px solid #eee;
        background-color: #fff;
    }

    .wpsf-element {
        padding: 20px;
    }
}

.wpsf-field-group {

    .wpsf-element {
        padding: 20px;
    }

    .wpsf-group {
        display: none;
        position: relative;
        margin-bottom: 5px;

        h4 {
            font-size: 1em;
        }
    }

    .wpsf-group-content {
        border: 1px solid #e5e5e5;
        background: #fff;
    }

    .wpsf-group-title {
        border: 1px solid #e5e5e5;
        background: #fafafa;
        @include transition(border-color 0.15s);

        &:active,
        &:hover,
        &:focus {
            border: 1px solid #bbb;
            background: #fafafa;
            outline: none;
        }
    }

    .wpsf-group-title {
        display: block;
        cursor: pointer;
        position: relative;
        margin: 0;
        padding: 15px;
        min-height: 0;
        font-size: 100%;
    }

    .wpsf-group-content {
        padding: 0;
        border-top: 0;
    }

    .widget-placeholder {
        margin-bottom: 8px;
    }

    .ui-accordion .wpsf-group {
        display: block;
    }

    .ui-accordion-icons {
        padding-left: 30px;
    }

    .ui-accordion-header-icon {
        position: absolute;
        left: .5em;
        top: 50%;
        margin-top: -10px;
        text-indent: 0;
        color: #bbb;
    }

    .ui-sortable-helper {
        .wpsf-group-content {
            display: none !important;
        }
    }
}

.wpsf-help {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 5px;
    font-size: 14px;
    color: #aaa;
}

.wpsf-field-heading {
    font-size: 1.5em;
    font-weight: bold;
    color: #23282d;
    background-color: #f5f5f5 !important;
}

.wpsf-field-subheading {
    font-size: 14px;
    font-weight: bold;
    padding-top: 17px;
    padding-bottom: 17px;
    color: #23282d;
    background-color: #f7f7f7 !important;
}

.wpsf-field-notice {
    padding: 0 !important;
    border: 0 !important;

    + .wpsf-element {
        border-top: 0;
    }

    .wpsf-notice {
        font-size: 12px;
        padding: 17px 30px;
        border-top: 1px solid transparent;
        border-bottom: 1px solid transparent;
    }

    .wpsf-success {
        color: #3c763d;
        border-color: #d6e9c6;
        background-color: #dff0d8;
    }

    .wpsf-info {
        color: #31708f;
        border-color: #bce8f1;
        background-color: #d9edf7;
    }

    .wpsf-warning {
        color: #8a6d3b;
        border-color: #faebcc;
        background-color: #fcf8e3;
    }

    .wpsf-danger {
        color: #a94442;
        border-color: #ebccd1;
        background-color: #f2dede;
    }

}

.wpsf-field-icon {

    input {
        display: none;
    }

    .button {
        margin-right: 5px;
    }

    .wpsf-icon-preview i {
        display: inline-block;
        font-size: 14px;
        width: 30px;
        height: 26px;
        line-height: 26px;
        margin-right: 5px;
        text-align: center;
        vertical-align: top;
        color: #555;
        border: 1px solid #ccc;
        background-color: #f7f7f7;
        @include border-radius(3px);
        @include box-shadow(0 1px 0 rgba(black, 0.08));
    }
}

.wpsf-field-image {

    input {
        display: none;
    }

    .wpsf-preview {
        display: inline-block;
        position: relative;
        padding: 4px;
        min-width: 44px;
        min-height: 22px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        background-color: #f9f9f9;
        @include border-radius(2px);
        @include box-shadow(0 1px 0 rgba(black, 0.08));

        img {
            max-height: 90px;
            display: inline-block;
            vertical-align: middle;
        }
    }

    .wpsf-remove {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 22px;
        height: 22px;
        font-size: 11px;
        line-height: 22px;
        text-align: center;
        cursor: pointer;
        color: #fff;
        background-color: #e14d43;
        @include opacity(0.8);
        @include border-radius(2px);
        @include transition(opacity .2s);

        &:hover {
            @include opacity(1);
        }
    }
}

.wpsf-field-gallery {

    input {
        display: none;
    }

    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;

        li {
            display: inline-block;
            position: relative;
            padding: 4px;
            margin: 0 5px 10px 0;
            border: 1px solid #ccc;
            background-color: #f9f9f9;
            @include border-radius(2px);
            @include box-shadow(0 1px 0 rgba(black, 0.08));

            img {
                max-height: 60px;
                display: inline-block;
                vertical-align: middle;
            }
        }
    }

    .button {
        margin-right: 5px;
        margin-bottom: 5px;
    }
}

.wpsf-field-sorter {

    .ui-sortable-placeholder {
        height: 20px;
        border: 1px dashed #f1c40f;
        background-color: #fffae4;
    }

    .wpsf-modules {
        float: left;
        width: 50%;
    }

    .wpsf-enabled {
        margin-right: 15px;
    }

    .wpsf-disabled,
    .wpsf-enabled {
        padding: 5px 15px;
        border: 1px dashed #ddd;
        background-color: #fff;
    }

    .wpsf-disabled {
        li {
            @include transition(opacity 0.15s);
            @include opacity(0.5);
        }

        .ui-sortable-helper {
            @include opacity(1);
        }
    }

    h3 {
        font-size: 14px;
        margin: 0 0 15px 0;
    }

    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        min-height: 62px;

        li {
            margin: 10px 0;
            padding: 10px 15px;
            cursor: move;
            font-weight: bold;
            text-align: center;
            border: 1px solid #e5e5e5;
            background-color: #fafafa;
            @include transition(border-color 0.15s);

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

.wpsf-taxonomy {
    margin: 0;

    > .wpsf-element {
        border-top: 0;
    }

    > .wpsf-field-heading {
        font-size: 1.1em;
        padding: 20px !important;
        border: 1px solid #ddd;
    }

    > .wpsf-field-subheading {
        font-size: 12px;
        padding: 15px !important;
        border: 1px solid #ddd;
    }

    > .wpsf-field-notice {

        .wpsf-notice {
            padding: 15px;
            border-left-width: 1px;
            border-left-style: solid;
            border-right-width: 1px;
            border-right-style: solid;
        }
    }
}

.wpsf-taxonomy-add-fields {

    > .wpsf-element {
        padding: 8px 0;
        margin: 0 0 10px;

        > .wpsf-title {
            float: none;
            width: 100%;
            padding: 2px 2px 4px 0;

            h4 {
                font-size: 12px;
                font-weight: normal;
            }
        }

        > .wpsf-fieldset {
            margin-left: 0;

            > .wpsf-help {
                right: -5px;
            }
        }
    }
}

.wpsf-taxonomy-edit-fields {

    > .wpsf-element {
        padding: 20px 0;

        > .wpsf-title {
            width: 225px;

            h4 {
                font-size: 14px;
                font-weight: 600;
                line-height: 1.3;
                display: inline-block;
                vertical-align: middle;
            }
        }

        > .wpsf-fieldset {
            margin-left: 225px;

            > .wpsf-help {
                top: -5px;
                right: -5px;
            }
        }
    }

    > .wpsf-field-notice {
        margin: 20px 0;
    }

    > .wpsf-field-subheading,
    > .wpsf-field-heading {
        margin: 20px 0;
        border: 1px solid #ddd;
    }
}

.wpsf-warning-primary {
    color: #fff !important;
    border-color: #d02c21 #ba281e #ba281e !important;
    background: #e14d43 !important;
    @include box-shadow(0 1px 0 #ba281e !important);
    @include text-shadow(0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e !important);

    &:hover,
    &:focus {
        border-color: #ba281e !important;
        background: #e35950 !important;
        @include box-shadow(0 1px 0 #ba281e !important);
    }

    &:active {
        border-color: #ba281e !important;
        background: #d02c21 !important;
        @include box-shadow(inset 0 2px 0 #ba281e !important);
    }
}

.wpsf-text-desc {
    font-style: italic;
    font-weight: 400;
    margin-top: 10px;
    color: #999;
}

.wpsf-text-success {
    color: #2b542c;
}

.wpsf-text-info {
    color: #31708f;
}

.wpsf-text-warning {
    color: #d02c21;
}

.wpsf-text-muted {
    color: #aaa;
}

.wpsf-text-left {
    text-align: left;
}

.wpsf-text-center {
    text-align: center;
}

.wpsf-text-right {
    text-align: right;
}

.wpsf-block-left {
    float: left;
}

.wpsf-block-right {
    float: right;
}

.wpsf-text-highlight {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    @include border-radius(2px);
}

.wpsf-text-highlight-gray {
    padding: 2px 4px;
    font-size: 90%;
    background-color: #f0f0f0;
    @include border-radius(2px);
}

#wpsf-save-ajax {
    display: none;
    position: relative;
    top: 4px;
    right: 5px;
    font-size: 12px;
    padding: 3px 8px;
    color: #fff;
    background-color: #27ae60;
    @include border-radius(2px);
}

.wpsf-tooltip {
    position: absolute;
    z-index: 100103;
    display: block;
    visibility: visible;
    font-size: 12px;
    line-height: 1.4;
    @include opacity(0);
    @include transition(opacity .15s linear);

    &.in {
        @include opacity(1);
    }
}

.wpsf-tooltip-inner {
    max-width: 200px;
    padding: 6px 12px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: #000;
    background-color: rgba(black, 0.85);
    @include border-radius(4px);
}

.wpsf-dialog {
    display: none;
    padding: 0;

    .wpsf-dialog-header {
        width: 100%;
        padding: 16px 0;
        background-color: #f5f5f5;
        border-bottom: 1px solid #eee;

        select,
        .chosen-container {
            display: block;
            margin: 0 auto;
            width: 250px !important;
        }
    }

    .wpsf-element {
        padding: 15px 30px 15px 15px;
    }

    .wpsf-insert-button {
        text-align: center;
        width: 100%;
        padding: 16px 0;
        background-color: #f5f5f5;
        border-top: 1px solid #eee;
    }

    .wpsf-dialog-load {
        min-height: 250px;
        overflow: hidden;
        overflow-y: auto;
    }

    .wpsf-clone-button {
        margin: 10px 0;
        text-align: center;
    }

    .wpsf-shortcode-clone {
        position: relative;
        border-top: 1px dashed #5cb85c;

        .wpsf-remove-clone {
            display: none;
            position: absolute;
            right: 5px;
            top: 5px;
            z-index: 1;
            padding: 5px;
            color: #ed6f6f;
            font-size: 14px;

            &:hover {
                text-decoration: none;
                color: darken( #ed6f6f, 10%);
            }
        }
    }

    a {
        &:active,
        &:focus {
            outline: none;
            @include box-shadow(none);
        }
    }

    h4 {
        font-size: 13px;

        small {
            font-style: italic;
            font-weight: 400;
            color: #aaa;
        }
    }

}

#wpsf-icon-dialog {

    .wpsf-icon-search {
        width: 250px;
        height: 40px;
        line-height: 40px;
    }

    a {
        display: inline-block;
        padding: 5px;
        cursor: pointer;

        .wpsf-icon {
            position: relative;
            padding: 5px;
            display: inline-block;
            font-size: 14px;
            width: 30px;
            height: 26px;
            line-height: 26px;
            text-align: center;
            vertical-align: top;
            color: #555;
            border: 1px solid #ccc;
            background-color: #f7f7f7;
            @include border-radius(3px);
            @include box-shadow(0 1px 0 rgba(black, 0.08));
        }

        &:hover .wpsf-icon {
            color: #fff;
            border-color: #222;
            background-color: #222;
        }
    }

    .wpsf-icon-loading {
        color: #999;
        text-align: center;
        margin-top: 10px;
    }

    .wpsf-icon-title {
        padding: 15px;
        margin: 10px 0;
        text-align: center;
        text-transform: uppercase;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        background-color: #fafafa;

        &:first-child {
            margin-top: 0;
            border-top: 0;
        }
    }
}

.wpsf-shortcode-scrolling,
.wpsf-icon-scrolling {
    overflow: hidden;
    height: 100%;

    .wp-full-overlay {
        z-index: 1;
    }
}

#side-sortables {
    .wpsf-content .wpsf-section-title {
        padding: 12px;
    }

    .wpsf-element {
        padding: 12px;

        .wpsf-title {
            float: none;
            width: 100%;
            margin-bottom: 10px;
        }

        .wpsf-fieldset {
            margin-left: 0;
        }
    }

    .wpsf-field-upload input {
        width: 185px;
    }

    .wpsf-field-notice .wpsf-notice {
        padding: 12px;
    }
}

.widget-content {
    .wpsf-element {
        position: relative;
        top: -1px;
        margin-right: -15px;
        margin-left: -15px;
        padding: 12px 15px;

        &:last-child {
            margin-bottom: 15px;
        }

        .wpsf-title {
            float: none;
            width: 100%;
            margin-bottom: 5px;
        }

        .wpsf-fieldset {
            margin-left: 0;
        }
    }

    .wpsf-field-text input {
        width: 100%;
    }

    .wpsf-field-upload input {
        width: 330px;
    }

    .wpsf-field-notice .wpsf-notice {
        padding: 15px;
    }
}

#customize-controls {

    .customize-control-wpsf_field {
        position: relative;
        top: -10px;
        margin-bottom: 0;

        .chosen-container {
            &.chosen-with-drop .chosen-drop {
                position: relative;
            }
        }
    }

    .wpsf-element {
        margin-right: -15px;
        margin-left: -15px;
        padding: 12px 15px;

        .wpsf-title {
            float: none;
            width: 100%;
            margin-bottom: 10px;

            h4 {
                font-size: 14px;
                font-weight: 600;
                color: inherit;
            }
        }

        .wpsf-fieldset {
            margin-left: 0;
        }
    }

    .widget-content {
        .wpsf-element {
            margin-right: -10px;
            margin-left: -10px;
            padding: 10px 12px;
        }
    }

    .wpsf-field-select select {
        width: 100%;
    }

    .wpsf-field-upload input {
        width: 175px;
        margin-right: 5px;
    }

    .wpsf-field-heading {
        color: inherit;
        font-size: 14px;
        line-height: 1em;
    }

    .wpsf-field-subheading {
        color: inherit;
        font-size: 11px;
    }

    .wpsf-text-desc {
        margin-top: 4px;
        font-size: 12px;
    }

    .wpsf-field-content,
    .wpsf-field-notice .wpsf-notice {
        padding: 15px;
    }
}

@media only screen and (max-width:1200px) {
    .wpsf-metabox-framework {
        .wpsf-element {

            .wpsf-title {
                float: none;
                width: 100%;
                margin-bottom: 10px;
            }

            .wpsf-fieldset {
                margin-left: 0;
            }
        }
    }
}

@media only screen and (max-width:782px) {
    .wpsf-framework {
        .wpsf-header {
            text-align: center;

            h1 {
                width: 100%;
                margin-bottom: 10px;
            }

            fieldset {
                float: none;
            }
        }

        .wpsf-expand-all,
        .wpsf-nav-background,
        .wpsf-nav {
            display: none;
        }

        .wpsf-content {
            margin-left: 0;
        }

        .wpsf-section-title,
        .wpsf-section {
            display: block !important;
        }

        .wpsf-element {

            .wpsf-title {
                float: none;
                width: 100%;
                margin-bottom: 10px;
            }

            .wpsf-fieldset {
                margin-left: 0;
            }
        }
    }
}
