/*                                                    */
/*  main 'top-level' form elements                    */
/*  Created for Hairfax Atlantic website              */
/*  by Point Click Media Productions - Moncton NB     */
/*  http://pointclickmedia.ca			              */
/*                                                    */

@import "calendar.css";

.cform { 
	/*margin:10px auto 0 auto; 
	width: 450px; */
	width:675px;
}

.cform fieldset	{ 
/*	margin-top:10px; 
	padding:10px 0 10px 0; 
	border:1px solid #adadad; 
	border-left-color:#ececec; 
	border-top-color:#ececec; 
	background:#f7f7f7;  */
	margin-top:10px; 
	padding:10px 0 10px 0; 
	border:1px solid #ac9376; 
	border-left-color:#ececec; 
	border-top-color:#ececec; 
	background:#f7f7f7; 

	
}

.cform .cf_hidden {
	display:none; 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}

.cform legend { 
	/* margin-left:10px;
	padding: 0 2px; 
	font:normal 20px Times; 
	color:#666666; */

	margin-left:10px;
	padding: 0 2px; 
	font: bold 1.5em Arial, Helvetica, sans-serif;
	color:#5f4b31;
}

ol.cf-ol { 
	margin:0!important; 
	padding:0!important; 
}
ol.cf-ol li	{
	background:none!important; 
	margin:0 10px!important; /*some themes may interfere otherwise*/
	padding:0; 
	list-style:none!important; 
	text-align:left;
	line-height:1.3em;
}


/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */

ol.cf-ol li.textonly {
	letter-spacing:2px;
	margin:6px 0pt !important;
	padding:3px 0; 
	text-align:center;
}


/*                                                    */
/* global definitions for field labels                */
/*                                                    */

.cform label {
/*	width:200px; 
	margin:0px 10px 0 0; 
	text-align:left;
	font-size: 10px;
	display:block;
	color:#888888;
	background:#fefefe;
	padding:2px; */
	color:#786040;
	display:block;
	font-size:10px;
	margin:0px 10px 0pt 0pt;
	padding:2px;
	text-align:left;
	width:600px;
	font-weight:bold;	
}
/*slight modifications to labels in the two side by side columns */
.cf-fs1 label, .cf-fs2 label {
	width:250px;
}

label.cf-before {
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	margin:4px 5px 0px 0px; 
}

label.cf-before span{
	width:200px; 
	display:block;
}

label.cf-after 	{
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	margin:4px 0 0 4px;
/*	width:115px; */
	text-align:left;	
	width:35px;
}

label.cf-after span {
	width:115px;
	display:block;
}

label.cf-group-after {
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	margin:4px 6px 0 4px;
	width:105px;
	text-align:left;
}
label.cf-group-after span {
	width:105px;
	display:block;
}

/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */

.cform input,
.cform textarea,
.cform select { 
	margin:0 0 8px 0;
	padding:3px;
	background: #fbfbfb; 
	border:none;
	/* border-top: 1px solid #f0f0f0; */
	border:1px solid #CCCCCC; /*Added for hairfax so you can tell where the forms are in all browsers */
	vertical-align:top;
	
}
.cform input:hover,
.cform textarea:hover,
.cform select:hover	{
	background:#CEDDDF; 
}

.cform input:focus,
.cform textarea:focus,
.cform select:focus	{ 
	background:#F3F8F8; 
}

.cform textarea,
.cform input {
	width:415px; 
}
.cform select {
	width:421px; /* attempt to have equal length */
}  

.cform select.cfselectmulti	{ 
	height:6.5em; 
}

.cform textarea {
	font-family: arial;
	font-size: 0.9em;
	height: 6em;
	overflow:auto;
}

.cform input.cf_date {
	width:395px;
}

/*                                                    */
/*   radio button title                               */
/*                                                    */

ol.cf-ol li.cf-box-title {
	letter-spacing:2px;
	margin:12px 0pt 4px 10px!important;
	font-size:10px;
	color:#786040;
	font-weight:bold;
}

/*                                                    */
/*   check boxes                                      */
/*                                                    */

input.cf-box-a,
input.cf-box-b 	{ 
	margin:3px 0 0 0; 
	width:16px; 
	height:22px;
	border:none!important;
	background:none!important; 
}


/*                                                    */
/* check box groups                                   */
/*                                                    */

ol.cf-ol li.cf-box-group {
	padding: 0 0 12px 0; 
} 


/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */

span.reqtxt,
span.emailreqtxt { 
	display:block; /*for mozilla*/
	width:421px;
	font-size:9px;
	vertical-align:top;
	color:#888888;
	text-align:right;
	margin:0;
	height:13px;
	line-height:13px;
}

.cform textarea.fldemail,
.cform textarea.fldrequired,
.cform input.fldemail,
.cform input.fldrequired {
	margin:0;
}
/*                                                    */
/*   FORM submit button                               */
/*                                                    */

p.cf-sb {
	padding: 0!important;
	margin: 0;
	text-align:right;
}
.cform input.sendbutton	{ 
	width:150px;  
	padding:5px; 
	margin: 5px 3px 4px 0pt;
	font-size:0.8em;
	background:url(../images/button-bg.gif) repeat-x; 
	border:1px solid #adadad!important;
	border-left-color:#ececec!important; 
	border-top-color:#ececec!important;
}

/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */
ol.cf-ol li.cf_li_err {
	background:#FFDFDF url(li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
	padding:5px 10px!important;
	margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
	padding:0 0 0 10px;
	margin:0;
	color:#333;
	display:inline-block;
}

ol.cf-ol ul.cf_li_text_err li {
	background:url(icon-alert.png) no-repeat left 1px!important;
	list-style:none!important;
	font-weight:bold;
	text-indent:0;
	margin:0 0 2px!important;
	padding-left:15px;
}
ol.cf-ol ul.cf_li_text_err li:before {
	content:'';
}


/*                                                    */
/* 'visitor verification' related styles              */
/*                                                    */

label.seccap {
	margin-top: 6px;
}

label.secq{
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	width:auto;
	padding:2px 4px 2px 2px;
}
label.secq span {
	display:block!important;
	width:auto;
}

input.secinput {
	vertical-align:text-bottom;
}

#cforms_captcha6,
#cforms_captcha5,
#cforms_captcha4,
#cforms_captcha3,
#cforms_captcha2,
#cforms_captcha {
	height:15px;
	width:196px;
	padding: 4px 4px;
	margin: 0 0 8px 0;
	vertical-align:text-bottom;
}

img.captcha	{
	vertical-align:text-bottom;
	margin:0 0 8px 10px!important;
	padding:0!important;
	border:none!important;
	float:none!important;
}

img.captcha-reset {
	vertical-align:text-bottom;
	background:	url(captcha_reset_grey.gif) no-repeat;
	margin:0 0 10px 3px;
	width:21px;
	height:21px;
	border:none!important;
}

img.imgcalendar {
	border:none!important;
}

/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

div.cf_info {
	color:#333;
	display:none;
	padding:10px 15px!important;
	width:420px;
	line-height:1.3em;
	margin:10px auto;
}
div.cf_info ol {
	margin:0;
	padding:5px 15px 0 30px;
}
div.cf_info ol li {
	padding:1px 0;
	margin:2px 0;
}
div.cf_info a	{
	color:red!important;
	text-decoration:underline!important;
}
div.success {
	background:#F9F9F9 none repeat scroll 0%;
	color:#AAAAAA;
	display:block;
}
div.failure {
	display:block;
	background:#FFDFDF url(li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
}

/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */
.cform .cf_error { 
	color:#ad2929; 
	border:1px solid #ad2929; 
}
div.mailerr {
	display:block;
}
.mailerr,
.cform .cf_errortxt {
	color:#ad2929; 
}

/*                                                    */
/* disabled fields [disabled] does not work on IE!    */
/*                                                    */

[disabled] {
	color:#dddddd;
	border-color:#dddddd!important;
	background:none!important;
}
.disabled {
	border-color:#dddddd!important;
}

/*                                                    */
/* upload box styling                                 */
/*                                                    */

.cform input.cf_upload  {
	width:220px;
	background: #f9f9f9;
	border:1px solid #888888;
}

/*                                                    */
/*  Other: link love                                  */
/*                                                    */
.linklove {
	/*width:410px;
	margin:0 auto 10px!important;
	padding:0!important;	
	text-align:center!important; */
position:relative;	
bottom:30px;
left:5px;
}
.linklove a,
.linklove a:visited {
	font-size: 0.8em;
	font-family: Tahoma;
	color:#aaaaaa!important;
}

  
/*                                                    */
/*  Other: browser hacks                              */
/*                                                    */
* html .cform legend { 
	position:absolute; 
	top: -10px; 
	left: 10px; 
	margin-left:0;
}
* html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
* html ol.cf-ol 	{
	display:inline-block; /*for IE6!!*/
}
* html img.captcha	{
	margin-bottom:9px!important;
}
*+html img.captcha	{
	margin-bottom:9px!important;
}

/*														*/
/* Specific form styles									*/
/*														*/

.cform .cf-fs1 {
	width:320px;
	float:left;
	clear:left;
	margin-right:12px;
	margin-bottom:12px;
}
.cform .cf-fs1 input, .cform .cf-fs1 select, .cf-fs1 span.reqtxt, .cf-fs1 span.emailreqtxt,
.cform .cf-fs2 input, .cform .cf-fs2 select, .cf-fs2 span.reqtxt, .cf-fs2 span.emailreqtxt{
	width:250px;
}
.cform .cf-fs1 .cf-box-b, .cform .cf-fs2 .cf-box-b{ /*set the radio buttons to this width in the two columns */
	width:20px;
}
.cform .cf-fs2 label.cf-after{ /*radio buttons in the second column can only have labels that are this wide */
	width:10px;
}

.cform .cf-fs2 {
	width:320px;
	float:right;
	margin-bottom:12px;	
}
.cform .cf-fs3{
	clear:both;	
}

.cf-sb{
	clear:both;
}
/*set the spacing to allow for backgrounds on baldness charts */
/* ENGLISH - Men */
#label--221 , #label--222 , #label--223 , #label--224, #label--225, #label--226,  #label--227, #label--228, #label--229, #label--2210, #label--2211, #label--2212 {
	width:100px;
	height:64px;
	margin:0px 5px 0px 0px;
}
/* FRENCH - Men*/
#label-2-211, #label-2-212, #label-2-213, #label-2-214, #label-2-215, #label-2-216, #label-2-217, #label-2-218, #label-2-219, #label-2-220, #label-2-221, #label-2-222, #label-2-223 {
	width:100px;
	height:64px;
	margin:0px 5px 0px 0px;
}
/* English - Women */
#label--251, #label--252, #label--253 {
	width:61px;
	height:64px;
	margin:0px 5px 0px 0px;
}
/* French - Women */
#label-2-241, #label-2-242, #label-2-243 {
	width:61px;
	height:64px;
	margin:0px 5px 0px 0px;
}

/*create backgrounds for baldness charts*/
#label--221, #label-2-211 {/* Mens AA */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_aa.gif) no-repeat; 
}
#label--222, #label-2-212 {/* Mens BB */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_bb.gif) no-repeat; 
}
#label--223, #label-2-213 {/* Mens CC */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_cc.gif) no-repeat; 
}
#label--224, #label-2-214 {/* Mens DD */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_dd.gif) no-repeat; 
}
#label--225, #label-2-215 {/* Mens EE */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_ee.gif) no-repeat; 
}
#label--226, #label-2-216 {/* Mens FF */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_ff.gif) no-repeat; 
}
#label--227, #label-2-217 {/* Mens GG */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_gg.gif) no-repeat; 
}
#label--228, #label-2-218 {/* Mens HH */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_hh.gif) no-repeat; 
}
#label--229, #label-2-219 {/* Mens II */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_ii.gif) no-repeat; 
}
#label--2210, #label-2-220 {/* Mens JJ */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_jj.gif) no-repeat; 
}
#label--2211, #label-2-221 {/* Mens KK */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_kk.gif) no-repeat; 
}
#label--2212, #label-2-222 {/* Mens LL */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_ll.gif) no-repeat; 
}

#label--251, #label-2-241 { /* Womens I */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_1.gif) no-repeat; 
}
#label--252, #label-2-242 { /* Womens II */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_2.gif) no-repeat; 
}
#label--253, #label-2-243 { /* Womens III */
	background: url(http://www.hairfax.ca/hairfaxwp/wp-content/themes/hairfax/images/chart_3.gif) no-repeat; 
}

/* Remove the label from the screen when the background is displayed */
/* ENGLISH - Men */
#label--221 span, #label--222 span, #label--223 span, #label--224 span, #label--225 span, #label--226 span,  #label--227 span, #label--228 span, #label--229 span, #label--2210 span, #label--2211 span, #label--2212 span {
	position: absolute;
	left: -999em;	
}
/* FRENCH - Men */
#label-2-211 span, #label-2-212 span, #label-2-213 span, #label-2-214 span, #label-2-215 span, #label-2-216 span, #label-2-217 span, #label-2-218 span    {
	position: absolute;
	left: -999em;	
}
/* English - Women */
#label--251 span, #label--252 span, #label--253 span {
	position: absolute;
	left: -999em;	
}
/* French - Women */
#label-2-241 span, #label-2-242 span, #label-2-243 span {
	position: absolute;
	left: -999em;	
}


/* Hairfax More info text Area styles */
#cf_field_27, #cf2_field_27 {
	border: 1px solid #CCCCCC;
	width: 620px;
}