/*
 Theme Name:     Autosoft - Aventador
 Description:    Autosoft Divi Child Theme
 Author:         Autosoft
 Author URI:     https://www.autosoft.eu
 Template:       Divi
 Version:        1.1.1
*/

.et_pb_fullwidth_header .et_pb_scroll_down:before {
    content: "\e05d" !important;
}

.et_pb_fullwidth_header .et_pb_scroll_down * {
    display: none !important;
}

.et_pb_fullwidth_header .et_pb_scroll_down:before {
    display: inline-block !important;
}

/* = ADMIN fixes
------------------------------------------------------- */
/* hide Adminbar spacing*/
html.js { margin-top: 0px !important; }


.cookiefirst-root > span { 
	margin-bottom: 10px; 
	opacity: 0.6;
	-webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(100%);
}

.cookiefirst-root > span:hover { 
	margin-bottom: 10px; 
	opacity: 1;
	-webkit-filter: grayscale(0%);
    -moz-filter:    grayscale(0%);
    -ms-filter:     grayscale(0%);
    -o-filter:      grayscale(0%);
}

/* Hide Cookie */
html.et-fb-root-ancestor #catapult-cookie-bar { display: none!important; }

/* Hide popup */
html.et-fb-root-ancestor #sgpb-popup-dialog-main-div-wrapper { display: none!important; }
html.et-fb-root-ancestor .sgpb-popup-overlay { display: none!important; }


/* = SITE fixes
------------------------------------------------------- */
/* basic fixes */
#main-header { z-index: 999; }
/*#logo { max-height: 64px; }*/

/* CF7 fix */
@media screen and (max-width: 480px) {
	.dipe-cf7 .wpcf7 form>div, .dipe-cf7 .wpcf7 form>p { margin-bottom: 0!important; }
	.dp-col { margin-bottom: 1.6em;}
}

.wpcf7 .wpcf7-form-control.wpcf7-checkbox {
    display: block;
    column-count: 2;
    column-gap: 40px;
}
.wpcf7 .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    display: block;
}

@media screen and (max-width: 960px) {
	.wpcf7 .wpcf7-form-control.wpcf7-checkbox { display: block; column-count: 1;  column-gap: 0px;}
	body .dipe-cf7 .wpcf7 form>div { margin-bottom: 0px !important; }
}

.wpcf7-list-item-label::before, .wpcf7-list-item-label::after {
    background-color: transparent!important;
}


/* google map */
.map-responsive {
    overflow:hidden;
    position:relative;
    height:0;
	margin-top: 1em;
	margin-bottom: 1.8em;
}
.map-responsive iframe {
    border:0;
    left:0;
    top:0;
    height:100%!important;
    width:100%!important;
    position:absolute;
}

/* full size gmap sizing */
.su-gmap.su-u-responsive-media-yes { 
	padding-bottom:  56.25%!important;	/*16:9*/
	padding-bottom:  75%!important; 	/*4:3*/
	padding-bottom:  66.66%!important;	/*3:2*/
	padding-bottom:  62.5%!important; 	/*8:5*/
	
	padding-bottom:  45%!important; 	/*custom*/
	
	margin-bottom: 0!important;
	filter: grayscale(1);
	
	-webkit-transition: filter 300ms ease-in-out;
    -moz-transition: filter 300ms ease-in-out;
    -ms-transition: filter 300ms ease-in-out;
    -o-transition: filter 300ms ease-in-out;
    transition: filter 300ms ease-in-out;
}
.su-gmap.su-u-responsive-media-yes:hover { filter: grayscale(0); }

@media screen and (max-width: 820px) { 
	.su-gmap.su-u-responsive-media-yes { padding-bottom:  75%!important; }
}

@media screen and (max-width: 480px) {
	.su-gmap.su-u-responsive-media-yes { padding-bottom:  125%!important; }
}

/* footer notes */
p#footer-info .spacer {
	margin-left: 10px; 
	margin-right: 10px;
	opacity: 0.6;
}

/* custom socials */
.et-social-youtube a.icon:before {
	content: "\E0A3";
	font-family: ETmodules!important;
}
.et-social-linkedin a.icon:before {
	content: "\E09D";
	font-family: ETmodules!important;
}

@media screen and (max-width: 480px) {
	.spacer.first { 
		display: block;
		clear: both;
		height: 1px;
		visibility: hidden;
	}
}

/* unfloat footer widgets */
#footer-widgets .et_pb_widget { float: none; }

/* cookie link */
a.ctcc-more-info-link { display: inline-block; text-decoration: underline; }


/* = MENU
------------------------------------------------------- */
/* remove menuwrap */
.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul, 
.et_pb_menu .et_pb_menu__menu>nav>ul {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

/* max size mobile menu */
.et_mobile_menu {
	overflow-y: scroll;
    max-height: 70vh;
}

/* mobile menu position and height fix */
@media (max-width: 980px) {
	.et_non_fixed_nav.et_transparent_nav #main-header, 
	.et_non_fixed_nav.et_transparent_nav #top-header, 
	.et_fixed_nav #main-header, .et_fixed_nav #top-header {
		position: fixed;
	}
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
} 
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding: 10px 10px;
    white-space: nowrap;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.voorraadlink>a {
	background: #ffffff;
	border-radius: 5px;
	color: #000000!important;
	text-shadow: 0.08em 0.08em 0em #ffffff;
}
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.voorraadlink>a:hover {
	opacity: 1!important;
	background: #A60304;
	color: #ffffff!important;
	text-shadow: 0.08em 0.08em 0em #000000;
}


/* =Menu collapsible on mobile
------------------------------------------------------- */
header .et_builder_inner_content {
    z-index: 200;
}
#page-container .mobile_nav li ul.hide {
    visibility: hidden;
	height: 0px;
	overflow: hidden;
}
#page-container .mobile_nav li ul.hide li a {
	color: transparent!important;
	margin-left: -10px;
}

#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}

#page-container .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}

#page-container span.menu-closed:before {
    content: "\4c";
    display: block;
    font-size: 16px;
    font-family: ETmodules;
}

#page-container span.menu-closed.menu-open:before {
    content: "\4d";
}

.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
}


/* = Menu styling
------------------------------------------------------- */
.nav li ul { width: auto!important;}
.nav li li { padding: 0 0!important; }
.nav li li a { line-height: 1.6em!important; font-weight: normal!important; font-size: 0.9em!important; }
.nav li li:hover a { color: #d62b25!important; }
.nav li ul { padding: 5px 0; }
.nav li ul .menu-item-has-children>a:first-child:after { transform: rotate(-90deg); }
.nav li li ul { left: 200px; top: 0; }



/* =CTA TABS
------------------------------------------------------- */
ul.ctatabs {
  position: fixed;
  right: 20px;
  bottom: 60px;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  z-index: 10000;
}

ul.ctatabs li:before { display: none; }
ul.ctatabs li {
    list-style: none;
    margin-left: 0;
    padding-left: 0!important;
    margin-bottom: 0;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

ul.ctatabs li a {
  display: block;
  width: 50px;
  height: 50px;
-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
}  

ul.ctatabs li:hover {
  margin-top: 5px;
  filter: saturate(50%);
}  

ul.ctatabs li a { text-indent: -9000px; }
ul.ctatabs li.bellentab a { z-index: 9001; background: url('images/contacttabs.jpg') 50% 0 no-repeat #e10000; border-radius: 5px 0 0 0; }
ul.ctatabs li.emailtab a { z-index: 9002; background: url('images/contacttabs.jpg') 50% -50px no-repeat #4caae0; }
ul.ctatabs li.facebooktab a { z-index: 9003; background: url('images/contacttabs.jpg') 50% -100px no-repeat #3f5898; }
ul.ctatabs li.instagramtab a { z-index: 9004; background: url('images/contacttabs.jpg') 50% -200px no-repeat #a03697; }
ul.ctatabs li.whatsapptab a { z-index: 9005; background: url('images/contacttabs.jpg') 50% -153px no-repeat #53be18; border-radius: 50%; border: 2px solid #ffffff; }
ul.ctatabs li.youtubetab a { z-index: 9005; background: url('images/contacttabs.jpg') 50% -300px no-repeat #ff0200; }

ul.ctatabs li.whatsapptab a  {
	-webkit-animation: bounce 8s ease infinite!important;
	animation: bounce 8s ease infinite!important;
}

@-webkit-keyframes bounce {
	0%, 80%, 86%, 90%, 100% {-webkit-transform: translateY(0)!important;transform: translateY(0);}
	84% {-webkit-transform: translateY(-16px)!important;transform: translateY(-16px);}
	88% {-webkit-transform: translateY(-12px)!important;transform: translateY(-12px);}
}
@keyframes bounce {
	0%, 80%, 86%, 90%, 100% {-webkit-transform: translateY(0)!important;transform: translateY(0);}
	84% {-webkit-transform: translateY(-16px)!important;transform: translateY(-16px) rotateX(0deg);}
	88% {-webkit-transform: translateY(-12px)!important;transform: translateY(-12px) rotateX(0deg);}
}

.et_pb_scroll_top.et-pb-icon { bottom: 150px; }


/* = CUSTOM COLUMN SIZES
------------------------------------------------------- */
/* 2 Columns Mobile */
@media all and (max-width: 767px) {
	.two-col-mob .et_pb_column { width:47.25% !important; }
	.two-col-mob .et_pb_column:nth-last-child(-n+2) { margin-bottom:0; }
	.two-col-mob .et_pb_column:not(:nth-child(2n)) { margin-right:5.5% !important; }
}
/* 3 Columns Mobile */
@media all and (max-width: 767px) {
	.three-col-mob .et_pb_column { width:29.6667% !important; }
	.three-col-mob .et_pb_column:nth-last-child(-n+3) { margin-bottom:0; }
	.three-col-mob .et_pb_column:not(:nth-child(3n)) { margin-right:5.5% !important; }
}
/* 4 Columns Mobile */
@media all and (max-width: 767px) {
	.four-col-mob .et_pb_column { width:20.875% !important; }
	.four-col-mob .et_pb_column:nth-last-child(-n+4) { margin-bottom:0; }
	.four-col-mob .et_pb_column:not(:nth-child(4n)) { margin-right:5.5% !important; }
}
/* 5 Columns Mobile */
@media all and (max-width: 767px) {
	.five-col-mob .et_pb_column { width:15.6% !important; }
	.five-col-mob .et_pb_column:nth-last-child(-n+5) { margin-bottom:0; }
	.five-col-mob .et_pb_column:not(:nth-child(5n)) { margin-right:5.5% !important; }
}
/* 6 Columns Mobile */
@media all and (max-width: 767px) {
	.six-col-mob .et_pb_column { width:12.083% !important; }
	.six-col-mob .et_pb_column:nth-last-child(-n+6) { margin-bottom:0; }
	.six-col-mob .et_pb_column:not(:nth-child(6n)) { margin-right:5.5% !important; }
}

/* 1 Column Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	.one-col-tab .et_pb_column { margin-right:0 !important; width:100% !important; }
	.one-col-tab .et_pb_column:not(:last-child) { margin-bottom:30px !important; }
}
/* 2 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	.two-col-tab .et_pb_column { width:47.25% !important; }
	.two-col-tab .et_pb_column:nth-last-child(-n+2) { margin-bottom:0; }
	.two-col-tab .et_pb_column:not(:nth-child(2n)) { margin-right:5.5% !important; }
}
/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	.three-col-tab .et_pb_column { width:29.6667% !important; }
	.three-col-tab .et_pb_column:nth-last-child(-n+3) { margin-bottom:0; }
	.three-col-tab .et_pb_column:not(:nth-child(3n)) { margin-right:5.5% !important; }
}
/* 4 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	.four-col-tab .et_pb_column { width:20.875% !important; }
	.four-col-tab .et_pb_column:nth-last-child(-n+4) { margin-bottom:0; }
	.four-col-tab .et_pb_column:not(:nth-child(4n)) { margin-right:5.5% !important; }
}
/* 5 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	.five-col-tab .et_pb_column { width:15.6% !important; }
	.five-col-mob .et_pb_column:nth-last-child(-n+5) { margin-bottom:0; }
	.five-col-tab .et_pb_column:not(:nth-child(5n)) { margin-right:5.5% !important; }
}
/* 6 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	.six-col-tab .et_pb_column { width:12.083% !important; }
	.six-col-tab .et_pb_column:nth-last-child(-n+6) { margin-bottom:0; }
	.six-col-tab .et_pb_column:not(:nth-child(6n)) { margin-right:5.5% !important; }
}


/* KLANT SPECIFIEK */
/*------------------------------------------------------- */

/* center BG video */
.et_pb_section_video_bg {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
}

.et_pb_section_video_bg video { opacity: 0.5; }


/* AUTOCOMMERCE */
/*------------------------------------------------------- */
:root {
	--ACmaincolor:	#333333!important; /* color accent */
	--ACprimary:	#a60304!important; /* color accent */
	--ACimgpadding: 65%;	 /* Business & Pro position */	
	--ACoverlay:	#fafafa!important;
	--ACbgwrapper:	#D4D4D4!important;
}


@media screen and (min-width: 1201px) {
	#occasionlijstwrapper { max-width: 100%; }
	#asac-container .asac-wrap { max-width: 100%; }
}

@media screen and (min-width: 600px) {
	#asac-container form.asac-form {
		max-width: 1080px;
		margin: 0 auto;
	}
}

#asac-container .asac-wrap form select,
#asac-container .asac-wrap .sort select { 
	font-size: 16px;
	line-height: 1.7em;
	padding: 0.3em 0.7em; 
    border: 1px solid #aaaaaa;
    border: 1px solid var(--ACbordercolor);
    background: #ffffff;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	background-color: #ffffff;
    background-image: url('images/chevron.png');
	background-size: 30px 30px;
	background-position: 98% 50%;
	background-repeat: no-repeat;
    cursor: pointer;
}

#asac-container #ACvehicles .ACvoertuig .ACfotoContainer .ACfoto img {
    top: 0;
	-webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
}

#asac-container .asac-wrap .sort { display: block; text-align: center; padding-top: 1em; padding-bottom: 1em;  } 
#asac-container .asac-wrap .sort select { margin-left: 10px; width: 230px; }

#asac-container.pro-alt #ACvehicles .ACvoertuig .ACmerkmodel,
#asac-container.pro-alt #ACvehicles .ACvoertuig .ACprijs {
	-webkit-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    box-shadow: none;
}

#asac-container.pro-alt #ACvehicles .ACvoertuig .ACfotoContainer {
	-webkit-box-shadow: 0 0 8px 0 #cccccc;
    -webkit-box-shadow: 0 0 8px 0 var(--ACshade);
    box-shadow: 0 0 8px 0 #cccccc;
    box-shadow: 0 0 8px 0 var(--ACshade);
}

#carslider { margin-bottom: 4em;  }
#carslider h2 { display: none; }

.AutoCommerceAvdwWidget { text-align: center; }
.AutoCommerceAvdwWidget ul { padding: 0 0 1.6em 0; }

#asac-container.premium-UNI #ACvehicle .harmonica label:after { line-height: 20px; }
#ACVDPsalesprofile { display: none; }

@media screen and (min-width: 980px) {
    #asac-container.premium-UNI #ACvehicle .ACVDPcarousel { width: 50%; }
}
@media screen and (min-width: 980px) {
    #asac-container.premium-UNI #ACvehicle .ACVDPhead {
        flex-basis: 50%;
        -ms-flex: 0 1 calc(51% - var(--ACgutter));
        flex: 0 1 calc(51% - var(--ACgutter));
        filter: invert(0);
        margin-left: calc(-1 * var(--ACgutter));
    }
}

#asac-container.premium-UNI #ACvehicle .harmonica label {
	    border: 2px solid var(--ACbgwrapper);
}

/* VDP STICKY FIX */
#page-container { overflow-y: visible!important; }
body.logged-in #page-container { overflow-y: hidden!important; }

@media screen and (min-width: 1025px) {
    #asac-container.premium-UNI #ACvehicle .ACVDPcta { top: 7em; }
}
@media screen and (max-width: 820px) {
    #asac-container.premium-UNI #ACvehicle .ACVDPcta { top: 7em !important; }
}
@media screen and (min-width: 821px) {
    #asac-container.premium-UNI #ACvehicle .ACVDPcta { bottom: 0em; }
}


