/*
 Theme Name:     Autobedrijf & Voertuigen v3
 Theme URI:
 Description:    Autobedrijf & Voertuigen base theme
 Author:         Joost Koehoorn
 Author URI:
 Template:       twentytwelve
 Version:        1.0.0
*/

@import url("../twentytwelve/style.css");
@import url("//cdnjs.cloudflare.com/ajax/libs/jquery.selectboxit/3.8.0/jquery.selectBoxIt.css");

.hidden {
	display: none !important;
}



/* Layout styles */

.site-content.archive {
	width: 100%;
	float: none;
}

.search-sidebar {
	width: 160px;
	float: left;
}

.search-content {
	margin-left: 180px;
	padding-bottom: 2em;
	position: relative;
}



/* Select syles */

.search-archive .selectboxit-arrow-container .selectboxit-arrow {
	margin-top: -2px !important;
}

.search-archive .selectboxit-option small {
	color: #999;
}

.search-archive .selectboxit-option a:hover small,
.search-archive .selectboxit-option.selectboxit-focus small {
	color: #ddd;
}



/* Search Form styles */

.search-field {
	margin: 0 0 1em 0;
}

.search-field h4 {
	margin: 0 0 0.5em 0;
}

.search-field label {
	display: block;
	cursor: pointer;
}

/* Active search options are displayed slightly bolder */
.search-field label.active {
	font-weight: 600;
}

.search-field label.active.hidden {
	display: block !important;
}

/* Fade results without any results */
.search-field label[data-count="0"]:not(.active) {
	color: #777;
}

.search-field label span {
	color: #999;
	font-size: 90%;
}

.search-field select {
	width: 100%;
}

.search-field input[type=text] {
	width: 90%;
}

.search-field a {
	display: block;
	font-size: 90%;
	text-decoration: none;
}

.search-field .selectboxit-container {
	margin-bottom: 0.5em;
}

.search-field .selectboxit-container,
.search-field .selectboxit-container .selectboxit {
	width: 100%;
}

.search-field .selectboxit-text small {
	display: none;
}

/* Hide search button when JS is active */
body.has-js .search-sidebar input[type=submit] {
	display: none;
}



/* Slider styling */

.search-field.has-slider .search-items {
	display: none;
}

.search-field .slider-values {
	font-size: 85%;
	margin-bottom: 1em;
	overflow: hidden;
}

.search-field .slider-values small {
	font-size: 100%;
	color: #999;
	display: none;
}

.search-field.tracking-min .slider-values .low small,
.search-field.tracking-max .slider-values .high small {
	display: inline;
}

.search-field .slider-values .low {
	float: left;
}

.search-field .slider-values .high {
	float: right;
}



/* Search field hide all non-selected items */

.search-field.hide-non-selected label {
	margin-bottom: 6px;
}

.search-field.hide-non-selected label.active {
	font-weight: normal;
}

.search-field.hide-non-selected input[type=checkbox] {
	display: none;
}

.search-field.hide-non-selected:not([data-selected="1"]) .clear-selected {
	display: none;
}

/* When a single item is selected, hide all other options */
.search-field.hide-non-selected[data-selected="1"] label:not(.active),
.search-field.hide-non-selected[data-selected="1"] .show-more-toggle {
	display: none !important;
}



/* Results Settings styles */

.search-settings {
	padding: 1em 0.5em;
	line-height: 22px;
}

.search-settings .selectboxit-container span {
	height: 22px;
	line-height: 22px;
}

.search-settings .display {
	float: right;
}

.search-settings .display li {
	float: left;
	padding: 0 0.5em;
}

.search-settings .display a {
	font-weight: bold;
	font-size: 90%;
	color: #999;
	text-decoration: none;
}
.search-settings .display a:hover {
	color: #000;
}

.search-content.list .display-list a,
.search-content.grid .display-grid a {
	color: #000;
}



/* Search Results styles */

.search-content article {
	width: 100%;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

.search-content article .item {
	position: relative;
	margin: 0 0.5em 2em 0.5em;
	box-shadow: 0 0 4px 0 #ccc;
	border-radius: 4px;
	overflow: hidden;
}

.search-content article h1 {
	clear: none;
}

.search-content article a {
	text-decoration: none;
}

.search-content article dl {
	margin: 0;
}

.search-content article dd {
	margin: 0;
}

@media screen and (min-width: 720px) {
	.search-content article dt {
		float: left;
		width: 100px;
		clear: right;
		text-align: right;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.search-content article dd {
		margin: 0 0 0 120px;
	}
}

.search-content article header {
	padding: 1em;
}

.search-content article a.overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
}

.search-content article .thumbnail img {
	border-radius: 0;
}

.search-content article .entry-content {
	padding: 0 1em 1em 1em;
}

.search-content.list article .thumbnail {
	width: 40%;
	max-width: 300px;
	float: left;
}

.search-content.list article .item-content {
	margin-left: 40%;
}

.search-content.grid article .thumbnail img {
	width: 100%;
}

@media screen and (min-width: 960px) {
	.search-content.grid article:nth-child(3n+4) {
		clear: both;
	}

	.search-content.grid article {
		width: 33.333333%;
		float: left;
	}
}

@media screen and (min-width: 720px) and (max-width: 959px) {
	.search-content.grid article:nth-child(2n+3) {
		clear: both;
	}

	.search-content.grid article {
		width: 50%;
		float: left;
	}
}




/* View helpers */

.search-content .visible-grid,
.search-content .visible-list,
.search-content.grid .hidden-grid,
.search-content.list .hidden-list {
	display: none;
}

.search-content.grid .visible-grid,
.search-content.list .visible-list {
	display: block;
}



/* Loading View styles */

.search-load-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.8);
	display: none;
}

.search-loading .search-load-overlay {
	display: block;
}

.search-loading .results-container {
	-webkit-filter: blur(2px);
	filter: blur(2px);
}

/* jQuery UI slider styles */

.ui-slider {
	position: relative;
	text-align: left;
	background: #ddd;
	height: 4px;
	margin: 0 4px;
}

.ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	padding: 10px;
	width: 8px;
	height: 8px;
	top: -12px;
	margin-left: -14px;
	outline: none;
	cursor: default;
	-ms-touch-action: none;
	touch-action: none;
}

.ui-slider .ui-slider-handle span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background-color: #1b5e7e;
	box-shadow: 0 0 2px 2px #fff;
}

.ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	font-size: .7em;
	display: block;
	border: 0;
	background-position: 0 0;
	background-color: #21759b;
}

/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
	filter: inherit;
}

.ui-slider-horizontal .ui-slider-range {
	top: 0;
	height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min {
	left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
	right: 0;
}



/* Responsive styles */

@media screen and (max-width: 719px) {
	/* Grid becomes list */
	.search-content.grid .hidden-list,
	.search-content.grid .visible-grid {
		display: none;
	}
	.search-content.grid .hidden-grid,
	.search-content.grid .visible-list {
		display: block;
	}
	.search-content.grid article .thumbnail {
		width: 40%;
		max-width: 300px;
		float: left;
	}

	.search-content.grid article .item-content {
		margin-left: 42%;
	}

	.search-settings .display-grid {
		display: none;
	}
	.search-content.grid .search-settings .display-list a {
		color: #000;
	}
}

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

	/* Change sliders back into dropdowns */
	.search-field.has-slider .slider-container {
		display: none;
	}
	.search-field.has-slider .search-items {
		display: block;
	}

	.search-sidebar {
		width: 100%;
		float: none;
	}

	.search-content {
		margin-left: 0;
	}

}

@media screen and (max-width: 400px) {
	.hidden-sm {
		display: none;
	}
}

@media screen and (max-width: 400px) {
	.search-content .results-container,
	.search-content .search-load-overlay {
		margin: 0 -1.714285714rem;
	}

	.search-content article {
		border-top: 1px solid #ddd;
	}

	.search-content article:last-child {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1em;
	}

	.search-content article .item {
		position: relative;
		margin: 0;
		box-shadow: none;
		border-radius: 0;
		overflow: hidden;
	}

	.search-content article a.overlay {
		display: block;
	}

	.search-content.list article .thumbnail {
		width: 25%;
	}

	.search-content.list article .item-content {
		margin-left: 25%;
	}
}

/*========================= BEGIN CUSTOMCODE /*=========================*/
/* Force full width layout for all regular pages */
/* Full width for all regular pages */
body.page .site,
body.page .content-sidebar,
body.page .site-content,
body.page .content-area,
body.page #primary,
body.page #content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box;
    float: none !important;
}

/* Hide sidebar if it's there */
body.page .widget-area {
    display: none !important;
}

/* Sticky header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Header layout */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-nav {
    position: relative;
}

.site-nav .main-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav .main-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    .site-nav .main-menu {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .site-nav .main-menu.active {
        display: flex;
    }

    #menu-toggle {
        display: block;
    }
}




