/*
    Theme Name: Bigg Genesis Child Theme
	Description: Bigg is an 1140 responsive grid clone of Digg.com, using the Genesis Sandbox theme for the Genesis Framework.
    Author: Ian Nuttall, Open Designs
    Author URI: http://www.opendesigns.org
    Version: 1.0

    Template: genesis
    Template Version: 0.8

	License: GNU General Public License v2.0 (or later)
	License URI: http://www.opensource.org/licenses/gpl-license.php

	Massive hat tip to the guys over at Sure Fire Web Services for building such an impressive child theme for Genesis. :)
*/

/* Table of Contents

* Import Fonts
* Hyperlinks
* Body
* Grid
* Wrap
* Header
* Image Header - Partial Width
* Header / Primary / Secondary Navigation
* Inner
* Breadcrumb
* Content-Sidebar Wrap
* Content
* Featured Post Grid
* Popular & Upcoming Posts (Homepage)
* Likes
* Headlines
* Ordered / Unordered Lists
* Post Info
* Post Meta
* Author Box
* Post Icons
* Images
* Primary / Secondary Sidebars
* Form Buttons
* Search Form
* eNews & Updates Widget
* Calendar Widget
* Footer Widgets
* Footer
* Tables
* Locomotive boxes and liveries
* Misc
*/

@import url(main.css);

/* Metro Internet Explorer/W3C standard - allows mobile site in snapped view */

@-ms-viewport {
	width: device-width;
}

/* Hyperlinks
------------------------------------------------------------ */

a {
	color: #0d72c7;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.stories-table li a {
	font-weight: 700;
	font-size: 17px;
	color: #333;
	margin-left:1.5em;
}

.stories-table li a:hover {
	text-decoration: none;
	color: #009EDE;
}

/* Body
------------------------------------------------------------ */

html, body {
	font: 100%/120% "lft-etica", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: url('../images/bg.jpg') fixed center;
	background-size: cover;
}

::-moz-selection {
	background-color: #0d72c7;
	color: #fff;
}

::selection {
	background-color: #0d72c7;
	color: #fff;
}

/* Grid
------------------------------------------------------------ */

#content .genesis-grid {
    float: left;
    margin: 0;
    padding: 15px 0 10px 0;
}
#content .genesis-grid-column-1 {
    clear:left;
}
.size1of2 {
    width: 48%;
}
.size1of3 {
    width: 31%;
}
.size1of4 {
    width: 22.5%;
}
.size1of5 {
    width: 17.4%;
}
.size1of6 {
    width: 14%;
}
.first {
	clear: left;
}
.wrap .teaser.fourcol {
	margin-right: 0% !important;
	width: 33.3%;
}
/* Above widths assume 0 left padding on the first column, 3% left padding on all
subsequent columns, and a total sum of 99% to avoid browser rounding errors */

.teaser {
	border: 1px solid #D6D6D6;
	border-right: none;
	border-bottom: none;
	height: 470px;
}

.first {
	border-left: none;
}

/* Wrap
------------------------------------------------------------ */

.wrap {
	background-color: #fff;
	margin: 0 auto;
	padding: 0;
	overflow:hidden;
}


/* Header
------------------------------------------------------------ */

header {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: white;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
	border-bottom: 1px solid #DDD;
	position: fixed;
}

.site-header {
	padding: 10px 17px 5px 17px;
	max-width: 1340px;
	margin: 0 auto;
}

.site-header-logo-container {
	margin-bottom: 0;
	width: 195px;
	height: 35px;
	position: relative;
	top: -4px;
}

#logo {
	position: relative;
}

.image-replace {
display: block;
text-indent: -100em;
overflow: hidden;
}

#title-area {
	float: left;
	overflow: hidden;
	padding: 17px 0 0;
	width: 400px;
}

#title {
	font-size: 36px;
	line-height: 1.25;
	margin: 0;
}

#title a,
#title a:hover {
	color: #333;
	padding: 0 0 0 20px;
	text-decoration: none;
}

header .widget-area {
	float: right;
	padding: 25px 20px 0 0;
	width: 510px;
}

/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

header .menu {
}

.menu-primary {
}

.menu-secondary {
}

.menu-primary a,
.menu-secondary a,
header .menu a {
}

/* Menu Hover and current page */
.menu-primary li a:active,.menu-primary li a:hover,.menu-primary .current_page_item a,.menu-primary .current-cat a,.menu-primary .current-menu-item a,
.menu-secondary li a:active,.menu-secondary li a:hover,.menu-secondary .current_page_item a,.menu-secondary .current-cat a,.menu-secondary .current-menu-item a,
header .menu li a:active,header .menu li a:hover,header .menu .current_page_item a,header .menu .current-cat a,header .menu .current-menu-item a {
	color: #009ede;
}

/*Sub Menu Drop Down link*/
.menu-primary li li a,.menu-primary li li a:link,.menu-primary li li a:visited,.menu-secondary li li a,
.menu-secondary li li a:link,.menu-secondary li li a:visited,
header .menu li li a,header .menu li li a:link,header .menu li li a:visited {
	background: none;
	background-color: #fff;
	border-top: none;
	color: #666;
	font-size: 12px;
	padding: 9px 10px 8px;
	width: 138px;
}

/*Sub Menu Drop Down Hoveer */
.menu-primary li li a:active,.menu-primary li li a:hover,
.menu-secondary li li a:active,.menu-secondary li li a:hover,
header .menu li li a:active,header .menu li li a:hover {
	color: #009ede;
}

/* Plus Sign Image */
.menu li a .sf-sub-indicator,
.menu li li a .sf-sub-indicator,
.menu li li li a .sf-sub-indicator {
	background: url(images/icon-plus.png) no-repeat;
	height: 16px;
	position: absolute;
	right: 8px;
	text-indent: -9999px;
	top: 10px;
	width: 16px;
}

#page-nav {
position: absolute;
left: 217px;
top: -3px;
font-size: 14px;
}

#page-nav.horizontal-list {
margin: 0 9px 0 0;
}

.horizontal-list, .plain-list {
margin: 0;
padding: 0;
list-style: none;
}

#page-nav.horizontal-list li {
border-top: 3px solid #666;
margin: 0;
}

.nav-top-posts #page-nav .page-nav-top-posts, .nav-popular-posts #page-nav .page-nav-popular-posts, .nav-new-posts #page-nav .page-nav-new-posts {
border-top-color: #333;
}

.horizontal-list > li {
float: left;
margin: 0 .5em;
}

#page-nav {
font-size: 14px;
font-weight:lighter;
}



.nav-top-posts #page-nav .page-nav-top-posts a, .nav-popular-posts #page-nav .page-nav-popular-posts a, .nav-new-posts #page-nav .page-nav-new-posts a {
color: black;
background: #F7F7F7;
}

#page-nav a {
display: block;
color: #AAA;
padding: 14px 10px 15px;
text-align: center;
-webkit-transition: all 80ms;
-moz-transition: all 80ms;
-o-transition: all 80ms;
transition: all 80ms;
}

#page-nav a:hover, nav a:hover {

text-decoration: none;
color: #009ede;

}

#page-nav.horizontal-list .active {
	background: #F7F7F7;
	border-top-color: #333;
}

#page-nav .active a.page-anchor-link {
	color: black;
}

nav {
position: absolute;
right: 110px;
top: 14px;
padding-right: 20px;
font-size: 14px;
overflow: visible;
font-weight: lighter;
}

nav a {
color: #666;
text-shadow: 0 1px white;
}

nav.horizontal-list li {
margin: 0 17px 0 0;
}

nav.horizontal-list li a {
	padding: 0;
}

#site-header-bigg-social {
position: absolute;
right: 50px;
top: 14px;
}

#site-header-bigg-social .horizontal-list {
float: left;
}

#site-header-bigg-social .horizontal-list li {
margin: 0 3px 0 0;
}

.bigg-social-twitter {
background-image: url('../images/twitter.png');
}

.bigg-social-fb {
background-image: url('../images/facebook.png');
}

.bigg-social-gplus {
background-image: url('../images/googleplus.png');
}

.bigg-social-icon {
width: 20px;
height: 20px;
}

#menu-icon {
	display: hidden;
	width: 40px;
	height: 40px;
	background: #DDD url(../images/menu-icon.png) center;
	border-radius: 4px;
}

#menu-icon.active {
	background-color: #606060;
	border-radius: 4px 4px 0 0;
}

nav:hover #menu-icon {
	background-color: #606060;
}

/* Inner
------------------------------------------------------------ */

#inner {

	overflow: hidden;

}


/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb {
	font-size: 14px;
}


/* Content-Sidebar Wrap
------------------------------------------------------------ */

#content-sidebar-wrap {
	padding: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;

}

/* Content
------------------------------------------------------------ */

#content {

margin-top: 4em;
border-bottom: 3px solid #D6D6D6;

}

.single #content {
border-bottom: 0;
}

.content-sidebar #content,
.sidebar-content #content {

}

.full-width-content #content {
	width: 100%;
}

.post {
	margin: 0 0 0;
}

.entry-content {
	overflow: hidden;
	padding: 10px;
}

.entry-content p {
	margin: 0 0 25px;
}

blockquote {
	background: #f9f9f9;
	border-left: 10px solid #ccc;
	margin: 1.5em 10px;
	padding: 0.5em 10px;
	quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
	color: #ccc;
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
}

blockquote p {
	display: inline;
}

p.subscribe-to-comments {
	padding: 20px 0 10px;
}

.clear {
	clear: both;
}

.clear-line {
	border-bottom: 1px solid #ddd;
	clear: both;
	margin: 0 0 25px;
}


/* Featured Post Grid
------------------------------------------------------------ */

.genesis-grid-even {
}

.genesis-grid-odd {
}


/* Popular & Upcoming Posts (Homepage)
------------------------------------------------------------ */

popular-upcoming {
	clear: both;
}

.stories-section-header {
padding: 20px 17px 45px 10px;
}

.stories-section-header-hed {
margin: 0 0 2px;
font-size: 20px;
line-height: 22px;
font-weight: bold;
}

.stories-section-header-subhed {
margin: 0;
color: silver;
font-size: 20px;
font-weight: 400;
}

.stories-table {
width: 100%;
border: solid #CCC;
border-width: 1px 0 0 0;
margin: 0;
}

.stories-table li {
	padding:13px 0;
	border-bottom: 1px solid #F2F2F2;
}

.home .stories-table {
/*min-height: 400px; */

}

.plain-list {
overflow: hidden;
margin: 0;
padding: 0;
list-style: none;
}

/* Likes/Read More
------------------------------------------------------------ */

.bigg-likes,.bigg-read-more {

	border: 1px solid #E2E2E2;
background-color: white;
color: #9F9F9F;
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .00);
box-shadow: 0 1px 0 rgba(0, 0, 0, .00);
width: 100px;
padding: 4px;
}

.bigg-read-more {
	background: url(../images/arrow-right.png) no-repeat 85% 50%;
	display: inline-block;
	background-size: 15px 15px;
	-webkit-background-size: 15px 15px;
	font-size: 11px;
	font-weight:bold;
	padding: 4px;
	margin-left:10px;
	visibility:hidden;
	-webkit-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.post:hover .bigg-read-more {
	visibility:visible;
}

.bigg-read-more:hover {
	background: url(../images/arrow-right_active.png) no-repeat 95% 50%;
	background-size: 15px 15px;
	-webkit-background-size: 15px 15px;
	text-decoration: none;
	color: #009EDE;
}

span.bigg-likes-count {
	color: #9F9F9F;
font-size: 11px;
padding-right: 20px;
padding-left: 25px;
text-align: center;
border-right: 1px solid #E2E2E2;
}

div.updated {
	margin: 10px auto;
	text-align: center;
	font-size: 14px;
	font-style: italic;
	color: #999;
}


/* Headlines
------------------------------------------------------------ */

h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6 {
	line-height: 1.25;
	margin: 0 0 10px;
	font: "lft-etica", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#content h1,
#content h2,
#content h2 a,
#content h2 a:visited,
#content h3,
#content h4,
#content h5,
#content h6 {
	padding: 10px;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 28px;
	text-align: left;
	padding-left: 10px;
}

h3 {
	padding-left: 10px;
}

.taxonomy-description h1 {
	margin: 0;
}

h2 a,
h2 a:visited {
	color: black;
	font: "lft-etica", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
}

h2 a:hover {
	color: #0d72c7;
	text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
	font-size: 14px;
	margin: 0 0 5px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

.taxonomy-description h1,
.widget-area h4 {
	font-size: 18px;
	padding: 9px 10px 8px;
}

.widget-area h4 a {
	color: #333;
	text-decoration: none;
}

#footer-widgets h4 {
	background: none;
	border: none;
	padding: 0;
}

h5 {
	font-size: 18px;
}

h2.entry-title {
	margin-bottom: 0;
}

h2.recent-title {
	clear: left;
}

.teaser h2.entry-title {
	clear: left;
	text-align: center;
	font-size: 22px;
	line-height: 25px;
}

.feature h2.entry-title {
	clear: none;
	font-size: 37px;
	line-height: 38px;
}

/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {

}

.archive-page ul li,
.entry-content ul li {
	list-style-type: square;
}

.entry-content ol li {

}

/* Post Info
------------------------------------------------------------ */

.post-info {
	font-size: 14px;
	margin: -5px 0 15px;
}


/* Post Meta
------------------------------------------------------------ */

.post-meta {
	border-top: 1px solid #ddd;
	clear: both;
	font-size: 14px;
	padding: 5px 0 0;
}


/* Author Box
------------------------------------------------------------ */

.author-box {
	background-color: #f5f5f5;
}

.author-box p {
	font-size: 14px;
}


/* Post Icons
------------------------------------------------------------ */

.post-comments,
.tags {
	background: url(images/icon-dot.png) no-repeat left;
	margin: 0 0 0 3px;
	padding: 0 0 0 10px;
}


/* Images
------------------------------------------------------------ */

.avatar,
.featuredpage img,
.featuredpost img,
.post-image {
	background-color: #f5f5f5;
	border: none;
	padding: 4px;
}

.author-box .avatar {
	background-color: #fff;
	float: left;
	margin: 0 10px 0 0;
}

.post-image {
	margin: 0 10px 10px 0;
	display: inline-block;
	width: 93%;
}

div.inline-image {
	text-align: center;
	width: 80%;
	margin: 15px auto;
}

div.inline-image .caption {
	font-size: x-small;
	font-style: italic;
}

.teaser .post-image {
	margin: 10px !important;
	width: 93%;
}

.comment-list li .avatar {
	background-color: #fff;
	float: right;
	margin: 5px 0 0 10px;
}


/* Primary / Secondary Sidebars
------------------------------------------------------------ */

/* Link to sidebar on mobile */
.sidebar-link {
	display: none;
}

.sidebar {
	margin-right: 0px;
	margin-top: 3em;
}


.sidebar .widget {
	background-color: #fff;
	border: 1px solid #ddd;
	margin: 0 0 15px;
	padding: 0 0 15px;
}

.sidebar.widget-area ul li,
#footer-widgets .widget-area ul li {
	border-bottom: 1px solid #ddd;
	list-style-type: none;
	margin: 0 0 7px;
	padding: 0 0 5px;
	word-wrap: break-word;
}

/* Form Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"],
.button,
button {
	font-family: "source-sans-pro", Arial, "Helvetica Nueue", Helvetica, sans-serif;
	background-color: #999;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: none;
	display: inline-block;
	color: #EEE;
	font-size: 12px;
	font-weight: 400;
	padding: 10px 12px;
	text-decoration: none;
	margin-top: 10px;
	-webkit-appearance: none;
	text-shadow: 0 -1px 0 #666;
	-webkit-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	cursor:pointer;
}

input:hover[type="button"],
input:hover[type="submit"],
.button:hover,
button:hover {
	background-color: #009EDE;
	text-decoration: none;
}

input.form-field, select.form-field, textarea.form-field {
	display: block;
	min-width: 185px;
	padding: 8px 10px;
	font-size: 12px;
	background-color: #DDD;
	color: #666;
	border: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border-width: 1px;
	text-align: left;
	-webkit-appearance: none;
	box-shadow: 0 -1px 0 #555;
}

textarea.form-field {
	height: 36px;
}

input.form-field {
	height: 18px;
}

select.form-field {
	height: 33px;
}

select.form-field option {
	padding: 5px;
}

label {
	display: block;
}

label.error {
	color: #F76060;
}

/* Comment Form
------------------------------------------------------------ */
.comment-form-title {
	margin: 5px;
	text-align: center;
}

.comment-container {
	width: 90%;
	margin: 0 auto;
}

.comment-container label {
	margin-bottom: 5px;
}

.comment-container .response-message {
	margin-top: 11px;
	margin-bottom: 11px;
}

.comment-content-container {
	float: right;
	width: 50%;
}

.comment-content-container textarea{
	height: 135px;
}

.comment-name-container {
	float: left;
	width: 50%;
}

/* Search Form
------------------------------------------------------------ */

header .searchform {
	float: right;
	padding: 12px 0 0;
}

.sidebar .searchform {

}

/* eNews and Update Widget
------------------------------------------------------------ */

.enews p {

}

.enews #subscribe {

}

.enews #subbox {
	width: 75%;
}


/* Calendar Widget
------------------------------------------------------------ */

#wp-calendar {
}

#wp-calendar caption {
	font-size: 12px;
	font-style: italic;
	padding: 2px 5px 0 0;
	text-align: right;
}

#wp-calendar thead {
	background-color: #f5f5f5;
	font-weight: bold;
	margin: 10px 0 0;
}

#wp-calendar td {
	background-color: #f5f5f5;
	padding: 2px;
	text-align: center;
}


/* Footer Widgets
------------------------------------------------------------ */

#footer-widgets {
	clear: both;
	font-size: 14px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
}

#footer-widgets .wrap {
-moz-box-sizing:    border-box;
   -webkit-box-sizing: border-box;
   -ms-box-sizing:     border-box;
    box-sizing:        border-box;
}

#footer-widgets .widget {
	background: none;
	border: none;
	margin: 0 0 15px;
	padding: 0;
}

#footer-widgets .textwidget {

}

#footer-widgets p {
	font-size: inherit;
	margin: 0 0 10px;
}

#footer-widgets ul {
}

#footer-widgets ul li {
}

.footer-widgets-1 {
	float: left;
	margin: 0 30px 0 0;
	width: 31%;
	clear: both;
	padding-left: 0;
}

.footer-widgets-2 {
	float: left;
	width: 31%;
}

.footer-widgets-3 {
	float: right;
	width: 31%;
}

.textwidget.ads {
	max-height: 300px; /* to match Twitter */
}

/* Footer
------------------------------------------------------------ */

footer {
	background: #606060;
	padding: 3em 1em 0.5em;
	max-width: 1114px; /* IE8 */
	max-width: calc(1140px - 2em);
	margin: 0 auto;
}

footer, footer a, footer p {
	color: #DDD;
	font-size: 13px;
	line-height: 16px;
}

footer .wrap {
	background-color: #606060;
}

footer h4 {
	font-size: 1.2em;
	font-weight: bold;
	color: #DDD;
}

#footer {
	border-top: none;
}

footer .legalese {
	margin-top: 10px;
	color: #BBB;
font-size: 11px;
line-height: 13px;
}

.footer-copyright {
	margin-left: 17px;
padding-top: 22px;
color: #929292;
font-size: 11px;
}

footer .footer-copyright a {
	font-size:11px;
}

#footer .wrap {
	padding: 10px 15px;
	-moz-box-sizing:    border-box;
	   -webkit-box-sizing: border-box;
	   -ms-box-sizing:     border-box;
	    box-sizing:        border-box;
}

#footer p {
	font-size: inherit;
}

#footer a,
#footer a:visited {
	color: #333;
}

#footer a:hover {
	color: #0d72c7;
	text-decoration: none;
}

#footer .gototop {
	width: 31%;
}

#footer .creds {
	text-align: right;
	width: 65%;
}

footer .twocol, footer .threecol {
	margin-right: 2.8%;
}

/* Home page parallax */
.home-parallax-container {
	position: relative;
}

.home-parallax {
	padding-top: 50%;
	height: 0;
	background-size: cover;

	/* initial styles to avoid blank home page */
	background-position: 0 50%;
	background-repeat: no-repeat;
}

.home-parallax-text {
	font-weight: bold;
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 0.5em;
	font-size: 2em;
	line-height: 1.5em;
	z-index: 2;
}

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

	.sidebar-link {
		display: block;
	}

	.wrap .teaser.fourcol {
		float: none;
		width: 100%;
		height: auto;
		min-height: 200px;
		clear: left;
		padding:10px;
	}

	.teaser .post-image {
		width: 256px;
		float: left;

	}

	h2.entry-title, div.entry-content {
		display:inline;
	}

	#content-sidebar-wrap {
		padding: 0;
	}

	footer {
		padding: 3em;
	}

	h2 {
		padding-left: 0;
	}

	div.updated {
		text-align: left;
	}

	.home-parallax {
		background-position: 0 calc(50% - 8px);
	}

	.lg-caption {
		bottom: 100px;
	}

	.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-caption {
		bottom: 200px;
	}
}

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

	#menu-icon {
		display:inline-block;
	}

	.menu-primary, .menu-secondary, header .menu {
		width: auto;
	}

	nav {
		top: 5px;
	}

	nav ul {
		display: none;
	}

	nav li {
		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;
	}

	nav li a {
		display: block;
		width: 100%;
	}

	nav ul.show {
		display: block;
		position: absolute;
		padding: 20px;
		margin: 0;
		background: #fff;
		border: 5px solid #444;
		right: 20px;
		top: 40px;
		border-radius: 4px 0 4px 4px;
	}

	div.entry-content {
		display: block;
	}

	.wrap .onecol, .wrap .twocol, .wrap .threecol, .wrap .fourcol, .wrap .fivecol, .wrap .sixcol, .wrap .sevencol, .wrap .eightcol, .wrap .ninecol, .wrap .tencol, .wrap .elevencol, .wrap .twelvecol {
		padding-left: 0!important;
		padding-right: 0!important;
	}

	#popular-upcoming {
		border-bottom: 3px solid #D6D6D6;
	}

}

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

	nav {
		right: 0;
	}

	.teaser .post-image, .alignleft {
		float: none!important;

	}

	.teaser .post-image {
		margin: 0!important;
		height: 170px;
	}

	.wrap .teaser.fourcol, .wrap .feature, h2.entry-title {
		text-align: center;
	}

	div.entry-content {
		text-align: left;
	}

	h2.entry-title {
		display: block;
	}

	#site-header-bigg-social {
		display: none;
	}

	#page-nav {
		left: 213px;
		font-size: 12px;
	}

	#page-nav a {
		padding: 14px 5px 15px;
	}

	img {
		height: auto;
		max-width: 98%;
	}

}

@media only screen and (min-width: 1533px) {
	#page-nav {
		left: 260px;
	}
}

@media only screen and (min-width: 1733px) {
	#page-nav {
		left: 495px;
	}
}

@media only screen and (min-width: 2113px) {
	#page-nav {
		left: 730px;
	}
}

/* Tables
------------------------------------------------------------ */

/*
	Web20 Table Style
	written by Netway Media, http://www.netway-media.com
*/
div.table > table {
	margin: 0 auto;
	border-collapse: collapse;
	border: 1px solid #666666;
	font: normal 11px verdana, arial, helvetica, sans-serif;
	color: #363636;
	background: #f6f6f6;
	text-align: left;
	max-width: 80%;
}

div.table > table caption {
	text-align: center;
	font: bold 16px arial, helvetica, sans-serif;
	background: transparent;
	padding:6px 4px 8px 0px;
	color: #CC00FF;
	text-transform: uppercase;
}

@media only screen and (min-width: 801px) {
	div.table > table th, div.table > table td {
		padding: 5px;
	}
}

div.table > table a {
	color: #333333;
	text-decoration:none;
}

div.table > table a:hover {
	text-decoration:underline;
}

div.table > table:not(#comments) tr:nth-child(odd) {
	background: #f1f1f1;
}

div.table > table table tr img {
	float: left;
}

div.table > table td p {
	font: normal 11px verdana, arial, helvetica, sans-serif;
}

/* Tables on mobile */

@media only screen and (max-width: 800px) {
	table, thead, tbody, th, td, tr {
		display: block;
	}

	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	tr {
		border: 1px solid #CCC;
		overflow: auto;
	}

	tr img {
		float: none;
	}

	td {
		/* Behave like a "row" */
		border: none;
		position: relative;
		padding-left: 50%;
	}

	table:not(#aspects) td {
		border-bottom: 1px solid #eee;
	}

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		font-weight: bold;
	}

	/* Styles specific to each table */

	table#aspects td:nth-of-type(1) {
		padding-left: 10px;
		float: left;
	}

	table#types td:nth-of-type(1), table#types td:nth-of-type(2) {
		padding-left: 20px;
		display: inline-block;
	}

	table#subsidiary td:nth-of-type(1):before { content: "Light"; }
	table#subsidiary td:nth-of-type(2):before { content: "Name"; }
	table#subsidiary td:nth-of-type(3):before { content: "Description"; }
	table#subsidiary td:nth-of-type(4):before { content: "Usage"; }

	table#types td:nth-of-type(3):before { content: "Classification"; }
	table#types td:nth-of-type(4):before { content: "Identifying features"; }
	table#types td:nth-of-type(5):before { content: "Passing at Stop"; }
	table#types td:nth-of-type(6):before { content: "Typical uses"; }

	table#unusual td:nth-of-type(1):before { content: "Photo"; }
	table#unusual td:nth-of-type(2):before { content: "Signal identification"; }
	table#unusual td:nth-of-type(3):before { content: "Features"; }

}

/* Locomotive boxes and liveries
------------------------------------------------------------ */

.locomotive {
	height: auto;
	width: 131px;
	padding: 5px;
	margin: 5px;
	border: 1px solid #666;
	background: #FFF;
	text-align: center;
	display: inline-block;
}

.locomotive p {
	margin: 0;
	color: inherit;
}

.nz-government-railways {
	background-color: #8B0000;
	color: #FFF;
}

.international-orange {
	background-color: #F00;
	color: #FFF;
}

.tranz-rail-blue {
	background-color: #1E90FF;
	color: #000;
}

.tranz-rail-black {
	background-color: #000;
	color: #FF0;
}

.toll-rail {
	background-color: #0F0;
	color: #000;
}

.maxx-blue {
	background-color: #34307C;
	color: #FF0;
}

.metlink {
	background-color: #0B273B;
	color: #E7F03D;
}

.kiwirail {
	background-image: linear-gradient(left, rgb(80,80,80) 18%, rgb(255,0,0) 73%);
	background-image: -o-linear-gradient(left, rgb(80,80,80) 18%, rgb(255,0,0) 73%);
	background-image: -moz-linear-gradient(left, rgb(80,80,80) 18%, rgb(255,0,0) 73%);
	background-image: -webkit-linear-gradient(left, rgb(80,80,80) 18%, rgb(255,0,0) 73%);
	background-image: -ms-linear-gradient(left, rgb(80,80,80) 18%, rgb(255,0,0) 73%);

	background-image: -webkit-gradient(
		linear,
		left bottom,
		right bottom,
		color-stop(0.18, rgb(80,80,80)),
		color-stop(0.73, rgb(255,0,0))
	);
	color: #FFF;
}

.auckland-transport {
	background-color: #1E3D51;
	color: #FFF;
}

.in-service {
}

.in-service-for-auckland-transport > p:first-of-type:after {
	content: url("../images/status/at-service.png");
	margin-left: 5px;
}

.undergoing-commissioning > p:first-of-type:after {
	content: url("../images/status/commissioning.png");
	margin-left: 5px;
}

.overhaul, .under-overhaul {
	text-decoration: overline;
}

.withdrawn {
	text-decoration: line-through;
}

.scrapped {
	text-decoration: line-through overline underline;
}

.preserved > p:first-of-type:after {
	content: url("../images/status/preserved.png");
	margin-left: 5px;
}

.sold-overseas > p:first-of-type:after {
	content: url("../images/status/sold.png");
	margin-left: 5px;
}

.unknown > p:first-of-type:after {
	content: url("../images/status/unknown.png");
	margin-left: 5px;
}

#loco-key {
	margin-top: 50px;
}

#loco-key .locomotive {
	padding: 5px 2px;
	display: inline-block;
}

#loco-key .locomotive p {
	font-size: 0.5em;
}

/* Locomotive boxes and liveries
------------------------------------------------------------ */

.details {
	font-style: italic;
	font-size: 12px;
	margin-bottom: 10px;
}

.note {
	font-style: italic;
}

.credits {
	font-style: italic;
	margin-top: 10px;
	font-size: 12px;
}

.imgmarker {
	font-size: large;
	vertical-align: top;
}

.rss-button {
	float: right;
}

dt {
	margin-top: 25px;
	font-weight: 600;
}

.tip {
	font-size: 14px;
	font-style: italic;
}

input#class {
	text-transform: uppercase;
}

hr {
	border: 0;
	height: 1px;
	background: #333;
	background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc);
	background-image: -moz-linear-gradient(left, #ccc, #333, #ccc);
	background-image: -ms-linear-gradient(left, #ccc, #333, #ccc);
	background-image: -o-linear-gradient(left, #ccc, #333, #ccc);
}

.pages {
	clear: both;
	padding: 10px;
	font-size: 0.9em;
	margin: 10px 50px;
}

.pagenumber {
	padding: 10px;
	margin: 0 auto;
	text-align: center;
}

.previouspage {
	float: left;
	padding: 10px;
}

.nextpage {
	float: right;
	padding: 10px;
}

.tagline {
	text-align: center;
	font-style: italic;
}

.image-crop.post-image {
    width: 248px;
    height: 170px;
	border: 4px solid #F5F5F5;
	padding: 0;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.image-crop.large {
	width: calc(100% - 20px - 8px);
	height: 230px;
}

.image-crop a {
	display: block;
	width: 100%;
	height: 100%;
}

/* Set the image to fill its parent and make transparent */
.image-crop img {
   min-height: 100%;
   min-width: 100%;

   /* IE 8 */
   -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
   /* IE 5-7 */
   filter: alpha(opacity=0);
   /* modern browsers */
   opacity: 0;
}

/* Search begin */
.search-result {
	margin: 10px 0;
}

.result-header {
	font-size: 20px;
	display: block;
}

.result-details {

}

.query-match {
	font-weight: bold;
}

.search-results li {
	list-style-type: none !important;
	min-height: 97px;
	padding: 10px;
	margin: 0 30px 20px 0;
	min-height: 120px;
}

.search-results li img {
	float: left;
	margin-right: 10px;
 }

.search-results li .img-container {
	float: left;
	width: 190px;
}
/* Search end */

.response-message {
	color: #48A248 !important;
}

.date-taken {
	font-size: 0.6em;
	font-style: italic;
}

.lg-image-caption {
	display: none;
}

.lg-sub-html, .lg-caption {
	padding: 10px 70px !important;
}

.lg-sub-html * {
	color: inherit;
}

.lg-caption {
	bottom: 0;
	transition: bottom 0.25s ease 0s;
	color: #eee;
	font-size: 16px;
	left: 0;
	padding: 10px 40px;
	position: fixed;
	right: 0;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.45);
	z-index: 1080;
}

.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-caption {
	bottom: 100px;
}

.lg-caption * {
	color: inherit;
}

.lg-caption h4 {
	font-size: 13px;
	font-weight: 700;
	margin: 0;
}

.lg-caption p {
	font-size: 12px;
	margin: 5px 0 0;
}

/* TMS calculator */

#tms-calculator {
	text-align: center;
}

#tms-calculator #tms-container {
	display: inline-block;
}

#tms-calculator #tms-input {
	text-transform: uppercase;
}

#tms-calculator #form-container {
	display: inline-block;
}

#tms-calculator #results {
	padding-top: 8px;
	font-size: 20px;
	color: #aaa;
}

#tms-calculator .description {
	margin: 18px 0;
}

#tms-calculator .fullid {
	font-weight: 700;
	color: #000;
}

#tms-calculator input {
	width: calc(100% - 6px - 24px);
}

#tms-calculator button {
	min-width: 210px;
}

#tms-count {
	width: 35px;
}

/* End TMS calculator */

/* Ticket calculator */
#ticket-calculator {
	text-align: center;
}

#ticket-calculator #ticket-container {
	display: inline-block;
}

#ticket-calculator #out p {
	font-size: 30px;
}

#ticket-calculator #ticket-prices {
	display: inline-block;
}

#ticket-calculator #total-price {
	font-weight: bold;
}

#ticket-calculator .input-container {
	min-width: 330px;
	clear: both;
	text-align: center;
}

#ticket-calculator .input-container input, #ticket-calculator .input-container input:disabled {
	width: 50px;
	border: 1px solid #CCC;
	color: #888;
	margin-bottom: 16px;
	margin-right: 6px;
	margin-top: 2px;
	outline: 0 none;
	padding: 6px 12px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-size: 40px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

#ticket-calculator .input-container label {
	display: block;
	font-size: 26px;
}

#ticket-calculator .input-container span {
	font-size: 40px;
}

#ticket-calculator button.down, #ticket-calculator button.up {
	height: 94px;
	min-width: 80px;
	width: 80px;
	padding: 10px 25px;
	font-weight: 700;
	font-size: 50px;
	cursor: pointer;
	margin-top: 5px;
}

#ticket-calculator button.down {
	float: left;
}

#ticket-calculator button.up {
	float: right;
}
