/**
 * /user/assets/styles/html/header.css
 *
 * @author Pablo Rubio
 * @version 1.0
 */

html[data-drawer],
html[data-drawer] body {
  overflow: hidden;
}

#header h1 {
  display: none;
}

#header .drawer {
  position: relative;
  z-index: 1200;
}

#header .drawer .sticky {
  height: 94px;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 0%;
  background-image: url('../../images/html/header/duophonic.png');
  background-position: 30px center;
  background-size: 120px auto;
  background-repeat: no-repeat;
  z-index: 700;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 1px 2px rgba(0, 0, 0, 0);
  transition: width 0s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s,
    box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s,
    opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

body.tablet #header .drawer .sticky,
body.sticky #header .drawer .sticky {
  transition: width 0s cubic-bezier(0.25, 0.8, 0.25, 1) 0s,
    box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s,
    opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
  opacity: 1;
  width: 100%;
}

body.tablet #header .drawer .sticky {
  height: 60px;
}

#header .drawer .toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  border: none;
  background-color: transparent;
  font-size: 0em;
  line-height: 0em;
  border-radius: 0;
  width: 42px;
  height: 42px;
  z-index: 1200;
  padding: 0px;
  margin: 0px;
}

body.tablet #header .drawer .toggle {
  top: 9px;
  right: 24px;
}

#header .drawer .toggle span {
  display: none;
}

#header .drawer .toggle div {
  height: 3px;
  margin: 6px;
  background-color: #ffffff;
  transform: translate(0px, 0px);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s,
    color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

body.tablet #header .drawer .toggle div,
body.sticky #header .drawer .toggle div {
  background-color: #000000;
}

[data-drawer] body.tablet #header .drawer .toggle div,
[data-drawer] body.sticky #header .drawer .toggle div {
  background-color: #ffffff;
}

[data-drawer] #header .drawer .toggle div:nth-of-type(1) {
  transform: translate(0px, 9px) rotate(-45deg);
}

[data-drawer] #header .drawer .toggle div:nth-of-type(2) {
  transform: scale(0.1, 1);
}

[data-drawer] #header .drawer .toggle div:nth-of-type(3) {
  transform: translate(0px, -9px) rotate(45deg);
}

#header .drawer .mask {
  position: fixed;
  z-index: 800;
  top: 0px;
  left: 0px;
  width: 0%;
  height: 0%;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: height 0s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s,
    width 0s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s,
    opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

[data-drawer] #header .drawer .mask {
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: height 0s cubic-bezier(0.25, 0.8, 0.25, 1) 0s,
    width 0s cubic-bezier(0.25, 0.8, 0.25, 1) 0s,
    opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

#header .drawer .content {
  background-color: #8c4141;
  background-color: rgba(140, 65, 65, 1);
  color: #ffffff;
  font-size: 1em;
  line-height: 1em;
  padding: 54px 24px 24px 54px;
  padding: 0px 0px 24px 0px;
  z-index: 900;
  position: fixed;
  top: 0px;
  right: -480px;
  width: 480px;
  height: 100%;
  opacity: 0;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s,
    opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
}

[data-drawer] #header .drawer .content {
  opacity: 1;
  right: 0px;
}

@media all and (max-width: 600px) {
  #header .drawer .content {
    right: -360px;
    width: 360px;
  }
}

@media all and (max-width: 480px) {
  #header .drawer .content {
    right: -264px;
    width: 264px;
  }
}

#header .drawer .content > .inner {
  width: 100%;
  height: 100%;
  position: relative;
  padding-bottom: 24px;
  overflow: hidden;
}

#header .drawer .content .scroll {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 54px 24px 0px 54px;
  -webkit-overflow-scrolling: touch;
}

@media all and (max-height: 804px), all and (max-width: 600px) {
  #header .drawer .content .scroll {
    font-size: 0.8em;
    line-height: 1em;
  }
}

#header .drawer .content li a {
  color: #ffffff;
  text-decoration: none;
}

#header .drawer .navigation h3 {
  display: none;
}

#header .drawer .navigation ul {
  margin: 0px;
  padding: 12px 0px 0px 0px;
  list-style: none;
}

#header .drawer .navigation li {
  margin: 0px;
  padding: 0px 0px 18px 0px;
}

@media all and (max-height: 720px), all and (max-width: 480px) {
  #header .drawer .navigation li {
    font-size: 0.7em;
    line-height: 1em;
    padding: 0px 0px 6px 0px;
  }
}

#header .drawer .navigation li a {
  font-size: 3.6em;
  line-height: 1em;
}

#header .drawer .social h3 {
  font-weight: 100;
  font-size: 1.2em;
  line-height: 1em;
  margin: 0px;
  padding: 30px 0px 12px 0px;
}

#header .drawer .social ul {
  margin: 0px;
  padding: 0px 0px 0px 0px;
  list-style: none;
}

#header .drawer .social li {
  margin: 0px;
  padding: 0px 0px 12px 24px;
}

#header .drawer .social li a {
  font-size: 1.05em;
  line-height: 1em;
}

#header .drawer .subscribe {
  cursor: pointer;
  display: block;
  background-color: transparent;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 1.2em;
  line-height: 1em;
  padding: 0px;
  margin: 12px 0px 0px 0px;
}

#header .drawer .copyright {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 24px;
  padding: 6px 3px 3px 54px;
}

#header .drawer .copyright:after {
  display: block;
  clear: both;
  content: '';
}

#header .drawer .copyright span {
  color: #ffffff;
  font-size: 0.6em;
  line-height: 1em;
  height: 18px;
  display: inline-block;
}

#header .drawer .copyright svg {
  display: block;
  float: right;
  height: 11px;
  position: relative;
  top: 6px;
  right: -24px;
}
