/*  
Theme Name: Dean’s Trains + Things
Version: v1
Author: Good Creations
Author URI: http://www.goodcreations.com
Description: Custom WordPress theme for Dean’s Trains + Things website featuring custom layout options and a responsive layout that looks great on any device, big or small.
*/

body {
	margin: 0;
	font-family: 'Raleway', Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	vertical-align: top;
	color: #000000;
	background-color: #ffffff;
}
a {
	color: #000000;
}
a:hover {
	color: #385892;
	text-decoration: none;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
}
b, strong {
	color: #385892;
}
h2, h3, h4 {
	clear: left;
	margin-bottom: 1.25em;
}
h2 {
	font-size: 	1.5em
}
h3 {
	font-size: 1.375em;
}
h4 {
	font-size: 1.25em;
}
.alignleft {
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
}
.alignright {
	float: right;
	padding-left: 20px;
	padding-bottom: 20px;
}
.aligncenter, img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry .clearfix {
	margin: 20px 0;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
.circleimg img {
	border-radius: 50%;
}
.small-text {
		font-size: 14px;
}
.red {
	color: #9c1a1a;
}
.shadow {
	-webkit-box-shadow: 0px 5px 5px 0px rgba(209,209,209,1);
    -moz-box-shadow: 0px 5px 5px 0px rgba(209,209,209,1);
    box-shadow: 0px 5px 5px 0px rgba(209,209,209,1);
}
.fa-ul {
    list-style-type: none;
    margin-left: 2.5em;
    padding-left: 0;
}

/* HEADER ELEMENTS */

#fpheader-wrapper {
	width: 100%;
	overflow: visible;
	display: table;
	border-bottom: 5px solid #385892;
}
.header-wrapper {
	max-width: 1400px;
    margin: 0 auto 10px auto;
	display: flex;
	flex-flow: row wrap; 
	justify-content: center;
	padding: 0;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#logo { 
	width: 594px;
	margin: 10px 0 10px 10px;
	max-width: 594px;
	text-align: center;
	flex-basis: auto;
}
#nav-wrapper {
	margin: 29px 10px 10px 10px;
	flex-basis: auto;
}

.content-container  {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	display: table;
}
/* Nav Menu Elements */



/* Nav Menu Elements */




/* Container Elements */
#container-wrapper {

}
#container-index {
	width: 98%;
	margin: 0 auto 0 auto;
	max-width: 1300px;
	padding: 0;
	display: table;
}
#container {
	width: 92%;
	margin: 0 auto 0 auto;
	max-width: 1200px;
	padding: 2%;
}
.content-container  {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	display: table;
}
/* Front Page Elements */

#fp-slider {
	clear: both;
	height: auto;
	width: 100%;
	border-bottom: 5px solid #385892;
}
.fpslider-text {
	color: #ffffff;
	font-size: 100%;
	max-width: 800px;
	padding: 3% 6% 3% 6%;
	display: table;
	background-color: rgba(56, 88, 146, .85);
	text-align: center;
	width: 100%;
}
.fpslider-text h3 {
	font-size: 142%;
    margin: 0 0 1% 0;
    font-weight: 800;
	line-height: 1.3;
	color: #ffffff;
	text-transform: uppercase;
}
.fpslider-text p {
	font-size: 120%;
    margin: 0;
    font-weight: normal;
	line-height: 1.3;
	color: #ffffff;
}

.fpslider-text a {
	color: #ffffff;
}
.fpslider-text h5 {
	margin-top: 5%;
}
.fpslider-text h5 a {
    font-size: 180%;
	padding: 2% 4%;
	font-weight: normal;
	text-decoration: none;
	color: #ffffff;
	background: #000000;
	border-radius: 15px;
	text-transform: uppercase;
}
.fpslider-text h5 a:hover {
	background: #000000;
	color: #ffffff;
}


.index-container {
	width: 98%;
	display: table;
	padding: 2% 1%;
	margin: 0 auto;
}


ul#fp-categories {
	margin: 40px auto 0 auto;
	width: 98%;
	max-width: 1340px;
	display: flex;
	flex-flow: row wrap; 
	justify-content: center;
	padding: 0;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
ul#fp-categories li {
	width: 300px;
	margin: 0 15px 30px 15px;
	flex-basis: auto;
	text-align: center;
	list-style-type: none;
	color: #000000;
	padding: 0;
	font-weight: 300;
}
ul#fp-categories li:hover {
	opacity: .65;
	
}
ul#fp-categories li img {
	border-radius: 50%;
	border-right: 8px solid #385892;
	border-bottom: 8px solid #385892;
}
ul#fp-categories li h4 {
	margin-top: 5px;
}
ul#fp-categories h4 a {
	font-size: 24px;
	font-weight: normal;
	color: #000000;
}
#fp-products {
	width: 100%;
	display: table;
	margin: 40px 0 60px 0;
}
#fp-products h4 {
	font-size: 36px;
	display: table;
	margin: 0 auto 30px auto;
    line-height: 1.3;
	text-align: center;
	color: #2a2a2a;
	font-weight: 600;
	text-transform: uppercase;
	border: 1px solid #000000;
	padding: 10px 20px;
}
#fp-products ul {
	margin: 0 auto;
	width: 96%;
	max-width: 1300px;
	display: flex;
	flex-flow: row wrap; 
	justify-content: center;
	padding: 0;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#fp-products ul li {
	width: 270px;
    margin: 0 10px 20px 10px;
    flex-basis: auto;
    text-align: center;
    list-style-type: none;
    padding: 15px;
	font-weight: 500;
	font-size: 24px;
	border: 1px solid #e2dfdf;
	-webkit-box-shadow: 0px 5px 5px 0px rgba(226,223,223,1);
    -moz-box-shadow: 0px 5px 5px 0px rgba(226,223,223,1);
    box-shadow: 0px 5px 5px 0px rgba(226,223,223,1);
}
#fp-products ul li:hover {
	opacity: .65;
	
}
#fp-products .product-title {
	font-size: 24px;
	font-weight: 500;
	color: #000000;
	display: block;
	margin: 10px auto 5px auto;
}

#fp-products a ul li {
	color: #000000;


}
#fp-products .amount {
	display: none;
}
#fp-products .star-rating {
	display: none;
}



.gform_button.button {
	 font-size: 24px;
	padding: 1% 8%;
	text-decoration: none;
	color: #ffffff;
	background: #385892;
	margin: 0 auto;
	display: table;
	text-align: center;
	font-weight: 900;
	text-transform: uppercase;
} 
#gform_wrapper_2 .gform_button.button {
    text-align: center !important;
	display: table !important;
	margin: 0 auto !important;
}
p.has-background {
    display: table !important;
}
/* Sidebar Elements */


#sidebar {
	float: right;
	padding: 0;
	width: 30%;
	max-width: 300px;
}
#sidebar ul {
	padding: 0;
	margin: 0;
}
#sidebar li {
	list-style-type: none;
	list-style-image: none;
}
#sidebar h4 {
	font-size: 22px;
	margin: 0 0 10px 0;
}
#sidebar a {
	color: #363636;
	text-decoration: none;
}
#sidebar .widget {
	margin-bottom: 1.875em;
}
#sidebar ul ul li {
	padding: 0.625em 0;
	border-bottom: 1px solid #cccccc;
}
#sidebar ul ul {
	margin: 0;
	padding: 0;
}
#searchform {
	margin-top: 0.938em 0;
}
#searchform label {
	display: none;
}
.execphpwidget {
	padding-bottom: 0.938em;
}
#pagenav ul {
	padding: 1.563em;
}
#pagenav li {
	margin-bottom: 0.5em;
}
.cat-blog-post {
	float: none;
	width: 95%;
	margin: 0 0 3% 0;
	overflow: hidden;
	display: table;
	border-bottom: 1px solid #cccccc;
	padding-bottom: 15px;
}
.cat-blog-pic {
	width: 21%;
	max-width: 200px;
	margin-right: 15px;
	float: left;
}
.cat-blog-textbox {
	float: left;
	width: 70%;
	line-height: 1.3;
	font-size: 22px;
}
.cat-blog-textbox h4 {
	margin: 0 !important; 
	padding: 0;
	font-weight: 700;
	font-size: 26px;
	}
.cat-blog-textbox p {
	margin-top: 10px;
}

/* H4 Removal */



/* POST  */

.post {
	width: 65%;
	float: left;
	margin-right: 4%;
	min-height: 500px;
}
.fullpage-post {
	width: 100%;
	max-width: 1300px;
	min-height: 470px;
}
.post h1, .fullpage-post h1 {
    color: #000000;
	font-weight: bold;
	font-size: 46px;
	padding: 0 0 0 0 !important;
    margin: 0 0 30px 0;
	line-height: 1.2;
	}
.post h2, .post h3, .post h4, .fullpage-post h2, .fullpage-post h3, .fullpage-post h4, .post h5, .fullpage-post h5 {	
	margin: 35px 0 0 0;
   }
.entry {
	line-height: 1.5;
	width: 100%;
	overflow: visible;
}

ul.nospace {
	margin-top: 0;
	padding-top: 0;
}
h3.nospace, h2.nospace {
	margin-bottom: 0;
}
blockquote {
	font-style: italic;
	width: 85%;
	padding: 20px 30px;
	background:#ececec;
	position: relative;
	margin: 0;
}

blockquote:before {
	display: block;
	content: "\201C";
	font-size: 80px;
	position: absolute;
	left: -5px;
	top: -10px;
	color: #7a7a7a;
}

blockquote cite {
	color: #999999;
	font-size: 14px;
	display: block;
	margin-top: 5px;
}

blockquote cite:before {
	content: "\2014 \2009";
}
.gform_wrapper .top_label textarea.textarea {
	width: 80% !important;
}
.gform_wrapper .top_label .gfield_label {
	margin-top: 30px;
}
div.featuredbox {
	border: 1px solid #770f1e;
	padding: 25px 15px 0 15px;
	margin: 20px 0;
	display: table;
	width: 96%;
	background-color: #f5d9ad;
}
/* Category Page */

.comments-template {
	clear: both;
	padding-top: 0.938em;
}
#postmeta, #postmeta a {
	color: #949292;
}
.columns {
	float: left;
	width: 47%;
	margin: 0 30px 40px 0;
	display: table;
	min-height: 280px;
}

/* Shopping Cart */

.woocommerce ul.products li.product .price {
    color: #363636 !important;
}
.wppp-select {
	margin-top: 5px;
}
a.button.add_to_favorites.active  {
	display: none;
}
/* Store Page */

.woocommerce-breadcrumb {
	font-size: 12px;
	margin-bottom: 20px;
}

ul.products {
	clear: both;
	overflow: visible;
	padding: 0;
	margin: 0;
}
ul.products li {
	float: left;
	width: 28%;
	margin: 10px 16px 20px 16px;
	list-style: none;
	list-style-image: none;
	list-style-type: none;
	text-align: center;
	min-height: 320px;
}
.productsbytag ul.products li {
	min-height: 340px !important;
}
ul.products a {
	text-decoration: none;
	color: #385892;
}
.woocommerce ul.products li.product a img {
    margin: 0 0 0 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 28px !important;
	font-weight: normal !important;
	padding: .25em 0 0 !important;
}
ul.products h3 {
	margin: 10px 0 0 0;
	font-size: 20px !important;
	font-weight: 300 !important;
}
ul.products span.amount, ins {
	display: block;
	margin: 0 auto;
	text-decoration: none;
}

	
ul.products a.button {
	display: none;
}
.woocommerce-ordering {
	float: right;
	text-align: right;
	padding: 5px 0 10px 0;
}
.product-extrainfo {
	float: right;
	width: 100px;
	padding: 10px;
	margin: 0 0 20px 20px;
	font-size: 12px;
	background-color: #FEFFC6;
}
ul.page-numbers {
	padding: 0;
	margin: 0;
	height: auto;
}
ul.page-numbers::before {
	content: "MORE ON PAGE: ";
	font-size: 14px;
	color: #666666;
}
ul.page-numbers li {
	display: inline-block;
	list-style-type: none;
	font-size: 14px;
	border: 1px solid #fefefe;
	padding: 3px 8px;
	color: #666666;
}
ul.page-numbers a {
	color: #666666;
}
ul.page-numbers li current {
	border: 1px solid #FFF;
}
ul.page-numbers li:last-child a {
	border: 0;
	text-decoration: none;
}
.variations {
	margin-bottom: 20px;
}
.reset_variations {
	margin-left: 10px;
}
.woocommerce-info {
    border-top-color: #666666 !important;
}
.woocommerce-info:before {
    color: #666666 !important;
}
/* Shop Product Page */
.woocommerce span.onsale {
	background-color: #385892 !important;
}
div.images {
	float: left;
	width: 45% !important;
	margin: 0 40px 40px 0;
}
div.thumbnails {
	margin-top: 20px;
	margin-right: 20px;
}
div.summary {
	float: left !important;
	width: 45% !important;
	overflow: hidden;
}
h1.product_title, h1.page-title {
	color: #000000;
	font-weight: normal;
	font-size: 44px;
	text-transform: capitalize;
	padding: 5px 0 0 0 !important;
	margin: 0 0 5px;
	line-height: 1;
}
.woocommerce-result-count {
	font-size: 12px;
	margin: 0 0 20px 0;
	padding: 0;
}
.woocommerce div.product p.price {
	font-weight: bold;
	font-size: 22px !important;
	color: #385892 !important;
	padding: 0;
	margin: 0;
}
div.quantity input {
	float: left;
	width: 40px;
	height: 32px !important;;
	font-size: 16px;
	margin: 1px 20px 20px 0;
	text-align: center;
	vertical-align: top;
}
div.quantity button {
	float: left;
}
.single_add_to_cart_button {
	background-color: #272727;
	padding: 8px 12px !important;
	color: #FFF;
	font-size: 20px !important;
	border: 0;
	font-weight: normal;
	text-transform: uppercase;
	margin: 0 !important;
	height: 38px !important;
}
.woocommerce div.product form.cart .variations select {
    font-size: 18px !important;
    border: 1px solid #333 !important;
    padding: 5px 10px !important;
    border-radius: 0 !important;
}

.product_meta {
	clear: both;
	margin-top: 40px;
}
.sku_wrapper {
	font-size: 12px;
}
div.woocommerce-tabs, div.related {
	float: left;
	clear: both;
	margin-top: 40px;
	width: 98%;
}
div.product .woocommerce-tabs ul.tabs {
	margin: 0 !important;
}
.panel {
	border-left: 1px solid #d3ced2;
	border-right: 1px solid #d3ced2;
	border-bottom: 1px solid #d3ced2;
	padding: 15px !important;
}
.panel h2 {
	margin-top: 0;
	padding-top: 0;
}
div.related.products h2 {
	background-color: #272727;
	padding: 8px 12px;
	margin: 0 0 15px 0;
	display: inline-block;
	font-size: 18px;
	color: #fff;
}
div.related.products li.product .price {
    color: #385892 !important;
}
div.related.products ul.products li {
	min-height: 300px;
}
.entry-content h2 {
	color: #385892;
}
div.related.products .star-rating {
	display: none;
}
ul.products .star-rating {
	text-align: center;
	display: table !important;
	margin: 0 auto .5em auto !important;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background-color: #385892 !important;
	margin-top: 15px;
    opacity: 1 !important;
}
.woocommerce .cart-collaterals .cross-sells, .woocommerce-page .cart-collaterals .cross-sells {
    width: 100% !important;
    float: left;
}
.woocommerce #review_form #respond p {
    margin: 10px 0 10px 0 !important;
}
dd {
	padding: 0 !important;
	-webkit-margin-start: 5px !important;
}
dd p {
	margin: 0;
	padding: 0;
	text-align: left;
}
input.input-text  {
	font-size: 18px;
	height: 40px !important;
}
p.comment-form-comment label {
	clear: both;
	float: left;
}
p.comment-form-comment textarea, p.form-submit {
	clear: both;
	float: left;
}
ol.commentlist {
	list-style-type: none;
	padding: 0;
	margin: 20px 0;
}
ol.commentlist li {
	border: 1px double #CCC;
	padding: 10px;
}
.comment_container img {
	display: none;
}
p.meta strong {
	text-transform: uppercase;
}
p.meta {
	font-size: 12px;
	color: #999;
}
.posted_in {
	display: none;
}
div.related ul.products li {
	width: 21%;
	display: inline-block;
	margin: 0 15px;
}
div.related ul.products li img {
	width: 100%;
	height: auto;
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
	width: 60% !important;
}
.cart_totals th {
	vertical-align: top;
}
.cart_totals td {
	padding: 2px 0 0 20px;
	font-size: 14px;
	vertical-align: top;
}
.tagged_as {
	display: none;
}
nav.woocommerce-MyAccount-navigation ul {
	display: table;
	padding: 0 0 20px 0;
	margin: 0 0 20px 0;
	
}
nav.woocommerce-MyAccount-navigation ul li {
	float: left;
	list-style-type: none;
}
nav.woocommerce-MyAccount-navigation ul li a {
	text-decoration: none;
	margin: 0 15px 10px 15px;
	padding: 8px 16px;
	border: 1px solid #000000;
	background: #000000;
	color: #ffffff;
}

nav.woocommerce-MyAccount-navigation ul li::first a {
	margin-left: 0;
}
nav.woocommerce-MyAccount-navigation ul li a:hover {
	background: #385892;
	border: 1px solid #385892;
	color: #ffffff;
}

/* Footer */


#footer-wrapper {
	width: 98%;
    padding: 1%;
	overflow: hidden;
	color: #ffffff;
	background-color: #000000;
	border-top: 5px solid #385892;
}
#footer-content-wrapper {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap; 
	justify-content: center;
	padding: 0;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	color: #ffffff;
}
#footer-content-wrapper a {
	color: #ffffff;
}
#footer-section-left {
	flex-basis:auto;
	width: 550px;
	margin: 0 auto;
}

#footer-left-img {
	width: 125px;
	float: left;
}
#footer-left-text {
    float: left;
	width: 70%;
    margin-left: 20px;
}
#footer-left-text h3 {
	margin: 0 0 10px 0;
	font-size: 24px;
}
#footer-left-text a {
	color: #7facfe;
}
#footer-section-right {
	flex-basis:auto;
	width: 550px;
	margin: 0 auto;
	text-align: center;
}
#footer-section-right h3 {
	margin: 5px 0 10px 0;
	font-size: 24px;
	font-weight: normal;
}
#footer-section-right h3 strong {
	color: #7facfe;
	font-weight: 900;
}
#footer-left-right a {
	color: #ffffff;
}
#copyright {
	margin-top: 0;
	font-size: 16px;
	font-weight: 200;
	padding: .75%;
	line-height: 1.3;
}
#copyright a {
	color: #ffffff;
}
#copyrightlinks {
	font-size: 18px;
	margin-top: 5px;
}
#footer-img {
	margin: 0 auto 15px auto;
	text-align: center;	
}


/* Media Query Section */



@media screen and (max-width: 1150px) {
	
#logo { 
    float: none;
    margin: 10px auto 0 auto;
    width: 98%;
    text-align: center;
    padding: 1%;
	max-width:none;
	box-shadow: none;
	border: 0;
}


}

@media screen and (min-width: 781px) and (max-width: 1150px) {
#header-content {
    width: 100%;
    float: none;
	margin: 10px auto 10px auto;
}	
}
@media screen and (max-width: 780px) {
.header-wrapper {
    max-width: 1400px;
    margin: 0 auto 0 auto;
	}
#header-content {
    width: 100%;
    float: none;
	margin: 10px auto 0 auto;
}	
}
@media screen and (max-width: 1035px) {

.fullpage-post, .content-container  {
	width: 100%;
	margin: 0 auto;
}
}

@media screen and (max-width: 850px) {
.fpslider-text {
	color: #ffffff;
	font-size: 100%;
	max-width: 320px;
	padding: 3% 6% 3% 6%;
	display: table;
	background-color: rgba(56, 88, 146, .85);
	text-align: center;
	width: 320px;
}
.fpslider-text h3 {
	font-size: 180%;
    margin: 0 0 1% 0;
    font-weight: 800;
	line-height: 1.3;
	color: #ffffff;
	text-transform: uppercase;
}
.fpslider-text p {
	font-size: 140%;
    margin: 0;
    font-weight: normal;
	line-height: 1.3;
	color: #ffffff;
}	
}
@media screen and (max-width: 780px) {	
	#nav-wrapper {
    width: 100%;
    float: none;
	margin: 10px auto 0 auto;
}

.cat-blog-post {
	float: none;
	width: 96%;
	margin: 0 auto 3% auto;
	overflow: hidden;
	display: table;
}	
.fp-blog-pic, .post .fp-blog-pic {
	float: none;
	width: 100%;
	max-width: 400px;
	margin: 0 auto 15px auto;
	text-align: center;
}
	
.post {
	width: 100%;
	float: none;
	margin-right: 0;
	min-height: 0;
	margin-bottom: 30px;
}
#sidebar {
	float: none;
	padding: 10px;
	width: 90%;
	max-width: none;
	text-align: center;
}
div.woocommerce-tabs, div.related {
	margin-top: 10px;
}
div.images {
	float: none !important;
	width: 95% !important;
	margin: 0 auto 40px auto !important;
}
div.summary {
	float: none !important;
	width: 95% !important;
	overflow: hidden;
	margin-bottom: 0 !important;
}	

}

@media screen and (max-width: 650px) {
.entry-img {
	float: none;
	margin: 0 auto 25px auto;
	width: 94%;
	text-align: center;
}
.entry-content {
	float: none;
	margin: 0 auto 25px auto;
	width: 94%;
	text-align: center;
}
.post h1, .fullpage-post h1 {
	text-align: center;
	margin: 0 auto;
}

.cat-blog-pic {
    width: 96%;
    max-width: 300px;
    margin: 0 auto 15px auto;
    float: none;
	text-align: center;
}
.cat-blog-textbox {
    float: none;
    width: 96%;
    line-height: 1.3;
    font-size: 22px;
	margin: 0 auto 20px auto;
	text-align: center;
}	
}

@media screen and (max-width: 600px) {
#footer-section-left, #footer-section-right {
	flex-basis:auto;
	width: 96%;
	margin: 0 auto;
}

#footer-left-img {
	width: 125px;
	float: none;
	margin: 0 auto;
	text-align: center;
}
#footer-left-text {
    	float: none;
	margin: 20px auto 40px auto;
	text-align: center;
	width: 100%;

}
}
@media screen and (max-width: 500px) {
ul.products li {
    float: none !important;
    width: 96% !important;
    margin: 10px auto 20px auto !important;
    list-style: none;
    list-style-image: none;
    list-style-type: none;
    text-align: center;

}
}