/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.nav-justified > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
    font-weight: bold;
    color: #777;
    text-align: center;
    background-color: #e5e5e5; /* Old browsers */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
    background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
    background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
    background-image:         linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    background-repeat: repeat-x; /* Repeat the gradient */
    border-bottom: 1px solid #d5d5d5;
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
    background-color: #ddd;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
    box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
    border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
    border-bottom: 0;
    border-radius: 0 0 5px 5px;
}

.nav .menu-actif {
    background-color: #A21119;
    color: white;
    font-weight: bold;
}

@media (min-width: 768px) {
    .nav-justified {
        max-height: 52px;
    }
    .nav-justified > li > a {
        border-right: 1px solid #d5d5d5;
        border-left: 1px solid #fff;
    }
    .nav-justified > li:first-child > a {
        border-left: 0;
        border-radius: 5px 0 0 5px;
    }
    .nav-justified > li:last-child > a {
        border-right: 0;
        border-radius: 0 5px 5px 0;
    }
}

/* Responsive: Portrait tablets and up */

@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .masthead,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }
}



/* ===========================================================*/
/* ============== MENU =================*/

@media (min-width: 1140px) {
    .navbar-nav {
        float: left;
        margin: 0px;
    }


    .menu-offre {
        margin-top: 10px;
        margin-left: 20em;
    }

    .menu-offre a.navbar-brand {
        padding-top: 8px !important;
        padding-bottom: 5px !important;
        font-weight: bolder;
        font-size: x-large;
        color: #A21119 !important;
    }
}

@media (min-width:809px) and (max-width:1139px) {
    .navbar-nav {
        float: left;
        margin: 0px;
    }

    .menu-offre {
        margin-top: 5px;
        margin-left: 15em;
    }

    .menu-offre a.navbar-brand {
        font-weight: bolder;
        font-size: large;
        color: red !important;
    }
}


@media  (min-width:769px) and (max-width: 809px) {
    .navbar-nav {
        float: left;
        margin: 0px;
    }

    .menu-offre {
        margin-top: 5px;
        margin-left: 0em;
    }

    .menu-offre a.navbar-brand {
        font-weight: bolder;
        font-size: large;
        color: red !important;
    }
}


.menu-offre .navbar-default .navbar-nav>li>a  {
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 8px !important;
    padding-bottom: 5px !important;;
}


.menu-offre ul.nav-tools {
    width: 170px !important;
    text-wrap: none !important;
    float: right !important;
}

.menu-offre ul.nav-tools > li {
    margin-right: 5px;
    min-width: 50px;
}

.menu-offre .navbar-nav > li {
    margin-right: 5px;
    min-width: 200px;
}

.menu-offre .navbar-right > li {
    width: 130px;
}


.menu-offre li.disconnect  a {
    background-color: red !important;
    width: 50px;
}


.menu-offre #navbar {
    /* border-color: #e7e7e7; */
    background-color: #EEEEEE;
    border: none;
}

.menu-offre .navbar-default {
    background-color: #EEEEEE;
    border: none !important;
}

.menu-offre .navbar-nav > li > a {
    background-color: #AEADAD !important;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.menu-offre .navbar-nav > li.menu-actif, .menu-offre .navbar-nav > li.menu-actif  > a{
    background-color: #A21119 !important;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    white-space: nowrap;
    padding-right: 5px !important;
}


/*
.menu-offre .navbar-nav > li.active>a, .menu-offre .navbar-nav > li.active>a:focus, .menu-offre .navbar-nav > li.active>a:hover {
    background-color: #A21119 !important;
    color: white;
}

.menu-offre navbar-nav .menu-actif  a {
    background-color: #A21119;
    color: white;
    font-weight: bold;
}
*/
