/* Basics
------------------------------*/
.cj_form_wrapper { position: relative; color: #3f506e; }
.cj_form_wrapper .cj_form_group { position: relative; display: block; width: 100%; height: auto; clear: both; }
.cj_form_wrapper .cj_form_group .cj_form_row { display: block; width: 100%; height: auto; }
.cj_form_wrapper .cj_form_padder { padding: 2px 0; margin: 0 0 5px 0; }
.cj_form_wrapper .cj_form_row_options { display: block; width: 100%; height: auto; float: none; clear: both; text-align: right; margin-top: 10px; }
.cj_form_wrapper form ul { margin: 0; padding: 0; list-style-type: none; width: 100%; }
.cj_form_wrapper form li { display: block; margin: 0; padding: 0; clear: both; }
.cj_form_wrapper .formAlert { color: #c60707; }

/* Fields & Inputs
------------------------------*/
.cj_form_wrapper .cj_form_cell { position: relative; display: block; width: 100%; height: auto; }
.cj_form_wrapper .cj_form_cell .input_field { width: 100%; }
.cj_form_wrapper .cj_form_cell .input_file { width: 100%; }
.cj_form_wrapper .cj_form_cell .input_text { width: 97%; }
.cj_form_wrapper .cj_form_cell .input_textarea { width: 100%; max-width: 100%; min-width: 100%; height: auto; margin-bottom: 4px; }
.cj_form_wrapper .cj_form_cell .input_select { width: 100%; }
.cj_form_wrapper .cj_form_cell .input_select_small { width: 32%; }
.cj_form_wrapper .cj_form_cell .input_select_medium { width: 48%; }
.cj_form_wrapper .cj_form_cell .input_date { width: 120px; }

/* file upload styling
------------------------------*/
.cj_form_wrapper .cj_form_cell .input_checkbox,
.cj_form_wrapper .cj_form_cell .input_radio {  }
.cj_form_wrapper .cj_form_cell .input_file_wrapper { position: relative; }
.cj_form_wrapper .cj_form_cell .input_file { width: 100%; }
.cj_form_wrapper .cj_form_cell .input_file_div { position: absolute; top: 0px; left: 0px; }
.cj_form_wrapper .cj_form_cell .input_file_fake {  height: 22px; margin: 2px 0 0; padding: 0; z-index: 1; }
.cj_form_wrapper .formFileUpload { position: relative; }
.cj_form_wrapper .formFileUpload .formUploadField { position: relative; display: block; width: 100%; height: auto; margin: 2px 0; }
.cj_form_wrapper .formFileUpload .formUploadField .input_file { position: relative; text-align: right; width: 329px; z-index: 10; border: 0; padding: 2px 0; margin: 0; cursor: pointer; }
.cj_form_wrapper .formFileUpload .formUploadButtons { text-align: right; }
.cj_form_wrapper .formFileUpload .fakefile { position: absolute; top: 0px; left: 0px; z-index: 1; }
.cj_form_wrapper .formFileUpload .fields img { position: absolute; top: 0px; left: 0px; z-index: 1; }
.cj_form_wrapper .formFileUpload #uploadFakeFile { position: absolute; top: 3px; left: 0px; width: 237px; height: auto; z-index: 3; margin: 0; border-top: 1px solid #fff; padding: 1px 0; }
.cj_form_wrapper .formFileUpload #inputfile { position: relative; text-align: right; width: 329px; z-index: 10; border: 0; padding: 2px 0; margin: 0; cursor: pointer; }


/* Labels
------------------------------*/
.cj_form_wrapper .cj_form_group .cj_form_row .required { margin-left: 0px; font-weight: bold; color: #b7bad0; }
.cj_form_wrapper .cj_form_group .cj_form_row label.cj_form_row_title { display: block; width: 100%; height: auto; color: #000; font-weight: normal; margin-bottom: 1px; }
.cj_form_wrapper .cj_form_group .cj_form_row label.required { color: #222; font-weight: bold; }
.cj_form_wrapper .cj_form_group .cj_form_row label.required:after { content: " *"; }
.cj_form_wrapper .cj_form_group label.cj_form_cell_desc { display: block; width: auto; height: auto; color: #111111; font-weight: bold; font-style: italic; line-height: 100% !important; margin: 0; padding: 0; }
.cj_form_wrapper .cj_form_group label.cj_form_cell_desc small { color: #b7bad0; font-size: 60%; }

/* Special field & input types
------------------------------*/
.cj_form_wrapper .cj_form_cell .input_hour { width: 17%; }
.cj_form_wrapper .cj_form_cell .input_minute { width: 17%; }
.cj_form_wrapper .cj_form_cell .input_zone { width: 19%; }
.cj_form_wrapper .cj_form_cell .input_color { width: 90%; }
.cj_form_wrapper .cj_form_cell .btn_color_wheel { border: 0; margin: 0; padding: 0; width: 22px; white-space: nowrap; background: none; cursor: pointer; float: right; }
.cj_form_wrapper .cj_form_cell .btn_color_wheel span.icon { display: block; width: 16px; height: 22px; background: url(../images/btn_color_wheel.png) no-repeat right center; }
.cj_form_wrapper .cj_form_cell .btn_color_wheel span.icon span.text { display: none; }
.cj_form_wrapper .cj_form_cell #FarbtasticColorPicker { position: absolute; bottom: 0; right: 0; display: block; }
.cj_form_wrapper .formSpecial { display: block; width: 100%; height: auto; float: none; clear: both; }
.cj_form_wrapper .formSpecial .cj_form_cell { width: 100%; }
.cj_form_wrapper .formSpecial .fname { width: 38%; margin-right: 4%; }
.cj_form_wrapper .formSpecial .mname { width: 10%; margin-right: 4%; }
.cj_form_wrapper .formSpecial .lname { width: 43%; }
.cj_form_wrapper .formSpecial .third { width: 31% !important; margin-right: 2%; }
.cj_form_wrapper .formSpecial .thirdEnd { width: 33%; }
.cj_form_wrapper .cj_form_groupSpecial { position: relative; display: block; width: 60%; height: auto;  }
.cj_form_wrapper .cj_form_groupSpecial .cj_form_cell { position: relative; display: block; width: 100%; height: auto; float: none !important; }
.cj_form_wrapper .cj_form_groupSpecial .cj_form_row label.cj_form_cell_desc { width: auto; }
.cj_form_wrapper .cj_form_groupSpecialDesc label.cj_form_cell_desc { }

/* Row styles
------------------------------*/
.cj_form_wrapper .cj_form_group .half { display: block; width: 50%; height: auto; float: left; clear: none; }
.cj_form_wrapper .cj_form_group .third { display: block; width: 33%; height: auto; float: left; clear: none; }
.cj_form_wrapper .cj_form_group .small { display: block; width: 17%; height: auto; float: left; clear: none; }
.cj_form_wrapper .hidden { visibility: hidden; }
.cj_form_wrapper .fileThumb { display: block; width: 50px; height: 50px; background: #e5e6ed; text-align: center; overflow: hidden; }
.cj_form_wrapper .fileDesc { display: block; width: 100%; height: auto; color: #444; font-weight: bold; margin-top: 3px; margin-bottom: 7px; }

/* Animated timer
------------------------------*/
.cj_form_wrapper .timer input {  margin-right: 5px; }
.cj_form_wrapper .timer .aniWrapper { display: none; width: 22px; height: 22px;  text-align: right; }
.cj_form_wrapper .timer .aniWrapper img { margin-top: 2px; }

/* Errors
------------------------------*/
.cj_form_wrapper .cj_form_group .error .cj_form_padder { }
.cj_form_wrapper .cj_form_group .error label.cj_form_row_title { color: #c60707; }
.cj_form_wrapper .cj_form_group .error label.cj_form_cell_desc,
.cj_form_wrapper .cj_form_group .error label.cj_form_cell_desc small { color: #b7bad0; }
.cj_form_wrapper .cj_form_group .error span.required { color: #c60707; }
.cj_form_wrapper .cj_form_group .error input,
.cj_form_wrapper .cj_form_group .error select,
.cj_form_wrapper .cj_form_group .error textarea { background: #ffebeb; border-color: #b7bad0 !important; }
.cj_form_wrapper .cj_form_group .formError { display: block; width: 100%; height: auto; color: #b7bad0; background: #fef8f6 url(../images/ui-bg_inset-soft_95_fef1ec_50x100.png) repeat-x 50% top !important; border: 1px solid #b7bad0; margin-bottom: 5px; }
.cj_form_wrapper .cj_form_group .formError .cj_form_padder { padding: 2px 0; margin: 0 0 10px 0; }
.cj_form_wrapper .cj_form_group .formError h3 { padding-left: 20px; background: url(../images/icon-error.png) left center no-repeat; }