/*
Theme Name:   Willowtree Farmers Markets
Author:     CMS Web Solutions
Author URI:   http://cmswebsolutions.com
*/

* {
  box-sizing: border-box;
}
a {
  color: white;
}

a[href^="tel:"] {
  text-decoration: none;
}

a:hover, a:focus {
  color: #d53e0c;
}
a img {
  border: none;
  outline: none;
}
input[type="submit"] {
  -webkit-appearance: none;
}
.hidden {
  position: absolute;
  left: -1000em;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.clearfix {
  overflow: hidden;
  content: "";
  visibility: hidden;
  display: block;
  height: 1px;
  width: 1px;
  clear: both;
}
iframe, object {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4 {
  margin-bottom: 0.5em;
  color: #fdfafa;
}
h1 {
  margin-top: 0;
}
h2 {
  font-size: 1.25em;
  color: #d53e0c;
}
p, ul, ol {
  margin: 1em 0;
}
ul, ol {
  padding-left: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
a {
  -webkit-transition: color 0.1s;
  transition: color 0.1s;
}
a:active {
  -webkit-transition: color 2s;
  transition: color 2s;
}

mark {
  color: inherit;
  background-color: transparent;
}

table {
  border-collapse: collapse;
  margin: 1em auto;
  padding: 0;
  background: rgba(0, 0, 15, 0.05);
  width: 100%;
  max-width: 100%;
  overflow-x: scroll;
}
table caption {
  font-weight: 600;
  text-align: left;
  font-size: 125%;
  padding-bottom: 0.25em;
}
table thead, table tbody {
  max-width: 100%;
}
table thead {
  background: black;
  color: white;
  text-align: left;
}
table thead tr th:first-child {
  border-radius: 2px 0 0 0;
}
table thead tr th:last-child {
  border-radius: 0 2px 0 0;
}
table tr {
  border-bottom: 1px solid #ccc;
}
table tr td, table tr th {
  padding: 0.5em;
  padding-right: 1em;
  font-weight: normal;
}
header, footer, article, aside, section, main {
  display: block;
}
body {
  margin: 0 auto;
  font-size: 120%;
  font-family: 'Josefin Sans', sans-serif;
  position: relative;
  color: #fdfafa;
  background: black url(img/bg-sml.jpg) center top no-repeat;
}
.inner, nav, .tag, main {
  display: block;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}
header {
  position: relative;
}

a.skip {
  position: absolute;
  top: 0;
  left: -1000em;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 0px 0px 3px 3px;
}
a.skip:focus, a.skip:hover {
  left: 1em;
  top: 0;
  padding: 0.5rem 1rem;
}

header .inner {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.vcard {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin: 1em 0 0 7.5em;
}

.vcard p {
  margin: 0;
}

.vcard .tel {
  font-size: 180%;
  font-family: 'Shadows Into Light Two', cursive;
  letter-spacing: .1em;
}

.vcard .email {
  font-size: 120%;
  font-family: 'Shadows Into Light Two', cursive;
  letter-spacing: .1em;
}

.vcard .municipality {
  display: block;
}

.open_sign {
  width: 200px;
  display: block;
  -webkit-transform: rotateZ(-10deg);
          transform: rotateZ(-10deg);
}

nav {
  border-top: 2px solid black;
  font-family: 'Shadows Into Light Two', cursive;
  position: relative;
  margin: 0 auto;
}
nav button {
  display: none;
}
nav ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 110%;
  width: 100%;
  max-width: 1140px;
}
nav ul.sticky {
  position: fixed;
  top: 0;
  background: #222;
  border-bottom: 1px solid #222;
  z-index: 99999;
}
nav ul.sub-menu {
  display: none;
}
nav ul li {
  list-style: none;
  display: inline-block;
  margin: 0;
}
nav ul li:last-child {
  margin-right: 0;
}
nav ul li.current-menu-ancestor ul, nav ul li.current_page_parent ul, nav ul li.current-menu-item ul {
  display: none;
}
nav ul li.current-menu-ancestor > a {
  color: #d53e0c;
}
nav ul li a {
  display: block;
  text-decoration: none;
  padding: .25em .4em;
  text-align: left;
  color: #fdfafa;
}
nav ul li a:hover, nav ul li a:focus, nav ul li a:active {
  color: #d53e0c;
}
nav ul li a:visited {
  color: white;
}
nav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] {
  margin-top: 0;
  margin-left: 0.5rem;
  padding: 0;
  display: block;
  background: #e8e0d0;
  text-align: left;
}
nav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] a {
  padding: 0.25rem 0.5rem;
  color: black;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
nav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] a:hover, nav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] a:focus {
  color: #d53e0c;
}
nav ul li [aria-haspopup="true"] + ul li {
  display: block;
  position: relative;
  border-bottom: 1px solid white;
}
main {
  padding: .6875em .5em 2em;
  background: rgba(0, 0, 0, .7);
  line-height: 1.25;
}
.tag {
  color: #fdfafa;
  background: #d53e0c;
  font-family: 'Courgette', cursive;
  font-size: 160%;
  text-align: center;
  padding: .25em 0;
  margin: .5em 0;
}
.cycle-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  display: block;
}
.cycle-slideshow img:first-child {
  position: static;
  z-index: 100;
}
#custom-pager {
  border-radius: 6px;
  background: rgba(0, 0, 0, .8);
  padding: .25em;
  text-align: right;
  z-index: 500;
  position: absolute;
  right: 1em;
  bottom: 1em;
  overflow: hidden;
  display: block;
}
#custom-pager button {
  border: none;
  width: 20px;
  height: 22px;
  margin: 0 .4em .25em;
  background: url(img/red-berry.png) 50% 50% no-repeat;
}
#custom-pager button.cycle-pager-active {
  background: url(img/white-berry.png) 50% 50% no-repeat;
}
.vertical {
  text-transform: uppercase;
  color: #d53e0c;
  font-family: 'Arial Black', sans-serif;
}
.text {
  display: inline-block;
  margin-left: 2.5em;
  vertical-align: top;
  position: relative;
}
.intro {
  display: inline-block;
  width: 34%;
  vertical-align: top;
  position: relative;
}
.intro h1 {
  font-size: 200%;
  margin: 0;
}
.features {
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.features .text {
  margin: 1em 0 0 3.5em;
}
.features .leftcol, .features .rightcol {
  float: left;
}
.features .leftcol {
  margin-right: 1rem;
}
.features h2 {
  font-size: 210%;
  margin: 0;
}
.features a {
  text-decoration: none;
}
.features h3 {
  text-transform: uppercase;
  font-family: 'Shadows Into Light Two', cursive;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .7);
}
.features .text div {
  width: 322px;
  height: 150px;
  margin-bottom: .8em;
  position: relative;
}
.features .text div h3 {
  background-image: url(img/board.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
}
.features .text div h3 span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}
.features .text div.block3, .features .text div.block4 {
  height: 316px;
}
.features .text div.block2 h3, .features .text div.block5 h3 {
  width: 160px;
  height: 150px;
  line-height: 150px;
  position: absolute;
  right: 0;
  padding: 0 1rem;
  text-align: center;
  vertical-align: middle;
}
.slide {
  position: relative;
}
.slide p {
  font-family: 'Shadows Into Light Two', cursive;
  font-size: 130%;
  color: black;
  background: url(img/barnboard-slide.png) 50% 50% no-repeat;
  position: absolute;
  left: 0;
  bottom: 2rem;
  padding: 1rem;
}
.slide img {
  max-width: 100%;
  height: auto;
}
.content {
  padding: 1em 3em;
  display: inline-block;
  vertical-align: top;
  width: 100%;
}
.content button, .content a.button {
  text-decoration: none;
  margin-top: 1em;
  padding: 0.2em 1em;
  border: 2px solid #d53e0c;
  border-radius: 2px;
  background: black;
  font-weight: 700;
  letter-spacing: 0.05%;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  position: relative;
  font-size: 110%;
}
.content button:hover, .content a.button:hover, .content button:focus, .content a.button:focus {
  color: #d53e0c;
}
.content img {
  max-width: 100%;
  height: auto;
  border-color: #292929;
  border-width: 36px;
  border-style: solid;
  border-image-slice: 34 34 32 32;
  border-image-outset: 0px 0px 0px 0px;
  border-image-repeat: stretch stretch;
  border-image-source: url(img/frame.jpg);
  -o-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, .5);
          box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, .5);
}
.content img.noframe {
  border-width: 0;
  border-style: none;
  border-image-slice: 0;
  display: inline-block;
}

.ie9 .flex, .ie9 .copy {
  display: inline-block;
}
.grid {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  text-align: center;
  margin: 0 1em 1em 0;
}
.grid:nth-of-type(3n+3) {
  margin-right: 0;
}
.grid img {
  overflow: hidden;
}
.grid a {
  text-decoration: none;
}
.grid a:hover, .grid a:focus {
  text-decoration: underline;
}
.grid h2 {
  color: #fdfafa;
}
.row {
  width: 100%;
  display: block;
}
.row h2 {
  margin-bottom: 0.5rem;
}
.row .image {
  display: inline-block;
  max-width: 300px;
  height: auto;
}
.flex {
  display: -webkit-box;
  display: flex;
}
.copy {
  -webkit-box-flex: 3;
          flex-grow: 3;
  vertical-align: top;
  margin-right: 2.5rem;
  width: 60%;
}
.copy p:first-of-type {
  margin-top: 0.25rem;
}

main #mc_embed_signup label {
  display: block;
}
main #mc_embed_signup input[type='email'] {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem;
  background: #e1d8c8;
  border: 1px solid #e1d8c8;
  font-size: 100%;
}
main #mc_embed_signup input[type='submit'] {
  color: white;
  background: #d53e0c;
  border: 2px solid #d53e0c;
  margin-top: 0.5rem;
  padding: 0.25rem;
  font-size: 100%;
  border-radius: 2px;
}
main #mc_embed_signup input[type='submit']:hover,
main #mc_embed_signup input[type='submit']:focus {
  color: #d53e0c;
  background: #fdfafa;
}


.page-template-gallery .content img {
  border-width: 0;
  border-style: none;
  border-image-slice: 0;
  display: block;
}
.gallery:after {
  display: block;
  content: "";
  height: 1px;
  clear: both;
}
.gallery br {
  display: none;
}
.gallery .gallery-item {
  display: block;
  margin: 0;
  padding: 0;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  float: left;
  position: relative;
  overflow: hidden;
}
.gallery .gallery-item dt, .gallery .gallery-item dd {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
.gallery .gallery-item dt a img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery .gallery-item dd {
  pointer-events: none;
  font-size: 90%;
  position: absolute;
  bottom: -10em;
  background: black;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5em;
  -webkit-transition: bottom 0.3s;
  transition: bottom 0.3s;
}
.gallery .gallery-item:hover dd, .gallery .gallery-item:focus dd, .gallery .gallery-item.hover dd {
  bottom: 0;
}
.gallery.gallery-columns-2 .gallery-item {
  width: 49%;
}
.gallery.gallery-columns-3 .gallery-item {
  width: 32%;
}
.gallery.gallery-columns-4 .gallery-item {
  width: 24%;
}
#lightbox {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  background: black;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10;
}
#lightbox .loading {
  position: fixed;
  top: 40%;
  left: 0;
  color: white;
  z-index: 3;
  font-size: 2.5em;
  padding: 0.5em;
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.1s;
  transition: opacity 0.1s;
  pointer-events: none;
}
#lightbox.changing #img-box, #lightbox.changing #prev, #lightbox.changing #next {
  opacity: 0 !important;
}
#lightbox.changing .loading {
  opacity: 1;
}
#lightbox button {
  pointer-events: none;
}
#lightbox.active {
  height: 100%;
  opacity: 1;
  pointer-events: auto;
}
#lightbox.active button {
  pointer-events: auto;
}
#lightbox .image {
  text-align: center;
  height: 100%;
}
#lightbox .image #img-box {
  display: inline-block;
  max-width: 98%;
  max-height: 80%;
  width: auto;
  height: auto;
  vertical-align: middle;
  position: relative;
  opacity: 1;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
#lightbox .image #img-box #photo {
  display: block;
  height: auto;
  max-height: 100%;
  width: auto;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.8);
  pointer-events: none;
  margin: 0 auto;
  text-align: center;
}
#lightbox .image #img-box .caption {
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5em;
  background: black;
  background: rgba(0, 0, 0, 0.8);
  color: white;
}
#lightbox .image #next, #lightbox .image #prev {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: none;
  text-align: left;
  border: none;
  outline: none;
  opacity: 0;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  cursor: pointer;
}
#lightbox .image #next:hover, #lightbox .image #prev:hover, #lightbox .image #next:focus, #lightbox .image #prev:focus {
  opacity: 1;
}
#lightbox .image #next img, #lightbox .image #prev img {
  width: 5em;
  height: auto;
}
#lightbox .image #next {
  left: 50%;
  text-align: right;
}
#lightbox .image #close {
  font-family: 'Josefin Sans', sans-serif;
  padding: 0.25em 1em;
  font-size: 100%;
  position: absolute;
  top: 1.5em;
  right: 1em;
  background: black;
  background: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 2px;
  cursor: pointer;
}
#lightbox .image #close:hover, #lightbox .image #close:focus {
  background: white;
  color: black;
}
#lightbox .image .height {
  vertical-align: middle;
  display: inline-block;
  height: 100%;
  width: 0.001%;
}
.wp-caption {
  max-width: 100%;
  position: relative;
  display: block;
}
.wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
}
.wp-caption p.wp-caption-text {
  display: block;
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 0.5em;
  left: 0;
  bottom: 0;
  color: white;
  background: rgba(0, 0, 0, 0.7);
}

.content header {
  background: none;
  min-height: 0;
}
.woocommerce * {
  font-family: inherit;
  font-size: inherit;
}
.woocommerce ul.tabs.wc-tabs {
  display: none;
}
.woocommerce ul.products li.product {
  vertical-align: top;
}
.woocommerce ul.products li.product a h3:hover, .woocommerce ul.products li.product a h3:focus {
  color: #d53e0c;
}
.woocommerce ul.products li.product p.price, .woocommerce ul.products li.product span.price {
  color: #d53e0c;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: #d53e0c;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
  margin-top: 1em;
  margin-right: 1em;
}

.content .fancybox.image img {
  border-width:  10px;
}

.woocommerce .cart p, .woocommerce .shop_table p, .woocommerce td.product-name dl.variation dd, .woocommerce td.product-name dl.variation dt {
  margin: 0 0.25rem 0 0;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  color: #fdfafa;
  background-color: #d53e0c;
  line-height: inherit;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce #respond input#submit:focus, .woocommerce a.button:focus, .woocommerce button.button:focus, .woocommerce input.button:focus, .woocommerce #respond input#submit.alt:focus, .woocommerce a.button.alt:focus, .woocommerce button.button.alt:focus, .woocommerce input.button.alt:focus {
  color: #d53e0c;
  background-color: #fdfafa;
}
.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, .woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, .woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover {
  background-color: #f35521;
}
.woocommerce-cart .shop_table table tbody tr:nth-child(even) {
  background: #000;
}
.woocommerce-cart .shop_table table tbody tr:last-child {
  background: transparent;
}
.woocommerce-cart .shop_table table.cart td, .woocommerce-cart .shop_table table.cart th {
  vertical-align: top;
}
.woocommerce-cart table.cart img, #add_payment_method #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img {
  display: none;
}
#add_payment_method #payment, .woocommerce-checkout #payment {
  background: transparent;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  line-height: 2;
}

.woocommerce .select {
  color: #000 !important;
}

.cartinfo {
  width: 100%;
  position: relative;
  display: block;
}
.cartinfo ul {
  margin: 1em 0 0;
  padding: 0;
  text-align: right;
}
.cartinfo ul li {
  display: inline-block;
  list-style: none;
  margin-left: 0.5rem;
}
.post-list {
  width: 60%;
  display: inline-block;
  vertical-align: top;
}
.post {
  margin-bottom: 4rem;
  position: relative;
}
.post h2 a {
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
  text-transform: none;
  color: #d53e0c;
}
.post h2 a:hover, .post h2 a:focus {
  text-decoration: underline;
}
.post:last-child {
  border: none;
}
.post a.read-more {
  color: white;
  background: url(img/ribbon.png) no-repeat;
  width: 200px;
  height: 34px;
  padding: 0.5em 0 0.5em 4em;
  display: inline-block;
  position: absolute;
  text-decoration: none;
  font-size: 90%;
  font-style: italic;
  right: 0;
  bottom: -3rem;
}
.post a.read-more:hover, .post a.read-more:focus {
  color: #fdfafa;
}
.category-list {
  display: inline-block;
  width: 25%;
  vertical-align: top;
  padding: 1rem;
  margin: 5rem 0 2rem 5rem;
  border-radius: 4px;
  border: 1px solid #d53e0c;
}
.category-list h2 {
  font-weight: normal;
}
.category-list ul {
  padding: 0;
  list-style-type: none;
}
.category-list ul li {
  padding: 0;
  margin: 0 0 0.4rem;
}
.navigation {
  margin: 1rem auto;
}
.navigation li {
  list-style: none;
  display: inline-block;
  margin: 0 0.5rem;
}
footer {
  position: relative;
  clear: both;
  background: url(img/footer-board.png) center bottom no-repeat;
}
footer .inner {
  padding: 0 2rem;
  display: block;
}
footer .newsletter {
  display: inline-block;
  padding: 1.5em 0;
}
footer .newsletter h3 {
  margin: 0 0 .5em;
}
footer .newsletter p {
  color: #fdfafa;
  margin: 0 0 1em;
}
footer .newsletter label {
  display: block;
}
footer .newsletter input[type='email'] {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem;
  background: #e1d8c8;
  border: 1px solid #e1d8c8;
  font-size: 100%;
}
footer .newsletter input[type='submit'] {
  color: white;
  background: #d53e0c;
  border: 2px solid #d53e0c;
  display: block;
  margin-top: 0.5rem;
  padding: 0.25rem;
  font-size: 100%;
  border-radius: 2px;
}
footer .newsletter input[type='submit']:hover, footer .newsletter input[type='submit']:focus {
  color: #d53e0c;
  background: #fdfafa;
}
footer .social {
  list-style-type: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}
footer .social li {
  display: inline-block;
  margin: 0;
  text-align: center;
}
footer .social li img {
  position: relative;
  top: 1.5rem;
}
footer .social li img:hover, footer .social li img:focus {
  -webkit-transform: scale(1.02);
      transform: scale(1.02);
}
body.ios #lightbox .image #close {
  top: 0.5rem;
  right: 0.5rem;
}
body.ios #lightbox .image #next, body.ios #lightbox .image #prev {
  opacity: 1;
}
body.ios #lightbox .image #next img, body.ios #lightbox .image #prev img {
  display: none;
}
body.ios #lightbox .image #next span.hidden, body.ios #lightbox .image #prev span.hidden {
  position: static;
  left: 0;
  width: auto;
  height: auto;
  overflow: auto;
  margin: 0;
  padding: 0;
  clip: none;
  border: 0;
}
.alignleft, img.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}
.alignright, img.alignright {
  display: inline;
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.aligncenter, img.aligncenter {
  display: block;
  clear: both;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (min-width: 62.75em) {
  body {
    background: black url(img/bg.jpg) center top no-repeat;
  }
  header {
    background: url(img/top-board.png) center top no-repeat;
    min-height: 300px;
  }
  .vertical {
    position: absolute;
    left: -5em;
    line-height: 1;
    -webkit-transform-origin: right;
        transform-origin: right;
    -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
  }
}
@media screen and (min-width: 58em) {
  footer .social li {
    background: url(img/spade.png) center top no-repeat;
    width: 76px;
    height: 168px;
  }
}
@media screen and (min-width: 48em) {
  nav ul li [aria-haspopup="true"] + ul[aria-hidden="false"] {
    min-width: 16rem;
    max-width: 0;
    z-index: 600;
    position: absolute;
    top: 2.5rem;
    background: #e8e0d0;
  }
  nav ul li [aria-haspopup="true"] + ul[aria-hidden="false"]:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 0.75rem 0.75rem;
    border-color: #e8e0d0 transparent;
    display: block;
    width: 0;
    z-index: 1;
    margin-left: -0.75rem;
    top: -0.75rem;
    left: 2rem;
  }
  nav ul li:last-child [aria-haspopup="true"] + ul[aria-hidden="false"], nav ul li:nth-last-child(2) [aria-haspopup="true"] + ul[aria-hidden="false"] {
    right: 0;
  }
  nav ul li:last-child [aria-haspopup="true"] + ul[aria-hidden="false"]:after, nav ul li:nth-last-child(2) [aria-haspopup="true"] + ul[aria-hidden="false"]:after {
    left: auto;
  }
  nav ul li:last-child [aria-haspopup="true"] + ul[aria-hidden="false"]:after {
    right: 4rem;
  }
  nav ul li:nth-last-child(2) [aria-haspopup="true"] + ul[aria-hidden="false"]:after {
    right: 50%;
  }
  footer .inner {
    background: url(img/cow.png) center bottom no-repeat;
  }
}
@media screen and (max-width: 71.25em) {
  .vcard {
    margin-left: 6rem;
  }
  nav ul {
    font-size: 105%;
    margin: 0 0.25rem;
  }
  .vertical {
    left: -11.5rem;
  }
  .text {
    margin-left: 2rem;
  }
  .intro {
    width: 25%;
  }
  .intro h1 {
    font-size: 180%;
  }
  .features .text {
    margin-left: 4rem;
  }
  .features h2 {
    font-size: 190%;
  }
}
@media screen and (max-width: 67.5em) {
  nav ul {
    font-size: 95%;
  }
  nav ul li a {
    padding: 0.25rem;
  }
}
@media screen and (max-width: 66em) {
  .vcard {
    margin: 0.25rem 0 0 1rem;
  }
}

@media screen and (max-width: 62.75em) {
  header {
    padding: 0 1rem;
  }
  img.logo {
    display: inline-block;
    max-height: 180px;
    width: auto;
  }
  .vcard {
    left: auto;
    top: auto;
    margin: 1rem 1rem 0 2rem;
  }
  .vcard .tel {
    font-size: 140%;
  }
  .open_sign {
    width: 140px;
  }
  .open_sign img {
    width: 140px;
    height: auto;
  }
  .intro, .features {
    width: 100%;
  }
  .intro .text, .features .text {
    margin: 0;
  }
  .intro .text div, .features .text div {
    height: auto;
  }
  .intro .text div.block2 h3, .features .text div.block2 h3, .intro .text div.block5 h3, .features .text div.block5 h3 {
    width: 100%;
    height: auto;
    line-height: normal;
    position: absolute;
    right: auto;
    bottom: 0;
    padding: 0.5rem 0;
    text-align: center;
  }
}
@media screen and (max-width: 58em) {
  nav {
    border-top: none;
    background: black;
  }
  nav button {
    -webkit-transition: none;
    transition: none;
    cursor: pointer;
    text-transform: uppercase;
    display: block;
    background: black;
    color: white;
    padding: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem auto 0;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 1px 1px 2px #111;
    width: 100%;
  }
  nav button.open {
    display: block;
    margin-bottom: 0.1rem;
  }
  nav ul {
    height: 0px;
    overflow: hidden;
    width: 100%;
    margin: 0;
  }
  nav ul.sticky {
    position: static;
    top: auto;
    z-index: auto;
  }
  nav ul li {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    border-bottom: 1px solid #333;
  }
  nav ul li ul {
    padding-left: 0;
  }
  nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] {
    min-width: 0;
    width: 100%;
    position: static;
    top: 0.5rem;
  }
  nav ul [aria-haspopup="true"] + ul[aria-hidden="false"] li:last-child {
    border-bottom: none;
  }
  .tag {
    font-size: 110%;
  }
  .slide p {
    font-size: 110%;
    bottom: 0;
  }
  .content, .category-list {
    width: 100%;
    display: block;
  }
  .content {
    padding: 1rem;
  }

  .gallery .gallery-item dt a img {
    border-width: 0;
    border-style: none;
    border-image-slice: 0;
  }

  .gallery.gallery-columns-2 .gallery-item,
  .gallery.gallery-columns-3 .gallery-item,
  .gallery.gallery-columns-4 .gallery-item {
    width: 48%;
  }
  iframe {
    padding: 0.5rem;
    border: 5px solid #f2f2f2;
  }
  footer .social li img {
    top: auto;
    bottom: 1.5rem;
    right: 1.5rem;
    border-radius: 40px;
  }
  #lightbox {
    font-size: 2vw;
  }
  #lightbox .image #close {
    top: 0.5em;
    right: 0.5em;
  }
  #lightbox .image #next, #lightbox .image #prev {
    opacity: 0.8;
  }
  #lightbox .image #next img, #lightbox .image #prev img {
    width: 3em;
  }
}
@media screen and (max-width: 52em) {
  img.logo {
    max-height: 150px;
    display: block;
    margin: 0 auto;
  }
  .vcard {
    display: block;
    text-align: center;
    width: 100%;
    margin: 1rem 0 2rem;
  }
  .woocommerce ul.products li.product {
    width: 48%;
  }
  .flex {
    flex-wrap: wrap;
  }
  .row .image {
    width: 100%;
    max-width: none;
  }
  .copy {
    margin-right: auto;
  }

  .gallery.gallery-columns-2 .gallery-item,
  .gallery.gallery-columns-3 .gallery-item,
  .gallery.gallery-columns-4 .gallery-item {
    width: 98%;
  }

  footer .inner {
    padding: 0 1rem;
  }
  footer .newsletter input[type='submit'] {
    font-size: 90%;
  }
}
@media screen and (max-width: 36em) {

  header .inner {
    display: block;
  }
  
  .vcard {
    top: auto;
    left: auto;
    text-align: center;
    margin-top: 0.5rem;
    display: block;
  }
  
  .open_sign {
    display: none;
  }

  .features .text div {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .features .text div h3, .features .text div img {
    max-width: 100%;
  }
  .woocommerce ul.products li.product {
    width: 100%;
  }
  footer {
    font-size: 90%;
  }
  footer .newsletter, footer .social {
    width: 100%;
    display: block;
    margin: 0 auto 0.5rem;
    text-align: center;
  }
  footer .newsletter {
    padding: 0.5rem 0;
  }
  footer .newsletter input[type='submit'] {
    padding: 0.25rem;
    display: initial;
  }
  footer .social {
    position: static;
    right: auto;
    bottom: auto;
  }
  footer .social li img {
    bottom: auto;
    right: auto;
  }
  #lightbox {
    font-size: 3.5vw;
  }
  #lightbox .image #img-box .caption {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 150%;
  }
}
