/* LOADING ICOONTJE */
img.loader {
    width: 50px!important;
    margin: auto;
    aspect-ratio: 1;
}



/* GEEN RESULTATEN */
body.__zoeker .page_content .no-result img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 20px;
}
body.__zoeker .page_content .no-result {
    text-align: center;
}
@media (max-width: 900px) {

    body.__zoeker .page_content .no-result img {
        max-width: 100px;
        margin-top: 50px;
        margin-bottom: 20px;
    }
    body.__zoeker .page_content .no-result {
        font-size: .8em;
    }

} 



/* INPUT overwrite, see _homepage.css */
body.__zoeker .row .content .page_content input {
    filter: none;
    margin: 0;
    margin-top: -20px;
    margin-bottom: 20px;
    
}
@media (max-width: 900px) {
    body.__zoeker .row .content .page_content input {
        margin-top: 0;
        margin-bottom: 10px;
    }
}




/* SEARCH NAV */
div#search-nav {
    margin-top: 0px;
    position: sticky;
    top: 100px;
    padding: 20px 0;
    padding-bottom: 0;
    z-index: 2;
    background: var(--background);
    border-bottom: 2px solid rgba(0,0,0,0.2);
}
div#search-nav div.nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    column-gap: 15px;
    margin-bottom: -2px;
}
div#search-nav div.nav a {
    border-bottom: 5px solid var(--supportcolor1);
    color: var(--supportcolor1);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    font-weight: 500;
}
div#search-nav div.nav a:not(.active) {
    color: var(--main);
    border-bottom: 5px solid transparent;
}
div#search-nav div.nav a span {
    background-color: #ec1a39;
    color: #fff;
    border-radius: 3px;
    font-size: .6em;
    display: inline-block;
    /* width: 20px; */
    height: 20px;
    padding: 0 5px;
    text-align: center;
    line-height: 20px;
}
@media (max-width: 900px) {
    div#search-nav {
        position: sticky;
        top: 50px;
    }
    div#search-nav div.nav {
        margin-top: 10px;
        column-gap: 10px;
        font-size: .8em;
        overflow-x: scroll;
    }
    div#search-nav div.nav a {
        border-bottom: 3px solid rgba(0,0,0,0.2);
    }
} 




/* RESULTS */
.search-results {
    min-height: 400px;
    padding: 0px;
    box-sizing: border-box;
    margin-top: 50px;
    border-radius: 10px;
    width: 100%;
}


    /* results */
    div.paid,
    div.free {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: flex-start;
        row-gap: 20px;
        column-gap: 10px;
        margin-top: 30px;
        min-height: 200px;
        width: 100%;
    }
    .search-results h2 {
        padding-top: 0;
    }
    div.result {
        width: calc(50% - 10px);
        background: var(--accents);
        position: relative;
        border-radius: 10px;
        overflow: hidden;
    }
    div.result a {
        position: relative;
        display: block;
        color: var(--main);
    }
    div.result a:hover {
        text-decoration: underline;
    }
    div.free div.result a:hover {
        text-decoration: none;
    }
    div.result a.all {
        display: block;
    }
    div.result div.flex {
        display: flex;
    }
    div.result div.info {
        padding: 20px;
        box-sizing: border-box;
        width: calc(100% - 150px);
    }
    div.result div.info.full {
        width: 100%;
    }
    div.result .contacts {
        display: flex;
        font-size: .8em;
        position: absolute;
        right: 20px;
        bottom: 20px;
        column-gap: 5px;
        align-items: center;
    }
    div.result .contacts.social {
        bottom: auto;
        top: 15px;
    }
    div.result .contact {
        
    }
    div.result .contact a {
        display: block;
        width: 100%;
        height: 100%;
    }
    div.result .contact.etalage,
    div.result .contact.phone,
    div.result .contact.website {
        background-color: var(--background);
        line-height: 1;
        padding: 7px 7px;
        border-radius: 3px;
    }
    div.result .contact.etalage {
        background: #093655;
    }
    div.result .contact.etalage a {
        color: #fff!important;
    }
    div.result .contact.social {
        width: 24px;    
        height: 24px; 
        background-size: 20px 20px;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        filter: brightness(0) saturate(100%) invert(12%) sepia(20%) saturate(1516%) hue-rotate(150deg) brightness(95%) contrast(91%);
    }
    div.result .contact.social.facebook {
        background-image: url(/images/icons/facebook.svg);
    }
    div.result .contact.social.instagram {
        background-image: url(/images/icons/instagram.svg);
    }
    div.result .contact.social.linkedin {
        background-image: url(/images/icons/linkedin.svg);
    }
    div.result div.tags {
        position: absolute;
        left: 10px;
        top: 10px;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    div.result span.tag {
        background-color: rgba(255,255,255,0.5);
        color: black;
        border-radius: 20px;
        padding: 5px 10px;
        line-height: 1;
        font-size: .5em;
    }
    strong.title {
        white-space: nowrap;
        max-width: 70%;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
        font-family: "Bitter";
    }
    div.result div.image-wrapper {
        width: 150px;
        height: 150px;
        background-color: #999;
    }
    div.result img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .free {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 2px solid rgba(0,0,0,0.1);
    }
    .free .result {
        opacity: 0.45;
    }
    .free .result .contacts {
        display: none;
    }


@media (max-width: 900px) { 


        div.search-results-holder {
            flex-direction: column;
            padding-top: 40px;
        }
        div.result {
            width: 100%;
        }
        div.result div.image-wrapper {
            width: 70px;
            height: 70px;
            border-bottom-right-radius: 10px;
            overflow: hidden;
        }
        div.result div.info {
            width: calc(100% - 90px);
            padding-bottom: 15px;
            padding-top: 10px;
        }
        div.result .contacts {
            right: 0;
            bottom: auto;
            width: 100%;
            justify-content: left;
            font-size: .6em;
            position: static;
            margin-top: 10px;

            display: flex;
            flex-direction: row;
            align-items: flex-start;
            gap: 5px;
        }
        div.result .contacts.social {
            width: auto;
            right: 10px;
            bottom: auto;
            top: 0px;
            flex-direction: column;
            position: absolute;
        }
        div.result div.tags {
            display: none;
        }
        strong.title {
            margin-top: 5px;
            line-height: 1.2;
            max-width: 100%;
            white-space: wrap;
        }


}



