/*
Theme Name: Matador - Business - Child
Theme URI: https://www.autosoft.eu
Template:     Matador
Author: Autosoft - Automotive internet
Author URI: https://www.autosoft.eu/
Description: Matador CHILD Thema, ontworpen en ontwikkeld door Autosoft. Afgeleide van het Autosoft Matador thema voor klantspecifieke aanpassingen.
Version: 1.0
Text Domain: autosoft
*/

/* disable amazingslider nav + text */
div[class^="amazingslider-nav-"] { display: none!important; }
div[class^="amazingslider-text-box-"] {display: none!important; }

div[class^="amazingslider-timer-"] { background-color: #395ba8!important; opacity: 1!important; }

/* show maximum of 4 list items */
ul#autovandeweek li:nth-child(n+5) { display: none!important; }

/* disable personeel click */
#personeelbar a.personeellink  { pointer-events: none; }
#personeelbar .block:hover a.personeellink img { height: 105%!important;}




/* menu overrides */
#menu ul a {
    line-height: 20px!important; 
    font-size: 14px!important;
	padding: 10px 16px 9px 16px!important;
	border-radius: 0px!important;
}

#menu li:hover > a, #menu li > a:focus,
#menu .current-menu-item > a, #menu .current-menu-ancestor > a, 
#menu .current_page_item > a, #menu .current_page_ancestor > a, 
#menu .current-post-parent > a {
	background: #ffcb01!important;
}

#menu li.menu-item-has-children a { padding: 10px 26px 9px 16px!important;}
#menu li.menu-item-has-children::after { top: 15px!important; }

#menu ul ul a {
    line-height: 14px!important; 
    font-size: 14px!important;
	border-radius: 0px!important;
}

#menu ul ul a:hover {
    border-left: 3px solid #ffcb01!important;
}


/* KLANT OVERRIDES */

@media screen and (min-width: 1025px) {
	.wrapper { max-width: 1000px!important; }
}

#header #menu img { float: left; }
nav { text-align: right; } 

@media screen and (min-width: 821px) {
	#header #menu img {
    	max-width: 350px!important;
    	margin: 46px -10px 40px 0;
	}
}

@media screen and (min-width: 1025px) {
	#header #menu img {
    	max-width: 450px!important;
	}
}
@media screen and (max-width: 820px) {
	#header #menu img,
	#header #menu-sticky-wrapper.is-sticky #menu img {
    	padding: 5px 10px 0px 10px!important;
	}
}

h1, h2, h3, h4, h5, h6 { font-weight: 600!important; }

article, body.home article,
body.page-template-page-home article {
  padding: 0 1em 0 1em; 
  position: relative; 
}

h1.entry-title { margin-bottom: 0; }
body.home article:nth-of-type(2) h1.entry-title { display: none;}

body.home header.entry-header, 
body.page-template-page-home header.entry-header,
.entry-header { 
	border-bottom: 4px solid #ffcb01; 
	padding-bottom: 20px!important;
}

body.home header.entry-header, 
body.page-template-page-home header.entry-header {
	margin-bottom: 40px!important; 
}
	
body.home a.toplink { display: none; }

form.wpcf7-form p {
   	margin-top: 0;
    margin-bottom: 1em;
}

.entry-content li::marker { color: #ffcb01; }
.entry-content strong { color: #000000!important; font-family: 'Roboto Condensed', sans-serif; font-size: 1.2em;}



#mainsidebar h3.widget-title { margin-top: 8px!important;}
#mainsidebar .wonderpluginslider img { max-width: none!important; }

@media screen and (min-width: 1025px) {
	.wrapper { max-width: 1100px; }
	#inhoud #mainsidebar { width: 28%; }
	#inhoud #contentsidebar { width: 72%; padding-right: 20px; }
}

@media screen and (max-width: 480px) {
	#mainvisual.visual div { display: block; }
	header.entry-header { margin-top: -30px; }
	body.home header.entry-header { margin-top: -50px; }
}


@media screen and (min-width: 821px) { ul.ctatabs { top: 60%; } }
@media screen and (min-width: 1601px) { ul.ctatabs { top: 30%; } }

ul.ctatabs li a { background-image: url('images/contacttabs-gray.jpg')!important; background-color: #6c6c6c!important; filter: contrast(2.5); }
ul.ctatabs li a:hover { filter: contrast(4.5); }

#subfooter { display: none; }


/* ===== ===== ===== AUTOCOMMERCE ===== ===== ===== */

.AutoCommerceAvdwWidget h3 { display: block; margin-bottom: 4px; }
#inhoud ul#autovandeweek li,
#inhoud ul#autovandeweek li:hover { margin: 0; padding: 0; width: 100%; max-width: 100%!important; }
#inhoud #mainsidebar ul#autovandeweek li a { background: transparent!important; padding: 0; }
#inhoud #mainsidebar .AutoCommerceAvdwWidget ul li .avdwgegevens .avdwuitvoering { white-space: normal; font-weight: bold; }
#inhoud #mainsidebar .AutoCommerceAvdwWidget ul li .avdwgegevens .avdwuitvoering em { font-size: 1em; }
#inhoud #mainsidebar .AutoCommerceAvdwWidget ul li .avdwgegevens .avdwprijs { margin-top: 1.4em; color: #000000; }

@media screen and (min-width: 481px) and (max-width: 820px) {
	#inhoud #mainsidebar .widget { width: 100%; }
	#inhoud #mainsidebar .AutoCommerceAvdwWidget ul li .avdwfoto { displaY: inline-block; vertical-align: top; width: 40%; }
	#inhoud #mainsidebar .AutoCommerceAvdwWidget ul li .avdwgegevens { displaY: inline-block; vertical-align: top; width: 55%; }
	}
	
:root {
    --ACbgwrapper: #ffffff!important;
}

