form.contact-form ul li.text-field {
    margin-bottom: 0;
}

form.contact-form ul li.textarea-field {
    margin-bottom: -6px;
}

/*---------------STYLE ADJUSTMENTS FOR TYRION--------------*/
.contact-form fieldset ul li.textarea-field {
    float: right;
}
.contact-form fieldset ul li.text-field {
    margin: 0;
    float: left !important;
}
.newsletter-section .contact-form fieldset ul li.text-field {
    float: none !important;
}
.contact-form li input[type="text"], .contact-form li input[type="password"] {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-right:  30px !important;
    padding-left: 10px !important;
}
.contact-form li textarea{
    height: 164px !important;
    padding-right: 50px;
    padding-left: 15px !important;
    font-size: 14px !important;
}
.contact-form .add-on{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    text-align: center;
}
.contact-form i{
    height: inherit;
    width: 100%;
    /*margin-top: -13px;*/
    background-repeat: no-repeat;
    background-position: 15px 0px;
}
.contact-form .textarea-field .input-prepend .add-on{
    left: 100%;
    margin-left: -45px;
}
.contact-form i.icon-name{
    background-image: url('../images/name.png');
}
.contact-form i.icon-email{
    background-image: url('../images/email.png');
    background-position: 15px 2px;
}
.contact-form i.icon-url{
    background-image: url('../images/url.png');
    background-position: 15px 0px;
}
.contact-form i.icon-text{
    background-image: url('../images/text.png');
    background-repeat: no-repeat;
    background-position: 15px 0px;
}
.contact-form i.icon-phone{
    background-image: url('../images/phone.png');
    background-repeat: no-repeat;
    background-position: 15px 0px;
}

.contact-form i.icon-phone:before {
    content: ""
}

.contact-form li.error input, .contact-form li.error textarea, .contact-form li.error select, .contact-form li input.error, .contact-form li textarea.error, .contact-form li select.error {
    border: 1px solid #f38f8f !important;
    background-image: url('../images/input-back-error.png') !important;
    background-repeat: no-repeat !important;
    background-position: center right !important;
}
.contact-form li.error textarea, .contact-form li textarea.error{
    background-position: top right !important;
}
.contact-form li.submit-button input {
    font-weight: 800;
}
.contact-form .contact-form-error-messages .contact-form-error {
    text-transform: none !important;
    font-size: 12px;
    position: relative;
    padding-left: 20px;
}
.contact-form .contact-form-error-messages .contact-form-error:before {
    content: "* ";
    font-size: 30px;
    position: absolute;
    top: 11px;
    left: 0px;
}
.contact-form .radio-field.with-icon input[type=radio] {
    margin-left: 35px;
}
.contact-form .radio-field .add-on{
    z-index: -1;
}
.contact-form .radio-field.with-icon input[type=radio] {
    margin-left: 45px;
}

/*-------------END OF STYLE ADJUSTMENTS FOR THIS TYRION--------------*/

.contact-form li.text-field input,
.contact-form li.password-field input,
.contact-form li.file-field input,
.contact-form li textarea,
.contact-form li select
{
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-appearance: none;
}

.contact-form li select {
    height: 45px;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.contact-form li.text-field input.error,
.contact-form li textarea.error { border: 1px solid #ce0f13; }

.contact-form li textarea, .contact-form li select {
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 400;
}

.contact-form li input{
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
}



.contact-form fieldset { }
.contact-form ul { margin:0; list-style:none; }
.contact-form li { position: relative; }
.content .contact-form li.full { float: none; clear: left; }



/* Label */
.contact-form li label {display: block; color: #302e2e; font-size: 13px; font-weight: 400; margin-bottom: 6px;}
.contact-form li label:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.contact-form li label span.mainlabel { font-size: 14px; font-weight: 800; float: left;}
.contact-form li label span.required { font-size: 12px; font-weight: normal; float: left; margin-left: 5px;}
.contact-form li label span.sublabel { font-size: 12px; color: #9C9B9B; float: left; clear: left }
.contact-form li.checkbox-field label, .contact-form li.radio-field label { display: inline-block; }
/*.contact-form li input { padding: 6px 5px; }*/
.contact-form li.with-icon input[type="text"], .contact-form li.with-icon input[type="password"], .contact-form li.with-icon select { text-indent: 48px;}
.gecko .contact-form li.with-icon select, .ie .contact-form li.with-icon select  { padding-left: 48px; text-indent: 0; }
.safari .contact-form li.with-icon select { text-indent: 48px;}
.contact-form li select { padding: 11px 6px; }
.contact-form label, .contact-form input, .contact-form textarea { color:#4c4c4c; }
#ie8 fieldset ul li.right-margin, #ie8 fieldset ul li.span3  { width: 20%; }

/* Input validation error */
.contact-form li.error input, .contact-form li.error textarea, .contact-form li.error select,
.contact-form li input.error, .contact-form li textarea.error, .contact-form li select.error { border:1px solid #cf0606; }
.contact-form li div.msg-error { font-style:normal; font-size:11px; color:#cf0606; min-height: 20px; margin-top: -6px !important; }
.contact-form li.file-field div.msg-error { font-style:normal; font-size:11px; color:#cf0606; }
.contact-form li.radio-field div.msg-error  { position: static; margin-top: -35px; }
.contact-form li.textarea-field div.msg-error { top: 202px; }

.contact-form div.general-msg-error { margin: -35px 0px 0px 0px; font-style:normal; font-size:11px; color:#9b090c; font-family: 'Lato', sans-serif; text-transform: uppercase; }

#yit_bot {display:none !important;}

/* Add-on Icon */
.input-prepend { position: relative; font-size: 13px}
.safari .input-prepend { position: relative; font-size: 13px; white-space:normal;}
.input-prepend .add-on { position: absolute; top: -2px; left: 1px; background-color: transparent; border: 0px; z-index: 10; width: 45px; height: 50px; padding: 0; line-height: 43px; }
.textarea-field .input-prepend .add-on{ position: absolute; top: 1px; left: 1px; background-color: transparent; border: 0px; z-index: 10; width: 45px; height: 173px; padding: 0; line-height: 43px; }
.input-prepend input.error, .input-prepend textarea.error{ background-image: none !important; }
.contact-form li input[type="file"].error, .contact-form li input[type="checkbox"].error { border: none !important; }

.add-on .icon-contact-name { background:url('../images/name.png') center no-repeat; display:block; width: 43px; height: 40px; }
.add-on .icon-contact-email { background:url('../images/email.png') center no-repeat; display:block; width: 43px; height: 40px; }
.add-on .icon-contact-url { background:url('../images/url.png') center no-repeat; display:block; width: 43px; height: 40px; }
.add-on .icon-contact-text { background:url('../images/text.png') center no-repeat; display:block; width: 43px; height: 40px; }
.add-on .icon-contact-phone { background:url('../images/phone.png') center no-repeat; display:block; width: 43px; height: 40px; }

/* Textarea */
.contact-form li textarea,
.contact-form li textarea:focus {
    border: 1px solid #d1d1d1;
    height: 176px;
    margin-bottom: 0px;
    resize: none;
    max-width: 100%;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: none;

    color: #302e2e;
    padding: 15px 10px 10px 10px;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;

}

.contact-form li.with-icon textarea {
    padding-left: 50px;
}

/* input */
.contact-form li input[type="text"],
.contact-form li input[type="password"] {
    width: 100%;
    color: #302e2e;
    line-height: 15px !important;
    padding: 14px 10px !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
	height: 42px;
	margin-left: 0px;
	font-size: 14Nvariablepx;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
    box-shadow: none;
}

.gecko .sidebar .contact-form li input[type="text"],
.gecko .sidebar .contact-form li input[type="password"] {
    padding: 12px 10px !important;
    font-size: 12px;
}

.sidebar .contact-form li input[type="text"],
.sidebar .contact-form li input[type="password"] {
    padding: 12px 10px !important;
    font-size: 12px;
}

.gecko .sidebar .yit_quick_contact .input-prepend .add-on {
    line-height: 35px;
}

.contact-form li input[type="text"]:focus,
.contact-form li input[type="password"]:focus,
.contact-form li textarea:focus{
    border:1px solid #898989 !important;
}



#ie8 .contact-form li input[type="text"], #ie8 .contact-form li input[type="password"] { line-height: 45px; }


.contact-form li input[type="file"] {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* submit alignment */
.contact-form li.submit-button input[disabled] { color:#ddd; }

.contact-form li.submit-button input.sendmail {
    clear:both;
    background-color: #474748;
    border: 1px solid #474748 ;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    padding: 7px 13px;
    text-shadow: 0px;
    text-transform: uppercase;
    margin-top: 10px;
    float: right;
    position: relative;
    line-height: 16px;
}

.contact-form li.submit-button input.sendmail:hover { background-color: #646465; border-color: #646465; }
.contact-form li.submit-button input.sendmail:active { top: 2px; }

.contact-form li.submit-button input.sendmail.alignleft { float:left;}
.contact-form li.submit-button input.sendmail.alignright { float:right; }
.contact-form li.submit-button input.sendmail.aligncenter { display: block; margin:0 auto;}
.contact-form li input.button.aligncenter { display: block; margin:0 auto;}
.contact-form.row-fluid li.submit-button { margin-left: 0px;}

.contact-form li.left-no-margin { margin-left: 0px; }

/* checkbox */
.contact-form .checkbox-field label {
    margin-top: -10px;
    margin-left: 5px;
}

.ie .contact-form .checkbox-field label { margin-left: 10px; }
.contact-form .checkbox-field label .sublabel { margin-left: -16px; }
.ie .contact-form .checkbox-field label .sublabel { margin-left: 0; }

/* radio */
.contact-form .radio-field input {
    margin-right: 5px;
    float: left;
    clear: left;
    vertical-align: middle;
}

.contact-form .radio-field label {
    position: static;
    float: left;
}

.ie .contact-form .radio-field .input-prepend label { margin-top: 3px }

/* Message Success and Error */
.contact-form div.success,
.contact-form div.error {
    border-radius:1px;
    -moz-border-radius:1px;
    -webkit-border-radius:1px;
    width: 532px;
    height: 48px;
    padding: 28px 40px;
    border:1px solid;
    margin:0 auto 40px;
    background:no-repeat right bottom;
}
.contact-form div.success { background: #fdfefa url('../images/contact-form-success-back.png') right bottom no-repeat; border-color:#edebb6;  }
.contact-form div.success p { height: 32px; background: url('../images/contact-form-success-smile.png') left center no-repeat; padding: 8px 0px 8px 70px; margin: 0px; color:#646464; font-size: 12px; font-family: 'Lato', sans-serif; font-weight: normal; text-transform: uppercase;}
.contact-form div.success p span {  color: #b1ab03; font-size: 18px; font-family: 'Lato', sans-serif; display: block; }

.contact-form div.error { background-color: #fedccd; border-color:#fa8c83; color:#c82c1f; }
.contact-form p.error { font-style:normal; font-size:11px; color:#9b090c; font-family: 'Lato', sans-serif; text-transform: uppercase;  }

.contact-form.row-fluid li.first-of-line { margin-left: 0px; clear: left; }


.contact-form .contact-form-error-messages { margin-top: -55px; margin-left: auto;}
.contact-form .contact-form-error-messages .contact-form-error { color: #9b090c; font-size: 11px; font-family: 'Lato', sans-serif; text-transform: uppercase; display: none; padding-top:5px; }

.contact-form-error-messages.error-right.span3 { float: right; }

/*Newsletter*/

.newsletter-section {
    border: 1px solid #d4d4d4;
    width: auto;
    padding-left: 13px;
    padding-right: 15px;
    padding-top: 13px;
}

.newsletter-section form.contact-form ul li.text-field input {
    height: 45px;
    width: 100%;
    background: transparent url(../../../images/icons/newsletter-icon.png) 8px 12px no-repeat;
    padding-left: 42px !important;
    padding-top: 10px;
    position: absolute;
    line-height: 16px !important;
}

/*.newsletter-section form.contact-form ul li{float: left;}*/

.newsletter-section p.description strong{
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    color: #302e2e;
    font-weight: 400;
}

.newsletter-section p.description {
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    text-align: center;
    margin-bottom: 17px;
}

.contact-form li.submit-button input {
    font-size: 11px;
    line-height: 0;
    border-radius:0;
    height: 36px;
    color: #0a0a0a;
    padding: 9px 20px;
    border: 1px solid #8f8c8c;
    text-transform: uppercase;
}

.contact-form li.submit-button input:hover {
    color: #fff;
}