﻿/* Default elements */

* {
    margin: 0;
    padding: 0;
}

html:before {
	background-attachment: scroll;
	background-clip: border-box;
	background-image: url('../Images/Background.png'), linear-gradient(top, #f0f0f0, #d2d2d2);
	background-image: url('../Images/Background.png'), -ms-linear-gradient(top, #f0f0f0, #d2d2d2);
	background-image: url('../Images/Background.png'), -moz-linear-gradient(top, #f0f0f0, #d2d2d2);
	background-image: url('../Images/Background.png'), -webkit-linear-gradient(top, #f0f0f0, #d2d2d2);
	background-image: url('../Images/Background.png'), -o-linear-gradient(top, #f0f0f0, #d2d2d2);
	background-origin: padding-box;
	background-position: 0 0;
	background-repeat: repeat;
	background-size: auto auto;
    content: '';
    position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: -1;
}

html {
	position: relative;
	min-height: 100%;
    overflow: auto;
    background-color: #f0f0f0;
}

body {
	font-family: Verdana, Helvetica, Arial;
	font-size: 13px;
	color: #444444;
	text-align: justify;	
}

a {
	color: #12659b;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

p {
	margin: 4px 0;
	line-height: 18px;
}

span {
	line-height: 18px;
}

pre {
    overflow: auto;
}

ul {
	padding: 0 0 4px 4px;
	list-style-type: disc;
	list-style-position: inside;
}

ul ul {
	margin: 0 0 0 14px;
	list-style-type: circle;
}

li {
	line-height: 18px;
}

img {
	border: 0;
}

h1 {
	padding: 4px 0 8px 0;
	font-size: 18px;
}

h2 {
	padding: 4px 0 8px 0;
	font-size: 18px;
}

h3 {
	padding: 8px 0 2px 0;
	font-size: 16px;
}

h4 {
	padding: 4px 0 2px 0;
	font-size: 14px;
}

input[type="text"],
input[type="number"],
input[type="button"],
input[type="submit"],
input[type="reset"],
select,
textarea,
button {
	border: 1px solid #e2e2e2;
	background: linear-gradient(#f0f0f0, #f7f7f7) repeat scroll 0 0 transparent;
	background: -ms-linear-gradient(#f0f0f0, #f7f7f7) repeat scroll 0 0 transparent;
	background: -moz-linear-gradient(#f0f0f0, #f7f7f7) repeat scroll 0 0 transparent;
	background: -webkit-linear-gradient(#f0f0f0, #f7f7f7) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(#f0f0f0, #f7f7f7) repeat scroll 0 0 transparent;
	height: 16px;
	padding: 2px;
}

select {
	height: 22px;
	padding: 1px;
	margin: 0 8px 0 0;
	width: 100%;
}

textarea {
	height: 160px;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
button {
	border: 1px solid #a2a2a2;
	height: 23px;
}

	input[type="button"]:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	button:hover {
		border: 1px solid #525252;
		cursor: pointer;
	}

input[type="text"].Invalid,
input[type="number"].Invalid,
textarea.Invalid,
select.Invalid {
	border: 1px solid red;
	border: 1px solid rgba(255, 50, 50, 0.8);
	box-shadow: 0px 0px 4px rgba(255, 50, 50, 1);
}

input[type="text"].Result,
input[type="number"].Result {
	border: 1px solid #1daa01;
	box-shadow: 0px 0px 4px rgba(0, 255, 0, 1);
}

input[type="text"].Small,
input[type="number"].Small {
	width: 58px;
}

.Radio {
	display: inline-block;
	border-radius: 100px;
	overflow: hidden;
	padding: 0;
}

.Radio input[type="radio"] {
	display: block;
	margin: 0;
}

.AlignRight {
	text-align: right;
}

.NoMargins {
	margin: 0;
}

.ClearBoth {
	clear: both;
}

/* Panes */

#header {
    margin: 18px auto 0 auto;
    padding: 10px 30px;
	width: 920px;
	height: 60px;
	min-width: 920px;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)), url('../Images/Trading.jpg');
	background-image:    -moz-linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)), url('../Images/Trading.jpg');
	background-image:     -ms-linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)), url('../Images/Trading.jpg');
	background-image:      -o-linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)), url('../Images/Trading.jpg');
	background-image:         linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)), url('../Images/Trading.jpg');
	background-repeat: no-repeat;
	background-position: 0 center;
	background-size: cover;
}

#container {
    margin: 0 auto;
	width: 980px;
	min-width: 980px;
}

#content {
	float: left;
	width: 750px;
}

#right {
	float: right;
	width: 222px;
}

#footer {
    margin: 8px auto;
    padding: 10px 24px;
	width: 932px;
	min-width: 932px;
}

#footer a {
	color: #12659b;
	line-height: 18px;
}

/* Pane styles */

#logo {
	float: left;
}

#logo header {
	padding: 4px 0 8px 0;
	font-size: 23px;
	font-weight: bold;
	color: #12659b;
	text-shadow: 0 0 2px #ffffff;
}

#logo header a {
	text-decoration: none;
}

#logo span {
	color: #78bbe6;
	font-size: 14px;
	font-style: italic;
	font-variant: small-caps;
	text-shadow: 0 0 2px #ffffff;
}

#beta {
	position: absolute;
	top: 4px;
   	margin-left: 900px;
	width: 75px;
	height: 74px;
	background: url('../Images/BetaSmall.png');
}

#user {
	position: relative;
	float: right;
	right: 26px;
	height: 16px;
	color: #ffffff;
	text-shadow: 0 0 2px #78bbe6;
}

#user a {
	color: #12659b;
}

#menu {
	float: right;
	position: relative;
	bottom: -22px;
}

#menu ul {
	list-style-type: none;
}

#menu ul li {
	float: left;
}

#menu ul li a {
	margin: 14px;
	font-size: 16px;
	font-variant: small-caps;
	text-decoration: none;
	text-shadow: 0 0 6px #ffffff;
}

#menu ul li a:hover,
#menu ul li a.Active {
	border-bottom: 2px solid #78bbe6;
}

/* Layout classes */

div.Box {
	margin: 8px 0 0 0;
	background: #ffffff;
	border-top: 2px solid #12659b;
	border-bottom: 2px solid #78bbe6;
	border-radius: 9px;
	padding: 12px 24px;
}

div.DarkBox {
	margin: 8px 0 0 0;
	background-color: #ffffff;
	background: rgba(255, 255, 255, 0.6);
	border-top: 2px solid #12659b;
	border-bottom: 2px solid #78bbe6;
	border-radius: 9px;
	padding: 12px 0;
}

div.Box section {
	border: 1px solid #ccc;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	background-color: #f2f2f2;
	margin: 0 0 2px 0;
}

div.Box section:hover {
	border: 1px solid #a2a2a2;
}

div.Box section > h2 {
	display: block;
	position: relative;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f2f2f2));
	background-image: -webkit-linear-gradient(top, #fff, #f2f2f2);
	background-image:    -moz-linear-gradient(top, #fff, #f2f2f2);
	background-image:     -ms-linear-gradient(top, #fff, #f2f2f2);
	background-image:      -o-linear-gradient(top, #fff, #f2f2f2);
	background-image:         linear-gradient(top, #fff, #f2f2f2);  
	padding: 4px 8px;
	font-size: 14px;
	color: #333;
	text-decoration: none;
	cursor: pointer;
	border: 0;
}

div.Box section > div {
	padding: 6px 10px;
}

.FloatLeft {
	float: left;
	margin: 0 12px 0 0;
}

.FloatRight {
	float: right;
	margin: 0 0 0 12px;
}

.Hidden {
	display: none;
}

/* Popup layout */

.Popup {
	cursor: pointer;
}

#popup {
	position: fixed;
	z-index: 100;
	top: 120px;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 860px;
	border-top: 2px solid #12659b;
	border-bottom: 2px solid #78bbe6;
    border-radius: 9px;
    box-shadow: 0 0 8px #ffffff;
    background: #ffffff;
}

#backdrop {
	position: fixed;
	z-index: 99;
	top: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0.4;
}