/* (c) Copyright 2008-2009 Encalc.com. All Rights Reserved.  */


body {
	font-family: arial, verdana, tahoma, sans-serif;
	margin: 4px;
}
h1, h2, h3 {
    font-weight: normal;
    margin: 8px 0px;
}

a, a:visited {
	color: #0028A4;
	text-decoration: none;
}
a:hover, a:focus {
	color: #0028A4;
	text-decoration: underline;
}
a:active {
	color: #009CE6;
	text-decoration: underline;
}

input, textarea {
    border: 2px outset #0028A4;
    padding: 2px;
}

input:focus, input:hover, textarea:focus, textarea:hover{
    border: 2px outset #009CE6;
}
input.button {
    border: 2px outset #0028A4;
    background-color: #FFF;
    color: #000;
}
input.button:focus, input.button:hover {
    border: 2px outset #009CE6;
    background-color: #009CE6;
    color: #FFF;
}
input.button:active, input.button.pressed {
    border: 2px inset #009CE6;
    background-color: #0028A4;
    color: #FFF;
}


#header {
	color: #0028A4;
	position: relative;
	height: 60px;
}
#header a {
    position: relative;
    width: 200px;
    height: 60px;
    float: left;
    text-decoration: none;
    margin-left: 10px;
}
#header a img {
    position: absolute;
    top: 12px;
    left: 0px;
}
#header a h1 {
	display: inline;
	font-weight: normal;
	font-size: 220%;
    position: absolute;
    top: 4px;
    left: 35px;
}
#header a h2 {
    display: inline;
	font-weight: normal;
	font-size: 120%;
    position: absolute;
    top: 14px;
    left: 150px;
    width: 350px;
}
#header img {
	border: none;
}
#header #top-ad {
    width: 468px;
    height: 60px;
    position: absolute;
    top: 0px;
    left: 550px;
    /*
    display: none;
    background-color: #999;
    */
}


#navigation {
	background-color: #0028A4;
	width: 1000px;
	height: 24px;
	margin: 5px 0px;
	padding: 10px;
}
#navigation a, #navigation a:visited {
    color: #FFF;
	display: block;
	float: left;
	padding: 0px 10px;
	margin: 0px 5px;
	text-decoration: none;
	font-size: 120%;
	text-align: center;
	/* width: 100px; so that it doesn't resize the width on hover */
}
#navigation a:hover, #navigation a.selected {
	text-decoration: none;
	background-color: #009CE6;
	color: #FFF;
}
#navigation .right {
    float: right;
    margin-right: 10px;
}


h1.system {
	margin: 15px 40px;
	padding: 5px;
	text-align: center;
	width: 920px;
	font-weight: normal;
}
h1.system.message {
	color: #000000;
	background-color: #FFFA00;
}
h1.system.error {
	color: #FFFFFF;
	background-color: #DF0000;
}



#content {
	/*margin-left: 250px;*/
	width: 980px;
	padding: 0px 10px;
	display: block;
	overflow: hidden;
}
#content #style1-left {
	position: relative;
	float: left;
	width: 650px;
}
#content #style1-right {
	position: relative;
	float: left;
	width: 300px;
	margin-left: 20px;
}
#content #style2-left {
    position: relative;
	float: left;
	width: 430px;
}
#content #style2-right {
    position: relative;
	float: left;
	width: 520px;
	margin-left: 20px;
}
#content p {
    text-indent: 12px;
}

#content td {
    padding: 5px 10px;
}
#content table input, #content table textarea {
    /* used for forms */
    width: 275px;
    padding: 2px;
}
#content table tr {
    padding-top: 5px;
}
#content span.info, #content div.info {
    font-size: 83%;
    color: #606060;
    padding-top: 0px;
    margin-top: 0px;
}
#content div.error, #content span.error {
    color: #FF0000;
    font-size: 83%;
}
#content code {
    background-color: #E3E3E3;
    padding: 8px;
    display: block;
}



#footer {
	border-top: 1px solid #0028A4;
	padding: 5px 10px 0px 10px;
	font-size: 83%;
	margin: 10px 2px 2px 2px;
	width: 980px;
}


#calculator {
	position: relative;
	width: 550px;
	margin-left: 20px;
}

#formula-description {
	background-color: #E3E3E3;
	padding: 5px;
	border: 1px solid #009CE6;
	margin: 5px 0px;
}
#formula-description h1 {
	font-size: 120%;
	margin: 3px;
}
#formula-description h2 {
	font-size: 100%;
	font-weight: normal;
	margin: 4px;
}

#input, #output {
	text-align: center;
	padding-bottom: 12px;
	position: relative;
	min-height: 180px;
}
#input {
	background-color: #E3E3E3;
	color: #0028A4;
}
#input h2 {
	font-size: 140%;
	margin-top: 0px;
	margin-bottom: 2px;
}
#input .help-box {
	position: absolute;
	top: 4px;
	right: 12px;
	font-size: 83%;
}
.dialog {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #E3E3E3;
    z-index: 100;
}
#submit {
	font-size: 100%;
	width: 580px;
	margin-top: 6px;
}
#expression, .var-name, .var-value {
	height: 22px;
	font-size: 100%;
	line-height: 22px;
	text-align: center;
}
#expression {
	width: 580px;
	margin-bottom: 15px;
}
.var-holder {
	display: block;
	margin: 4px;
}
.var-name {
	width: 130px;
}
.var-value {
	width: 420px;
}
.var-desc, desc {
    display: block;
    font-weight: bold;
	font-size: 83%;
	margin-top: 0px;
	margin-bottom: 8px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 580px;
}
.var-desc.locked {
    cursor: default;
    border: none;
	background-color: #E3E3E3;
}
.var-desc, .description { /* used for both variable descriptions and preferences/actions descriptions */
	font-weight: bold;
	font-size: 83%;
}
#output {
	background-color: #0028A4;
	color: #FFFFFF;
}
#output h2 {
	font-size: 140%;
}
.result-holder {
	position: relative; /* needed explicitly for reportError */
	display: block;
	width: 580px;
	padding: 2px;
	margin-left: auto;
	margin-right: auto;
	background-color: #FFFFFF;
	color: #000000;
	border: 1px solid #E3E3E3;
	line-height: 21px;
}
a.report-error {
	position: absolute;
	top: 1px;
	right: 3px;
	color: #ACA9A9;
	background-color: #FFFFFF; /* prevents text overlap */
	font-size: 76%;
	text-decoration: underline;
}
a.report-error:hover {
	color: #FF0000;
	font-size: 76%;
	text-decoration: underline;
}
a.result-expression, a.result-expression:visited {
	/*display: block;*/
	color: #606060;
	background-color: #FFFFFF;
	text-decoration: none;
	border-bottom: 1px solid;
}
a.result-expression:hover {
	color: #000000;
	background-color: #FFFFFF;
	text-decoration: none;
	border-bottom: 1px solid;
}
.result-answer {
	display: block;
	font-weight: bold;
	margin-top: 2px;
}
.result-answer img {
    margin: 4px;
}
.result-error, .result-warning {
	display: block;
	padding-left: 4px;
	padding-right: 4px;
	font-size: 83%;
}
.result-error {
	color: #FF0000;
}
.result-warning {
	color: #FF6600;
}
.hidden-carat {
	color: #FFFFFF;
	font-size: 1px;
}
.error-word, .warning-word {
	font-weight: bold;
}

.side-bar {
    text-align: justify;
}
.side-bar h2 {
    text-align: center;
}


.examples a {
	display: block;
	margin-left: 22px;
}
.hiddenDoc {
    display: none;
}


.small {
    font-size: 66%;
}
.emphasis {
    font-weight: bold;
}


.float-left {
	float: left;
}
.float-right {
	float: right;
}
.clear {
	clear: both;
}
