
/*-------------------------------------------------------------------
[2. Header]
*------------------------------------------------------------------*/
.m-header {
    text-align: center;
    position: fixed;
    z-index: 999;
    width: auto;
    left: 0;
    top: 0;
    right: 0;
    font-size: 14px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-weight: 400;
    background: #fffdf9;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    box-shadow: 0 2px 20px 0 rgba(112, 93, 69, 0.1215686275);
  }
  
  .shrink .header-wrapper {
    text-align: center;
    position: fixed;
    z-index: 998;
    width: auto;
    left: 0;
    top: 0;
    right: 0;
    height: 92px;
    font-weight: 400;
    background: #fffdf9;
  }
  
  .inverse-header .m-header {
    position: fixed;
    z-index: 99;
    width: auto;
    left: 0;
    top: 0;
    right: 0;
    font-size: 14px;
    font-weight: 400;
    background: transparent;
    box-shadow: none;
  }
  
  .m-wrapper {
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
  }
  
  .inverse-header .m-header {
    background: transparent;
  }
  
  .m-header-center,
  .shrink .m-header-center {
    display: inline-block;
    line-height: 0;
  }
  
  .m-header-center .m-header-logo {
    transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
    -moz-transition: all 0.3s ease-in 0s;
    -ms-transition: all 0.3s ease-in 0s;
    transform: scale(0.8);
  }
  
  .m-header svg {
    fill: currentColor;
  }
  
  .inverse-header .m-header a.logo {
    color: white !important;
  }
  
  .inverse-header.shrink .m-header a.logo {
    color: #000000 !important;
  }
  
  .shrink .box-shadow {
    box-shadow: 0 2px 20px 0 rgba(112, 93, 69, 0.12);
  }
  
  .shrink .m-header {
    background-color: #fffdf9;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .shrink .m-header-right {
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
  }
  
  .shrink .m-header-center .m-header-logo,
  .inverse-header.shrink .m-header-center .m-header-logo {
    transform: scale(0.6);
  }
  
  @media (max-width: 767px) {
    .m-header {
      height: 68px;
      padding-top: 1.2rem;
      padding-bottom: 1.2rem;
      transition: margin 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
      /* easeOutCubic */
    }
    .shrink .m-header {
      background-color: white;
      transition: all 0.4s ease-in-out;
      -webkit-transition: all 0.4s ease-in-out;
      -moz-transition: all 0.4s ease-in-out;
      padding-top: 1.2rem;
      padding-bottom: 1.2rem;
    }
    .inverse-header .m-header-center .m-header-logo {
      transform: scale(0.55) !important;
    }
    .m-header-center .m-header-logo {
      transform: scale(0.55) !important;
    }
  }
  .m-header a {
    color: #000000;
  }
  
  .m-header.hide {
    top: -60px;
  }
  
  .m-toggle-sidebar {
    position: fixed;
    top: 49px;
    left: 30px;
    text-align: center;
    cursor: pointer;
    color: #222;
    z-index: 999;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
  }
  
  .shrink .m-toggle-sidebar {
    top: 9px;
    left: 30px;
    padding: 1.1rem 0;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
  }
  
  .inverse-header .m-toggle-sidebar {
    color: #fff;
  }
  
  .inverse-header.m-opened-sidebar .m-toggle-sidebar {
    color: #222;
  }
  
  .m-toggle-sidebar i {
    position: fixed;
    left: 18px;
    top: 18px;
  }
  
  .m-toggle-sidebar .m-open-icon {
    transform: scale(1);
  }
  
  .m-toggle-sidebar .m-close-icon {
    transform: scale(0);
    background-color: #f5f3f1;
  }
  
  .m-opened-sidebar .m-toggle-sidebar .m-open-icon {
    transform: scale(0);
  }
  
  .m-opened-sidebar .m-toggle-sidebar .m-close-icon {
    transform: scale(1);
  }
  
  .m-logo-box {
    height: 27px;
    display: block;
    float: left;
    margin: 14px;
  }
  
  .m-logo-box h1, .m-logo-box .h1 {
    margin: 0;
    padding: 0;
    display: inline-block;
  }
  
  .m-logo {
    font-size: 18px;
    color: #fff;
  }
  
  .m-logo img {
    display: block;
    float: left;
  }
  
  .m-logo .m-logo-mobile {
    display: none;
  }
  
  .m-logo .m-logo-desktop {
    display: block;
  }
  
  .m-logo .m-logo-name {
    display: inline-block;
    float: left;
    font-weight: 400;
    line-height: 30px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: solid 1px #fff;
  }
  
  .m-header-menu {
    display: inline-block;
    float: left;
  }
  
  .m-header-navigation,
  .m-header-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    float: right;
    text-transform: uppercase;
  }
  
  .m-header-navigation > li {
    float: left;
    position: relative;
  }
  
  .inverse-header .m-header-navigation > li > a {
    color: #fff;
  }
  
  .inverse-header.shrink .m-header-navigation > li > a {
    color: #222;
  }
  
  .m-header-navigation > li > a {
    display: table-cell !important;
    vertical-align: middle;
    height: 60px;
    color: #222;
    padding: 0 15px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
  }
  
  .m-header-navigation > li > a .material-icons {
    vertical-align: middle;
    top: -1px;
    position: relative;
  }
  
  .m-header-navigation > li > a.active {
    box-shadow: inset 0 -2px 0 0 #fff;
  }
  
  .m-header-submenu {
    background-color: #fff;
    position: absolute;
    top: 100%;
    min-width: 100%;
    left: 0;
    box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.3);
    transform-origin: left top 0px;
    display: none;
    transition: transform 0.3s ease;
    -khtml-transform: scale(0);
    transform: scale(0);
    -ms-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 8px 0 rgba(0, 0, 0, 0.12);
    -o-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 8px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 8px 0 rgba(0, 0, 0, 0.12);
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0, M12=0, M21=0, M22=0, SizingMethod='auto expand')";
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=0, M12=0, M21=0, M22=0, SizingMethod="auto expand");
  }
  
  .m-header-submenu.m-extra-menu {
    width: 280px;
  }
  
  .m-extra-menu a {
    display: block;
    width: 50%;
    float: left;
    height: 80px;
    text-align: center;
    border-bottom: solid 1px #eee;
    padding: 15px 0;
    color: #333 !important;
  }
  
  .m-extra-menu a:hover {
    background-color: #f2f2f2;
    text-decoration: none;
  }
  
  .m-extra-menu a span {
    display: block;
  }
  
  .m-extra-menu a:nth-child(odd) {
    border-right: solid 1px #eee;
  }
  
  .m-header-submenu.m-notify-list {
    width: 360px;
  }
  
  .m-notify-header {
    width: 100%;
    padding: 15px 10px;
    color: #333;
    background-color: #f4f4f4;
  }
  
  .m-notify-header .m-notify-text-top {
    display: block;
    font-size: 20px;
    text-align: center;
  }
  
  .m-notify-header .m-notify-text {
    display: block;
    text-align: center;
    font-size: 15px;
  }
  
  .m-notify-tab {
    padding: 15px;
  }
  
  .m-notify-tab .nav {
    margin-bottom: 15px;
    border-bottom: solid 1px #eee;
  }
  
  .m-notify-tab .nav li {
    display: inline-block;
    float: left;
    width: auto;
    border-left: none !important;
    margin-right: 20px;
  }
  
  .m-notify-tab .nav li a:hover {
    background-color: transparent;
    border-bottom: solid 1px #9d50bb;
  }
  
  .m-notify-tab .nav li a {
    font-family: "aktiv-grotesk-bold";
    padding: 6px 0;
    font-size: 16px;
  }
  
  .m-notify-tab .nav li a.active {
    border-bottom: solid 1px #9d50bb;
    color: #9d50bb;
  }
  
  .m-header-submenu ul li {
    display: block;
    width: 100%;
  }
  
  .m-header-submenu ul li a {
    display: block;
    text-decoration: none;
    padding: 10px 15px;
    color: #444;
    white-space: nowrap;
  }
  
  .m-header-submenu.active {
    -khtml-transform: scale(1);
    transform: scale(1);
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod='auto expand')";
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod="auto expand");
  }
  
  .m-header-right {
    position: absolute;
    right: 30px;
    top: 0;
    padding-top: 2.1rem;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
  }
  
  .shrink .m-header-right {
    padding-top: 0.55rem;
  }
  
  .m-header-right.m-with-seperator .m-header-navigation li {
    border-left: solid 1px rgba(0, 0, 0, 0.05);
  }
  
  .m-header-right .m-header-navigation .m-header-submenu {
    transform-origin: right top 0px;
    left: auto;
    right: 0;
  }
  
  .m-search-bar {
    position: absolute;
    width: 100%;
    height: 60px;
    top: -70px;
    left: 0;
    background: #555555;
    transition: top 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
    /* easeOutCubic */
  }
  
  .m-search-bar.active {
    top: 0;
  }
  
  .m-search-form {
    max-width: 1160px;
    width: 100%;
    height: 40px;
    margin: 10px auto;
    display: block;
    font-size: 14px;
    position: relative;
  }
  
  .m-search-input-wrapper {
    left: 20px;
    top: 0;
    right: 60px;
    bottom: 0;
    height: 40px;
    position: absolute;
  }
  
  .m-search-input {
    width: 100%;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0 54px 0 14px;
    display: block;
    color: #fff;
    outline: none;
    font-size: 14px;
    font-family: inherit;
  }
  
  .m-search-input::-moz-placeholder {
    color: #fff;
    opacity: 0.5;
  }
  
  .m-search-input::placeholder {
    color: #fff;
    opacity: 0.5;
  }
  
  .m-search-input:-ms-input-placeholder {
    color: #fff;
  }
  
  .m-search-input::-ms-input-placeholder {
    color: #fff;
  }
  
  .m-search-input:focus {
    background-color: rgba(255, 255, 255, 0.3);
  }
  
  .m-search-submit {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
    outline: none;
  }
  
  .m-search-submit:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .m-search-close {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 0;
    background: none;
    border: none;
    padding: 8px;
    outline: none;
    cursor: pointer;
    color: #fff;
  }
  