:root {
    --immoweb-navy: #082479;
    --immoweb-blue: #315ed1;
    --immoweb-green: #65d78d;
    --immoweb-blue-light: #e6eff7;
    --immoweb-grey-bg: #f3f5fa;
    --immoweb-text: #333333;
    --immoweb-text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    /*font-family: "Open Sans", Arial, sans-serif;*/
    font-family: Gratimo Grotesk, Arial, Trebuchet MS, system-ui, -apple-system, sans-serif;
    color: var(--var-immoweb-text);
    background-color: var(--immoweb-grey-bg) !important; /* immoweb css sets this to white */
    margin: 0;
    line-height: 1.6;
    margin-top: 6em !important;
}

header {
    background-color: var(--white);
    padding: 1rem 5%;
    border-bottom: 1px solid #ddd;
    display: flex !important; /* immoweb css sets this to "block" */
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

    header div {
        position: relative;
        margin: 0 auto !important;
    }

    header select {
        border: 1px solid var(--immoweb-navy);
        color: #133dbd;;
        background-color: var(--immoweb-grey-bg);
        border-radius: .5rem;
        line-height: 2.375rem;
        padding: 0 .75rem;
        /*position: absolute;
        right: 0;*/
        outline: none;
        min-height: 2.3rem;
        font-weight: 700;
        position: absolute;
        right: 0;
    }

    header .logo {
        margin-right: .5em;
    }

    header a[role="button"] {
        padding: .875rem .5rem;
        text-decoration: none;
        outline: none;
        color: #63697d;
        border-radius: 1rem;
    }
    header a[role="button"]:hover, header a[role="button"].active {
        background-color: #f2f2f2;
    }

    header a.btn {
        position: absolute;
        right: 6em;
    }

.logo, .top-navigation__image {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--immoweb-navy);
    text-decoration: none;
    width: unset !important; /* immoweb css sets this to 100% */
}

.container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 20px;
}

.breadcrumb {
    font-size: 0.9rem;
    margin: 1rem;
    color: var(--immoweb-text-light);
}

.breadcrumb a {
    color: var(--immoweb-navy);
    text-decoration: none;
}

h1, h2, h3 {
    color: var(--immoweb-navy);
}

/* Category Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    color: var(--immoweb-navy);
    margin-right: 0 !important; /* immoweb css sets this to 1.75rem */ 
}

.tab.active {
    background: var(--immoweb-navy);
    color: var(--white);
    border-color: var(--immoweb-navy);
}

/* Grid Layout */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.partner-card {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;

    display: none;
    /*
    visibility: hidden; 
    opacity: 0;
    transition: all ease-in-out 0.25s;
    zoom: 0;
    */
}

.partner-card[data-link] {
    cursor: pointer;
}

.partner-card.visible {
    display: block;
    /*
    visibility: visible; 
    opacity: 1;
    transition: all ease-in-out 0.25s;
    zoom: 1;
    */
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card > img {
    width: 100%;
}

.category-tags {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--immoweb-text-light);
    margin-bottom: 8px;
    display: block;
    min-height: 25px;
}

    .category-tags span {
        z-index: 2;
        display: block;
        float: left;
        text-decoration: none;
        font-size: 10px;
        padding: 4px 4px 4px 10px;
        line-height: 1;
        position: relative;
        margin-right: 15px;
        border-width: 1px 1px 1px 0;
        border-radius: 0 5px 5px 0;
        border: 1px solid #bbb;
        border-left-width: 0;
        background-color: #fff9d3;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    }
    .category-tags span:before, .category-tags span:after {
        content: "";
        position: absolute;
        display: block;
        border: 1px solid #777;
    }
    .category-tags span:before {
        z-index: 1;
        left: 0;
        top: 0;
        width: 20px;
        height: 19px;
        transform: translate(-11px, -1px) scale(0.70711, 0.70711) rotateZ(-45deg);
        border-radius: 8px 0 0 0;
        border-width: 1px 0 0 1px;
        background-color: #fff9d3;
    }
    .category-tags span:after {
        top: 5px;
        left: -3px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        z-index: 2;
        box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.15);
    }


.btn {
    display: inline-block;
    padding: .5625rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    font-weight: 700;
    border-radius: 1.25rem;
}

.btn-primary {
    background-color: var(--immoweb-green);
    color: var(--immoweb-navy);
}
    .btn-primary:hover {
        background-color: #9be5b5;
        border-color: #9be5b5;
    }

.btn-outline {
    border: 1px solid var(--immoweb-green);
    color: var(--immoweb-navy);
}
    .btn-outline:hover {
        border-color: #65d78d;
    background-color: #eefbf2;
    }

.btn:active {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #1542c9;
    -webkit-box-shadow: 0 0 0 1px #1542c9;
    box-shadow: 0 0 0 1px #1542c9;
}

.clearfix {
    display: block;
    clear: both;
}

.partner-image {
    float: right;
    max-width: 300px !important;
    padding: 1em;
}
.partner-logos {
    display: none; /* hide for now */
    text-align: center;
    padding: 50px 0;
    clear: both;
}
.partner-logos img {
    box-sizing: content-box;
    display: inline-block;
    /*max-width: 200px;*/
    max-height: 40px;
    padding: 20px;
    filter: grayscale(1) contrast(100) brightness(50);
    opacity: .5;
}
form {
    user-select: none;
    /*max-width: 400px;*/
}
    form label {
        display: block;
        position: relative;
        padding: 12px;
    }

    form p {
        padding: 1em 0 0 0;
        font-weight: bold;
        color: var(--immoweb-navy);
        font-weight: bold;
        font-size: 1.25rem;
    }
    form p label { /* for our category checkboxes */
        font-weight: normal;
        padding: .5em 0 0 2.2em;
        width: 45%;
        display: inline-block;
        position: relative;
        /*color: var(--immoweb-navy);*/
        font-size: .78em;
        color: #63697d;
        vertical-align: top;
    }

        form p label input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        form p label .checkmark {
            position: absolute;
            top: 9px;
            left: 10px;
            height: 20px;
            width: 20px;
            background-color: var(--immoweb-grey-bg);
            border-radius: 2px;
            border: 1px solid #315ed1;
        }

        /* On mouse-over, add a grey background color */
        form p label :hover input ~ .checkmark {
            background-color: var(--immoweb-grey-bg);
        }

        /* When the checkbox is checked, add a blue background */
        form p label  input:checked ~ .checkmark {
            background-color: var(--immoweb-blue);
        }

        /* Create the checkmark/indicator (hidden when not checked) */
        form p label .checkmark:after {
            content: "";
            position: absolute;
            display: none;
        }

        /* Show the checkmark when checked */
        form p label  input:checked ~ .checkmark:after {
            display: block;
        }

        /* Style the checkmark/indicator */
        form p label  .checkmark:after {
            left: 6px;
            top: 3px;
            width: 6px;
            height: 11px;
            border: solid white;
            border-width: 0 3px 3px 0;
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
        }

    form label input[type="text"],
    form label input[type="url"],
    form label input[type="tel"],
    form label input[type="number"],
    form label input[type="email"],
    form label select {
        border: 1px solid var(--immoweb-navy);
        color: #133dbd; /* var(--immoweb-navy);*/
        background-color: var(--immoweb-grey-bg);
        border-radius: .5rem;
        line-height: 2.375rem;
        padding: 0 .75rem;
        position: absolute;
        right: 0;
        outline: none;
        min-height: 2.3rem;
        width: 45%;
    }


    form label input[type="text"]:focus,
    form label input[type="url"]:focus,
    form label input[type="tel"]:focus,
    form label input[type="number"]:focus,
    form label select:focus {
        box-shadow: 0 0 0 1px var(--immoweb-navy);
    }

    form input[type="submit"] {
        width: 100%;
    }
/* Detail Page specific */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.detail-main {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2em;
}

.detail-main img {
    max-width: 100%;
}

#partner-not-found {
    display: none;
}

    #partner-not-found .detail-main {
        text-align: center;
    }

.sidebar-cta {
    background: var(--immoweb-blue-light);
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    text-align: center;
}

    .sidebar-cta img {
        max-width: 100%;
    }
@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    header a[role="button"] {
        display: none;
    }
    .partner-image {
        max-width: 200px !important;
    }
}
@media (max-width: 540px) {
    header a.btn {
        display: none;
    }
    .partner-image {
        display: none;
    }
}

footer a[href=""] {
    display: none; /* hide empty links in footer; we don't have EN translations for blog posts */
}

spoq-request-tool {
    --brand-default-color: #133DBD;
    --brand-default-font-color: #082479;
    --brand-default-font-family: Gratimo Grotesk,Arial,Verdana,system-ui,-apple-system,sans-serif;
    --brand-default-font-size: 14px;
    --active-item-background: #e4eaf5;
    --active-item-border-width: 1px;
    --selected-item-border-color: #a8beea;
    --button-gradient-left: #133DBD;
    --primary-button-color: #133DBD;
    --checked-icon-color: #FFFFFF;
    --checked-icon-background: #133DBD;
    --checked-icon-border-radius: 50%;
    --login-separation-color: #133DBD;

    --item-background: #fff;
    --item-border: .0625rem solid #a8beea;
    --item-border-radius: .25rem;
}
#spoq-widget-container {
    position: relative;  /* The "position: relative" is mandatory for the SPOQ component */
}
#spoq-widget-container .logo {
    max-width: 350px;
}