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

/*                                                    */
/*  custom code on top the default style sheet        */
/*                                                    */
/*  ** if you want this to apply to a different       */
/*  ** form than to just the 2nd form change the '2'  */
/*  ** (or remove for your 1st, default form)         */

.cform fieldset.cf-fs1 {
    background: white linear-gradient(180deg, #ccc, white 30px);
    border-radius: 10px 10px 0 0;
    padding-bottom:0;
}
.cform fieldset.cf-fs1 ol.cf-ol {
    margin:50px 0 0 0!important;
}


/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */
.cform {
    width: 410px;
}

.cform fieldset {
    margin:10px 0 0 0;
    padding:5px 0 15px 0;
    border:none;
    background:white;
}

.cform legend {
    display:none;
}

ol.cf-ol {
    margin:0!important;
    padding:0!important;
}
ol.cf-ol li {
    background:none!important;
    margin:5px 0!important;
    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 {
    color:#a2a2a2;
    padding:4px 0;
    text-align:center;
}


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

.cform label {
    color:#666666;
    width:90px;
    margin:4px 10px 0 0;
    display:inline-block;
    text-align:right;
    vertical-align:top;
}
.cform label span {
    color:#666666;
    width:90px; /* must be the same as above!*/
    display:block;
}

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

label.cf-after {
    margin:4px 2px 0 6px;
    width:70px;
    text-align:left;
}

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

label.cf-group-after {
    margin:4px 4px 0 2px;
    width:125px;
    text-align:left;
}
label.cf-group-after span {
    width:125px;
    display:block;
}

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

.cform input,
.cform textarea,
.cform select {
    color:#333;
    padding:3px;
    background: #fefefe;
    border: 1px solid #ddd;
    vertical-align:top;
    letter-spacing:1px;
    line-height:normal;
    padding:4px 3px;
    vertical-align:top;
    font-style:bold;
    font-size:9px;
}

.cform input:hover,
.cform textarea:hover,
.cform select:hover {
    background:#f2f2f2;
}

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

.cform textarea,
.cform input {
    width:175px;
}
.cform select {
    width:183px;
}

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

.cform textarea {
    overflow:auto;
}

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

span.reqtxt,
span.emailreqtxt {
    color:#a2a2a2;
    margin:3px 0 0 5px;
    font-style:normal;
    font-size:9px;
    display:inline-block;
    vertical-align:top;
    letter-spacing:1px;
}


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

ol.cf-ol li.cf-box-title {
    color:#a2a2a2;
    padding-left:100px; /* check with label 'width' incl. */
    margin:6px 0 0 0!important;
}

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

input.cf-box-a,
input.cf-box-b {
    margin:2px 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 {
    margin:0 !important;
    padding: 0 0 5px 100px;
}


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

p.cf-sb {
    text-align:right;
    padding:0!important;
    margin:0;
    background: white linear-gradient(0deg, #ccc, white 30px);
    border-radius: 0 0 10px 10px;
}
.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton {
    color:#FFFFFF;
    cursor:pointer;
    font-size:14px;
    height:31px;
    line-height:31px;
    margin: 0 10px 10px 0;
    padding: 0 0 5px;
    width:120px;
    background: #777 linear-gradient(0deg, #777 30%, #ccc 70%);
    border-radius: 6px;
}
.cform input.sendbutton:hover {
    background: #555 linear-gradient(0deg, #555 30%, #aaa 70%);;
}


/*                                                    */
/*   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:5px 0!important;
    margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
    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;
}


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

label.secq,
label.seccap {
    vertical-align:text-bottom;
    margin-bottom:4px;
}

.captcha-reset {
    color:silver;
}

/*                                                    */
/* 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:white none repeat scroll 0%;
    color:#AAAAAA;
    display:block;
    letter-spacing:3px;
}
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 .cf_error {
    border:1px solid #ad2929;
}
div.mailerr {
    display:block;
}
