/**
 * Header Legacy CSS - GroupeLDLC Theme
 * Original Koncept theme header, search, menu styles
 * Kept for backward compatibility
 */

/* Header Search Form */
#main-menu.w-search {
  margin-right: 67px;
}
#main-menu.w-cart {
  padding-right: 40px;
}
#main-search {
  position: relative;
  height: 0;
  right: -10px;
  top: -10px;
  z-index: 99;
}
#main-search #searchform {
  height: 43px;
  width: 40px;
  margin-right: -10px;
}
#main-search #s {
  background: #fff;
  border: none;
  box-shadow: none;
  color: #959595;
  font-size: 12px;
  font-weight: 500;
  height: 43px;
  line-height: 12px;
  position: absolute;
  right: 0;
  top: 0;
  padding-right: 40px;
  width: 234px;
  opacity: 0;
  visibility: hidden;
}
#main-search #searchform.opened #s {
  opacity: 1;
  visibility: visible;
}
.ie8 #main-search #s {
  opacity: 1 !important;
  visibility: visible !important;
  display: none;
  padding-top: 14px !important;
}
#main-search #searchform .fa-search {
  right: 8px;
  top: 12px;
  position: absolute;
  color: #212121;
  width: 20px;
  height: 20px;
  padding: 0;
  z-index: 1;
  font-size: 21px;
  line-height: 18px;
  display: block !important;
  cursor: pointer;
}
.no-touch #main-search #searchform .fa-search:hover {
  color: #b99d61;
}
#main-search #submit_s {
  display: none !important;
}
#main-search #submit_s:focus {
  outline: none !important;
}

/* Regular header */
#header {
  position: relative;
  display: table;
  width: 100%;
}
#header > div {
  display: table-cell;
  vertical-align: middle;
}
#logo {
  display: inline-block;
  float: left;
  margin-left: 2px;
}
#logo .retina {
  display: none !important;
}
#logo .default {
  display: block;
}

#custom-header {
  position: relative;
}
#custom-header > img {
  width: 100%;
  max-width: none;
}

#map-contact {
  height: 100%;
  width: 100%;
  margin-top: -1px;
  opacity: 0;
}
#map-contact:after {
  background: transparent;
  content: "";
  display: block;
  height: 14px;
  left: -5%;
  position: absolute;
  top: -14px;
  width: 110%;
}
.page-template-template-contact-php .header-image {
  background: url(../images/preloader-f7.gif) no-repeat center center #f7f7f7;
}
.page-template-template-contact-php .header-image.remove-preloader {
  background-image: none;
}

/* Sticky */
.sticky #header {
  background: #fbfbfb;
  position: fixed;
  z-index: 999;
  top: 0 !important;
}
.sticky.sactive.admin-bar #header {
  top: 32px !important;
}
#header #logo {
  -webkit-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
}
#header #menu-opener,
#header #filter-opener {
  -webkit-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
}
.sticky.sactive #header,
.sticky.sactive #logo,
.sticky.sactive #header #menu-opener,
.sticky.sactive #filter-opener {
  -webkit-transition: all 250ms cubic-bezier(0.42, 0, 1, 1);
  transition: all 250ms cubic-bezier(0.42, 0, 1, 1);
}
.sticky.sactive #header.smaller {
  height: 84px !important;
}
.sticky.sactive #header.smaller #logo {
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}
.sticky.sactive #header.smaller #menu-opener {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}
.sticky.sactive #header.smaller #filter-opener {
  -webkit-transform: scale(0.89);
  -ms-transform: scale(0.89);
  transform: scale(0.89);
}
.sticky.sactive #header.smaller #logo img {
  height: 100%;
  width: auto;
}
.ie8 .sticky {
  padding-top: 0 !important;
}

/* Widgets */
#header-widgets {
  position: absolute;
  top: 0;
  right: 85px;
}
#header-widgets .widget {
  float: left;
  margin-left: 20px;
}
#header-widgets .widget:first-child {
  margin-left: 0;
}
#filter-opener + #main-menu + #menu-closer + #header-widgets {
  right: 145px;
}
.menu-three.classic #header-widgets {
  display: none;
}

/* WPML */
#lang_sel a.lang_sel_sel,
.wcml_currency .simple-select-inner {
  background: url(../images/arrow.png) no-repeat right 11px transparent;
  height: 30px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 700;
  color: #1b1b1b;
  border: none;
  padding: 7px 17px 7px 10px;
}
#lang_sel li {
  width: auto;
  display: block;
  float: none;
}
#lang_sel ul ul {
  top: 27px;
}
#lang_sel ul ul a,
#lang_sel ul ul a:visited {
  background: #fbfbfb !important;
  font-size: 13px;
  line-height: 13px;
  color: #666;
}
#lang_sel ul ul a:hover {
  color: #1b1b1b;
}
#lang_sel * {
  border: none !important;
}
.wcml_currency img {
  position: absolute;
  left: -33px;
  top: -2px;
  width: 24px;
  height: 24px;
  background: url(../images/preloader-f7.gif) no-repeat 0 0 transparent;
  padding: 30px;
  overflow: hidden;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}
.wcml_currency img + span {
  text-indent: -9999px;
}
#lang_sel_footer {
  background: #e0e0e0;
  border: none;
  padding-top: 11px;
}
#lang_sel_footer ul li a,
#lang_sel_footer ul li a:visited {
  color: #333;
}

/* Page Title */
#page-title {
  position: relative;
  margin-bottom: 90px;
}
.page-template-template-blog-php #page-title,
.search #page-title,
.archive #page-title,
.page-template-template-portfolio #page-title,
.page-template-template-gallery #page-title {
  margin-bottom: 0;
}
#page-title .title {
  float: left;
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  margin: 0;
}
#page-title > div {
  padding-bottom: 50px;
  border-bottom: 1px solid #e5e5e5;
}
#page-title.hide-title {
  display: none;
}
.title-add {
  font-weight: 600;
}
.title-add:before {
  content: ": ";
  font-weight: 400;
}
