/* DsForm - @version 1.13.05 */

.hide  { display: none; }
.clear { clear: both; }

form.dsform { float: left; }
form.dsform h6 { font-size: 14px; font-weight: bold; padding: 15px 0 5px 0; margin: 0; }
form.dsform span.required { color: #ff0000; font-weight: bold; }

form.dsform fieldset { float: left; margin-top: 15px; margin-left: 5px; padding: 10px; border: 1px solid #ccc; }
form.dsform fieldset legend {  font-weight: bold; font-size: 15px; padding: 3px 10px; margin-left: -5px;
                        border: 1px solid #ccc; background-color: #eee; }

form.dsform .error-message {   display: none; clear: both; background-color: #FFBABA; border: 1px solid #FF0000;
                        color: #FF0000; padding: 5px 10px; margin: 5px 0; }

noscript.dsform div {   display: block; clear: both; background-color: #FEEFB3; border: 1px solid #9F6000;
                        color: #9F6000; padding: 15px; margin: 5px 0; }

/* IF CHANGING MARGIN OR WIDTH: search for LABELWIDTH in this file to fix related values */
form.dsform label:not(.radio-checkbox-row label) {
   display: block; float: left; font-weight: bold; text-align: right; margin: 11px 10px 0 0; width: 125px; }

/* LABELWIDTH: set the left margin to width of label + right margin of label */
form.dsform .form-button-container  { margin-left: 135px; }

form.dsform div.input-container label:not(.radio-checkbox-row label) { width: auto; }

form.dsform input,
form.dsform select,
form.dsform textarea { float: left; border: 1px solid #aaa; padding: 1px; margin: 0; }
form.dsform select optgroup { margin-left: 10px; }

form.dsform textarea { overflow: auto; }

form.dsform div.radio-checkbox-container { float: left; width: 100%; padding: 3px 10px 0 0; }

form.dsform div.radio-checkbox-row div { width: calc(100% - 40px); padding: 0; margin: 0 0 0 5px; float: left; }
form.dsform div.radio-checkbox-row input { border: 0; padding: 0; margin: 6px 0 0 0; }
form.dsform div.radio-checkbox-row.indented-box { padding-left: 15px; }

form.dsform input { padding: 2px; }

form.dsform input:focus,
form.dsform select:focus,
form.dsform textarea:focus { background-color: #eee; border: 1px solid #000; }

form.dsform input.button { margin: 15px 15px 15px 0; padding: 4px; cursor: pointer; }

form.dsform .side-note { float: left; padding: 3px 0 0 10px; color: #888; }

form.dsform .read-only { padding-top: 1px; font-size: 14px; height: 22px; }

form.dsform .under-note { clear: both; font-size: 11px; }

form.dsform .optional { font-style: italic; }

form.dsform .repeatable-remove { padding-top: 10px; text-align: right; }

form.dsform .repeatable-pending-remove { color: #999; padding-top: 15px; }

form.dsform div.input-container { float: left; padding-top: 10px; }

/* LABELWIDTH: set the PX width of calc() to be the width of the label + right margin of label */
form.dsform div.input-container.radio-check-container { width: calc(100% - 135px); }

form.dsform div.field-group { display: none; }

form.dsform div.submit-button-replacement { display: none; padding-top: 20px; color: #ff0000; font-weight: 900; }

form.dsform div.file-upload-button-replacement {   display: none; background: url(loading.gif) top center no-repeat;
                                                   margin-top: 10px; padding-top: 20px; text-align: center; color: #ff0000;
                                                   font-weight: 900; }

form.dsform div.hidden-recaptcha-v3-badge-text { font-size: 11px; text-align: left; padding-bottom: 10px; max-width: 280px; }

/* TinyMCE styles */
form.dsform .tinymce_editor_body { width: auto; height: auto; padding: 5px; background-color: #fff;}
form.dsform .lightbox-image { /* Here so TinyMCE can find it in the list */ }

form.dsform .alignleft   { text-align: left; }
form.dsform .alignright  { text-align: right; }
form.dsform .aligncenter { text-align: center; }

form.dsform img.alignleft   { float: left; margin: 5px 10px 10px 0; }
form.dsform img.alignright  { float: right; margin: 5px 0 10px 10px; }
form.dsform img.aligncenter { display: block; margin: 10px auto; }

/* jQuery Cropping */
form.dsform .crop-required { padding: 5px 0; color: #ff0000; font-weight: bold; }

@media only screen and (max-width : 1140px) {
   form.dsform label                   { float: none; width: 100%; text-align: left; padding: 0; line-height: normal; }
   form.dsform .form-button-container  { margin-left: 0; }
   form.dsform div.input-container     { padding-top: 0; padding-bottom: 15px; padding-top: 0; }
}

@media only screen and (max-width : 490px) {
   form.dsform div.input-container           { width: 96%; }
   form.dsform div.input-container textarea,
   form.dsform div.input-container input     { width: 96% !important; }
   form.dsform div.input-container .radio-checkbox-container input { width: auto !important; }
}
