/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body{ 
	font-family: 'Saira Condensed', Arial, Helvetica, sans-serif;
	font-size: 1.05em; 
	color:#222;
	min-height:100%;
	background: url(../IMG/bg.gif); 
	min-width: 375px;
}


p {
	color: #222;
	line-height: 1.40em;
	margin-bottom: 1.00em;
	text-align:justify;
}

p a{
	text-decoration: undeline;
	color: #3a2970;
}


ha, h2, h3, h4{
	font-family: 'Ruda', sans-serif;
}

h1{
	padding: 0;
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.5em;
}

h2{
	padding: 0;
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.4em;
}

h3{
	padding: 0;
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.4em;
}

h4{
	padding: 0;
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.4em;
}



#container{ 
	max-width: 1450px;
	padding: 0 25px 5px 25px;
	margin: 0 auto;
	overflow: hidden;
}	

@media only screen and (max-width: 800px){
#container{ 
	padding: 0;
}	
	}



#hoofd{
	display: block;
	overflow: hidden;
	background: #FFF;
	padding: 25px;
}



#mainleft{
	width: 68%;
	float: left;
	displat: inline;
	overflow: hidden;
	margin: 0;
	padding: 0;
}


.mainright{
	width: 29%;
	float: right;
	displat: inline;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.mainright p
{
	padding: 0;
	margin: 0;
}

.mainright h2
{
	padding-bottom: 0;
	margin-bottom: 0;
}


#footer{
	padding: 5px;
	text-align: center;
	background: #FFF; font-weight: 100; font-size: 0.66em;
}

.honderd{
	width: 100%;
	overflow: hidden;
	clear: both;
	display: block;
}

/* ==========================================================================
   HEADER
   ========================================================================== */


header{ 
	width: 100%;
	overflow:hidden;
	background: #FFF;
	display: block;
}

.llogoheader{
	float: left;
	display: inline-block;
	height: 150px;
}

.vvlogoheader{
	float: right;
	display: inline-block;
	height: 75px;
	margin-top: 50px;
}

.slogoheader{
	float: right;
	display: inline-block;
	height: 125px;
}

@media only screen and (max-width: 1300px){
.llogoheader{height: 125px;}
.slogoheader{height: 100px;
}

	}

@media only screen and (max-width: 1000px){
.llogoheader{height: 100px;}
.slogoheader{height: 80px;
}

	}

@media only screen and (max-width: 750px){
.llogoheader{ float: left;
	display: inline-block;
	height: auto;
	width: 70%;
	margin: 0 auto;}
.slogoheader{ display:none;
}
vvlogoheader{
	float: right;
	display: inline-block;
	margin: 0;
	width: 20%;
	max-height: 75px;
}
	}







.yout
{
	width: 100%; 
	height: 500px;
	margin-bottom: 25px;
}

@media only screen and (max-width: 750px){
.yout
{

	height: 400px;
}
}

@media only screen and (max-width: 550px){
.yout
{

	height: 300px;
}
}
/* ==========================================================================
   HOME
   ========================================================================== */



#mainleft{
	width: 62%;
	float: left;
	displat: inline;
	overflow: hidden;
	margin: 0;
	padding: 0;
}


#mainright{
	width: 35%;
	float: right;
	displat: inline;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.hright{
	background: #222;
	padding: 10px 8px;
	color: #EEE;
	margin: 1px 0;
	font-size: 1.20em;
	font-weight: normal;
	claer: both;
}

.federhome{
	width: 35%;
	display: block;
	margin: 0 auto;
	margin-top: 15px;
}

.autohomeright{
	
	width: 48%;
	margin: 1%;
	overflow: hidden;
	display: inline-block;
	height: 215px;
	float: left;
	font-size: 0.95em;
	text-align: center;
	color: #333;
}
.laatste{
	display: inline;
}
@media only screen and (max-width: 1350px){
.autohomeright{
	height: 200px;
}
}

@media only screen and (max-width: 1300px){
.autohomeright{
	height: 185px;
}
}

@media only screen and (max-width: 1100px){
.autohomeright{
	height: 175px;
}
}

@media only screen and (max-width: 999px){
.autohomeright{
	width: 96%;
	margin: 2px 2%;
	height: auto;
}
.laatste{
	display: none;}
}



.fotoautohomeright{
	width: 95%;
	display: block;
	margin: 0 auto;
	margin-top: 1px;
	margin-bottom: 1px;
	box-shadow: 2px 2px 2px 2px #888;
}

@media only screen and (max-width: 850px){
	.mainright{
		display: none;
	}
	#mainleft{
	width: 100%;
	displat: block;
}

}

div{
	margin: 0;
	padding: 0;
	background: none;
}

.bx-wrapper .bx-viewport{
	background: #CCC;
	border: 0;
	border-left: 5px solid #fff;
	border-right: 5px solid #fff;
}








/* ==========================================================================
   AANBOD
   ========================================================================== */


.autolinks{
	width: 17%;
	float: left;
	display: inline-block;
	overflow: hidden;
}

.autorechts{
	width: 81%;
	float: right;
	display: inline-block;
	overflow: hidden;
}

@media only screen and (max-width: 1250px){
	.autolinks{
	width: 20%;
	}
	.autorechts{
	width: 78%;
}
}

@media only screen and (max-width: 1050px){
	.autolinks{
	width: 22%;
	}
	.autorechts{
	width: 76%;
}
}

@media only screen and (max-width: 999px){
	.autolinks{
	display: none;
	}
	.autorechts{
	width: 100%;
}
}



.autolinks ul 
	{ 
	margin: 0 0 10px 0; 
	width: 100%; 
	list-style:none;
	display:inline;
	float:left;
	padding: 0px; 		
	}	

.autolinks li a 
	{ 
	color: #FFF;
	background: #222; 
	padding: 5px 3px; 
	border-bottom: solid 1px #666; 
	margin-bottom:3px;	 
	margin: 3px 0 0 0;	 
	list-style:none; 
	display:block; 
	text-decoration:none; 
	text-align:right;
		text-weight: normal;
	}	
	
.autolinks li a:hover
	{ 
	text-decoration:none; 
	background: #CCC;	
	color:#3a2970;  
	}		
	
.autolinks li.verkocht a 
	{ 
	color: #FFF;
	background: #3a2970; 
	}	
	
.autolinks li.verkocht a:hover
	{ 
	background: #CCC;	
	color:#3a2970;  
	}			

.federaanbod{
	width: 80%;
	margin: 0 auto;
	display: block;
	margin-top: 15px;
	
}



.autodetail{
	width: 18%;
	padding: 0.5%;
	margin: 0.5%;
	display: inline-block;
	float: left;
	overflow: hidden;
	background: #FFF;
	border-radius: 2px;
	height: 250px;
}










@media only screen and (max-width: 1350px){
	.autodetail{
	width: 23%;
		height: 255px;
}
}

@media only screen and (max-width: 1125px){
	.autodetail{
	width: 31%;
		height: 265px;
}
}

@media only screen and (max-width: 999px){
	.autodetail{
	width: 31%;
		height: 275px;
}
}

@media only screen and (max-width: 750px){
	.autodetail{
	width: 48%;
		height: 320px;
}
}

@media only screen and (max-width: 675px){
	.autodetail{
	width: 48%;
		height: 300px;
}
}


@media only screen and (max-width: 600px){
	.autodetail{
	width: 48%;
		height: 280px;
}
}

@media only screen and (max-width: 525px){
	.autodetail{
	width: 98%;
		height: auto;
		display: block;
}
}



.fotoautodetail{
	width: 100%;
	display: block;
	margin-bottom: 2px;
}



.tekstdetail{
	padding: 0;
	margin: 0;
	font-size: 0.95em;
	line-height: 1.15em;
	text-align: left;
}



.verkochtdetail{
	display: block;
	width: 80%;
	margin: 0 auto;
	border: 1px solid #FFF;
}

.verkochtklein{
	font-weight: normal;
	font-size: 1.20em;
}






















.fotoservice{
	display: inline-block;
	width: 47%;
	margin: 1%;
}


/* ==========================================================================
   START
   ========================================================================== */



#hoofd.starten{
	background: none;
	padding: 0;
	width: 100%;
	margin: 0 auto;
}

#start{
	padding: 0;
	padding-bottom: 25px;
	width: 100%;
	display: block;
	margin: 0 auto;
	margin-top: 200px;
	background: #FFF;
	overflow: hidden;
}

@media only screen and (max-height: 800px)
	{
		#start{
	margin-top: 100px;
}
	}



@media only screen and (max-width: 850px)
	{
		#start{
	margin-top: 100px;
}
	}


@media only screen and (max-height: 600px)
	{
		#start{
	margin-top: 10px;
}
	}

.logostart{
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	margin: 0 auto;
}

.startdet{
	width: 25%;
	border: 0;
	padding: 0;
	display: inline-block;
	float: left;
	overflow: hidden;
}

.detailstart{
	margin: 5px;
	display: block;
	padding: 10px 0;
	background: #333;
	text-align: center;
	overflow: hidden;
}

@media only screen and (max-width: 600px)
	{
		.startdet{
			width: 50%;
		}
	}
/*
@media only screen and (max-width: 450px)
	{
		.startdet{
			width: 100%;
			margin: 0 0 5px 0;
			display: block;
		}
	}
*/
#start .startdet a{
	color: #FFF;
	text-decoration: none;
	margin-top: 10px;
}

#start .startdet img{
	width: 30px;
	margin: 10px 0;
}
	




/* ==========================================================================
   FOOTER
   ========================================================================== */

footer{
	display: block;
	width: 100%;
	margin: 20px 0 10px 0;
	clear: both;
	overflow: hidden;
}

.info{
	width: 50%;
	display: inline-block;
	float: left;
}

.infodetail{
	background: #222;
	color: #FFF;
	padding: 15px 5px;
	margin: 5px;
	text-align: center;
	border-radius: 2px;
	box-shadow: 1px 1px 2px 1px #666;
	min-height: 26px;
}




@media only screen and (max-width: 900px)
	{
		.info{
	width: 100%;
	display: block;
}
		.infodetail{
			width: 97%;
			display: block;
	background: #222;
	color: #FFF;
	padding: 12px 0;
	margin: 0 auto;
	text-align: center;
	border-radius: 0;
	box-shadow: 0;
	margin-bottom: 7px;
		
	}
}



.kroon{
	height: 25px;
}

.infodetail a{
	text-decoration: undeline;
	color: #FFF;
}






/* ==========================================================================
   DETAIL
   ========================================================================== */


.auto{
	display: inline;
	padding: 0;
	width: 44%;
	float: left;
	margin: 0;
	overflow: hidden;
}

.autofoto{
	padding: 0;
	display: inline;
	width: 54%;
	float: right;
	margin: 0;
	overflow: hidden;
}

.autofoto h2{
	padding: 12px 8px;
	text-align: center;
	background:  #222;
	color: #FFF;
	font-size: 1.6em;
}

.XL{
	width: 100%;
	margin: 0 auto;
	margin-bottom: 10px;
	display: block;
}

.eerstefoto{
	display: block;
}

.eerstefotoklein{
	display: none;
}

@media only screen and (max-width: 1200px)
	{
		.auto{
			width: 49%;
}

.autofoto{
	width: 49%;
}
	}

@media only screen and (max-width: 1050px)
	{
		.auto{
			width: 54%;
}

.autofoto{
	width: 44%;
}
	}

@media only screen and (max-width: 750px)
	{
		.auto{
			width: 100%;
}

.autofoto{
	width: 100%;
}
		
		.eerstefoto{
			display: none;
		}	
		.eerstefotoklein{
	display: block;
}
	}


.autofoto h2{
	padding: 12px 8px;
	text-align: center;
	background:  #222;
	color: #FFF;
	font-size: 1.6em;
}

.XL{
	width: 100%;
	margin: 0 auto;
	margin-bottom: 10px;
	display: block;
}

.L{
	max-width: 48%;
	display: inline;
	margin: 1%;
	float: left;
}


/* ==========================================================================
   HISTORIEL
   ========================================================================== */

.historieklinks{
	width: 64%;
	display: inline;
	float: left;
}

.historiekrechts{
	width: 34%;
	display: inline;
	float: right;
}


@media only screen and (max-width: 750px)
	{
		.historieklinks{
	width: 100%;
	display: block;
	float: left;
}

.historiekrechts{
	width: 100%;
	display: block;
	float: right;
}

}


/* ==========================================================================
   RALLY
   ========================================================================== */
.contactleft{
	width: 75%;
	float: left;
	display: inline-block;
}

.contactright{
	width: 23%;
	float: right;
	display: inline-block;
}

@media only screen and (max-width: 1250px)
	{.contactleft{
	width: 60%;
}

.contactright{
	width: 38%;
}
}

@media only screen and (max-width: 750px)
	{.contactleft{
	width: 100%;
}

.contactright{
	width: 100%;
}
}


.kaart{
width: 97%;
height: 500px;
margin: 5px 0;}

.contactright h4{
	padding: 8px 6px;
	color: #FFF;
	background: #222;
	font-weight: normal;
	font-size: 1.10em;
}



/* ==========================================================================
   RALLY
   ========================================================================== */


.fotorally{
	display: block;
	margin: 0 auto;
	max-width: 100%;
	margin-bottom: 10px;
}

.nieuws{
	padding: 10px;
	display: block;
	margin: 3px 0;
	overflow: hidden;
	clear: both;
}

a .anieuws  {
	text-decoration: none;
	color: #222;
}

.fotooverzicht{
	height: 250px;
	margin: 0 15px 15px 0;
	display: inline-block;
	float: left;
}

@media only screen and (max-width: 1250px)
	{
		.fotooverzicht{
	height: 175px;
}
}


@media only screen and (max-width: 600px)
	{
		.fotooverzicht{
	display: block;
			margin: 2px 0;
			width: 100%;
			height: auto;
}
}

/* ==========================================================================
   Menu
   ========================================================================== */




#taal{
	width: 95%;
	overflow: hidden;
	float:left; 
	display:block; 
	text-align: right; 
	color: #222;  
}

#taal a{
	color: #222;
	text-decoration:none;
}




#menul{
	margin-top: 5px;
	float:left; 
	display:inline;
	width: 100%;
	overflow: hidden;
	background-color: #3a297d;
	box-shadow: 5px 5px 5px 5px #111;font-family: 'Abel', Arial, Verdana;
}








.groot
{
	font-size: 1.0em;
}

.klein{
	display: none;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    }

nav li {
    float: left;
}

nav li a, .dropbtn {
    display: inline-block;
    color: #DDD;
    text-align: center;
    padding: 9px 15px 9px 15px;
	border-right: #EEE solid 1px;
	text-decoration: none;
	min-width: 110px;
	z-index: 9999;
}

nav li:first-child {
	border-left: #EEE solid 1px;
	margin-left: 20px;
}

nav li a:hover, .dropdown:hover .dropbtn {
    background: #FFF;
	color: #3a297d;
}

nav li.dropdown {
    display: inline-block;
	box-shadow: none;
	border: none;
	z-index: 9999;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0,0,0,0.2);
    min-width: 250px;
	border: 0px 1px 1px 1px;
	border-color: #666;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 9999;
}


.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	border: #DDD solid 1px;
    text-align: left;
	background-color: rgba(255,255,255,0.9);
	z-index: 9999;}

.dropdown-content a:hover {background-color: rgba(160,160,160,0.9)}

.dropdown:hover .dropdown-content {
    display: block;
}
   

@media only screen and (max-width: 999px) {

nav{
	float: left;
	margin-left: 15px;
}

.groot{
	display: none;
}

.klein{
	display: inline;
}

.dropdown-content {
    min-width: 250px;
}

nav li a, .dropbtn {
    color: #FFF;
    text-align: left;
    padding: none;
	border: none;
	text-decoration: none;
}

.dropdown-content a.submenu {
    background-color: rgba(200,200,200,0.9);
	padding: 12px 6px 12px 26px;
}

.dropdown-content a.submenu:hover {
    background-color: rgba(160,160,160,0,9);
}

}   


.fblink{
	margin-left: -175px;
	margin-top: 2px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
