/* General tweaks */
h2.sub-title {
	color:#f6882b;
	line-height:1.3em;
	margin-bottom: 30px;
}
img {
	max-width: 100%;
	height: auto;
}
.wrapper, .two_third, .sidebar_right, .sidebar_left_small, .three_fourth {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
}
body {
	background-size: 100%;
}
.header {
	height: auto;
}
.home_latest_forum {
	width: 100%;
}
#mobile-menu-toggle {
	display: none !important;
}

/* Better menu centering */
#nav_select > ul {
	text-align: center;
	left: 0;
	width: 100%;
}
#nav_select > ul > li {
	float: none;
	display: inline-block;
}
#nav_select ul ul {
	text-align: left;
}
.nav_bg {
	position: relative;
	z-index: 2;
}

/* Features menu */
.three_fourth {
	width: 700px;
	float: right;
}
.sidebar_left_small {
	width: 190px;
}
.features_nav {
	width: 160px;
}
.features-nav li {
	margin: 0;
	padding: 10px 0 10px 0;
	border-bottom: 1px solid #4e0202;
}
.features-nav li:first-child {
	border-top: 1px solid #4e0202;
}
.features-nav li.active {
	background-color:#310101;
	width: 190px;
}
.features-nav li a {
	display: inline-block;
	padding-left: 10px;
}
.core-feature {
	float:left; 
	width:320px; 
	margin-bottom:40px; 
	margin-right:30px;
}
.core-feature.n2 {
	margin-right: 0;
}

/* Community */
.community-item {
	float:left; 
	width: 47%; 
	margin-bottom:40px; 
}
.community-item.n2 {
	float: right;
}
.community_image {
	width: 100%;
	height: auto;
	float: none;
}

/* Moving border and shadow to image instead of surrounding div to allow auto height/width */
.screenshot_home, .screenshot_large, .screenshot {
	max-width: 100%;
	width: auto;
	height: auto;
	font-size: 0;
	border: 0;
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.screenshot_home img, .screenshot_large img, .screenshot img {
	border: 1px solid #FF7A09;
	background-color: #000;
	-moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
}
.screenshot_large.with-title span {
	font-size: 12px;
	display: block;
	margin-top: 5px;
	height: 30px; /* To allow for wrapping text */
}

/* Media view all buttons */
.view-all {
	float:right; 
	margin-top:-15px;
}

/* Home press layout like latest forum topics */
/*.home_press ul {
	list-style: none;
	margin: 0;
}
.home_press li > a {
	color: #FF7A09;
	font-size: 18px;
	font-family: 'EB Garamond', serif;
}
.home_press ul li p {
	margin-top: 2px;
	font-size: 12px;
	color: #E7E6D0;
}
.home_press p span {
	font-size: 14px;
	font-family: 'EB Garamond', serif;
	display: inline-block;
	margin-bottom: 10px;
}*/

/* Mobile only */
@media only screen and (max-width: 767px) {

	/* Layout */
	.gs960, .header, .footer {
		width: 100%;
	}
	.wrapper {
		width: 100%;
		border-width: 1px 0;
		margin-top: 0;
		padding-top: 20px;
	}
	.header img {
		margin: 10px 0 -14px 0;
	}
	.header .header_msg {
		width: 30%;
		margin-top: -10px;
	}

	.two_third, .sidebar_right, .three_fourth, .sidebar_left_small {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}
	.sidebar_left_small {
		background: none;
	}

	/* Headers */
	h1 {
		margin: 0;
	}
	h2.sub-title {
		margin-bottom: 15px;
		font-size: 1.75em;
	}

	/* Sidebar */
	.sidebar_right {
		padding-left: 0;
		background: none;
		border: 0;
		margin-top: 0;
		padding-top: 40px;
	}

	/* Menu */
	.nav_bg {
		height: auto;
		width: 100%;
		margin-bottom: 20px;
		background: none;
	}
	#nav_select {
		height: auto;
	}
	#nav_select ul {
		top: 0;
		left: 0;
		width: 100%;
		text-align: left;
	}
	#nav_select a {
		padding: 0;
	}
	#nav_select > ul >li {
		float: none;
	}
	#nav_select li.hide-mobile {
		display: none;
	}
	#nav_select .has-sub:hover > ul {
		display: none;
	}
	#nav_select .has-sub ul {
		border: none;
		position: relative;
		width: 80%;
		left: 0;
		margin-left: 15px;
	}
	#nav_select .has-sub ul li a {
		background: none;
		font-size: 16px;
	}
	#nav_select .has-sub ul li:hover a {
		background: none;
	}
	#mobile-menu-toggle {
		display: block !important;
		position: absolute !important;
		right: 0;
		top: 5px;
		z-index: 20;
	}

	/* Footer */
	.footer {
		height: 115px;
	}
	.footer .logo {
		text-align: center;
		padding-top: 50px;
		width: 33%;
	}
	.footer .text {
		padding-top: 65px;
		text-align: center;
		width: 67%;
		font-size: 14px;
	}
	.footer .text a {
		font-size: 14px;
	}

	/* Home item tweaks */
	.news_image_home {
		margin-bottom: 5px;
	}
	.divider_home_news {
		margin: 10px 0 20px;
	}
	.divider_store {
		margin: 10px 0 20px;
	}
	h3 + p + p {
		margin-top: 15px;
	}
	.screenshot_home {
		margin: 0 2% 0 0;
		width: 31%;
	}
	.home_press ul li p {
		font-size: 16px;
	}
	.home_press > li > a {
		font-size: 20px;
	}

	/* Screenshots & concept art */
	.screenshot_large, .screenshot {
		width: 45%;
		margin-right: 0;
	}
	.screenshot_large.n2, .screenshot.n2 {
		float: right;
	}
	.screenshot_large img, .screenshot img {
		width:	100%; 
		height:	auto;
	}
	.view-all {
		clear: both;
		float:none; 
		margin-top:5px;
	}

	/* Features */
	.three_fourth {
		margin-top:	60px;
	}
	.features-nav {
		width: 100%;
	}
	.features-nav li {
		float:	left;
		width:	50% !important;
	}
	.features-nav li:nth-child(2) {
		border-top: 1px solid #4e0202;
	}
	.features-nav li.active {
		background: none;
	}
	.features-nav li.active a {
		color: #D88823;
	}
	.core-feature {
		width:100%; 
		margin-bottom:40px; 
		margin-right:0;
	}

	/* Community */
	.community-item, .community-item.n2 {
		float:none; 
		width: 100%; 
		margin-bottom:40px; 
	}
}

/* Tablet (portrait) only */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

	/* Layout */
	.gs960, .header, .footer {
		width: 760px;
	}
	.wrapper {
		width: 760px;
		border-width: 1px;
		padding-top: 25px;
	}
	.header img {
		margin-bottom: 23px;
	}

	.header .header_msg {
		width: 200px;
	}

	/* Menu */
	#nav_select ul {
		left: 0;
		top: 15px;
		text-align: center;
		width: 90%;
		margin: 0 5%;
	}
	#nav_select ul > li {
		float: none;
		display: inline-block;
	}
	#nav_select a {
		font-size: 18px;
		line-height: 36px;
	}
	#nav_select .has-sub ul li {
		display: block;
		text-align: left;
	}
	.nav_bg {
		height: auto;
		width: 100%;
		background-size: 100%;
		height: 64px;
	}

	/* Contents */
	.two_third {
		width: 72%;
		padding-right: 20px;
	}
	.sidebar_right {
		width: 28%;
		padding-left: 20px;
		background-size: 100%;
	}

	/* Home item tweaks */
	.email_field {
		margin-right: 5px;
		width: 87px;
		padding: 7px;
	}
	.email_button {
		padding: 5px 5px 4px 5px;
		margin-top: 0;
	}
	.divider_sidebar_news {
		height: 24px;
		background-size: 100%;
	}
	h2 {
		font-size: 26px;
	}
	h3 {
		font-size: 18px;
	}
	p {
		font-size: 90%;
	}

	/* Screenshots & concept art */
	.screenshot_large, .screenshot {
		margin: 0 35px 35px 0;
	}
	.screenshot_large.with-title {
		margin-bottom: 25px;
	}
	.screenshot_large.n3, .screenshot.n3 {
		margin-right: 0;
	}
	.screenshot_large img {
		width:	200px; 
		height:	112px;
	}
	.screenshot:nth-child(7), .screenshot:nth-child(8) {
		display: none;
	}

	/* Features */
	.three_fourth {
		width: 523px;
	}
	.sidebar_left_small {
		width: 175px;
	}
	.features_nav {
		width: 155px;
	}
	.features-nav li.active {
		width: 175px;
	}
	.core-feature {
		width:100%; 
		margin-bottom:40px; 
		margin-right:0;
	}
}

/* Tablet (landscape) and up */
@media only screen and (min-width: 1024px) {
	.gs960, .header, .footer, .wrapper {
		width: 960px;
	}
	.header img {margin-bottom:19px;}
	.two_third {
		width: 71%;
		padding-right: 30px;
	}
	.sidebar_right {
		width: 29%;
		padding-left: 30px;
	}

	/* Screenshots & concept art */
	.screenshot_large {
		margin: 0 25px 25px 0;
	}
	.screenshot {
		margin: 0 19px 19px 0;
	}
	.screenshot_large.n4, .screenshot.n4 {
		margin-right: 0;
	}
	.screenshot_large img {
		width:	200px; 
		height:	112px;
	}
}