#formfinder #navigation, #formfinder #content {
    display: flex;
    flex-wrap: wrap;
    margin: -0.5em;
}

#formfinder #navigation > article, #formfinder #content > article {
    flex: 1 1 calc(25% - 1em);
    box-sizing: border-box;
    padding: 0.5em;
    margin: 0.5em;
    border: 1px solid #ccc;
    border-radius: .25em;
}

#formfinder #content > article {
    max-width: 25%;
}

@media screen and (max-width: 1200px) {
    #formfinder #navigation > article, #formfinder #content > article {
        flex: 1 1 calc(33% - 1em);
    }
    
    #formfinder #content > article {
        max-width: 33%;
    }
}

@media screen and (max-width: 890px) {
    #formfinder #navigation > article, #formfinder #content > article {
        flex: 1 1 calc(50% - 1em);
    }
    
    #formfinder #content > article {
        max-width: 50%;
    }
}

@media screen and (max-width: 580px) {
    #formfinder #navigation > article, #formfinder #content > article {
        flex: 1 1 calc(100% - 1em);
    }
    
    #formfinder #content > article {
        max-width: 100%;
    }
}

#formfinder .category-select, #formfinder .searchfield {
    display: block;
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
    padding: 1em !important;
    margin-bottom: 1em !important;
}

#formfinder article.searchfield { 
    border: none !important;
    padding: 0 !important;
    margin-top: 1em;
}

#formfinder input.searchfield { 
    width: 100%;
    padding: 1em;
    text-align: center;
    font-size: 1em;
}

#formfinder .category-select.active {
    background-color: #ff8b00;
    color: white;
}

#formfinder article.category-select:hover, #formfinder article.searchfield:hover {
    cursor: pointer;
}

#formfinder article.single-entry img:hover {
    cursor: zoom-in;
}

#formfinder span {
    display: block;
}

#formfinder span.number, #formfinder span.bagsize {
    padding-bottom: .5em;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
    line-height: 1.5em;
}

#formfinder span.bagsize::before, #formfinder span.weight::before {
    content: '';
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    background-size: contain;
    margin-right: .5em;
    position: relative;
    top: .25em;
}

#formfinder span.bagsize::before {
    background-image: url('bag.png');
}

#formfinder span.weight::before {
    background-image: url('scale.png');
}

#formfinder .standard-badge {
    background: #ff8b00;
    color: white;
    width: fit-content;
    padding: 1em;
    border-radius: 1em;
    font-size: 0.8em;
    height: 1em;
    line-height: 0em;
    position: relative;
    z-index: 10;
    top: 0.5em;
    left: 0.5em;
    margin-bottom: -2em;
}

#formfinder .multiple-images-badge {
    text-align: right;
    height: 0;
}

#formfinder .multiple-images-badge i.icon--pictures {
    background: #ff8b00;
    color: white;
    padding: 1em;
    border-radius: 0.75em;
    font-size: 0.8em;
    line-height: 0em;
    position: relative;
    z-index: 10;
    top: -3em;
    right: 0.5em;
}

#formfinder #formfinder-lightbox {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9995;
    background: rgba(255,255,255,0.5);
}

#formfinder #formfinder-lightbox .formfinder-lightbox-content {
    display: table;
    width: 80%;
    height: 80%;
    top: 10%;
    position: absolute;
    left: 10%;
}

#formfinder #formfinder-lightbox .formfinder-lightbox-content div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#formfinder #formfinder-lightbox .formfinder-lightbox-content .previous-img span, #formfinder #formfinder-lightbox .formfinder-lightbox-content .next-img span {
    width: 5%;
    font-size: 5em;
}

#formfinder #formfinder-lightbox .formfinder-lightbox-content .previous-img span, #formfinder #formfinder-lightbox .formfinder-lightbox-content .next-img span {
    cursor: pointer;
    padding: .25em;
}

#formfinder #formfinder-lightbox .close {
    display: block;
    position: absolute;
    top: -2em;
    right: 0;
    font-size: 2em;
    font-weight: bold;
    background: rgb(102, 102, 102);
    border-radius: 1em;
    cursor: pointer;
    padding: 1em;
    padding-left: 1em;
    color: white;
    height: 2em;
    width: 2em;
    line-height: 0;
    padding-left: 0.7em;
    cursor: pointer;
    z-index: 9999;
}

.article-image {
  width: 100%;
}