body {
	background-color: #000;
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	color: #ccc;
	overflow-x: hidden;
}

.header {
	width: 100%;
	background: url(/img/header.png) bottom center no-repeat #000;
	color: #fff;
	padding: 1.4rem 0;
	font-size: 1.0rem;
	line-height: 200%;
	text-align: center;
}

.maininlinetext {
	display: inline-flex;
	position: relative;
	top: -62px;
	font-weight: normal;
	text-align: left;
	margin: 0 20px;
	font-size: 1.15em;
	color: #aaa;
}

/*
.vagruscoming {
	display: none;
	position: relative;
	top:-77px;
	left: 177px;
	font-size: 18px;
	font-weight: normal;
	color: #ddd;
	opacity: 0.75;
}
*/
.vagruscoming {
	display: none;
	font-size: 1.3em;
	font-weight: normal;
	color: #aaa;
}

.vagrusdescription {
	margin: 0 auto 3em;
	width: 90%;
	max-width: 60em;
	text-align: justify;
}

.selectworldlist {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem 0 630px;
}

.selectworldlist img {
	margin: 1rem;
	width: 90%;
}

#bluelight {
	display: none;
	position: absolute; left: 0; right: 0;
}

#bluelight img {
	opacity: 0.0;
	width: 100%;
}

.header .social {
/*
	display: none;
*/
}

.social img {
	padding-top: 1em;
}

.header .social {
	top: 22px;
	right: 30px;
}

.header .menu a {
	padding: 0 1rem;
	white-space: nowrap;
}

.header .menu a:hover, .menu a.active {
	color: #acf;
	text-shadow: 0 0 10px #acf, 0 0 20px #fff;
}

.header .social a {
	padding: 0 5px;
	opacity: 0.5;
}

.header .social a:hover {
	opacity: 0.8;
}

.header.admin  {
	background: none !important;
	background-color: #d55 !important;
}

.header .social img {
	width: 32px;
	height: 32px;
}

.footer .social img {
	width: 40px;
	height: 40px;
	opacity: 0.75;
}

textarea:focus, input:focus {
    outline: none;
}

#milestonesblock {
	display: none;
}

.milestones {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.65rem;
	line-height: 1.4rem;
}

.milestones div:first-child, .milestones div:last-child {
	width: 20% !important;
}

.milestones div {
	width: 10%;
	padding-top: 1.5rem;
}

/* section */
.section {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.6rem 0 3.2rem;
}

.section > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 1200px;
}

.section > div > div {
	width: 90%;
}

.section img {
	order: 1;
	width: 100%;
	margin: 0;
	padding: 0;
}

.section span {
	font-size: 1.3rem;
	font-family: 'Spectral SC', serif;
	letter-spacing: 0.1rem;
}

.section p {
	text-align: justify;	
}


.subscribe {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px 0;
	text-align: center;
}

.subscribe > div {
	align-items: center;
	justify-content: center;
	max-width: 1000px;
}

/* member */
.member {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px 0;
	text-align: left;
}

.member > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 60rem;
}

.member > div > div {
	margin: 2rem 0;
	width: 90%;
}

.member img {
	margin-right: 40px;
}

.member span {
	font-size: 1.5rem;
	font-family: 'Spectral SC', serif;
	letter-spacing: 0.1rem;
	font-weight: bold;
}

.member p {
	text-align: justify;
}



/* post */
.post {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px 0;
	text-align: left;
	line-height: 1.3rem;
	overflow: hidden;
	text-align: justify;
}

.post.scheduled {
	opacity: 0.33;
	background-color: #007;
}

.post div.date {
	padding-top: 0.5rem;
	font-size: 0.75rem;
}

.post.dark, .darkcolor {
	color: inherit;
}

.post.light, .lightcolor {
	color: #333;
}

.post > div {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1rem;
}

.postbody a {
	color: #0e9bdb;
}

.post > div > a {
	align-self: flex-start;
}

.post img.thumb {
	display: flex;
	align-items: center;
	align-self: flex-end;
	width: 300px;
	margin-right: 20px;
}

.post .title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 1.3rem;
	line-height: 1.6rem;
}

.post a.titlelink:hover {
	text-decoration: underline;
}

.post .tagrow {
	padding-top: 1rem;
	font-style: italic;
	text-align: left;
}

.post .tagrow.light {
	color: #000;
}

.post .tagrow.dark {
	color: #fff;
}

.post .continue {
	font-weight: bold;
	font-style: italic;
	font-size: inherit;
}

.post .prevnext {
	font-style: italic;
	font-size: inherit;
	font-weight: bold;
}

.post .prevnext a {
	margin-right: 2rem;
}

.continue a:hover {
	text-decoration: underline;
}

.linkunderline a {
	text-decoration: underline;
}

.tagrow a {
	margin-right: 1rem;
}

.tagrow a:hover {
	text-decoration: underline;
}

.separator {
	display: flex;
	justify-content: center;
	align-items: center;
}

.separator img {
	justify-content: center;
	align-items: center;
	margin: 2rem 0;
	width: 95%;
}

.content.light {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
}

body.light {
	background: url(/img/lightpattern.jpg) center top;
}

body.dark {
	background: url(/img/darkpattern.jpg) center top;
}

body.prologue {
	background: url(/img/prologue-banner.png) center top no-repeat #000;
}

body.lore {
	background: url(/img/lore-back.jpg) center top no-repeat #000;
}

body.main {
	background: url(/img/background.jpg?1) center top no-repeat #000;
}

#gamejoltblock a {
	text-decoration: underline;
}

.content {
	width: 100%;
	font-size: 0.95rem;
	line-height: 1.5rem;
	min-height: 30rem;
}

.titlebar {
	display: flex;
	align-items: center;
	justify-content: center;
}

.titlebar img {
	align-items: center;
	overflow: hidden;
}

.titlebar span {
	display: flex;
	align-items: center;
	font-size: 2.0rem;
	line-height: 2.0rem;
	font-family: 'Spectral SC', serif;
	margin: 0 1.8rem;
}

.titlebar span.dark {
	color: inherit;
}

.titlebar span.light {
	color: #000;
}

.search {
	border: 1px solid #666;
	width: 240px;
}

.search input  {
	border: 0;
	background: none;
	width: 200px;
	color: #666;
	font-size: 16px;
	padding: 6px;
	margin: 0;
	height: 16px;
	float: left;
}

.search img {
	margin: 5px 0 3px 5px;
	height: 18px;
	cursor: pointer;
	float: left;
}

.footer {
	width: 90%;
	padding: 0 5%;
	background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
	color: #ccc;
	font-size: 1.2rem;
	line-height: 1.2rem;
}

.footer .social a {
	opacity: 0.85;
	padding: 0 3px;
}

.footer .social a:hover {
	opacity: 1;
}

.footer .cta {
	width: 90%;
	margin: 0 auto 1rem;
}

.footer .undercta {
	width: 25%;
	margin: 0 1rem 1rem;
}

.footerbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	margin: 2.5rem 0 2.5rem 0;
}

.footerbox span {
	display: none;
	margin: 0 2rem;
}

.footerbox .social {
	margin-top: 2rem;
}

.lpsbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	color: #aaa;
	text-align: left;
}

.lpsbox .text1 {
	align-items: center;
	margin: 1.85rem;
	max-width: 20rem;
}

.lpsbox .text2 {
	align-items: center;
	margin: 1rem;
	padding: 1.2rem;
	max-width: 28rem;
	border: 1px solid #555;
}

.contactbox {
	padding: 1rem 0 1rem 0;
	font-size: 0.9rem;
	color: #666;
}

a {
	text-decoration: none;
	color: inherit;
}

.center {
	text-align: center;
}

.left {
	float: left;
}

.clear {
	clear: both;
}

.hidden {
	display: none;
}

.adminrow {
	padding-left: 10px;
	color: #a33;
}

.adminrow a:hover {
	text-decoration: underline;
}

.editor {
	margin-top: 2rem;
	font-size: 0.9rem;
}

.editor > div {
	margin-top: 1rem;
}

.editor > button, .editor > select {
	font-size: 18px;
	padding: 3px 8px;
}

.admlist {
	border-spacing: 0;
	font-size: 0.7rem;
}

.admlist td {
	padding: 5px 10px;
}

.admlist a {
	text-decoration: underline;
}

#subscribefield {
	border: 0;
	margin-left: 18px;
	position: relative;
	top: -4px;
}

#subscribefield input[type=text] {
	background-color: #eee;
	border: 0;
	padding: 5px;
	width: 13rem;
}

#subscribefield button {
	cursor: pointer;
	padding: 5px 8px;
	background-color: #888;
	color: #000;
	border: 0;
}

#subscribefield div {
	font-size: 0.8rem;
	margin-top: 6px;
}

#subscribefield a {
	text-decoration: underline;
	color: #fff;
	margin: 0;
	padding: 0;
}

.contactline {
	display: flex;
	justify-content: center;
}

.contactline > div {
	margin: 0.4rem 1rem;
}

.contactline > div:first-child {
	width: 40%;
	text-align: right;
}

.contactline > div:last-child {
	width: 60%;
	text-align: left;
}

.contactbox p {
	color: #aaa;
}

img {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.youtubebox {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.youtubebox iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.logoholder img {
	margin: 0 1em 0.5em;
}

@media only screen and (max-width:1000px) {

	.youtubeboxmobile {
		position: relative;
		padding-bottom: 56.25%; /* 16:9 */
		padding-top: 25px;
		height: 0;
	}
	.youtubeboxmobile	 iframe {
		position: absolute;
		top: 0;
		left: 5%;
		width: 90%;
		height: 90%;
	}

	.logoholder img {
		width: 90%;
		margin: 0 0 1em 0;
	}
	
	.hseparator {
		display: none;
	}
	
	#downloadprologue {
		display: none;
	}

}

button, a, input {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
}

.vagruslogo {
	width: 100%;
	margin: 30vh 0 10px;
}

.pager img.arrow {
	width: 1em;
	height: 1em;
	margin: 0 0.95em 2.6em 0.35em;
}

.pager img.pbox {
	position: relative;
	width: 2em;
	height: 2em;
	margin: -0.5em 0.25em 2.05em 0.5em;
	text-align: center;
}

.pager img.pbox10 {
	position: relative;
	width: 2em;
	height: 2em;
	margin: -0.5em -0.2em 2.05em 0.5em;
	text-align: center;
}

.pager span {
	position: relative;
	left: -1.35em;
	top: -2.2em;
	font-family: monospace;
	font-size: 1.2em;
}

.pager span.dark {
	color: #fff;
}

.pager span.light {
	color: #000;
}

img.flip {
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

.header .menuleft {
	display: none;
}

@media only screen and (min-width:1000px) {

	.vagruslogo {
		width: initial;
		margin: 19vw 0 10px;
	}

	body.main {
		background-size: 100%;
	}

	.header {
		z-index: 1000;
		position: fixed;
		top: 0;
		padding: 1.8rem 0;
		font-size: 1.0rem;
		line-height: 100%;

		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}

	.menu {
		display: flex;
	}
	
	#bluelight {
		display: initial;
	}

	.post > div > div {
		max-width: 40rem;
	}

	.post .title {
		font-size: 1.7rem;
		line-height: 2.0rem;
	}
	
	.social img {
		padding-top: 0;
	}
	
	.footerbox {
		flex-direction: row;
	}
	
	.footerbox span {
		display: initial;
	}
	
	.footerbox .social {
		margin: 0;
	}

	.footer .cta {
		width: initial;
		margin: 120px auto 1rem;
	}
	
	.footer .undercta {
		width: initial;
		margin: 0 20px;
	}

	.lpsbox {
		flex-direction: row;
	}
	
	.lpsbox .text2 {
		margin: 0 1.85rem;
		padding: 1.2rem;
	}
	
	#milestonesblock {
		display: initial;
	}

	.vagruscoming {
		display: initial;
	}
	
	.search {
		margin-left: 50%;
	}

	.section {
		padding: 1.6rem 0;
	}
	
	.section span {
		font-size: 1.8rem;
	}

	.section > div {
		flex-direction: row;
	}

	.section:nth-child(odd) {
		text-align: right;
	}

	.section:nth-child(even) {
		text-align: left;
	}

	.section img {
		order: initial;
		width: 50%;
	}

	.section img:nth-child(odd) {
		margin-right: 10px;
	}

	.section img:nth-child(even) {
		margin-left: 10px;
	}

	.section > div > div {
		width: initial;
	}

	.section p {
		text-align: inherit;	
	}

	.vagrusdescription {
		text-align: inherit;
	}

	.contactbox {
		padding: 4rem 0 1rem 0;
	}

	.selectworldlist {
		flex-direction: row;
		padding: 2rem 0 500px;
	}

	.selectworldlist img {
		width: initial;
	}
	
	.titlebar span {
		font-size: 2.5rem;
		line-height: 2.5rem;
		white-space: nowrap;
	}

	.member > div {
		flex-direction: row;
	}
	
	.member > div > div {
		margin: 0;
	}
	
	.member p {
		text-align: inherit;
	}

	.separator img {
		width: initial;
	}
}

@media only screen and (min-width:1450px) {
	
	.header .social {
		display: flex;
		position: absolute;
		padding-top: 0;
	}
	
	.header .menuleft {
		display: flex;
		position: absolute;
		padding-top: 0;
	}
}
