/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 27 oct. 2015, 17:30:52
    Author     : Sammy Guergachi <sguergachi at gmail.com>
*/
.header{
    background-color: #111111;
    position: fixed;
    box-shadow: 5px 5px 7px black;
    z-index: 1000;
    width: 100%;
}

.header .relative{
    position: relative;
}

.header .logo-menu .logo{
    display: block;
    position: absolute;
    padding: 0 5px;
    line-height: 60px;
}

.header .login-zone{
    position: absolute;
    right: 0;
    top: 0;
}

.header .login-zone a{
    display: block;
    margin-top: 12px;
    width: auto;
    height: 40px;
    background-image: url('../img/icon-user.png');
    padding-left: 42px;
    background-repeat: no-repeat;
    line-height: 40px;
    color: white;
    transition: color 0.3s;
    transition: background 0.3s;
}

.header .login-zone a:hover{
    background-image: url('../img/icon-user-blue.png');
    text-decoration: none;
    transition: background 0.3s;
    transition: color 0.3s;
    color: #1ea6fb;
}

.header .logo-menu .logo img{
    max-height: 40px;
}

.header .content-menu .menu{
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0;
    display: block;
}

.header .content-menu .menu .menu-item{
    background-color: #143d56;
    display: inline-block;
    position: relative;
    margin: 0;
    transition: background 0.3s;
    height: 60px;
}

.header .content-menu .menu .menu-item a{
    font-family: Roboto;
    font-size: 18px;
    font-weight: normal;
    color: white;
    padding: 0 20px;
    display: block;
    text-decoration: none;
    line-height: 60px;
}

.header .content-menu .menu .menu-item span{
    vertical-align: middle;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: 50%;
    margin-right: 15px;
    width: 30px;
    height: 30px;
}

.header .content-menu .menu .menu-item span.icon-home{
    background-image: url('../img/icon-home.png');
}

.header .content-menu .menu .menu-item span.icon-news{
    background-image: url('../img/icon-news.png');
}

.header .content-menu .menu .menu-item span.icon-contact{
    background-image: url('../img/icon-contact.png');
}

.header .content-menu .menu .menu-item.active, .header .content-menu .menu .menu-item:hover{
    background-color: #1ea6fb;
    transition: background 0.3s;
}

.header .content-menu .menu .menu-item.active:after{
    background-image: url('../img/triangle_bleu.png');
    background-repeat: no-repeat;
    width: 40px;
    height: 29px;
    position: absolute;
    top: 96%;
    left: 40%;
    display: block;
    z-index: 1000;
}

#toggle-menu{
    background-color: #1ea6fb;
    font-size: 18px;
    padding: 17.5px 15px;
    color: white;
    border: 0;
    display: none;
}

@media screen and (max-width: 992px) {
    .header .content-menu .menu{
        display: none;
        transition: display 0.3s;
    }
    
    .header .content-menu .menu.open{
        display: block;
        transition: display 0.3s;
    }
    
    .header .content-menu .menu .menu-item{
        display: block;
        text-align: center;
        position: relative;
    }
    
    .header .content-menu .menu .menu-item.active{
        border-bottom: 2px solid black;
    }
    
    .header .content-menu .menu .menu-item.active:after{
        left: 20px;
    }
    
    .header .content-menu{
        text-align: center;
    }
    
    #toggle-menu{
        display: inline-block;
    }
}