footer { clear:both; }

.navbar-fixed-top, .navbar-fixed-bottom { position:static;}

.menu ul { position:relative; text-align:justify; text-align-last:justify; height:2.2em; min-width:800px; }
.menu ul li { display:inline-block; padding:.5em 1em; cursor:pointer; text-align:center;  font-family: "Open Sans"; font-weight:normal; font-size:15px;}
.menu ul li.active, .menu ul li:hover { color:#FFF; background-color:#59284b; border-radius:4px;text-decoration:none; font-weight:bold;}
.menu ul li.active a, .menu ul li:hover a { color:#FFF; text-decoration:none }
.menu ul:after { content:""; display:inline-block; width:100%; height:0; overflow:hidden; }

a:hover { text-decoration:none}

/****** CUSTOM CHANGES *******/
/****** GLOBAL ******/
body
{
    word-wrap: normal;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #2D2D2D;
    line-height: 24px;
}

header, header * {
    transition: all 0.5s linear 0s;
}

.logo h1
{
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.jumbotron p
{
    font-size: 1em;
}

.jumbotron
{
    margin: 0;
    padding: 25px 15px;
}

.jumbotron > .container
{
    padding-left: 0;
    padding-right: 0;
}

.back_to_top {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.65);
    color: #FFF;
    cursor: pointer;
    text-align: center;
    position: fixed;
    right: 50px;
    bottom: 50px;
    padding-top: 6px;
    display: none;
    z-index: 999;
    transition-duration: 0.2s;
    transition-property: background-color;
}

img
{
    max-width: 100%;
}

/****** GLOBAL (end) *********/
/********** HEADER ***********/

.headertopjumbotron
{
    padding: 0.5em 0;
    margin-bottom: 0;
    background-color: #C5C5C5;
    color: #929596;
    font-size: 0.8em;
    text-align: right;
}

.headertopjumbotron a
{
    color: #929596;
    font-weight: bold;
    display: inline-block;
    margin-right: 0.5em;
    text-transform: uppercase;
}

.headertopjumbotron a:hover, .headertopjumbotron a:focus
{
    color: #ffffff;
}

.headertopjumbotron .fa
{
    margin-right: 0.5em;
}

.headernavjumbotron
{
    padding: 0;
    margin: 0;
    background-color: #F7F7F7;
}

.headernavjumbotron .navbar
{
    margin-bottom: 0;
}

.headernavjumbotron .navbar-header
{
    float: none;
    height: 6em;
    padding: 0;
}

.headernavjumbotron a
{
    float: none;
    display: inline-block;
    /*font-family: "Times New Roman", Times, serif;*/
}

.headernavjumbotron a.active, .headernavjumbotron a:hover, .headernavjumbotron a:focus
{
    background-color: #C7081B;
    color: #ffffff;
}

.headernavjumbotron a.active:hover, .headernavjumbotron a.active:focus
{
    color: #ffffff;
}

.headernavjumbotron .navbar-default .navbar-brand
{
    padding-left: 0;
}

.navbar-toggle
{
    z-index: 999;
}

#navbar_header_collapse
{
    padding-right: 0;
    padding-left: 0;
}

.headernav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.headernav a {
    display: inline-block;
    color: #032b56;
    text-transform: uppercase;
    font-weight: 700;
}

.headernav li{
    padding: 3.2em 1em 1.6em
}

.headernav
{
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: #F7F7F7;
}

.headernav .navbar-nav
{
    float: right;
}

.headernav .navbar-toggle
{
    padding: 1em 1.2em;
}

@media screen and (min-width: 768px){
    .headernavjumbotron .logo_container, .headernavjumbotron .mainnav_container
    {
        padding: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px){

    .headernav a
    {
        font-size: 0.8em;
    }
    .headernav li {
        padding: 4.2em 0.5em 2em;
    }
}

@media screen and (max-width: 767px){
    .logo_container
    {
        height: 6.5em;
    }
    .headernav .navbar-toggle
    {
        margin-top: 1.5em;
        border: none;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form
    {
        border: none;
    }

    .mainnav_container a
    {
        width: auto;
        width: 100%;
    }

    .mainnav_container li
    {
        width: auto;
        width: 100%;
        padding: 1em;
    }

    .headernav .navbar-nav
    {
        float: none;
    }

    .headernavjumbotron
    {
        padding-bottom: 1em;
    }

}

@media screen and (max-width: 480px){
    .navbar-brand > img
    {
        width: 200px;
    }
    .navbar-brand
    {
        margin-top: 0.25em;
    }
}

@media screen and (max-width: 350px){
    .navbar-brand > img
    {
        width: 175px;
    }
    .navbar-brand
    {
        margin-top: 0.4em;
    }
}

/******** HEADER (end) *******/
/********* CONTENT ***********/
/*** HOME ***/
.homesliderjumbotron
{
    /*padding: 0px;*/
    max-height: 500px;
    /*height: 439px;*/
    overflow: visible;
    background-color: #E9E9E9;
}
.homesloganjumbotron
{
    background-color: #F0F0F0;
    margin-top: 0.2em;
}

.homesloganjumbotron h2
{
    margin: 0.5em 0;
}

.homesloganjumbotron h2 span {
    font-size: 1.5em;
    font-family: 'Yellowtail', cursive;
    color: #c7081b;
}

.homesloganjumbotron .testrit
{
    margin-top: 1.8em;
}

h5
{
    font-size: 1.4em;
    color: #C7081B;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 0;
}

#homeslider .item p.omschrijving
{
    font-weight: bold;
    /*padding: 1em;*/
    padding-top: 0.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    position: absolute;
    bottom: 0;
    color: white;
    text-shadow: 1px 1px #000000;
}

#hometweedehandsslider, .hometweedehands
{
    width: 167px;
    height: 275px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #f0f0f0;
    margin-right: 1em;
    padding-bottom: 1em;
    padding-top: 1em;
    margin-bottom: 1em;
}

#hometweedehandsslider:hover a .homeslidediv, .hometweedehands:hover a .homeslidediv
{
    background-color: #C7081B;
}

#hometweedehandsslider:hover a p, .hometweedehands:hover a p
{
    color: #ffffff;
}

#hometweedehandsslider:hover a img, .hometweedehands:hover a img
{
    opacity: 0.85;
}

#hometweedehandsslider a p, #hometweedehandsslider a:hover, #hometweedehandsslider a:focus, .hometweedehands a p, .hometweedehands a:hover, .hometweedehands a:focus
{
    text-align: center;
    line-height: 1.2em;
    font-weight: bold;
    color: #000000;
}

#hometweedehandsslider .carousel-indicators
{
    position: absolute;
    bottom: 0;
}

#homeslider .carousel-indicators
{
    position: absolute;
    /*top: -2.5em;*/
    top: -2em;
}

#homeslider .carousel-inner
{
    /*margin-top: 2em;*/
}

.homesliderjumbotron #slider
{
    margin-top: 1em;
}

#hometweedehandsslider .carousel-indicators li, #homeslider .carousel-indicators li
{
    width: 18px;
    height: 18px;
    border-radius: 0;
    border: 1px solid #C7081B;
}

#hometweedehandsslider .carousel-indicators .active, #homeslider .carousel-indicators .active
{
    background-color: #CACACA;
    width: 20px;
    height: 20px;
    border-radius: 0;
}


.homeslidediv
{
    padding: 0.3em;
    padding-top: 1em;
    /*margin-bottom: 2em;*/
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contentfulljumbotron.homejumbo
{
    padding: 40px 15px;
}
/*** HOME (end) ***/

.contentjumbotron
{
    background-color: #000000;
    color: #ffffff;
    padding: 40px 15px;
}

.contenthead h2:first-letter
{
    text-transform: capitalize;
}

.contenthead h2
{
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 0;
}

.contenthead h4
{
    font-size: 1.5em;
}

.contentfulljumbotron
{
    background-color: #ffffff;
}

.contentfulljumbotron h2
{
    color: #2D2D2D;
    /*font-family: Helvetica, 'Arial', sans-serif;*/
    font-weight: 700;
}

.contentfulljumbotron h3
{
    color: #C7081B;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.5em;
    margin-bottom: 1em;
}

.contentfulljumbotron a
{
    color: #C7081B;
}

.contentfulljumbotron a:hover, .contentfulljumbotron a:focus
{
    color: #AD0718;
}

.contentfulljumbotron #map
{
    margin: 2em 0;
}

.homesloganjumbotron
{
    padding: 10px 15px;
}

.contactgegevens th, .contactgegevens td
{
    vertical-align: top;
    padding-bottom: 0.5em;
}

.contactgegevens th
{
    width: 6em;
}

.contactform input
{
    margin-bottom: 1em;
}

.btn.btn-primary
{
    background: none;
    background-color: #C7081B;
    border-color: #C7081B;
    color: #ffffff !important;
}

.btn-warning
{
    background: none;
    background-color: #AD0718;
    border-color: #790511;
}

.btn-warning:hover, .btn-warning:focus
{
    background: none;
    background-color: #930614;
    border-color: #790511;
}

.contactdo h3
{
    text-align: center;
}

.firstcharacter {
    float: left;
    color: #c7081b;
    font-size: 70px;
    line-height: 58px;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
}

.images_wrapper img
{
    display: inline-block;
    margin-bottom: 0.2em;
}

.rightbedrijf
{
    margin-top: 1em;
}

.tweedehands
{
    padding: 30px 15px 40px 15px;
}

.tweedehandscontainer
{
    border: 1px solid #E5E5E5;
    border-radius: 11px / 13px;
    background-clip: padding-box;
    background-color: #FFF;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.13);
    padding: 1em;
}

.tweedehandscontainer:hover, .tweedehandscontainer:focus
{
    background-color: #F9F9F9;
}

.tweedehandscontainer td, .tweedehandscontainer th
{
    color: #3D3D3D;
}

.tweedehandscontainer th
{
    width: 9em;
}

.tweedehandscontainer h1
{
    font-size: 1.8em;
    color: #3D3D3D;
    font-family: helvetica, arial, sans-serif;
    font-weight: bold;
    padding: 0;
    margin: 0;
    margin-bottom: 0.2em;
}

.tweedehandscontainer th, .tweedehandscontainer td
{
    font-size: 0.9em;
}

.tweedehandscontainer .prijs
{
    font-weight: 700;
    font-size: 2em;
}

.tweedehandscontainer
{
    margin-top: 1em;
}

.tweedehands_titel
{
    float: left;
}

.tweedehands_prijs
{
    float: right;
    font-weight: bold;
    font-size: 2em !important;
    margin-top: 0;
}

.artikelfotos .artikelfoto
{
    padding-right: 0.5%;
    padding-bottom: 1%;
    padding-left: 0.5%;
}

#hoofdfoto
{
    padding-bottom: 1%;
}

.hoofdfoto_wrapper img {
    aspect-ratio:3/2;
    object-fit: contain;
}

.thumbnails:hover
{
    cursor: pointer;
}

.artikelfotos .artikelfoto img
{
    aspect-ratio:3/2;
    object-fit:contain;
}
.artikelfotos .artikelfoto_wrapper {
    border: 1px solid #3D3D3D;
    
}

.detailsartikel
{
    line-height: 2em;
}

.detailsartikel th
{
    text-transform: uppercase;
    width: 11em;
}

/******* CONTENT (end) *******/
/********** FOOTER ***********/
.footertopjumbotron
{
    background-color: #3D3D3D;
    padding: 48px 0px;
}

.footerbottomjumbotron
{
    background-color: #2F2F2F;
}

footer
{
    font-size: 1em;
    color: #ffffff;
}

footer a
{
    color: #BEBEBE;
}
footer a:hover, footer a:focus
{
    color: #999;
}

footer h2
{
    text-transform: capitalize;
    font-weight: 600;
    margin-bottom: 0.7em;
}

.contactusdiv i, .contactusdiv p
{
    display: inline-block;
    margin-right: 0.5em;
}

/******** FOOTER (end) *******/

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

    .homesliderjumbotron
    {
        height: auto;
    }
    .tweedehandscontainer h1
    {
        margin-top: 0.7em;
        font-size: 1.2em;
    }
    .artikeleigenschappen
    {
        margin-top: 1em;
    }

    .artikelfotos .artikelfoto img
    {
        /*margin-bottom: 1em;*/
        margin-bottom: 0;
    }

    .detailsartikel
    {
        margin-top: 1em;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px)
{

    .homesliderjumbotron {
        /*height: 300px;*/
    }

}


@media screen and (max-width: 1449px){
    #homeslider .item p.omschrijving 
    {
        max-height: 1.2em;
    }
}

@media screen and (min-width: 1450px){
    #homeslider .item p.omschrijving
    {
        position: relative;
        bottom: auto;
        text-align: center;
        max-width: 1430px;
        text-shadow: none;
        color: #000000;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}