body { 
  background-color: #e8e8e8;
  font-family: "Verdana", sans-serif; 
  margin: 0px;
}

/* Header */

#header {
    margin: auto;
    width: 900px;
}

.languages {
    float: right;
    height: 25px;
    margin-top: 0;
    padding-top: 0;
    background-color: #d0d0d0;
}

.languages img {
    margin: 3px 5px 0 0;
}

.logo {
    background: url(lay/logo.jpg) no-repeat center;
    width: 93px;
    height: 89px;
    padding-top: 30px;
    margin-left: 50px;
}

.title {
    margin: -80px 0 0 150px;
    font-size: 25pt;  
    letter-spacing: -2px;
    color: #404040;
}

.title span {
    color: #606060;
}

/* Menu */

#menu {
    background: url(lay/menu.jpg) repeat-x center;
    width: 100%;
    height: 50px;
    margin-top: 40px;
    border-top: 1px solid white; border-bottom: 1px solid white;
}

#menu ul {
    width: 800px;
    margin: 16px auto 0 auto;
}

#menu li {
    list-style-type: none;
    display: inline;
    margin-right: 40px; /* it depends on the length of links and is connected to #menu a:hover padding and margin */
}

#menu a {
    font-size: 10pt;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #e6e6e6;
}

#menu a:hover {
    background: url(lay/hover.jpg) repeat-x top;
    padding: 4px 20px 12px 20px;
    margin: 0 -20px 0 -20px; /* to disable effect of moving links */
    color: white;
}

.active {
    background: url(lay/hover.jpg) repeat-x top;
    padding: 2px 20px 12px 20px;
}

/* Content */

#content {
    margin: -1px auto 0 auto;
    width: 900px;
    background-color: white;
    border: 1px solid #808080;
}

#userArea {
    float: right;
    background-color: #e8e8e8;
    border: 1px solid #808080;
    height: 25px;
    margin: 20px -1px 0 0;
    padding: 0 10px 0 10px;
    font-size: 8pt;
    line-height: 25px;
    color: #404040;
}

#userArea a {
    text-decoration: underline;
    color: black; 
}

#userArea a:hover {
    text-decoration: none; 
}

#info {
    margin: 60px 0 20px 50px;
    width: 800px; 
}

#info p {
    margin-top: 20px;
    font-size: 8pt;
    text-align: justify;
    line-height: 12pt;
}

.header {
    font-size: 15pt;
    color: #303030;
}

.header span {
    color: gray;
}

/* Form */

#form {
    margin: 20px auto 20px auto;
    width: 900px;
    background-color: white;
    border: 1px solid #808080;
}

.progressBar {
    margin: 15px 0 0 50px;
    font-size: 11pt;
    font-weight: 600;
}

.formField {
    width: 840px;
    margin-bottom: 40px;
}

.formField label {
    float: left;
    margin: -22px 0 0 320px;
    font-size: 9pt;
    font-weight: 600;
    color: #404040;
}

.formName span {
    margin-left: 38px;
    font-size: 14pt;
    font-weight: 500;
    color: #707070;
}

.formName {
    margin: 0;
    width: 300px;
    text-align: justify;
    font-size: 9pt;
    font-weight: 600;
    color: #404040;
}

.formField strong {
    float: right;
    margin-top: -37px;
    font-size: 8pt;
    font-weight: 600;
    color: red;
}

.noninputError {
    float: right;
    margin-top: -15px;
    font-size: 8pt;
    font-weight: 600;
    color: red;
}

.formField a{
    font-size: 10pt;
    font-weight: 600;
    text-decoration: none;
    color: black;
}

.formField a:hover{
    text-decoration: underline;
}

.fillInfo {
    margin: 8px 0 0 80px;
    width: 500px;
    font-size: 8pt;
    font-weight: 500;
    text-align: justify;
    color: #606060;
}

/* Forms styles */

.input {
    padding: 3px 0 0 5px; 
    background-color: #e6e6e6;
    border: 1px solid #808080;
    height: 18px;
}

.input:active, .input:hover, .input:focus{
    background-color: #f8f8f8;
    border: 1px solid #b3b3b3;
}

.formField select {
    padding: 3px 3px 3px 5px;
    background-color: #e6e6e6;
    border: 1px solid #808080;
}

.formField select:active, .formField select:hover, .formField select:focus{
    background-color: #f8f8f8;
    border: 1px solid #b3b3b3;
}

.formField textarea {
    margin-bottom: 8px;
    padding: 3px;
    background-color: #e6e6e6;
    border: 1px solid #808080;
}

.formField textarea:active, .formField textarea:hover, .formField textarea:focus{
    background-color: #f8f8f8;
    border: 1px solid #b3b3b3;
}

input .check {
    vertical-align: top; 
    position: relative; top: 5px; 
    background: none;
    border: none;
}

.formField table {
    float: left;
    margin: -22px 0 0 320px;
    font-size: 9pt;
    font-weight: 600;
    color: #404040;
}

/* Buttons */

.buttons {
    margin: 40px 0 0 40px;
}

.buttons input {
    padding: 3px 10px 3px 10px;
    margin: 0 10px 10px 0;
    background-color: #505050;
    border: none;
    font-size: 10pt;    
    font-weight: 600;
    color: #e0e0e0;
}

/* Footer */

#footer {
    background: url(lay/footer.jpg) repeat-x center;
    width: 100%;
    height: 35px;
    border-top: 1px solid white; 
}

#footer p {
    margin-top: 13px;
    text-align: center;
    font-size: 7pt;
    color: #d0d0d0;
}

/* Additions */

#fields {border: 0;}

img {border: 0;}

