/*
Theme Name: Toyota

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td::before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
	display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td::before {
		display: none;
	}
}

/**
 * Products
 */
ul.products {
	margin: 0;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 2em;
}
.woocommerce-invalid #toyodealer {
	box-shadow: inset 2px 0 0 #e2401c;
}
ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
}

@media screen and (min-width: 48em) {

	ul.products li.product {
		width: 30.79667%;
		float: left;
		margin-right: 3.8%;
	}

	ul.products li.product.first {
		clear: both;
	}

	ul.products li.product.last {
		margin-right: 0;
	}

	ul.products.columns-1 li.product {
		float: none;
		width: 100%;
	}

	ul.products.columns-2 li.product {
		width: 48.1%;
	}

	ul.products.columns-3 li.product {
		width: 30.79667%;
	}

	ul.products.columns-4 li.product {
		width: 22.15%;
	}

	ul.products.columns-5 li.product {
		width: 16.96%;
	}

	ul.products.columns-6 li.product {
		width: 13.49333%;
	}
}

/**
 * Single product
 */
.single-product div.product {
	position: relative;
}

.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 2em;
	right: 1em;
	display: block;
	z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: 0.5;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
	width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 30.79667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 22.15%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
	clear: both;
}

.stock:empty::before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
}

/**
 * Checkout
 */
 /**
 *NICK ADDED START
 */
 .woocommerce-billing-fields .form-row, .woocommerce-shipping-fields .form-row,.woocommerce form .form-row {
display: block;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
max-width: unset;
}
ul.woocommerce-error {
		
	}
	.wc_payment_methods payment_methods methods {
		
	}
	label[for="payment_method_eghl"] {
		text-align:left;
	}
	label[for="payment_method_eghl"] img {
		padding-top:10px;
		padding-bottom:10px;
		display:block;
	}
	.payment_box.payment_method_eghl p{
		display:none;
	}
	button[name="woocommerce_checkout_place_order"] {
		margin-left:5px;
		margin-top:5px;
	}
	.woocommerce-privacy-policy-text {
		/* display: none; */
		/* padding: 1.41575em; */
		padding: 0;
	}
	#order_review td {
		vertical-align: top;
		/* line-height: 1.5em; */
		padding-top:5px;
		padding-bottom:5px;
		text-align:right;
	}
	#order_review td.product-quantity {
		text-align:center;
	}
	#order_review td.product-name {
		text-align:left;
	}
	.woocommerce-checkout .woocommerce-error li strong {
		font-weight:400;
	}
	.woocommerce-checkout .entry-content {
		padding-top:30px;
		padding-bottom:30px;
		padding-left:15px;
		padding-right:15px;
		background-color:#fff;
	}
	.woocommerce-checkout #content .cart-attributes li {
		margin-bottom:0;
	}
	.woocommerce-checkout .entry-header.main-desc > hr {
		display:none;
	}
	
	 .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input#terms,
	.checkout .woocommerce-terms-and-conditions-wrapper input#terms {
		width:initial;
		height:12px;
		display:inline;
	}
	
	#order_review td.product-total, tr.order-total td, tr.cart-subtotal td, th.product-total {
		text-align:right;
	}
	tr.order-total td {
		font-size:1.2em;
	}
	.form-row.place-order {
		margin:0;
	}
	.wc_payment_method {
		display: block;
		padding: 1.41575em;
		cursor: pointer;
		background-color:rgba(0,0,0,0.03);
	}
	.woocommerce-checkout #primary a {
		color:red;
	}
	.woocommerce-checkout #place_order {
		margin-left:auto;
		margin-right:auto;
		background-color:#c00;
		color:#fff;
		display:block;
	}
	#payment .payment_methods {
    margin: 0!important;
    padding: 0!important;
	}
	#payment .payment_methods li {
		list-style: none!important;
		margin-left: 0;
		position: relative;
		background-color:#fff;
	}	
	input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
		padding-left:8px;
	}
	#order_comments {
		height:130px;
	}
	input, label, text-area, #order_comments {
		// margin-left:7px;
	}
	h3 {
		margin-left:-8px;
	}
	input {
		display:block;
		width:100%;
		height:40px;
		
	}
	.select2-container--default .select2-selection--single .select2-selection__arrow , .select2-container .select2-selection--single {
		height:40px;
	
	}
	.select2-container--default .select2-selection--single .select2-selection__rendered {
		line-height:40px;
	}
	label {
		display:block;
		width:100%;
		margin-bottom:0px;
		font-weight:500;
	}
	.woocommerce-input-wrapper {
		width:100%;
		padding-right:20px;
		max-width:400px;
	}
	abbr[data-original-title], abbr[title] {
		text-decoration:none;
	}
	#billing_company_field {
		display:none;
	}
	#billing_country_field {
		visibility:hidden;
		display:none;
	}
/**
* NICK ADDED END
*/
@media screen and (min-width: 768px) {

	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}

	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}

	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}

/**
 * General WooCommerce components
 */

/**
 * Header cart
 */
.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}

/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	line-height: 1.618;
	font-size: 1em;
	width: 5.3em;
	font-family: star;
	font-weight: 400;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	opacity: 0.25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: #4169e1;
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: star;
	content: "\53";
	color: #404040;
	text-indent: 0;
	opacity: 0.25;
}

p.stars a:hover ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars:hover a::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	position: relative;
}

.woocommerce-tabs ul.tabs li a {
	padding: 1em 0;
	display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
	margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background-color: #0f834d;
	clear: both;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
	background-color: #3d9cd2;
}
.woocommerce-info {
	display:none;
}
.cart-empty.woocommerce-info {
	display:none;
}
.woocommerce-error {
	background-color: #e2401c;
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: #3d9cd2;
	z-index: 9999;
}

@media screen and (min-width: 48em) {

	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	.site-header-cart:hover .widget_shopping_cart,
	.site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: #4169e1;
	box-sizing: border-box;
	margin-top: -0.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
	height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}




ul.woocommerce-error li {
	list-style:none;
}
ul.woocommerce-error {
	display:block;
	margin-left:0px;
	list-style:none;
	padding-left:5px;
	padding-right:5px;
	padding-top:8px;
	padding-bottom:8px;
	margin-bottom:4px;
}
div.woocommerce-message a{
	display:none;
}
	div.woocommerce-message {
		display:block;
	}
	
  .woocommerce-message, ul.woocommerce-error li {
	 border-radius:5px;
	color:#fff;
	padding-left:5px;
	padding-right:5px;
	padding-top:8px;
	padding-bottom:8px;
	margin-bottom:4px;
  }

.wc_payment_method.payment_method_ipay88 label[for=ipay88_payment_type] {
	display:none;
}
.ipay88_opt_container label {
	display:inline-block;
	width:auto;
}

.ipay88_opt_container input {
	display:inline-block;
	width:auto;
	height:auto;
}

.woocommerce-additional-fields {
	/* display:none; */
}

.woocommerce-additional-fields h3,
.woocommerce-additional-fields .woocommerce-additional-fields__field-wrapper
{
	display:none;
}

.woocommerce-checkout-review-order-table tr td {
	background-color:#fff;
	/* padding-left:15px; */
	/* padding-right:15px; */
}
form.checkout p {
	margin-bottom:0;
}

form.checkout p.form-row {
	margin:0;
}


.woocommerce-checkout .entry-header .entry-title {
	display:none;
}
.woocommerce-checkout-review-order-table {
	margin-bottom:0;
}
.woocommerce-billing-fields > h3 {
	display:none;
}
.wc_payment_method.payment_method_ipay88 {
	padding-top:0px;
}
label[for=payment_method_ipay88] {
	display:none;
}
.woocommerce-checkout-review-order-table .cart_item, .woocommerce-checkout td.product-name {
	font-weight:700;
	/* font-size:1.2em; */
}

.woocommerce-checkout th.product-name,
.woocommerce-checkout td.product-name .product-quantity,
.woocommerce-checkout th.product-total,
.woocommerce-checkout tr.order-total,
.woocommerce-checkout th.product-quantity,
.woocommerce-checkout tr.cart-subtotal,
#order_review_heading {
	display:none;
}

.woocommerce-checkout #primary {
	background-color:#f2f3f6;
	padding:20px 15px;
	max-width:700px;
	margin-left:auto;
	margin-right:auto;
}
body .ipay88_payment_container {
	text-align:left;
	/* margin-top:0.85em; */
}

.payment_box.payment_method_ipay88 > p:first-child {
	font-weight:700;
	margin-bottom:15px;
	text-align:left;
}
@media (max-width: 364px) {
	.ipay88_payment_container {
		text-align:left;
	}
	.woocommerce-checkout .ipay88_opt_container {
		width: 100%;
		max-width: 147px;
		margin-left:auto;
		margin-right:auto;
		margin-top: 0px;
		margin-bottom:15px;
	}
}
@media (min-width: 365px) {
	.woocommerce-checkout .ipay88_opt_container {
		width: 48%;
		max-width: 147px;
		margin-top: 0px;
	}
}

body .ipay88_title_opt {
	margin-bottom:0px;
}
body .wc_payment_method {
	padding-left:0;
	padding-right:0;
}
body .ipay88_opt_container {
	min-height:initial;
	margin-right:5px;
	margin-left:0px;
}
.ipay88_opt {
	position:relative;
}
.ipay88_opt label {
	position:relative;
	max-width:110px;
	margin-left:auto;
	margin-right:auto;
}

.ipay88_opt label input {
	height:initial;
	position:absolute;
	left:-5px;
	top:50%;
	transform:translateY(-50%);
}

.woocommerce-cart .entry-title {
	display:none;
}

.woocommerce-thankyou-order-received {
	font-weight:700;
	text-align:center;
}


.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	margin-left:0px;
	padding-left:0px;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
	list-style:none;
}
.woocommerce-checkout.woocommerce-order-received section.woocommerce-order-details {
	display:none;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	display:none;
}


.woocommerce-order.thankyou .toyothank td,
.woocommerce-order.thankyou .toyothank th {
	padding-bottom:8px;
	font-size:0.8em;
}
.woocommerce-order.thankyou .toyothank td{
	text-align:right;
	font-weight:700;
}
.woocommerce-order.thankyou .toyothank th{
	font-weight:400;
}

.woocommerce-order.thankyou .toyotacontact p span{
	word-break:keep-all;
	white-space:nowrap;
}
.woocommerce-order.thankyou .toyotacontact {
	background-color: rgba(0,0,0,0.1);
	padding:15px;
	font-size:0.8em;
	margin-top:15px;
	width:auto;
}

.woocommerce-checkout .cart-attributes {
	/* font-family: 'Arial'; */
	font-weight: 400;
	font-size: 0.8rem;
	opacity:0.8;
	/* text-transform:uppercase; */
}
.woocommerce-checkout .cart-attributes ol {
	margin-left:15px;
	font-weight: 400;
	font-size: 0.7rem;
	/* opacity:0.8; */
	padding:0;
}
.woocommerce-checkout .cart-attributes span {
	display:block;
	/* text-transform: uppercase; */
}