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


/* Main form */
.cform {
    width: 378px;
    float: left;
    margin: 10px 5px 10px 20px;
    padding-left: 10px;
}

.cform fieldset {
    margin-top: 10px;
    padding: 5px 0 15px 0;
    border: 1px solid #adadad;
    border-left-color: #ececec;
    border-top-color: #ececec;
    background: #f7f7f7;
}

.cform .cf_hidden {
    display: none;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cform legend {
    margin-left: 10px;
    padding: 0 2px;
    font: normal 20px Times;
    color: #666;
}


/* Form list */
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;
}

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


/* Labels */
.cform label {
    width: 130px;
    margin: 4px 5px 0 0;
    display: inline-block;
    text-align: left;
    font-size: 12px;
    vertical-align: top;
    float: left;
}

.cform label span {
    display: block;
}

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

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

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

label.cf-group-after {
    margin: 3px 4px 0 2px;
    width: 72px;
    text-align: left;
}

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


/* Inputs */
.cform input,
.cform textarea,
.cform select {
    padding: 3px;
    border: 1px solid #aaa;
    vertical-align: top;
    color: #5d1c1b;
    font-size: 90%;
}

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

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

.cform textarea,
.cform input {
    width: 150px;
}

.cform select {
    width: 158px;
    padding: 2px 0;
}

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

.cform textarea {
    font-family: Arial, sans-serif;
    font-size: 0.9em;
    overflow: auto;
}


/* Radio / checkbox titles */
ol.cf-ol li.cf-box-title {
    font-weight: bold;
    letter-spacing: 1px;
    padding: 8px 0 0 100px;
}

.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;
}

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


/* Required text */
span.reqtxt,
span.emailreqtxt {
    margin: 3px 0 0 3px;
    font-size: 0.9em;
    display: inline-block;
    vertical-align: top;
}


/* Submit */
p.cf-sb {
    text-align: right;
    padding: 0 !important;
    margin: 0;
}

.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton {
    width: 100px;
    padding: 5px;
    margin: 10px 0 0 5px;
    font-size: 0.8em;
    border: 1px solid #adadad !important;
    border-left-color: #ececec !important;
    border-top-color: #ececec !important;
}

.cform input.resetbutton,
.cform input.backbutton {
    width: auto;
    padding: 5px 1em;
}


/* Validation errors */
ol.cf-ol li.cf_li_err {
    background: #FFDFDF  repeat !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 {
    height: 1%;
    min-height: 1%;
    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;
}

ol.cf-ol ul.cf_li_text_err li:before {
    content: '';
}


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

input.secinput {
    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.imgcalendar {
    border: none;
}


/* Response messages */
div.cf_info {
    color: #333;
    display: none;
    padding: 1px 15px !important;
    width: 360px;
    line-height: 1.3em;
    margin: 10px 0 10px 27px;
}

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: #F9F9F9;
    color: #666;
    display: block;
}

div.failure {
    display: block;
    border-color: #DB1A56;
    border-style: solid;
    border-width: 1px 0;
    letter-spacing: 1px;
}

div.waiting {
    background: #F9F9F9;
    display: block;
}

.cform .cf_error {
    color: #ad2929;
    border: 1px solid #ad2929;
}

div.mailerr {
    display: block;
}

.mailerr,
.cform .cf_errortxt {
    color: #ad2929;
}


/* Disabled fields */
[disabled] {
    color: #ddd;
    border-color: #ddd !important;
    background: none !important;
}

.disabled {
    border-color: #ddd !important;
}


/* Upload */
.cform input.cf_upload {
    width: 220px;
    background: #f9f9f9;
    border: 1px solid #888;
}


/* cforms credit */
.linklove {
    display: none;
    width: 410px;
    margin: 0 auto 10px !important;
    padding: 0 !important;
    text-align: center !important;
}

.linklove a,
.linklove a:visited {
    font-size: 0.8em;
    font-family: Tahoma;
    color: #aaa !important;
}