[id] {
    scroll-margin-top: 3em;
}

.body-listing main .inner-wrap .content {
    grid-column: 1 /13;
}

.body-listing main .inner-wrap .content-header {
    grid-column: 1 /13;
    margin: 0;
}

.body-listing main .inner-wrap .content-header h1 {
    margin-bottom: revert;
}

h1, h2, h3, h4, h5 {
    line-height: 1.3;
}

.breadcrumbs {
    margin-bottom: var(--vertSpace-md);
}

.container {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 1.5rem;
    grid-row-gap: 1rem;
    margin-block-end: 2rem;
}

@media only screen and (max-width: 1300px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 900px) {
    .container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.container .blokken {
    flex: 0 calc(31%);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    word-break: break-word;
}

@media only screen and (max-width: 600px) {
    .container .blokken {
        min-width: 300px;
    }

    main .inner-wrap {
        padding: 0;
    }
}

.blokken-title {
    padding: var(--vertSpace-xsm);
    background-color: var(--freedomYellow);
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
}

.blokken-title.sub {
    margin-bottom: 2rem;
}

.blokken-details {
    display: flex;
    flex-direction: column;
    background-color: var(--lightGrey);
    height: 100%;
    padding: var(--vertSpace-xsm) 0;
}

.blokken-footer {
    background-color: var(--lightGrey);
    display: flex;
}

.blokken-footer .btn {
    margin-inline: var(--vertSpace-xsm);
    margin-block: 0 var(--vertSpace-xsm);
    flex-grow: 1;
}

.blokken-details h1 {
    margin: var(--vertSpace) 0 var(--vertSpace);
}

.blokken-details ul {
    margin-bottom: 0;
    flex-grow: 1;
}

.content .blokken li {
    margin-left: 0;
    margin-bottom: 0;
}

.blokken-details li a {
    display: flex;
    margin: 0 var(--vertSpace-xsm);
    padding: var(--vertSpace-xsm);
    border-bottom: 0;
    position: relative;
    font-weight: 700;
}

.blokken-details ul li:before {
    display: none;
}

.blokken-details li a:after {
    content: '›';
    background-image: none;
    animation: none;
    height: 0;
    width: inherit;
    position: absolute;
    top: calc(50% - 13px);
    right: var(--vertSpace-xsm);
    left: inherit;
    bottom: inherit;
}

.blokken-details li {
    border-bottom: 1px solid var(--grey);
}

.blokken-details li a {
    padding-inline-end: 2rem;
}

.blokken-details li a:hover {
    background-color: var(--lightGrey);
}

.blokken-title h2 {
    margin: 0;
}

.blokken-title h2 a {
    display: block;
}

.blokken-title.sub h2 {
    text-align: left;
    padding-left: 2rem;
}


.blokken-details.sub {
    background-color: unset;
    padding: 0;
}

.blokken-details.sub a {
    font-weight: 600;
}

.blokken-details.sub ul {
    display: grid;
    /*grid-template-rows: repeat(10, min-content);
    grid-auto-flow: column;*/
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    column-gap: 2rem;
}

@media only screen and (max-width: 600px) {
    .blokken-details.sub ul {
        grid-column: 1;
        grid-auto-flow: unset;
    }
}

.blokken-details.sub ul li {
    margin-left: 0;
    padding-bottom: 1rem;
}

.blokken-details.sub ul li:before {
    display: none;
}

.btn.btn-pink.btn-prev.sub {
    padding: 1rem;
    width: fit-content;
    padding-inline-start: 2rem;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.yellow {
    background: var(--freedomYellow);
    padding: 3rem 0;
    margin-bottom: -1rem;
}

.footer-bar.yellow {
    margin-bottom: 0;
}

.glitch.has-bg-yellow {
    background-color: var(--freedomYellow);
}

.glitch.glitch-wide-yellow {
    background-image: url("https://freedom.nl/theme/freedom/dist/images/glitch-wide-yellow.svg");
    background-repeat: repeat-x;
    height: 40px;
}

.top-content {
    margin-bottom: var(--vertSpace-sm);
    display: flex;
    flex-wrap: wrap;
}

.top-content form {
    width: auto;
    display: flex;
    justify-content: end;
    margin-left: auto;
    max-height: 36px;
}

button#button-zoek {
    padding-right: 21px;

}

.row.search {
    display: flex;
}

.search h1 {
    margin-top: 0;
}

article.search-result h2 {
    margin-bottom: 0;
}

.footer-bar.yellow .footerblock {
    color: black;
    font-size: 1rem;
    font-weight: 700;
}

.footer-bar.yellow .footerblock li.index-1 {
    color: black;
    text-transform: uppercase;
}

.footer-bar.yellow .footerblock li {
}

.footer-bar.yellow .footerblock li a {
    display: inline-flex;
}

.footer-bar.yellow .footerblock li a:before {
    content: '›';
    margin-inline-end: 6px;
}

.footer-bar.yellow .footerblock-menu4 li a {
    background-image: none;
    padding-inline-start: 0;
}

.faq-set {
    padding-left: 4rem;
    margin-bottom: 1rem;
}

.step ul,
.step p:last-of-type {
    margin-bottom: 0;
}

.searchresults .content-header h1 span {
    font-style: italic;
}

.blokken-details.sub .faq-answer ul {
    display: block;
    list-style: disc;
    margin: 0 0 var(--vertSpace-sm) 2rem;
}

.blokken-details.sub .faq-answer ul li {
    padding-bottom: 0;
}

/* Rating system on details*/

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 1rem 0 1rem 0;
}

.rating .like {
    margin-right: 5rem;
}

.rating .like, .rating .dislike {
    cursor: pointer;
}

.rating img {
    width: 50px;
}

img:hover {
    transition: all .2s ease-in-out;
    transform: scale(1.1);
}

.thumbs {
    display: flex;
}

.boltforms button {
    margin: 1rem 0 1rem 0;
}

.boltforms.message {
    display: none;
}

form#contact {
    max-width: 600px;
}

#contact .boltforms .mb-3 {
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 600px) {
    #contact .boltforms .mb-3 {
        flex-direction: column;
        align-items: flex-start;
    }
}

#contact .boltforms input[type='text'],
#contact .boltforms input[type='email'],
#contact .boltforms select,
#contact .boltforms textarea {
    margin-left: auto;
    width: 300px;
    border: 1px solid var(--black);
    box-shadow: none;
    background-color: white;
}

#contact .boltforms textarea {
    min-height: 100px;
}

@media only screen and (max-width: 600px) {
    #contact .boltforms input[type='text'],
    #contact .boltforms input[type='email'],
    #contact .boltforms select,
    #contact .boltforms textarea {
        max-width: unset;
        margin-left: unset;
        width: 100%;
        margin-bottom: 1rem;
    }
}
