/*
	Theme Name: Crawfos Tyres 2019
	Description: Custom Web Design
	Version: 1.0
	Author: Plash Creative
	Author URI: http://www.plashcreative.com/
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {

}
body {
	font-family: 'Poppins', sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	-webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
	text-decoration:none;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
h1, h2, h3 {
	font-weight: 800;
	text-transform: uppercase;
}
h1 {
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 2px;
}
h2.homecat {
    color: #ED1C24;
    text-align: center;
	margin: 0px;
}
/* wrapper */
.wrapper {
	width:100%;
	margin:0;
	float:left;
}
/* header */
.header {
	width:90%;
	margin: 40px 5% 0px 5%;
	float:left;
	height: 102px;
	padding: 0px 0% 0px 2%;
	background-color:#fff;
	position: absolute;
	z-index: 9999;
	border: solid 1px #999999;
}
/* logo */
.logo {
	max-width: 180px;
	float: left;
	padding: 15px 0px 0px 0px;
}
.logo-img {

}
a.outofhours {
	display:none;
}
/* nav */
.nav ul li a {
    font-size: 16px;
    color: #222222;
	letter-spacing: 1px;
    text-decoration: none;
    font-weight: 700;
    display: block;
	width: 100%;
	text-transform:uppercase;
    float: left;
    margin: 0px;
	height:100px;
	line-height:100px;
    padding: 0px 20px;
	border-left: solid 1px #E6E6E6;
}
.nav ul li a:hover {
    background-color: #eee;
}
.nav .current-page-ancestor a { 
	color: #ED1C24; 
}
.nav .current_page_item a {
	color: #ED1C24; 
	}
.nav ul {
    list-style: none;
    padding: 0;
    margin: 0px 0px 0px 0px;
    float: right;
	width:auto;
    position: relative;
    z-index: 3000;
}
.nav ul li {
    float: left;
    position: relative;
    width: auto;
    text-align: left;
}
.nav li ul {
    position: absolute;
    top: 0;
    display: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    float: left;
}
/* out of hours call out menu item */
li#menu-item-22 {
    background-color: #F7D33E;
}
li#menu-item-22 a:hover {
	color: #fff;
    background-color: #333;
}
p.menu-item-description {
    font-size: 12px;
    line-height: 12px;
	text-transform: none;
	text-align: right;
    position: absolute;
	right: 20px;
    top: 50px;
    color: #E86821;
    font-weight: 400;
    letter-spacing: 0px;
}
/* Content */
.page-banner {
	width: 100%;
	float: left;
	height: 700px;
	background-color:#777;
	text-align: center;
	color:#fff;
	position: relative;
	background-size: cover;
	background-position: center;
}
.page-child .page-banner {
	height: 540px;
}
.banner-content {
	width: 100%;
	float: left;
	position: absolute;
	bottom:0px;	
}
.banner-content-left {
	width:50%;
	float: left;
	height:220px;
	color:#333333;
	font-size: 44px;
	font-weight: 800;
	padding: 100px 5% 0px 5%;
	line-height: 44px;
	text-align: left;
	background-image: url(img/home-banner-content-bg.png);
	background-size: auto 100%;
    background-position: center right;
    background-repeat: no-repeat;
}
.banner-content-left strong {
	font-size: 80px;
}
.banner-content-left span {
	font-size: 16px;
	line-height: 16px;
	font-weight: 400;
	width:100%;
	float: left;
}
.banner-content-right {
	width:50%;
	float: left;
	height:220px;
	color:#fff;
	text-align: left;
	font-size: 40px;
	line-height: 50px;
	padding: 70px 5% 0px 0%;
    font-weight: 800;
}
.banner-content-right strong {
	font-size: 50px;
	line-height: 60px;
	position: relative;
    left: 40px;
}
img.banner-phone-icon {
    max-width: 50px;
    position: absolute;
    margin-left: 60px;
    bottom: 54px;
}
.page-title {
	width: 100%;
	float: left;
	padding: 80px 5%;
	background-color:#333;
	text-align: center;
	color:#fff;
	background-image: url(img/banner-title-bg.jpg);
	background-position: center;
	background-size: cover;
	position: relative;
}
.page-title.home {
    padding: 40px 20%;
}
.page-title strong {
    font-size: 22px;
}
.title-banner-decoration {
	position: absolute;
	left: 0px;
	bottom:0px;
	height: 60%;
}
.content-wrapper {
	width: 100%;
	float: left;
	padding: 60px 5%;
}
.content {
	max-width: 940px;
	margin: 0px auto;
	font-size: 16px;
	line-height: 24px;
	color:#333333;
}
.content a {
	color: #F9C33D;
}
.content-image-breaker {
	width: 100%;
	float: left;
	padding: 0px;
	margin: 0px;
}
.content-image-breaker img {
	width: 100%;
	float: left;
	padding: 0px;
	margin: 0px;
}
blockquote {
	font-size: 22px;
	line-height: 30px;
	margin-left: 0px;
	margin-right: 0px;
}
.gmap {
	width: 100%;
	float: left;
	height: 450px;
	-webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}
/* Brands list */
ul.brands-list {
    list-style: none;
    width: 100%;
    float: left;
    margin: 0px;
    padding: 0px;
	border-top: solid 1px #eee;
}
ul.brands-list li{
    width: 33.333%;
    margin: 0px;
	float: left;
	list-style: none;
	border-bottom: solid 1px #eee;
	border-left: solid 1px #eee;
    padding: 40px 5%;
	text-align: center;
}
ul.brands-list li:nth-of-type(3n) {
  border-right: solid 1px #eee;
}
ul.brands-list li:last-of-type {
  border-right: solid 1px #eee;
}
ul.brands-list li img{
    height: 50px;
}
ul.brands-menu {
    width: 100%;
    float: left;
    list-style: none;
    padding: 0px;
    margin: 0px 0px 0px 0px;
	background-color: #333;
	border-top: solid 4px #222;
}
ul.brands-menu li {

}
a.active {
    color: #fff!important;
    background-color: #ED1C24;
}
ul.brands-menu li a {
	width: 33.333%;
    float: left;
    list-style: none;
	padding: 20px 10%;
    margin: 0px;
	text-align: center;
	border-right: solid 1px #000;
	color: #fff;
   font-weight: 700;
   text-transform:uppercase;
   letter-spacing: 1px;
   font-size: 20px;
}
.facebook-wrapper {
    width: 100%;
    float: left;
    padding: 40px 5%;
	border-top: solid 1px #ccc;
	background-color:#f8f8f8;
}
.content-inner {
    max-width: 960px;
    margin: 0px auto;
    font-size: 16px;
    text-align: center;
    line-height: 24px;
}
.content-inner a {
    color:#ED1C24;
}
/* Quick Links */
ul.quick-home {
	width: 100%;
    margin: 30px 0px;
	float: left;
	list-style: none;
	padding:0px;
}
ul.quick-home li{
    width: 33.333%;
    margin: 0px;
	float: left;
	list-style: none;
	padding:0px;
	text-align: center;
}
ul.quick-home li img{
    margin-bottom: 30px;
}
a.quick-btn {
	padding: 12px 30px;
	color:#fff;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background-color:#ED1C24;
	font-size: 18px;
}
a.quick-btn:hover {
	color:#fff;
	background-color:#222;
}
/* Contact form */
.contact-form-wrapper {
	width: 100%;
    float: left;
    padding: 50px 5%;
	background-color:#222;
}
.contact-form-inner {
	max-width:940px;
	margin:0px auto;
	color:#fff;
}
.contact-form-inner h3 {
	color: #F9C33D;
	font-size: 20px;
	letter-spacing: 1px;
    text-align: center;
}
.ninja-forms-field {
    border: 0px solid #B3B3B3;
    background: #B3B3B3;
    padding: 10px;
	text-transform: uppercase;
	color: #222;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #1A1A1A;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #1A1A1A;
}
:-ms-input-placeholder { /* IE 10+ */
	color: #1A1A1A;
}
:-moz-placeholder { /* Firefox 18- */
	color: #1A1A1A;
}
.ninja-forms-field:focus {
	background: #f5f5f5;
}
input#nf-field-4 {
    width: 100%;
    float: left;
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    border: solid 1px #ED1C24;
    background-color: #ED1C24;
    font-size: 16px;
}
/* footer */
.footer-logos {
    width: 100%;
    float: left;
    padding: 50px 5%;
	border-top: solid 1px #B3B3B3;
	border-bottom: solid 5px #F7D33E;
}
.footer {
	font-size: 12px;
	width: 100%;
	float: left;
	padding: 60px 5% 30px 5%;
	color:#fff;
	background-color:#333;
	background-image: url(img/footer-bg.jpg);
    background-position: top center;
    background-size: cover;
}
.footer-logos-inner {
    max-width: 860px;
    margin: 0px auto;
}
.footer-logos-inner ul {
    width: 100%;
    margin: 0px;
	float: left;
	list-style: none;
	padding:0px;
}
.footer-logos-inner ul li{
    width: 33.333%;
    margin: 0px;
	float: left;
	list-style: none;
	padding:0px;
	text-align: center;
}
.footer-logos-inner ul li img{
    height: 58px;
}
.plash {
	float:right;
	color:#ccc;
}
.footer-content {
	width: 100%;
	float: left;
	text-align: center;
	margin: 0px 0px 50px 0px;
}
.footer-contact.left {
    width: 50%;
    float: left;
	font-size: 14px;
	line-height: 24px;
    text-align: right;
	padding:0px 2.5% 0px 0px;
}
.footer-contact.right {
    width: 50%;
    float: left;
	font-size: 14px;
	line-height: 24px;
    text-align: left;
	padding:0px 0px 0px 2.5%;
}
.footer-contact.right a {
    color:#F9C33D;
}
.footer-contact.right strong, .footer-contact.left strong {
    color: #F9C33D;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
    top: -8px;
}
.page-id-12 .footer-contact.right strong, .page-id-12 .footer-contact.left strong {
    color: #333;
	text-transform: capitalize;
	letter-spacing: 0px;
	position: relative;
    top: auto;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

	h1 {
		font-size: 24px;
		line-height: 34px;
		letter-spacing: 2px;
	}
	.logo {
		max-width: 30%;
	}
	.header {
		width: 94%;
		margin: 20px 3% 0px 3%;
	    height: 80px;
	}
	a.responsive-menu-item-link {
		text-transform: uppercase;
		font-weight: 700;
		letter-spacing: 1px;
	}
	a.outofhours {
	display:block;
    width: auto;
    float: left;
    padding: 12px;
	margin: 14px 5% 14px 10%;
    font-size: 16px;
	color:#222;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background-color:#f9c33d;
	font-size: 14px;
}
	.page-banner {
		height: 400px;
	}
	.page-child .page-banner {
		height: 300px;
	}
	.banner-content-left {
		width: 100%;
		height: 120px;
		font-size: 24px;
		padding: 50px 5% 0px 5%;
		line-height: 24px;
	}
	.banner-content-right {
		display: none;
	}
	.banner-content-left strong {
		font-size: 40px;
	}
	.page-title {
		width: 100%;
		float: left;
		padding: 30px 8%;
	}	
	.page-id-2 .page-title {
		width: 100%;
		float: left;
		padding: 30px 3%;
	}
	.page-title strong {
		font-size: 16px;
	}
	.title-banner-decoration {
		height: 50%;
	}
	.content-wrapper {
		padding: 30px 5%;
	}
	blockquote {
		font-size: 18px;
		line-height: 26px;
	}
	ul.brands-menu li a {
		padding: 12px 3%;
		margin: 0px;
	   font-size: 14px;
	}
	.content {
		max-width: 940px;
		float: left;
		margin: 0px;
		font-size: 14px;
		line-height: 22px;
	}
	ul.brands-list li{
		width: 50%;
		padding: 20px 5%;
	}
	ul.quick-home li{
		width: 100%;
		margin: 0px 0% 20px 0%;
	}
	ul.brands-list li:nth-of-type(3n) {
	  border-right: solid 0px #eee;
	}	
	ul.brands-list li:nth-of-type(2n) {
	  border-right: solid 1px #eee;
	}
	ul.quick-home li img {
		width: 60%;
		margin: 0px 20% 20px 20%;
		float: left;
	}
	ul.brands-list li img{
    width: 100%;
	height: auto;
}
	a.quick-btn {
		width: 60%;
		float: left;
		margin:0px 20%;
		padding: 12px 5px;
		font-size: 16px;
	}
	.footer-logos {
		padding: 30px 5%;
	}
	.footer-logos-inner ul li img{
		height: 30px;
	}
	.footer-contact.left, .footer-contact.right {
		width: 100%;
		float: left;
		font-size: 14px;
		line-height: 24px;
		text-align: left;
		padding:0px 0% 0px 0px;
	}
.footer-contact.left {
		margin:0px 0% 30px 0px;
	}
}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@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) ")";
	}
	.ir a:after,
	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;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
