/*  main 'top-level' form elements                    */
.cform {margin: 0px; width: 270px; }
.cform fieldset {margin-top: 0px; padding: 0 10px 5px 10px; border: 1px solid #EEE; }
.cform fieldset.cf-fs2 {margin-top: 10px; }
.cform .cf_hidden {display: none; border: none !important; background: none !important; padding: 0 !important; margin: 0 !important; }
.cform legend {margin: 0; margin-left: 0px; padding: 0; padding-left: 10px; padding-right: 10px; font-weight: bold; font-size: 1em; }
.cform legend {text-transform: normal; color: #CCC; letter-spacing: 0px; }
ol.cf-ol {margin: 0 !important; padding: 2px 0 0 0 !important; border-top: 0px solid #009931; }
ol.cf-ol li {background: none !important; margin: 5px 0 !important; /*some themes may interfere otherwise*/ padding: 0; list-style: none !important; }
ol.cf-ol li {text-align: left; text-transform: normal; line-height: 1.1em; }

/* just for text-only fields (no input)               */
ol.cf-ol li.textonly {color: #999; font-size: 1em; line-height: 160%; margin: 0 !important; padding: 0.8em 0.2em 0 0.3em; }

/* global definitions for field labels                */
.cform label {display: -moz-inline-box; display: inline-block; padding: 0.5em 0 0.5em 0; color: #999; width: 167px; margin: 0px; text-align: left; vertical-align: top; }
.cform label span {width: 167px; /* must be the same as above!*/ display: block; }
label.cf-before {margin: 4px 10px 0 0; }
label.cf-after  {margin: 4px 2px 0pt 6px; text-align: left; width: 75px; }
label.cf-after span {width: 75px; display: block; }
label.cf-group-after {margin: 4px 0 0 2px; width: 60px; text-align: left; }
label.cf-group-after span {width: 60px; display: block; }

/*   FORM FIELDS general formatting                   */
.cform input,.cform textarea,.cform select {padding: 5px; border: 1px solid #EAEAEA; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1.1em; color: #666; vertical-align: top; background-color: #FFF; }
.cform input:hover,.cform textarea:hover,.cform select:hover {border: 1px solid #999; }
.cform input:focus,.cform textarea:focus,.cform select:focus {border: 1px solid #EEE; color: #666; }
.cform textarea,.cform input {width: 240px; }
.cform select {width: 250px; /* attempt to have equal length */}  
.cform input.cf_date {width: 220px;}
.cform select.cfselectmulti {height: 4.5em; }
.cform textarea {padding: 5px; border: 1px solid #EAEAEA; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1.1em; color: #666; height: 8em; overflow: auto; }

/* formatting for text: "(required)"  & other        */
span.reqtxt,span.emailreqtxt {margin: 0px; display: inline; padding-left: 0.4em; font-weight: bold; color: #FF0000; vertical-align: top; font-size: 1em; line-height: 1.2em; }

/*   radio button title                               */
ol.cf-ol li.cf-box-title {color: #888; font-size: 1em; letter-spacing: 2px; margin: 12px 0pt 0  !important; padding: 0pt 0pt 0pt 100px; }

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

/* check box groups                                   */
ol.cf-ol li.cf-box-group {padding: 0 0 5px 100px; } 

/*   FORM submit button                               */
p.cf-sb {margin: 0; padding: 0 3px 0 0  !important; text-align: left; }
.cform input.sendbutton {width: 70px; margin-top: 1em; background-color: #EAEAEA; border: 2px solid #CCC; font-size: 1em; color: #999; }

/*   FORM FIELDS enhanced error display               */
ol.cf-ol li.cf_li_err {border: none; }
ol.cf-ol li ul.cf_li_text_err {margin: 0 0 0 10px; padding: 0; color: #333; }
ol.cf-ol ul.cf_li_text_err li {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.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: 100px; padding: 4px 4px; margin: 0; vertical-align: text-bottom; }
img.captcha {vertical-align: text-bottom; margin: 0 0 0 10px !important; padding: 0 !important; border: none !important; float: none !important; }
img.captcha-reset {vertical-align: text-bottom; margin: 0 0 2px 3px; width: 21px; height: 21px; border: none; }
img.imgcalendar {border: none; }

/* change formatting of response msgs here            */
div.cf_info {color: #333; display: none; padding: 10px 15px !important; width: 200px; line-height: 160%; margin: 10px auto; 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: red !important; text-decoration: underline !important; }
div.success {background-color: #EEE; color: #666; font-weight: normal; display: block; }
div.failure {background-color: #990000; color: #FFF; font-weight: bold; display: block; }
div.waiting {background-color: #EEE; color: #666; font-weight: normal; display: block; }

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

/* change formatting of response msgs here            */
p.cf_info {margin: 10px 0; text-align: center; }
p.success {color: green; }
p.failure {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  {width: 190px; background: #f9f9f9; border: 1px solid #888888; }

/*  Other: link love                                  */
.linklove {display: none; margin: 6px auto 10px  !important; padding: 0pt 6px 0pt 0pt  !important; text-align: right; width: 410px; }
.linklove a,.linklove a: visited {font-size: 0.8em; font-family: Tahoma; color: #aaaaaa !important; }

/*  Other: browser hacks                              */
*+html ol.cf-ol,*+html ol.cf-ol li {display: inline-block; /*for ie7*/}
* html ol.cf-ol,* html ol.cf-ol li,* html span.reqtxt,* html span.emailreqtxt {display: inline-block; }
* html .cform legend {position: absolute; left: -8px; top: 0; margin-left: 0; }
*+html .cform legend {position: absolute; left: -8px; top: 0; margin-left: 0; }
* html .cform fieldset {position: relative; margin-top: 15px; padding-top: 25px; }
*+html .cform fieldset {position: relative; margin-top: 15px; padding-top: 25px; }
* html img.captcha {margin-bottom: 1px !important; }
*+html img.captcha {margin-bottom: 1px !important; }



/*/////////////////////////////////////////// Calendar Stuff /////*/
table.jCalendar {border: 1px solid #666; background: #aaa; border-collapse: separate; border-spacing: 2px;}
table.jCalendar th {background: #444; color: #fff; font-weight: bold; padding: 3px 5px;}
table.jCalendar td {background: #f0f0f0; color: #000; padding: 3px 5px; text-align: center;}
table.jCalendar td.other-month {background: #ddd; color: #aaa;}
table.jCalendar td.today {background: #666; color: #fff;}
table.jCalendar td.selected {background: #f66; color: #fff;}
table.jCalendar td.selected:hover {background: #f33; color: #fff;}
table.jCalendar td:hover, table.jCalendar td.dp-hover {background: #fff; color: #000;}
table.jCalendar td.disabled, table.jCalendar td.disabled:hover {background: #bbb; color: #888;}

/* For the popup */

div.dp-popup {position: relative; background: #EEE; font-size: 10px; font-family: arial, sans-serif; padding: 2px; width: auto; line-height: 1.2em;}
div#dp-popup {position: absolute; z-index: 199; border:2px solid #EFEFEF;}
div.dp-popup h2 {font-size: 12px; text-align: center; margin: 3px 0pt 4px; padding: 0;}
a#dp-close {font-size: 11px; padding: 4px 0; text-align: center; display: block;}
a#dp-close:hover {text-decoration: underline;}
div.dp-popup a {color: #000; text-decoration: none; padding: 3px 2px 0;}
div.dp-popup div.dp-nav-prev {position: absolute; top: 2px; left: 4px; width: 100px;}
div.dp-popup div.dp-nav-prev a {float: left;}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {cursor: pointer;}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {cursor: default;}
div.dp-popup div.dp-nav-next {position: absolute; top: 2px; right: 4px; width: 100px;}
div.dp-popup div.dp-nav-next a {float: right;}
div.dp-popup a.disabled {cursor: default; color: #aaa;}
div.dp-popup td {cursor: pointer;}
div.dp-popup td.disabled {cursor: default;}