/*----------------------------------------------------------*/
/* UNIVERSAL */
/*----------------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.clearthumb {
	clear: both;
}
/*----------------------------------------------------------*/
/* FONTS */
/*----------------------------------------------------------*/
@font-face {
	font-family: blackknight;
	src: url("../fonts/BlackKnightFLF.ttf");
}
@font-face {
	font-family: calligraphy;
	src: url("../fonts/CalligraphyFLF.ttf");
}
@font-face {
	font-family: venice;
	src: url("../fonts/VeniceClassic.ttf");
}
@font-face {
	font-family: andika;
	src: url("../fonts/Andika.ttf");
}

/*----------------------------------------------------------*/
/* Viewports */
/*----------------------------------------------------------*/
@media only screen and (max-width: 980px){	
	
	#headermid {
		width: 960px;
	}
	#headermidtop {
		height: 150px;
	}	
	#mobilelogo {
		height: 150px;
		margin: auto;	
		text-align: center;
		width: 100%;
	}
	#navbar {
		height: 165px;
	}
	.navresize1 {
		width: 105px;		
	}
	.navresize2 {
		width: 135px;		
	}
	.navresize3 {
		width: 159px;		
	}
	.navresize4 {
		width: 150px;
	}
	.optional {
		display: none;
	}
	.phome {		
		font-size: 36px;
	}	
	.blurt {		
		font-size: 72px;
	}
	.swordpoint {
		font-size: 36px;
	}
	.omg {
		height: 280px;
	}
	.a {		
		font-size: 22px;
	}	
}
@media only screen and (min-width: 981px){	
	
	#headermid {
		width: 620px;
	}
	#headermidtop {
		height: 210px;
	}
	#mobilelogo {
		display: none;
	}
	#navbar {
		height: 105px;
	}	
	.mobileonly {
		display: none;
	}
	.phome {		
		font-size: 24px;
	}
	.blurt {		
		font-size: 48px;
	}
	.swordpoint {
		font-size: 24px;
	}
	.omg {
		height: 80px;
	}
	.a {		
		font-size: 15px;
	}	
}
/*----------------------------------------------------------*/
/* COMMON */
/*----------------------------------------------------------*/
/* Header background */
#pageheader { 
	background-image: url("../images/layout/respite-2d-mmorpg-header.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 315px;	
	min-width: 960px;
	position: relative;
}
/* Header split into 3 panels: 20% (logo), 60% (nav), 20% (reserved)*/
#headerflex {
	display: flex;
	height: 100%;
	margin: auto;
	width: 960px;
}
#headerleft {
	display: block;
	height: 315px;
	margin-top: 0px;
	width: 170px;
}
#headerleftup {
	height: 270px;
	padding-left: 5px;
	padding-top: 5px;
	width: 170px;
	
}
#headerleftdown {
	bottom: 0px;
	color: #FFFFFF;
	font-weight: bold;
	height: 40px;
	overflow: hidden;
	padding-left: 5px;
	position: absolute;
	text-shadow: 2px 2px #000000;
	width: 170px;
}
#headermid {
	display: block;
	height: 100%;
}
#headermidtop {
	margin: auto;	
	width: 100%;
}
#headerright {
	display: block;
	height: 100%;
	width: 170px;
}
/* Navigation */
#navbar {
	text-align: center;
	width: 100%;
}
/* Footer */
#footer {
	color: #FFFFFF;
	margin: auto;
	width: 960px;
}
#footer div { 
	margin: auto;
	text-align: center;
}


/*----------------------------------------------------------*/
/* HOMEPAGE */
/* panelsection -> flexwrap -> outsidepanel | contentpanel | outsidepanel */
/*----------------------------------------------------------*/
.panelsection {	
	min-width: 960px;
}
.flexwrap {
	display: flex;	
	margin: auto;
}
.outsidepanel {	
	overflow: hidden;
	width: 100%;
}
.contentpanel {
	display: block;
	width: 960px;
	margin: auto;
}
.homecontents {
	margin: auto;
	position: relative;
	width: 960px;
}

/* Within contentpanel */
/* flexwrap -> panelheadingflex -> panelheadingflex -> headingl or headingr 
			-> homecontents */
.panelheadingflex {	
	display: flex;
	height: 70px;
}
.panelheadingflexr {
	display: flex;
	height: 70px;
	margin-left: auto;
}
.panelheadingl {
	background-image: url("../images/layout/respite-2d-mmorpg-header-scroll-filler.png");
	background-repeat: repeat-x;
	margin-right: auto;
	padding-left: 20px;	
	padding-right: 20px;
	text-align: right;
}
.panelheadingr {
	background-image: url("../images/layout/respite-2d-mmorpg-header-scroll-filler.png");
	background-repeat: repeat-x;
	margin-left: auto;
	padding-left: 20px;
	padding-right: 20px;
	text-align: left;
}
.panellend {	
	background-image: url("../images/layout/respite-2d-mmorpg-header-scroll-lend.png");
	background-repeat: no repeat;
	margin-left: -1px;
	width: 60px;
}
.panelrend {	
	background-image: url("../images/layout/respite-2d-mmorpg-header-scroll-rend.png");
	background-repeat: no repeat;
	margin-right: -1px;
	width: 60px;
}
.panelheadingfillerl {
	background-image: url("../images/layout/respite-2d-mmorpg-header-scroll-filler.png");
	background-position: 100% 0%;
	background-repeat: repeat-x;
	width: 100%;
}
.panelheadingfillerr {
	background-image: url("../images/layout/respite-2d-mmorpg-header-scroll-filler.png");
	background-position: 0% 0%;
	background-repeat: repeat-x;
	width: 100%;
}
	
.scrollboxtop { 
	background-image: url("../images/homepage/respite-2d-indie-mmorpg-para-scroll-top.png");
	background-repeat: no-repeat;
	height: 30px;
	width: 950px;
}
.scrollboxbottom {
	background-image: url("../images/homepage/respite-2d-indie-mmorpg-para-scroll-bottom.png");
	background-repeat: no-repeat;
	height: 50px;
	width: 950px;	
}
.scrollboxmid {
	background-image: url("../images/homepage/respite-2d-indie-mmorpg-para-scroll-mid.png");
	background-repeat: repeat-y;
	margin-top: -2px;
	margin-bottom: -2px;
	padding: 0px 60px 30px 60px;
	text-align: justify;
	width: 950px;	
}	

.leftchar {
	margin-right: 100px;
	float: right;
	height: 120px;
	width: 100px;
}
.rightchar {	
	margin-left: 100px;
	float: left;
	height: 120px;
	width: 100px;
}
.space50 {
	margin-top: 50px;
}
.space100 {
	margin-top: 100px;
}
.space150 {
	margin-top: 150px;
}
.space200 {
	margin-top: 200px;
}
.space250 {
	margin-top: 250px;
}
.space300 {
	margin-top: 300px;
}
.space350 {
	margin-top: 350px;
}
.startimg {
	float: left;
}

.omg {
	float: right;
	width: 0px;
}
.endimg {
	float: right;
	clear: both;
}

.trailer {
	background-color: #926C54;
	height: 450px;
	margin: auto;
	width: 800px;
}
	
/*----------------------------------------------------------*/
/* Homepage stuff */
/*----------------------------------------------------------*/
.phome {
	color: #473731;
	font-family: calligraphy;
	margin-bottom: 10px;
	text-indent: 10px;
	text-shadow: 0.3px 0 0 #473731;
}
.blurt {
	color: #473731;
	font-family: calligraphy;
	margin-bottom: 10px;
	text-align: center;
}
.swordpoint {
	color: #473731;
	font-family: calligraphy;
	list-style-image: url("../images/layout/respite-2d-indie-mmo-sword-bullet-point.png");	
	margin-left: 30px;
	text-shadow: 0.3px 0 0 #473731;
}
.onionbelt { 
	font-family: blackknight;
	font-weight: strong;
}
.updatewrapper {
	height: 150px;
	margin: auto;
	width: 900px;
}
.updatecontainer {
	background-repeat: no repeat;
	height: 150px;
	display: flex;
	margin: auto;
	position: absolute;
	width: 900px;
}
.updatebox1 {	
	background-image: url("../images/homepage/respite-2d-isometric-mmo-update-board1.png");
	display: block;
	padding-left: 15px;
	width: 300px;
}
.updatebox2 {	
	background-image: url("../images/homepage/respite-2d-isometric-mmo-update-board2.png");
	display: block;
	width: 300px;
}
.updatebox3 {	
	background-image: url("../images/homepage/respite-2d-isometric-mmo-update-board3.png");
	display: block;
	padding-left: 10px;
	padding-top: 15px;
	width: 300px;
}
.updateheading { 
	color: #473731;
	font-family: blackknight;
	font-size: 28px;
	font-weight: strong;
	margin-bottom: -5px;
	margin-top: 8px;
	text-align: center;
}
.updatepoint {
	font-size: 24px;
	list-style: none;
	list-style-position: inside;
	margin-left: 15px;
	margin-right: 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap; 
}
.updatedate {
	color: #473731;
	font-family: blackknight;	
}
.updatetitle {
	color: #473731;
	font-family: calligraphy;	
	text-decoration: none;
}
.lowericon {
	margin-bottom: -2px;
}
.lowericonmore {
	margin-bottom: -6px;
}
/*----------------------------------------------------------*/
/* General layout */
/*----------------------------------------------------------*/
.gravity {
	margin: auto;
	padding-top: 30px;
	position: relative;
	width: 930px;
}
.contentboxtop { 
	background-image: url("../images/layout/respite-2d-indie-mmo-vertical-scroll-top.png");
	background-repeat: no-repeat;
	height: 80px;
	width: 930px;
}
.contentboxmid { 
	background-image: url("../images/layout/respite-2d-indie-mmo-vertical-scroll-fill.png");
	background-repeat: repeat-y;
	margin-top: -2px;
	margin-bottom: -2px;
	padding: 0px 60px 30px 60px;
	text-align: justify;
	width: 930px;
}
.contentboxbottom { 
	background-image: url("../images/layout/respite-2d-indie-mmo-vertical-scroll-bottom.png");
	background-repeat: no-repeat;
	height: 90px;
	width: 930px;
}
.legible {
	font-family: venice;	
}
.faq {
	padding: 8px;
}
.q {
	font-family: venice;
	font-weight: strong;
	display: inline;
	margin: 0px;
}
.a {
	color: #473731;
	font-family: andika;
	margin: 0px 15px 0px 15px;
}
.lowkeylink {
	color: #473731;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #695349;
}
/*----------------------------------------------------------*/
/* Gallery */
/*----------------------------------------------------------*/
.fanartrow {
	align-items: center;
	display: flex;
	margin: auto;
}
.fanartcontainer {
	display: block;
	text-align: center;
	width: 410px;
}
.thumbnailrow {
	align-items: center;
	display: flex;
	margin: auto;
	text-align: justify;	
	width: 800px;
}
.thumb-img {
	width: 180px;
    margin-left: 15px;
	margin-bottom: 10px;
	display: block;
}
.thumb-txt {
	text-align: center;
}

/* HTML tags */
body {
	background-color: #3F5D5B;
	background: url("../images/layout/respite-2d-indie-mmorpg-trees-wallpaper-top.jpg") repeat-x center top, url("../images/layout/respite-2d-indie-mmorpg-trees-wallpaper-loop.jpg") repeat center top;
}
h1 {
	color: #785C43;
	font-family: venice;
	font-size: 48px;
}
h2 {
	color: #473731;
	font-family: venice;
	font-size: 48px;
	text-align: center;
}
h3 {
	color: #473731;
	font-family: venice;
	font-size: 36px;
}
