body { font-family:Arial; }
body.inapp { margin:0 }
body.bordered { border: 1px solid gray; }

.fullscreen {
	height:100%;
	width:100%;
	overflow-y:hidden;
}

.verticalscroll {
	overflow-y:auto;
	overflow-x:hidden
}

.horizontalscroll {
	overflow-y:hidden;
	overflow-x:auto
}

.dualscroll {
	overflow-y:auto;
	overflow-x:auto
}

.autoscroll {
	overflow:auto;
}

.chartheader{
	display:block
}

.title{
	font-weight:bold;
	font-size:1.05em;
	padding-top:3px;
	text-align:center;
}

.fshp {
	border: 2px solid #f1ddaf;
	display:block;
	resize:vertical;
	width:100%;
	max-width:100%;
	outline: 0 solid black;
	font-size:85%;
}

#flexsimpopup{
	position:fixed;
	font-size:75%;
	border-radius:4px;
	border-top-right-radius:4px;
	border-top-left-radius:4px;
	border-bottom-left-radius:4px;
	border-bottom-right-radius:4px;
	border:solid gray 1px;
	padding:0 3px 1px 3px;
	background-color:#f8f8ff;
	display:none;
}

#console{
	display:none;
}

table {
	border-collapse:collapse;
}

td,th {
	padding-right:6px; 
	padding-left:6px;
	padding-top:0px;
	padding-bottom:0px;
}

table.pfmdatatable td { text-align: center }
table.pfmsummary td { text-align: center }
.nopadding { padding: 0 0 0 0 }
.rowhead { padding-left: 0; text-align: left; }
.subrow { font-size: 0.8em; padding-top: 0; padding-bottom: 0; color: #808080; }
.gray { color: #c0c0c0; }

.dashboardModelInput {
	position: absolute;
	white-space: nowrap;
}



/****The following styles are used for the Web Server*****/
/*MAIN:/project/exec/globals/serverinterface/pagetemplates/default*/

#invisibleIFrame { display:none; }
			
.container {
	max-width: 800px;
}

.consoleContainer {
	margin-left: 5%;
	max-width: 90%;
}

section {
	padding-bottom: 20px;
	padding-left: 10px;
	padding-right: 10px;
}

.logo {
	padding-top: 10px;
	padding-bottom: 10px;
}

body.webserverbody{
	position: relative;
}

#controls {
	position: relative;
	width:100%;
	margin-left:auto;
	margin-right:auto;
}

.serverchart {
	height:200px;
}

div.scroll {
	overflow: auto;
	margin-top: 200px;
}

.modelName {
	color: #000;
	font-weight: bold;
	font-size: 24px;
	text-align: left;
	margin-left: 0px;
	magin-top: 0px;
}

#backButton {
	float: left;
	width: 20px;
	margin-top: 5px;
}

#navigation-links {
	margin-top: 0px;
	margin-left: 0px;
}

#serverlogo {
	float: right;
	margin-right: 0px;
	width: 250px;
}

#servercontent {
	margin: 4px 0px;
	height: calc(100vh - 200px);
	border-top: 1px solid gray;
}

a.focused-section, a.focused-section:hover {
	text-decoration: none;
	color:#000;
	background: #fff;
	cursor:default;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 6px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid gray;
	border-bottom: 2px solid white;
}

a.blurred-section {
	color:#000;
	background: #fff;
	cursor:pointer;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 6px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #ccc;
	border-bottom: 1px solid gray;
}

a.blurred-section:hover {
	color:#fff;
	background: #003366;
	text-decoration: none;
}

button.model-control, button.web-button, .expResult, .optResult {
	color:#000000;
	background: transparent; 
	cursor:pointer;
	border: 0px;
	margin-top: 2px;
}

button.model-control:hover, button.web-button:hover, .expResult:hover, .optResult:hover {
	color: #fff;
	background: #003366;
}

button.model-control:active, button.web-button:active, .expResult:active, .optResult:active {
	color: #fff;
	background: #bdbdbd;
}

button.model-control {
	float: left;
	padding-left: 8px;
	padding-right: 8px;
	margin: 8px 0px;
	width: auto;
	min-width: 70px;
}

button.model-control:disabled, .expResult:disabled, .optResult:disabled {
	background-color: #ddd;
	color: #999;
}

button.web-button {
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-right: 0px;
	margin-left: 0px;
}

input#runtime {
	width: 450px;
	margin-left: 8px;
	margin-top: -4px;
}

input#runspeedinput {
	float: right;
	width: 100px;
	margin-left: 15px;
	margin-top: -3px;
}

input#speedslider {
	float: right;
	width: 300px;
	margin-left: 5px;
	padding-top: 0px;
}

input[readonly] {
	background-color: #f2f2f2;
}

/*The Following have been added to make IEs range slider not look like crap*/
input[type=range]::-ms-track {
    width: 300px;
    height: 5px;
    
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;

    /*remove default tick marks*/
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}
input[type=range]:focus::-ms-fill-lower {
    background: #888;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

input[type=range]::-ms-tooltip {
	display: none;
}

.expVariables input[readonly] {
	background-color: #e6e6e6;
}

#runSpeed, #simRunTime {
	position: relative;
	float: left;
	margin-top: 10px;
	margin-left: 10px;
	padding: 0px;
	height: 30px;
}

#dockingLayout {
	float:left;
	margin-top: 0px;
	height: calc(100vh - 200px);
}

.fullscreen3DView {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 100000;
}

.screenshot {
	width: 100%; /*The screenshot is already sized to fit, but just in case it's not quite right we force it to 100% (to avoid scroll bars)*/
	height: 100%; /*And it makes for smooth resizing of floating windows*/
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
}

.screenshot<div {
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
}

.invalidView {
	margin-top: 5px;
	margin-left: 5px;
}

.graphPanel {
	position: relative; /*So the dragresize won't let the widgets move over the docking panel title/tab*/
}

.menuButton {
	position: absolute;
	margin-left: 5px;
	margin-top: 5px;
	opacity: 0.4;
	width: 20px;
}

.parameters {
	margin: 10px 20px;
	width: 350px;
	float: left;
}

.parameter {
	display: block;
	margin: 10px 0px;
}

.parameter>input {
	float: right;
	margin-top: -1px;
	border: 1px solid gray;
	padding: 2px;
}

.expVariables {
	clear: both;
	overflow: auto;
	margin: 20px;
}

.expVariables input {
	width: 100px;
	margin: 3px;
	border: 1px solid gray;
	padding: 2px;
}

.expControl {
	float: left;
	margin: 10px 20px;
	margin-top: 18px;
	display: block;
}

#runExperiment, #optimize {
	width: 350px;
	height: 50px;
	border: 2px solid gray;
	display: block;
	float: none;
	margin-top: 0px;
	margin-bottom: 20px;
}

.expResult, .optResult {
	border: 2px solid gray;
	display: block;
	position: relative;
	float: none;
	width: 240px;
	margin-top: 0px;
	margin-bottom: 10px;
	margin-left: -120px;
	left: 50%;
}

.consoleButton {
	float: left;
	margin-right: 20px;
}

#consoleOutput {
	clear: both;
	position: relative;
	top: 20px;
}

#section-optimizer {
	height: calc(85vh - 300px);
}

.optimizer {
	min-height: 300px;
	width: calc(100% - 205px);
}

#optGraphSettings {
	width: 185px;
	margin-top: 30px;
	margin-left: 20px;
	float: left;
}

.graphSettingSelect {
	width: 175px;
	height: 26px;
	overflow: hidden;
	background: url(jquery/jQWidgets/images/icon-down.png) no-repeat right #fff;
	border: 1px solid #999;
}

.graphSettingSelect select {
	background: transparent;
	width: 268px;
	padding: 5px;
	font-size: 16px;
	line-height: 1;
	border: 0;
	height: 26px;
	-webkit-appearance: none;
}

.optimizerStatus {
	float: left;
	width: calc(100% - 225px);
	height: 100%;
}

.RowHeader {
	background: #e8e8e8;
}

.dashboardImage {
	max-width: 100%;
	height: auto;
}

.spinnerUp {
	background: url(jquery/jQWidgets/images/icon-up.png);
	background-repeat: no-repeat;
	background-position: center;
}

.spinnerDown {
	background: url(jquery/jQWidgets/images/icon-down.png);
	background-repeat: no-repeat;
	background-position: center;
}