.title-balk {
    background: #D6D4E6;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-balk h2 {
    text-align: center;
    line-height: 1.5;
    color: #312783;
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 20px !important;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.btn-primary {
    background: rgba(230,5,21,0.9)!important;
    border-color: rgba(230,5,21,0.9)!important;
    font-size: 14px!important;
    font-weight: bold!important;
    font-family: Helvetica, sans-serif!important;
    text-align: center!important;
}
main {
    background: #312783;
    min-height: calc(100vh - 72px - 279px - 60px); /* 72px = footer, 279px = header, 60px = titlebalk */
    color: #fff;
    font-family: Georgia, serif;
    font-size: 18px;
}

main:not(#nieuwbouw) {
    padding: 10px 0;
}

body.adminBar main {
    min-height: calc(100vh - 72px - 279px - 60px - 32px); /* 72px = footer, 279px = header, 60px = titlebalk, 32px = adminbar */
}

main[id="main"] .container p:first-of-type {
    padding-top: 20px;
}

main[id="main"] .container p:last-of-type {
    margin: 0;
    padding-bottom: 20px;
}

main .wpcf7 {
    /* overflow: hidden; */
    margin-top: 20px;
}

main .wpcf7 input:not([type="checkbox"]) {
    height: 30px;
}

main .wpcf7 textarea {
    width: 100%;
    height: 130px;
    padding: 7px 8px !important;
    font-family: "Arial" !important;
}

main .wpcf7 label {
    padding: 5px 0;
    font-size: 15px;
    word-wrap: break-word;
    font-family: Arial;
    color: #ffffff;
}

main .wpcf7 p {
    margin: 0;
}

main .wpcf7 input[type="submit"] {
    border-radius: 8px;
    border:  0;
    background-color: rgba(230,5,21,0.9);
    color: #fff;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    font-family: Helvetica, sans-serif;
    float: right;
}

main .wpcf7 .wpcf7-response-output,
main .wpcf7 .wpcf7-not-valid-tip {
    margin-left: 7px;
    border: 0;
    padding: 0 !important;
    color: #971414;
    font-weight: bold;
    font-size: 12px;
    margin: 20px 0px;
}

main .wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
    color: green;
}

main .wpcf7 .screen-reader-response {
    display: none;
}

.contact main .owners {
    padding-top: 30px;
}

.contact main .owners .owner {
    width: 231px;
    text-align: center;
}
.contact main .owners .owner img{
    width: 137px;
}

.contact main .owners .owner .name {
    font-weight: bold;
    font-size: 15px;
    font-family: Georgia, serif;
    width: 100px;
    word-wrap: break-word;
    margin: 0 auto;
}

.contact main a {
    color: #fff;
    text-decoration: underline;
}

.contact main a:hover {
    text-decoration: none;
}

.contact main .owners, .contact main .extra-information {
    font-family: Georgia, serif;
    font-style: normal;
    font-size: 15px;
}

main .cards {
    margin-top: 30px;
}

/* Tekst 3 onderste blokken  */
main .card {
    font-family: Geneva, sans-serif;
    font-size: 18px !important;
    position: relative;
    line-height: 1.4;
    border: 0;   
}

/* Titles ondeste 3 blokken */
main .card .card-title {
    font-weight: bold;
    min-height: 48px;
}

main .card-deck {
    position: relative;
}
main .card .card-body {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.25;
    font-weight: lighter;
}

/* Titels */
main .card .card-text span {
    font-weight: bold;
    font-size: 16px;
}

/* Waarden terug van huurwoningen */
main .card .card-text p {
    font-weight: lighter;
    font-size: 16px;
}

main .card .card-body,
main .card a:hover {
    color: #656565;
    text-decoration: none;
}

main .card .google-maps {
    margin: -25px 40%;
}

main .card .google-maps a {
    width: 50px;
    height: 75px;
    display: inline-block;
}

main[id="home"] {
    padding: 0px 0!important;
}

#home .card .card-img-top {
    /* min-height: 220px;
    max-height: 220px; */
    height: 220px;
    object-fit:cover; 
}

.card {
    overflow: hidden;
    min-width: 29%!important;
    margin-bottom: 30px!important;
}

#home #slider-home {
    max-height: 240px;   
}

#home #slider-home .image {
    position: relative;
    height: 240px;
    object-fit:cover;
}
#home #slider-home .owl-dots,
#home #slider-home .owl-nav {
    display: none;
}


#home #slider-home .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #FFF;
    font-size: 13px;
    font-family: Georgia, serif;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 24px 0;
}

#home #items .card-body {
    height: 210px;
    text-align: center;
    line-height: 1.25;
}

#home #items .card-body h2 {
   color:rgba(230,5,21,1);
   font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 26px !important;
    font-weight: bold;
    padding-top: 1rem;
}

#home #items .card-body a {
    color: rgba(101,101,101,1); 
}


#home #items .card-body a:hover {
    text-decoration: underline;
}

.container-contact,
.vastgoedbeheer-container,
.container-vastgoed,
.home-container {
    width: 934px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.all-button {
    position: absolute;
    right: 25px;
    z-index: 1;
    top: 15px;
}

.card .overlay {
    position: absolute;
    position: absolute;
    right: 0;
    top: 150px;
    background-color: rgba(49,39,131,0.53);
    border-radius: 5px 0 0 5px;
    color: #fff;
    font-size: 15px;
    padding: 5px;
}

main#notFound {
    display: flex;
    align-items: center;
    text-align: center;
}


#vastgoedbeheer .card-deck {
    margin: 20px 0;
}

#vastgoedbeheer .card-deck .card .card-title {
    color: rgba(230,5,21,1);
    text-align: center;
    font-size: 25px;
    padding: 10px 0;
}

#vastgoedbeheer .card-deck .card .card-text ul li{
    font-weight: bold;
}
#vastgoedbeheer .card-deck .card .card-text {
    font-family: Georgia, serif;
    font-size: 20px;
}

#nieuwbouw .image {
    position: relative;
}

#nieuwbouw .image img {
    width: 100%;
    max-height: 511px;
}

#nieuwbouw .reeds {
    background-color: rgba(255,255,255,0.71);
    border-width: 1px 1px 1px 1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

#nieuwbouw .reeds h2 {
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 20px;
    text-align: center;
    color: #312783;
    font-weight: bold;
}

#nieuwbouw .reeds-items .card-title {
    background-color: rgba(49,39,131,0.78);
    border-width: 1px 1px 1px 1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    min-height: 61px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

#nieuwbouw .reeds-items .card {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    min-width: 45.8%!important;
    max-width: 40%;
    margin-bottom: 20px;
    margin: 0 auto;
}

#nieuwbouw .card-body {
    max-height: 340px;
    padding: 0;
}

#nieuwbouw .card-body img {
    min-height: 340px;
}

@media (max-width: 991px) {

    #taxonomy-categories div.container div.building div.image, #taxonomy-categories .building .image img {
        width: 300px!important;
    }

}

@media (max-width: 767px) {

    #taxonomy-categories div.container div.building div.image, #taxonomy-categories .building .image img {
        width: 200px!important;
    }

}

#hw-logo {
    padding-bottom: 10px;
    max-width: 20%;
}