/* ==========================================================================
   CP Contact Form with PayPal - Admin Form Builder Styles (style.css)
   ========================================================================== */

.form-builder {
    font-size: 13px;
    color: #1d2327;
}

.clearer {
    clear: both;
}

.form-builder .column {
    float: left;
}

.form-builder .columnr {
    float: right;
}

.form-builder .width50 {
    width: 48%;
}

.form-builder .width20 {
    width: 24%;
}

.form-builder .width40 {
    width: 40%;
}

.form-builder .width30 {
    width: 30%;
}

.form-builder .padding10 {
    padding: 10px;
}

.form-builder .button {
    float: left;
    margin: 5px 15px;
}

.form-builder .button.n span,
.form-builder .button.n {
    color: #646970;
    border-color: #c4b5fd;
}

/* Left Panel Tabs & Right Builder Canvas */
.form-builder #tabs {
    height: 650px;
    overflow: auto;
}

.form-builder #tabs-1,
.form-builder #tabs-2,
.form-builder #tabs-3 {
    padding: 16px !important;
    font-size: 13px;
}

.form-builder .category-description {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #646970;
    margin: 6px 4px 2px;
}

/* Field Settings Inputs in #tabs-2 and #tabs-3 */
.form-builder #tabs-2 label,
.form-builder #tabs-3 label {
    display: inline-block;
    font-weight: 600;
    font-size: 12.5px;
    color: #1d2327;
    margin: 10px 0 4px;
}

.form-builder #tabs-2 input[type="text"],
.form-builder #tabs-2 input:not([type]),
.form-builder #tabs-2 textarea,
.form-builder #tabs-2 select,
.form-builder #tabs-3 input[type="text"],
.form-builder #tabs-3 input:not([type]),
.form-builder #tabs-3 textarea,
.form-builder #tabs-3 select {
    width: 100%;
    border: 1px solid #8c8f94;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 13px;
    color: #1d2327;
    background: #ffffff;
    margin-bottom: 6px;
    box-sizing: border-box;
}

.form-builder #tabs-2 input[readonly],
.form-builder #tabs-3 input[readonly] {
    background: #f0f0f1;
    color: #50575e;
}

.form-builder #tabs-2 textarea,
.form-builder #tabs-3 textarea {
    min-height: 68px;
    resize: vertical;
}

/* Right Preview Canvas (#fbuilder) */
.form-builder #fbuilder {
    height: 650px;
    overflow: auto;
    position: relative;
}

#fbuilder .fields {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 10px 14px 14px 14px;
    margin: 6px 0;
    display: block;
    position: relative;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#fbuilder .fields > label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
    color: #1d2327;
}

#fbuilder .fields .arrow {
    position: absolute;
    left: -15px;
    top: 20px;
    display: none;
}

#fbuilder .fields .remove {
    position: absolute;
    top: 8px;
    right: 8px;
    display: none;
    background-color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
}

#fbuilder .fields.ui-over {
    border: 1px dashed #2271b1;
    background-color: #f8fafc;
    cursor: pointer;
}

#fbuilder .fields.ui-selected {
    background-color: #f0f6fc;
    border: 1px solid #2271b1;
    box-shadow: 0 0 0 1px rgba(34, 113, 177, 0.15);
}

#fbuilder .fields.ui-selected .arrow,
#fbuilder .fields.ui-selected .remove {
    display: inline;
}

/* Form Header inside Builder Preview */
#fbuilder .fform {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    padding: 12px 14px 16px 14px;
    margin: 0 0 12px 0;
    display: block;
    position: relative;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#fbuilder .fform .arrow {
    position: absolute;
    left: -15px;
    top: 20px;
    display: none;
}

#fbuilder .fform.ui-over {
    border: 1px dashed #2271b1;
}

#fbuilder .fform.ui-selected {
    background-color: #edfaef;
    border: 1px solid #00a32a;
}

#fbuilder .fform.ui-selected .arrow {
    display: inline;
}

#fbuilder .fform h1 {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 17px;
    font-weight: 600;
    color: #1d2327;
}

#fbuilder .fform span {
    font-size: 12.5px;
    color: #50575e;
}

/* Preview Inputs inside #fbuilder */
#fbuilder input.disabled,
#fbuilder textarea.disabled,
#fbuilder select.disabled {
    background: #ffffff;
    color: #646970;
    border: 1px solid #c3c4c7;
    border-radius: 5px;
    padding: 6px 10px;
    cursor: pointer;
}

/* Choices & Dependencies Editor in #tabs-2 */
.choicesSet {
    border: 1px dashed #8c8f94;
    border-radius: 6px;
    margin: 10px 0;
    padding: 10px;
    background: #ffffff;
}

.choicesEdit input[type=text] {
    width: 120px !important;
    display: inline-block !important;
    margin-right: 4px;
}

.choicesEdit,
.choicesEditDep {
    position: relative;
    margin-bottom: 4px;
}

.choicesSet .t {
    margin-left: 18px;
    width: 115px;
    float: left;
    font-size: 11.5px;
    font-weight: 600;
    color: #646970;
}

.choicesEdit .choice_add {
    position: absolute;
    top: 5px;
    left: 278px;
    cursor: pointer;
}

.choicesEdit .choice_remove {
    position: absolute;
    top: 5px;
    left: 295px;
    cursor: pointer;
}

.choicesEditDep .choice_addDep {
    position: absolute;
    top: 5px;
    left: 278px;
    cursor: pointer;
}

.choicesEditDep .choice_removeDep {
    position: absolute;
    top: 5px;
    left: 295px;
    cursor: pointer;
}

.choicesEditDep select {
    width: 170px !important;
}

.ui-widget-content .choice_addDep.ui-icon {
    background-image: url(cupertino/images/ui-icons_2e83ff_256x240.png);
}

.ui-widget-content .choice_removeDep.ui-icon {
    background-image: url(cupertino/images/ui-icons_2e83ff_256x240.png);
}

.showHideDependencies,
.dep {
    float: right;
}

.choicesSet.hide {
    display: block;
    visibility: visible;
}

.choicesSet.hide .choicesEditDep {
    display: none;
}

.choicesSet.show .choicesEditDep {
    display: block;
}

a.helpfbuilder.dep {
    font-size: 100%;
    padding-left: 10px;
}

a.helpfbuilder {
    font-size: 11.5px;
    text-decoration: underline;
    color: #2271b1;
    cursor: pointer;
}

/* Field Widths & Alignments in Builder Preview */
#fbuilder .small {
    width: 25%;
}

#fbuilder .medium {
    width: 50%;
}

#fbuilder .large {
    width: 100%;
}

.one_column {}

.two_column {
    float: left;
    width: 48%;
}

.three_column {
    float: left;
    width: 30%;
}

.side_by_side {
    float: left;
    margin-right: 12px;
}

.top_aligned .fields label {}
.top_aligned .fields .dfield {}

.left_aligned .fields label {
    float: left;
    width: 31%;
}

.left_aligned .fields .dfield {
    float: left;
    width: 65%;
}

.right_aligned .fields label {
    float: left;
    width: 31%;
    text-align: right;
    padding: 3px 8px 0 0;
}

.right_aligned .fields .dfield {
    float: left;
    width: 65%;
}

#fbuilder span.uh {
    display: block;
    font-size: 11.5px;
    color: #646970;
    margin-top: 4px;
    clear: both;
}

#fbuilder .section_break {
    border-top: 1px dotted #8c8f94;
    clear: both;
}

#fbuilder .uh_phone {
    float: left;
    margin: 0 5px;
    font-size: 80%;
    text-align: center;
    position: relative;
}

#fbuilder .uh_phone input {
    text-align: center;
    font-size: 100%;
}

#fbuilder .uh_phone div.cpefb_error {
    display: block;
    white-space: nowrap;
    width: 400px;
}

.eq_btn {
    width: 45px;
}