@import url(../cforms-common.css);

/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */

.cform {
    width: 410px;
}

.cform fieldset {
    margin-top:10px;
    padding:5px 0 10px 0;
    border:none;
}

.cform legend {
    color:#353c40;
    margin:0;
    line-height:2em;
    padding: 0;
    font-size:20px;
    font-variant:small-caps;
}

ol.cf-ol {
    margin:0!important;
    padding:0!important;
}
ol.cf-ol li {
    background:none!important;
    margin:2px 0!important;
    padding:0;
    list-style:none!important;
    text-align:left;
}


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

ol.cf-ol li.textonly {
    padding:4px 0;
    text-align:left;
    font-weight: bold;
    font-size: 14px;
}


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

.cform label {

    background:#E0E0E0 none repeat scroll 0%;
    color:black;
    font-size:12px;
    margin:0 10px 0 0;
    padding:5px 5px 5px;
    width:140px;

    display:inline-block;
    vertical-align:top;
}
.cform label span {
    width:140px; /* must be the same as above!*/
    display:block;
}

label.cf-before {
    margin:0 10px 0 0;
}

label.cf-after {
    margin:2px 1px 0 3px !important;
    width:90px;
    text-align:left;
    background:none;
    padding:2px;
    line-height:1.3em;
}

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

label.cf-group-after {
    margin:2px 0 0 3px!important;
    width:100px;
    text-align:left;
    padding:2px;
    background:none;
    line-height:1.3em;
}
label.cf-group-after span {
    width:100px;
    display:block;
}

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

.cform input,
.cform textarea,
.cform select {
    font-size:12px;
    margin:0;
    border:1px solid #CCCCCC;
    color:#666666;
    padding:4px 5px;
    width:230px;
    vertical-align:top;
}
.cform input:hover,
.cform textarea:hover,
.cform select:hover {
    border:1px solid #999999;
    color:black;
    width:230px;
}

.cform select,
.cform select:hover {
    width:242px;
    padding: 3px 5px;
}

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

.cform textarea {
    overflow:auto;
    height:8em;
}

.cform input.fldrequired,
.cform input.fldrequired:hover{
    border-right:3px solid #ebc2c2;
    width:228px;
}

.cform select.fldrequired,
.cform select.fldrequired:hover {
    border-right:3px solid #ebc2c2;
    width:242px;
}

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

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


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

ol.cf-ol li.cf-box-title {
    font-weight:bold;
    margin:8px 0 0 !important;
    padding-left:160px; /* check with label 'width' incl. */
}

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

.cform input.cf-box-a:hover,
.cform input.cf-box-b:hover,
.cform input.cf-box-a,
.cform input.cf-box-b {
    vertical-align:top;
    margin:2px 0 0 0;
    width:14px!important;
    height:22px;
    border:0!important;
    background:none!important;
}

.cform input.cf-box-a {
    margin-left:160px!important; /* check with label 'width' incl. */
}

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

ol.cf-ol li.cf-box-group {
    font-weight:bold;
    margin:10px 0 0 !important;
    padding-left:160px;
}


/*                                                    */
/*   FORM submit button                               */
/*                                                    */

p.cf-sb {
    padding: 0!important;
    margin: 0;
    text-align:right!important;
}
.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton {
    border:none!important;
    background-color:#909090;
    color:#FFFFFF;
    cursor:pointer;
    font-size:14px;
    height:31px;
    line-height:31px;
    margin: 0 7px 10px 0;
    padding: 0 0 5px;
    width:72px;
}


/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */
ol.cf-ol li.cf_li_err {
    background:#FFDFDF repeating-linear-gradient(135deg, #FCEBED, white 1%, #FCEBED 2%) !important;
    border-color:#DF7D7D;
    border-style:solid;
    border-width:1px 0;
    padding:10px 0!important;
    margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
    margin:0 0 0 160px;
    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;
}

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

.captcha-reset {
    color:black;
}

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

div.cf_info {
    color:#333;
    width:380px;
}
div.cf_info a {
    color:#ad2929!important;
    text-decoration:underline!important;
}
div.success {
    background:#F5F5F5 none repeat scroll 0%;
    color:#888888;
    display:block;
}
div.failure {
    display:block;
    background:#FFDFDF repeating-linear-gradient(135deg, #FCEBED, white 1%, #FCEBED 2%) !important;
    border-color:#DF7D7D;
    border-style:solid;
    border-width:1px 0;
}
div.waiting {
    background:#F9F9F9;
    color:#AAAAAA;
    display:block;
}

/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */

.cform input.cf_error,
.cform input.cf_error:hover {
    border-right:6px solid #ad2929;
    width:225px;
}
.cform select.cf_error,
.cform select.cf_error:hover {
    border-right:6px solid #ad2929;
}

div.mailerr {
    display:block;
}
