/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/**********************************************************
Menu mobile
**********************************************************/

#menu-menu-principal-1.awb-menu__main-ul_column .awb-menu__main-li {
    width: fit-content !important;
}

/**********************************************************
Footer
**********************************************************/

.fusion-tb-footer {
    z-index: 0;
    position: relative;
    overflow: hidden;
}

.fusion-tb-footer::before {
    content: '';
    width: 729px;
    height: 792px;
    position: absolute;
    top: 50%;
    right: 0;
    background-image: url(img/griffes-blanches.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: right;
    transform: translateY(-50%);
    z-index: 1;
    opacity: .05;
}

@media screen and (max-width: 767px) {
    .fusion-tb-footer::before {
        top: 30%;
        right: 0;
        background-size: 80%;
    }
}

.footer-link a {
    color: var(--awb-color1);
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: var(--awb-color6);
}

@media (max-width: 767px) {
    .mentions-links a {
        justify-content: center !important;
    }
}

.footer-tagline {
    font-size: 5rem !important;
}

/**********************************************************
Filigranes
**********************************************************/
.wm-lion {
    overflow: hidden !important;
}

.wm-lion::before {
    content: '';
    width: 930px;
    height: 932px;
    position: absolute;
    top: 70%;
    left: 0;
    background-image: url(img/filigrane_lion.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: left;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.5;
}

@media screen and (max-width: 767px) {
    .wm-lion.section-title::before {
        top: 120%;
        left: 0;
        background-size: 50%;
    }
}

@media screen and (max-width: 767px) {
    .wm-1970::before {
        top: 80%;
        left: 0;
        background-size: 70%;
    }
}

/* .wm-claws::before {
    content: '';
    width: 730px;
    height: 732px;
    position: absolute;
    top: 70%;
    right: 0;
    background-image: url(img/filigrane_lion.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: right;
    transform: translateY(-50%);
    z-index: 1;
    opacity: .5;
} */

.wm-1970 {
    overflow: hidden !important;
}

.wm-1970::before {
    content: '';
    width: 1130px;
    height: 362px;
    position: absolute;
    bottom: -7%;
    right: 0;
    background-image: url(img/filigrane_1970.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: right;
    /* transform: translateY(-50%); */
    z-index: 1;
    opacity: 0.3;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .wm-1970::before {
        bottom: -8%;
        right: -10%;
        background-size: 70%;
    }
}

@media screen and (max-width: 767px) {
    .wm-1970::before {
        bottom: -12%;
        right: 0;
        background-size: 34%;
    }
}

/**********************************************************
Forms
**********************************************************/

.fusion-form-form-wrapper .fusion-form-field .fusion-form-checkbox label:before {
    border: 1px solid var(--awb-color4) !important;
}

.fusion-form-form-wrapper .fusion-form-field .fusion-form-checkbox input:checked+label:after {
    background: var(--awb-color6) !important;
}

/**********************************************************
Cards
**********************************************************/

.card-news-main .categories p {
    display: flex;
    gap: 5px;
}

.card-news-main .categories a {
    background-color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    color: var(--awb-color8);
}

@media screen and (max-width: 767px) {
    .card-news-main .categories p {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }
}

.card-news-main .categories a:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.card-news-list .terms a {
    color: var(--awb-color8);
}

.card-news-list .month {
    display: inline-block;
    max-width: 5ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-news-list .title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

@media screen and (max-width: 1200px) {
.awb-swiper:not(.swiper-fade):not([data-slide-effect=swipe_vert]):not([data-slide-effect=slide_vert]) .swiper-wrapper:has(.card-news-main) {
        padding: 0 0 !important;
    }
}

.card-gallery {
    z-index: 0 !important;
    overflow: hidden;
}

.card-gallery .title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.card-gallery .title h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.card-gallery .category {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.card-gallery .category p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.card-gallery .fusion-image-element .fusion-imageframe::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.card-gallery .fusion-image-element {
    overflow: hidden !important;
}

.card-gallery .fusion-imageframe {
    transform: scale(1.00);
    transition: transform 0.5s ease;
}
.card-gallery:hover .fusion-imageframe {
    transform: scale(1.10);
}

/**********************************************************
Contenu
**********************************************************/

.txt-rotate-10 p {
    transform: rotate(-10deg);
}

.txt-rotate-5 p {
    transform: rotate(-5deg);
}

.txt-bg-white p {
    background-color: var(--awb-color1);
    width: fit-content;
    padding: 0 20px;
}

.txt-bg-red p {
    background-color: var(--awb-color6);
    width: fit-content;
    padding: 0 20px;
}

.txt-bg-blue p {
    background-color: var(--awb-color7);
    width: fit-content;
    padding: 0 20px;
}

.txt-bg-light-blue p {
    background-color: var(--awb-custom_color_1);
    width: fit-content;
    padding: 0 20px;
}

.txt-bg-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fusion-post-cards .fusion-filters {
    padding-bottom: 10px;
}

.fusion-post-cards .fusion-filters li {
    height: 30px;
}

.list-month-pdf ul {
    margin: 0;
    padding-inline-start: 10px;
}

.list-month-pdf ul li a {
    text-decoration: underline;
}

/**********************************************************
Espace Prive
**********************************************************/

.header-user-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--awb-color3);
    margin-bottom: 10px;
}

.header-user-info p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px !important;
}

.header-user-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.header-user-info img {
    width: 18px;
    height: 18px;
    margin-top: -3px;
}

#loginform input[type="submit"],
.password-reset-form input[type="submit"] {
    background-color: var(--awb-color6);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    padding: 10px 25px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-bottom: 7px !important;
}

#loginform input[type="submit"]:hover,
.password-reset-form input[type="submit"]:hover {
    background-color: var(--awb-color7);
}

#loginform .login-username label,
#loginform .login-password label {
    font-weight: 600;
}

#loginform .login-remember input[type="checkbox"] {
    margin-top: 0px !important;
}

.login-reset-password {
    color: var(--awb-color7);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.login-reset-password:hover {
    color: var(--awb-color6);
}

.success-notification,
.password-reset-success {
    background-color: #cadfba;
    padding: 5px 10px;
    color: #1c3b06;
}