a:link {
	color: #A31F34;
}
a:visited {
	color: #1FA38E;
}

/* ##################### Header Content ##################### */
.header {
	padding: 0.5vw 2vw;
	text-align: left;
	background: #A31F34;
	color: white;
	height: 6vw;
}
#content {
	margin-left: 2vw;
	margin-bottom: 2vw;
}

#logobox {
	margin: 0.5vw 0vw;
	height: 100%;
}

#logo {
	height: 5vw;
	float: left;
	margin: 0vw 1vw;
}
#groupname{
	font-size: 2vw;
	vertical-align: center;
	margin: 0em;
	float: left;
}
#physicslink{
	text-decoration: none;
	color: inherit;
}
#physicslink:hover{
	color: #8A8B8C;	
}
#mitlogo {
	height: calc(100% - 1vw);
	width: 72px;
	margin-top: 1vw;
	background: url("mitlogo.svg") no-repeat;
	display: inline-block;
	float: right;
}

#mitlogo:hover {
	background: url("mitlogo2.svg") no-repeat;
}

table
{
    	border-collapse: collapse;
	margin: 4vw;
}

tr.trs:nth-child(even) {
	background-color: #8A8B8C;
	color: white;
}

tr.trs{
	border-top:2px solid black;
	border-bottom:2px solid black;
	background-color: #A31F34;
	color: white;
}

/* top navigation */
.topnav {
	display: flex;
	background: black;
	padding: 0vw 3vw;
}

.topnav a {
	color: white;
	padding: 10px;
	text-decoration: none;
	text-align: center;
}

.topnav a.active {
	background: #8A8B8C;
}

.topnav a:hover {
	background-color: #c2c0bf;
	color: black;
}
#sidenavdiv {
	display: block;
}
.sidenav {
	width: 20vw;
	background: #f1f1f1;
	overflow: auto;
}
.sidenav td {
	text-decoration: none;
	font-size: 16px;
	padding: 2px 16px;
	color: black;
	border: 2px solid black;
}
.sidenav td:hover {
	background: #a31f34;
}

.sidenav td:hover a {
	color: white;
}

#demolist h2 a, #demolist h1, #demolist p{
	padding-left: 1vw;	
}
#demolist p{
	padding-right: 10vw;
}

#demoFrameContainer {
	display: flex; width: 100%; height: 100%; flex-direction: column; overflow: hidden;	
}
#demoFrame {
	width: calc(100% - 4vw - 4px);
	padding: 2vw;
}

html, body { height: 100%; }

.play {
	height: 16px;
}
/* prevent scrolling of demo content */
.doc-content {
	margin: 0px;
}

.category {
	background-color: #f1f1f1;
	color: black;
	cursor: pointer;
	padding: 4px;
	width: 100%-8px;
	border: 2px solid black;
	text-align: left;
	font-size: 24px;
}

.category:hover {
	background-color: #a31f34;
}

#demolist {
	display: block;
}

#hazardslist {
	border: 2px solid black;
	margin-left: 0;
	margin-right: 5vw;
}

#hazardslist td {
	border: 1px solid black;
}

/* Parallax Scrolling */
.parallax {
	/* The image used */
	background-image: url('back.jpg');

	/* Full height */
	height: calc(100% - 20vw);
	/* Create the parallax scrolling effect */
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Turn off parallax scrolling for tablets and phones. Increase the pixels if needed */
@media only screen and (max-device-width: 960px) {
  .parallax {
	background-attachment: scroll;
  }
}

/* ##################### Footer Content ##################### */
.footer {
	padding: 0.5vw 2vw;
	text-align: left;
	background: #A31F34;
	color: white;
	overflow: auto;
}
.footer div a{
	color: #000000;	
}
.footer div a:hover{
	color: #8A8B8C;	
}
#footer_location{
	float: left;
}
#footer_contact{
	float: right;
}
