/*
==========================================================
LIBURU
header.css
Gestion du header
==========================================================
*/


/******************************************************
 HEADER GLOBAL
******************************************************/
header
{
    width:100%;
    background:#ffffff;
    border-bottom:1px solid #eeeeee;
}

/******************************************************
 CONTENEUR HEADER
******************************************************/
.header
{
    width:100%;
    height:75px;
    padding:0 30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/******************************************************
 LOGO
******************************************************/
.header_logo a
{
    font-size:28px;
    font-weight:700;
    color:#667eea;
    letter-spacing:1px;
}

.header_logo a:hover
{
    opacity:.85;
}

.header_logo{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.header_logo .logo{
    font-size:28px;
    font-weight:700;
    color:#667eea;
    letter-spacing:1px;
    line-height:1;
    text-decoration:none;
}

.header_logo .slogan{
    font-size:12px;
    color:#777;
    font-style:italic;
    margin-top:3px;
    letter-spacing:0.4px;
}

/******************************************************
 NAVIGATION DATE
******************************************************/
.header_navigation
{
    display:flex;
    align-items:center;
    gap:15px;
}

/******************************************************
 DATE
******************************************************/
.date_selectionnee
{
    min-width:180px;
    text-align:center;
    font-size:20px;
    font-weight:600;
    color:#333;
}

.lien_aujourd_hui
{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color:#667eea;
    cursor: pointer;
    text-decoration: none;
}

.lien_aujourd_hui:hover
{
    text-decoration: underline;
}

/******************************************************
 FLECHES
******************************************************/
.nav_jour
{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#f1f3ff;
    color:#667eea;
    font-size:22px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
}

.nav_jour:hover
{
    background:#667eea;
    color:white;
}

/******************************************************
 UTILISATEUR
******************************************************/
.header_utilisateur
{
    display:flex;
    align-items:center;
}

.header_utilisateur a,
.header_utilisateur button
{
    padding:10px 18px;
    border-radius:12px;
    font-size:14px;
    font-weight:500;
    font-family:inherit;
    border:none;
    cursor:pointer;
    transition:.2s;
}

.connexion
{
    background:#667eea;
    color:white;
}

.connexion:hover
{
    background:#5568d3;
}

/* Inscription */
.inscription
{
    background:#f1f3ff;
    color:#667eea;
}

.inscription:hover
{
    background:#e4e7ff;
}


/* Mon compte */
.profil
{
    background:#f1f3ff;
    color:#667eea;
}

.profil:hover
{
    background:#e4e7ff;
}

/* ==================================================
   BOUTON + CONTACT
================================================== */
.contacts
{
    background:#eefaf3;
    color:#69b98b;
}

.contacts:hover
{
    background:#e2f5ea;
}

/* ==================================================
   BOUTON + EVENT
================================================== */
.creer_event
{
    background:#e8f7ef;
    color:#4ca875;
}

.creer_event:hover
{
    background:#d7f0e2;
}

/* ==================================================
   BOUTON + TASKS
================================================== */
.creer_task
{
    background:#dff2e7;
    color:#37885d;
}

.creer_task:hover
{
    background:#cce8d8;
}

/******************************************************
 CONNEXION
******************************************************/
.connexion
{
    background:#667eea;
    color:white;
}

.connexion:hover
{
    background:#5568d3;
}

/******************************************************
 PROFIL
******************************************************/
.profil
{
    background:#f1f3ff;
    color:#667eea;
}

.profil:hover
{
    background:#e4e7ff;
}

.menu_photo
{
    background:#fce8ef;
    color:#d47fa0;
    cursor:pointer;
}

.menu_photo:hover
{
    background:#f8d8e3;
}

.form_deconnexion
{
	display:inline;
	margin:0;
	padding:0;
}

.form_deconnexion .deconnexion
{
	background:none;
	border:none;
	padding:0;
	margin:0;
	font:inherit;
	color:inherit;
	cursor:pointer;
}

/******************************************************
 TABLETTE
******************************************************/
@media(max-width:1000px)
{
    .header
    {
        height:auto;
        min-height:75px;
        padding:12px 20px;
        flex-wrap:wrap;
        gap:12px;
    }

    /* ======================================================
    LOGO
    ====================================================== */
    .header_logo
    {
        flex:1 1 auto;
        min-width:0;
    }

    /* ======================================================
    UTILISATEUR
    ====================================================== */
    .header_utilisateur
    {
        display:flex;
        flex-wrap:wrap;
        justify-content:flex-end;
        gap:6px;
        max-width:100%;
    }

    /* ======================================================
    BOUTONS
    ====================================================== */
    .header_utilisateur a,
    .header_utilisateur button
    {
        padding:8px 12px;
        font-size:13px;
        white-space:nowrap;
    }

    /* ======================================================
    NAVIGATION
    ====================================================== */
    .header_navigation
    {
        flex:1 1 100%;
        justify-content:center;
        gap:10px;
    }

    .date_selectionnee
    {
        min-width:140px;
        font-size:17px;
    }
}

/******************************************************
 MOBILE
******************************************************/
@media(max-width:700px)
{
    /* ======================================================
    HEADER
    ====================================================== */
    .header
    {
        height:auto;
        min-height:65px;
        padding: 12px 15px;
        display:flex;
        flex-wrap:wrap;
        gap:12px;
    }

    /* ======================================================
    LOGO
    ====================================================== */
    .header_logo
    {
        order:1;
        flex:1 1 auto;
        min-width:0;
    }

    .header_logo .logo
    {
        font-size:24px;
    }

    .header_logo .slogan
    {
        font-size:11px;
    }

    /* ======================================================
    UTILISATEUR
    ====================================================== */
    .header_utilisateur
    {
        order:2;
        display:flex;
        flex-wrap:wrap;
        justify-content:flex-end;
        gap:6px;
        flex:0 1 auto;
        max-width:100%;
    }

    /* ======================================================
    BOUTONS UTILISATEUR
    ====================================================== */
    .header_utilisateur a,
    .header_utilisateur button
    {
        padding: 8px 11px;
        font-size:13px;
        border-radius:10px;
        white-space:nowrap;
    }

    /* ======================================================
    NAVIGATION DATE
    ====================================================== */
    .header_navigation
    {
        order:3;
        width:100%;
        display:flex;
        justify-content:center;
        gap:10px;
        flex-wrap:nowrap;
    }

    /* ======================================================
    DATE
    ====================================================== */
    .date_selectionnee
    {
        min-width:0;
        flex:1 1 auto;
        font-size:16px;
        text-align:center;
    }

    /* ======================================================
    FLECHES
    ====================================================== */
    .nav_jour
    {
        width:36px;
        height:36px;
        min-width:36px;
        font-size:20px;
    }
}

/******************************************************
 PETITS MOBILES
******************************************************/
@media(max-width:400px)
{
    .header
    {
        padding:10px 10px;
        gap:10px;
    }

    .header_logo .logo
    {
        font-size:22px;
    }

    .header_logo .slogan
    {
        font-size:10px;
    }

    .header_utilisateur
    {
        gap:5px;
    }

    .header_utilisateur a,
    .header_utilisateur button
    {
        padding:7px 9px;
        font-size:12px;
    }

    .header_navigation
    {
        gap:7px;
    }

    .date_selectionnee
    {
        font-size:15px;
    }
}