/*
.global #container .wrap:after {
    content: '';
    display: block;
    background: url("../../uploads/bbd36e951b3a9e24cdf5748bd6b109759a1a45db/fa49f8ce8eba0be392e5201d1cebe470dd52b41a/speakers.jpg") top center no-repeat;
    background-size: contain;
    width: 100%;
    min-height: 510px;
    visibility: visible;
}
*/

/* -- logo en baniere en mobile -- */
/* ------------------------------------------------- */

#header {
    padding: 0;
    text-align: center;
}

#header .wrap {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#header #logo,
#header .logo {
    max-width: 330px;
    margin: 10px auto 0;
    box-sizing: border-box;
}

#header .title,
#header .subtitle,
#header #logo,
#header .logo,
.header-logo ,
.header-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.header-text {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    max-width: calc(100% - 330px);
}

#header .text {
    width: 52%;
}

#header .title,
#header .subtitle,
#header #logo,
#header .logo {
    margin: 0;
}

#header .title {
    font-size: 24px;
    margin-right: 5px;
}

#header .subtitle {
    margin: 0;
}

@media only screen and (max-width:800px) {
    #header .wrap {
        flex-direction: column;
    }

    #header .title, 
     #header .subtitle,
    .header-text ,
    .header-logo {
        flex-direction: row;
        max-width: none;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 99%;
    }
}

/*** logo à droite ***/
/**************************************************/
#header .wrap {
    flex-direction: row-reverse;
}

@media only screen and (max-width:1000px) {
    #header .wrap {
        flex-direction: column-reverse;
    }
}

@media only screen and (min-width:801px) {
    #header .title,
    #header .subtitle {
        justify-content: flex-start;
        margin: 0;
        text-align: left;
    }
}
/*** logo adetem ***/
/**************************************************/
#logo {
    padding: 5px 0;
    width: auto;
    max-height: 100px;
}

.header-logo {
    flex-wrap: wrap;
}

#header #logo,
#header .logo,
.header-logo {
    max-width: 300px;
}

.header-text {
    width: calc(100% - 300px);
}

.header-logo:before {
    content: 'En partenariat avec :';
    box-sizing: border-box;
    display: flex;
    width: 100%;
    justify-content: flex-start;
    color: #6e6d6d;
    font-weight: normal;
    font-size: medium;
    padding: 2px 0;
}

@media only screen and (min-width:451px) {
    #header .wrap {
        flex-direction: row-reverse;
    }

    .header-logo {
        flex-wrap: wrap;
    }

    #header #logo,
#header .logo,
    .header-logo {
        max-width: 300px;
    }

    .header-text {
        width: calc(100% - 300px);
    }

    .header-logo:before {
        justify-content: flex-start;
    }

    #header .subtitle,
    #header .title {
        justify-content: flex-start;
        text-align: left;
    }
}

@media only screen and (max-width:450px) {

    .header-logo:before {
        text-align: center;
        justify-content: center;
    }

    #header .title, 
     #header .subtitle,
    .header-text ,
    .header-logo {
        width: 99%;
        max-width: none;
    }

    #logo {
        width: 99%;
    }
}
