/*
Theme Name: Flutastic
Author: Jonathan Apodaca
*/

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
.clearfix {
  height: 0;
  clear: both;
}
body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  background: url("img/bg.png");
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
a {
  text-decoration: none;
  color: #0092de;
}
a:hover {
  text-decoration: underline;
}

/*
                 _             _
  ___ ___  _ __ | |_ ___ _ __ | |_
 / __/ _ \| '_ \| __/ _ \ '_ \| __|
| (_| (_) | | | | ||  __/ | | | |_
 \___\___/|_| |_|\__\___|_| |_|\__|
*/
.sheet {
  width: 90vw;
  margin: 0 auto;
  box-shadow: 0 0 5px 5px fade(#000, 15%);
  background: #ededed;
}
@media only screen and (max-width: 900px) {
  .sheet {
    width: 100%;
  }
}
.sheet main {
  padding: 15px 0;
}
.sheet main .pagination {
  text-align: center;
}
.sheet main > *:not(.wide) {
  padding: 0 10px;
}
.sheet main > ul {
  padding-left: 40px !important;
}
.sheet main.woocommerce {
  display: flex;
}
.sheet main.woocommerce #container {
  flex: 1 1 auto;
}
.sheet main.woocommerce .shop-sidebar {
  flex: 0 0 auto;
  border-left: solid 1px #8d8d8d;
}
.sheet main.woocommerce .shop-sidebar ul.product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sheet main.woocommerce .shop-sidebar ul.product-categories ul.children {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 15px;
}

/*
  __             _
 / _| ___   ___ | |_ ___ _ __
| |_ / _ \ / _ \| __/ _ \ '__|
|  _| (_) | (_) | ||  __/ |
|_|  \___/ \___/ \__\___|_|
 */
footer {
  clear: both;
  background: #f5f5f5;
  padding: 30px 15px;
  box-shadow: 0 0 15px 0px fade(#000, 25%);
}
footer .copyright {
  text-align: center;
}

/*
  __
 / _| ___  _ __ _ __ ___  ___
| |_ / _ \| '__| '_ ` _ \/ __|
|  _| (_) | |  | | | | | \__ \
|_|  \___/|_|  |_| |_| |_|___/
*/
button,
input[type="submit"],
input[type="button"] {
  background: #0092de;
  border: none;
  border-radius: 3px;
  color: #fff;
}
input[type="text"],
textarea {
  background: transparent;
  border: solid 1px #fff;
  border-radius: 3px;
  padding: 5px;
  box-sizing: content-box;
}
input:focus,
textarea:focus {
  outline: none;
}

/*
 _                    _
| |__   ___  __ _  __| | ___ _ __
| '_ \ / _ \/ _` |/ _` |/ _ \ '__|
| | | |  __/ (_| | (_| |  __/ |
|_| |_|\___|\__,_|\__,_|\___|_|
*/
.sheet header {
  position: relative;
}
.sheet header nav.bar {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 10px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
}
.sheet header nav.bar,
.sheet header nav.bar * {
  line-height: 60px;
}
.sheet header nav.bar.stuck {
  position: fixed;
  top: 0;
  width: 90vw;
  max-width: 100%;
}
@media only screen and (max-width: 900px) {
  .sheet header nav.bar.stuck {
    width: 100%;
  }
}
.sheet header nav.bar .logo-link {
  flex: 0 0 auto;
}
.sheet header nav.bar .logo-link:hover {
  text-decoration: none;
}
.sheet header nav.bar .logo-link .logo {
  width: 160px;
  height: 60px;
  background: url("img/logo.png");
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
}
.sheet header nav.bar nav.menu {
  flex: 1 1 auto;
  text-align: right;
}
.sheet header nav.bar nav.menu aside {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
}
.sheet header nav.bar nav.menu aside:last-child {
  margin-right: 0;
}
.sheet header nav.bar nav.menu aside form[role="search"] .screen-reader-text {
  display: none;
}
.sheet header nav.bar nav.menu aside form[role="search"] input[type="text"] {
  padding: 0 5px;
  color: #fff;
}
.sheet header nav.bar nav.menu aside form[role="search"] input[type="text"],
.sheet header nav.bar nav.menu aside form[role="search"] input[type="submit"] {
  line-height: 25px;
}
.sheet header nav.bar nav.menu aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sheet header nav.bar nav.menu aside ul li {
  display: inline-block;
}
.sheet header nav.bar nav.menu aside ul li:after {
  content: "|";
}
.sheet header nav.bar nav.menu aside ul li:last-child:after {
  content: "";
}
.sheet header nav.bar nav.menu aside ul li a {
  padding-right: 3px;
}
.sheet header nav.bar nav.menu aside ul li:last-child a {
  padding-right: 0;
}
@media screen and (max-width: 900px) {
  .sheet header nav.bar nav.menu {
    display: none;
  }
}
.sheet header nav.hamburger {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 80px;
  flex-direction: column;
  justify-content: center;
  z-index: 9999;
}
.sheet header nav.hamburger .line {
  border: solid 1px #fff;
  height: 1px;
  width: 40px;
  margin-bottom: 10px;
  margin-right: 10px;
}
@media screen and (max-width: 900px) {
  .sheet header nav.hamburger {
    display: flex;
  }
}
.sheet header.tall {
  height: 650px;
}

/*
                       _ _
 _ __   __ _ _ __ __ _| | | __ ___  __
| '_ \ / _` | '__/ _` | | |/ _` \ \/ /
| |_) | (_| | | | (_| | | | (_| |>  <
| .__/ \__,_|_|  \__,_|_|_|\__,_/_/\_\
|_|
 */
.sheet header.tall .cover-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.sheet header.tall .cover-container .cover-image {
  background-image: url("img/home-cover.jpg");
}
nav.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
nav.overlay aside {
  width: 40vw;
}
nav.overlay ul,
nav.overlay li {
  list-style-type: none;
  margin: 0;
  padding: 7px 0;
}
.cover-container {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.cover-container .cover-image {
  background-size: cover;
  background-position: center top;
  position: absolute;
  top: 0%;
  height: 120%;
  width: 100%;
}

/*
                 _
 _ __   ___  ___| |_
| '_ \ / _ \/ __| __|
| |_) | (_) \__ \ |_
| .__/ \___/|___/\__|
|_|
*/
article.post .thumbnail,
article.post-preview .thumbnail {
  float: left;
  margin-right: 10px;
}
article.post .author,
article.post-preview .author,
article.post .date,
article.post-preview .date {
  float: right;
}
article.post .author,
article.post-preview .author {
  margin-right: 5px;
  font-weight: 400;
}
article.post .author:after,
article.post-preview .author:after {
  content: ",";
}
article.post-preview .author:after {
  content: "";
}
article.post .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
article.post .commentlist ul.children {
  list-style: none;
}
article.post .commentlist .comment-body {
  background: #aaa;
  border-radius: 0 15px 15px 15px;
  padding: 10px;
  margin: 5px 0;
}
article.post .commentlist .comment-body > .comment-author {
  float: left;
}
article.post .commentlist .comment-body > .comment-author > .avatar {
  border-radius: 1000px;
  vertical-align: middle;
}
article.post .commentlist .comment-body .comment-meta {
  float: right;
}
article.post .commentlist .comment-body > p {
  clear: both;
  padding-top: 15px;
}

/*
__      _____   ___   ___ ___  _ __ ___  _ __ ___   ___ _ __ ___ ___
\ \ /\ / / _ \ / _ \ / __/ _ \| '_ ` _ \| '_ ` _ \ / _ \ '__/ __/ _ \
 \ V  V / (_) | (_) | (_| (_) | | | | | | | | | | |  __/ | | (_|  __/
  \_/\_/ \___/ \___/ \___\___/|_| |_| |_|_| |_| |_|\___|_|  \___\___|
*/
.add_to_cart_button {
  float: right;
}
.button {
  background: #0092de !important;
  color: #fff !important;
}
li.product.outofstock a:nth-child(1):before {
  content: "SOLD";
  position: absolute;
  right: 0.5em;
  top: 1em;
  transform: rotateZ(45deg);
  color: #f00;
  font-weight: 500;
  font-size: 1.5em;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}
@media screen and (max-width: 539px) {
  .woocommerce {
    display: flex;
    flex-direction: column;
  }
  .woocommerce #primary {
    order: 1;
  }
  .woocommerce .shop-sidebar {
    order: 0;
    border-left: none !important;
  }
  .woocommerce .shop-sidebar ul.children {
    padding-left: 5vw !important;
  }
}
