/*
---------------------------------------------------------------------
Global Styles
---------------------------------------------------------------------
*/

/* Center any block-level element */
.center {
	margin-left: auto;
	margin-right: auto;
}

/* Reset all padding and margins */
form, fieldset {
	padding: 0px;
	margin: 0px;
}
/* Colorize all spans based on class */
span.warning {
	color: #F82;
}
span.error {
	color: #F00;
}
.leftPadded {
	padding-left: 40px;
}

/*
---------------------------------------------------------------------
Body
---------------------------------------------------------------------
*/
body {
	width: 100%;
	text-align: center;
	background-color: white;
	font-family: Arial;
}
html {
	text-align: center;
}

/*
-----------------------------------------------------------
Tooltips
-----------------------------------------------------------
*/
/* Style for '?'s used for popping up a tooltip */
span[data-tooltip], span.tooltip {
	cursor: pointer;
	text-decoration: none;
	border-bottom: 1px dotted #aaa;
	color: blue;
}
#settingsPanel span[data-tooltip] {
	font-size: 0.9em;
	font-weight: bold;
}
.qtip-content {
	background-color: red;
}

/*
---------------------------------------------------------------------
Headers
---------------------------------------------------------------------
*/

/* Banner Header */
#banner {
	display: block;
}
#banner h1 {
	margin: 0px auto 10px auto;
	font-size: 2.2em;
	text-shadow: 5px 5px 10px #777;
}

/*
---------------------------------------------------------------------
Containers
---------------------------------------------------------------------
*/

/* Outer Container */
#outerContainer {
	background-color: #9DC5E2;
	display: inline-block;
	margin: 0px auto;
	padding: 20px 40px;
	width: 900px;
	text-align: center;
	margin: 0px auto;
	/*height: auto;*/
	-webkit-border-radius:12px;
	border-radius:12px;
	box-shadow: 0px 0px 30px #444;
	-webkit-box-shadow: 0px 0px 30px #444;
	behavior: url(library/PIE.php); /* Add IE CSS3 support */
	font-size: 1.4em;
}

/* Inner Container */
#innerContainer, #overviewContainer {
	float:left;
	display: block;
	background-color: #37A;
	width: auto;
	margin: 0px auto;
	padding: 10px;
	-webkit-border-radius:12px;
	border-radius:12px;
	text-align: center;
	behavior: url(library/PIE.php); /* Add IE CSS3 support */
}
/* Overview Container */
#overviewContainer {
	margin-bottom: 10px;
}

/*
---------------------------------------------------------------------
Panels
---------------------------------------------------------------------
*/

/*
-----------------------------------------------------------
Tutorial page
----------------------------------------------------------
*/
#tutorial {
    width: 840px;
}

/* News Panel Notifications */
#newsPanel { /* Panel itself */
    width: 900px;
}
div.message { /* News messages */
    padding: 5px;
    margin: 0px auto 5px auto;
    text-align: center;
    display: table;
    position: rela0.8ive;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    clear: both;
    box-shadow: 0px 0px 10px #777;
    -webkit-box-shadow: 0px 0px 10px #777;
    behavior: url(library/PIE.php); /* Add IE CSS3 support */
}
div.message-text { /* News messages text */
    float: right;
}
div.message-close { /* News messages close box */
    float: right;
    margin-left: 10px;
    width: 1em;
    height: 1em;
    padding: 0.05em;
    display: inline-block;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    line-height: 1em;
    border-width: 1px;
    border-style: solid;
}
div.message-close:hover {/* Hovering over news messages close box */
    cursor: pointer;
}
div.message.warning .message-close:hover { /* Colorize the warning close box on hover */
    background-color: #900;
}
div.message.warning { /* Warnings */
    background-color: #F99;
    border-color: #F00;
}
div.message.warning .message-text { /* Warnings */
    color: #300;
}
div.message.warning .message-close { /* Warnings */
    border-color: #900;
    color: #300;
}
/* News Panel Notifications */
#newsPanel { /* Panel itself */
    width: 900px;
}
div.message { /* News messages */
    padding: 5px;
    margin: 0px auto 5px auto;
    text-align: center;
    display: table;
    position: relative;
    font-size: 1em;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    clear: both;
    box-shadow: 0px 0px 10px #777;
    -webkit-box-shadow: 0px 0px 10px #777;
    behavior: url(library/PIE.php); /* Add IE CSS3 support */
}
div.message-text { /* News messages text */
    float: right;
}
div.message-close { /* News messages close box */
    float: right;
    margin-left: 10px;
    width: 1em;
    height: 1em;
    padding: 0.05em;
    display: inline-block;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    line-height: 1em;
    border-width: 1px;
    border-style: solid;
	font-size: 1em;
}
div.message-close:hover {/* Hovering over news messages close box */
    cursor: pointer;
}
div.message.warning .message-close:hover { /* Colorize the warning close box on hover */
    background-color: #900;
}
div.message.warning { /* Warnings */
    background-color: #F99;
    border-color: #F00;
}
div.message.warning .message-text { /* Warnings */
    color: #300;
}
div.message.warning .message-close { /* Warnings */
    border-color: #900;
    color: #300;
}
div.message.note { /* Note */
    background-color: #FF9;
    border-color: #FF0;
}
div.message.note .message-text { /* Note */
    color: #330;
}
div.message.note .message-close { /* Note */
    border-color: #990;
    color: #330;
}
div.message.note .message-close:hover { /* Colorize the note close box on hover */
    background-color: #990;
}

/* All Panels */
section.panel {
	text-align: left;
	background-color: #FFF;
	margin: 10px;
	padding: 10px;
	float: left;
	-webkit-border-radius:12px;
	border-radius:12px;
	font-size: 0.8em;
	display: block;
	behavior: url(library/PIE.php); /* Add IE CSS3 support */
}
/* All Panel Labels (using <h2>) */
section.panel > h2 {
	font-size: 1.3em;
	border-bottom: 1px solid black;
	margin: 0px 0px 5px 0px;
	text-align: center;
}
/* All Panel <h3> tags */
section.panel h3 {
	font-size: 1em;
	margin: 0px 0px 5px 0px;
}
/* All Panel numbers */
p.panelNumber {
	font-size: 1.5em;
	color: red;
	background-color: white;
	border: 2px solid black;
	font-weight: bold;
	float: left;
	margin: 0px;
	padding: 3px;
	position: absolute;
	text-align: center;
	width: 25px;
	height: 25px;
	margin-left: -5px;
	margin-top: -5px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	behavior: url(library/PIE.php); /* Add IE CSS3 support */
}

/* Overview Panel */
#overviewPanel {
	width: 500px;
	float: left;
	margin: 0px;
}
#overviewPanel div.content {
	padding: 5px;
}

/* Settings Panel */
#settingsPanel {
	float: right;
	color: black;
    text-align: left;
	width: 300px;
}
/* settingsPanel ul */
#settingsPanel ul {
	padding: 0px;
}
/* settingsPanel li (row) */
#settingsPanel ul li {
	width: 100%;
	display: block;
	list-style-type: none;
}
/* settingsPanel reminder to scroll down */
#settingsPanel span.runStatus {
	float: right;
	font-weight: bold;
}
/* Results Panel */
#resultsPanel {
	text-align: center;
	width: 840px;
}
/* Results Panel <td> */
#resultsPanel td {
	vertical-align: top;
	text-align: center;
}
/* Results Panel heading */
#resultsPanel h2 {
	margin-bottom: 10px; /* Fix for bug in ticket #995 of the VWT */
}
/* Results Panel content */
#resultsPanel div.content {
	text-align: center;
}
/* Results Panel images (under the content div) */
#resultsPanel div.content img.chart { /* Charts */
	width: 270px;             /* should have the same aspect ratio as full image */
	height: 207px;            /* should have the same aspect ratio as full image */
	border: 1px dotted black; /* dotted line surrounding images */
}
#resultsPanel div.content img.map { /* Maps */
	width: 270px;             /* should have the same aspect ratio as full image */
	height: 165px;            /* should have the same aspect ratio as full image */
	border: 1px dotted black; /* dotted line surrounding images */
}
/* Results Panel image titles */
#resultsPanel td h3 {
	font-size: 1.1em;
	text-transform: uppercase;
}
/* Popup image (FancyBox) titles */
#fancybox-title {
	top :0px;
	bottom :auto;
}
#fancybox-title td {
	font-size: 1.6em;
	text-transform: uppercase;
}
/* Popup image (FancyBox) navigation arrows */
#fancybox-left-ico, #fancybox-left:hover span {
	left: -20px;
}
#fancybox-right-ico, #fancybox-right:hover span {
	right: -20px;
	left: auto;
}
/* Image not available box */
div.image_not_available {
	width: 270px;             /* should match "#resultsPanel div.content img" above */
	height: 165px;            /* should match "#resultsPanel div.content img" above */
	position: relative;       /* to help with vertical alignment below */
	border: 1px dotted black; /* dotted line surrounding "Image not available", matches size/style of images */
	display: table;           /* makes it easier to center things inside */
}
/* Image not available text */
div.image_not_available div.container {
	display: table-cell;
	vertical-align: middle;
}
div.image_not_available div.container span {
	margin: auto;
	font-size: 1.3em;
}
/* Error Panel */
#errorPanel {
	width: 840px;
}
#errorPanel {
	font-weight: bold;
}
/* Info Panel */
#infoPanel {
	text-align: left;
	width: 840px;
}
#infoPanel ul {
	margin-top: 0px;
	margin-bottom: 0px;
}
#infoPanel h4 {
	font-size: 1.1em;
	margin: 5px 0px 5px 0px;
}
#infoPanel code {
	font-size: 1em;
	margin-left: 2em;
	border: 1px solid #AAA;
	background-color: #EEE;
	padding: 0.5em;
}
#infoPanel equationContainer {
	background-color: #EEE;
}
#infoPanel img.equation {
	margin-left: 2em;
	border: 1px solid #AAA;
	background-color: #EEE;
	padding: 0.5em;
}
/* Print Settings Panel */
#printSettingsPanel {
	width: 840px;
	background-color: #BBB;
}

/*
---------------------------------------------------------------------
Divs
---------------------------------------------------------------------
*/

/* All <div> Labels (using <h2>) */
section.panel div h2 {
	font-size: 1.1em;
	margin: 0px 0px 5px 0px;
	text-align: center;
	text-decoration: underline;
}

/*
---------------------------------------------------------------------
Settings Form
---------------------------------------------------------------------
*/
#settingsForm {
	padding: 0px;
}
/* settingsForm fieldset */
#settingsForm fieldset > legend {
	border-bottom: 1px dashed black;
	margin: 0px auto 10px auto;
	text-align: center;
	width: 100%;
	font-size: 1.1em;
}
/* settingsForm labels (left column) */
#settingsForm span.settingLabel {
	width: 145px;
	font-weight: bold;
	font-size: 1em;
	margin-bottom: 5px;
	display: inline-block;
	vertical-align: top;
}
/* settingsForm input elements (right column) */
#settingsForm input, #settingsForm select, #settingsForm div, #settingsForm table {
	display: inline-block; /* Helps with alignment */
}

/*
-----------------------------------------------------------
Collabsible headers
-----------------------------------------------------------
*/
.collapsible-heading {
    margin-bottom: 10px;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    color: blue;
    /*background-color: #EEE;*/
    background-color: white;
    text-decoration:underline;
    font-weight: bold;
    /* border: thin solid black;*/
}
.collapsible-heading.expanded {
    margin: 0px;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    color: blue;
    background-color: #EEE;
    text-decoration:underline;
    font-weight: bold;
    /* border: thin solid black; */
    border-bottom: none;
}
.collapsible-content {
    background-color:white;
    /* border: thin solid black; */
    border-top: none;
    padding: 5px 10px;
}

/*
-----------------------------------------------------------
Tabs
-----------------------------------------------------------
*/

/*---------- General tabs settings ----------*/

/* Remove the dotted outline around links/tabs */
a {
	outline: none;
}
ul.tabs {
	float: none;
	padding-left: 0px;
	clear: both;
	display: block;
}
ul.tabs li {
	display: block;
	float: left;
	margin-bottom: 0px;
}
ul.tabs li.tabSeparator {
	margin: 0px 1px 0px 5px;
	font-size: 0.6em;
	color: white;
	font-weight: bold;
}
ul.tabs li a {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	-webkit-border-top-left-radius:4px;
	-webkit-border-top-right-radius:4px;
	box-shadow: 5px 5px 5px #444;
	-webkit-box-shadow: 5px 5px 5px #444;
	margin-left: 5px;
	text-decoration: none;
	display: block;
/*	behavior: url(library/PIE.php); /* Add IE CSS3 support */
}
ul.tabs li:first-child a { /* First tab only */
	margin-left: 15px;
}

/*---------- Page tabs ----------*/

/* Select tabs */
ul.tabs.pageTabs li.selected a {
	font-weight: bold;
}
/* Select tabs, or tabs hovered over */
ul.tabs.pageTabs li.selected a, ul.tabs.pageTabs a:hover {
	color: white;
	background-color: #37A;
}
ul.tabs.pageTabs li a {
	color: #402e16;
	background: #C5D5E0;
	padding: 5px 15px;
	font-size: 1.1em;
	font-weight: normal;
}
