#formBuilder {

    #message {
        position: fixed;
        display: none;
        top: 20px;
        width: 40%;
        left: 30%;
        z-index: 100;
        box-shadow: 0 0 100px rgba(0,0,0,0.2);

        .el.msg {
            margin-bottom: 0;
        }

        fieldset {

            .row {

                label.inline {
                    width: auto;
                    margin: 7px 10px 0;
                }

                input.inline {
                    width: auto;
                }
            }
        }
    }

    .questionFieldset {

        h1 {
            margin-bottom: 0;
        }
    }

    .fieldsetWrap, .questionWrap {
        width: 100%;
        background: #fcfcfc;

        .col {
            float: left;
            display: inline-block;
            margin-bottom: 0;
            margin-right: 0;
            border: 0 solid rgba(0,0,0,0);
            -moz-background-clip: padding-box !important;
            -webkit-background-clip: padding-box !important;
            background-clip: padding-box !important;

            &:after {
                content: ".";
                display: block;
                clear: both;
                visibility: hidden;
                line-height: 0;
                height: 0;
            }
        }

        #fieldsetList, #questionList {
            padding-left: 0;
            margin: 0;
            width: 100%;
        }

        #addFieldset,  #addQuestion {
            margin: 5px auto;
            display: block;
            float: none;
        }

        #fieldsetList li, #questionList li {
            list-style: none;

            & a {
                background: #fcfcfc;
                color: #0A50C0;
                border-bottom: solid 1px #0A50C0;
                display: block;
                padding: 10px;
                font-family: "OpenSansSemibold", sans-serif;

                &.active {
                    font-family: "OpenSansSemibold", sans-serif;
                    background: #0a50c0;
                    background: -webkit-linear-gradient(top, #0f55c5, #054bbb);
                    background: -moz-linear-gradient(top, #0f55c5, #054bbb);
                    color: #fff;

                    .noBtn {
                        color: #fee;
                    }
                }
            }
        }

        #questionContent {
            width: 74.5%;
            border-left: solid 2px #0a50c0;
            margin-bottom: 0;
        }
    }

    .orderingWrap {

        .column {
            max-width: 400px;
        }

        .portlet {
            margin: 0 1em 1em 0;
            border-radius: 0;
            border: none;
            background: #fff;
            clear:both;

            &.emptyPortlet {
                .portletContent {
                    padding-bottom: 2em;
                }
            }
        }

        .portletHeader {
            padding: 0.7em 1.2em;
            border-radius: 0;
            position: relative;
            background: #0a50c0;
            background: -webkit-linear-gradient(top, #0f55c5, #054bbb);
            background: -moz-linear-gradient(top, #0f55c5, #054bbb);
            color: #fff;
            font-weight: bold;
        }

        .portletDisabled {
            background: #d7dce4;

             .portletHeader {
                background: #fcfcfc;
                background: -webkit-linear-gradient(top, #d7dce4, #c7ccd4);
                background: -moz-linear-gradient(top, #d7dce4, #c7ccd4);
                color: #000;
            }
        }

        .portletElement {
            padding: 0.6em;
            border-bottom: 1px solid #d7dce4;
        }

        .portlet-placeholder {
            border: 1px dotted black;
            margin: 0 1em 1em 0;
            height: 50px;

            i {
                font-size: 1.2em !important;
            }
        }
    }

    .noBtn {
        background: none;
        outline: none;
        border: none;
        color: #942929;
    }

    .col.side {
        width: 25%;

        .noBtn {
            float: right;
        }
    }

    .fieldset, .question {
        margin-left: 5%;
        width: 95%;
    }
}

.previewIframe {
    min-width: 1000px;
    min-height: 550px;
    border: none;
}

.toggleResultWrap {
    padding: 10px;
}

.resultWrap {
    display: none;

    th {
        width: 30%;
    }

    th {
        width: 30%;
    }
}

.formBuilderPreview {
    padding: 0;
    height: 100%;

    .overlayContent {
        height: 100%;
        margin-top: 0;
        max-height: 100%;
    }

    .overlayAjax {
        padding: 0;
        max-width: none;
        height: 100%;

        > div:first-child {
            height: 100%;
        }
    }

    .previewIframe {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
    }
}

#restricted_categories {
    height: 200px;
}