.form-fields .choice-label, .form-fields .control-label{white-space: pre-wrap;}

.form-fields input.form-control, .form-fields select.form-control, .form-fields textarea.form-control{}

.sortable-placeholder, .ui-state-highlight{width: 100%}

.form-fields a.repeatable-control{cursor: pointer;}
.form-fields .repeatable-control.remove-repeatable-container{float: right;}

#formEditorPage .field{
    display: inline-block; 
    width: 100%; 
    border: 1px solid #ededed;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(50,50,93,.1), 0 4px 8px rgba(0,0,0,.07);
    padding: 10px 5px 5px 5px;
    margin-bottom: 5px;
}

#formEditorPage .field.active{border: 2px solid #a2dedb;}
#formEditorPage .createForm .labelInput {}
#formEditorPage .createForm .labelInput textarea{
    /*border: none;*/
    border: 1px solid #d6d6d6;
    /*font-weight: 700;*/
    /*text-align: right;*/
    width: 100%;
    resize: none;
    overflow: hidden;
    min-height: 30px;
    height: 30px;
    /*min-height: 50px;
    max-height: 100px;*/
}
#formEditorPage .choiceControl-wrap{text-align: right}
#formEditorPage .choiceControl-wrap .key-id-wrapper{float: left;}
#formEditorPage .createForm textarea{
    outline:0px !important;
    -webkit-appearance:none;
}
#formEditorPage .deleteField-wrap{display: inline-block; float: left; color: #a9a9bb; cursor: pointer;}
#formEditorPage .deleteField-wrap{
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 19px;
}
#formEditorPage .field:not(:hover) > .deleteField-wrap{
    display: none;
}
#formEditorPage .form-container:not(:hover) > .deleteField-wrap{
    display: none;
}
.touch_device #formEditorPage .field > .deleteField-wrap{
    display: inline-block;
}

#formEditorPage .choice-addons{}
    
#formEditorPage .required-wrap{float:right;}
/*#formEditorPage .deleteChoice-wrap{
    position: absolute;
    color: #338acd;
    cursor: pointer;
    top: 5px;
    right: -10px;
}*/

#formEditorPage .deleteChoice-wrap{
    position: absolute;
    top: 2px;
    right: 10px;
    font-size: 19px;
    color: #a9a9bb;
}
#formEditorPage .choicebox:not(:hover) .deleteChoice-wrap{
    display: none;
}
.touch_device #formEditorPage .deleteChoice-wrap{
    display: inline-block;
}

#formEditorPage .choicebox{display: inline-block; width: 100%; position: relative; background: white;}
#formEditorPage .choiceInput-wrap{
    padding: 0px;
    left: 17px;
    position: absolute;
    top: 3px;
}
#formEditorPage .choiceIcon{color: #a9a9bb;}
#formEditorPage .createForm .labelChoiceInput textarea{
    font-weight: 100;
    width: 100%;
    resize: none;
    overflow: hidden;
    min-height: 30px;
    height: 30px;
    /*max-height: 100px;*/
}

@media (min-width: 767px){ 
    #formEditorPage .createForm .labelInput textarea{align:left;}
}

#formEditorPage .sjfb-body {
    background-color: #206fa2;
    font-family: "PT Sans", sans-serif, Helvetica, Arial;
    font-size: 14px;
    min-height: 100%;
}

#formEditorPage .sjfb-wrap {
    margin: 0px auto;
    max-width: 800px;
    padding: 10px;
    background-color: #fff;
    /*border: 6px solid #195a84;*/
}

#formEditorPage .sjfb-wrap .hide {
    display: none;
}

#formEditorPage .add-choice{border-radius:4px}


#formEditorPage .sjfb-wrap h1 {
    margin-top: 10px;
}

#formEditorPage .sjfb-wrap h3 {
    margin: 6px 0;
    text-transform: capitalize;
}

#formEditorPage .sjfb-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#formEditorPage .sjfb-wrap .add-wrap,
#formEditorPage .sjfb-sample {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 10px 20px 20px;
    margin-bottom: 20px;
}

#formEditorPage .sjfb-wrap .add-wrap a {
    color: #111;
}

#formEditorPage .sjfb-wrap .add-wrap li {
    padding: 2px 0;
}

#formEditorPage .sjfb-wrap .add-wrap li a:hover {
    padding-left: 5px;
    color: #000;
}

#formEditorPage .sjfb-wrap .alert {
    background-color: #00a65a;
    border: 1px solid #008d4c;
    padding: 10px;
    color: #fff;
    margin-bottom: 20px;
}

#formEditorPage .sjfb-wrap .alert textarea {
    display: block;
    margin-top: 10px;
    width: 96%;
    min-height: 140px;
}

#formEditorPage .sjfb-wrap h2 {
    margin: 4px 0;
    font-weight: normal;
}

#formEditorPage .sjfb .field {
    border: 1px solid #ddd;
    margin-bottom: 4px;
    padding: 5px 10px;
}

#formEditorPage .sjfb .field:hover {
    background-color: #fbf9ee;
    cursor: move;
}

#formEditorPage .sjfb .choices li:hover {
    background-color: #f7fbc7 !important;
    cursor: move;
}

#formEditorPage .sjfb label {
    margin: 0;
    font-weight: bold;
}

#formEditorPage .sjfb .toggle-selected,
#formEditorPage .sjfb .toggle-required {
    margin: 0 0 0 5px;
}

#formEditorPage #formEditorPage #formEditorPage .sjfb .delete {
    float: right;
}

#formEditorPage #formEditorPage #formEditorPage .sjfb input {
    font-weight: normal;
    margin: 0 5px;
}

#formEditorPage #formEditorPage #formEditorPage .sjfb input[type="text"] {
    width: 80%;
    max-width: 300px;
}


#formEditorPage #formEditorPage #formEditorPage .sjfb .choices {
    margin: 20px 10px;
    padding: 5px;
    background: #f7f7f7;
    border: 1px solid #ddd;
}

#formEditorPage #formEditorPage .sjfb .choices li {
    padding: 4px;
    margin: 4px 0;
}

#formEditorPage #formEditorPage .sjfb .choices li:nth-child(even) {
    background: #e7e7e7;
}

#formEditorPage #formEditorPage .sjfb .delete-choice {
    margin-left: 5px;
    font-weight: normal;
}

#formEditorPage #formEditorPage .sjfb-sample label {
    display: block;
    margin: 2px 0;
}

#formEditorPage #formEditorPage .sjfb-sample .form-fields {
    margin: 10px 0;
}

#formEditorPage #formEditorPage .sjfb > button {
    margin: 20px 0 10px;
}

#formEditorPage .sjfb-sample {
    max-width: 350px;
}

#formEditorPage .sjfb-sample input[type="text"],
#formEditorPage .sjfb-sample textarea {
    width: 100%;
    max-width: 250px;
}

#formEditorPage .sjfb-sample input[type="text"],
#formEditorPage .sjfb-sample textarea,
#formEditorPage .sjfb-sample select {
    padding: 4px;
}

#formEditorPage .sjfb-sample textarea {
    min-height: 70px;
}

#formEditorPage .sjfb-sample label {
    line-height: 1.6em;
}

#formEditorPage .sjfb-sample .sjfb-field {
    margin-bottom: 20px;
}

#formEditorPage .sjfb-sample .sjfb-agree label,
#formEditorPage .sjfb-sample .sjfb-agree input {
    float: left;
}

#formEditorPage .sjfb-sample .required-field > label:after {
    content: " *";
    color: red;
    font-size: 120%;
    font-weight: bold;
}

#formEditorPage .sjfb-sample .submit {
    margin: 20px 0 0;
    cursor: pointer;
}

 #formEditorPage p, .generate-form p{display: inline-block;}

.form-row-wrap:before{ content:" "; display: table;}
.form-row-wrap:after{clear: both; display: table; content: " ";}

/* to center form content */
.generate-form{text-align: center;}
.generate-form .form-fields{ display: inline-block; vertical-align: top; text-align: left;}

.generate-form-container{border: 1px solid #888; padding: 5px; border-radius: 5px; margin-top: 20px; max-width: 100%; position: relative;}
.generate-form-container .generate-form-container{border:none; padding: 5px; border-radius: 0px; margin-top: 20px; margin-bottom: 10px; max-width: 100%;}

.generate-form-container:focus, .generate-form-page:focus {outline:0;}
.generate-form-container.placeholder-container{border: none; padding: 0px; margin: 0px}
.generate-form-container.placeholder-container > .container-label-wrap{display: none}

.generate-form .pagination li:only-child{display:none}
.generate-form .generate-form-container .container-label{
    position: relative;
    background: white;
    padding: 5px;
    border-radius: 5px;
    white-space: pre-wrap;
}


.generate-form .generate-form-container .container-label-wrap{
    top: -21px;
    margin-top: -21px;
    min-height: 21px;

    /*position: relative;
    margin-bottom: -21px;*/
}
.generate-form.print-preview .generate-form-container .container-label-wrap{
    top: 0px;
    position: relative;
    margin-bottom: 0px;
    min-height: 21px;
}
.generate-form.print-preview .generate-form-container .container-label{
    text-decoration: underline;
}

.generate-form-container.select-container, .generate-form-container.select-container .container-label{background: #deeffd;}
[data-form-type=schema-fill] .generate-form-container{ margin-top: 8px;}
[data-form-type=schema-fill] .generate-form-container .container-label{ padding: 0px 5px; top: 5px;margin: 0px;}

.generate-form ul, .form-textbox ul li{list-style-type: disc;}
.generate-form ol, .generate-form ol li{list-style-type: decimal;}

.generate-form .chargesDiv{
    position: absolute;
    background: white;
    z-index: 10000;
    width: 170px;
    white-space: pre-wrap;
    right: 0;
    top: 0;
    border: 1px solid #81c4c3;
    border-radius: 7px;
    padding: 10px;
    font-size: 11px;
    margin: 5px;
}
.generate-form .hiddenChargeDiv{visibility: hidden; opacity: 0}
.generate-form .chargesDiv table{width: 100%}
.generate-form .chargesDiv tbody .total-amount{
    width: 100%;
    font-size: 125%;
    float: right;
    font-weight: 400;
    color: #54a5a4;
    text-align: right;
    transition: 1s;
}
.generate-form .chargesDiv.chargeDivSlider-close{
    /*left: 102%;*/
    z-index: 100000000000 !important;
}
.generate-form .chargesDiv:not(.chargeDivSlider-close) .on-chargeDivSlider-close{display: none}
.generate-form .chargesDiv.chargeDivSlider-close .on-chargeDivSlider-open{display: none}

.generate-form .chargesDiv tbody td{
    border-bottom: 1px solid #81c4c3; padding:0px; color: #827373;
}

.generate-form .chargesDiv tfoot th, .generate-form .chargesDiv tfoot td, .generate-form .chargesDiv tfoot th, .generate-form .chargesDiv tfoot td {
    color: #827373;
    font-size: 10px;
    width: 50px;
}
.generate-form .chargesDiv tfoot th {
    text-align: left;
    font-size: 10px;
    padding: 8px 4px 0 0;
    word-break: break-word;
    width: 150px;
}
.generate-form .chargesDiv tfoot td {
    text-align: right;
    padding: 8px 0px 0 0
}
.generate-form .chargesDiv .charge-row-paid{opacity: 0.5;}

.generate-form .chargesDiv .expand-control-wrap .on-expanded{display: none}
.generate-form .chargesDiv .expand-control-wrap .on-minimized{display: inline-block}
.generate-form .chargesDiv .expand-control-wrap.expanded .on-expanded{display: inline-block;}
.generate-form .chargesDiv .expand-control-wrap.expanded .on-minimized{display: none;}
.generate-form .chargesDiv .expand-control-wrap .expand-control .expand-control-icon{
        width: 7px; cursor:pointer; text-align: right; display: inline-block;}


.generate-form .on-charges, .generate-form .on-no-charges{}
.generate-form .nav-buttons button{margin-right: 2px;}

.generate-form .section-grid-table{width: 100%; table-layout: fixed;}
.generate-form .section-grid-table td{/*border:1px solid #aaa;*/ vertical-align: text-top}
.generate-form .choice-label{overflow-wrap: break-word; hyphens: auto;}
.generate-form .form-fields, 
    .generate-form input.form-control, 
    .generate-form .form-fields select.form-control, 
    .generate-form .form-fields textarea.form-control{width: 100%;}

.generate-form .field-desc{
    white-space: pre-wrap;
    font-size: 12
}
.generate-form .form-fields table:not(.section-grid-table) input[data-field-input-type="date"]{width: 140px}

.generate-form .form-textbox{margin-bottom: 10px;}

.generate-form .linearscale-box{
    background: #eee;
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
.generate-form .linearscale-box > *{margin: 8px}
.generate-form .align-center{text-align: center !important;}
.generate-form .linearscale-box .linearscale-item{
    display:inline-block;
    text-align: center;
  }
.generate-form .linearscale-box .linearscale-item-label{font-size: 11px; display:block;}
.generate-form .linearscale-box.hide-item-labels .linearscale-item-label{display: none}



.generate-form .noModal .sticky-element{position: fixed !important;}
.generate-form .noModal .chargesDiv.chargeDivSlider-close{
    left: 99%
}
.generate-form .chargesDiv{
    box-shadow: 0 1px 4px rgba(50,50,93,.1), 0 4px 8px rgba(0,0,0,.07);
}


.generate-form .form-field.has-error{  
    /*box-shadow: 0px 0px 9px 2px #A94440;*/
    padding: 0px 5px;
    border: 2px solid #a944407d;
}
.generate-form .pagination [data-toggle=tab].has-error{background: #a944407d; }
.generate-form.not-saved .on-saved{display: none}
.generate-form:not(.not-saved) .on-not-saved{display: none}
/*.generate-form .on-saved-display{cursor: pointer; text-align: left;font-size: 12px;position: absolute;right: -48px; width:50px; top: -2px;}*/
.generate-form .on-saved-display{font-size: 9px}
.generate-form .formErrorMessage{color:#a94440;padding-left:10}
.generate-form .enum-label{margin-right: 5px;}

.generate-form .form-field:not(.uploaded-files) .file-upload-label{display: none}
.generate-form .form-field.uploaded-files .file-waiting-label{display: none}
