/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */
@import "calendar.css";

#content .cform { 
	margin:0 0 0 20px; 
	width: 585px; 
}
	/* body#contact-ryan .cform, body#contact-peter .cform { width: 440px; } */

.cform fieldset	{ 
	margin-top:10px; 
	padding: 0; 
	border:0; 
}

.cform fieldset.cf_hidden { 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}

.cform legend { 
	margin:0;
	padding: 0; 
}

#content ol.cf-ol { 
	margin:0 !important; 
	padding:0 !important; 
}
#content ol.cf-ol li	{ 
	margin: 0!important; /*some themes may interfere otherwise*/
	padding:0;
	border: 0;
	list-style:none!important; 
	text-align:left; clear: both;
}

/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */

ol.cf-ol li.textonly {
	padding:3px 0; 
	text-align:left;
	font-weight: bold;
}


/*                                                    */
/* global definitions for field labels                */
/*                                                    */

.cform label {
	width:585px; 
	margin:2px 0; 
	text-align:left;
	vertical-align:top;
	display: block;clear:both
}
	
.cform label span {
	width:585px; /* must be the same as above!*/
}

.cform label.cf-before {
	width: auto;
	margin: 2px 0 0;
	padding: 7px 0 19px;
	text-align:left;
}

.cform label.cf-after, .cform label.cf-group-after	{
	width: auto;
	margin: 2px 0 0;
	padding: 7px 15px 19px 0;
	float: left;
	text-align:left; clear: right;
}
	.cform .cf-box-group label.cf-after, .cform .cf-box-group label.cf-group-after {
		margin: 0;
		padding-top: 0;
		font-weight: normal;
	}

label.cf-before span, label.cf-after span {
	width:auto;
	display:block;
}

label.cf-group-after {
}
label.cf-group-after span {
	width:auto;
	display:block;
}

/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */

.cform input.single,
.cform textarea,
.cform select { 
	padding:5px 3px;
	margin-bottom: 9px;
}

.cform input {
	width:320px; 
}
	/* body#contact-ryan .cform input, body#contact-peter .cform input { width: 250px; } */

.cform select {
	width:328px; /* attempt to have equal length */
} 
	/* body#contact-ryan .cform select, body#contact-peter .cform select { width: 250px; } */

.cform select.cfselectmulti {
	
}

.cform textarea {
	width: 442px;
	height: 114px;
	overflow:auto;
}

/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */

span.reqtxt,
span.emailreqtxt { 
	margin:3px 5px 0;
	vertical-align:top;
	color: #be1e2d;
}
	/* body#contact-ryan .cform span.reqtxt, body#contact-peter .cform span.reqtxt,
	body#contact-ryan .cform span.emailreqtxt, body#contact-peter .cform span.emailreqtxt { font-size: 11px; } */

/*                                                    */
/*   radio button title                               */
/*                                                    */

ol.cf-ol li.cf-box-title {
	clear: both;
	
}

/*                                                    */
/*   check boxes                                      */
/*                                                    */

input.cf-box-a,
input.cf-box-b 	{ 
	width:16px; 
	margin:12px 0 19px;
	float: left;
	border:none; 
}
	.cf-box-group input.cf-box-b 	{ 
		margin:3px 0 19px;
	}

input.cf-box-a 	{ 
	/* margin-left:100px; check with label 'width' incl. */
} 


/*                                                    */
/* check box groups                                   */
/*                                                    */

ol.cf-ol li.cf-box-group {
	padding: 0; float: left;
	clear: both;
} 


/*                                                    */
/*   FORM submit button                               */
/*                                                    */

p.cf-sb { width: 130px; margin-top: 2px; }
.cform input.sendbutton	{ width: 130px; }
.cform input.sendbutton:hover { background-position: 0 0; }

/*                                                    */
/*   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 0!important;
	margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
	height:1%;
	min-height:1%;
	margin:0 0 0 100px;
	padding:0;
	color:#333;
}

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:'';
}

/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */

.cform .error 		{ color:red!important; border:1px solid #FF0000!important; padding:1px 3px; }
.cform .errortxt,
.mailerr	    	{ color:red!important; }

/*                                                    */
/* 'visitor verification' related styles              */
/*                                                    */

label.seccap {
	margin-top: 6px;
}
label.secq,
label.secq span {
}
label.secq {
}

input.secinput {
}

#cforms_captcha5,
#cforms_captcha4,
#cforms_captcha3,
#cforms_captcha2,
#cforms_captcha {
	height:15px;
	width:50px;
	padding: 4px;
	margin: 0;
	vertical-align:top;
}

img.captcha	{
	margin:0 0 0 10px!important;
	padding:0!important;
	border:none!important;
	float:none!important;
}

img.captcha-reset {
	background:	url(../images/captcha_reset_grey.jpg) no-repeat;
	margin-left:3px;
	width:21px;
	height:21px;
}
img.imgcalendar {
	position:relative;
	top:4px;
}

/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

.usermessagea, .usermessage2a { padding: 0; }
.info 		{
	margin: 0; padding: 0;
}
.usermessageb .info { margin: 0 0 20px; }
.success 	{
	background-color: rgb(243,237,223);
	margin: 20px 0;
	padding: 10px;
	color: #be1e2d !important; font-weight: bold; 
}
.failure 	{
	background:#FFDFDF url(li-err-bg.png) repeat!important;
	margin: 20px 0;
	padding: 10px;
	color: #be1e2d !important; font-weight: bold; 
	color:red;
}

/*                                                    */
/* 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  {
	margin: 0 0 14px;
	background: #f9f9f9;
	border:1px solid #888888;
}

/*                                                    */
/*  Other: link love                                  */
/*                                                    */
.linklove {
display: none;}

/*                                                    */
/*  Other: browser hacks                              */
/*                                                    */
* html span.reqtxt,
* html span.emailreqtxt { 
	display: inline-block;  /*for ie6*/
}
*+html .cform label,
*+html span.reqtxt,
*+html span.emailreqtxt {
	display: inline-block; /*for ie7*/
}
* html .cform fieldset.cf_hidden { 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}
* html .cform { margin-left: 5px; }
* html .cform legend { 
	position:absolute; 
	top: -10px; 
	left: -7px; 
	margin-left:0;
}
* html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
* html img.captcha	{
	margin-top:1px!important;
}
*+html input.cf-box-a,
*+html input.cf-box-b { 
	margin-top:0;
}
* html input.cf-box-a,
* html input.cf-box-b { 
	margin-top:0;
}
