/* Fonts */
header, nav, section, article, aside, footer {
   	display:block;
}

body {
	font-family: "ToyotaText", Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height:1.4;
	background-color: #fff;
	color: #000000;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "ToyotaDisplay", Arial, Helvetica, sans-serif;
  	font-weight: bold;
  	color: #000000;
}

h1 {
  	font-family: "ToyotaDisplay", Arial, Helvetica, sans-serif;
	font-size: 32px;
	font-weight: bold;
	color: #000000;
	text-transform: uppercase;
	margin-top: 8px;
}

h2 { 
	margin: 12px 0 15px 0px; /* h2 is used only as the page heading and doesn't need much top margin */
	font-weight: bold;
	color: #000000;
	text-transform: uppercase;
	font-size: 20px;
}

h2.product_title.entry-title {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 20px;
}

h3 {
    font-family: "ToyotaDisplay", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	color: #000000;
	line-height:1.2;
	margin: 15px 0 15px 0px;
}

h5 {
    font-family: "ToyotaDisplay", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: normal;
	color: #000000;
	line-height:1.4;
}

h1.page-title {
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	margin-top: 16px; 
}

p {
  color: #000000 !important;
  margin: 0 0 9px;
}
small, .small {
font-size: 85%;
}
.text-right > a{
    color: #000000 !important;    
}      
.text-right > a:hover {
    color: #EB2136 !important;
}
a:hover, a:focus {
	color: #EB2136;
	text-decoration: underline;
}

/* End Fonts */

/* Header */
header {
	margin: 20px 0px 5px 0px;
}

div.logo {
	margin-top: 0px;
}

/* Revolution Slider captions - don't display under 1000px */
@media (max-width: 1000px) {
	.tp-caption {
		display: none;
	}
}
/* Adjust sizes of header elements when screen is very small and dealer details are split across two lines */
@media (max-width: 640px) { 
  h1.text-right {
		margin-top: 0px;
		font-size: 28px;
	}
  .prodealer-address {
	  	float: right;
		display: block;
	}
	.prodealer-phone {
		float: right;
	}
}

/* Make sure full-width means 100% */
.attachment-full {
	max-width:100%;
	width: 100%; /* 20150312 - IE FF layout issues */
}                

/** Mobile Menu Styling **/
@media (max-width:768px){
	.logo img {
	    width: 72px;	
	} 
	header {
		margin-bottom: 10px;
	}
}
/** End Mobile Menu Styling **/

/* Footer styling */
footer {
	background-color: #494949;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 5px;
}

footer ul {
	list-style: none;
	padding: 0;
}

footer .widget_nav_menu {
		float: left;
		width: 50%;
		padding: 20px 10px 0px 0px;
		min-height: 240px;
}

@media (min-width: 768px) {
	footer .widget_nav_menu {
		width: 33.33%;
	}
}

@media (min-width: 992px) {
	footer .widget_nav_menu {
		width: 16.66%;
	}
}

footer h2.widgettitle {
  color: #FFF;
  font-size: 14px;
  margin-top: 10px;
}

footer a {
  color: #FFF;
	font-size: 14px;
}
/* End footer classes */

/* Toyota Red elements */
.wpb_call_to_action .wpb_button {
	background-color: #EB2136; /* Toyota Red */
}

/* sidebar styles for inventory */
div .prodealer_box_rounded {
border-radius: 4px;
-webkit-box-shadow: none;
box-shadow: none;
}
.prodealer_single_image img {
height: auto;
max-width: 100%;
}

/* WooCommerce */
form.cart {
	display: none;
}
a.button.add_to_cart_button.product_type_simple {
	display: none;
}
table.shop_attributes {
	margin-top: 20px; /* car attributes displaying next to images */
}

.woocommerce .woocommerce-info {
/* these styles missing from WooCommerce 2.3 */
padding:1em 1em 1em 3.5em !important;margin:0 0 2em !important;position:relative;-webkit-border-radius:4px;border-radius:4px;background:#ffffff;background:-webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#ffffff));background:-webkit-linear-gradient(#ffffff,#ffffff);background:-moz-linear-gradient(center top,#ffffff 0%,#ffffff 100%);background:-moz-gradient(center top,#ffffff 0%,#ffffff 100%);color:#666666;text-shadow:0 1px 0 #ffffff;list-style:none outside !important;*zoom:1;width:auto;-webkit-box-shadow:inset 0 -2px 6px rgba(0,0,0,0.05), inset 0 -2px 30px rgba(0,0,0,0.015), inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 -2px 6px rgba(0,0,0,0.05), inset 0 -2px 30px rgba(0,0,0,0.015), inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,0.3)
}

.woocommerce .woocommerce-info:before, .woocommerce-page .woocommerce-info:before {
	border-radius: 4px;
	font-family: FontAwesome;
	content: "\f129";
}


/* Forms */
.enquiry-field {
	background-color: #f5f5f5;
}
.form-submit {
	height: 35px !important;
	width: 100%;
	font-family: "ToyotaDisplay",Arial,Helvetica,sans-serif;
	font-size: 17px;
	background-color: #a91b0c;
	background-image: linear-gradient(#e72510, #d9230f 6%, #cb210e);
	background-repeat: no-repeat;
	border: 1px solid #a01a0b;
	border-radius: 4px;
	color: #ffffff;
	filter: none;
	font-size: 15px;
	line-height: 1.42857;
}
.panel .form-control, .form-control {
	background-color: #f7f7f7;
	height: 30px;
	padding: 4px 12px;
}
textarea.wpcf7-form-control.wpcf7-textarea.form-control {
	height: auto;
}

/* WooCommerce Layered Nav
	nav 2 = make
	nav 6 = model
	nav 7 = transmission
	nav 8 = colour
*/
#search-sidebar small.count {
	display: none;
}
.woocommerce .widget_layered_nav_filters ul li, .woocommerce-page .widget_layered_nav_filters ul li {
	padding: 0 2px 2px 0; /* filtered items need a little extra padding */
}
.woocommerce .widget_layered_nav ul li a, .woocommerce-page .widget_layered_nav ul li a {
	padding: 0 6px; /* make normal items look the same as selected ones */
	text-decoration: none;
	border: 1px solid #4d4f53;
	background: #4d4f53;
	box-shadow: inset 0 1px 1px rgba(255,255,255,0.5) #888;
	-webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,0.5) #888;
	color: #ffffff;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	float: left;
}
.woocommerce .widget_layered_nav ul li, .woocommerce-page .widget_layered_nav ul li {
	/* new, used, demo */
	float: left;
	padding: 0px 5px 0px 0px;
	margin: 2px 0px 2px 0px;
}
li.chosen {
	margin: 2px 2px 2px 0px;
}


#search-sidebar h3 {
	font-family: ToyotaText, Arial, Helvetica, sans-serif;
	margin: 5px 0px;
	font-size: 14px;
}
#search-sidebar .form-control, select.orderby.form-control {
	height: 30px;
	padding: 2px 2px;
}

section.prodealer_layered_nav-2.woocommerce.widget_layered_nav {
	width: 50%;
	float: left;
	padding: 2px;
}

section.woocommerce_layered_nav-6.woocommerce.widget_layered_nav {
	width: 50%;
	float: left;
	padding: 2px;
}
section.woocommerce_layered_nav-7.woocommerce.widget_layered_nav {
	width: 50%;
	float: left;
	padding: 2px;
}
section.woocommerce_layered_nav-8.woocommerce.widget_layered_nav {
	width: 50%;
	float: left;
	padding: 2px;
}
section.woocommerce_layered_nav-6.woocommerce.widget_layered_nav {
	width: 50%;
	float: left;
	padding: 2px;
}

/* Buttons */
.btn-primary, .btn-primary:hover, .wpb_call_to_action .wpb_button {
background-image: -webkit-linear-gradient(#eb2136, #c81227);
background-image: -o-linear-gradient(#eb2136, #c81227);
background-image: linear-gradient(#eb2136, #c81227);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe72510', endColorstr='#ffcb210e', GradientType=0);
filter: none;
border: 1px solid #c81227;
}

/* Shop archive create list view */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: 100%;
	padding-bottom: 12px;
	margin-bottom: 8px;
	border-bottom: 1px solid #ddd;
}
.woocommerce ul.products li.product:last-child, .woocommerce-page ul.products li.product:last-child {
	border-bottom: none;
}

/* Tables - Service Table */
.prodealer-table {
	margin:0px;padding:0px;
	width:100%;
	border:1px solid #dbdbdb;
}.prodealer-table table{
  border-collapse: collapse;
  border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
}
.prodealer-table tr:nth-child(odd){ background-color:#f9f9f9; }
.prodealer-table tr:nth-child(even)    { background-color:#ffffff; }.prodealer-table td{
	vertical-align:middle;
	border:1px solid #dbdbdb;
	border-width:0px 1px 1px 0px;
	text-align:left;
	padding:7px;
	font-size:14px;
	font-weight:bold;
	color:#4d4f53;
}.prodealer-table tr:last-child td{
	border-width:0px 1px 0px 0px;
}.prodealer-table tr td:last-child{
	border-width:0px 0px 1px 0px;
}.prodealer-table tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}
.prodealer-table tr:first-child td{
	background-color:#f9f9f9;
	border:0px solid #dbdbdb;
	text-align:left;
	border-width:0px 0px 1px 1px;
	font-size:14px;
	font-weight:bold;
	color:#4d4f53;
}
.prodealer-table tr:first-child td:first-child{
	border-width:0px 0px 1px 0px;
}
.prodealer-table tr:first-child td:last-child{
	border-width:0px 0px 1px 1px;
}

/* Tables - Attributes Table */
.prodealer-attributes-table {
	margin:0px;
	padding:0px;
	width:100%;
	border:0px;
}.prodealer-attributes-table table{
  border-collapse: collapse;
  border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
}
.prodealer-attributes-table td {
	vertical-align:middle;
	border:none;
	text-align:left;
	padding:2px;
	font-size:12px;
	font-weight:normal;
	color:#333;
}
.prodealer-attributes-table tr {
   border-bottom: 1px solid #e6e6e6;
}
.prodealer-attributes-table tr:last-child {
   border-bottom: none;
}
.attribute-price {
	font-family: ToyotaDisplay, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 20px;
}
.attribute-driveaway, .attribute-driveaway-single {
	font-family: ToyotaDisplay, Arial, Helvetica, sans-serif;
	font-size: 16px;
	display: block;
}
.attribute-driveaway-single {
	display: inline;
}
.attribute-value {
	text-transform: uppercase;
}
td.attribute-value {
	text-align: right;
}
.btn-attribute {
	margin: 10px 0px;
	font-family: ToyotaDisplay, Arial, Helvetica, sans-serif;
}
.woocommerce .woocommerce-tabs ul.tabs {
	display: none; /* just hides the tab title */
}
div#tab-description {
	border: none;
	box-shadow: none;
}
.wc-content {
	margin-top: 16px;
}
p.small.driveaway-disclaimer {
	margin-top: 12px;
	margin-bottom: 16px;
}

.woocommerce table.shop_attributes td, .woocommerce-page table.shop_attributes td {
	font-style: normal;
}
.product_meta {
	margin-bottom: 10px;
	font-family: ToyotaDisplay, Arial, Helvetica, sans-serif;
}
.woocommerce table.shop_attributes td p, .woocommerce-page table.shop_attributes td p, .woocommerce table.shop_attributes th, .woocommerce-page table.shop_attributes th {
	padding: 5px;
}
.woocommerce table.shop_attributes, .woocommerce-page table.shop_attributes {
	margin-top: 0px;
	margin-bottom: 0px;
}
.woocommerce div.product .woocommerce-tabs .panel, .woocommerce #content div.product .woocommerce-tabs .panel, .woocommerce-page div.product .woocommerce-tabs .panel, .woocommerce-page #content div.product .woocommerce-tabs .panel {
	margin: 0 0 1em;
}
.inventory-contact h4 {
	font-weight: bold;
	margin-top: 0px;
}
.inventory-contact {
	text-align: right;
	color: #4d4f53 !important
}
@media (max-width: 1000px) { 
	.inventory-contact {
		text-align: left;
	}	
}
.rounded img {
	border-radius: 4px;
}

@media (max-width: 991px) {
	.attribute-price {
		font-size: 16px;
		padding-right: 4px;
	}
	
	.attribute-driveaway {
		font-size: 14px;
		padding-right: 4px;
		display: inline;
	}
}

a[href^="tel:"] {
	color: #000000;
}

/* Supercarousel additional styles */
.supercaption {
background: none!important;
color: #bbb;
text-shadow: none;
}

.supercrsl a.prev, .supercrsl a.next {
top: 20%;
}

.supercrsl { margin-top: 0.5rem;background-color: #fff; }
.supercrsl .pagination {
display: none;
}
 
.inv-back-link a {
	font-weight: bold;
}

.wpb_call_to_action h2 {
  font-size: 24px;
}

.wpb_call_to_action p {
  font-size: 18px;
}

.wpb_call_to_action .wpb_button {
  font-size: 22px;
}

.wpb_single_image img {
  width: inherit !important;    
  height: auto;
  max-width: 100%;
}


/* Address details */
div#prodealer-details {
	float: right;
}
.prodealer-address, .prodealer-phone {
  font-family: "ToyotaDisplay", Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 15px;
  display: inline;
}
.prodealer-phone a {
	color: #000000;
}

.less-top-margin {
  margin-top: -4px;
}

@media (min-width: 640px) { 
  .prodealer-address {
		border-right: 1px solid #d7d7d7;
		padding-right: 8px;
		margin-right: 5px;
	}
}

@media print {

	body {
		font-size: 14px;
	}

	.ubermenu-sticky-toggle-wrapper, .ubermenu-sticky-wrapper, #right-sidebar, footer, .inv-back-link, #inventory-banner, #owaf-footer {
		display:none !important;
	}

    .noprint { display:none !important; }

    a:after, a:link:after, a:visited:after {  
      display: none;
      content: "";    
    }

    .small {
    	font-size: 10px;
    }

    .prodealer-phone {
  		border-right: 1px solid #aaa;
  		padding-right: 5px;
  		margin-right: 5px;
	}
}
@media screen and (max-width:768px) { .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product { width: 100%; margin: 0 0 1em; } }
