/*
Theme Name: Hubcap Creatures
Author: John King
*/

/* CSS by John King */

/* Normalise / Reset CSS */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0;
	padding: 0;	border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, figcaption, figure, footer, header, nav, section {display: block;}
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
a { outline: 0; }
b, strong { font-weight: 700; }
i, em { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
li { list-style: none; list-style-image: none; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
form { margin: 0; }
button, input, select, textarea { font-size: 100%; font-family: inherit; line-height: inherit; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ------------------------------------------------------------------------ */
/* Main Layout and Positioning CSS */

html {
	min-width: 320px;
}

body,
.bg-grey {
	background: #e3e2e2; 
}

.bg-white {
	background: #ffffff; 
}

.holder {
	display: block;
	width: 100%;
}

.lt-ie9 .holder {
	min-width: 950px;
}

.constrictor {
	position: relative;
	max-width: 910px;
	padding: 0px 20px;
	margin: 0px auto;	
}

.lt-ie9 .constrictor {
	width: 910px;
}

.shift-left {
	float: left;
}

.shift-right {
	float: right;
}


/* ------------------------------------------------------------------------ */
/* Base Font CSS */

body, button, input, select, textarea { 
	font-family: 'Merriweather', sans-serif;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
	color: #565656;
	font-size: 16px;
	line-height: 1.25em;
	font-weight: 300;
}

a {
	color: #565656;
	text-decoration: none;
}

a:hover {
	color: #000000;
	text-decoration: underline;
}

article a {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	margin: 8px 0px 8px 0px;
	line-height: 1.25em;
	font-size: 15px;
	font-weight: 700;
	color: #343434;
}

h1 {
	margin: 0px 0px 18px 0px;
	font-size: 26px;
	line-height: 34px;
	text-transform: uppercase;
	font-weight: 400;
}

h2 {
	margin: 20px 0px 10px 0px;
	font-size: 20px;
}

h3 {
	margin: 15px 0px 5px 0px;
}

.color-red {
	color: #8b3428;
}

p {
	margin: 10px 0px 15px 0px;
	line-height: 1.375em;
	font-size: 14px;
}

ul li,
ol li {
	font-size: 14px;
}

blockquote p {
	margin: 20px 0px 20px 0px;
	font-size: 22px;
	color: #8b3428;
	line-height: 1.25em;
	font-weight: 700;
	font-style: italic;
}


/* ------------------------------------------------------------------------ */
/* Form CSS */

input[type="text"],
input[type="search"],
input[type="email"],
textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 5px 4px 5px 4px;
	margin-bottom: 10px;
	border: 1px solid ;
	vertical-align: bottom;
	font-size: 14px;
	color: #434343;
}

input[type="submit"] {
	padding: 4px 10px;
	border: none;
	background: #8b3428;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 19px;
	text-transform: uppercase;
}


/* ------------------------------------------------------------------------ */
/* Header CSS */

#mob-nav {
	display: none;
}

nav {
	float: left;
	clear: right;
	padding: 0px;
}

nav > ul {
	display: block;
}

nav > ul > li {
	position: relative;
	float: left;
	display: block;
	margin: 0px 10px 0px;
}

nav > ul > li:first-child {
	margin-left: 0px;
}

nav > ul > li:last-child {
	margin-right: 0px;
}

nav > ul > li > a {
	display: block;
	line-height: 39px;
	font-size: 14px;
	font-weight: 500;
}

nav > ul > li.active > a,
nav > ul > li > a:hover {
	color: #000000;
	text-decoration: none;
}

header #logo { 
}

header #logo a { 
	display: block;
	padding: 2px 0px 30px 0px; 
}

header #logo a img { 
	display: block;
	width: 100%;
	max-width: 327px;
	height: auto;
	margin: 0px auto;
}


header .banner-message {
	clear: both;
	max-width: 500px;
	padding: 25px 0px 130px 0px;
	color: #fff;
	font-size: 28px;
	line-height: 1.0875em;
}

header .mobile-banner-image {
	display: none;
}


/* ------------------------------------------------------------------------ */
/* Content Generic CSS */

.page-image,
#commission-page article {
	float: left;
	margin: 0px 30px 30px 0px;
}

#commission-page article {
	max-width: 400px;
}

.text-container {
	overflow: hidden;
	margin-bottom: 10px;
}

article img {
	width: 100%;
	height: auto;
}

article ul,
article ol {
	padding-left: 20px;
	margin: 15px 0px 20px 0px;
}

article ul li {
	list-style-type: disc;
	margin-bottom: 4px;
}

article ol li {
	list-style-type: decimal;
	margin-bottom: 4px;
}

article form {
	max-width: 500px;
	margin: 25px 0px;
}

.video-container {
	position: relative;
	margin: 25px auto;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.wpcf7-form p {
	margin: 0px;
	font-size: 14px;
}

.wpcf7-form input.wpcf7-not-valid {
	border-color: #ff0000;
}

.wpcf7-form img.ajax-loader {
	width: auto;
}

.social-icons {
	float: right;
}

.social-icons li {
	float: right;
	margin: 5px 0px 0px 5px;
}

.social-icons li a {
	display: block;
	height: 29px;
	width: 29px;
	background: transparent url(graphics/social-icons-2.png) no-repeat 0px 0px;
}

.social-icons li.instagram a {	background-position: 0px 0px; }
.social-icons li.facebook a {	background-position: -29px 0px; }
.social-icons li.twitter a { background-position: -58px 0px; }
.social-icons li.pinterest a { background-position: -87px 0px; }
.social-icons li.linkedin a {	background-position: -116px 0px; }

.social-icons li.mailus a {
	width: 39px;
	background-position: -145px 0px;
}

.social-icons li.instagram a:hover {	background-position: 0px 0px; }
.social-icons li.facebook a:hover {	background-position: -29px -29px; }
.social-icons li.twitter a:hover { background-position: -58px -29px; }
.social-icons li.pinterest a:hover { background-position: -87px -29px; }
.social-icons li.linkedin a:hover {	background-position: -116px -29px; }
.social-icons li.mailus a:hover { background-position: -145px -29px; }

.social-icons li a span {
	display: none;
}

.border-shadow {
	border: 5px solid #fff;
	box-shadow: 0 0 6px 5px rgba(228, 228, 228, 0.6);
}

a.border-shadow:hover,
img.border-shadow:hover {
	box-shadow: 0 0 6px 5px rgba(228, 228, 228, 1);
}

.spinning-hub-link {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 64px;
	height: 64px;
}

.spinning-hub {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 64px;
	height: 64px;
	background: transparent url(graphics/hubcap-right.png) no-repeat 0% 0%;
}

.slick-prev .spinning-hub,
.creature-nav-prev .spinning-hub {
	background: transparent url(graphics/hubcap-left.png) no-repeat 0% 0%;
}

.spinning-hub-trigger:hover .spinning-hub {
	animation-name: spin-cw;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.spinning-hub-trigger:hover .spinning-hub-acw {
	animation-name: spin-acw;
}

@keyframes spin-cw {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

@keyframes spin-acw {
	from {transform:rotate(360deg);}
	to {transform:rotate(0deg);}
}

.arrows {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 64px;
	height: 64px;
	background: transparent url(graphics/arrows.png) no-repeat -64px 0px;
}

.slick-prev .arrows,
.creature-nav-prev .arrows {
	background-position: 0px 0px;
}

/* ------------------------------------------------------------------------ */
/* Home Social Row */

.home-social-row {
	margin: 20px -15px 20px -15px;
}

.home-social-column {
	float: left;
	box-sizing: border-box;
	width: 33.33%;
	min-height: 370px;
	padding: 0px 15px;
}

.home-social-column img.home-social-header {
	display: block;
	width: 100%;
	max-width: 307px;
	height: auto;
	margin: 0px auto 15px auto;
}

.home-social-column .product-box {
	margin-bottom: 20px;
}

.home-social-column .twitter-holder {
	min-height: 350px;
}


/* ------------------------------------------------------------------------ */
/* Product Grid */

.product-grid {
	clear: both;
	margin: 20px -12px 20px -12px;
}

.product-grid .product-box-container {
	float: left;	
	box-sizing: border-box;
	width: 33.33%;
	min-height: 264px;
	padding: 0px 12px;
	margin-bottom: 24px;
}

.product-box,
a.product-box {
	display: block;
	background: #e4e4e4;
	text-decoration: none;
}

.product-box .product-box-details {
	position: relative;
	padding: 10px 75px 5px 10px;
	border-top: 5px solid #fff;
	min-height: 70px;
	background: #e4e4e4;
	background-image: linear-gradient(to bottom, #d0d0d0 0%,#dddddd 10%,#e4e4e4 20%,#e4e4e4 100%);
}

.product-box .product-box-details .product-box-spinner {
	position: absolute;
	padding: 10px 10px 5px 10px;
	border-top: 5px solid #fff;
	/* Set min height */
	background: #e4e4e4;
	background-image: linear-gradient(to bottom, #d0d0d0 0%,#dddddd 10%,#e4e4e4 20%,#e4e4e4 100%);
}

.product-box img {
	width: 100%;
	height: auto;
}

.product-box h3 {
	margin: 0px;
	padding-bottom: 8px;
	font-size: 16px;
	text-transform: uppercase;
}

.product-box p {
	margin: 0px;
	padding-bottom: 5px;
	font-size: 12px;
}

.product-box .spinning-hub-link {
	left: auto;
	right: 5px;
	top: 10px;
}


/* ------------------------------------------------------------------------ */
/* Pagination */

.creature-nav {
	position: relative;
	height: 145px;
	max-width: 660px;
	margin: 0px auto;
}

.creature-nav-prev {
	float: left;
}

.creature-nav-next {
	float: right;
}

.creature-nav .spinning-hub-trigger {
	position: relative;
	height: 125px;
	width: 64px;
	background: transparent url(graphics/text-back.png) no-repeat 50% 100%;
}

.creature-nav .creature-nav-next .spinning-hub-trigger {
	background-image: url(graphics/text-next.png);
}

.creature-nav-next .spinning-hub {
	left: auto;
	right: 0px;
}


/* ------------------------------------------------------------------------ */
/* Slider CSS */

.slider {
	position: relative;
	max-width: 680px;
	margin: 0px auto 50px auto;
}

#slider-wrapper .slider { /* Home */
	max-width: 640px;
}

#commission-page .slider {
	max-width: 430px;
	padding-bottom: 50px;
	overflow: hidden;
}

.slick-slider {
	position: relative;
	display: block;
	margin: 10px auto;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}

.single-creature .slick-slider {
	margin-bottom: 0px;
}

.slick-list {
	position: relative;
	display: block;
	overflow: hidden;
}

.slick-list:focus {
	outline: none;
}

.slick-list.dragging {
	cursor: pointer;
	cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.slick-track {
	position: relative;
	top: 0;
	left: 0;
	display: block;
}

.slick-track:before,
.slick-track:after {
	display: table;
	content: '';
}

.slick-track:after {
	clear: both;
}

.slick-loading .slick-track {
	visibility: hidden;
}

.slick-slide {
	display: none;
	float: left;
	height: 100%;
	min-height: 1px;
	box-sizing: border-box;
	padding: 0px 10px;
}

.slick-slide img {
	display: block;
}

#commission-page .slider .product-box,
.slider-for img {
	margin-top: 15px;
	margin-bottom: 10px;
	box-sizing: border-box;
}

.slick-slide.slick-loading img {
	display: none;
}

.slick-slide.dragging img {
	pointer-events: none;
}

.slick-initialized .slick-slide {
	display: block;
}

.slick-loading .slick-slide {
	visibility: hidden;
}

.slick-arrow.slick-hidden {
	display: none;
}

.single-creature .slider-nav {
	margin-top: 0px;
}

.slider-nav .slick-track img {
	display: block;
	box-sizing: border-box;
	margin: 10px auto;
	cursor: pointer;
}

.slick-dots {
	position: absolute;
	bottom: -40px;
	width: 100%;
	padding: 0px;
	margin: 0px;
	text-align: center;
}

#commission-page .slick-dots {
	bottom: auto;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 20px;
	height: 20px;
	padding: 5px;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
	outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
	opacity: 1;
}

.slick-dots li button:before {
	font-size: 26px;
	line-height: 20px;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	content: '\2022';
	text-align: center;
	opacity: .25;
	color: black;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
	opacity: .75;
	color: black;
}

.slick-prev,
.slick-next {
	position: absolute;
	top: 0px;
	bottom: 0px;
	width: 64px;
	height: 64px;
	left: -135px;
	margin-top: auto;
	margin-bottom: auto;
	z-index: 10000;
	cursor: pointer;
	opacity: 0.85;
}

.slick-next {
	left: auto;
	right: -135px;
}

.slick-prev:hover,
.slick-next:hover {
	opacity: 1;
}

.slick-prev span,
.slick-next span {
	display: none
}


/* ------------------------------------------------------------------------ */
/* Footer CSS */

#footer-top {
	background: #ffffff;
}

#footer-top a,
#footer-bottom a {
	text-decoration: none;
}

#footer-top .constrictor {
	background: transparent url(graphics/footer-top-1.jpg) no-repeat 100% 100%;
}

#footer-top.footer-bg-top-2 .constrictor { background-image: url(graphics/footer-top-2.jpg);}
#footer-top.footer-bg-top-3 .constrictor { background-image: url(graphics/footer-top-3.jpg);}
#footer-top.footer-bg-top-4 .constrictor { background-image: url(graphics/footer-top-4.jpg);}
#footer-top.footer-bg-top-5 .constrictor { background-image: url(graphics/footer-top-5.jpg);}

#footer-top .footer-message {
	margin-right: 250px;
	margin-bottom: 30px;
}

#footer-top .company-info p {
	margin: 0px 10% 15px 10%;
	font-size: 15px;
}

#footer-top .company-info p small {
	font-size: 12px;
	line-height: 14px;
}

#footer-bottom {
	background: #e3e2e2;
}

#footer-bottom .constrictor {
	background: transparent url(graphics/footer-bottom-1.jpg) no-repeat 100% 0%;
}

#footer-bottom.footer-bg-bottom-2 .constrictor { background-image: url(graphics/footer-bottom-2.jpg);}
#footer-bottom.footer-bg-bottom-3 .constrictor { background-image: url(graphics/footer-bottom-3.jpg);}
#footer-bottom.footer-bg-bottom-4 .constrictor { background-image: url(graphics/footer-bottom-4.jpg);}
#footer-bottom.footer-bg-bottom-5 .constrictor { background-image: url(graphics/footer-bottom-5.jpg);}

#footer-bottom .footer-menu {
	padding-top: 10px;
	margin-bottom: 20px;
}

#footer-bottom p {
	font-size: 12px;
}

#footer-bottom p a {
	display: inline-block;
	line-height: 30px;
}

#footer-bottom p span:first-child {
	display: none;
}

#footer-bottom .footer-social {
	margin-top: 17px;
}


/* ------------------------------------------------------------------------ */
/* Responsive CSS */


@media (max-width: 980px) {

	.product-grid .product-box-container {
		width: 50%;
	}
	
	.slick-prev {
		left: -50px;
	}
	
	.slick-next {
		right: -50px;
	}

}

@media (min-width: 801px) {

	#mob-nav {
		display: none !important;
	}

}

@media (max-width: 800px) {

	#top-bar {
		position: relative;
		height: 35px;
		z-index: 10000;
	}
	
	nav,
	#top-bar .social-icons {
		display: none;
	}	
	
	#mob-nav {
		position: fixed;
		display: block;
		left: 0px;
		right: 0px;
		padding: 0px 10px;
		background: #e3e2e2;
	}
	
	#mob-nav .menu-toggle {
		height: 35px;
		line-height: 35px;
		cursor: pointer;
		font-size: 16px;
		text-transform: uppercase;
		color: #565656;
	}
	
	#mob-nav .menu-toggle .icon {
		float: left;
		height: 31px;
		width: 20px;
		background: transparent url(graphics/site-icons.png) no-repeat -20px -8px;
	}
	
	#mob-nav .menu-toggle.menu-open .icon {
		background-position: -20px -58px;
	}

	#mob-nav .mob-nav-dropdown {
		position: absolute;
		top: 35px;
		left: 0;
		right: 0px;
		z-index: 1000;
		display: none;
		background: #e3e2e2;
		border-top: 1px solid #565656;
	}

	#mob-nav li {
		border-bottom: 1px solid #565656;
	}
	
	#mob-nav li a {
		display: block;
		padding: 5px 10px;
		line-height: 1.25em;
		font-size: 16px;
		text-decoration: none;
	}
	
	#mob-nav li.active > a {
		color: #000000;
	}
	
	header #logo a {
		padding-bottom: 10px;
	}
	
	#commission-page article {
		float: none;
		max-width: none;
		margin-right: 0px;
	}
	
	#commission-page .slider {
		max-width: 670px;
	}
	
	.slick-slide img { /* Home */
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}
	
	.slider-controls,
	.slick-prev,
	.slick-next {
		display: none !important;
	}

}


@media (max-width: 670px) {

	.shift-left,
	.shift-right,
	.page-image {
		float: none;
	}

	.constrictor {
		padding: 0px 10px;
	}
	
	.home-social-row,
	.product-grid {
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.home-social-column,
	.product-grid .product-box-container {
		padding: 0px;
		width: 100%;
	}
	
	.page-image {
		max-width: 270px;
		margin: 0px auto 30px auto;
	}
	
	.page-image img {
		
	}
	
	.slider-nav .slick-list {
		display: none;
	}
	
	.slider-nav .slick-dots {
		position: relative;
		bottom: 0px;
		width: 100%;
		text-align: center;
	}	
	
	#footer-top .constrictor,
	#footer-bottom .constrictor {
		background-image: none !important;
	}
	
	#footer-top .footer-message {
		margin-right: 0px;
	}

	#footer-bottom .footer-menu a {
		display: block;
	}
	
	#footer-bottom .footer-menu span {
		display: none;
	}
	
	#footer-bottom .footer-social {
		clear: both;
		margin-left: auto;
		margin-right: auto;
	}
	
	#footer-bottom .footer-social .social-icons {
		float: none;
		text-align: center;
	}
	
	#footer-bottom .footer-social .social-icons li {
		float: none;
		display: inline-block;
	}
	
}


/* ------------------------------------------------------------------------ */
/* Print Style Sheet */

@media print {
	* { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important;}
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}