html {
  height: 100%;
}
body {
  min-height: 100%;
  position: relative;
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  }

#container {
  height: 100%;
  font-size: 1em;
  }
#main {
  width: 60%;
  margin: 0 auto 3em auto;
}
@media (pointer:coarse) {
      #indexmain {
        width: 80%;
        margin: 0 auto;
        font-size: 2em;
  }
  #main {
    width: 90%;
    font-size: 2em;
    margin: 0 auto 3em auto;
   } 
}

@media (pointer:fine) {
      #indexmain {
        width: 70%;
        margin: 0 auto;
        font-size: 1.5em;
    }
}



#title {
  text-align: center;
}
h1 {
  font-family: 'Roboto', sans-serif;
  color: #999;
  font-size: 3em;
  }
h2 {
  font-family: 'Roboto', sans-serif;
  color: #999;
  font-size: 1.5em;
}
h2.index {
  font-family: 'Roboto', sans-serif;
  color: #999;
  font-size: 0.8em;
}
h2.index a {
  text-decoration: none;
  color: #999999;
}

h2.index a:hover {
  text-decoration: none;
  color: #3498db;
}
h4 {
  text-decoration: none;
  color: #999;
  text-align: center;
}
#download {
  text-align: center;
  margin-top: 2em;
}
  /* entire container, keeps perspective */
.flip-container {
	perspective: 700px;
	margin: 20px auto;
	padding: 80px 0;
}
	/* flip the pane when hovered */
/*	.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}
*/

 /* Flip on toggle button */
.flip-container.hover .flipper, .flip-container.flip .flipper {
	-webkit-transform: rotateY(180deg); /* WebKit */
-moz-transform: rotateY(180deg); /* Mozilla */
-o-transform: rotateY(180deg); /* Opera */
-ms-transform: rotateY(180deg); /* Internet Explorer */
	transform: rotateY(180deg);
}

.flip-container, .front, .back {
	width: 600px;
	height: 300px;
	text-align: center;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	-webkit-transform: rotateY(0deg); /* WebKit */
-moz-transform: rotateY(0deg); /* Mozilla */
-o-transform: rotateY(0deg); /* Opera */
-ms-transform: rotateY(0deg); /* Internet Explorer */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	-webkit-transform: rotateY(180deg); /* WebKit */
-moz-transform: rotateY(180deg); /* Mozilla */
-o-transform: rotateY(180deg); /* Opera */
-ms-transform: rotateY(180deg); /* Internet Explorer */ 
	transform: rotateY(180deg);
}
/*
.front {
/	background-color: pink;
}

.back {
	background-color: blue;
}*/

.buttoncontainer {
	width: 200px;
	margin: 0 auto;
}

.button {
	width: 200px;
	height: 70px;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  -webkit-box-shadow: 0px 1px 3px #666666;
  -moz-box-shadow: 0px 1px 3px #666666;
  box-shadow: 0px 1px 3px #666666;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  margin: 0 auto;
  text-decoration: none;
}
@media (pointer:coarse) {
  .buttoncontainer {
	width: 200px;
	margin: 0 auto;
}
 .button {
   width: 400px;
   height: 140px;
  } 
 } 
.button:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

.nextbuttoncontainer {
  position: fixed;
    top: 250px;
    right: 10px;
}
.button {
	width: 100px;
	height: 70px;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  -webkit-box-shadow: 0px 1px 3px #666666;
  -moz-box-shadow: 0px 1px 3px #666666;
  box-shadow: 0px 1px 3px #666666;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 10px 10px 10px;
  text-decoration: none;
}

.button:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

/* Text styles */
.name {
 font-family: 'Roboto', sans-serif;
 text-align: center;
 font-size: 4em;
}

/* Nav styles */
heading {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
nav {
  margin: 0;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 5px 16px;
    text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
    background-color: #3498db;
}
li {
    border-right: 1px solid #bbb;
}

li:last-child {
    border-right: none;
}
.active {
    background-color: #3498db;
}
/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 5px 16px;
    text-decoration: none;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #3498db;
    color: black;
}

/* Add an active class to highlight the current page */
.active {
    background-color: #3498db;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
    .topnav.responsive {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Homepage grid */

.grid-container {
  font-family: 'Roboto', sans-serif;
  display: grid;
  width: 90%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  margin: 0 auto;
}
@media (pointer:coarse) {
  .grid-container {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
/*@media (max-width: 685px) {*/
/*  .grid-container {*/
/*    grid-template-columns: 1fr;*/
/*  }*/
/*}*/
.grid-item {
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  font-size: 1em;
  text-align: center;
}

a.topiclink {
  text-decoration: none;
  color: #3498db;
}

a.topiclink:hover {
  text-decoration: none;
  background-color: #3498db;
  color: #ffffff;
}
a.topicbacklink {
  text-decoration: none;
  color: #666666;
}

a.topicbacklink:hover {
  text-decoration: none;
  color: #3498db;
}

/* Accordian (topic page) */
.accordiancontent {
  text-align: center;
}

/* Tier selection */

button.tierbutton {
  background:#ddd; 
  border:0 none;
  cursor:pointer;
  -webkit-border-radius: 5px;
}
button.tierbutton:hover {
   background: #3498db;
   color: #eee;
}
#checkboxes {
  margin: 0 0 0 0;
}
#checkboxescontainer {
  /*float: right;*/
  margin-right: 20px;
  margin-top: 4px;
  color: #fff;
  font-size: 0.6em;
}
#reset {
  position: absolute;
    bottom: 5px;
    left: 10px;
}
.resetbutton {
	width: 80px;
	height: 20px;
}

.resetbutton:hover {
  background: #3cb0fd;
  color: #ffffff;
}