/*
	Theme Name: Fastr Louder
	Theme URI: https://heartdigital.com.au/
	Description: 
	Author: Heart Digital
	Author URI: https://heartdigital.com.au/
	Version: 1.0
	Requires at least: 6.0
	Tested up to: 6.7.1
	Requires PHP: 7.4
	Text Domain: fastr-louder
*/


/* html {
  -webkit-text-size-adjust: 100%;line-height: 24px;
} */

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	font-family: "Poppins", Sans-serif;
}
h1, h2, h3, h4, h5, h6 {font-weight:400; margin-bottom:0;}
input {
    padding: 15px;
    line-height: 1;
}
.width-100 {
    width: 100%;
    display: block;
    overflow: hidden;
}
.font-500{font-weight:500;}
.d-none{
	display:none;
}
.d-flex{
	display:flex;
}
.flex-wrap{
	flex-wrap:wrap;
}
.justify-content-between{
	justify-content:space-between;
}
.align-item-end{
	align-items:flex-end;
}
.width-50 {
    width: calc(50% - 10px);
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.mt-4{margin-top:20px;}

.py-50{padding-top: 50px; padding-bottom: 50px;}
.py-100{padding-top: 100px; padding-bottom: 100px;}
.position-relative{position: relative;}

main.elementor-element {
    position: relative;
}
main.elementor-element:before {
    content: '';
    position: absolute;
    width: 800px;
    background: #FAB13F;
    opacity: 0.8;
    border-right: 50px;
    transform: skew(-30deg);
    left: -140px;
}
.button {
    background-color: var(--e-global-color-primary);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    color: #000;
    border-radius: 5px;
    display: inline-block;
}
.custom-button {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Loader */
.disable {position: relative;opacity: 0.1;}
div#response {position: absolute; top: 25px; font-size: 40px; width: 100%; text-align: center; line-height: 1;}
.loading span {animation: loading 1.4s infinite alternate;}
.loading span:nth-child(1) {animation-delay: 0s;}
.loading span:nth-child(2) {animation-delay: 0.1s;}
.loading span:nth-child(3) {animation-delay: 0.2s;}
.loading span:nth-child(4) {animation-delay: 0.3s;}
.loading span:nth-child(5) {animation-delay: 0.4s;}
.loading span:nth-child(6) {animation-delay: 0.5s;}
.loading span:nth-child(7) {animation-delay: 0.6s;}
@keyframes loading {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Login popup */
.modal {
	display: none;
	position: fixed;
	z-index: 9;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}
.modal-content {
	background-color: #fff;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 50%;
	text-align: center;
	border-radius: 5px;
}
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}
.close:hover { color: black; }
.modal-content input {
	width: 90%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.error-message {
	color: red;
	margin-top: 10px;
}
.success-message{
	color:green; margin-top:10px;
}

/* Single Car Page CSS */
.single-car-content{
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}
.car-details-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; position: relative;
}
.car-details-wrapper .car-details {width: 73%;}
.car-details-wrapper .car-booking {width: 23%; position: absolute; right: 0; top: 0; height: 100%;}
.car-details-wrapper .car-booking .summary-wrapper{border: 1px solid #272727; padding: 25px; border-radius: 10px; position: sticky; top: 170px; background-color: #272727; color:#fff;}
.car-booking .summary > div {display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; padding-top:5px; padding-bottom:5px;}
.car-booking .summary > div + div {margin-top: 10px;}
.car-booking .summary > div input {padding: 12px 15px; border-radius: 5px; border: none;}
.car-booking select#event_type {width: 100%; padding: 15px; border-radius: 5px; border: none; background-color: white; color: #757575;}
.car-booking #booking_date {
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
  border: none;
  color: #757575;
}
.car-booking textarea#booking_message { width: 100%; height: 150px; resize: none; outline: none; padding:15px; border:none; border-radius: 5px; border: none; margin-top:10px;}
.car-booking button.custom-button {margin-top: 15px; width: 100%;}
.car-details-wrapper .car-details .car-images-grid {display: grid; grid-auto-rows: 150px; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 10px;}
.car-details-wrapper .car-details .car-images-grid span {cursor: pointer; height: 100%; position: relative; display: block; background-blend-mode: hard-light; transition: all 0.5s ease-in-out; cursor: pointer;}
.car-details-wrapper .car-details .car-images-grid span:first-child {grid-row: 1 / 3; grid-column: 1 / 4;}
.car-details-wrapper .car-details .car-images-grid span img {position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; top: 0; left: 0; border-radius: 10px;}
.car-details-wrapper .car-details .car-images-grid span.extra-images {position: absolute; color: #fff; font-size: 30px; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
.car-details-wrapper .car-details .car-images-grid span:last-child {background-color: rgba(0,0,0,0.5); border-radius: 10px;}
.car-details-wrapper .car-details .car-images-grid span.d-none{display:none;}

.single-fastr-car .banner-image {width: 100%; position: relative; display: block; height: 0; padding-top: 550px;}
.single-fastr-car .banner-image img {position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; top: 0; left: 0;}
.single-fastr-car .banner-image .banner-content-wrapper {
    max-width: 1320px;
    position: absolute;
    bottom: 70px;
    left: 70px;
    width: auto;
}
.single-fastr-car .banner-image .banner-content-wrapper:before{
	content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}
.single-fastr-car .banner-image .banner-content {
	position:relative; color: #fff; padding:35px; z-index:9;
}

.single-fastr-car .banner-content h1{font-size: 40px; font-weight: 700; margin-top: 0; line-height: 1; margin-bottom:15px;}
.single-fastr-car .banner-image .banner-content span {font-size: 18px;}
.single-fastr-car .car-attributes {
    border-top: 1px solid #dce0e0;
    border-bottom: 1px solid #dce0e0;
    width: 100%;
    padding: 25px 0;
    display: flex;
    flex-wrap: wrap;
}
.single-fastr-car .car-attributes > div {
    max-width: 33%;
    width: 100%;
    padding-top: 10px;
    padding-right: 10px;
	padding-bottom: 10px;
    display: flex;
    align-items: center;
}
.single-fastr-car .car-attributes span.icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    margin-right: 10px;
}
.single-fastr-car .car-attributes span.icon svg {
    width: 32px;
    height: auto;
    fill: #FAB13F;
}
.single-fastr-car .car-attributes span.icon + span b{font-weight: 500;}
.single-fastr-car .car-attributes span small {
  display: block;
  text-transform: capitalize;
}
.single-fastr-car .car-attributes span {
  line-height: 1.2;
}
.single-fastr-car .car-gallery {border-bottom: 1px solid #dce0e0; padding: 25px 0; display: flex; flex-wrap: wrap;}
.single-fastr-car .car-gallery > span {width: 33%; padding: 5px;}
.single-fastr-car .car-gallery > span img {width: 100%; height: auto;}
.single-fastr-car .car-events {border-bottom: 1px solid #dce0e0; padding: 25px 0;}
.single-fastr-car .car-events h5 {margin-top: 0; font-size: 20px; font-weight: 700;}
.single-fastr-car .car-description {border-bottom: 1px solid #dce0e0; padding: 25px 0;}
.single-fastr-car .car-description h5 {margin-top: 0; font-size: 20px; font-weight: 700;}
.single-fastr-car .youtube {border-bottom: 1px solid #dce0e0; padding: 25px 0;}
.single-fastr-car .youtube iframe {width: 100%; height: 542px;}

.policies-aggrement .wrapper {background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 8px; padding: 15px; margin-top: 5px;}
.policies-aggrement .wrapper p {margin-top: 0;}
.policies-aggrement .wrapper input {margin: 0 5px 0 0;}
.details .wrapper {border: 1px solid #cccccc; border-radius: 8px; padding: 15px; margin-top: 5px; display: flex; flex-wrap: wrap; justify-content: space-between;}
.details .wrapper > div {width: 33%;}
.details .wrapper > div.width-100 {width: 100%; margin-top: 30px;}
.details .wrapper > div p {margin-top: 5px;}

/* WooCommerce CSS */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    background-color: #f9e434;
    color: #000;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    line-height: 1;
    border-radius: 7px 7px 7px 7px;
    padding: 15px 30px;
}

/* WC my account */
input#car_owner_dob {
    padding-top: 14px;
    padding-bottom: 15px;
}
.booking-table {margin-top:15px;}
.booking-table tr th {border-bottom: 1px solid #000000 !important; text-align:left;}
.booking-table tr:last-child td {border-bottom: none !important;}
.booking-table tr th, .booking-table tr td{padding:10px !important;}
.booking-table .start-chat-btn {
  background-color: #f9e434;
  padding: 6px 15px;
  color: #000 !important;
  border-radius: 5px;
  margin-right: 10px;
	font-family: "Roboto", Sans-serif;
    font-size: 14px;
    font-weight: 500;
	text-transform:uppercase;
}
#booking-details{width: 100%; border: 1px solid #ddd; padding: 15px; margin-bottom: 20px;}
#fastr-chat-input {width: 100%;height: 150px;margin-top: 15px;resize: none; padding: 15px;border:1px solid #ddd;}
#fastr-chat-messages{max-height: 300px; overflow-y: auto; border: 1px solid #ddd; padding: 15px;}
div#pay-now-container {margin-top: 15px;}


#fastr-chat-messages { max-height: 420px; overflow-y: auto; padding: 12px; background:#fafafa; border-radius:8px; border:1px solid #eee; }
.chat-message { margin-bottom: 12px; padding: 8px; border-radius:10px; max-width:82%; }
.chat-message.sender { background:#e6fff0; margin-left:auto; }
.chat-message.receiver { background:#ffffff; margin-right:auto; }
.chat-header { font-size:13px; margin-bottom:6px; color:#444; display:flex; gap:8px; align-items:center; }
.chat-time { font-size:12px; color:#888; margin-left:6px; }
.chat-text { font-size:14px; color:#222; white-space:pre-wrap; }
.chat-attachment { margin-top:8px; }
.chat-img-thumb { cursor:zoom-in; }
.chat-pdf-link { display:inline-block; padding:6px 8px; background:#f5f5f5; border-radius:6px; color:#0073aa; text-decoration:none; }


#order_review table tr.fee th, #order_review table tr.fee td {
    padding-top: 0;
    padding-bottom: 0;
    font-weight: normal;
    padding-left: 10px;
}

/* List new car CSS */
.availabile-services table td {padding-top: 0px !important; padding-bottom: 5px !important;}
.availabile-services table input {padding: 6px 15px;}
.availabile-services table {width: 100%;}
.availabile-services table th {text-align: left;}
#car_main_image_preview {
    width: 200px;
    height: auto;
    display: block;
    margin-top: 10px;
    position:relative;
}
#car_main_image_preview .delete, .preview .delete {
    position: absolute;
    top: -5px;
    right: -5px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    background-color: red;
    width: 20px;
    height: 20px;
    line-height: 1;
    text-align: center;
    border-radius: 20px;
}
table#table-car-images {
    width: 100%;
}
table#table-car-images .car_gallery_images {width: calc(100% - 150px);}
table#table-car-images tr.image-row {display: flex;flex-wrap: wrap;align-items: center;}
table#table-car-images tr.image-row td {
    display: flex;
    align-items: center;
}
table#table-car-images tr.image-row td:first-child {width: calc(100% - 150px);}
table#table-car-images tr.image-row td:last-child {width: 150px;}
#table-car-images button, button#add-image {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}
table#table-car-images tr.image-row .preview {
    display: inline-block;
    width: 100px;
    height: auto;
}
.select2-container .select2-selection--multiple {
    border: none;
    background-color: #f9fafa;
    border-radius: 0;
    height: 45px;
    line-height: 1;
}
.select2-container .select2-selection--multiple ul.select2-selection__rendered {height: 45px;}
/* .select2-container .select2-selection--multiple ul.select2-selection__rendered li {height: 40px;} */
.is-invalid .form-control, .is-invalid .select2-container--default {
    border-color: #dc3545 !important;
}
span.asterisk{
/* content:"*" ;*/
    color:red    
}
.ajax-loader {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 9;
}

.list-car-section .car-listing-container {
    margin: 0 auto;
    max-width: 1320px;
	padding-top:50px;
	padding-bottom:50px;
}
.woocommerce-MyAccount-navigation ul {padding-left: 0;list-style-type: none;margin: 0;}
/*nav.woocommerce-MyAccount-navigation {*/
/*    width: calc(25% - 15px);*/
/*}*/
/*.car-listing-form {*/
/*    width: calc(75% - 15px);*/
/*}*/

/* My car CSS */
.car-wrapper .car-image {
  width: 100%;
  position: relative;
  display: block;
  height: 0;
  padding-top: 270px;
}
.car-wrapper .car-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  top: 0;
  left: 0;
  border-radius: 15px;
}
.car-wrapper .car-card {
  position: relative;
  margin-bottom: 180px;
}
.car-wrapper .car-body {
  position: absolute;
  width: calc(100% - 40px);
  top:220px;
  left: 0;
  background-color: #FAB13F;
  margin: 0px 20px;
  padding: 30px 30px 20px 30px;
  border-radius: 15px;
}
.car-wrapper .car-body .card-title {
  margin-top: 0;
  margin-bottom: 15px;
  color: #000;
  font-size: 26px;
}
.car-wrapper .car-body ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  column-count: 2;
  color: #000;
  font-size: 16px;
}
.car-wrapper .car-body .link-btn {
  margin-top: 10px;
}
.car-wrapper .car-body .link-btn > a {
  background-color: #000;
  color: #fff !important;
  padding: 12px 30px;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  font-size: 16px;
  border-radius: 5px;
}
.car-wrapper .car-body .link-btn > a + a {
  margin-left: 10px;
}

.woocommerce-MyAccount-navigation ul li a {
    background: #000000;
    color: #ffffff;
    display: block;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    padding: 12px 20px;
    text-decoration: none;
	font-family: Roboto, sans-serif;
}
.woocommerce-MyAccount-navigation ul li + li {
    margin-top: 2px;
}

.mt-30{margin-top:30px;}
.car-listing-form h4 {
    margin: 0 0 10px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
}
.car-listing-form label {
    width: 100%;
    display: block;
	margin: 10px 0px 5px 0;
}
.car-listing-form .form-control {
    padding: 15px;
    width: 100%;
    color: #000;
    border: 1px solid #c0c0c0;
    background: #f9fafa;
}

.footer-newsletter .elementor-field-type-text, .footer-newsletter .elementor-field-type-email {width: 30% !important;}
.footer-newsletter .elementor-form-fields-wrapper {justify-content:end;}

@media(max-width:1350px){
	.single-car-content{max-width:calc(100% - 30px);}
	.footer-newsletter .elementor-form-fields-wrapper {justify-content:center;}
}

@media(max-width:767px){
    .mobile-width-100{width: 100%;}
	main.elementor-element:before{width:550px;}
	.modal-content{width: 90%;}
	.single-fastr-car .banner-image .banner-content-wrapper{max-width: 320px; bottom: 15px; left: 15px;}
}

@media(max-width:480px){
	main.elementor-element:before{width: 100%; border-right: 50px; transform: skew(0deg); left: 0; right: 0; opacity: 0.6;}
}