li.filter-categories {
    margin-right: 30px;
}

li.active-categories {
    font-weight: bold;
}

.fancy-grid.-col-3 .fancy-grid__item:nth-child(3n + 2) {
    margin-top: 0px;
}

.fancy-grid.-col-2 .fancy-grid__item:nth-child(2n + 2) {
    margin-top: 0;
}

.ref-item {
    border-radius: 20px;
}

/* Style pour le popups des IGV */
.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 77, 77, .7);
    transition: all .4s;
    overflow-y: auto;
}

.modal_content {
    border-radius: 4px;
    position: relative;
    width: 90%;
    max-width: 90%;
    background: white;
    padding: 1.5em 2em;
    overflow-y: auto;
    max-height: 80vh;
}

.modal_close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: grey;
    text-decoration: none;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------
	COOKIE BANNER
---------------------------------------------------*/
.cookie-banner {
    flex: auto;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border: solid 2px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
}

.cookie-show {
    display: none;
}

p.text-cookie {
    margin-bottom: 20px;
    padding: 10px;
}

@media screen and (min-width: 992px) {
    .cookie-banner {
        width: 30%;
        bottom: 3em;
        right: 30px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .cookie-banner {
        width: 40%;
        bottom: 3em;
        right: 30px;
    }
}

@media screen and (min-width: 534px) and (max-width: 767px) {
    .cookie-banner {
        width: 90%;
        bottom: 3em;
        right: 30px;
    }
}

@media screen and (max-width: 533px) {
    .cookie-banner {
        width: 90%;
        bottom: 1em;
        left: 50%;
        transform: translate(-50%, 0%);
    }
}

/*--------------------------------------------------
	END COOKIE BANNER
---------------------------------------------------*/


/*--------------------------------------------------
	START ALERT FORM
---------------------------------------------------*/

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 40px;
}

/*--------------------------------------------------
	END ALERT FORM
---------------------------------------------------*/
