/* form wrapper SCREEN STYLES //////////////////////////////////////////////////////*/

body { font-family: Arial, Helvetica, Arial, sans-serif; color: #000; font-size: 100%; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;}

h2 { font-size: 24px; text-align: center; margin-bottom: 25px; }

/* FORM //////////////////////////////////////////////////////*/

/* Initial layout */
#form { width: 248px; height: 252px; padding: 24px 95px; background: #f4f3ed; }
#fstep_1, #fstep_2, #fstep_3, #fstep_4, #fstep_5 { height: 95px; }
#fstep_1 p, #fstep_2 p, #fstep_3 p, #fstep_4 p, #fstep_5 p { text-align: center; margin-bottom: 15px; }

.steps { width: 220px; height: auto; margin: auto; position: inherit; top: 240px; left: 110px; padding-top: 15px;}
.step_bar { width: 30px; height: 30px; display: inline-block; margin: 0 5px; font-size: 14px; font-weight: bold; color: #e4dacc; background: url(../../img/5_step_form/steps.png) no-repeat; cursor: pointer; text-align: center; line-height: 30px; }
.step_highlight { width: 30px; height: 30px; background: url(../../img/5_step_form/step-highlight.png) no-repeat; }

input, select, textarea { outline: none; }
input[type=text], input[type=password] { width: 215px; height: 26px; display: block; margin: auto; border: 1px solid #b1b1b1; box-shadow: 0 1px 0 #e1e1e1; font-size: 14px; line-height: 27px; text-align: center; color:#333;  }
.drop_down_container { width: 230px; margin: 0 0 0 15px; position: relative; }
select { width:112px; height: 30px; float: left; margin: 0 10px 0 0; padding: 5px; font-size: 14px; color: #333; border: 1px solid #b1b1b1; line-height: 20px; background: url(../../img/5_step_form/dropdown_icon.png) no-repeat -moz-linear-gradient( 90deg, rgb( 231, 231, 231 ) 0%, rgb( 255, 255, 255 ) 100%); background: url(../../img/5_step_form/dropdown_icon.png) 96% 50% no-repeat, -webkit-linear-gradient( 90deg, rgb( 231, 231, 231 ) 0%, rgb( 255, 255, 255 ) 100%); -webkit-appearance: none; }

/* Select elements */
select:hover { cursor: pointer; }
select#dating-gender.required { width: 210px; margin: 0 0 0 20px; }
select#dobday.required { width: 55px; }
select#dobmonth.required { width: 75px; }
select#dobyear.required { width: 65px; }

/* Error styling */
select.error { padding: 5px; color: red; border: 1px solid red; background: url(../../img/5_step_form/dropdown_icon.png) no-repeat -moz-linear-gradient( 90deg, rgb( 231, 231, 231 ) 0%, rgb( 255, 255, 255 ) 100%) !important;background: url(../../img/5_step_form/dropdown_icon.png) 96% 50% no-repeat, -webkit-linear-gradient( 90deg, rgb( 231, 231, 231 ) 0%, rgb( 255, 255, 255 ) 100%) !important; -webkit-appearance: none; }
label.error { width: 215px; font-size: 14px; text-align: center; color: red; }

#fstep_1 label.error { position: absolute; top: 75px; left: 18px; }
#fstep_2 label.error { position: absolute; top: 45px; left: 0; }
#fstep_3 label.error { position: relative; top: 10px; left: 59px; }
#fstep_4 label.error { position: relative; top: 10px; left: 59px; }
#fstep_5 label.error { position: relative; top: 10px; left: 59px; }

input[type=text].error, input[type=password].error, textarea.error, select.error { background: #ffe8e8 url(../../img/5_step_form/bg_input_errore.png) top left no-repeat; }
input.error, textarea.error, select.error { background: #ffe8e8 url(../../img/5_step_form/bg_input_errore.png) top left no-repeat; }

/* Button styling */
.myButton { width: 151px; height: 40px; font-size: 18px; font-weight: bold; text-transform: uppercase; display: inline-block; margin: 4px 50px; text-decoration: none; line-height: 43px;  text-align: center; color: white; background: url(../../img/5_step_form/bg-button-red.png); cursor: pointer; }
.myButton:active { position: relative; top: 1px; cursor: pointer; }
span.fprev.myButton { display: none !important; }