body {
    padding-top: 150px !important;
}
.container {
    display: flex;
    position: relative;
    width: 95%;
    flex-flow: column nowrap;
    background-color: white;
    padding: 5px;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 5px;
    min-width: 270px;
    max-width: 800px;
}
.container::before {
    content: '';
    z-index: -1;
    box-shadow: 0px 0px 50px -35px var(--gray_light), 0px 0px 10px -8px black;
    border-radius: inherit;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.searchcontainer {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
    width: 70%;
    min-width: 500px;
    transition-duration: 0s;
}

.searchcontainer .searchbar {
    width: 100%;
    border-radius: inherit;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    min-width: 270px;
}
.searchcontainer .container.searchbox {
    border-radius: 10px;
}

.searchcontainer .searchbar form {
    width: 100%;
    box-sizing: border-box;
    border-radius: inherit;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    background: var(--white);
    gap: 5px;
}

.searchcontainer .searchbar .divider {
    border-left: 2px solid var(--blue);
    height: 80%;
}

.searchcontainer .searchbar input[type="text"] {
    width: 100%;
    border: none;
    box-sizing: border-box;
    height: 3em;
    border-radius: 5px;
    padding-left: 10px;
    background: var(--gray_lightestttt);
}

.searchcontainer .searchbar input[type="text"]:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.searchcontainer .searchbar .icon {
    height: 100%;
    user-select: none;
    cursor: pointer;
}
.searchcontainer .searchbar label.button {
    height: 100%;
    width: 10%;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.searchcontainer .searchbar input[type="submit"] {
    width: 0px;
    height: 0px;
    padding: 0px;
    margin: 0px;
    border: none;
    cursor: pointer;
}
.searchcontainer .searchoptions {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 5px;
    justify-content: space-evenly;
    align-items: center;
}

.searchcontainer select {
    height: 3em;
    background: white;
    border: 2px solid var(--gray);
    border-radius: 5px;
    box-shadow: 2px 2px 15px -10px var(--gray);
}
.searchcontainer #searchbutton {
    background-color: var(--green);
    color: white;
    height: 3em;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    box-shadow: 2px 2px 15px -10px var(--gray);
    text-transform: uppercase;
}
.searchcontainer #searchbutton:hover {
    box-shadow: 0px 0px 5px 0px var(--green_light);
}
@media only screen and (max-width: 700px) {
    .searchcontainer {
        width: 100%;
        min-width: 200px;
    }
    .searchcontainer .searchbar form {
        flex-direction: column;
    }
    .container {
        width: 98%;
    }
    .result {
        min-width: unset;
    }
    div#back {
        display: none;
    }
}

.resultbox {
    display: flex;
    flex-flow: column;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
}
/* .resultbox.empty {
    background: var(--danger);
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 15px;
    border-radius: 5px;
    cursor: unset;
    user-select: unset;
    position: relative;
    transition-duration: 0s;
    max-width: 800px;
    width: 95%;
}
.resultbox.empty::after {
    content: "Nuuks gevonge...";
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
} */
.result.perfect {
    /* background-color: orange; */
}
.result:not(.result.perfect):first-of-type,
.result.perfect + .result:not(.result.perfect) {
    margin-top: 60px;
}
.result:not(.result.perfect):first-of-type::after,
.result.perfect + .result:not(.result.perfect)::after {
    content: "Bedoelde u misschien ... ?";
    position: absolute;
    top: -30px;
}

.result .lemmatitle {
    color: var(--gray);
    font-weight: bolder;
    font-size: 1.7em;
    padding: 5px;   
    padding-left: 15px;
}
.result .wrd {
    padding: 5px;
}
.result .wrdnum {
    font-size: 1em;
    font-weight: bold;
    margin-left: 3%;
    margin-right: 10px;
    color: var(--gray);
    float: left;
    text-align: right;
}
.result .bet {
    padding: 5px;
    padding-left: 10px;
}
.result .betnum {
    font-size: 1em;
    font-weight: bold;
    margin-left: 3%;
    color: var(--gray);
    float: left;
    text-align: right;
}
.result.afwachting,
.result.concept {
    display: flex !important;
    background-color: inherit;
    /* opacity: 0.5; */
    height: 3em;
    min-height: unset;
    justify-content: center;
}
.result.afwachting .lemmalink,
.result.concept .lemmalink{
    display: none;
}
.result.afwachting .lemmatitle,
.result.concept .lemmatitle {
    color: var(--gray_lightest);
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.result.afwachting::before,
.result.concept::before {
    box-shadow: unset;
}

.result a.lemmalink {
    position: absolute;
    bottom: 5px;
    right: 5px;
    justify-content: right;
    display: flex;
    padding: 5px;
    box-sizing: border-box;
    /* background: var(--gray_lightestttt); */
    border-radius: inherit;
}

.result a.lemmalink:visited {
    color: var(--purple);
}
.result a.lemmatitle:hover,
.result a.lemmalink:hover {
    color: var(--yellow);
}

.result a.lemmatitle:hover svg.button_edit {
    fill: var(--yellow);
}
.result svg.button_edit {
    height: 20px;
    fill: var(--gray_lightest);
    cursor: pointer;
}



.resultbox.empty + .notfound {
    display: flex;
}