/**
 * Allergens for Woocommerce CSS
 * Plugin URI:  https://13node.com/informatica/wordpress/allergens-for-woocommerce/
 * Version: 1.7
 * Author: Danilo Ulloa
 * Author URI: https://13node.com
 */

/* Accessibility - Screen Reader Only Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Allergens grid */
.allergens_container {
    width: 100%;
    margin: 0 auto;
}

.allergens_row {
    display: flex;
    flex-wrap: wrap;
}

.allergens_row [class^="colu"] {
    width: 25%;
    margin: 0.5rem 2%;
    text-align: center;
}

@media only screen and (min-width: 33.75em) {  /* 540px */
    .allergens_container {
        width: 80%;
    }
}

@media only screen and (min-width: 45em) {  /* 720px */
    .allergens_row [class^="colu"] {
        width: 21%;
    }
}

@media only screen and (min-width: 60em) { /* 960px */
    .allergens_container {
        width: 100%;
        max-width: 60rem;
    }
}
