body {
    margin: 0;
    padding: 0;
    font-family: arial;
}

.loading {
    width: 100%;
    height: 64px;
    background: url(/images/loader-iphone.gif) center no-repeat;
}

.loading span {
    display: none;
}

#options-data .loading span {
    display: block;
    text-align: center;
    color: #777;
    padding-bottom: 8px;
}

h2 {
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}

h2 a {
    display: block;
    padding: 16px 8px;
    background: #369 url(/images/iphone-h2-bg.png) center left repeat-x;
    color: #fff;
    text-decoration: none;
}

h4 {
    font-size: 10pt;
    margin: 6px;
}

p {
    margin: 6px;
}

.content {
    display: none;
    padding-bottom: 8px;
}

.content-active {
    display: block;
}

.content h3 {
    font-size: 12pt;
    margin: 8px;
}


.dataset {
}

.dataset table {
    font-size: 10pt;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.market-wrap table:first-child thead tr td {
    color: #fff;
    background: #369;
}

.market-wrap table.wepi td:first-child  {
    font-weight: bold;
}

.market-wrap table.wepi td  {
    font-weight: normal;
}

.dataset td {
    width: 20%;
    font-family: arial, sans-serif; 
    text-align: right;
    padding: 4px;
}

.dataset thead td {
    background: #EEF5D3;
    font-weight: bold;
}

.dataset td:first-child {
    background: #EEF5D3;
    text-align: left;
}



ul.state {
    margin: 8px 0 16px 0;
    height: 40px;
    padding: 0;
    list-style: none;
}

ul.state li {
    display: inline;
    float: left;
    width: 67px;
    margin: 0 0 0 1px;
    padding: 8px 6px;
    text-align: center;
}

ul.state li a {
    display: block;
    margin: auto;
    width: 64px;
    height: 36px;
    background: #369;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}


ul.state li a.active {
    background: #CFE287;
    color: #000;
}

ul.state li a span {
    display: block;
    padding-top: 9px;
}


ul.load {
    margin: 8px 0 16px 2px;
    height: 40px;
    padding: 0;
    list-style: none;
}

ul.load li {
    display: inline;
    float: left;
    width: 50px;
    margin: 0 0 0 1px;
    padding: 8px 6px;
}

ul.load li a {
    display: block;
    width: 50px;
    height: 36px;
    background: #369;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}


ul.load li a.active {
    background: #CFE287;
    color: #000;
}

ul.load li a span {
    display: block;
    padding-top: 9px;
}


#contact {
}

#contact h3 {
    display: block;
    width: 320px;
    height: 48px;
    background: #fff url(/images/logo-228x48.png) 8px 0 no-repeat;
    color: #036;
    margin: 16px 0;
}

#contact h3 span {
    display: none;
}

#contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#contact ul li {
    margin: 8px 0;
    padding: 2px;
}

#contact ul li span {
    color: #666;
    padding: 4px;
}

#contact ul li a {
    display: block;
    width: 232px;
    float: right;
    font-weight: bold;
    color: #369;
    text-align: left;
}

#charts {
}


#charts div {
    text-align: center;
}


#futures {
}


#options {
}

#options ul.state li {
    width: 50px;
}

#options  ul.state li a {
    width: 50px;
}

#options .dataset tbody td:first-child {
    background: #fff;
}



#messages {
}

#messages ul {
    margin: 8px 4px 0 8px;
    padding: 0;
    list-style: none;
}

#messages ul li {
    display: block;
    clear: both;
    margin: 0;
    padding: 8px 0;
    font-size: 9pt;
}

#messages ul li em {
    background: #369;
    color: #fff;
    font-style: normal;
    padding: 4px 4px;
    font-size: 10pt;
    font-weight: bold;
}

#messages ul li strong {
    padding: 4px 2px;
}

#custom {
}

#custom .dataset td {
    background: #EEF5D3;
    padding: 4px 2px;
}

#custom .dataset td.buy {
    background: #369;
    color: #fff;
    text-align: center;
}

#custom .dataset td.sell {
    background: #c00;
    color: #fff;
    text-align: center;
}


#custom .dataset td.price {
    font-weight: bold;
}


#newsroom {
}

#newsroom h3 {
    margin: 00;
    font-size: 10pt;
}

#newsroom h3 a {
    display: block;
    padding: 8px;
    border-bottom: 1px solid #aaa;
}

#newsroom h3 a span {
    background: #369;
    color: #fff;
    font-style: normal;
    padding: 4px 4px;
    font-weight: bold;
}

#login {
}

#login form p {
    margin: 12px 8px;
    height: 20px;
}

#login p.alert {
    color: #c00;
}

#login p label {
    width: 128px;
    float: left;
    display: block;
    padding-top: 4px;
}

#login p input {
    width: 100px;
    float: left;
    display: block;
    padding: 4px;
}

#login p input[type=checkbox] {
    width: 16px;
    float: left;
    display: block;
    padding: 4px;
}


#logout {
}

#logout h3 {
    margin-top: 16px;
}

#logout h3 a {
    display: block;
    margin: auto;
    width: 80%;
    height: 36px;
    background: #369;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

#logout h3 a span {
    display: block;
    padding-top: 9px;
}
