/*
Theme Name: purnell child theme
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Add border to Header 
.fusion-secondary-header, .fusion-header {
	border-bottom: 1px solid #707070 !important;
} */


/************** HEADER **************/

/* Change colour of top menu bar items */
#menu-item-17 > a > span, #menu-item-18 > a > span, #menu-item-19 > a > span {
	font-weight: 700;
}

#menu-item-17 > a > span:hover, #menu-item-18 > a > span:hover, #menu-item-19 > a > span:hover {
	color: #fff;
}




/******************* FOOTER ******************************/


/* Clean up Mailchimp signup in footer */
input.mcemail {
    /* style */
    border: none;
    padding: 7px;
    
    /* default input size isn't wide enough */
    width: 100%;
    
    /* keeps input from overflowing its container */
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;      

    /* prevents input from flowing behind the button */
    padding-right: 60px;                            

    /* line-height (which determines height) renders slightly different across browsers.
    But specifiying a fixed line-height: 14px caused a 1px difference in IE.
    I found it easier just to lock in the height */
    height: 33px;
}
input.mcsubmit {
    /* style */
    background-color: lightblue;
    border: none;
    padding: 7px !important;
    
    /* to match input height above */
    height: 33px;

    /* removes the box from DOM */
    float: right;
    
    /* alternative to negative margin-top,
    which seems to hide my button behind the input */
    position: relative;
    top: -36px;   
}

#mc4wp-form-1 {
	margin-top: 0;
}


/* Blog Moduals */

.post-content a {
    text-decoration: underline;
}


/* TABS */
.tab-content {
	margin-top: 0 !important;
}


#fusion-tab-landrover > h4, 
#fusion-tab-jaguar > h4, 
#fusion-tab-pre-owned > h4,
#fusion-tab-ineos > h4 {
	color: #eee !important;
}




/* Contact Form */
input.wpcf7-form-control.wpcf7-submit:hover {
background-color: black;
color: yellow;
}
input.wpcf7-form-control.wpcf7-submit {
background-color: red;
color: blue;
}

/* REmove border from Header Bar */
.fusion-header-v2 .fusion-header, .fusion-header-v3 .fusion-header, .fusion-header-v4 .fusion-header, .fusion-header-v5 .fusion-header {
	border-bottom-width: 0 !important;
}



/***************** NEWS PAGE ******************/

#Sidebarevents a {
	color: #eee !important;
}

#Sidebarevents p {
	color: #eee !important;
}

/* Related Post  */
.fusion-carousel{margin-bottom:30px;}


/* Hide Chat plugin logo */

.ztb-customchatbox-logo {
	display: none !important;
}


.ztb-customchatbox-logo:hover {
	display: none !important;
}




/********** SEACH ON FRONT PAGE *********/

.primary-container {
	padding: 0 !important;
}

#searchCanvas {
	padding: 0 !important;
}



/************** CONTACT PAGE ********************/

/* fix google captcha */
.wpcf7-form-control-wrap {
    position: static;
}

/************** Contactless page ********************/

.white-text label,
.white-text p,
.white-text .wpcf7-response-output {
	color: #fff;
}

.white-text label input,
.white-text .wpcf7-select-parent,
.white-text .wpcf7-list-item {
	margin-top: 20px;
}

.white-text .preowned-demonstrator .wpcf7-list-item input {
	margin-top: 0px !important;
}

div#ui-datepicker-div { z-index:1000!important; }


/************** Defender page ********************/

.defender-form {
	padding-top: 25px !important;
}


/*New design - 5 Nov 2022*/

h1, 
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Montserrat', sans-serif !important;
}

h1{
	font-weight: 600 !important;
	margin-bottom: 0 !important;
}
	

h2,
h3,
h4,
h5,
h6{
	font-weight: 500 !important;
	margin-bottom: 0 !important; 
}

p {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}

@media screen and (min-width: 768px) {

	h1{
	   letter-spacing: 1px !important;
	   font-size: 48px !important;
		 line-height: 60px !important;
	}

	h2 {

	  font-size: 32px !important;
		line-height: 40px !important;
	}

	h3 {
	  font-size: 1.5rem !important;
	  line-height: 1.8rem !important;
	}

	h4 {
	  font-size: 1.25rem !important;
		line-height: 1.4rem !important;
	}

	h5 {
	  font-size: 1rem !important;
		line-height: 1.5rem !important;
	}

	h6 {
	  font-size: 1rem !important;
		line-height: 1.5rem !important;
	}
}


/*MOBILE*/
@media screen and (max-width: 768px) {
	h1{
	   letter-spacing: 1px !important;
	   font-size: 2.25rem !important;
	   line-height: 3rem !important;
	}

	h2 {

	  font-size: 1.75rem !important;
		line-height: 3rem !important;
	}

	h3 {
	  font-size: 1.375rem !important;
	  line-height: 1.25rem !important;
	}

	h4 {
	  font-size: 1.125rem !important;
		line-height: 1.33rem !important;
	}

	h5 {
	  font-size: 1rem !important;
		line-height: 1.5rem !important;
	}

	h6 {
	  font-size: 1rem !important;
		line-height: 1.5rem !important;
	}
	
	.mobile-content-center {
		text-align:center !important;
	}
	
	.text-padding.fusion-layout-column {
		margin-left: 15px !important;
    	margin-right: 15px !important;
	}
	
	.card .fusion-imageframe {
		height: 250px;
		overflow: hidden;
	}
	
	.fusion-social-networks .fusion-social-networks-wrapper { 
	  text-align: center !important;
	  margin: 2px !important;
	}
	
	.fusion-mobile-menu-design-flyout .fusion-social-links-header a, .fusion-mobile-menu-design-modern .fusion-social-links-header a {
		margin-right: 5px !important;
	}
}	

.font-roboto {
	font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
}
	
.font-sen {
	font-family: 'Sen', sans-serif;
	font-weight: 400 !important;
}	

body {
     font-size: 1rem !important;
}

.fusion-imageframe img {
	width: 100%;
}
	
.card {
  margin-bottom: 50px !important;		
}

.card .fusion-column-wrapper{
	border: 1px solid #dcdcdc;
    border-radius: 5px; 
    padding-bottom: 1.5rem !important;
	background: #fff;
}

/* .card .fusion-text,
.card .fusion-aligncenter{
	background: #fff; 
} */

.card.card-borderless .fusion-column-wrapper {
	border: none;
}

.card .fusion-imageframe {
	display: block;
    overflow: hidden;
	border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card .fusion-button {
	 margin-bottom: 1.5rem !important;
}

.card .fusion-button:hover span,
.grey--background .fusion-button:hover span,
.dark--background .fusion-button:hover span {
	color: #000 !important;
}

.fusion-button:hover {
  background-color: #f6f9fc !important;
}

/*Desktop onwards*/
@media screen and (min-width: 768px) {
	.fusion_builder_column_1_2.card .fusion-imageframe {
		 height: 330px;
	}

	.fusion_builder_column_1_2.card.card-250-height .fusion-imageframe {
		height: 250px;
	}	

	.fusion_builder_column_1_3.card .fusion-imageframe {
		height: 300px;
	}

	.fusion_builder_column_1_3.card.card-250-height .fusion-imageframe {
		height: 250px;
	}
	
	.card.card-min-height .fusion-text {
		height: 210px;
	}	

	.card.card-350-height .fusion-text {
		height: 350px;
	}	
	
	.book-service-btn {
		border: 1px solid #333 !important;	
		height: 50px !important;	
		margin-top: 20px !important;
		background: #222;
	}	

	.book-service-btn a {
		height: 48px !important;	
		color: #fff !important;
	}
	

	.fusion-is-sticky .book-service-btn.menu-item  {
		margin-top: 5px !important;
	}	
	
	.fusion-social-networks {
	  display: flex;	
	}
	
	.fusion-social-networks-wrapper-2 {
	  margin-left: 5rem;
	}
	
	.fusion-social-networks .fusion-social-networks-wrapper {
		margin: revert !important; 
	}
}

.book-service-btn a,
.book-service-btn a:hover,
.book-service-btn a:active,
.book-service-btn a:focus {
	background-color: #333333!important;
}

.card .fusion-text {
    padding: 1rem;
    text-align: center;
	color: #000;
}


.teaser .fusion-builder-row .fusion-layout-column:first-child {
	border: 1px solid #dcdcdc;
    border-radius: 5px; 
	min-height: 345px;
}

.teaser .fusion-builder-row .fusion-layout-column {
	margin-bottom: 0 !important;
}

.teaser .fusion-builder-row .fusion-layout-column .fusion-column-wrapper {
	margin-right: 0 !important;
}

.dark--background {
	background: #000;
	color: #fff;
}

.dark--background .fusion-button {
background-color: #5d5d5d;
}
	
.dark--background > div,
.dark--background a,
.dark--background span,
.dark--background h1,
.dark--background h2,
.dark--background h3,
.dark--background h4,
.dark--background h5,
.dark--background h6,
.grey--background > div,
.grey--background a,
.grey--background span,
.grey--background h1,
.grey--background h2,
.grey--background h3,
.grey--background h4,
.grey--background h5,
.grey--background h6,
.ineos-blue-background > div,
.ineos-blue-background a,
.ineos-blue-background span,
.ineos-blue-background h1,
.ineos-blue-background h2,
.ineos-blue-background h3,
.ineos-blue-background h4,
.ineos-blue-background h5,
.ineos-blue-background h6{
   color: #fff !important;
}
	
.ineos-blue-background .card h1,
.ineos-blue-background .card h2,
.ineos-blue-background .card h3,
.ineos-blue-background .card h4,
.ineos-blue-background .card h5,
.ineos-blue-background .card h6 {
	color: #222 !important;
}
	
	
.grey--background {
	background: #6a6a6a !important;
}

.light-grey--background {
	background: #f6f9fc !important;
}

.ineos-blue-background {
	background: #00152c !important;
}	

.ineos-blue-background span.fusion-button-text {
   color: #b61615 !important;
}

.ineos-blue-background  .fusion-button {
	background: #fff !important;
	border: 1px solid #00152c;
}	
	

.white-transparent--background {
	background-color: rgba(255, 255, 255, 0.6);
}

.black-transparent--background {
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
}
	
.black-transparent--background h1,
.black-transparent--background h2,
.black-transparent--background h3,
.black-transparent--background h4,
.black-transparent--background h5,
.black-transparent--background h6	{
	color: #fff !important;		
}	
	
.edgy .fusion-row,
.page-template-edgy-template #main .fusion-row.main-row {
    width: 100% !important;
    max-width: 100% !important;
}

.page-template-edgy-template #main .fusion-row .post-content .fusion-row .fusion_builder_column_1_1 {
	margin-bottom: 0 !important;
}

.page-template-edgy-template #main .fusion-row .post-content .fusion-row .fusion_builder_column_1_1 .fusion-column-wrapper {
	max-width: 1240px !important;
	margin: auto;

}
	
.homepage--sliders .slides li:nth-child(2) .slide-content-container {
	top: 50% !important;
}
	
.fusion-button.button-flat {
   text-decoration: none;
}
	
.fusion-button.button-flat:hover .fusion-button-text,
.fusion-button.button-flat:hover i{
   color: #333 !important;
}
	
.footer--section > *,
.footer--section .fusion-text h4 {
	color: #222 !important;		
}
	
.team .fusion-button.button-1, 
.team .fusion-button.button-3 {
	padding-left: 0px;
    padding-right: 0px;
}
	
.team h5 {
 font-size: 0.9rem !important;		
}	
	
.team h3 {
	font-size: 1.2rem !important
}	
	
	
.gform_wrapper .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper .gfield_select[multiple=multiple] {
	border-width: 1px !important;
	}	
	
.fusion-logo a img {
	width: 228px !important;	
}
	

#menu-footer-menu .menu-item.current-menu-item a,
#menu-footer-menu .menu-item.current-menu-item a span {
	color: #222 !important;
	font-weight: bold;
}	
	
#menu-footer-menu .menu-item a:hover,
#menu-footer-menu .menu-item a:hover span {
	color: #222 !important;
}	
	
.width-100 .reset-100.nonhundred-percent-fullwidth,
.page-template-100-width .width-100 .nonhundred-percent-fullwidth {
	margin: auto !important;
}	

.page-id-2663 .fusion-footer-widget-area .purnell{
	display: none !important;
}

.btn-disabled {
	 pointer-events:none !important;
}

.team-flex .fusion-builder-row-inner{
	display: flex;
}

.map {
        -webkit-filter: grayscale(100%);
        -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
        -o-filter: grayscale(100%);
         filter: grayscale(100%);

}

.remove-extra-lines .title-sep-container  {
	display: none;
}

.test-drive .gform-theme--foundation .gform_fields {
	row-gap: 20px;
}

.test-drive .gform-theme--foundation .gform_fields input.datepicker,
.test-drive .gform-theme--foundation .gform_fields select.gfield_select {
	height: 41px !important; 
	width: 100%;
}

.test-drive .gform-theme--foundation .gform_fields .select-arrow {
	height: 0 !important; 
	width: 0 !important; 
}

.light-text h2,
.light-text p,
.light-text h3,
.light-text h4,
.light-text h5,
.light-text h6 {
	color: #eeeeee !important;
}