header {
    height: 145px;
    width: 100%;
    border-bottom: 2px solid white;
    background-color: #780028;
}

header:after {
    z-index: 1;
    content: '';
    position: absolute;
    top: 177px;
    left: 0;
    right: 0;
    height: calc(100% - 145px);
    background-color: rgba(255, 255, 255, 0);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    pointer-events: none;
}

header.menu-opened:after {
    background-color: rgba(255, 255, 255, 0.6);
}

.container {
    display: block;
    margin: 0 auto;
    width: 1200px;
    max-width: 100%;
    height: 100%;
}

a {
    color: black;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

a.nolink {
    color: inherit;
    text-decoration: none;
}
a.nolink:hover {
    color: #fcca12;
}

a.link-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid white;
    background-color: #780028;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}
a.link-btn.lnksingle{
	padding: 5px 15px;
	font-size: 15px;
}
a.link-btn:hover {
    border-color: #780028;
    background-color: white;
    color: #780028;
}

a.link-btn.reversed {
    background-color: white;
    color: #780028;
}
a.link-btn.reversed:hover {
    border-color: white;
    background-color: #780028;
    color: white;
}

a.link-btn.yellow {
    background-color: #fcca12;
    color: white;
}
a.link-btn.yellow:hover {
    border-color: #fcca12;
    background-color: white;
    color: #fcca12;
}

#lnkheaderextranet{
	border: 1px solid rgba(255, 255, 255, 0.3);
	display: inline-block;
	width: 100%;
	padding: 8px 87px;
	margin-right: 0;
	margin-bottom: 2px;
	font-size: 15px;
	text-transform: none;
	color: rgba(255, 255, 255, 0.7);
}

#lnkheaderextranet:hover{
	color: rgba(255, 255, 255, 1);
	border: 1px solid rgba(255, 255, 255, 1);
}
.lnkextranet{
	width: 90%;
	margin: 0 auto;
	background-color: #ececec!important;
	padding: 0 5%;
}
#lnkheaderextranetmob{
	border: 1px solid #780028;
	text-transform: none;
	margin-bottom: 10px;
	padding: 8px;
}

header .container {
    position: relative;
    display: flex;
    height: 100%;
}

header .logo-container {
    display: flex;
}

header .logo-container a {
    margin: auto;
}

header .logo-container i {
    display: none;
}

header .menu-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 15px;
}

header .menu-container a {
    color: white;
    text-decoration: none;
}

header .menu-top {
    display: flex;
    padding-top: 15px;
    text-transform: uppercase;
}

header .menu-top a {
    margin-right: 40px;
}

.single-post header .menu-top {
    position: relative;
}

.single-post header .menu-top a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -127px;
    padding: 15px;
    height: 100%;
    background-color: white;
    color: #780028;
}

header .menu-top label {
    position: relative;
    color: white;
}

header .menu-top .menu-bar-responsive {
    display: none;
}

header .menu-top label:after {
    content: '\f002';
    position: absolute;
    top: 0;
    right: 0;
    font-family: 'FontAwesome';
    color: white;
}

header .menu-top label input {
    padding: 5px 0;
    padding-right: 20px;
    border: none;
    border-bottom: 1px solid white;
    background-color: transparent;
    color: white;
	margin-top: -10px;
}

header .menu-top label input:focus {
    outline: none;
}

header .menu-top label span {
    display: none;
}

header .menu-top label input:not(:focus):not(:valid) + span {
    position: absolute;
    top: 0;
    left: 0;
    display: inline;
    pointer-events: none;
}
#searchform input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
  text-transform: uppercase;
  font-size: 15px;
}
#searchform input::-moz-placeholder { /* Firefox 19+ */
  color: white;
  text-transform: uppercase;
  font-size: 15px;

}
#searchform input:-ms-input-placeholder { /* IE 10+ */
  color: white;
  text-transform: uppercase;
  font-size: 15px;

}
#searchform input:-moz-placeholder { /* Firefox 18- */
  color: white;
  text-transform: uppercase;
  font-size: 15px;

}
header .menu-bar  {
    z-index: 10;
    display: flex;
    margin-top: auto;
    align-self: flex-end;
    align-items: flex-end;
}

header .menu-bar nav > ul {
    display: flex;
    margin: 0;
    padding: 0;
}

header .menu-bar nav > ul > li {
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}
header .menu-bar nav > ul > li:hover,
header .menu-bar nav > ul > li.current-page-ancestor {
    background-color: white;
}

header .menu-bar nav > ul > li:hover a,
header .menu-bar nav > ul > li.current-page-ancestor a {
    color: #780028;
}

header .menu-bar nav > ul > li:hover li > a:hover {
    color: #fcca12;
}

header .menu-bar nav ul.menu-primary > li > a {
    padding: 20px 15px;
    display: block;
	letter-spacing: 0.5px;
}

header .menu-bar nav ul.menu-primary > li + li a {
    position: relative;
}

header .menu-bar nav ul.menu-primary > li + li a:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    margin: auto;
    width: 1px;
    height: 15px;
    background-color: white;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
header .menu-bar nav ul.menu-primary > li + li:hover a:before,
header .menu-bar nav ul.menu-primary > li + li.current-page-ancestor a:before {
    opacity: 0;
}

header .menu-bar nav ul.menu-primary > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-wrap: wrap;
    padding: 30px 25px;
    width: calc(100% - 50px);
    background-color: white;
    font-weight: 700;
    font-size: 20px;
}
header .menu-bar nav ul.menu-primary > li:hover > .sub-menu {
    display: flex;
    z-index: 2;
    /*box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.3);*/
    box-shadow: 0 12px 8px 5px rgba(0, 0, 0, 0.3);
}

header .menu-bar nav ul.menu-primary > li > .sub-menu li {
    position: relative;
    margin-bottom: 20px;
    width: 50%;
}
header .menu-bar nav ul.menu-primary > li > .sub-menu li:nth-child(even) {
    padding-left: 30px;
    width: calc(50% - 30px);
}

header .menu-bar nav ul.menu-primary > li > .sub-menu > li:nth-child(odd):before {
    content: '';
    position: absolute;
    right: 0;
    width: 1px;
    background-color: #54001c;
    height: 200%;
}

header .menu-bar nav ul.menu-primary > li > .sub-menu .menu-item-has-children:nth-child(odd):before {
    display: none;
}

header .menu-bar nav ul.menu-primary > li > .sub-menu .menu-item-has-children li {
    padding: 0;
    width: 50%;
    font-weight: 400;
    font-size: 15px;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu {
    padding-bottom: 0;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li {
    padding: 0;
    width: 50%;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li > a {
    display: block;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li .sub-menu {
    display: inline-block;
    vertical-align: top;
    margin-top: 20px;
    padding: 0;
    width: calc(100% - 255px);
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li .prod-img {
    position: relative;
    top: -20px;
    right: 0;
    display: inline-block;
    width: 245px;
    height: 250px;
    background-size: cover;
    background-position: center;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li .prod-img .img-txt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    width: 80%;
    border: none;
    font-size: 13px;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li .prod-img .img-txt:hover {
    color: #780028;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li .sub-menu li {
    width: 100%;
    margin-bottom: 10px;
    text-transform: initial;
}

header .menu-bar nav ul.menu-primary .produits > .sub-menu > li .sub-menu li:before {
    content: '• ';
    color: #54001c;
}

header .menu-bar nav ul.menu-right > li {
    display: flex;
    /*flex-direction: column;*/
    /*align-items: center;
    justify-content: space-between;*/
    /*padding: 22.5px 30px;*/
    height: 50px;
    background-color: #54001c;
}
header .menu-bar nav ul.menu-right > li {
  width: 100%;
  height: 100%;
}
header .menu-bar nav ul.menu-right > li:hover,
header .menu-bar nav ul.menu-right > li.current-page-ancestor,
header .menu-bar nav ul.menu-right > li.current-menu-item {
    background-color: white;
    color: #54001c;
}

header .menu-bar nav ul.menu-right > li.current-page-ancestor a,
header .menu-bar nav ul.menu-right > li.current-page-ancestor:before,
header .menu-bar nav ul.menu-right > li.current-menu-item a,
header .menu-bar nav ul.menu-right > li.current-menu-item:before {
    color: #780028;
}

header .menu-bar nav ul.menu-right > li:nth-child(1) > a, header .menu-bar nav ul.menu-right > li:nth-child(2) > a {
  position: relative;
  padding: 15px 32.5px;
  width: 100%;
  height: 100%;
}
header .menu-bar nav ul.menu-right > li:nth-child(1) > a:after {
    z-index: 1;
    content: '';
    position: absolute;
    bottom: 14%;
    right: -1px;
    height: 70px;
    width: 1px;
    background-color: white;
}
header .menu-bar nav ul.menu-right > li:nth-child(1):hover > a:after,
header .menu-bar nav ul.menu-right > li.current-page-ancestor:nth-child(1) > a:after {
    opacity: 0;
}

header .menu-bar nav ul.menu-right > li > a:before {
    content: '\f007';
    font-family: 'FontAwesome';
    font-size: 20px;
    display: block;
    text-align: center;
}
header .menu-bar nav ul.menu-right > li:hover > a:before {
  color: #780028;
}
header .menu-bar nav ul.menu-right > li >  a > span{
    display: block;
    margin: 8px auto;
    text-align: center;
}
header .menu-bar nav ul.menu-right > li:nth-child(2)>a:before {
    content: '\f0f2';
}

header .menu-bar nav ul.menu-right > li:hover:before {
    color: #54001c;
}

header .menu-bar nav ul li {
    list-style: none;
}

header .menu-bar nav ul li .toggle {
    display: none;
}

header .menu-bar nav ul.menu-right > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-wrap: wrap;
    margin-top: -1px;
    padding: 30px 25px;
    width: calc(100% - 50px);
    background-color: white;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.3);
}
header .menu-bar nav ul.menu-right > li:hover > .sub-menu {
    display: flex;
    z-index: 2;
    padding: 0 2.5px;
    width: calc(100% - 5px);
}

header .menu-bar nav ul.menu-right > li:hover > .sub-menu > li {
    position: relative;
    margin: 5px 2.5px;
    width: calc(50% - 5px);
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header .menu-bar nav ul.menu-right > li:hover > .sub-menu > li:hover:before {
    background-color: rgba(255, 255, 255, 0.8);
}

header .menu-bar nav ul.menu-right > li:hover > .sub-menu > li:hover a > span {
    color: #780028;
}

header .menu-bar nav ul.menu-right > li:hover > .sub-menu > li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

header .menu-bar nav ul.menu-right > li:nth-child(1) > .sub-menu > li:nth-child(1) {
    background-image: url('../img/menu-particulier-1.jpg');
}

header .menu-bar nav ul.menu-right > li:nth-child(1) > .sub-menu > li:nth-child(2) {
    background-image: url('../img/menu-particulier-2.jpg');
}

header .menu-bar nav ul.menu-right > li:nth-child(2) > .sub-menu > li:nth-child(1) {
    background-image: url('../img/menu-pro-1.jpg');
}

header .menu-bar nav ul.menu-right > li:nth-child(2) > .sub-menu > li:nth-child(2) {
    /*background-image: url('../img/menu-particulier-2.jpg');*/
    background-image: url('../img/bg-banner-pro.jpg');
}

header .menu-bar nav ul.menu-right > li:hover > .sub-menu > li > a {
  width: 100%;
  height: 100%;
  position: absolute;
}
header .menu-bar nav ul.menu-right > li:hover > .sub-menu > li > a > span  {
    position: absolute;
    bottom: 20px;
    left: 25px;
    max-width: 223px;
    font-weight: 400;
    font-size: 30px;
    color: white;
    text-transform: uppercase;
}

.menu-ebook {
    display: none;
}