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

#header {
  width: 100%;
}

#header h1 {
  display: none;
}

#header .top {
  width: 100%;
  height: 55px;
  padding: 0px 20px;
  background-color: #828487;
  color: #ffffff;
}

#header .top h3,
#header .bottom h3 {
  display: none;
}

#header .top ul,
#header .bottom ul {
  margin: 0px;
  padding: 0px;
  height: 100%;
  list-style: none;
}

#header .top ul {
  width: 49%;
  float: left;
  margin-left: 21%;
}

#header .top ul li {
  height: 100%;
  width: 20%;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  float: left;
  display: table;

  color: #ffffff;
  background-color: rgba(228, 226, 227, 0);
  transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0ms,
    background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0ms;
}

#header .top ul li:hover {
  background-color: rgba(228, 226, 227, 1);
  color: #58595b;
}

#header .top ul li a {
  color: inherit;
  text-decoration: none;
  display: table-cell;
  vertical-align: middle;
  text-transform: lowercase;
  text-align: center;

  font-size: 1.5em;
  line-height: 1.1em;
}

#header .top .search-form {
  float: left;
  width: 26%;
  height: 100%;
  display: table;
  padding: 15px 0px 0px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

#header .top .search-form div {
  display: table-cell;
  vertical-align: middle;
}

#header .top .search-form label {
  display: none;
}

#header .top .search-form input[type='submit'] {
  float: left;
  display: block;
  border: none;
  padding: 0px;
  margin: 0px;
  height: 20px;
  width: 15%;
  font-size: 0;
  background-color: transparent;
  background-image: url('../../images/html/header/top/search.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#header .top .search-form input[type='text'] {
  float: right;
  display: block;
  border: none;
  padding: 0px 0px 0px 5px;
  width: 85%;
  margin: 0px;
  height: 20px;
}

#header .top .cart {
  display: none;

  /*  float: left;
    width: 4%;
    height: 100%;
    font-size: 0px;

    background-image: url('../../images/html/header/top/cart.png');
    background-size: 16px auto;
    background-position: right;
    background-repeat: no-repeat;*/
}

#header .top .facebook {
  float: left;
  width: 4%;
  height: 100%;
  font-size: 0px;
  position: relative;
  top: -3px;

  background-image: url('../../images/html/header/top/facebook.png');
  background-size: 16px auto;
  background-position: right;
  background-repeat: no-repeat;
}

#header .bottom {
  padding: 0px 20px;
  height: 190px;
  font-size: 1.66em;
  line-height: 1.1em;
}

#header .bottom .home {
  float: left;
  height: 100%;
  width: 21%;
  background-image: url('../../images/html/header/bottom/tijeras.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0px;
}

#header .bottom ul {
  float: left;
  height: 100%;
  width: 79%;
  text-align: right;
  padding-top: 80px;
  font-weight: bold;
  text-transform: lowercase;
}

#header .bottom ul li {
  display: inline-block;
  padding: 15px 0px 15px 15px;
}

#header .bottom ul li a {
  color: #58595b;
  text-decoration: none;

  transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0ms;
}

#header .bottom ul li a:hover {
  color: #f78e1e;
}

#hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 15px;
  border: none;
  background-color: transparent;
  padding: 0px;
  margin: 0px;
  z-index: 1200;
}

#hamburger span {
  font-size: 48px;
  line-height: 40px;
  width: 50px;
  height: 50px;
  color: #ffffff;
  color: #828487;
}

#sticky-home {
  display: none;
}

@media screen and (max-width: 860px) {
  html[data-drawer],
  html[data-drawer] body {
    overflow: hidden !important;
  }

  #sticky-home {
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 140px;
    height: 80px;

    background-image: url('../../images/html/header/bottom/tijeras.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0em;
    line-height: 0em;
    z-index: 1200;
  }

  #hamburger {
    display: block;
  }

  #header .drawer-close {
    display: block;
    position: fixed;
    z-index: 720;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    width: 100%;
    height: 0%;
    top: 0px;
    left: 0px;

    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
      height 0s 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .drawer-open #header .drawer-close {
    opacity: 1;
    height: 100%;
    transition: opacity 0.3s 0s cubic-bezier(0.25, 0.8, 0.25, 1) ease,
      height 0s 0s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  #header:before {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    content: '';
    z-index: 1200;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
  }

  #header > .inner {
    position: fixed;
    z-index: 1150;
    top: 0px;
    right: -300px;
    height: 100%;
    width: 300px;
    padding: 80px 0px 0px 0px;
    background-color: #f78e1e;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    transition: right 0.3s cubic-bezier(.25,.8,.25,1);
  }

  [data-drawer] #header > .inner {
    right: 0px;
  }

  #header .top {
    position: relative;
    width: 100%;
    height: auto;
    padding: 70px 0px 0px 0px;
    background-color: transparent;
  }

  #header .top ul {
    width: 100%;
    float: none;
    margin-left: 0%;
    padding-right: 20px;
    padding-bottom: 20px;
  }

  #header .top ul:after {
    content: '';
    display: block;
    border-bottom: solid 1px rgba(255, 255, 255, 1);
    width: 50%;
    padding-top: 20px;
    margin-left: 50%;
  }

  #header .top ul li {
    height: auto;
    width: 100%;
    border-left: none;
    float: none;
    display: block;
  }

  #header .top ul li a {
    display: inline-block;
    text-align: left;
  }

  #header .top .search-form {
    position: absolute;
    top: 0px;
    left: 0px;
    float: none;
    width: 100%;
    height: auto;
    display: block;
    padding: 20px 60px 20px 20px;
    border-left: none;
  }

  #header .top .search-form input[type='submit'] {
    height: 28px;
    border: 5px transparent solid;
  }

  #header .top .search-form input[type='text'] {
    height: 28px;
  }

  #header .top .facebook {
    float: none;
    width: 50px;
    height: 50px;
    font-size: 0px;
    position: absolute;
    top: 9px;
    right: 20px;
    display: block;

    background-size: 30px auto;
  }

  #header .bottom {
    padding: 0px;
    height: auto;
    font-size: 1em;
  }

  #header .bottom .home {
    float: none;
    height: 20px;
    width: 100%;
  }

  #header .bottom ul {
    float: none;
    height: auto;
    width: 100%;
    text-align: left;
    padding-top: 0px;
    padding-right: 20px;
  }

  #header .bottom ul li {
    display: block;
    padding: 0px;
  }

  #header .top ul li,
  #header .bottom ul li {
    text-align: right;
    padding: 0px 0px 5px 0px;
    font-size: 2em;
    line-height: 1.2em;
    font-weight: 500;
  }

  #header .top ul li a,
  #header .bottom ul li a {
    color: #ffffff;
    font-size: 1em;
    line-height: 1.2em;
  }

  #header .top ul li:hover {
    background-color: transparent;
    color: #58595b;
  }
}
