body {
    background-color: white;
    font: 10pt Verdana, Helvetica, Arial, sans-serif;
    min-width: 974px;
}

h1, h2  {
    margin: 0em;
    font-size: 10pt;
}

img {
    border: 0px;
    margin: 0px;
    padding: 0px;
}

a {
    text-decoration: none;
}

p {
    margin: 0em 0em 0.8em 0em;
    /*line-height: 1.3em;*/
}

div.visualWrapper {
    width: 948px;
    margin: 0em auto 0px auto;
    padding: 0px 13px;
}

#logo {   
    font-size: 15px;
    font-weight:bold;
    text-align:right;    
    padding-right: 12px;
    margin-bottom: 0px;
}

#logo img {    
}

#logo a {
    color: black;    
}

#logo a span {
    display: block;
}

#logo div {
    margin-left: 105px;
    padding-top: 18px;
}

#link-home {
    display:block;
    float:left;
}

#main {
    padding-left: 47px;
    padding-right: 12px;
}

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

#main a:hover, #main a:active {
    color: #F00000;
}

div.subsection a {
    color: #F00000 !important;
}

#header, #footer {             
    clear:both;
}

#header {
    margin-bottom: 0px !important;
}

#header p {
    background-color: #DCDDDE !important;    
    padding: 16px;
    clear:both;
    margin-bottom: 3px;
}

#header .mainheader {
    margin-top:0px;
}

#navigation {
    height:20px;    
    line-height: 19px;
    background-color: #DCDDDE !important;        
    padding-right: 13px;
    padding-top: 13px;
}

#navigation .contextbutton {
    float:right;
    clear:none;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
}

#footer {
    padding: 0px 2px 0px 14px;
    line-height: 30px;
    clear: both;
}

/* Content */

div.section, div#header {
    background: transparent url(section_background.png) no-repeat right top;
    clear: both;
    margin-bottom: 13px;    
}

div.section h2, div#header h1.mainheader {
    background: transparent;
    padding: 0px 0px 0px 17px;
    font-weight: bold;
    margin: 0px 0px 4px 0px;
    line-height: 27px;
    vertical-align:middle;
    font-size: 14px;
}

div.section h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 0px 0px 3px 0px;
}

div.section .left, div.section .middle, div.section .right {
    padding: 16px;
    height: 194px;
    overflow: hidden;
    float:left;
}

div.section .left {
    width: 242px;
    background-color: #DCDDDE;
    margin-right: 4px;
}

div.section .middle {
    width: 300px;
    background-color: #C6C8CA;
    margin-right: 4px;
}

div.login_error, div.code_error {
    padding-top: 8px !important;
    height: 202px !important;
}

div.section .right {
    width: 243px;
    background-color: #FFFF9B;
}

div.subsection {
    background-color: #FFFF9B;
    padding: 16px;
    margin-bottom: 13px;
}

.red {
    color: #F00000;
}

/* Forms */

.field  {
    clear: left;
    margin-bottom: 6px;    
}

.field label {
    font-weight: bold;
    display: block;
    float:left;
}

.field input {
    border: 1px black solid;
}

.contextbutton {
    /*border: 1px #F00000 solid;*/
    border: 0px;
    background-color: #77787B;
    clear:both;    
    color: white;    
    font: 14px Verdana, Helvetica, Arial, sans-serif;
    font-weight: bold;
    padding: 1px 4px 2px 4px;
    /*font: 10pt Arial, Helvetica, sans-serif !important;*/
}

a.contextbutton {
    color: white !important;
    padding: 1px 2px 0px 2px;
    text-decoration: none !important;
    height: 19px !important;
    line-height: 19px !important;
}

.statusmessage, .errorlist {
    border: 1px black solid;
    background-color: #FFCF00;
    font-weight: bold;
    font-size: 10px;
    padding: 0.5em;    
    margin-bottom: 5px;    
}

ul.errorlist {
    list-style-image: none;
    list-style-type: none;
    margin: 0px;
    margin-bottom: 0.25em;
}

#login-form, #code-form {
    margin-top: 12px;
}

#login-form .statusmessage, #code-form .statusmessage {
    margin:0px;
}

#password-change-form .statusmessage {
    margin:0px;
    margin-bottom:0.25em;
}

#login-form .field , #code-form .field {
    line-height: 24px;
    vertical-align:middle;
}

#login-form .field label, #code-form .field label {
    width: 8em;
    font-weight: normal;
}

#login-form .contextbutton, #code-form .contextbutton {
    margin-left: 7.7em;
}

#mail-password-form .field label {
    width: 10em;
}

#mail-password-form .contextbutton {
    margin-left: 10em;
}

#settings-form {
    margin-top:2em;
    margin-bottom:2em;
}

#password-change-form {
    margin-bottom: 2em;
}

.formHelp {
    margin-bottom:0.2em;
}

.fieldRequired {
    color: #F00000;
    padding-left: 0.2em;
    font-weight:bold;
}

.cover {
    float:left;
    width: 72px;
    min-height: 110px;
    margin-right: 1em;
    clear:both;
}

.links {
    min-height: 110px;
}

#code_window {
    position:absolute;
    clear:right;
    border: 1px solid #F00000;  
    background-color: #FFFF9B;
    padding: 1em;
    text-align: left;
    width: 300px;   
}

#code_window p {
    background-color: #FFFF9B !important;
}

#code_window .contextbutton {
    float:none;
}

input#code {
    padding-left: 1px;
    padding-right: 1px;
}

#testcodes table {    
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

#testcodes td {
    text-align: left;
    vertical-align: top;
    padding-right: 1em;
    padding-bottom: 0.5em;
}

#testcodes td {
    padding-bottom: 0.75em;
}

div.subsection pre {
    background-color: #DCDDDE;
    padding: 1em 0px;
}

/* Iframe */

body.embed {
    min-width: 594px;
    width: 594px;
}

.embed div.section, .embed #header {
    width: 594px;
}

.embed div.subsection {
    width: 562px;
}

.embed #header p {
    width: 562px;
}

.embed #code_window p {
    width: auto;
}

.embed div.section {
    background: transparent; 
}

.embed div.section .middle {
    background-color: #DCDDDE;
}


.embed div#navigation, .embed #header h1.mainheader, .embed #header p, .embed #code_window{
    background-color: #C6C8CA !important;    
}

.embed div.subsection {
    background-color: #DCDDDE;
}

.embed a {
    color: black;
    text-decoration: underline;
}

.embed a:hover, .embed a:active {
    color: #F00000;
}

.embed div.section h2 {
    background-color: #C6C8CA;
    margin-right: 4px;
}

.embed div.section .left {
    width: 222px;
}

.embed div.section .middle {
    width: 300px;
}

.embed div.section .left, .embed div.section .middle, .embed div.section .right {
    height: 194px;
}

.embed .statusmessage, .embed .errorlist {
    background-color: #DCDDDE;
}