.form {margin: 8px 0px;}
.optional {position: absolute; top:22px; left:153px; color: #cccccc;}

#content, .form input, .form textarea, .form select, .form .tooltip, .form .bubble, .box {
 -webkit-border-radius: 4px;
 -moz-border-radius: 4px;
 border-radius: 4px;
}

.box, .form .tooltip, .form .bubble {
 -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset;  
 -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset;
 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset;
}

.styled-select {
    background: url("http://cdn.bavotasan.com/wp-content/uploads/2011/05/down_arrow_select.jpg") no-repeat scroll right center #DDDDDD;
    border: 1px solid #CCCCCC;
    height: 34px;
    overflow: hidden;
    width: 240px;
        margin: 0px 212px;

}
.styled-select select {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    border-radius: 0 0 0 0;
    font-size: 16px;
    height: 34px;
    line-height: 1;
    padding: 5px;
    width: 268px;

}
.styled-select select:focus {
    outline: medium none;
}


    

/*
   ===============================
   =========== FIELDS ============
   =============================== 
*/




.form input[type="text"], .form textarea, .form select {
 padding: 6px;
 font: normal 14px/14px arial, helvetica, sans-serif;
 color: #000;
/* decoration */
 border: solid 1px #ccc;
 background: -moz-linear-gradient(top, #f8f8f8, #fff  30px);
 background: -o-linear-gradient(top, #f8f8f8, #fff  30px);
 background: -webkit-linear-gradient(top, #f8f8f8, #fff  30px);
 background: -ms-linear-gradient(top, #f8f8f8, #fff  30px);
 background-color: #fff;
 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

.form p, .form .formDivider { position: relative; padding: 5px 0px;clear:both;} /* neccessery to make tooltips working */ 

.form input { width: 230px; }
.form input[type="checkbox"] { border: none; background: none; text-align:left; width: auto;  float: left; *float: none; }
 .form select { width: 245px; margin: 0 0 8px; color: #666; } 
 .form textarea { width: 230px; height: 150px; } /* dementions of the fields */

.form label {
  font: normal 14px/14px arial, helvetica, sans-serif;
  color: #777;
  width: 200px;
  display: inline-block;
  text-align: right;
  margin-right: 10px;
}

.form label span { color: red; } /* red mark on required fields */

.form .text label {
 float: left;
 margin-right: 4px;
 line-height: 30px;
}

input:hover, textarea:hover { /* hover effects */
 border: solid 1px #aaa;
}

input:focus, textarea:focus { /* focus effects */
 border: solid 1px #aaa;
 background: -webkit-linear-gradient(top, #f0f0f0, #fafafa  30px);
 background: -o-linear-gradient(top, #f0f0f0, #fafafa  30px);
 background: -moz-linear-gradient(top, #f0f0f0, #fafafa  30px);
 background: -ms-linear-gradient(top, #f0f0f0, #fafafa  30px);
}

.form .error-input { /* error state */
 border: solid 1px #eb5339;
 -moz-box-shadow: 0 0 6px 1px #fccac2;
 -webkit-box-shadow: 0 0 6px 1px #fccac2;
 box-shadow: 0 0 6px 1px #fccac2;
}

/*
   ===============================
   ======== SUBMIT BUTTON ========
   =============================== 
*/

.submit{margin-left:270px; }




/*
   ===============================
   =========== TOOLTIP ===========
   =============================== 
*/

.form .tooltip:before { /* triangle's border */
 border: solid 8px red;
 border-color: transparent #4d8fcb transparent transparent;
 content: '';
 position: absolute;
 right: 216px;
 bottom: 6px;
}
 
.form .tooltip:after { /* triangle */
 border: solid 7px red;
 border-color: transparent #d0e4f4 transparent transparent;
 content: '';
 position: absolute;
 right: 216px;
 bottom: 7px;
}

.form .tooltip {
 width: 200px;
 padding: 8px;
 padding-top: 9px;
 margin-left: 10px;
 font: normal 12px/12px arial, helvetica, sans-serif;
/* position */
 position: absolute;
 bottom:10px;
 left: 468px;
 display: none;
/* background */
 background: #d0e4f4;
/* shadows and highlights */
 -webkit-box-shadow: 0 -2px 2px #bbd9f1 inset;  
 -moz-box-shadow: 0 -2px 2px #bbd9f1 inset;  
 box-shadow: 0 -2px 2px #bbd9f1 inset;
/* border */
 border: 1px solid #4d8fcb;
}

form .formDivider:hover .tooltip { display: block; }  /* viseable on hover */
form div.label {float:left;}
/*
   ===============================
   ======== ERROR BUBBLE =========
   =============================== 
*/

.form .bubble:before { /* triangle's border */
 border: solid 8px red;
 border-color: transparent #eb5339 transparent transparent;
 content: '';
 position: absolute;
 right: 216px;
 bottom: 6px;
 }
 
.form .bubble:after { /* triangle's */
 border: solid 7px red;
 border-color: transparent #fccac2 transparent transparent;
 content: '';
 position: absolute;
 right: 216px;
 bottom: 7px;
}

.form .bubble { /* main part of a tooltip */
 width: 200px;
 padding: 8px;
 padding-top: 9px;
 margin-left: 10px;
 font: bold 12px/12px arial, helvetica, sans-serif;
 position: absolute;
 bottom:10px;
 left: 468px;
/* background */
 background: #fccac2;
/* shadows and highlights */
 -webkit-box-shadow: 0 -2px 2px #fcb7ac inset;  
 -moz-box-shadow: 0 -2px 2px #fcb7ac inset;  
 box-shadow: 0 -2px 2px #fcb7ac inset;
/* border */
 border: 1px solid #eb5339;
}

.form .confirm-input { /* error state */
 border: solid 1px #359545;
 -moz-box-shadow: 0 0 6px 1px #CEE6C3;
 -webkit-box-shadow: 0 0 6px 1px #CEEAC0;
 box-shadow: 0 0 6px 1px #CEEAC0;
}


/*
   ===============================
   ======== Confirm BUBBLE =========
   =============================== 
*/

.form .confirm:before { /* triangle's border */
 border: solid 8px green;
 border-color: transparent #359545 transparent transparent;
 content: '';
 position: absolute;
 right: 216px;
 bottom: 6px;
 }
 
.form .confirm:after { /* triangle's */
 border: solid 7px green;
 border-color: transparent #359545 transparent transparent;
 content: '';
 position: absolute;
 right: 216px;
 bottom: 7px;
}

.form .confirm { /* main part of a tooltip */
 width: 200px;
 padding: 8px;
 padding-top: 9px;
 margin-left: 10px;
 font: bold 12px/12px arial, helvetica, sans-serif;
 position: absolute;
 bottom:10px;
 left: 468px;
/* background */
 background: #CEE6C3;
/* shadows and highlights */
 -webkit-box-shadow: 0 -2px 2px #fcb7ac inset;  
 -moz-box-shadow: 0 -2px 2px #fcb7ac inset;  
 box-shadow: 0 -2px 2px #fcb7ac inset;
/* border */
 border: 1px solid #359545;
}

.form .confirm-input { /* error state */
 border: solid 1px #359545;
 -moz-box-shadow: 0 0 6px 1px #CEE6C3;
 -webkit-box-shadow: 0 0 6px 1px #CEEAC0;
 box-shadow: 0 0 6px 1px #CEEAC0;
}

/*
   ===============================
   ===== NOTIFICATION BOXES ======
   =============================== 
*/

.box {
 min-width: 100px;
 padding: 20px 50px;
 margin-bottom: 20px;
 font: normal 12px/12px arial, helvetica, sans-serif;
}

.box strong { margin-right: 10px; }


.edit {
/* background */
 background: url(../img/edit.png) , #ffeaa8;
 background-position: 10px center;
 background-repeat: no-repeat;
 background-color: #ffeaa8; /* for IE */
/* shadows and highlights */
 -webkit-box-shadow: 0 -2px 2px #ffe285 inset;  
 -moz-box-shadow: 0 -2px 2px #ffe285 inset;  
 box-shadow: 0 -2px 2px #ffe285 inset;
/* border */
 border: 1px solid #f9b416;
}


.error 
{
	/* background */
	 /*background: url(../img/error.png) , #fccac2;*/
	 background-position: 10px center;
	 background-repeat: no-repeat;
	 background-color: #fccac2; /* for IE */
	/* shadows and highlights */
	 -webkit-box-shadow: 0 -2px 2px #fcb7ac inset;  
	 -moz-box-shadow: 0 -2px 2px #fcb7ac inset;
	 box-shadow: 0 -2px 2px #fcb7ac inset;
	/* border */
	 border: 1px solid #eb5339;
}

.providerError 
{
	/* background */
	 /*background: url(../img/error.png) , #fccac2;*/
	 background-position: 10px center;
	 background-repeat: no-repeat;
	 background-color: #fccac2; /* for IE */
	/* shadows and highlights */
	 -webkit-box-shadow: 0 -2px 2px #fcb7ac inset;  
	 -moz-box-shadow: 0 -2px 2px #fcb7ac inset;
	 box-shadow: 0 -2px 2px #fcb7ac inset;
	/* border */
	 border: 1px solid #eb5339;
}

.error-message {color:#ED5C44; position: absolute; top:42px; left: 275px;}

.sideForm
{
	position: relative;
	margin: 35px 15px 15px -8px;
	padding: 0 15px 15px 15px;
	width: 180px;
	font-size: 12px;
	line-height: 18px;
	background-color: white;
	border: 1px solid #CCCCCC;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
	opacity:0.95;
    filter:alpha(opacity=95);
}

.sideForm img
{
	display: block;
	position: relative;
	float: left;
	margin: 0 10px 0 -15px;
}

.sideForm h3
{
	display: block;
	position: relative;
	float: left;
}

.sideForm .formBuilder .formDivider
{
	display: block;
	position: relative;
	float: left;
	clear: both;
	width: 100%;
}

.sideForm .formBuilder .formDivider
{
	margin: 0;
}

.sideForm .formBuilder .formDivider input[type="text"]
{
	display: block;
	position: relative;
	float: left;
	clear: both;
	width: 95%;
	margin-left: 0;
	border-style: inset;
	background-color: white;
	border: 1px solid #CCCCCC;
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

.sideForm .formBuilder .submit, .sideForm .formBuilder .button
{
	display: block;
	position: relative;
	float: left;
	clear: both;
	margin: 5px 0 5px 0;
    padding: 3px;
    min-width: 100px;
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #448CD3;    
    background: #009BDE; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxOCUiIHN0b3AtY29sb3I9IiMwMDliZGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI1OSUiIHN0b3AtY29sb3I9IiMwNTY2ZWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #009bde 18%, #0566ee 59%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(18%,#009bde), color-stop(59%,#0566ee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #009bde 18%,#0566ee 59%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #009bde 18%,#0566ee 59%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #009bde 18%,#0566ee 59%); /* IE10+ */
	background: linear-gradient(to bottom, #009BDE 18%, #0566EE 59%) repeat scroll 0 0 transparent; /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009bde', endColorstr='#0566ee',GradientType=0 ); /* IE6-8 */
    color: #FFFFFF;
	font-size: 14px;
	font-family: Arial,Helvetica,sans-serif;
	font-weight: normal;
	text-align: center;
    text-shadow: none;
    cursor: pointer;
}

.sideForm .formBuilder .submit:hover, .sideForm .formBuilder .button:hover
{
	background: #009bde; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxOCUiIHN0b3AtY29sb3I9IiMwMDliZGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI1OSUiIHN0b3AtY29sb3I9IiMwODNkZmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #009bde 18%, #083dfb 59%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(18%,#009bde), color-stop(59%,#083dfb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #009bde 18%,#083dfb 59%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #009bde 18%,#083dfb 59%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #009bde 18%,#083dfb 59%); /* IE10+ */
	background: linear-gradient(to bottom,  #009bde 18%,#083dfb 59%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009bde', endColorstr='#083dfb',GradientType=0 ); /* IE6-8 */
	text-decoration: none;
}

.sideForm .formBuilder div.label, .sideForm .formBuilder div.label label
{
	display: block;
	position: relative;
	float: left;
	clear: both;
	height: 15px;
}

.sideForm div.formNote
{
	display: block;
	position: relative;
	float: left;
	clear: both;
	margin: 10px 0 10px 0;
}