.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 40px;
}

.categories .category {
    margin: 40px 20px 0;
}

.categories .category .image {
    width: 438px;
    max-height: 318px;
    max-width: 407px;
    width: auto;
    height: auto;
    position: relative;
}

.categories .category .image .text {
    position: absolute;
    top: 50%;  
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px!important;
}

.categories .category .image .text.unClickable {
    cursor: default;
}

.categories .category .image img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.image .noImage {
    filter: grayscale(100%);
    height: 250px!important;
    object-fit: contain;
}


#taxonomy-categories .building {
    display: flex;
    padding: 20px;
}

#taxonomy-categories .building .image{
    margin-right: 20px;
    width: 500px;
}

#taxonomy-categories .building .image img{
    /* max-width: 500px;
    max-height: 259px; */
    width: 100%;
    height: auto;
    /* max-height: 250px; */
    max-height: 350px;
    object-fit: cover;
}

#taxonomy-categories .info {
    font-size: 15px;
}

.info > p {
    margin: 0;
}

.info .desc {
    padding-bottom: 10px;
}

#taxonomy-categories.garageboxen .building .info {
    margin-top: 20px;
}

#taxonomy-categories .building .info p {
    margin: 0;
}

#taxonomy-categories.garageboxen .building .info #status {
    margin: 20px 0;
}

#taxonomy-categories .building .info #status b {
    text-transform: uppercase;
}

#taxonomy-categories.appartementen .building .info p {
    line-height: 1.2;
}

#taxonomy-categories .building .info a {
    color: #fff;
    text-decoration: underline;
}

#taxonomy-categories.appartementen .building .info a:hover {
    text-decoration: none;
}

#taxonomy-categories .building .info .kop {
    margin-top: 20px;
}

#taxonomy-categories .building .info #readmore {
    float: right;
}

#slider {

    overflow: hidden;
    margin: 20px auto 0 auto;
    border-radius: 4px;
    margin: 0 auto;
    margin-bottom: 20px;
    max-height: 470px; 
}

.slider-block {
    position: relative;
}

/* #slider .owl-item img {
    height: 470px;
    max-height: 470px;
    max-width: 1110px;
    width: auto;
    margin: 0 auto;
} */

#slider .owl-item img {
    /* object-fit: cover; */
    object-fit: scale-down;
    width: 100%;
    max-width: 1110px;
    height: 470px;
}



.small_desc {
    position: absolute;
    z-index: 10;
    top: 30px;
    left: 0;
    padding: 10px 50px;
    border-radius: 5px;
    background: #312783;
    font-size: 24px;
    font-family: Georgia, serif;
    opacity: 0.6;
    color: #fff;
}

.small_desc#s2 {
    top: auto;
    left: auto;
    right: 0;
    bottom: 60px;
    background: #E60515;
    opacity: 0.59;
}

.single iframe {
    margin-bottom: 30px;
    max-width: 946px;
    max-height: 446px;
    width: 100%;
    height: 446px;
}

#taxonomy-categories.single .info .kop {
    text-transform: uppercase;
}

#taxonomy-categories.single .info a {
    color: #fff;
    text-decoration: underline;
}

#taxonomy-categories.single .info a:hover {
    text-decoration: none;
}


#taxonomy-categories.single .info #headsup {
    padding: 20px  0 50px 0;
    margin: 0;
}

.page-nav-container {
    justify-content: center;
    display: flex;
}

.page-nav-container .page-numbers {
    padding: 15px;
    background: #fff;
    margin: 2px;
    color: #312783;
    font-weight: bold;
}

.page-nav-container .page-numbers.current {
    background: #312783;
    color: #fff;
    border: 1px solid #fff;
}
