/*
  Ported from the "Grace Modified" WordPress theme (v1.1.1) by Eric Heikes,
  based on the Grace Photoblog theme by 7879 Designs (http://7879designs.co.uk/).

  The CSS, HTML and design is released under GPL:
  http://www.opensource.org/licenses/gpl-license.php
*/

/* apply a natural box layout model to all elements */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ===== Primary Styles ========================================================
   Authors: 7879 Designs & Eric Heikes
   ========================================================================== */

body {
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 'DejaVu Sans', 'Bitstream Vera Sans', 'Liberation Sans', Verdana, 'Verdana Ref', sans-serif;
  font-size: 14px;
  line-height: 1em;
  color: #333;
  background: #fff;
}

p, ul, ol, dl {
  line-height: 1.9em;
  margin: 0 0 1em;
}

h1, h2, h3 {
  font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
  font-style: italic;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  font-weight: normal;
}

h1 {
  font-size: 30px;
  line-height: 1em;
}

h2 {
  font-size: 23px;
  line-height: 1em;
}

h3 {
  font-size: 20px;
  line-height: 1em;
}

a {
  color: #333;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: separate;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: "" "";
}

/* =============================================================================
   Common classes
   ========================================================================== */

/* background-image used for the contents */
.img {
  background-repeat: no-repeat;
  background-color: #eee;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  /* hide contents */
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* Note: IE8- doesn't recognize background-size,
   so the images will be shown at actual size. */
.img.contained {
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}

.img.covered {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.small-print {
  font-size: xx-small;
}

.hidden {
  display: none;
}

.clearall {
  clear: both;
}

/* =============================================================================
   Page structure
   ========================================================================== */

body {
  background: #ccc1ba url(../images/body-bg-brown.jpg) 0 0 repeat;
}

#page > header {
  background: transparent url(../images/header-bg.png) -106px 0px no-repeat;
  height: 220px;
  overflow: visible;
}

#blogTitle {
  float: left;
  margin: 95px 0 0 20px;
  height: 89px;
}

#blogTitle h1,
#blogTitle h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: normal;
}

#blogTitle h1 {
  font-size: 23px;
  line-height: 1em;
  color: #fff;
  text-transform: uppercase;
}

#blogTitle h1 a {
  font-family: Georgia, Constantia, 'Lucida Bright', Lucidabright, 'Lucida Serif', Lucida, 'Liberation Serif', serif;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

#blogTitle h1 a:hover,
#blogTitle h1 a:active {
  text-decoration: underline;
}

#blogTitle h2 {
  font-size: 23px;
  color: #000;
  text-transform: lowercase;
  padding-bottom: 10px;
}

#page {
  margin: 0 auto;
  margin-bottom: 100px;
}

#content {
  position: relative;
  background: #fff url(../images/page-bg.jpg) 100% 0 no-repeat;
  padding: 24px;
  padding-top: 48px;
}

#content nav.flyout {
  position: absolute;
  top: 0;
  right: 0;
}

#content nav.flyout ul {
  margin-right: 80px;
}

#content nav.flyout li {
  float: left;
  margin: 0 .25em;
}

#content nav.flyout li a {
  float: left;
  display: block;
  font-weight: bold;
  padding: .5em 1em;
  background: #ece4de;
  border: 1px solid #fff;
  border: 1px solid rgba(255, 255, 255, .6);
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  -webkit-transition: padding 500ms;
  -moz-transition: padding 500ms;
  -o-transition: padding 500ms;
  -ms-transition: padding 500ms;
  transition: padding 500ms;
}

#content nav.flyout li a:hover,
#content nav.flyout li a:active {
  padding: 1em;
  color: #fff;
  background: #551A8B; /* Old browsers */
  background: -moz-linear-gradient(-45deg, #735c89 0%, #735c89 35%, #551a8b 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#735c89), color-stop(35%,#735c89), color-stop(100%,#551a8b)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, #735c89 0%,#735c89 35%,#551a8b 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(-45deg, #735c89 0%,#735c89 35%,#551a8b 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(-45deg, #735c89 0%,#735c89 35%,#551a8b 100%); /* IE10+ */
  background: linear-gradient(135deg, #735c89 0%,#735c89 35%,#551a8b 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#735c89', endColorstr='#551a8b',GradientType=0 ); /* IE6-9 fallback on vertical gradient */
}

#content nav.flyout li.cart a:before {
  content: "";
  display: inline-block;
  margin-right: 2px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  opacity: 0.8;
  background-image: url("../images/glyphicons-halflings.png"); /* thanks glyphicons.com */
  background-position: -360px -120px;
  background-repeat: no-repeat;
}

#content nav.flyout li.cart a:hover:before,
#content nav.flyout li.cart a:active:before {
  background-image: url("../images/glyphicons-halflings-white.png"); /* thanks glyphicons.com */
}

article img {
  max-width: 100%;
  height: auto;
}

article iframe { /* map on Contact page */
  max-width: 100%;
}

#page > aside {
  background: #fff;
  margin-top: 1.5em;
}

#page > footer {
  margin: .5em 0;
  text-align: right;
}

#page > footer a {
  color: #333;
}

/* =============================================================================
   Artwork pages
   ========================================================================== */

article .private-note {
  background: #ff0;
  padding: 0.25em 0.5em;
  border: 1px solid #ccc;
}

article figure {
  float: left;
  margin-bottom: 18px;
  width: 100%;
  text-align: center;
  max-width: 100%; /* for IE */
}

article.vertical figure {
  margin-top: 10px;
  margin-right: 24px;
}

article figure img {
  max-width: 100%;
}

article.horizontal h1 {
  clear: left;
}

article.vertical h1 {
  margin-top: 0;
}

article .subheading {
  font-style: italic;
  margin-bottom: 1.5em;
}

article .meta {
  margin: 1.5em 0 2em;
  padding: 1.25em 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

article .meta p {
  line-height: 1.25em;
  margin-bottom: 0.5em;
}

table.purchase-options {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 0.5em;
}

table.purchase-options tr:nth-of-type(odd) {
  background-color: #eee;
}

table.purchase-options tr:nth-of-type(even) {
  background-color: #fff;
}

table.purchase-options td {
  padding: .5em;
  vertical-align: middle;
}

table.purchase-options td p {
  line-height: 1.25em;
  margin-bottom: 0;
}

table.purchase-options td.format strong {
  font-size: 1.1em;
}

table.purchase-options .dimensions {
  white-space: nowrap;
}

table.purchase-options td.thumbnail {
  text-align: center;
  /* override the .thumbnail defs */
  display: table-cell;
  width: 100px;
  height: auto;
}

table.purchase-options td.thumbnail img {
  border: 1px solid #666;
}

table.purchase-options td.call-to-action {
  white-space: nowrap;
  text-align: right;
}

table.purchase-options td.call-to-action .product-option {
  margin-bottom: 0.5em;
}

table.purchase-options td.call-to-action .price {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.25em;
  font-weight: bold;
}

table.purchase-options td.call-to-action .price del {
  display: block;
}

table.purchase-options td.call-to-action form {
  display: inline;
}

.payments-accepted {
  margin: 0;
  margin-right: 0.5em; /* align with table */
  padding: 0;
  float: right;
}

.payments-accepted li {
  list-style: none;
  float: left;
  margin-left: 3px;
}

.purchase-info .help {
  line-height: 1.5em;
  clear: both;
  text-indent: -0.3em;
  margin-left: 0.3em;
  padding-top: 1em;
}

/* =============================================================================
   Archive & Search pages
   ========================================================================== */

.search article,
.archive article,
.paged article {
  margin-bottom: 2em;
}

.search article h2 a,
.archive article h2 a,
.paged article h2 a {
  text-decoration: none;
}

.search article h2 a:hover,
.search article h2 a:active,
.archive article h2 a:hover,
.archive article h2 a:active,
.paged article h2 a:hover,
.paged article h2 a:active {
  text-decoration: underline;
}

.search article .date,
.archive article .date,
.paged article .date {
  font-style: italic;
  margin-bottom: 1em;
}

.search article p a,
.archive article p a,
.paged article p a {
  white-space: nowrap;
}

/* =============================================================================
   Contact page
   ========================================================================== */

.contact-info address {
  font-style: normal;
}

/* =============================================================================
   Commissions page
   ========================================================================== */

.page-commissions .samples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1em;
  align-items: center;
  justify-items: center;
  margin: 1.5em 0;
}

/* The full images, scaled down to thumbnail size. */
.page-commissions .samples img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 180px;
  border: 2px solid #cfcfcf;
}

.commission figure {
  float: none;
}

/* =============================================================================
   Widgets
   ========================================================================== */

section.recent-posts ul,
section.categories ul {
  padding-left: 0;
  margin-bottom: 0;
}

section.recent-posts li,
section.categories li {
  list-style: none;
  display: block;
  float: left;
  margin-right: 24px;
  margin-bottom: 15px;
}

section.recent-posts li:nth-of-type(3n) {
  margin-right: 0;
}

section.recent-posts li a {
  display: block;
  width: 68px; /* 1 col */
  height: 68px;
}

section.categories li span {
  display: block;
  width: 160px; /* 2 cols */
  height: 160px;
  margin-bottom: 5px;
}

section.categories li a {
  display: block;
  text-align: center;
}

section.search {
  margin-bottom: 15px;
}

#page > aside section {
  margin-bottom: 30px;
}

/* =============================================================================
   Common components
   ========================================================================== */

.button,
nav.pagination a {
  font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1em;
  text-transform: uppercase;
  padding: 10px 23px;
  color: #fff;
  background: #333;
  border: 0;
  border-radius: 3px;
}

.button:hover,
.button:active,
nav.pagination a:hover,
nav.pagination a:active {
  background: #000;
  cursor: pointer;
}

.button.disabled {
  background: #666;
  color: #ccc;
  cursor: default;
}

nav.pagination {
  clear: both;
  margin-top: 2em;
}

nav.pagination .previous,
nav.pagination .next {
  width: 45%;
}

nav.pagination .previous {
  float: left;
}

nav.pagination .next {
  float: right;
  text-align: right;
}

nav.pagination a {
  display: inline-block;
  text-align: center;
  min-width: 8em;
}

nav.pagination a,
nav.pagination a:hover,
nav.pagination a:active {
  text-decoration: none;
}

form.search #s {
  border: 1px solid #444;
  padding: 4px 2px;
  font-size: 1.1em;
  width: 140px;
  margin-right: 10px;
}

/* Google Programmable Search box, restyled to match the original form.search. */
section.search .gsc-control-cse {
  padding: 0;
  border: 0;
  background: transparent;
}

section.search form.gsc-search-box,
section.search table.gsc-search-box {
  margin: 0;
  width: auto;
}

section.search td.gsc-input {
  padding-right: 10px;
}

section.search .gsc-input-box {
  width: 140px;
  border: 1px solid #444;
  border-radius: 0;
  padding: 4px 2px;
  background: #fff;
}

section.search input.gsc-input {
  font-size: 1.1em;
  line-height: 1.4;
  color: #222;
}

section.search .gsc-input-box td,
section.search .gsc-input-box input.gsc-input {
  padding: 0 !important;
  height: auto !important;
  vertical-align: middle;
}

section.search td.gsc-search-button {
  display: table-cell !important;
  width: auto;
  vertical-align: middle;
}

section.search button.gsc-search-button {
  font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1em;
  text-transform: uppercase;
  padding: 10px 23px;
  margin: 0;
  color: #fff;
  background: #333;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  display: inline-block !important;
}

section.search button.gsc-search-button:hover,
section.search button.gsc-search-button:focus {
  background: #000;
}

section.search button.gsc-search-button svg {
  display: none;
}

section.search button.gsc-search-button::after {
  content: "Search";
}

section.search td.gsc-clear-button {
  display: none;
}

/* =============================================================================
   Wordpress classes
   ========================================================================== */

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* =============================================================================
   Social sharing buttons (from https://simplesharingbuttons.com)
   ========================================================================== */

ul.share-buttons {
  list-style: none;
  padding: 0;
}

ul.share-buttons li {
  display: inline;
}

ul.share-buttons .sr-only {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

ul.share-buttons img{
  width: 32px;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

/*  Default Layout: 944px.
    Gutters: 24px.
    Inner margins: 24px.
    Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

#page {
  width: 944px; /* 10 cols + gutters */
  padding: 0;
}

#logo {
  float: left;
  margin: 75px 0 0 24px;
}

#blogTitle {
  width: 425px;
}

article figure .additional {
  display: inline-block;
}

article figure .additional a {
  width: 68px;
  display: inline-block;
}

article.vertical figure {
  width: 436px; /* 5 cols */
}

article.vertical h1,
article.vertical .art-info,
article.vertical .purchase-info {
  margin-left: 460px; /* 5 cols + gutter */
}

article.horizontal .art-info {
  float: left;
  width: 344px; /* 4 cols */
  margin-right: 24px;
}

article.horizontal .purchase-info {
  float: left;
  width: 528px; /* 6 cols */
}

.search article,
.archive article,
.paged article {
  width: 436px; /* 5 cols */
}

.search article,
.archive article,
.paged article {
  float: left;
}

.search article:nth-of-type(odd),
.archive article:nth-of-type(odd),
.paged article:nth-of-type(odd) {
  margin-right: 24px;
  clear: left;
}

article .thumbnail {
  display: block;
  width: 100%;
  height: 250px;
}

#page > aside .col {
  float: left;
  width: 252px; /* 3 cols */
  margin-right: 24px;
}

#page > aside .col:nth-of-type(3) {
  width: 344px; /* 4 cols */
}

#page > aside .col:first-child {
  margin-left: 24px;
}

section.categories li:nth-of-type(2n) {
  margin-right: 0;
}

/*  Tablet Layout: 768px.
    Gutters: 24px.
    Inner margins: 24px.
    Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {

  #page {
    width: 760px; /* 8 cols + gutters */
  }

  #page > header {
    background-position: -290px 0px;
  }

  #blogTitle {
    width: 295px;
  }

  article.vertical figure {
    width: 344px; /* 4 cols */
  }

  article.vertical h1,
  article.vertical .art-info,
  article.vertical .purchase-info {
    margin-left: 368px; /* 4 cols + gutter */
  }

  article.vertical .purchase-info {
    clear: left;
    margin-left: 0;
  }

  article.horizontal .art-info,
  article.horizontal .purchase-info {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .search article,
  .archive article,
  .paged article {
    width: 344px; /* 4 cols */
  }

  article .thumbnail {
    height: 200px; /* preserve 250/436 ratio */
  }

  #page > aside .col {
    width: 344px; /* 4 cols */
    margin-right: 24px;
  }

  #page > aside .col:nth-of-type(3) {
    margin: 0;
    padding: 0 24px;
    width: 100%;
  }

  section.categories li:nth-of-type(2) {
    margin-right: 24px;
  }

  section.recent-posts li:nth-of-type(3n) {
    margin-right: 24px;
  }

  section.recent-posts li:nth-of-type(4n) {
    margin-right: 0;
  }

  section.recent-posts li:nth-of-type(9) {
    display: none;
  }

}

/*  Mobile Layout: 320px.
    Gutters: 24px.
    Inner margins: 24px.
    Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {

  #page {
    width: 300px; /* 3 cols + gutters */
  }

  #page > header {
    background: none;
    height: auto;
  }

  #logo {
    float: none;
    width: 87px; /* size of img */
    margin: 32px auto 16px;
  }

  #blogTitle {
    float: none;
    margin: 16px; 24px;
    width: auto;
    height: auto;
  }

  #content {
    background-image: none;
    padding-top: 0;
  }

  #content nav.flyout {
    position: relative;
    margin-bottom: 18px;
  }

  #content nav.flyout ul {
    margin-right: 0;
  }

  #content nav.flyout li {
    float: none;
    width: 100%;
  }

  #content nav.flyout li a {
    float: none;
  }

  article.vertical figure {
    width: 100%;
  }

  article.vertical h1,
  article.vertical .art-info,
  article.vertical .purchase-info {
    width: 100%;
    margin-left: 0;
  }

  article.vertical .purchase-info {
    clear: left;
    margin-left: 0;
  }

  article.horizontal .art-info,
  article.horizontal .purchase-info {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  table.purchase-options td {
    display: block;
    width: 100%;
    float: left; /* required for IE to treat it as a block */
  }

  table.purchase-options td.thumbnail {
    width: 100%;
  }

  .payments-accepted {
    float: none;
  }

  .search article,
  .archive article,
  .paged article {
    width: 100%;
  }

  article .thumbnail {
    height: 150px; /* preserve 250/436 ratio */
  }

  #page > aside .col,
  #page > aside .col:nth-of-type(3),
  #page > aside .col:first-child {
    width: 100%;
    margin: 0;
    padding: 0 24px;
  }

  #page > aside section {
    margin-bottom: 0;
  }

  section.categories li {
    width: 100%;
    margin-right: 0;
  }

  section.categories li span {
    width: 252px;
    height: 252px;
  }

  #page > footer {
    text-align: left;
  }

  .alignleft,
  .alignright,
  a img.alignleft,
  a img.alignright {
    float: none;
    display: block;
  }

}

/*  Wide Mobile Layout: 480px.
    Gutters: 24px.
    Inner margins: 24px.
    Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {

}


/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
