/**
 * Theme Name:     Amspeed
 * Author:         Website Energizers
 * Template:       Divi
 * Text Domain:	   amspeed
 * Description:    Amspeed Child Theme
 * Theme URI:      https://websiteenergizers.com/
 * Author URI:     https://websiteenergizers.com/
 * Version:        1
 */


/* stop horizontal scroll */

#page-container {
	overflow-x: hidden!important;
	width: 100%!important;
}

html, body {
    overflow-x: hidden!important;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding: 40px 0 !important;
}

.swiper-scrollbar-drag {
	background:white !important;
	border-radius: 0px !important;
}

.swiper-scrollbar {
	background: rgb(40 40 40) !important;
	border-radius: 0px !important;
}

.swiper-container {
    width: 100%;
    height: 700px;
    white-space: nowrap;
    scroll-behavior: smooth;
}

@media all and (max-width: 767px) {
	.swiper-container {
		height: 500px !important;
	}
}

@media all and (max-width: 600px) {
	.swiper-container {
		height: 400px !important;
	}
}

@media all and (max-width: 450px) {
	.swiper-container {
		height: 330px !important;
	}
}

.swiper-slide {
    width: auto !important; /* Allow slides to have auto width */
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 65vw;
    max-height: 65vw;
    object-fit: cover;
}


@media (max-width: 999px) {
/* 	Disable the product overlay as the text doesn't scale and isn't going to work on touch screen devices anyway */
	.swiper-wrapper .product-overlay {
		display:none !important;
	}	
}

.swiper-wrapper .product-overlay {
	position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease 0s;
    font-size: 48px;
    user-select: none;
    padding-right: 1.7em;
	white-space: normal;
    text-align: center;
    padding: 1em;
}

.sales-status-Sold, .sold-text, .car-sales-status-text {
	display:none;
}

.sales-status-Sold.sold-text {
	display: block;
}

.sales-status-Sold.car-sales-thumbnail {
	display: block;
/* 	filter: brightness(0.4); */
}

.divi-filter-containter, .divi-filter-container { /* Yup Thats a typo. I've added the correct spelling in case it ever gets changed  */
	display: flex;
    justify-content: center;
}
.divi-acf.et_pb_contact_select {
	text-transform: uppercase;
	font-size: 30px !important;
}

.et_pb_contact_field_options_title{
    white-space: nowrap;
    padding-right: 20px;
}

.search_filter_cont {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.et_pb_contact_field, .et_pb_contact_select {
	width:fit-content;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
	margin: auto !important;
	max-width: 1920px;
}

.woocommerce-notices-wrapper, .woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
	background: black;
}

.posted_in a, .tagged_as a {
	color: #cdff52 !important;
}

ul.et_pb_tabs_controls:after {
	border: none !important;
}

/* #divi_filter .select2-container .select2-selection--single {
	background: #cdff52;
	color:black;
    font-size: 30px;
    padding: 16px;
    border-radius: 0px;
    border: none;
}

.select2-dropdown {
    background-color: #CDFF52 !important;
    border: none !important;
    border-radius: 0 !important;
	color:black;
	font-size:30px;
} */

.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li:hover a,
.et_pb_menu_0_tb_header.et_pb_menu ul li:hover a {
	color:black !important
}

.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item:hover a {
	color:black !important
}

.quantity input {
	padding: 11.5px !important;
}

.variations select {
	border-radius: 0 !important;
}

.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
	vertical-align: sub !important;
}

.reset_variations {
	font-size: 22px !important;
}

.woocommerce table.shop_attributes th {
	width: 25% !important;
	text-align: left !important;
}

.woocommerce-variation-description {
	display: none;
}

#order_review .woocommerce-Price-amount{
	font-size: 22px !important;
}

.woocommerce-Price-amount {
	color: #CDFF52 !important;
/* 	font-size: 48px; */
/* 	line-height: 48px; */
	padding-bottom: 1rem;
	display: inline-block;
}

.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
	top:40px !important;
}

.contact-form-input input {
	height: 75px !important;
    font-size: 30px !important;
    background: white !important;
    border-radius: 0px !important;
	padding: 0 25px;
}

.contact-form-textarea {
	height: 100% !important;
}

.contact-form-submit {
    margin-top: 5rem;
/* 	font-size: 30px !important; */
/* 	font-weight: bold !important; */
}

.contact-form-textarea textarea {
	height: 100% !important;
    font-size: 30px !important;
    background: white !important;
    border-radius: 0px !important;
	padding: 20px 25px;
}

.wpforms-submit-container {
	display: flex;
    justify-content: center;
}

.car-sales-listing:hover {
	background: white !important;
}

.car-sales-listing:hover .entry-title, .car-sales-listing:hover .sales-status-Sold {
	color: black !important;
}

.dipl_woo_product_category:hover .dipl_woo_product_category_content {
	background: white !important;
}

.dipl_woo_product_category:hover .dipl_woo_product_category_content  .dipl_woo_product_category_name a{
	color:black !important;
}


.dmach-grid-item.product_type-simple:hover .et_pb_row {
	background: white !important;
}

.dmach-grid-item.product_type-simple:hover .et_pb_row .product_title {
	color:black !important;
}

.woocommerce-checkout #payment div.payment_box {
	background-color: black !important;
}

.select2-results__option, .select2-selection__rendered, .woocommerce-input-wrapper input, .woocommerce-input-wrapper textarea {
	color: black !important;
}

.woocommerce-shipping-methods .woocommerce-Price-amount{
	padding-bottom: 0 !important;
}

.woocommerce-shipping-methods label {
	font-size:22px !important;
	font-weight: normal !important
}

.woocommerce-shipping-methods li {
	display:flex;
	gap: 1rem;
	align-items: center;
}

.includes_tax .amount, #order_review .includes_tax .amount {
	font-size:14px !important;
	color: white !important;
}