/*
 * File: cyclestyle.js
 * Author: Emily Ehrenberger (August 2011), Modified by Brooke Bullek (July 2017)
 *		   Under the supervision of Margot Vigeant, Bucknell University
 *		   Based on Flash simulation by Gavin MacInnes
 * (c) Margot Vigeant 2017
*/

body {
	font-family: "Times New Roman";
	font-size: 16px;
	color: #000000;
	line-height: 100%;
}

h1 {
	font-family: "Times New Roman";
	font-weight: bold;
	font-size: 32px;
	color: #000000;
}

textarea {
	font-size:0.8em;
	font-family:sans-serif;
	overflow:auto; /* Necessary to prevent IE from automatically putting scrollbars everywhere */
	line-height:150%;
}

/* The Bootstrap question-mark help button */
.glyphicon {
	font-size: 1.5em;
}

.container {
	position:relative; /* Must have non-static positioning so other elements can be absolutely positioned relative to the container */
	top:75px;
	margin-left:auto;
	margin-right:auto;
	width:75%;
}
.sysFlow {
	position:absolute;
	font-size:0.8em;
}

#staticPiston {
	position:absolute;
	left:15px;
}
#pistonIntroLabel {
	position:absolute;
	left:140px;
	top:25px;
	height:296px;
	width:175px;
	font-weight:bold;
}
#systemFlowImgStatic {
	position:absolute;
	left:460px;
}
#systemFlowImg {
	position:absolute;
	left:460px;
}
#heatInArrow {
	position:absolute;
	left:505px;
	top:55px;
}
#heatOutArrow {
	position:absolute;
	left:505px;
	top:125px;
}
#workArrow {
	position:absolute;
	left:540px;
	top:95px;
	width:-31px;
}
#heatInLabel {
	left:446px;
	top:80px;
}
#heatOutLabel {
	left:446px;
	top:117px;
}
#netWorkLabel {
	left:527px;
	top:115px;
}
#heatSourceLabel {
	top:25px;
	left:505px;
}
#heatSinkLabel {
	left:505px;
	top:175px;
}
#cycleIntroLabel {
	position:absolute;
	left:590px;
	top:25px;
	height:296px;
	width:175px;
	font-weight:bold;
}

#introHeading {
	position:absolute;
	top:230px;
	width:450px;
	left:158px;
	text-align:center;
}
#continueLink {
	position:absolute;
	top:305px;
	width:450px;
	/*left:245px;*/
	left:158px;
	text-align:center;
	font-size:1.10em;
	font-family:sans-serif;
}
#pistonTube {
	position:absolute;
	left:15px;
	/*top:15px;*/
}
#jacket, #red, #blue {
	position:absolute;
	left:15px;
}
#pistonDiv {
	position:absolute;
	left:29px;
	/*top:-73px;*/
	top:-88px;
	/*height:191;*/
	height:281px;
	width:74px;
}
#slidingPiston {
	position:absolute;
	/*top:90px;*/
	top:180px;
}

#stepDetailsDiv {
	position:absolute;
	top:-5px;
	left:130px;
	height:190px;
	width:315px;
	border-style:solid;
	border-width:thin;
	padding:10px;
	font-weight: normal;
}
#stepDetailsLabel {
	position:absolute;
	top:-13px;
	left:224px;
	padding-left:5px;
	padding-right:5px;
	/*font-family:sans-serif;
	font-size:0.8em;*/
	font-weight:bold;
	background-color:#FFFFFF;
	z-index:1;
}
#pistonPositionLabel {
	position:absolute;
	font-weight:bold;
}
#pistonPosition {
	position:absolute;
	left:134px;
	width:35px;
}
#pistonPositionUnits {
	position:absolute;
	left:175px;
	font-weight: normal;
}
#heatSourceTempLabel {
	position:absolute;
	top:40px;
	font-weight:bold;
	font-size:0.9em;
}
#heatSourceTemp {
	position:absolute;
	left:134px;
	top:35px;
	width:35px;
}
#heatSourceTempUnits {
	position:absolute;
	left:175px;
	top:40px;
	font-weight: normal;
}
#stepTypeDiv {
	position:absolute;
	top:65px;
}
#stepTypeLabel {
	font-weight:bold;
}

#PVgraphDiv {
	position:absolute;
	left:585px;
	top:-20px;
	height:185px;
	width:200px;
	border-style:solid;
	border-width:thin;
}
#Plabel {
	position:absolute;
	left:570px;
	top:-15px;
	font-weight:bold;
}
#Vlabel {
	position:absolute;
	left:790px;
	top:150px;
	font-weight:bold;
}
#TSgraphDiv {
	position:absolute;
	left:585px;
	top:170px;
	height:185px;
	width:200px;
	border-style:solid;
	border-width:thin;
}
#Tlabel {
	position:absolute;
	left:570px;
	top:170px;
	font-weight:bold;
}
#Slabel {
	position:absolute;
	left:790px;
	top:340px;
	font-weight:bold;
}

/* The 3D Temperature/Pressure/Volume graph */
#PVTGraphDiv {
	position:absolute;
	left:825px;
	top:-20px;
	height:370px;
	width:400px;
}

#surfacePlotText {
	font-size:0.8em;
	font-family:sans-serif;
}

#surfacePlotCheckbox {
	position: absolute;
	left: 965px;
	top: 370px;
	width: 800px;
}

#gasPressureLabel {
	position:absolute;
	left:130px;
	top:190px;
	font-weight:bold;
}
#gasPressure {
	position:absolute;
	left:135px;
	top:210px;
	width:55px;
	text-align:right;
	font-weight: normal;
}
#gasPressureUnits {
	position:absolute;
	left:195px;
	top:210px;
	font-weight: normal;
}

#gasTempLabel {
	position:absolute;
	left:240px;
	top:190px;
	font-weight:bold;
}
#gasTemp {
	position:absolute;
	left:245px;
	top:210px;
	width:55px;
	text-align:right;
	font-weight: normal;
}
#gasTempUnits {
	position:absolute;
	left:305px;
	top:210px;
	font-weight: normal;
}

/* Give these divs the appearance of a textarea */
#cycleSteps, #cycleInfo {
	-moz-appearance: textfield-multiline;
    -webkit-appearance: textarea;
    border: 1px solid gray;
    overflow: auto;
    padding: 2px;
}


#cycleStepsLabel {
	position:absolute;
	top:350px;
	width:300px;
	text-align:center;
	font-weight:bold;
}
#cycleSteps {
	position:absolute;
	top:370px;
	width:325px;
	height:140px;
	color:#060;
	font-size:0.75em;
}
#saveStepButton {
	position:absolute;
	top:370px;
	left:348px;
	width:100px;
}
#finishCycleButton {
	position:absolute;
	top:405px;
	left:348px;
	width:100px;
}
#resetButton {
	position:absolute;
	top:440px;
	left:348px;
	width:100px;
}
#instructions {
	position:absolute;
	top:475px;
	left:348px;
	width:47px;
	text-align:center;
}
#about {
	position:absolute;
	top:475px;
	left:401px;
	width:47px;
	text-align:center;
}

#cycleInfo {
	position:absolute;
	top:370px;
	left:455px;
	width:325px;
	height:140px;
	font-size:0.75em;
}

#programInfo {
	position:absolute;
	top:650px;
	left:275px;
}

#heatInLabel, #heatOutLabel, #netWorkLabel, #heatSourceLabel, #heatSinkLabel {
	font-weight: normal;
	font-size: 11px;
}

/* Custom Bootstrap button class */
.btn-utility { 
  color: #000000; 
  background-color: #DEDEDE; 
  border-color: #999999; 
} 
 
.btn-utility:hover, 
.btn-utility:focus, 
.btn-utility:active, 
.btn-utility.active, 
.open .dropdown-toggle.btn-utility { 
  color: #000000; 
  background-color: #C2C2C2; 
  border-color: #999999; 
} 
 
.btn-utility:active, 
.btn-utility.active, 
.open .dropdown-toggle.btn-utility { 
  background-image: none; 
} 
 
.btn-utility.disabled, 
.btn-utility[disabled], 
fieldset[disabled] .btn-utility, 
.btn-utility.disabled:hover, 
.btn-utility[disabled]:hover, 
fieldset[disabled] .btn-utility:hover, 
.btn-utility.disabled:focus, 
.btn-utility[disabled]:focus, 
fieldset[disabled] .btn-utility:focus, 
.btn-utility.disabled:active, 
.btn-utility[disabled]:active, 
fieldset[disabled] .btn-utility:active, 
.btn-utility.disabled.active, 
.btn-utility[disabled].active, 
fieldset[disabled] .btn-utility.active { 
  background-color: #DEDEDE; 
  border-color: #999999; 
} 
 
.btn-utility .badge { 
  color: #DEDEDE; 
  background-color: #000000; 
}
