html, body {
  font-family: 'Roboto', sans-serif;
  height: 100%;
  font-weight: 300;
  background: #21242B;
  color: #FFFFFF;
}

.line
{
	margin: 0px auto;
	max-width: 800px;
	height: 4px;
	background-color: #17191E;
}

#cover
{
	background: transparent;
	padding-top: 20px;
}

#cover .content
{
	width: 100%;
	text-align: center;
}

.cover-image
{
	max-width: 100%;
    max-height: 160px;
    width: auto\9; /* ie8 */
	margin: 0px 0px 20px 0px;
	padding: 0px 80px 0px 80px;
	//border-top: 4px solid #17191E;
	//border-bottom: 4px solid #17191E;
}

#cover p
{
	max-width: 800px;
	display: block;
	font-size: 17px;
	line-height: 24px;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, 0.6);
	margin: 0px auto 40px auto;
}

#cover-video
{
	margin: 50px auto 50px auto;
	width: 360px;
	height: 360px;
	background: transparent;
	border: 2px solid #404966;
	border-radius: 20px;
	overflow: hidden;
}

#cover-video video
{
	max-width: 100%;
}

#cover-video a
{
	height: 0;
}

.download-link
{
	margin: 30px auto 30px auto;
	max-width: 800px;
}

.download-link li
{
	display: inline-block;
	margin: 0px 20px 60px 20px;
	max-height: 75px;
}

.download-link a img
{
	max-height: 75px;
}

#trailer
{
	min-height: 0;
	background: #17191E;
	padding: 100px 0px 100px 0px;
}

#trailer .content
{
	margin: 0px auto 0px auto;
	max-width: 820px;
	background: #000000;
	border: 3px solid #404966;
	border-radius: 20px;
	overflow: hidden;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.feature
{
	padding: 100px 0px;
	min-height: 450px;
	//border-bottom: 4px solid rgba(255, 255, 255, 0.3);
}

.feature-desc
{
	text-align: center;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 250px;
}

.feature-desc span
{
	display: inline-block;
    vertical-align: middle;
	line-height: 26px;
}

.feature-desc p 
{
	font-size: 32px;
	letter-spacing: 4px;
	color: #FFFFFF;
	line-height: 40px;
}

.feature img
{
	display: block;
	margin: auto;
}

#math
{
	background: #21242B;
}

#mode
{
	background: #17191E;
}

#size
{
	background: #21242B;
}

#hint
{
	background: #17191E;
}

#theme
{
	background: #21242B;
}

#screenshots
{
	z-index: 2;
	min-height: 0;
	background: #17191E;
	text-align: center;
	padding-bottom: 100px;
}

.slideshow
{
	margin: 0px auto 0px auto;
	//padding: 0px 0px 20px 0px;
	//max-width: 1200px;
}

.slideshow li
{	
  display: inline-block;
  margin: 10px;
  //box-shadow: 0 0px 16px 4px rgba(0, 0, 0, 0.4);
  //border: 2px solid  #404966;
  border-radius: 10px;
  overflow: hidden;
}

.slideshow li img
{
  width: 180px;
  cursor: zoom-in;
  cursor: -webkit-zoom-in;
}

#quotes
{
	min-height: 0;
	margin-bottom: 40px;
}

#quotes .content
{
	max-width: 700px;
	margin: 0px auto;
	padding: 20px;
	font-size: 17px;
	//border: 4px solid #DF144C;
	text-align: center;
}

#quotes p
{
	color: #FFFFFF;
	font-style: italic;
	margin-bottom: 6px;
}

#quotes a
{
	color: #F7EF81;
	transition: 0.4s;
	-webkit-transition: 0.4s;
	text-decoration: underline;
}

#quotes a:hover
{
	color: rgba(255, 255, 255, 0.6);
}

#credits
{
	min-height: 0;
	background: transparent;
}

#credits .content
{
	width: 100%;
	text-align: center;
}

#credits p
{
	//font-weight: 300;
	font-size: 16px;
	letter-spacing: 3px;
}

.credits-link
{
	margin: 10px auto 0px auto;
	padding: 0px 0 20px 0;
	max-width: 800px;
}

.credits-link li
{
	position: relative;
	display: block;
	width: 260px;
	height: 260px;
	margin: 0px auto 0px auto;
}

.credits-link li a
{
	position: absolute;
	left: 0;
}

.logo_hover
{	
	opacity: 0;
    filter: alpha(opacity=0);
	-webkit-transition: .2s;
    transition: .2s; 
}

.credits-link li:hover .logo_hover
{
	opacity: 1;
    filter: alpha(opacity=100);
}

.credits-crescentyr
{
	max-width: 280px;
}

.credits-akkad
{
	max-width: 260px;
}

#footer
{
	margin: 0px;
    width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 14px;
    text-align: center;
	color: #FFFFFF;
	background: #17191E;
}

#footer p
{
	display: inline;
	margin: 0px;
	padding: 0px 8px;
}

#footer p a
{
	color: #0C9C5A;
}

#footer p a:hover
{
	color: #26EA90;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-bg
{
	position: fixed;
	width: 100%;
	height: 100%;
	cursor: zoom-out;
	cursor: -webkit-zoom-out;
}

/* Modal Content */
.modal-div
{
  position: relative;
  display: inline-block;
  margin: 60px auto 0px auto;
  padding: 0;
  background: transparent;
}

.modal img
{
	box-shadow: 0 4px 20px 4px rgba(0,0,0,0.4);
}

.modal a:hover
{
	color: #0C9C5A;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.mySlides img
{
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 60px;
  height: 80px;
  line-height: 80px;
  margin-top: -40px;
  font-size: 30px;
  text-align: center;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  user-select: none;
  -webkit-user-select: none;
}

.prev {
  left: -60px;
}


/* Position the "next button" to the right */
.next {
  right: -60px;
}

@media (max-width: 767px) 
{
	.prev,
	.next 
	{
		height: 60px;
		line-height: 60px;
		margin-top: -30px;
		top: 100%;
		margin-top: -26px;
	}
	.prev 
	{
		left: 0px;
	}
	.next 
	{
		right: 0px;
	}
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color: #358FFF;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #FFFFFF;
  font-size: 16px;
  padding-top: 12px;
  line-height: 20px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.section-policy
{
	min-height: 0px;
}

#policy
{
	background-color: rgba(0, 0, 0, 0.6);
	padding: 80px 0px 100px 0px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.7);
}

#policy h1
{
	font-family: 'PT Sans', sans-serif;
	color: #FFFFFF;
	font-size: 48px;
	margin-bottom: 40px;
}

#policy p
{
	margin-bottom: 12px;
}

#policy span
{
	display: block;
	font-weight: 700;
	padding: 10px 0px;
	color: #FFFFFF;
}

#policy a
{
	color: #0C9C5A;
}

#policy a:hover
{
	color: #FFFFFF;
}

#policy ul
{
	margin: 0px 0px 14px 0px;
}

#policy li
{
	display: block;
}

























