/*
 * ChronoCMS (chronocms.com)
 * Copyright 2010 - chronocms.com
 * license : Commercial
 * Redistributions of files must retain the above copyright notice.
 */
/*================   FORMS STYLES   =================*/

.ccms_form_element p { margin-bottom: 9px;}
.ccms_form_element input, textarea, input[type="file"]  {padding: 4px !important;  border: 1px solid #d3d3d3; margin-bottom: 3px; color:#666666; width:242px; }
.ccms_form_element select { padding: 3px; border: 1px solid #d3d3d3; min-width: 252px;margin-bottom: 3px;}
/*.ccms_form_element select { min-width: 163px; }*/
.ccms_form_element label { float: left; width: 230px; line-height: 18px; margin:3px 8px 6px 0; color:#999999;text-align:left;}
.ccms_form_element fieldset  {
background-color:#FAFAFA;
border:1px solid #EEEEEE;
padding:15px;
width:auto; }
.ccms_form_element fieldset legend {font-weight:bold; margin-left:-10px; padding:10px; }

.ccms_form_element { margin-bottom: 2px; position: relative; padding: 1px 0px 1px 5px; /*border-bottom: 1px solid #dddddd;*/ clear: both;}

.cfdiv_text label { width: 230px; text-align:left; margin-right:8px; }

.cfdiv_select select { width: 230px; text-align:left; }

.cfdiv_textarea label { width: 230px; }


.small-message, .error-message { line-height: 18px; margin: 4px 0 0 155px; font-size: 11px; display: block; clear: both;}
.small-message { color: #999999; font-style: italic; }
.error-message { color: red;}
.required input { border-color: #cccccc; background-color: #f9f9f9;}
.form-error { background-color: #fff4f4; border: 1px solid #ffd4d4;}


.tooltipimg { position: absolute; top: 5px; right: 10px; line-height: 21px;  color: #999999; }
.tooltipimg a {display: inline-block; font-weight: bold; color: #999999; line-height: 21px; height: 20px; background-color: #eeeeee; width: 20px; text-align: center;}
.tooltipimg a:hover { color: white; text-decoration: none;}


.cfdiv_checkboxgroup label, .cfdiv_radiogroup label, 
.cfdiv_checkbox label, .cfdiv_radio label { font-weight: normal; /*margin-bottom: 5px;*/margin: 6px 0 0; }
.full_label {width: 70% !important;}
.cfdiv_checkboxgroup label:first-child, .cfdiv_radiogroup label:first-child, 
.cfdiv_checkbox label:first-child , 
.cfdiv_radio label:first-child, 
.cfdiv_checkbox label:first-child,
.cfdiv_checkboxgroup label:first-child { font-weight: normal !important; margin-bottom: 9px;}

.ccms_form_element .button { 
	text-decoration: none;
	float:right;
	clear:left;
} 
  
.ccms_form_element .button:hover { 
 	text-decoration: none;
	cursor:pointer;
 	}


/* input sizes */
.small_input { width: 200px;}
.medium_input { width: 350px !important; }
.big_input, .title_input { width:475px; }
.title_input { padding: 8px 5px; font-size: 18px; margin-bottom: 15px; float: left !important;}


/* input types */
.ccms_form_element input[type="checkbox"] {border-color: transparent; margin: 8px 9px 0 0;}

.ccms_form_element input[type="radio"] { border-color: transparent; margin: 8px 9px 10px 0; clear: none; }

/* fixes for radio and checkboxes*/
.cfdiv_checkboxgroup label, .cfdiv_radio label { width: 150px; text-align:left;}
.cfdiv_checkboxgroup label:first-child, .cfdiv_radio label:first-child {width:242px;margin:0 8px 0 0;text-align:left;}
.cfdiv_checkboxgroup label, .cfdiv_radio label,
.cfdiv_checkboxgroup input, .cfdiv_radio input { float: left; padding-bottom:0; }

.label_right{float: left; margin-left: 150px !important;}


.label_over label:first-child { float: none !important;  }
.label_over label:first-child { display: block; }
.label_over .small-message, .label_over .error-message {  margin-left: 0;}

.radios_over label, .radios_over input {
    float: left !important;
}
.radios_over input {
    clear: left !important;
}

/* other fixes */
.fc-tbx{
	z-index:9999;
}
.validation_label{
	display:block;
	width:100%;
}
.chrono_captcha_input{
	vertical-align:top;
}

/*.clear{
	clear:both;
	visibility:hidden;
}*/

.clear:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

#form_checkbox_wrapper {
	float:left;
	width:200px;
	height:auto;
	margin-top:6px;
}