/*   
Theme Name: Train jam
Theme URI: http://trainjam.com
Description: Based on the HTML5 Reset Wordpress theme.
Author: Jamie Sanchez
Author URI: http://jamiesanchez.com
Version: 1.0
*/

/* Typography
-------------------------------------------------------------------------------*/
body {
	font: 16px/1.5em 'Raleway', Helvetica, Arial, sans-serif;
}
body, select, input, textarea {
	color: #5e5b66;
}
a {
	color: #e56d4c;
	text-decoration: none;
}
a:hover {
	color: #e56d4c;
	text-decoration: underline;
}
/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
 ::-moz-selection {
	background: #FBF1BC;
	color: #fff;
	text-shadow: none;
}
::selection {
	background: #FBF1BC;
	color: #fff;
	text-shadow: none;
}
/*	j.mp/webkit-tap-highlight-color */
a:link {
	-webkit-tap-highlight-color: #FBF1BC;
}
ins {
	background-color: #FBF1BC;
	color: #000;
	text-decoration: none;
}
mark {
	background-color: #FBF1BC;
	color: #000;
	font-style: italic;
	font-weight: bold;
}
h1, h2 {
	font-family: "Arvo", Times, serif;
	color: #232c4a;
	font-weight: 600;
	text-transform: uppercase;
}
h1 {
	font-size: 1.5em;
}
h2 {
	font-size: 1.35em;
}
h3 {
	color: #5e5b66;
	text-transform: uppercase;
	border-bottom: 1px solid #cac9c9;
	padding-bottom: .5em;
	margin-bottom: 1em;
	font-size: .9em;
	font-weight: 700;
	-moz-font-feature-settings:"lnum";
	-moz-font-feature-settings:"lnum";
	-ms-font-feature-settings:"lnum";
	-o-font-feature-settings:"lnum";
	-webkit-font-feature-settings:"lnum";
	font-feature-settings:"lnum";
}
p + h3 {
	margin-top: 4em;
}
blockquote {
	font-size: inherit;
	line-height: inherit;
}
.button {
	border-radius: 4px;
	background-color: #e56d4c;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .03em;
	line-height: 1.35em;
}
.button:hover {
	color: #fff;
	background-color: #be3a57;
	text-decoration: none;
}
hr {
	height: 0px;
	line-height: 0;
	font-size: 0;
	clear: both;
	float: none;
	border-bottom: 6px dashed #be3a57;
	background-color: #7e2b54;
}
img {
	max-width: 100%;
	height: auto;
}


/* Structure
-------------------------------------------------------------------------------*/
body {
	background-color: #f9f8f4;
}
.main {
	margin-top: 4em;
	margin-bottom: 4em;
}
.container {
	padding: 0 5%;
	max-width: 1200px;
}
@media screen and (max-width: 499px) {
	.container {
		padding: 0 3%;
	}
}


/* Header
-------------------------------------------------------------------------------*/
.header {
	background-color: #232c4a;
}
.header a:hover {
	text-decoration: none;
}
.logo a {
	display: block;
	height: 100px;
	color: #fff;
	font-size: 1.5em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 30px 0;
	width: 230px;
}
.nav,
.menu {
	padding: 0;
}
.nav {
	text-align: right;
}
.menu li {
	display: inline-block;
	margin-right: 15px;
}
.menu a {
	color: #e56d4c;
	font-weight: 700;
}
.menu a:hover,
.menu a.current_page_item {
	color: #fbf1bc;
}
.btn-menu {
	display: none;
	background-color: #38466d;
	color: #fff;
	padding: .5em 1em;
	border-radius: 3px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: .85em;
	letter-spacing: .05em;
}
.btn-menu:hover {
	text-decoration: none;
	background-color: #e56d4c;
	color: #fff;
}


@media screen and (min-width: 800px) {
	.nav {
		display: block !important;
		margin: 20px 0;
	}
	.menu-item-10 a {
		display: block;
		background-color: #38466d;
		color: #fff;
		padding: .5em 1em;
		border-radius: 3px;
		font-weight: 700;
		text-transform: uppercase;
		font-size: .85em;
		letter-spacing: .05em;
	}
	.menu-item-10 a:hover {
		text-decoration: none;
		background-color: #e56d4c;
	}
}
@media screen and (max-width: 799px) {
	.nav {
		display: none;
		position: relative;
		top: 0px;
		width: 100%;
		text-align: center;
		margin: 0 !important;
		padding: 0 !important;
		border-top: 1px solid #38466d;
	}
	.btn-menu {
		display: block;
		position: absolute;
		top: 35px;
		right: 6.5%;
	}
}

@media screen and (max-width: 559px) {
	.nav {
		border-top: 0 !important;
	}
	.nav li {
		display: block;
		margin: 0;
	}
	.nav li a {
		display: block;
		padding: .5em;
		border-top: 1px solid #38466d;
	}
}


/* Home
-------------------------------------------------------------------------------*/
.block {
	padding: 4em 0 3em 0;
}
.block a {
	font-weight: 700;
}
.hero {
	min-height: 450px;
	padding: 100px 0;
	background-position: center bottom;
	background-size: cover;
	font-size: 130%;
	position: relative;
}
.hero .container {
	width: 55%;
	border-radius: 4px;
	padding: 3em 2em 1em 2em;
	text-align: center;
	background: rgba(34,44,74,.6);
	background: -moz-linear-gradient(top,  rgba(34,44,74,0.6) 0%, rgba(34,44,74,0.6) 41%, rgba(34,44,74,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(34,44,74,0.6)), color-stop(41%,rgba(34,44,74,0.6)), color-stop(100%,rgba(34,44,74,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(34,44,74,0.6) 0%,rgba(34,44,74,0.6) 41%,rgba(34,44,74,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(34,44,74,0.6) 0%,rgba(34,44,74,0.6) 41%,rgba(34,44,74,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(34,44,74,0.6) 0%,rgba(34,44,74,0.6) 41%,rgba(34,44,74,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(34,44,74,0.6) 0%,rgba(34,44,74,0.6) 41%,rgba(34,44,74,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99222c4a', endColorstr='#00222c4a',GradientType=0 ); /* IE6-9 */
}
.hero h1,
.hero h2 {
	font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
	color: #fff;
}
.hero h1 {
	font-weight: 300;
	text-transform: none;
	margin-bottom: .5em;
}
.hero h2 {
	text-transform: uppercase;
	font-weight: 00;
	margin-bottom: 2em;
	font-size: .9em;
	letter-spacing: .03em;
}
.hero .button {
	font-size: 1rem;
}
@media screen and (max-width: 829px) {
	.hero .container {
		width: 75%;
	}
}
@media screen and (max-width: 599px) {
	.hero {
		min-height: 200px;
		padding: 1em 1em 200px 1em;
		background-position: bottom right;
	}
	.hero .container {
		width: 100%;
		padding: 2em;
		background: none;
	}
	.hero h1 {
		font-size: 1em;
	}
}
.intro {
	background-color: #fbf1bc;
}
.intro h1 {
	font-size: 1.25em;
}
@media screen and (max-width: 599px) {
	.intro .col-left {
		margin-bottom: 2em;
	}
}
.quote {
	text-align: center;
	background-size: cover;
	background-position: center;
	background-color: #222c4a;
	padding: 8% 12%;
}
.quote blockquote {
	color: #fff;
	font-style: normal;
	font-size: 1.7em;
	line-height: 1.5em;
	font-weight: 300;
}
.quote figcaption {
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: .85em;
	color: #fbf1bc;
}
@media screen and (max-width: 599px) {
	.quote blockquote,
	.quote figcaption {
		font-size: 130% !important;
		line-height: 135% !important;
	}
	.quote figcaption {
		font-size: 80% !important;
	}
}
.numbers h2 {
	border-bottom: 1px solid #b8bac1;
	padding-bottom: .5em;
	margin-bottom: 0;
	color: #5e5b66;
	padding-left: 55px;
	padding-top: 20px;
}
.numbers table {
	margin-top: 0;
}
.numbers table tr:first-child td {
	border-top: 0 !important;
}
.numbers .strong {
	font-size: .8em;
	font-weight: 700;
	-moz-font-feature-settings:"lnum";
	-moz-font-feature-settings:"lnum";
	-ms-font-feature-settings:"lnum";
	-o-font-feature-settings:"lnum";
	-webkit-font-feature-settings:"lnum";
	font-feature-settings:"lnum";
	text-transform: uppercase;
}
.numbers table,
.numbers td {
	padding-left: 0;
	padding-right: 0;
	border-left: 0;
	border-right: 0;
}
.numbers .header-timetable,
.numbers .header-costs {
	background-repeat: no-repeat;
	background-position: -3px center;
	min-height: 64px;
}
.numbers .header-timetable {
	background-image: url('_img/icon-calendar.png');
}
.numbers .header-costs {
	background-image: url('_img/icon-money.png');
}
.promo {
	background-size: contain;
	background-position: right;
	background-repeat: no-repeat;
	background-color: #fbf1bc;
}
@media screen and (max-width: 599px) {
	.promo {
		background-size: 450px auto;
		background-position: right top !important;
	}
	.promo .col {
		margin-top: 270px;
		width: 100%;
	}
}
.promo2 {
	background-size: contain;
	background-position: right;
	background-repeat: no-repeat;
	background-color: #fbf1bc;
}
@media screen and (max-width: 599px) {
	.promo2 {
		background-size: 450px auto;
		background-position: right top !important;
	}
	.promo2 .col {
		margin-top: 270px;
		width: 100%;
	}
}


/* Games
-------------------------------------------------------------------------------*/
.game {
	width: 28%;
	font-size: .8em;
	line-height: 1.4em;
	margin-bottom: 2em;
	border-radius: 4px;
	overflow: hidden;
}
@media screen and (max-width: 499px) {
	.game {
		width: 92.5% !important;
	}
}
.game-container {
	border-radius: 4px;
	background-color: #fff;
	overflow: hidden;
}
.game-entry {
	max-height: 250px;
	padding: 1em;
}
.game-title {
	font-size: 1.5em;
	font-weight: 700;
	color: #5e5b66;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	text-transform: none;
}
.game-container img {
	-moz-filter: grayscale(1) opacity(.3);
	-webkit-filter: grayscale(1) opacity(.3);
	filter: grayscale(100%) alpha(opacity=30);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}
.game-container:hover img {
	-moz-filter: grayscale(0) opacity(1);
	-webkit-filter: grayscale(0) opacity(1);
	filter: grayscale(0%) alpha(opacity=100);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.game-thumb-container {
	background: #8d96b4;
	line-height: 0;
}
.game-devs {
	font-weight: 700;
	margin-bottom: 1em;
}
.game-devs a {
	color: inherit;
}
.game-devs a:hover {
	color: #e56d4c;
}
.game-platforms {
	position: relative;
	background-color: #fbf1bc;
	font-weight: bold;
	padding: .5em 1em;
	z-index: 2;
}
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
	 -moz-transition-duration: 0.8s;
	  -ms-transition-duration: 0.8s;
	   -o-transition-duration: 0.8s;
		  transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height, width;
	 -moz-transition-property: height, width;
	  -ms-transition-property: height, width;
	   -o-transition-property: height, width;
		  transition-property: height, width;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
	 -moz-transition-property:    -moz-transform, opacity;
	  -ms-transition-property:     -ms-transform, opacity;
	   -o-transition-property:      -o-transform, opacity;
		  transition-property:         transform, opacity;
}
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
	 -moz-transition-duration: 0s;
	  -ms-transition-duration: 0s;
	   -o-transition-duration: 0s;
		  transition-duration: 0s;
}
.games-search .search-input {
	border: 0;
	border-radius: 4px;
	box-shadow: inset 0 1px #d5d7d5;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-size: .9em;
	color: #838c8c;
	height: 34px;
	padding-left: 1em;
	padding-right: 2em;
	background-image: url('_img/icon-lens.png');
	background-size: 13px;
	background-repeat: no-repeat;
	background-position: right 12px center;
}
.select-drop {
	position: absolute;
	z-index: 5;
	list-style: none;
	padding: 0;
	margin: 0;
	border: 0;
	overflow: hidden;
	height: 34px;
	border-radius: 4px;
	cursor: pointer;
	color: #838c8c;
	background-color: #fbf1bc;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: .8em;
	margin-bottom: 1em !important;
	min-width: 120px;
}
.select-drop a {	
	color: #838c8c;
}
.select-drop:hover a {
	color: #e56d4c;
}
.select-drop:hover {
	height: auto;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 3px 3px rgba(0,0,0,.3);
}
.select-drop li a,
.select-drop span {
	display: block;
	padding: .5em 1em;
}
.select-drop span {
	text-transform: uppercase;
}
.select-drop li a {
	line-height: 25px;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
}
.select-drop li:hover {
	background: #fbf1bc;
}
.select-highlight {
	background: #ebeeee;
}




.games-sort {
	height: 60px;
	position: relative;;
}
.games-search {
	float: left;
	width: 250px;
}
.games-filters {
	position: relative;
	width: 440px;
	float: right;
}
.select-year {
	left: 0;
}
.select-platform {
	left: 133px;
}
.select-type {
	left: 300px;
}
@media screen and (max-width: 799px) {
	.games-sort {
		position: static;
		height: 120px;
		width: 100%;
	}
	.games-filters {
		clear: both;
		margin-top: 1em;
		width: 100%;
	}
	.select-year,
	.select-platform,
	.select-type {
	}
}

@media screen and (max-width: 499px) {
	.games-sort {
		height: 240px;
	}
	.games-search {
		width: 100%;
	}
	.games-search .search-input {
		width: 98.5%;
	}
	.select-year,
	.select-platform,
	.select-type {
		position: absolute;
		width: 98.5%;
		left: 0; 
	}
	.select-year {
		top: 0px;
	}
	.select-platform {
		top: 50px;
	}
	.select-type {
		top: 100px;
	}
	.select-drop:hover {
		z-index: 10;
	}
}



/* Digest
-------------------------------------------------------------------------------*/
.page-template-template-digest-php .main {
	margin-top: 0 !important;
}
.page-template-template-digest-php .col-6 {
	padding-left: 0;
	padding-right: 2em;
}
.page-template-template-digest-php .content {
	width: 75%;
	float: right;
	padding-top: 60px;
}
.sidenav {
	width: 19%;
	float: left;
	margin-left: 10px;
}
.sidenav h3 {
	padding-top: 60px !important;
}
.sidenav li {
	background-repeat: no-repeat;
	background-position: left 10px;
	background-size: 20px;
}
.sidenav li a {
	display: block;
	padding: .5em 0 .5em 32px;
	border-bottom: 1px solid #cac9c9;
	font-weight: 700;
}
.sidenav a {
	display: block;
	padding: 5px;
	text-decoration: none;
	font-weight: bold;
}
.sidenav a:hover {
	text-decoration: underline;
}
.sidenav .anchor-1 {  background-image: url('_img/icon-pencil.png'); }
.sidenav .anchor-2 {  background-image: url('_img/icon-train.png'); }
.sidenav .anchor-3 {  background-image: url('_img/icon-clock.png'); }
.sidenav .anchor-4 {  background-image: url('_img/icon-controller.png'); }


@media screen and (max-width: 799px) {
	.page-template-template-digest-php .sidenav,
	.page-template-template-digest-php .content {
		position: static !important;
		width: 100%;
		padding-left: 0;
		margin-left: 0;
	}

}


/* Posts
-------------------------------------------------------------------------------*/
.entry-content a,
.read-more {
	font-weight: 700;
}
.read-more {
	white-space: pre;
}
.posts .has-post-thumbnail .left {
	padding-right: 1.5em;
}
.posts .has-post-thumbnail .entry {
	margin-left: 160px;
}


/* Widgets
-------------------------------------------------------------------------------*/
.main .widget_text {
	background-color: #fbf1bc;
	border-radius: 4px;
	font-size: .85em;
	line-height: 1.5em;
	padding: 1em;
	margin-bottom: 1em;
}
.widget_text {
	background-repeat: no-repeat;
	background-position: top right;
}
.widget-title {
	border: 0;
	padding: 0;
}
.widget_text h1,
.widget_text h2 {
	color: #be3a57;
	font-size: 1.35rem;
	width: 70%;
}
.widget_text h3 {
	margin-top: 0;
	border: 0;
}
.widget_text .button {
	display: block;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}
.widget_text p .button {
	margin-bottom: -1.25em !important;
}
@media screen and (max-width: 699px) {
	.main .widget {
		margin-top: 5em;
	}
}
.widget_text.text-5 {  background-image: url('_img/icon-twitter.png'); }
.widget_text.text-4 {  background-image: url('_img/icon-email.png'); }

.widget_simpleimage {
	background-color: #fff;
	border-radius: 4px;
	padding: 3%;
	margin-bottom: 2em;
	text-align: center;

}
.widget_simpleimage p {
	margin: 0;
	font-size: .7em;
}
.widget_simpleimage img {
	width: 100%;
}



/* Footer
-------------------------------------------------------------------------------*/
.footer {
	text-align: center;
}
.sponsorsplatinum {
	background-color: #be3a57;
}
.sponsorsplatinumheader {
	background-color: #be3a57;
}
.sponsorsplatinumheader-title {
	background-color: #232c4a;
	color: #fbf1bc;
	text-transform: uppercase;
	font-size: 1.25em;
	font-weight: 500;
	letter-spacing: .03em;
	padding: 1.25em;
	border: 0;
}
.sponsorsplatinum-title {
	background-color: #ab3556;
	color: #fbf1bc;
	text-transform: uppercase;
	font-size: 1.15em;
	font-weight: 500;
	letter-spacing: .03em;
	padding: 1.25em;
	border: 0;
}
.sponsorsplatinum .container {
	padding-bottom: 0px;
	margin-bottom: 0 !important;
}
.sponsorsplatinum img {
	display: inline-block;
	vertical-align:middle;
	max-width: 300px;
	max-height: 120px;
	margin: 2%;
}
.sponsorsgold {
	background-color: #be3a57;
}
.sponsorsgold-title {
	background-color: #ab3556;
	color: #fbf1bc;
	text-transform: uppercase;
	font-size: .85em;
	font-weight: 500;
	letter-spacing: .03em;
	padding: 1.25em;
	border: 0;
}
.sponsorsgold .container {
	padding-bottom: 0px;
	margin-bottom: 0 !important;
}
.sponsorsgold img {
	display: inline-block;
	vertical-align:middle;
	max-width: 200px;
	max-height: 90px;
	margin: 2%;
}
.sponsorssilver {
	background-color: #be3a57;
}
.sponsorssilver-title {
	background-color: #ab3556;
	color: #fbf1bc;
	text-transform: uppercase;
	font-size: .75em;
	font-weight: 500;
	letter-spacing: .03em;
	padding: 1.25em;
	border: 0;
}
.sponsorssilver .container {
	padding-bottom: 0px;
	margin-bottom: 0 !important;
}
.sponsorssilver img {
	display: inline-block;
	vertical-align:middle;
	max-width: 145px;
	max-height: 70px;
	margin: 2%;
}
.sponsorsthanks {
	background-color: #be3a57;
}
.sponsorsthanks-title {
	background-color: #ab3556;
	color: #fbf1bc;
	text-transform: uppercase;
	font-size: .75em;
	font-weight: 500;
	letter-spacing: .03em;
	padding: 1.25em;
	border: 0;
}
.sponsorsthanks .container {
	padding-bottom: 0px;
	margin-bottom: 0 !important;
}
.sponsorsthanks img {
	display: inline-block;
	vertical-align:middle;
	max-width: 145px;
	max-height: 70px;
	margin: 2%;
}
.credits {
	background-color: #7e2b54;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
	padding: 2em 0;
	border-top: 6px dashed #be3a57;
	line-height: 1em;
}
.credits a {
	color: #fbf1bc;
}
