/*--------------------------------------------------------------
# Resettting theme defaults
--------------------------------------------------------------*/
::selection {
    background: #005091;
    color: #fff;
    text-shadow: none;
}

html,body{
	overflow-x:hidden;
}


button:has(span.search-btn){
	cursor:pointer !important;
}
.search-btn{
	color:#fff !important;
}
.ast-page-builder-template .site-content > .ast-container {
    max-width: 100%;
    padding: 0;
	display:block;
}
.banner-wrapper {
    width: 1440px;
    margin: 0 auto;
}
.dealer-locator #main{
	padding: 0!important;
	margin: 0!important;
}
.dealer-logo {
    margin-bottom: 20px;
}
a.dealer-quote {
    background-color: #002E5B;
    color: #fff !important;
    border: 1px solid #000;
    padding: 12px 24px 12px 24px;
    border-radius: 8px;
    margin-top: 15px;
}
a.dealer-quote:hover {
    color: #fff !important;
    text-decoration: none;
    background-color: #005492 !important;
    border: 1px solid #002E5B !important;
}
div#dealer-hero {
    display: flex
;
    flex-direction: column;
    justify-content: center;
}
.dealer-locator h2 {
    font-family: 'Open Sans', Sans-serif;
    color: #fff;
    font-size: 56px;
    padding: 0px;
    margin: 0px;
}
.dealer-locator h2.findd {
    font-family: 'Open Sans', Sans-serif;
    color: #000;
    font-size: 48px;
    padding: 0px;
    margin: 0px;
}
.dealer-locator p {
    font-family: 'Open Sans', Sans-serif;
    font-size: 18px;
    color: #fff;
    margin: 0px;
}
.dealer-locator p.main-text {
    font-family: 'Open Sans', Sans-serif;
    font-size: 18px;
    color: #000;
    margin: 20px 0px 40px 0px;
}
.dealer-locator #main .fusion-row{
	width: 100%;
	max-width: 100%;
}
/*--------------------------------------------------------------
# Dealer  Hero
--------------------------------------------------------------*/
.dealer-locator #dealer-hero{
	width: 100%;
	/*background-size: cover;*/
	height: 369px;
	padding:0px 20px
	margin:0 auto;	
	/*position: relative;*/
}
.dealer-locator #dealer-hero:before{
	/*content: '';
	display: block;
	background-color: rgba(0,0,0,0.3);
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1;
	bottom: 0;*/
}
/*--------------------------------------------------------------
# Dealer Search Postcode Form
--------------------------------------------------------------*/
.dealer-locator #dealer-hero #dealer-locator{
	position: absolute;
    z-index: 9;
    text-align: center;
    top: 50%;
    left: 50%;
    right: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    padding: 0 30px;
    max-width: 700px
}
.dealer-locator #dealers-filter #dealer-locator input[type="number"]{
	height: 60px;
	line-height: 60px;
	width: 70% !important;
	padding: 0 35px 0 15px;
	float: left;
	border: 1px solid #000 !important;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	background-color: #fff;
	font-family: 'Open Sans', sans-serif;
	display: block;
	font-size: 16px;
}
.dealer-locator #dealer-hero #dealer-locator input[type=number]::-webkit-inner-spin-button,
.dealer-locator #dealer-hero #dealer-locator input[type=number]::-webkit-outer-spin-button {
  	-webkit-appearance: none;
 	margin: 0;
}
.dealer-locator #dealer-hero #dealer-locator input[type="number"]:focus{
	outline: none;
	border: none;
}
.dealer-locator #dealer-hero #dealer-locator button{
	background-color: #005091;
	width: 30%;
	height: 60px;
	display: block;
	border: none;
	float: left;
	line-height: 60px;
	font-family: 'Open Sans', sans-serif;
	font-size: 21px;
	color: #fff;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease-in-out;
	-webkit-transition: background-color 0.3s ease-in-out;
}
.dealer-locator #dealer-hero #dealer-locator button:hover{
	background-color: #025c99;
	transition: background-color 0.3s ease-in-out;
	-webkit-transition: background-color 0.3s ease-in-out;
}
.dealer-locator #dealer-hero #dealer-locator button:disabled{
	opacity: 0.8;
	cursor: default;
}
.dealer-locator #dealer-hero #dealer-locator button:focus{
	outline: none;
	border: none;
}
.dealer-locator #dealer-hero #dealer-locator button:before{
	content: '\f002';
	display: inline-block;
	margin-right: 10px;
	font-family: 'FontAwesome';
	font-size: 18px;
	color: #fff;
	top: -2px;
    position: relative;
}
.dealer-locator #dealer-hero #dealer-locator #error{
	position: absolute;
    top: -60px;
    color: #fff;
    width: 205px;
    left: 30px;
    text-align: left;
}
.dealer-locator #dealer-hero #dealer-locator #error p:after{
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #005091;
    position: absolute;
    bottom: -10px;
}
.dealer-locator #dealer-hero #dealer-locator #error p{
	padding: 10px 15px;
    margin: 0;
    background-color: #005091;
    font-size: 14px;
    line-height: 16px;
    position: relative;
}
/*--------------------------------------------------------------
# Dealers Filter
--------------------------------------------------------------*/
/*#dealers-filter{
	background-color: #fff;
	height: 95px;
}*/
#dealers-filter {
    text-align: center;
    margin: 80px 0px;
}
#dealers-filter .wrapper{
	max-width: 1440px;
	padding: 0 20px;
	margin: 0 auto;
}
/*#dealers-filter .label{
	width: 20%;
	float: left;
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	font-weight: bold;
    font-size: 19px;
    padding: 33px 0;
    color: #005091;
}*/
#dealers-filter ul{
	width: max-content;
	float: left;
	padding: 0;
	margin: 0;
	text-align: center;
}
.flt-opt {
    display: flex;
    justify-content: center;
	margin-top: 40px;
}
.flt-opt ul {
    background: #E7F3FE;
    height: 76px;
    display: flex;
    align-items: center;
	padding: 0px 10px !important;
	border-radius: 8px !important;
}
#dealers-filter li.is-active{
	padding: 10px 16px;
    background: #002E5B;
    color: #fff;
    border-radius: 8px;
}
#dealers-filter li{
	display: inline-block;
	list-style: none;
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
	color: #000;
	text-align: right;
	padding: 35px 0px 33px;
	margin-right: 17px;
	margin-left: 17px;
	cursor: pointer;
	transition: color 0.3s ease-in-out;
	-webkit-transition: color 0.3s ease-in-out;
}
#dealers-filter li:hover{
	color: #005091;
	transition: color 0.3s ease-in-out;
	-webkit-transition: color 0.3s ease-in-out;
}
#dealers-filter li:last-child{
/* 	margin-right: 0; */
}
.dealer-quote.mobile, .mobile-filter{
	display:none !important;
}
.dealer-quote.desktop{
	display:block !important;
}
.desktop-filter{
	display:flex !important;
}
/*--------------------------------------------------------------
# Dealers
--------------------------------------------------------------*/
/*.dealer-locator #dealers{
	background-color: #f7f7f7;
	padding: 90px 0 40px;
	min-height: 600px;
	position: relative;
	float: left;
	width: 100%;
}*/

.dealer-locator #dealers .wrapper{
	max-width: 1440px;
    padding: 0 30px;
    margin: 0 auto;
}
.dealer-locator #dealers h2{
    /*font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #005091;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
	margin-bottom: 55px;
	clear: both;*/
	display:none;
}
/*--------------------------------------------------------------
# Dealer
--------------------------------------------------------------*/
.dealer-details.equal {
    display: flex
;
    flex-direction: column;
    align-items: center;
}
.dealer-locator .dealer{
	/*background-color: #fff;*/
	margin-bottom: 16px;
	display: inline-block;
	width: 24.7%;
	text-align:center;
}
/*.dealer-locator .dealer:nth-child(odd){
	margin-left: 1%;
}
.dealer-locator .dealer:nth-child(even){
	margin-right: 1%;
}*/
.dealer-locator .dealer:after{
	content: '';
	display: table;
	clear: both;
}
.dealer-locator .dealer .dealer-details{
/* 	width: 100%;
	padding: 40px;
	float: left; */
	width: 96%;
    padding: 16px;
    float: left;
    border-radius: 8px;
    border: 0.25px solid #000;
	background: #FFF !important;
    box-shadow: none;
	height:295px !important;
}

.dealer-locator .dealer .dealer-details:hover{
    
	background: #FFF !important;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25) !important;
}

.dealer-locator .dealer .dealer-details h3{
	font-family: "Open Sans", Sans-serif;
    font-weight: normal;
    font-size: 18px;
	line-height:normal;
    color: #000000;
    margin-top: 0;
    text-transform: none;
    text-wrap: nowrap;
    overflow-x: hidden;
    width: 100%;
    text-overflow: ellipsis;
}
.dealer-locator .dealer .dealer-details p,
.dealer-locator .dealer .dealer-details a{
	position: relative;
	display: block;
	color: #000000;
	font-size: 14px;
	/*margin-bottom: 15px;*/
	font-weight: 300;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
	font-family: "Open Sans", Sans-serif;
}
.dealer-locator .dealer .dealer-details a:hover{
	color: #005091;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}
.dealer-locator .dealer .dealer-details p span{
	display: block;
}
.dealer-meta {
    width: 100%;
}
/*.dealer-locator .dealer .dealer-meta{
	padding-left: 25px;
	width: 80%;
	float: left;
}
.dealer-locator .dealer .dealer-logo{
	width: 20%;
    float: right;
    margin-top: -50px;
}*/
/*.dealer-locator .dealer .dealer-details .phone:hover:before{
	color: #005091;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}
.dealer-locator .dealer .dealer-details .phone:before{
	content: '\f095';
	display: inline-block;
	font-family: 'FontAwesome';
	font-size: 16px;
	position: absolute;
	left: -25px;
	color: #666666;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}
.dealer-locator .dealer .dealer-details .address:before{
	content: '\f041';
	display: inline-block;
	font-family: 'FontAwesome';
	font-size: 16px;
	position: absolute;
	left: -25px;
	color: #666666;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}
.dealer-locator .dealer .dealer-details .email:before{
	content: '\f003';
	display: inline-block;
	font-family: 'FontAwesome';
	font-size: 14px;
	position: absolute;
	left: -25px;
	top: 1px;
	color: #666666;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}
.dealer-locator .dealer .dealer-details .email:hover:before{
	color: #005091;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}
.dealer-locator .dealer .dealer-details .website:before{
	content: '\f0ac';
	display: inline-block;
	font-family: 'FontAwesome';
	font-size: 16px;
	position: absolute;
	left: -25px;
	color: #666666;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}
.dealer-locator .dealer .dealer-details .website:hover:before{
	color: #005091;
	transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
}*/
/*--------------------------------------------------------------
# Dealer Map
--------------------------------------------------------------*/
/*.dealer-map{
	width: 100%;
	float: left;
    height: 400px;
		position: relative;
	margin-bottom: 40px;
}
.google-map{
    width: 100%;
    height: 100%;
}*/
/*--------------------------------------------------------------
# Loading Spinner
--------------------------------------------------------------*/
.spinner {
    width: 40px;
    height: 40px;
   	margin: 200px auto;
  	position: absolute;
  	left: 0;
  	right: 0;
  	background-color: #333;
  	border-radius: 100%;
  	-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  	animation: sk-scaleout 1.0s infinite ease-in-out;
}

form#dealer-locator {
    display: flex;
    justify-content: center;
	position:relative;
}
span#error {
    position: absolute;
    top: 105%;
}
span#error p {
    font-family: 'Open Sans', Sans-serif;
    font-size: 14px;
    color: #005091;
    margin: 0px;
}
input#postcode {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
form#dealer-locator button {
    border-radius: 0 8px 8px 0;
}
/* .flt-opt.flt-opt-t{
	display:none !important
} */


@-webkit-keyframes sk-scaleout {
  	0% { -webkit-transform: scale(0) }
  	100% {
    	-webkit-transform: scale(1.0);
    	opacity: 0;
  	}
}

@keyframes sk-scaleout {
	0% {
	    -webkit-transform: scale(0);
	    transform: scale(0);
	} 100% {
	    -webkit-transform: scale(1.0);
	    transform: scale(1.0);
	    opacity: 0;
	}
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	.dealer-locator .dealer .dealer-details{
		padding: 40px 45px;
	}
	.dealer-locator .dealer .dealer-logo{
		display: block;
	}
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
	html{
		overflow-x:hidden;
	}
	/*--------------------------------------------------------------
	# Dealer Hero
	--------------------------------------------------------------*/
	.dealer-locator #dealer-hero{
		height: 220px;
	}
	/*--------------------------------------------------------------
	# Dealer Search Postcode Form
	--------------------------------------------------------------*/
	.dealer-locator #dealer-hero #dealer-locator input[type="number"]{
    	width: 85%;
    	overflow: hidden;
	}
	.dealer-locator #dealer-hero #dealer-locator button{
    	width: 15%;
	}
	.dealer-locator #dealer-hero #dealer-locator button:before{
		width: 100%;
	}
	.dealer-locator #dealer-hero #dealer-locator button span{
		display: none;
	}
	.dealer-quote.desktop, .desktop-filter{
		display:none !important;
	}
	.dealer-quote.mobile, .mobile-filter{
		display:block !important;
	}
	select.mobile-filter {
		width: 100%;
		padding: 15px;
		border-radius: 8px;
	}
	/*--------------------------------------------------------------
	# Dealers Filter
	--------------------------------------------------------------*/
	#dealers-filter{
		height: auto;
		padding-bottom: 15px;
		margin: 10px 0px;
	}
	#dealers-filter .label,
	#dealers-filter ul{
		width: 100%;
		float: none;
		text-align: center;
	}
	#dealers-filter li{
		margin-right: 10px;
   		margin-left: 10px;
   		padding: 0px 0px 0px;
	}
	#dealers-filter li.is-active{
		border-bottom: none;
	}
	/*--------------------------------------------------------------
	# Dealers
	--------------------------------------------------------------*/
	.dealer-locator #dealers{
		padding-top: 10px;
		padding-bottom: 5px;
	}
	.dealer-locator #dealers h2{
		margin-bottom: 25px;
	}
	/*--------------------------------------------------------------
	# Dealer
	--------------------------------------------------------------*/
	.dealer-locator .dealer{
		width: 96%;
	}
	.dealer-locator .dealer:nth-child(odd){
		margin-right: 0;
	}
	.dealer-locator .dealer:nth-child(even){
		margin-left: 0;
	}
	.dealer-locator .dealer .dealer-details,
	.dealer-map{
		width: 100%;
		float: none;
	}
	.dealer-locator .dealer .dealer-details{
/* 		height: auto!important;
		padding: 15px 5px;
		word-wrap: break-word; */
		height: auto !important;
        padding: 5px 10px;
        word-wrap: break-word;
        min-height: 290px;
        justify-content: space-evenly;
	}
	.dealer-map{
		height: 250px!important;
	}
	.dealer-locator .dealer .dealer-meta{
		width: 100%;
		float: none;
	}
	/* 22-11-2024 */
	.dealer-locator h2 {
		font-size: 40px;
	}
	.dealer-locator p {
		font-size: 16px;
	}	
	.dealer-locator h2.findd {
		font-size: 36px;
		padding-top:40px;
	}
	.dealer-locator p.main-text {
		font-size: 16px;
		margin: 20px 0px 20px 0px;
	}
	.flt-opt ul {
		gap: 10px;
		align-items: center;
		justify-content: center;
		flex-wrap:wrap;
	}
	.dealer-locator #dealers .wrapper {
		padding: 0 15px;
		display: grid;
        grid-template-columns: 1fr 1fr;
	}
	.dealer-locator .dealer .dealer-details h3 {
		font-weight: 600;
		font-size: 14px;
		margin-top: 15px;
		text-wrap: nowrap;
		width: 170px !important;
		overflow-x: hidden;
		text-overflow: ellipsis;
	}
	.dealer-locator .dealer .dealer-details p, .dealer-locator .dealer .dealer-details a {
		font-size: 12px;
		font-weight: 400;
	}
	#dealers-filter li.is-active {
		color: #fff !important;
	}
/* 	.flt-opt.flt-opt-o{
		display:none !important
	}
	.flt-opt.flt-opt-t{
		display:flex !important
	}
	.flt-opt.flt-opt-t select {
		width: 95%;
	} */
}

