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


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


.cookiefirst-root > span { 
	margin-bottom: 60px; 
	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: 60px; 
	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;}
}

/* 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*/
}

@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;
}

@media (min-width: 981px) and (max-width: 1200px) {
	.et_pb_menu_0_tb_header.et_pb_menu ul li:first-child { display: none; }
	.et_pb_menu_0_tb_header.et_pb_menu ul ul li:first-child { display: initial; }
	.et_pb_menu_0_tb_header.et_pb_menu ul li a { font-size: 16px!important; }
}

@media (max-width: 980px) {
	.et_pb_row--with-menu .et_pb_column_0_tb_header { width: 80%!important; margin-top: 5px; }
	.et_pb_row--with-menu .et_pb_column_1_tb_header { 
		width: 100%!important; 
		pointer-events: none;
		margin-top: -45px;
	}
	.et_pb_row--with-menu .et_pb_column_1_tb_header .et_mobile_nav_menu { pointer-events: initial; }
	.et_pb_row--with-menu .et_pb_column_1_tb_header .et_mobile_nav_menu .mobile_menu_bar:before { font-size: 50px; }
	#page-container .mobile_nav .menu-item-has-children > a + span { width: 100%; text-align: right; }
} 

/* max size mobile menu */
.mobile_nav .mobile_menu_bar:before { 
	color: #FE9430!important; 
}

.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;
	}
}




/* =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.2em !important; font-weight: normal !important; font-size: 1.15em !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: 0px;
	top: 40%;
	z-index: 1000;
	-ms-transform: translate(0%, -50%); /* IE 9 */
	-webkit-transform: translate(0%, -50%); /* Safari */
	transform: translate(0%, -50%);
}

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;
    -webkit-box-shadow: 0 8px 46px 0 rgb(0 0 0 / 15%);
	box-shadow: 0 8px 46px 0 rgb(0 0 0 / 15%);
}

ul.ctatabs li a {
	display: block;
	width: 50px;
	height: 50px;
	text-indent: -9000px;
	background-image: url('images/dark-contacttabs-gray.jpg');
	background-image: url('images/contacttabs.jpg');
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-color: #414141;
}  

ul.ctatabs li:hover {
	margin-left: -3px;
}  

ul.ctatabs li.bellentab a { z-index: 9001; background-position: 50% 0; background-color: #e10000; }
ul.ctatabs li.emailtab a { z-index: 9002; background-position: 50% -50px; background-color: #4caae0; }
ul.ctatabs li.facebooktab a { z-index: 9003; background-position: 50% -100px; background-color: #3f5898; }
ul.ctatabs li.whatsapptab a { z-index: 9010; background-position: 50% -150px; background-color: #53be18; }
ul.ctatabs li.instagramtab a { z-index: 9004; background-position: 50% -200px; background-color: #a03697; }
ul.ctatabs li.twittertab a { z-index: 9005;  background-position: 50% -250px; background-color: #000000; }
ul.ctatabs li.youtubetab a { z-index: 9006;  background-position: 50% -300px; background-color: #ff0101; }
ul.ctatabs li.linkedintab a { z-index: 9007;  background-position: 50% -350px; background-color: #0b66c3; }


@media screen and (max-width: 820px) {
	ul.ctatabs {
		top: 100%;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 50px;
		font-size: 0;
		-ms-transform: translate(0%, -100%); /* IE 9 */
		-webkit-transform: translate(0%, 100%); /* Safari */
		transform: translate(0%, -100%);
		display: flex;
	}
		  
	ul.ctatabs li {
		display: inline-block;
		text-align: center;
		flex: 1 0;
    }

    ul.ctatabs li:hover {
		margin-left: 0px;
    }

    ul.ctatabs li a {
		display: block;
		width: 100%;
		height: 50px;
    }
	
	#footer-bottom { padding-bottom: 45px; }
}

/************ FORM ***************/
@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-form input.wpcf7-submit { margin-top: 8px!important; }

.wpcf7-form .label {
	display: inline-block;
    width: 50%;
}

@media screen and (min-width: 961px) {
	.wpcf7-checkbox {
		display: block;
		-moz-columns: 2;
		-webkit-columns: 2;
		columns: 2;
		-moz-column-gap: 1.25rem;
		-webkit-column-gap: 1.25rem;
		column-gap: 1.25rem;
	}
}
.wpcf7-checkbox .wpcf7-list-item { 
	display: block;
}

.dvppl_cf7_styler_0 .dipe-cf7-container img.wpcf7-form-control:not(.wpcf7-submit) {
    margin-top: 16px!important;
}

.dvppl_cf7_styler_0 .dipe-cf7 input[type=checkbox]+span:before {
	background-color: transparent!important;
}


/* = 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;
}


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

.occtoplink { display: none; }
#occasionlijstwrapper, .ac-wrapper { max-width: 100%; }

@media screen and (max-width: 800px) {
    #occasionzoekfilter .searchFilter {
        padding: 60px 20px 60px 20px;
    }
}

#detailpaginabackbutton {
	color: #ffffff;
    background: var(--ACprimary);
}
#detailpaginabackbutton:hover {
    color: #ffffff;
    background: var(--ACsecondary);
}

#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 h3 { display: none; }
.AutoCommerceAvdwWidget ul { 
	padding: 0 0 0 0;
	display: block;
	-moz-columns: 4;
	-webkit-columns: 4;
	columns: 4;
	-moz-column-gap: 5.5%;
	-webkit-column-gap: 5.5%;
	column-gap: 5.5%;
	text-align: center;
}

.AutoCommerceAvdwWidget ul li {
    display: block;
    width: 100%;
    margin: 0 auto;
	margin-bottom: 30px;
    max-height: none;
	background-color: #FFFFFF;
    box-shadow: 2px 2px 2px 0px rgba(98, 98, 98, 0.1);
}

.AutoCommerceAvdwWidget ul li .avdwfoto { 
	height: auto;
	float: none;
	margin-right: 0;
	aspect-ratio: 16 / 9;
	position: relative;
	border: 1px solid #ffffff;
}
.AutoCommerceAvdwWidget ul li .avdwfoto img { 
	object-fit: cover!important;
	width: 100%!important;
	height: 100%!important;
	margin-top: 0;
}
.AutoCommerceAvdwWidget ul li .avdwgegevens {
	text-align: left; 
	line-height: 1.5em;
	padding-top: 1.5em !important;
    padding-right: 1em !important;
    padding-bottom: 1.5em !important;
    padding-left: 1em !important;
}
.AutoCommerceAvdwWidget ul li .avdwmerkmodel,
.AutoCommerceAvdwWidget ul li .avdwuitvoering,
.AutoCommerceAvdwWidget ul li .avdwprijs { 
	margin: 0!important;
	padding: 0!important; 
 	padding-bottom: 1em!important;
}
.AutoCommerceAvdwWidget ul li .avdwprijs {
	padding-bottom: 0!important;
	font-size: 1em!important; 
}

.AutoCommerceAvdwWidget ul li .avdwmerkmodel strong { text-transform: uppercase; }
.AutoCommerceAvdwWidget ul li .avdwuitvoering em { font-style: normal; }
.AutoCommerceAvdwWidget ul li .avdwprijs strong em { font-style: normal;}


@media screen and (max-width: 980px) {
	.AutoCommerceAvdwWidget ul { 
		-moz-columns: 2;
		-webkit-columns: 2;
		columns: 2;
	}
}
@media screen and (max-width: 480px) {
	.AutoCommerceAvdwWidget ul { 
		-moz-columns: 1;
		-webkit-columns: 1;
		columns: 1;
	}
}

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

