/* 
Title: Contact forms styling
Author: Arif Hidayat
Author Email: arip@primitip.com
Last Update: Mar 20, 2009
*/

.cform { 
	margin: 11px auto 0;
	width: 280px;
	}
fieldset { 
	margin: 0;
	padding: 0;
	}
.cform .cf_hidden {
	display: none; 
	border: none!important;
	background: none!important;
	padding: 0!important;
	margin: 0!important;
	}
.cform legend { 
	margin: 0 0 25px;
	padding: 0;
	color: #606060;
	font: normal 16px Verdana;
	}
ol.cf-ol { 
	margin: 0!important; 
	padding: 0!important;
	}
ol.cf-ol li	{
	background: none!important; 
	margin: 0 0 12px!important;
	padding: 0; 
	list-style: none!important; 
	text-align: left;
	line-height: normal;
	}

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

ol.cf-ol li.textonly {
	background: #f0f0f0 !important;
	letter-spacing: 1px;
	margin: 10px 0pt !important;
	padding: 5px 0pt;
	text-align: center;
	}

/* global definitions for field labels                */

.cform label {
	display: block;
	margin: 0 0 5px;
	vertical-align: top;
	}
.cform label span {
	display: block; 
	}
label.cf-before {
	margin: 0; 
	}
label.cf-after 	{
	display: none;
	}
label.cf-after span {
	display: none;
	}
label.cf-group-after {
	margin: 3px 4px 0 2px;
	width: 72px;
	text-align: left;
	}
label.cf-group-after span {
	width: 72px;
	display: block;
	}

/*   FORM FIELDS general formatting                   */

.cform input,
.cform textarea,
.cform select { 
	padding: 5px 10px;
	background: #fff; 
	border: none; 
	vertical-align: top;
	}
.cform input:hover,
.cform textarea:hover,
.cform select:hover	{
	background: #fff; 
	}
.cform input:focus,
.cform textarea:focus,
.cform select:focus	{ 
	background: #fff; 
	}
.cform input {
	width: 260px; 
	}
.cform textarea {
	width: 260px; 
	}
.cform select {
	width: 268px; /* attempt to have equal length */
	padding: 2px 0;
	}  
.cform select.cfselectmulti	{ 
	height: 7.5em; 
	}
.cform textarea {
	margin :0;
	font-family: Verdana;
	font-size: 12px;
	overflow: auto;
	}

/*   radio button title                               */

ol.cf-ol li.cf-box-title {
	font-weight: bold;
	letter-spacing: 1px;
	padding: 8px 0 0 100px; /* check with label 'width' incl. */
	}

/*   check boxes                                      */

.cform input.cf-box-a,
.cform input.cf-box-b 	{ 
	margin: 2px 0 0 0; 
	width: 14px;
	height: 22px;
	border: none!important;
	background: none!important; 
	}
.cform input.cf-box-a 	{ 
	margin-left: 100px; /* check with label 'width' incl. */
	} 


/* check box groups                                   */

ol.cf-ol li.cf-box-group {
	margin: 10px 0pt 0px !important;
	padding-left: 100px; 
	} 

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

span.reqtxt,
span.emailreqtxt { 
	display: none;
	}

/*   FORM submit button                               */

p.cf-sb {
	padding: 0!important;
	margin: 0;
	}
.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton	{ 
	width: auto;
	margin: 5px 0 0;
	padding: 5px 20px; 
	color: #fff;
	font-weight: bold;
	line-height: 33px;
	text-align: center;
	text-transform:uppercase; 
	background:#9c9c9c; 
	border: none;
	}
.cform input.sendbutton	{ 
	width: 82px;
	height: 33px;
	padding: 0; 
	background: #9c9c9c url('images/btn-cform.gif') no-repeat; 
	border: none !important;
	}
.cform input.resetbutton {
	width: auto;
	padding: 5px 1em;
	}
.cform input.backbutton {
	width: auto;
	padding: 5px 1em;
	}

/*   FORM FIELDS enhanced error display               */

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

/* 'visitor verification' related styles              */

label.secq,
label.seccap {
	vertical-align: text-bottom;
	margin-bottom: 4px;
	}
input.secinput {
	vertical-align: text-bottom;
	}
#cforms_captcha6,
#cforms_captcha5,
#cforms_captcha4,
#cforms_captcha3,
#cforms_captcha2,
#cforms_captcha {
	height: 15px;
	width: 50px;
	padding: 4px 4px;
	margin: 0;
	}
img.captcha	{
	float: none!important;
	margin: 0 0 0 10px!important;
	padding: 0!important;
	vertical-align: text-bottom;
	border: none!important;
	}
img.captcha-reset {
	width: 21px;
	height: 21px;
	margin: 0 0 2px 3px;
	vertical-align: text-bottom;
	background:	url(captcha_reset_grey.gif) no-repeat;
	border: none;
	}
img.imgcalendar {
	border: none;
	}

/* change formatting of response msgs here            */

div.cf_info {
	color: #333;
	display: none;
	padding: 10px 0!important;
	width: 460px;
	line-height: 1.3em;
	margin: 10px 0;
	text-align: center;
	}
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: #ad2929!important;
	text-decoration: underline!important;
	}
div.success {
	background: #f7f7f7 none repeat scroll 0% 50%;
	color: #444;
	display: block;
	}
div.failure {
	display: block;
	background: #ffdfdf url(li-err-bg.png) repeat!important;
	border-color: #df7d7d;
	border-style: solid;
	border-width: 1px 0;
	}
div.waiting {
	color: #4b4b4b;
	display: block;
	background: none;
	}

/*   formatting for invalid user inputs               */

.cform .cf_error { 
	color: #ad2929; 
	border: 1px solid #ad2929; 
	}
div.mailerr {
	display: block;
	}
.mailerr,
.cform .cf_errortxt {
	color: #ad2929; 
	}

/*  Other: link love                                  */

.linklove {
	display: none;
	}

/*  Other: browser hacks                              */

*+html .cform legend {
	margin-left: -8px;
	position: relative;
	}
* html ol.cf-ol,
* html ol.cf-ol li,
* html span.reqtxt,
* html span.emailreqtxt { 
	display: inline-block;  /*for ie6*/
	}
*+html .cform label,
*+html ol.cf-ol,
*+html ol.cf-ol li,
*+html span.reqtxt,
*+html span.emailreqtxt {
	display: inline-block; /*for ie7*/
	}

* html img.captcha {
	margin-bottom: 1px!important;
	}
*+html img.captcha {
	margin-bottom: 1px!important;
	}

/* Specific Contact Form - Contact Page */

.post-content .cform {
	width: 389px;
	margin: 20px 0 0;
	padding: 25px 42px 38px 30px;
	background: #f5f5f5 url('images/bg-contact.gif') no-repeat 100% 100%;
	}
*+html .post-content .cform {
	padding-bottom: 30px;
	}
.post-content ol.cf-ol li {
	margin: 0 0 9px!important;
	}
.post-content .cform label {
	width: 110px; 
	margin: 0;
	padding: 0;
	color: #646464;
	font-size: 14px;
	display: -moz-inline-box; /* for mozilla */
	display: inline-block; /* for Opera & IE */
	text-align: left;
	vertical-align: top;
	}
.post-content .cform label span {
	width: 110px; /* must be the same as above! */
	display: block;
	}
.post-content .cform input,
.post-content .cform textarea,
.post-content .cform select {
	width: 257px;
	display: inline;
	border: 1px solid #d7d7d7;
	vertical-align: top;
	}
.post-content .cform textarea {
	height: 92px;
	}
.post-content .cform input.sendbutton	{ 
	width: 83px;
	margin-left: 110px;
	background: #3184d5 url('images/btn-cform-content.gif') no-repeat; 
	}