#main-content div.container{
    padding-top: 0px!important;
}

#primary{
    max-width: 1080px;
    margin: 0 auto;
    margin-left: auto!important;
    margin-right: auto!important;
    padding: 0!important;
}

div.text_bottom{
    margin-top: 18px!important;
}

header.voorraad_campers-header p{
    max-width: 470px;
    padding-bottom: 25px!important;
}

div.filter{
    width: 250px;
    padding: 10px;
    float: left;
    margin-bottom: 10px;
}

div.filter_field{
    position: relative;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

div.filter_field div{
    text-decoration: none;
}

div.filter_field div.hide{
    /*display: none;*/
    color: lightgray;
    text-decoration: line-through;
}

div.filter_field div.hide input{
    /*pointer-events: none;*/
    background-color: gray;
}

div.filter_field span.counter{
    color: lightgray;
}

div.results{
    position: relative;
    float: left;
    width: calc(100% - 280px);
    margin-left: 30px;
}


/*
	Nieuw voorraad filter
*/

#filterModal div.filter{
	width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    float: unset;
}

#filterModal > div > div > div.filter-col-upper, #filterModal > div > div > div.filter-col-bottom{
	display: flex;
	flex-direction: row;
}

#primary .filters-row{
	display: flex;
	flex-direction: row;
}

#primary #content > div > div.results > div.filters-row > div{
	position: unset !important;
	display: flex;
	flex-direction: row;
	white-space: nowrap;
}

#filterModal div.filter_field{
	margin: .5em;
}

#filterModal > div > div > div.filter-col-upper > div.filter_field.style_elevate > h4 > span > svg, #filterModal > div > div > div.filter-col-bottom > div.filter_field.style_elevate > h4 > span > svg{
	display: none;
}

#filterModal .rotated {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

#filterModal svg {
    transition: transform 0.3s ease; /* Smooth rotation for both states */
}

.FilterBtn-new{
	width: 7em;
	height: 2.5em;
	color: white;
	background-color: #133672;
	border: transparent;
	border-radius: 5px;
	display: flex;
	align-items: center;
	font-size: large;
	margin-bottom: 1em;
	padding: 1em;
	cursor: pointer;
}

.FilterBtn-new > svg{
	color: white;
	margin: .5em 0em .5em 1em;
    height: 1.5rem;
}

.FilterBtn-new > svg path{
	fill: white;	
}

#filterModal .filter .FilterBtn-new{
	margin: 5px 5px 5px auto;
}

#primary div.results{
    position: relative;
    float: left;
    width: 100%;
    margin-left: 0px;
}

#primary #content > div > div.results > div.filters-row > div > span{
    margin-right: 10px;
    padding: 1em;
    border: 1px solid #133672;
    border-radius: 5px;
    display: flex;
    align-content: center;
    align-items: center;
    height: 3em;
    width: fit-content;
}

#primary #content > div > div.results > div.filters-row > div > span > span{
	margin-right: .5em;
}

#primary div.img_container div:not(.btn){
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 490px;
    height: 276px;
}

#primary div.img_container{
    max-height: unset;
}

/*
	Eind nieuw voorraad filter
*/

div.text_container h3{
    padding-bottom: 5px;
    max-width: 90%;
}

div.activeFilters span{
    margin-right: 10px;
    padding: 3px;
}

div.titleBlock{
    position: relative;
    padding: 15px;
    margin-bottom: 30px;
    height: 115px;
}

div.titleBlock select.pos_tr{
    margin-right: 15px!important;
    margin-top: 15px!important;
}

div.titleBlock div.activeFilters{
    margin-left: 15px!important;
    margin-bottom: 15px!important;
}

div.camper{
    width: 100%;
    min-height: 250px;
    margin-bottom: 30px;
    display: none;
    position: relative;
    color: black;
    overflow: hidden;
}
div.camper.visible{
    display: block;
}
div.img_container{
    width: 50%;
    max-width: 300px;
    max-height: 226px;
    float: left;
    margin-top: 12px;
    margin-left: 12px;
    margin-bottom: 12px;
}

div.img_container div{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 300px;
    height: 226px;
}

div.img_container div.bigImgContainer{
	overflow: hidden;
	position: relative;
}

div.img_container img{
    /*width: 100%;*/
    /*max-width: 300px;*/
    max-height: 225px;
}


div.img_container div.btn{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    z-index: 1;
    top: calc(50% - 16px);
    transition: .3s all;
}

div.img_container div.btn:hover{

    background: rgba(255, 255, 255, 1);

    cursor: pointer;

}

div.img_container div.btnLeft{

    left: 10px;

}

div.img_container div.btnRight{

    right: 10px;

}

div.img_container div.btn span{

    line-height: 32px;

    text-align: center;

    font-size: 23px;

    width: 100%;

    color: rgba(0,0,0,0.3);

}

div.img_container div.bigImgBar{
	height: max-content!important;
	transition: .1s all;
	left: 0px;
	top: 0px;
	position: relative;
}

div.img_container div.bigImgBar img{

    float: left;

    /*max-width: 816px;*/
    max-width: calc(100vw - 60px);

    margin-right: 5px;
    object-fit: cover;
}

div.text_container{
    float: left;
    padding: 10px;
    /*width: 460px;*/
    width: calc(100% - 312px);
}

#primary div.text_container{
	padding: .5em .5em .5em 14em;
}

div.camper div.shareButtonsContainer{
    position: absolute;
    right: 10px;
    top: 10px;
    max-height: 24px;
    overflow: visible;
}
div.camper span.shareBtn{
    float: left;
    margin-right: 10px;
    margin-left: 2px;
    margin-bottom: 5px;
    background: #133474;
    color: white;
    line-height: 24px;
    width: 24px;
    text-align: center;
    border-radius: 50%;
}

#showWantedFormBtn{
    border: 2px solid #133474;
    color: #133474;
    text-align: center;
    padding: 0px;
    height: 70px;
}

#showWantedFormBtn span{
    background: #133474;
    color: white;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    text-align: center;
    line-height: 33px;
    font-size: 23px;
    margin-top: 0px;
    transform: rotate(90deg);
}
.ui-slider .ui-slider-handle{
    top: -7px;
    background: #939598;
    border: 2px solid lightgray;
}

span.slider_left{
    line-height: 60px;
}
span.slider_right{
    float: right;
    line-height: 60px;
}

input[type='range']{
    -webkit-appearance: none;
    height: 8px;
    background: #ddd;
    width: 100%;
}

input[type='range']::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid lightgray;
    background: #939598;
}

span.subTitle{
    margin-top: -10px;
    margin-left: 2px;
    color: #919191;
    position: absolute;
}

span.slider_middle{
    position: absolute;
    left: 0px;
    text-align: center;
    width: 100%;
    top: 60px;
    font-weight: bold;
}

div.showFilterBtn{
    display: none;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #ffdd00;
    color: #133474;
    font-weight: 600;
}
div.showFilterBtn span{
    float: right;
    line-height: 26px;
    transition: .3s all;
    transform:rotateZ(0deg);
}

div.showFilterBtn.open span{
	transform:rotateZ(90deg);
}

#wantedFormDiv{
    position: absolute;
    left: 0;
    top: 1343px;
    border: 2px solid #133474;
    border-bottom: none;
    border-radius: 8px;
    width: 250px;
    text-align: center;
    max-height: 30px;
    transition: max-height .3s;
    overflow: hidden;
    box-sizing: unset;
}

#wantedFormDiv.open{
    max-height: 480px;
}

#wantedFormDiv div.text{
    color: #133474;
}

#wantedFormDiv div.afterSep{
    margin-bottom: 5px;
}

#wantedFormDiv div.form{
    position: relative;
    background: #133474;
    color: white;
    border-radius: 8px;
    width: 101%;
    padding: 16px;
    text-align: left;
    height: 435px;
    font-size: 9px;
    line-height: 1.6;
}

#wantedFormDiv div.form div.form_text{
    font-size: 9px;
    line-height: 1.3;
    max-width: 90%;
}

#wantedFormDiv div.form div.sep, div.results div.form div.sep{
    height: 2px;
    width: 100%;
    background: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

#wantedFormDiv div.form span{
    background: white;
    color: #133474;
    border-radius: 50%;
    transform: rotate(90deg);
    font-size: 14px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

#wantedFormDiv input[type='text'], #wantedFormDiv select{
    width: 90%;
    border-radius: 8px;
    margin-bottom: 10px;
}

#wantedFormDiv input[type='button']{
    height: 25px;
    line-height: 25px;
    margin-right: 16px!important;
    padding: 0px 10px 0px 10px;
    margin-bottom: 16px!important;
    font-size: 9px;
    border-radius: 8px;
}

#wantedFormDiv input[type='button'].pos_br{
    margin-right: 16px!important;
}

#wantedFormDiv input[type='button'].pos_bl, div.results div.form .pos_bl{
    margin-left: 16px!important;
}

div.results div.form div.pos_bl{
    margin-bottom: 16px!important;
}

#wantedFormDiv .pos_tr{
    margin-top: 16px!important;
    margin-right: 16px!important;
    font-size: 10px;
}

#ik_ben_op_zoek_naar div.message{
	display: none;
}

#ik_ben_op_zoek_naar div.message.show{
	display: block;
}

#ik_ben_op_zoek_naar div.loading{
	display: none;
}

#ik_ben_op_zoek_naar div.loading .fa-spinner{
	animation: spinner 1.5s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

#ik_ben_op_zoek_naar div.loading.show{
	display: block;
}

div.results div.form{
    position: relative;
    margin-bottom: 30px;
    padding: 16px;
    background: #133474;
    color: white;
    border-radius: 8px;
}

div.results div.form div[name='model']{
    width: 100%;
    max-height: 200px;
    min-height: 38px;
    overflow-y: scroll;
    background: white;
    color: #133474;
    margin-bottom: 70px;
    padding: 8px;
    line-height: 23px;
}

div.results div.form div[name='model'] div.input{
    width: 100%;
}


div.results div.form div.whiteBar{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 30px;
    color: #133474;
    background: white;
    border: 2px solid #133474;
    line-height: 24px;
    text-align: center;
    user-select: none;
    border-radius: 8px 8px 0px 0px;
}

div.results div.form div.form_text{
    margin-top: 30px;
}

div.results div.form input[type='text'], div.results div.form select{
    width: 100%;
    padding: 8px;
    height: 38px;
    border-radius: 0px;
}

div.results div.form input[type='button']{
    height: 50px;
    width: 300px;
    font-size: 24px;
    line-height: 20px;
    margin-right: 16px!important;
    padding: 0px 10px 0px 10px;
    margin-bottom: 16px!important;
    border-radius: 0px;
}

@media only screen and (max-width: 1291px) {
    div.filter{
        display: none;
        width: 100%;
    }
    
    #filterModal > div > div {
    	display: flex;
    	flex-direction: column;
    }
    
    #filterModal > div {
    	margin-top: 15em;
    }
    
    #filterModal > div > div > div.filter-col-upper, #filterModal > div > div > div.filter-col-bottom {
    	flex-direction: column
    }
    
    div.showFilterBtn{
        display: block;
    }
    
    #filtersBar{
        margin-left: 0px;
        width: 100%;
    }
    
    #content > div > div.results > div.filters-row > div{
    	overflow-x: scroll;
    }

    div.results{
        margin-left: 0px;
        width: 100%;
    }

    div.img_container{
        margin-bottom: 10px;
    }

    div.img_container, div.text_container{
        width: 100%;
        max-width: 100%;
    }

    div.img_container div{
        width: calc(100% - 24px);
        background-position: center;
    }
    
    #primary div.img_container div:not(.btn){
        width: calc(100% - 24px);
        background-position: center;
    }

    div.camper{
        clear: both;
        height: auto;
        overflow: hidden;
    }

    div.camper h3{
        font-size: 23px;
        margin-top: -15px;
        margin-bottom: -8px;
    }

    div.activeFilters{
        display: none;
    }

    div.camper div.shareButtonsContainer{
        top: auto;
        bottom: 10px;
        max-height: 37px;
    }

    #saveFilterBtn h4{
        font-size: 22px;
    }

    div.shareButtonsContainer span.shareBtn, div.shareButtonsContainer div div{
        width: 37px;
        height: 37px;
        line-height: 37px;
        font-size: 24px;
    }

    div.shareLinksContainer{
        display: flex;
        flex-flow: column-reverse;
        max-height: 39px;
        width: 42px;
    }

    div.shareLinksContainer span.shareBtn{
        margin-bottom: 2px;
        margin-top: 5px;
    }

    div.shareLinksContainer.open{
        position: relative;
        bottom: 153px;
        max-height: 192px;
    }

    div.shareLinksContainer.open span.shareBtn{
        margin-bottom: 2px;
    }

    #wantedFormDiv{
        display: none;
        position: relative;
        top: 15px;
        margin-bottom: 35px;
        width: 100%;
    }

    #alertBox{
        width: 90%;
    }

    div.results div.form{
        font-size: 9px;
        /*height: 485px;*/
    }

    div.results div.form div.form_text{
        line-height: 1.3;
    }

    div.results div.form input[type='button']{
        font-size: 9px;
    }

    div.titleBlock{
        position: relative;
        padding: 15px;
        margin-bottom: 30px;
        height: 160px;
    }

    div.titleBlock select.pos_tr{
        margin-right: 15px!important;
        margin-top: 115px!important;
    }
    
    div.img_container{
    	max-height: 58vw;
    }
    
    div.img_container div.bigImgContainer{
    	height: 58vw;
    }
    
    #primary div.img_container{
        display: grid;
        height: 48vw;
        align-items: center;
        align-content: center;
    }
    
    #primary div.text_container{
	    float: left;
	    padding: .7em .7em .7em .7em;
	}
    
    #primary div.img_container div.bigImgContainer{
    	height: 48vw;
   	    display: grid;
    	align-content: center;
    }
    
    div.img_container img{
    	max-height: 58vw;
    }
    
    #filterModal > div > div > div.filter-col-upper > div.filter_field.style_elevate > h4 > span > svg, #filterModal > div > div > div.filter-col-bottom > div.filter_field.style_elevate > h4 > span > svg{
		height: 30px;
		display: block;
	}
	
	#filterModal > div > div > div.filter-col-upper > div.filter_field.style_elevate > h4, #filterModal > div > div > div.filter-col-bottom > div.filter_field.style_elevate > h4{
		display: flex;
		justify-content: space-between;
	}
	
	#filterModal > div > div > div.filter-col-upper > div.filter_field.style_elevate > h4 > span, #filterModal > div > div > div.filter-col-bottom > div.filter_field.style_elevate > h4 > span{
		height: 0;
	}
	
	#filterModal > div > div > div.filter-col-upper > div.filter_field.style_elevate, #filterModal > div > div > div.filter-col-bottom > div.filter_field.style_elevate{
		width: unset;
	}
}

@media only screen and (max-width: 600px) {
	body, #page-container{
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
	}
	
	.et_pb_row{
		/*width: 100%;*/
	}
	
	div.img_container{
		max-height: 75vw!important;
		margin-left: 0px;
		overflow: hidden;
	}
	
	div.img_container div.bigImgContainer{
		height: max-content!important;
		width: 100%!important;
		max-height: 48vw;
	}
	
	div.bigImgBar{
		max-height: 48vw;	
	}
	
	div.img_container img{
		max-height: 75vw!important;
	}
}

@media only screen and (max-width: 345px) {
	#content > div > div > div.titleBlock.style_elevate {
		height: 200px;
	}
	#content > div > div > div.titleBlock.style_elevate > select{
		margin-top: 155px !important;
	}
}
