/*** Header ***/

.header-wrapper, header {
    width: 100%;
    /*height: 250px;*/
    /*position: fixed;*/
    background-color: #fff;
}

header .top-wrapper {
    padding-left: 0;
    padding-right: 0;
}

header .logo-baseline {
    margin-left: 10px;
    margin-top: 5px;
}

header .logo,
.logo-baseline {
    display: inline-block;
    vertical-align: middle;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

header .logo-baseline {
    font-family: 'Roboto';
    font-style: italic;
    font-size: 16px;
    color: #343535;
}


.sticky-header .logo img {
    height: 100%;
}


.pub {
    padding-top: 10px;
    overflow: hidden;
}

.social-media a {
    margin-right: 3px;
}

.link-right {
    padding-top: 5px;
    padding-bottom: 5px;
}

.link-right a {
    display: block;
    font-size: 16px;
}

.link-right a.login {
    background: url('../img/login.png') no-repeat right 10px center;
    border: 1px solid #efefef;
    color: #343535;
    padding: 5px 10px;
    margin-bottom: 5px;
}

.link-right a.profile {
    background: url('../img/login.png') no-repeat right 10px center;
    border: 1px solid #efefef;
    color: #343535;
    padding: 6px 10px;
    margin-bottom: 5px;
    display:block;
    width:185px;
    float:left;
}


.link-right a.logout {

    padding-left: 10px;
    padding-top:7px;
    float:right;
}

.link-right a.inscription {
    background: url('../img/newsletter.png') no-repeat right 10px center;
    border: 1px solid #efefef;
    color: #343535;
    padding: 5px 10px;
    margin-bottom: 5px;
    clear:both;
}

.link-right a.contact-nous {
    background-color: #ccbea1;
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    margin-bottom: 5px;
    text-align: center;
}

.link-right a.abonnez-vous {
    background-color: #1fc290;
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    text-align: center;
}

.registerview .link-right a.abonnez-vous {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}

.link-right .btn-search {
    display: none;
    cursor: pointer;
}

.nav-brand {
    padding: 10px 0;
}


/*** Sticky Header ***/

header.sticky-header {
    position: fixed;
    z-index: 999;
    margin-left: -10px;
    box-shadow: 0px 0px 10px #888888;
    height: 65px;
    animation: slide-down 0.7s;
    width: 1000px;
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

header.sticky-header .logo-baseline,
header.sticky-header .social-media,
header.sticky-header .pub,
header.sticky-header .inscription,
header.sticky-header .contact-nous,
header.sticky-header .abonnez-vous,
header.sticky-header .profile,
header.sticky-header .logout,
header.sticky-header .alert-danger,
header.sticky-header .recherche-avance {
    visibility: hidden;
    height: 0;
    display: none;
}

header.sticky-header #secondary-nav .nav-heading {
    position: absolute;
    top: -45px;
}

header.sticky-header #secondary-nav .panel-collapse {
    top: -15px;
}

header.sticky-header .logo {
    position: absolute;
    height: 66px;
    top: -55px;
    left: 70px;
    padding: 5px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-right: 1px solid #efefef;
    border-left: 1px solid #efefef;
}

header.sticky-header .row.border-bottom,
header.sticky-header .border-right,
header.sticky-header .border-left {
    border: 0;
}

header.sticky-header #main-menu {
    margin-left: 19px;
}

header.sticky-header .nav-brand {
    padding: 0;
    border: 0;
}

header.sticky-header .top-wrapper {
    width: 50%;
}

header.sticky-header .link-right .btn-search {
    position: absolute;
    display: block;
    padding: 15px;
/*    padding-right: 10px;*/
    top: 0;
    left: -177px;
    border-right: 1px solid #efefef;
    height: 55px;
    
}

header.sticky-header .link-right a.login {
    position: absolute;
    background-position: 5px center;
    padding: 0;
    border: 0;
    top: 0;
    left: -115px;
    border-right: 1px solid #efefef;
    height: 55px;
    width: 45px;
    color: transparent;
}

header.sticky-header .zone-recherche-haut {
    display: none;
    position: absolute;
    background: #ededed;
    left: 0;
    top: 55px;
    width: 1000px;
    padding: 0;
/*    margin-bottom: 10px;*/
 /*   margin-left: 10px; */
}
header.sticky-header .zone-recherche-haut .form-control {
    background-color: #ffffff;
    margin: 10px;
}
header.sticky-header .zone-recherche-haut .btn {
    margin-left: 10px;
    width: 115px;
}
header.sticky-header .navbar {
    padding-top: 5px;
}

header.sticky-header .navbar-toggle {
    margin-top: -5px;
    margin-left: 10px;
}
/*
.header-horizontal-menu{
    border-top: 1px solid #dedede;
    padding: 10px 10px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 2;
    background-color: white;
}

.header-horizontal-menu span{
    padding-right: 25px;
}

.drop-down{
    display: inline-block;
}

.drop-down:hover{
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.drop-down-content{
    display: none;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

ul.drop-down-content {
    list-style: none;
    padding: 10px;
    font-weight: normal;
    font-size: 12px;
}

.drop-down:hover .drop-down-content{
    display: block;
    position: absolute;
}

*/

.navbar {
    width: 35px;
    height: 40px;
    min-height: auto;
    margin-bottom: 0;
}

.navbar-toggle {
    display: block;
    border: none;
    background: transparent !important;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: -5px;
    padding-bottom: 0;
    padding: 0;
    font-size: 12px;
    color: #000;
}

.navbar-toggle:hover {
    background: transparent !important;
}

.navbar-toggle .icon-bar {
    background-color: #343535;
    width: 100%;
    height: 3px;
    transition: all 0.2s;
}

.navbar-toggle.collapsed .top-bar {
    width: 100%;
    position: static;
    transform: rotate(0);
}

.navbar-toggle.collapsed .middle-bar {
    opacity: 1;
}

.navbar-toggle.collapsed .bottom-bar {
    width: 100%;
    transform: rotate(0);
}

.navbar-toggle.collapsed .txt-menu {
    opacity: 1;
}

.navbar-toggle.collapsed {
    margin-right: 0px;
}

.navbar-toggle .top-bar {
    width: 125%;
    position: absolute;
    top: 10px;
    transform: rotate(45deg);
}

.navbar-toggle .middle-bar {
    opacity: 0;
}

.navbar-toggle .bottom-bar {
    width: 125%;
    transform: rotate(-45deg);
}

.navbar-toggle .txt-menu {
    opacity: 0;
}


.navbar-collapse {
    position: absolute;
    top: 40px;
    left: -20px;
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 100;
    width: 255px;
    background-color: #343535;
    padding: 0;
}

.navbar-collapse.collapse {
    display: none!important;
}

.navbar-nav {
    background-color: #343535;
    width: 100%;
}

.navbar-collapse.collapse.in {
    display: block !important;
}

.navbar-nav > li {
    display: block;
    /*float:none;*/
    width: 100%;
    border-bottom: 1px solid #fff;
}

.navbar-nav > li > a {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    padding: 10px;
}

.navbar-nav > li > a:hover {
    background-color: transparent;
    text-decoration: underline;
}

.red {
    background-color: #c92020;
}

.navbar-nav .dropdown-menu {
    position: relative;
    width: 100%;
    background-color: transparent;
    border: 0;
    border-top: 1px solid #fff;
}

.dropdown-menu>li>a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 25px;
}

.dropdown-menu>li:last-child>a {
    border-bottom: 0;
}

.dropdown-menu>li>a:hover {
    background-color: transparent;
    color: #fff;
}

.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
    background-color: transparent;
    border: 0;
}

.dropdown-menu>li>a {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    white-space: normal;
}

.dropdown-toggle {
    position: relative;
}

.nav>li>a.dropdown-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    width: 25px;
}

.dropdown-toggle,
.navbar-nav>li>a[aria-expanded=false] {
    background: url('../img/menu-close.jpg') right center no-repeat;
    transition: all 0.2s ease;
}

.dropdown-toggle:hover:after {
    background: url('../img/menu-open.jpg') right center no-repeat;
}

.navbar-nav>li>a[aria-expanded=true] {
    background: url('../img/menu-open.jpg') right center no-repeat;
}

.txt-menu {
    display: inline-block;
    margin: 5px 0 0 0;
}

.top {
/*    padding-top: 15px;*/
/*    height: 70px;*/
}
.top .col-sm-1, .top .col-sm-2, .top .col-sm-3, .top .col-sm-6 {
    padding-top: 10px;
}
.top .social-media {
    padding-bottom: 8px;
}
.top .social-media .flag{
    visibility: hidden;
}
.top .zone-recherche-haut{
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}
.form-inline{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.zone-recherche-haut .form-group {
    width: 86%;
    margin-right: 5px;
}

.zone-recherche-haut .form-control {
    width: 100%;
    background-color: #ededed;
    border-radius: 0;
    border: 0;
    font-size: 14px;
    color: #818181;
    height: 40px;
}

.zone-recherche-haut .form-control {
    border: 0;
    box-shadow: none;
}

.zone-recherche-haut .btn-black {
    font-weight: 700;
    width: 12%;
    background-color: #343535;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 6px 10px;
    height: 40px;
    margin-right: 5px;
}

a.recherche-avance,
.a:hover.recherche-avance {
    font-size: 13px;
    color: #343535;
    line-height: 14px;
    display: inline-block;
    text-align: right;
    /*margin-top: 6px;*/
}

/**** SECTEURS, REDIONS, PAYS, DATAS ****/
#secondary-nav {
	position: relative;
}
#secondary-nav.panel-group {
    margin-bottom: 0;
}

#secondary-nav.panel-group .panel {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#secondary-nav .nav-heading {
    position: absolute;
    top: 7px;
    right: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    z-index: 100;
    text-transform: uppercase;
}

#secondary-nav .panel-title {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    padding: 0;
    padding-right: 0px;
    margin-right: 0px;
    position: relative;
}

#secondary-nav .panel-title:after {
    content: '';
    background-color: #efefef;
    width: 1px;
    height: 18px;
    position: absolute;
    top: 0;
    right: -5px;
    z-index: -1;
}

#secondary-nav .panel-title:last-child:after {
    background-color: transparent;
}

#secondary-nav .panel-title a {
    color: #343535;
    padding: 0 10px;
}

#secondary-nav .panel-title a:hover {
    text-decoration: none;
    color: #fff;
}

#secondary-nav .panel-title a:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 175%;
    transform: scaleY(0.2);
    transform-origin: bottom center;
    z-index: -1;
    transition: transform 0.3s;
}

#secondary-nav .panel-title a.link1:after {
    background-color: #863866;
}

#secondary-nav .panel-title a.link2:after {
    background-color: #0085cf;
}

#secondary-nav .panel-title a.link3:after {
    background-color: #9d7565;
}

#secondary-nav .panel-title a.link4:after {
    background-color: #19aa87;
}

#secondary-nav .panel-title a.link5:after {
    background-color: #2a2723;
}

#secondary-nav .panel-title a:hover:after,
#secondary-nav .panel-title a[aria-expanded=true]:after {
    transform: scaleY(1);
}

#secondary-nav .panel-title a:hover:after,
#secondary-nav .panel-title a[aria-expanded=true] {
    color: #fff;
    text-decoration: none;
}
#secondary-nav .panel-collapse {
    position: absolute;
    z-index: 100;
    top: 35px;
    right: 20px;
    width: 320px;
}

.searchview #secondary-nav .panel-title a.link1:after {
    background-color: grey;
}
.searchview #secondary-nav .panel-title a.link2:after {
    background-color: grey;
}
.searchview #secondary-nav .panel-title a.link3:after {
    background-color: grey;
}

.searchview #secondary-nav .panel-title a.link4:after {
    background-color: grey;
}

.searchview .panel-title a.link1 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}
.searchview .panel-title a.link2 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}
.searchview .panel-title a.link3 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}

.searchview .panel-title a.link4 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}


.registerview #secondary-nav .panel-title a.link1:after {
    background-color: grey;
}
.registerview #secondary-nav .panel-title a.link2:after {
    background-color: grey;
}
.registerview #secondary-nav .panel-title a.link3:after {
    background-color: grey;
}

.registerview #secondary-nav .panel-title a.link4:after {
    background-color: grey;
}

.registerview .panel-title a.link1 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}
.registerview .panel-title a.link2 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}
.registerview .panel-title a.link3 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}

.registerview .panel-title a.link4 {
    pointer-events: none; /* Disables the button completely. Better than just cursor: default; */
    opacity: 0.7;
}

#secondary-nav .panel-body {
    margin-top: 10px;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0px 0px 15px #888888;
}

#secondary-nav .nouveau {
    color: #962a2a;
    font-weight: 700;
    text-transform: uppercase;
}

#secondary-nav .message {
    display: inline-block;
    vertical-align: top;
    width: 90%;
    margin-right: 20px;
}


#secondary-nav .panel-collapse .message {
    height:300px;
    overflow: scroll;

}

#secondary-nav .message p:last-child {
    margin-bottom: 0;
}

#secondary-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 5px;
    display: inline-block;
    vertical-align: top;
    width: 5%;
    background-color: #000;
    border-radius: 50%;
    float: right;
    font-family: 'Droid Sans';
    font-size: 25px;
    text-align: center;
    color: #fff;
    width: 35px;
    height: 35px;
    padding: 0px;
}

#secondary-nav .close-btn a {
    color: #fff;
    text-decoration: none;
}

/*** Footer ***/

footer {
    color: #fff;
    margin: 30px 0;
    float: left;
    width: 100%;    /* fix pour IE */
}

footer .logo-baseline {
    font-family: 'Roboto';
    font-style: italic;
    font-size: 15px;
    color: #efefef;
    padding-top: 40px;
    padding-right: 50px;
}

footer nav ul {
    list-style: none;
}

footer nav ul:first-child {
    margin: 5px 0 0 0;
}

footer nav ul li {
    list-style: none;
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
}

footer nav ul li:after {
    content: '-';
    color: white;
}

footer nav ul li:last-child:after {
    content: '';
}

footer nav ul li a {
    color: #fff;
    padding-right: 10px;
}

footer nav ul li a:hover {
    color: #fff;
}

footer h4 {
    font-family: 'Droid Sans';
    font-weight: 700;
    font-size: 16px;
    color: #962a2a;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    font-size: 13px;
    color: #343535;
    margin-bottom: 20px;
    background: url('../img/footer-bullet.png') no-repeat left 6px;
    padding-left: 10px;
}

footer ul li:last-child {
    margin-bottom: 5px;
}

footer ul li a,
footer ul li a:hover {
    color: #343535;
}

footer p {
    font-size: 15px;
    color: #343535;
    margin-bottom: 20px;
}

footer hr {
    border-color: #b9b3ae;
}

.foooter-top{
    width: 100%;
    text-align: center;
    background-color: #575569;
    padding-top: 10px;
    padding-bottom: 10px;
}

.top-foooter .col-md-4{
    display: flex;
    width: 100%;
}

.top-foooter .col-md-4 a img{
    margin: 20px 40px 20px 20px;
}

/***Client Space***/

h3.h3-client-space{
    font-family: 'Droid Sans';
    display: inline-block;
    background-color: #575569;
    color: #fff;
    font-weight: 700;
    padding: 8px 10px;
    text-align: center;
    font-size: 20px;
    padding-left: 25px;
    padding-right: 25px;
    margin: 0 0 20px;
}

.p-client-space {
    margin: 10px;
}

.border-yellow{
    border-top: 1px solid #575569;
    margin-left: 0;
    margin-right: 0;
}


.client-name {
    color: #ffffff;
    font-weight: 600;
    border: 2px solid;
    border-color: #9190a0;
    font-size: 14px;
    padding-left: 10px;
    padding-top: 10px;
}

.client-menu {
    padding: 0px 0px 0px 0px;
}

.client-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #242330;
    padding: 0px;
}

.client-menu ul li a:hover{
    background-color: #575569;
}

.client-menu li a {
    padding: 20px 20px;
}

.overlayloader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #242330;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;

}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.5); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.15s; /* 0.15 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}



/* The navigation links inside the overlay */
.overlay span {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay span {
        font-size: 20px
    }

}