/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* AS4 STYLES */
#search-filter-toggler-allergenes { margin-right: 3%; }
#search-filter-toggler-allergenes, #search-filter-toggler-filter {
    background-color: transparent;
    border: 0;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 22px;
    outline: 0;
    cursor: pointer;
}

#search-filter-toggler-allergenes:hover, #search-filter-toggler-filter:hover {
    color: #cbc9c5;
}

#ag-as4-container {
    align-items: stretch;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-height: 200px;
    padding: 20px 30px;
    position: fixed;
    transform: translateX(0);
    transition: .3s;
    width: 350px;
    z-index: 9999;
    top: 0;
    bottom: 0;
    right: 0;
}

.ag-btn-close-filtres-popin {
    position: absolute;
    top: 5px;
    right: 20px;
    z-index: 9;
}

#ag-modal-as4 {
    background: rgba(0, 0, 0, .75);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: block;
    outline: 0;
}
.ag-allergene-inversed {
    font-size: 14px;
    color: #af1931;
    display: block;
    padding: 10px 0;
    text-transform: initial;
}
.d-none {
    display: none !important;
}
/* END AS4 STYLES */

.justify-content-end {
    justify-content: end !important;
}
.d-flex {display: flex !important;}

.as4-loader-blur {
    top: 0;
    position: absolute;
    z-index: 9999;
}

@media (max-width: 767px) {

    #ag-as4-container {
        left: 0;
        width: 100%;
    }
}