body {
    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
    padding-bottom: 10px;
    position: relative;
}

@media (max-width: 979px) {
    body {
        padding-top: 60px;
    }
}

#components {
    min-height: 500px;
    margin-top: 5px;
}

#target fieldset {
    border: 1px solid #ccc;
    min-height: 220px;
    padding: 5px;
    padding-bottom: 50px;
}

.component {
    cursor: pointer;
}

input {
    cursor: pointer;
}

textarea {
    resize: vertical;
}
.popover {
    z-index: 9999;
}
.popover .control-group {
    cursor: default;
}
.popover input {
    cursor: text;
}

.temp {
    width: 100%;
    height: 100%;
    background: transparent;
    position: absolute;
    z-index: 999999;
    top: 0;
    overflow-x: hidden;
    left: 0;
}

.temp form {
    padding: 8px 4px;
    border: 1px dotted #ccc;
    position: absolute;
    background: white;
    box-shadow: 0px 0px 30px #999;
    -webkit-transition: -webkit-transform 0.1s ease-out;
    transition: transform 0.1s ease-out;
    overflow: hidden;
}

#render {
    min-height: 500px;
    font-family: monospace;
}

/* Popovers now are appended to their parent rather
than to the body/main document as they once were.
We need to over-ride some inherited stuff.. */
form .popover .controls {
    margin-left: 0;
}

form .popover .control-label {
    text-align: left;
}

form .popover form {
    width: 300px;
}

.target:after {
    float: left;
    content: " ";
    height: 77px;
    margin-top: 3px;
    background: #f0f0f0;
    width: 100%;
    border: 1px dashed #ccc;
}

.target.head-insert:after {
    float: left;
    content: " ";
    height: 77px;
    margin-top: 3px;
    background: #f0f0f0;
    width: 50%;
    border: 1px dashed #ccc;
}

#temp_drop_target {
    background: #f0f0f0;
    border: 1px dashed #ccc;
}

.wg-target {
    background-color: transparent;
    border: 0px solid;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input.wg-target:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#target,
#input,
#radioscheckboxes,
#select,
#buttons {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#target fieldset {
    width: 100%;
    overflow: hidden;
}
