/*
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
*/
/* Dark blue : #1d242d
 * Broken white : #ede6db */

/* -------------- Lottie ----------- 

.fusion-lottie svg {
    height: 400px !important;
    margin-bottom: -120px !important;
}
*/
/* -------------- HEADER ----------- */

.fusion-logo a {
    width: 150px !important;
}

.fusion-logo,
.fusion-standard-logo {
    height: 150px !important;
}

.fusion-main-menu {
    margin-top: 35px;
}

.fusion-secondary-header a:hover {
    color: #1d242d !important;
}

/* ----- FULL WIDTH SLIDER */
/*html.avada-is-100-percent-template #main.width-100 {
   *padding-left: 0px !important;
    padding-right: 0px !important
}*/


/* --------- MENU LANGUES ------- */
.fusion-main-menu .menu-item:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-main-menu .menu-item:last-child>div {
    margin: 0 !important;
}

/* ----------- BUTTON -------- */
.add-margin {
    margin-top: 2em;
    margin-bottom: 2em;
}

.add-shadow {
    box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.8);
}

/* ----------- General -------- */
#main {
    padding-top: 0px !important;
}

.center-text {
    text-align: center;
}

#toTop {
    background-color: #ede6db;
    border: 1px solid #1d242d;
    right: 30px !important;
}

#toTop:before {
    color: #1d242d;
}

/*------- MUSICIENS -------- */

/* Text */
.musicians .fusion-column-content-centered {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.musicians:hover .fusion-column-content-centered {
    opacity: 1;
}

/* Background  */
/* https://stackoverflow.com/questions/19808764/transition-for-background-image-in-firefox/19818268#19818268 */
.musicians>div {
    position: relative;
}

.musicians>div:before,
.musicians>div:after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 1;
    background-size: cover;
}

.musicians>div:before {
    background-image: url();
    z-index: -1;
    transition: opacity 0.5s ease-in-out;
    background-position: center top;
}

.musicians>div:after {
    background-image: url();
    z-index: -2;
}

.musicians>div:hover:before {
    opacity: 0;
}

/*------------ MODAL -------- */
.close {
    color: #ede6db !important;
    opacity: 1 !important;
}

.close:hover {
    color: #ffcb69 !important;
}

/* -------------- SINGLE EVENT --------*/
.event-content {
    width: 50%;
}

#news-container .fusion-column-wrapper.fusion-flex-column-wrapper-legacy,
#news-container .fusion-column-content-centered {
    min-height: 0 !important;
}

/* ----------- FORMS -------- */
/* ----------- Newsletter -------- */
#newsletter-form {
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: auto;
    margin-top: 2em;
    margin-bottom: 2em;
}

#newsletter-email {
    width: 70%;
    margin-right: 1em;
}

#newsletter-email input {
    background-color: #ede6db !important;
    color: #1d242d !important;
}

#newsletter-email input::placeholder {
    color: #1d242d;
}

#newsletter-form label {
    color: #ede6db;
}

#newsletter-submit input[type="submit"] {
    height: 3.5em;
    background: #ede6db !important;
    color: #1d242d !important;
}

/* ----------- Contact -------- */
#contact-form {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

#contact-submit input[type="submit"] {
    width: 100%;
}

#contact-form textarea,
#contact-form input[type="email"],
#contact-form input[type="text"] {
    background-color: #ede6db !important;
    color: #1d242d;
}

#contact-form label {
    color: #ede6db;
}

#contact-submit input[type="submit"] {
    background: #ede6db !important;
    color: #1d242d !important;
    width: 100%;
    border: solid 1px #1d242d !important;
}

/* ----------- Image color -------- */
.fusion-imageframe.color {
    filter: saturate(100%);
}

/* ----------- Mobile menu -------- */
.fusion-mobile-nav-holder>ul>li.fusion-mobile-nav-item>a,
.fusion-mobile-nav-item {
    font-size: 1em !important;
}

/* ----------- REGLAGES Tablet ----------- */
@media only screen and (max-width: 900px) {
    .em-location-map-container {
        height: 350px !important;
    }

    #event-left {
        width: 100%;
        order: 1
    }

    #event-right {
        margin: auto;
        width: 90%;
        order: 2
    }

    /* ----------- Newsletter -------- */
    #newsletter-form {
        width: 70%;
    }
}

/* ------- MOBILE OPTIONS ------- */
@media only screen and (max-width: 870px) {
    .fusion-lottie svg {
        margin-top: -120px !important;
    }
}

/* ------- MOBILE OPTIONS ------- */
@media only screen and (max-width: 570px) {
    html.avada-is-100-percent-template #main.width-100 {
        padding-top: 10px;
    }

    .fusion-person .person-image-container {
        max-width: 50% !important;
    }

    .fusion-person-center .person-content {
        margin-top: 10px !important;
    }

    .fusion-person-icon-bottom .fusion-social-networks {
        margin-top: 20px !important;
    }

    #newsletter-form {
        width: 100%;
    }

    #contact-form {
        width: 100%;
    }

    .button-xlarge {
        padding: 12px 25px !important;
        line-height: 17px !important;
        font-size: 16px !important;
    }

    .mobile-margin-bottom {
        margin-bottom: 3em !important;
    }

    .personne .fusion-button-wrapper {
        width: 80%;
        margin: auto;
    }

    .center-mobile {
        text-align: center !important;
    }

    /* -------------- SINGLE EVENT --------*/
    .em-location-map-container {
        height: 250px !important;
    }

    #event-right {
        width: 100%;
    }

    /* ----------- Newsletter -------- */
    #newsletter-form {
        display: flex;
        flex-direction: column;
    }

    #newsletter-email {
        width: 100%;
        margin-right: 0;
    }

    #newsletter-submit {
        padding-top: 20px;
    }

    #newsletter-submit input {
        width: 100%;
    }

    /* --------- MENU LANGUES ------- */
    .fusion-menu .fusion-mobile-nav-item:last-child li {
        display: inline;
    }
}