/* Forms' styles*/

form {
    margin: 0;
    padding: 0;
}

.nav-ins form {
    
}

.nav-ins form .input, .nav-ins form .submit {
    float: left;
}


.nav-ins form .input input.text {
    border: 1px solid #C7C7C7;
    color: #8D8B8B;
    background-color: white;
    font-size: 16px;
    padding: 2px 7px 0 7px;
    margin-right: 4px;
    height: 22px;
    width: 180px;
}

.nav-ins form .submit input.submit {
    border: 1px solid #AFAEAE;
    color: white;
    background-color: #8D8B8B;
    font-size: 16px;
    padding: 2px 8px 0 8px;
    height: 26px;
}

#addComment {
    padding-top: 20px;
}

#addComment div.input, .contactForm  div.input{
    padding-bottom: 15px;
    clear: both;
}

#addComment div.textarea textarea {
    margin: 5px 0;
    width: 444px;
    height: 100px;
}

#addComment div.input label, .mainform div.input label{
    display: block;
    line-height: 1.3;
    width: 200px;
    float: left;
    margin-top: 5px;
}

.mainform {
    position: relative;
    margin-top: 0;
}

.mainform fieldset.mainfieldset {
    padding-top: 2em;
}


.mainform fieldset h1.legend {
    padding: 0 1.5ex;
    margin: 0;
    position: absolute;
    left: 2.5ex;
    top: -0.55em;
    background-position: 0px 0.45em; /* x y :: y ~= top - 0.1 */
    background-image: url(/img/layout/fh1bg.png);
    background-repeat: repeat-x;
}

#ContactMessage {
    height: 170px;
}
#ContactMessage, .contactForm .input input {
    width: 490px;
    clear: both;
    float: left;
}

.mainform .submit{
    text-align: right;
    padding: 5px 30px;
    clear: both;
}

.mainform .submit input{
    background-color:#006793;
    border:2px solid #1ABAFF;
    color:#FFFFFF;
    font-weight:bold;
}


.mainform div.required label {
    font-weight: bold;
}


.form-error {
      border: 2px solid #ff0000;
}
  
.error-message {
      font-weight: bold;
      color: #ff0000;
      clear: both;
}


