﻿body .step1, .step2, .step3, .subheader {
    text-align: left;
    padding: 2px;
    margin-left:5%;
    margin-right:5%;
}

body {
    font-size: 1.2em;
	font-family:sans-serif;
    padding: 10px;
    margin-left:20%;
    margin-right:20%;
    text-align:center;
}

@media screen    
    and (max-width:1200px) {
        body {
        margin-left: 0;
        margin-right: 0;
        }
	}

label {
    display: inline-block;
    width: 300px;
    text-align: right;
    vertical-align:middle;
}


.inputOutputBox {
    padding: 10px 0px 10px 0px;
    vertical-align: middle;
	position:relative;
}

.np_ckbox {
    position: relative;
	left:-240px;
	display:inline-block;
}

input, select, np_andhelptip {
    width: 100px;
    -ms-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    vertical-align:left;
    margin-right: 100;
	position:relative; /* added this because z-index only works on positioned elements*/
}

.linkSection {	
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
	line-height:1.5em;
    padding: 25px 5px 0px 5px;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;	
}

.linkSection a {
    padding: 10px 12px 10px 12px;
	white-space: pre;
}

.header {
	text-align:center;
	color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; 
	padding: 0px 0px 10px 0px;
}

.inputSection {
	padding:25px 0px 25px 0px;
	background-color:#E8D9B5;
}

#pi_container {
    background-color: #dddddd;
    display:inline-block;
    vertical-align:middle;

}

.outputSection {
	padding:25px 0px 25px 0px;
	background-color:#94AE4A;
}

table { 
	border-collapse: collapse;
}

tr,td {
	padding:2px;
	border:1px solid black;
}

/* What ended up working for the YT embedded video - note the dimensions in the iframe!*/
.video {
  position: relative;
  width: 50%;
  border: 0;
}
/*
// 1st attempt - https://stackoverflow.com/questions/38270661/displaying-a-youtube-video-with-iframe-full-width-of-page
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
}

// 2nd attempt
.video {
  position: relative;
  width: 50%;
  border: 0;
}

.step0 {
  background: blue;
  width: auto;
}

.video-container {
  position: relative;
  width: 80%;
  padding-top: 56.25%;

  vertical-align:middle;
}

.video {
  position: absolute;
  top: 0;
  left: 120px;
  width: 60%;
  height: 50%;
  border: 0;
}

*/

.pipeOptions {
	display:none;
	padding-top:20px;
	font-size:12px;
}

.imageContainer {
	position: relative;
    text-align: center;
    color: red;
}

.centeredER {
	display:none;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* relevant styles */
.img_wrap {
  position: relative;
  height: 100%;
  width: 100%;
  margin:auto;
}

.img_description {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 20%;
  right: 20%;
  background: rgba(24, 69, 59, 0.72);
  color: #fff;
  display: none;
  opacity: 0;
  font-weight:bold;
  font-size:2em;
  line-height:2.1em;
  vertical-align:middle;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

  /* transition effect. not necessary */
  transition: opacity .2s, visibility .2s;
}

.img_wrap:hover .img_description {
  display: inline;
  opacity: 1;  
}

.pipeBox {
	padding: 20px 0px 30px 0px;
}

.velocityMsg {
	width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.flowVelocityTable {
	padding: 8px;
	font-size:0.9em;
	margin-left: auto;
    margin-right: auto;
	width: 90%;
}

#lowFlowTable tr {background-color: #f2f2f2;}

#lowFlowTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #0099cc;
  color: white;
  border-collapse: separate;
  
}

#highFlowTable tr {background-color: #f2f2f2;}

#highFlowTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #e68a00;
  color: white;
  border-collapse: separate;  
}

#dischargeStatement {
	background-color:white;
	width:50%;
	border: 2px solid black;
	margin-left: auto;
    margin-right: auto;
	padding:3px;
}

.newToolLink {
	font-size:0.7em;
	color:#00539b;
	text-decoration:none;	
}

.lateralTable {
	margin-left:20%;
    margin-right:20%;
	text-align:center;
	background-color:white;
	color:black;
}

.lateralTable tr:nth-child(even) {
  background-color: #dddddd;
}
}

#inputSection {
	display:none;
}

