body {
	position: relative;
	margin: 0;
	height: 100%;
	width: 100%;
	min-height: 100%;
	min-width: 100%;
	font-family: 'Lato', sans-serif;
	background: #fafafa;
}

html {
	height: 100%;
	background-color: #fafafa;
	font-family: 'Lato', sans-serif;
	margin: 0;
}

.index-page #main-div {
	background-image: url('../images/background.png');
	z-index: -1;
	background-size: 1550px;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: 50% 0%;
	height: 100%;
}

.index-page .indexheader {
	position: absolute;
	width: 1172px;
	height: 30px;
	top: -9px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

svg:not(:root) {
	vertical-align: middle;
}

#main-div {
	min-height: 100%;
}

.index-page h1 {
	font-family: 'Oswald', sans-serif;
	font-size: 50px;
	letter-spacing: 2px;
	color: #111111;
	text-transform: uppercase;
}

.blockrules {
	margin-top: 10px;
	font-size: 22px;
	letter-spacing: 3px;
	color: #6a7373;
}

.index-page h4 {
	font-family: 'Lato', sans-serif;
	font-style: italic;
	font-size: 22px;
	color: #6a7373
}

.index-page li {
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 10px;
	text-transform: uppercase;
}

.index-page .main-text {
	margin: auto;
	max-width: 540px;
	padding: 25px;
	background-color: transparent;
}

.index-page .footer {
	left: 0;
	margin-top: 220px;
	margin-bottom: 12px;
	width: 100%;
	color: #9e9e9e;
	text-align: center;
	font-size: 14px;
	letter-spacing: 1px;
	font-family: 'Lato', sans-serif;
}

.footer a:link {
	color: #9e9e9e;
	text-decoration: underline
}

.footer a:hover {
	color: #9e9e9e;
	text-decoration: none;
}

.footer a:visited {
	color: #9e9e9e;
	text-decoration: none;
}

.footer span {
	padding-left: 8px;
	padding-right: 8px;
}

a:link {
	color: #111111
}

a:visited {
	color: #357575
}

a:hover {
	color: #008081;
}

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

#register-button-div {
	margin-top: 41px;
}

.index-page .topbar-right {
	position: absolute;
	margin-top: 10px;
	right: 6em;
	max-width: inherit;
}

.topbar li {
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 12px;
	text-transform: uppercase;
	float: left;
}

.topbar li .selected-page {
	color: #008081;
}

.topbar li a, .topbar li span {
	display: block;
	padding-top: 8px;
	text-decoration: none;
}

.topbar li span {
	padding-left: 8px;
	padding-right: 8px;
}

#bar-line {
	margin-bottom: 24px;
	margin-top: 8px;
	height: 2px;
	width: 200px;
	color: #cacdcd;
}

#bar-line:before {
	display: none;
}

#bar-line:before {
	content: " ";
	margin-bottom: 24px;
	margin-top: 8px;
	height: 2px;
	border: 1px solid #111111;
	margin-top: 15px;
	margin-bottom: 15px;
	display: block;
	max-width: 100px;
}

.button {
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
	text-decoration: none;
	color: initial;
	width: 235px;
	height: 54px;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	background-color: #008081;
	font-size: 18px;
	letter-spacing: 1px;
	font-family: 'Lato', sans-serif;
}

.button:hover {
	background-color: #000000;
	cursor: pointer;
}

.register-button:hover {
	background-color: #000000;
}

a:link {
	color: #111111
}

a:visited {
	color: #357575
}

a:hover {
	color: #008081;
}

#follow-on-twitter {
	display: block;
	margin-top: -5px;
	width: 22px;
	height: 22px;
}

#follow-on-twitter:hover {
	background-position-y: -22px;
	border-style: solid;
	border-width: 1px;
}

#follow-on-reddit {
	display: block;
	margin-top: -5px;
	width: 22px;
	height: 22px;
}

#follow-on-reddit:hover {
	border-style: solid;
	border-width: 1px;
	background-position-y: -22px;
}

#follow-on-linkedin {
	display: block;
	margin-top: -5px;
	width: 22px;
	height: 22px;
}

#follow-on-linkedin:hover {
	background-position-y: -22px;
	border-style: solid;
	border-width: 1px;
}

#blockrules-svg {
	margin-top: 30%;
}


.topnav > :not(.icon) {
	float: left
	color: #111111;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 12px;
	font-family: 'Lato', sans-serif;
	text-transform: uppercase;
}

.topnav > .icon {
	padding: 10px 15px;
}

.topnav > .socials {
	display: inline-block;
}

.topnav > .socials a {
	padding-left: 10px;
	padding-right: 10px;
}

.topnav > .socials a:last-child {
	padding-right: 0;
}

.topnav a.icon {
  display: none;
}

.topnav #follow-on-linkedin {
	display: inline-block;
}

.topnav #follow-on-reddit {
	display: inline;
}

.topnav #follow-on-twitter {
	display: inline;
}

.topnav a:hover {
	color: #008081;
}

.active {
	color: white;
}

@media screen and (max-width: 1172px) {
	.index-page .indexheader {
		position: absolute;
		width: 100%;
		height: 30px;
		left: 0;
	}
}

@media screen and (max-width: 600px) {
	body {
		background-size: 800px;
	}
	#main-div {
		background: url('./images/background.png') no-repeat center center fixed;
	}
	.footer span {
		display: block;
	}
	.footer {
		height: 50px;
	}
	.topnav {
		overflow: hidden;
		top: 25px;
		right: 25px;
		position: fixed;
		padding-top: 0;
		width: 60px;
		height: 60px;
		align: left;
		background-color: transparent;
	}

	.topnav a.icon:hover {
		text-decoration: none;
	}

	.topnav > :not(.icon) {
		display: none;
	}

	.topnav .socials a:first-child {
	  padding-left: 0;
	}

	.topnav a.icon {
		color: #111;
		position: fixed;
		top: 25px;
		right: 25px;
		font-size: 30px;
		line-height: 30px;
		display: block;
	}

	.topnav.responsive {
	  overflow: hidden;
	  top: 25px;
	  right: 25px;
	  position: fixed;
	  padding-top: 10px;
	  width: 200px;
	  height: 250px;
	  align: left;
	  background-color: rgba(0, 180, 180, 0.3);
	}

	.topnav.responsive .icon {
	  top: 25px;
	  right: 25px;
	  line-height: 30px;
	  font-size: 30px;
	}

	.topnav.responsive :not(.icon) {
	  display: block;
	  float:none;
	  text-align: left;
	}

	.topnav.responsive a.social {
		display: inline;
	}
}

.header {
	height: 50px;
	border: 1px white solid;
	box-shadow: 5px 5px 78px -7px #eeeeee;
	width: 100%;
	background-color: rgba(250, 250, 250, 0.8);
	position: fixed;
	z-index: 1000;
}
