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

/*                                                    */
/*  custom code on top the default style sheet        */
/*                                                    */

.cform fieldset.cf-fs1 {
    background: #C2DEF5 linear-gradient(180deg, #96BCE1, #C2DEF5 38px);
    border-radius: 10px 10px 0 0;
}

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

.cform fieldset {
    margin:0;
    padding:0;
    border:none;
    background:#C2DEF5;
}

.cform legend {
    display:none;
}

ol.cf-ol {
    margin:20px 0 0 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;
}


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

ol.cf-ol li.textonly {
    color:white;
    font-size:14px;
    letter-spacing:1px;
    padding-left:120px;
    margin:6px 0!important;
}


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

.cform label {
    color:white;
    width:110px;
    margin:6px 10px 0 0;
    display:inline-block;
    text-align:left;
    vertical-align:top;
}
.cform label span {
    color:white;
    width:100px; /* must be the same as above!*/
    margin-left:10px;
    display:block;
    font-size:1.2em;
    font-weight:bold;
}

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

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

label.cf-after span {
    margin:0;
    width:115px;
    display:block;
}

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

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

.cform input,
.cform textarea,
.cform select {
    color:#97BCDF;
    font-size:1.2em;
    font-weight:bold;
    padding:6px 4px 2px;
    background: white;
    border:0;
    height:21px;
    vertical-align:top;
}
.cform input:hover,
.cform textarea:hover,
.cform select:hover {
    color:white;
    background:#B0D77D;
}

.cform input:focus,
.cform textarea:focus,
.cform select:focus {
    color:#97BCDF!important;
    background:white;
}

.cform textarea,
.cform input {
    width:245px;
}
.cform select {
    height:27px;
    width:250px;
}

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

.cform textarea {
    font-size: 0.9em;
    height:7em;
    overflow:auto;
}

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

span.reqtxt,
span.emailreqtxt {
    color:white;
    display:block;
    font-size:9px;
    letter-spacing:2px;
    margin:-1px 0 0 120px;
    line-height:15px;
}

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

ol.cf-ol li.cf-box-title {
    color:white;
    font-size:14px;
    letter-spacing:2px;
    margin:6px 0 !important;
    padding-left:120px; /* check with label 'width' incl. */
}

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

input.cf-box-a,
input.cf-box-b {
    margin:2px 0 0 0;
    width:14px;
    height:22px;
    border:none;
    background:none;
}

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

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

ol.cf-ol li.cf-box-group {
    padding: 0 0 5px 120px;
}


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

p.cf-sb {
    padding:0!important;
    text-align:right;
    margin:0;
    background: #C2DEF5 linear-gradient(0deg, #96BCE1, #C2DEF5 38px);
    border-radius: 0 0 10px 10px;
}
.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton {
    color:#97BCDF;
    border:0;
    height:25px;
    width:auto;
    font-size:1.2em;
    font-weight:bold;
    background: white;
    margin:5px 0 20px 0;
    padding:0 1em;
}


/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */
ol.cf-ol li.cf_li_err {
    background:#C2DEF5 repeating-linear-gradient(135deg, #C2DEF5, white 1%, #C2DEF5 2%) !important;
    padding:5px 0!important;
    margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
    margin:0 0 0 120px;
    padding:0;
    color:#333;
}

ol.cf-ol ul.cf_li_text_err li {
    background:url(icon-alert.png) no-repeat left 3px!important;
    list-style:none!important;
    font-weight:bold;
    text-indent:0;
    margin:0 0 2px!important;
    padding:0 0 0 20px;
}


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

label.secq,
label.secq span {
    display:inline;
}
label.secq {
    vertical-align:text-bottom;
}

input.secinput {
    width:50px;
}

label.seccap {
    margin-bottom:6px;
    vertical-align:text-bottom;
}

.captcha-reset {
    color:white;
}

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

div.cf_info {
    color:#333;
    width:380px;
}
div.cf_info a {
    color:white!important;
    text-decoration:underline!important;
}
div.success {
    color:#1A5E86;
    display:block;
    letter-spacing:3px;
}
div.failure {
    display:block;
    background:#C2DEF5 repeating-linear-gradient(135deg, #C2DEF5, white 1%, #C2DEF5 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;
}
