/*   
Theme Name: Spencer Hill Press
Theme URI: http://www.elenabarrio.com
Description: Theme for Spencer Hill Press
Author: Elena Barrio
Author URI: http://www.elenabarrio.com
Version: 1
*/
/* Clearfix */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
/* safari and chrome */
@-webkit-keyframes wiggle {
  0% {
    -webkit-transform: rotate(1deg);
  }
  50% {
    -webkit-transform: rotate(-1deg);
  }
  100% {
    -webkit-transform: rotate(1deg);
  }
}
/* firefox */
@-moz-keyframes wiggle {
  0% {
    -moz-transform: rotate(1deg);
  }
  50% {
    -moz-transform: rotate(-1deg);
  }
  100% {
    -moz-transform: rotate(1deg);
  }
}
/* anyone brave enough to implement the ideal method */
@keyframes wiggle {
  0% {
    transform: rotate(1deg);
  }
  50% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(1deg);
  }
}
@font-face {
  font-family: 'Brandon';
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Light.eot');
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Light.eot?#iefix') format('embedded-opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Light.woff') format('woff'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Light.ttf') format('truetype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Light.otf') format('opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Light.svg#BrandonGrotesque-Light') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Brandon';
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Bold.eot');
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Bold.eot?#iefix') format('embedded-opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Bold.woff') format('woff'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Bold.ttf') format('truetype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Bold.otf') format('opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Bold.svg#BrandonGrotesque-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Brandon';
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-LightItalic.eot');
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-LightItalic.eot?#iefix') format('embedded-opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-LightItalic.woff') format('woff'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-LightItalic.ttf') format('truetype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-LightItalic.otf') format('opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-LightItalic.svg#BrandonGrotesque-LightItalic') format('svg');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Brandon Black';
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Black.eot');
  src: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Black.eot?#iefix') format('embedded-opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Black.woff') format('woff'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Black.ttf') format('truetype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Black.otf') format('opentype'), url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/fonts/BrandonGrotesque-Black.svg#BrandonGrotesque-Black') format('svg');
  font-weight: normal;
  font-style: normal;
}
::-moz-selection {
  /* Code for Firefox */
  color: white;
  background: #185678;
  opacity: .6;
}
::selection {
  color: white;
  background: #185678;
  opacity: .6;
}
html {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  color: black;
  background: white;
  height: 100%;
  font-size: 1.1em;
  line-height: 140%;
  position: relative;
  font-weight: 300;
  font-family: 'Brandon', Helvetica, sans-serif;
  color: #3a3a3a;
}
strong {
  font-family: 'Brandon', Helvetica, sans-serif;
  font-weight: bold;
  font-style: normal;
}
.red {
  color: red;
}
a {
  color: #267545;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
  text-decoration: none;
  position: relative;
}
a:active {
  top: 1px;
}
a.arrow {
  color: white;
  text-transform: uppercase;
  position: relative;
  display: block;
  margin-top: 5px;
}
a.arrow:after {
  content: '►';
  margin-left: 5px;
  top: -10px;
  font-size: 60%;
  line-height: 0%;
}
sup {
  position: relative;
  top: 1px;
  margin-left: 2px;
  font-size: 60%;
}
.anchor {
  position: relative;
}
.anchor a {
  position: absolute;
  top: -100px;
}
#menu-btn {
  padding: 20px;
  background: #185678;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  z-index: 9999;
  width: 100%;
  top: 0;
  display: block;
  font-size: 1.7em;
  text-transform: uppercase;
  position: relative;
  font-weight: bold;
  color: white;
  font-family: 'Brandon', Helvetica, sans-serif;
}
#menu-btn.reset {
  position: fixed;
}
#menu-btn.fixed {
  top: 0px;
}
header {
  -webkit-box-shadow: 0px 2px 6px -3px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 2px 6px -3px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 2px 6px -3px rgba(0, 0, 0, 0.6);
  background: white;
}
header .right-container {
  display: none;
}
header .logo-container {
  display: block;
  margin: 60px auto 20px auto;
  max-width: 310px;
  position: relative;
}
header .logo {
  background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/spence_logo.png') no-repeat;
  text-indent: -9999px;
  width: 100%;
  padding-top: 30%;
  height: auto;
  display: block;
  background-size: 100%;
  margin: 0 auto;
  position: relative;
}
.background {
  background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/longrass.jpg') 50% 0%;
  background-attachment: fixed;
  zoom: 1;
  *zoom: 1;
  background-size: 230%;
  margin-bottom: 10px;
}
.background:before {
  content: '';
  display: block;
}
.background:after {
  content: '';
  display: table;
  clear: both;
}
.background .container {
  padding-bottom: 0px !important;
}
small {
  font-size: 70%;
}
h1 {
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 1.5em;
  line-height: 100%;
  margin: 20px 0;
  font-family: 'Brandon Black', Helvetica, sans-serif;
  position: relative;
}
h1 span {
  background: white;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
h1:before {
  background: #efefef;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
}
h2 {
  text-align: center;
  font-size: 1.6em;
  line-height: 120%;
  margin: 20px 0;
  font-family: 'Brandon Black', Helvetica, sans-serif;
  font-weight: normal;
}
h3 {
  font-family: 'Brandon Black', Helvetica, sans-serif;
  font-weight: normal;
  margin: 0;
  text-transform: uppercase;
  font-size: 1.3em;
  text-align: center;
  line-height: 140%;
}
/* SLIDER HEADERS */
h4 {
  font-weight: normal;
  text-transform: uppercase;
  color: #267545;
  font-size: 1em;
  margin: 0 0 5px 0;
  line-height: 120%;
  font-family: 'Brandon Black', Helvetica, sans-serif;
}
h5 {
  font-weight: normal;
  font-size: 1.6em;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  color: black;
  line-height: 100%;
  font-family: 'Brandon Black', Helvetica, sans-serif;
}
h5 a {
  color: inherit;
}
h6 {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 120%;
  text-align: center;
  margin: 5px 0 ;
}
h6 a {
  color: #444444;
}
h7 {
  display: block;
  margin: 0;
  font-weight: norma;
  text-align: center;
}
.alignright,
.alignleft {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.buttons {
  zoom: 1;
  *zoom: 1;
  clear: both;
}
.buttons:before {
  content: '';
  display: block;
}
.buttons:after {
  content: '';
  display: table;
  clear: both;
}
.button {
  color: white;
  border-radius: 100px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #f6871f;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  padding: 5px 10px;
  width: auto;
  margin: 0 auto;
  cursor: pointer;
}
.button.current {
  background: #267545;
}
.button:hover {
  background: black !important;
}
.button.big {
  background: #39b54a;
  font-size: 1.3em;
}
.button-group {
  margin: 0 auto;
  display: block;
  text-align: center;
}
.button-group .button {
  display: inline-block;
  width: auto;
  margin: 2px;
  float: none;
  text-align: center;
}
.vid {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  display: block;
}
.video-container {
  margin: 20px 0;
  position: relative;
  padding-bottom: 55%;
  height: 0;
  overflow: hidden;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
}
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.google-maps {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}
.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.gray {
  background: #ececec;
  padding: 20px 0;
}
.darkgray {
  background: #3a3a3a;
  color: white;
  text-align: right;
  font-size: .9em;
}
.darkgray img {
  margin: 0 2px;
  width: 23px;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}
.darkgray span {
  vertical-align: middle;
}
.darkgray .container {
  padding: 3px 0 5px 0;
}
.date {
  color: #777777;
  font-size: .7em;
  margin: 0;
  text-align: center;
}
.bx-wrapper li img {
  width: 95%;
  margin: 0 auto;
  display: block;
  height: auto;
}
.copyright {
  text-align: center;
  font-size: .9em;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.copyright a {
  color: white;
  text-decoration: underline;
}
/* SLIM MENU */
.toggleMenu {
  display: none;
  background: #267545;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.5em;
  text-align: center;
  padding: 10px 0;
  height: 45px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999999;
}
nav {
  position: fixed;
  top: 45px;
  width: 100%;
  z-index: 100;
  text-align: center;
  font-family: 'Brandon Black', Helvetica, sans-serif;
  zoom: 1;
  *zoom: 1;
  clear: both;
}
nav:before {
  content: '';
  display: block;
}
nav:after {
  content: '';
  display: table;
  clear: both;
}
nav ul {
  list-style: none;
  background: #267545;
  *zoom: 1;
  padding: 0;
  margin: 0;
}
nav ul:before,
nav ul:after {
  content: " ";
  display: table;
}
nav ul:after {
  clear: both;
}
nav ul ul {
  list-style: none;
  display: block;
  width: 100%;
}
nav ul .current-menu-item a {
  text-decoration: underline;
}
nav ul li {
  text-align: center;
}
nav ul li.noclick a {
  cursor: default;
}
nav ul li.noclick a:hover {
  color: white;
}
nav ul li a {
  text-align: center;
  padding: 10px;
  font-size: 1.1em;
  color: white;
  text-transform: uppercase;
  position: relative;
}
nav ul li a.parent:after {
  content: '⤋';
  margin-left: 10px;
  top: 25%;
  position: absolute;
  color: #267545;
}
nav ul li ul {
  position: absolute;
  background: #267545;
  color: white;
  font-size: .8em;
  width: 100%;
  left: -9999px;
  -webkit-box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.3);
}
nav ul li ul li a {
  cursor: pointer !important;
}
nav ul li ul li a:hover {
  color: #39b54a !important;
}
nav ul li li a {
  display: block;
  color: white;
  position: relative;
  z-index: 100;
}
nav ul li li li a {
  z-index: 200;
}
nav ul li li .parent {
  background-image: url("https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/downArrow.png");
  background-repeat: no-repeat;
  background-position: 95% 50%;
}
nav ul > li > .parent {
  background-image: url("https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/downArrow.png");
  background-repeat: no-repeat;
  background-position: right;
}
nav ul > li > a {
  display: block;
}
nav ul > li {
  float: none;
}
nav ul > li > .parent {
  background-position: 95% 50%;
}
nav ul > li.hover > ul,
nav ul li li.hover ul {
  position: static;
}
.active {
  display: block;
}
.category img {
  max-width: 100%;
}
.search-results img,
.category-titles img,
.category-author img,
.category-press-room img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.type-titles img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  margin-top: 10px;
}
.type-post {
  zoom: 1;
  *zoom: 1;
  margin-bottom: 10px;
}
.type-post:before {
  content: '';
  display: block;
}
.type-post:after {
  content: '';
  display: table;
  clear: both;
}
.type-post img {
  width: 100%;
  height: auto;
}
.type-post p {
  margin-top: 5px;
}
.category-blog .type-post {
  border-bottom: 1px solid #ececec;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.category-blog .type-post .wp-post-image {
  width: 100%;
  height: auto;
}
ul.titles,
ul.authors {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
ul.titles li,
ul.authors li {
  margin: 0;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
}
ul.titles li img,
ul.authors li img {
  display: block;
  width: 100%;
  height: auto;
}
ul.titles h6,
ul.authors h6 {
  font-size: 110%;
  margin: 0;
}
ul.authors {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
ul.authors li {
  margin: 0;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
}
ul.authors li img {
  display: block;
  margin: 0 10px 10px 0;
  width: 50%;
  height: auto;
  float: left;
}
.buy-button {
  border: 0;
  float: left;
  width: 32%;
  border-radius: 5px;
  background: #b92324;
  padding: 7% 20px auto 70px;
  height: 80px;
  color: white !important;
  font-size: 1em;
  text-transform: uppercase;
  line-height: 100%;
  cursor: pointer;
  margin-right: 1%;
  text-align: left;
  margin-bottom: 10px;
  display: inline-block;
  box-sizing: border-box;
  padding-top: 3.5%;
  font-weight: bold;
  font-size: .9em;
  line-height: 120%;
}
.buy-button.barnes {
  background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/barnes.png') no-repeat 5% 50% #3d7141;
  background-size: 40px auto;
  padding-left: 70px;
}
.buy-button.amazon {
  background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/amazon.png') no-repeat 5% 50% #424242;
  background-size: 40px auto;
  padding-left: 70px;
}
.buy-button.powells {
  background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/powells.png') no-repeat 5% 50% #bf1b34;
  background-size: 40px auto;
  padding-left: 60px;
}
.buy-button.indiebound {
  background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/indiebound.png') no-repeat 5% 50% #991b1e;
  background-size: 40px auto;
  padding-left: 60px;
}
.css-events-list table {
  border-collapse: collapse;
  width: 100%;
}
.css-events-list table thead {
  text-transform: uppercase;
}
.css-events-list table td {
  border: 1px solid #ececec;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.css-events-list table td:first-child {
  width: 33%;
}
ul.events {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
ul.events li {
  display: table;
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
ul.events li span {
  display: table-cell;
  vertical-align: middle;
}
ul.events li span:nth-child(2n+2) {
  width: 28%;
  text-align: center;
  font-size: .8em;
  background: #ececec;
  padding: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.book {
  float: left;
  width: 50%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  /*	&:nth-child(n+1){margin-left: -(@primary-margin);}
	&:nth-child(4n+2){margin-right: -(@primary-margin);}*/
}
.book img {
  width: 100%;
  height: 100%;
}
.home-posts {
  padding: 0;
  margin: 0;
}
.home-posts li {
  list-style-type: none;
}
.home-posts li img {
  width: 100%;
  height: auto;
}
.home-posts li h6 {
  margin-bottom: 5px;
}
.home-posts li p {
  margin-top: 0px;
}
a[rel~="next"] {
  float: right;
  background: #267545;
  border-radius: 3px;
  padding: 10px;
  color: white;
  margin-left: 10px;
}
a[rel~="prev"] {
  float: left;
  background: #267545;
  border-radius: 3px;
  padding: 10px;
  color: white;
  margin-right: 10px;
}
.navigation {
  zoom: 1;
  *zoom: 1;
  text-transform: uppercase;
  padding: 20px 0;
}
.navigation:before {
  content: '';
  display: block;
}
.navigation:after {
  content: '';
  display: table;
  clear: both;
}
.navigation .prev-posts a {
  float: right;
  background: #267545;
  border-radius: 3px;
  padding: 10px;
  color: white;
  margin-left: 10px;
}
.navigation .next-posts a {
  float: left;
  background: #267545;
  border-radius: 3px;
  padding: 10px;
  color: white;
  margin-right: 10px;
}
ul#menu-sidebar {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul#menu-sidebar li {
  padding: 0;
  margin: 0;
  list-style: none;
}
ul#menu-sidebar li a {
  list-style-type: none;
  color: white;
  background: #267545;
  border-radius: 100px;
  padding: 8px;
  display: block;
  text-align: center;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.container {
  max-width: 1100px;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  zoom: 1;
  *zoom: 1;
}
.container:before {
  content: '';
  display: block;
}
.container:after {
  content: '';
  display: table;
  clear: both;
}
.white {
  background: white;
  color: black;
  margin-top: 5px;
}
.white .container {
  padding: 5px;
}
.slider {
  padding: 20px;
  background: white;
  width: 100%;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  zoom: 1;
  *zoom: 1;
}
.slider:before {
  content: '';
  display: block;
}
.slider:after {
  content: '';
  display: table;
  clear: both;
}
.slider img {
  width: 100%;
  height: auto;
}
.half {
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
input,
select,
textarea {
  border: 0;
  border-radius: 0px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ececec;
  background: white;
  font-family: 'Brandon', Helvetica, sans-serif;
  font-size: 1em;
  color: #3a3a3a;
  padding: 10px;
  opacity: 1;
  margin: 0 !important;
  display: block;
  text-align: center;
  text-align: left;
  margin-left: 20px;
  float: left;
  width: 100%;
}
input[type="submit"] {
  float: none;
  max-width: 100px;
  color: white;
  border-radius: 0px;
  font-family: 'Brandon', Helvetica, sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #267545;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  cursor: pointer;
}
select {
  height: 44px;
}
/*input[type="text"]{
	
	margin-left: @big-margin;
	float: left;
	width: calc(~'(100%) - 120px') !important;
	width: 50% !important; 
	width: -webkit-calc(~'(100%) - 120px') !important; 
	width: -moz-calc(~'(100%) - 120px') !important; 
	width: calc(~'(100%) - 120px') !important; 
	
}	*/
.searchbox {
  border: 1px solid #ececec;
  overflow: auto;
  margin-bottom: 10px;
  width: 200px;
  float: right;
}
.searchbox label {
  display: none !important;
}
.searchbox input {
  border: 0;
  border-radius: 0px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
  font-family: 'Brandon', Helvetica, sans-serif;
  color: #444444;
  font-size: .8em;
  padding: 8px 10px;
  opacity: 1;
  margin: 0 !important;
  display: block;
  text-align: center;
  text-align: left;
  margin-left: 20px;
  float: left;
  width: 80% !important;
  width: -webkit-calc((100%) - 40px) !important;
  width: -moz-calc((100%) - 40px) !important;
  width: calc((100%) - 40px) !important;
}
.searchbox input[type="submit"]#searchsubmit {
  float: right;
  max-width: 40px;
  margin: 0 !important;
  padding: 10px;
  border: 0;
  border-radius: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #ffffff url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/search.png') no-repeat 50% 50%;
  background-size: 20px 20px;
  color: white !important;
  line-height: 100%;
  cursor: pointer;
  display: block !important;
  text-indent: -9999px;
  zoom: 1;
  *zoom: 1;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
  /*
		&:after{

			background-image: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/search.png');
			position: absolute;
			top:0;
			left:0;

		}*/
}
.searchbox input[type="submit"]#searchsubmit:before {
  content: '';
  display: block;
}
.searchbox input[type="submit"]#searchsubmit:after {
  content: '';
  display: table;
  clear: both;
}
input[type="submit"] {
  /*	float: right;*/
  max-width: 100px;
  margin: 2px 0 0 0 !important;
}
.wpcf7-form-control-wrap {
  position: inherit;
}
.wpcf7-checkbox input[type="checkbox"] {
  margin: 5px 5px 0px 10px !important;
  width: auto !important;
  float: left;
}
span.wpcf7-not-valid-tip {
  clear: both;
}
span.wpcf7-list-item {
  display: block;
}
span.wpcf7-list-item {
  margin-left: 0;
}
textarea {
  height: 200px;
}
.form-container {
  zoom: 1;
  *zoom: 1;
}
.form-container:before {
  content: '';
  display: block;
}
.form-container:after {
  content: '';
  display: table;
  clear: both;
}
.form-container label {
  margin: 10px 0;
  display: block;
}
label {
  float: left;
  width: 30%;
}
.newsletter-container {
  zoom: 1;
  *zoom: 1;
}
.newsletter-container:before {
  content: '';
  display: block;
}
.newsletter-container:after {
  content: '';
  display: table;
  clear: both;
}
.newsletter-container label {
  display: none !important;
  font-weight: normal !important;
  margin-top: 10px;
}
.newsletter-container input[type="email"] {
  /*		width: calc(~'(100%) - 200px') !important;
		width: 50% !important; 
		width: -webkit-calc(~'(100%) - 100px') !important; 
		width: -moz-calc(~'(100%) - 100px') !important; 
		width: calc(~'(100%) - 100px') !important; 

	*/
}
.newsletter-container input[type="email"]:focus {
  outline: none;
}
.yith-infs-loader img {
  width: 40px !important;
  height: auto !important;
  border: none !important;
  background: rgba(255, 255, 255, 0) !important;
}
/*---- INFINITE SCROLL ICON----*/
#infscr-loading img {
  width: 30px;
  height: auto;
  display: block;
  margin: 20px auto;
}
#infscr-loading em {
  display: none !important;
}
#sidebar img {
  width: 100%;
  height: auto;
}
#sidebar ul {
  list-style-type: none;
  padding: 0;
}
#sidebar ul li {
  font-size: .9em;
  margin-bottom: 20px;
}
/* MAILCHIMP */
.branding-container {
  display: none !important;
}
body .theme-simple #mailmunch-optin-form {
  padding: 15px;
  border: 1px solid #CCC;
  border-radius: 5px;
  font-family: 'AGaramond' !important;
}
footer {
  padding: 10px 0 0 0;
  margin-top: 20px;
  background: #267545;
  color: white;
}
footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
footer ul li {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 10px;
}
footer ul li a {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}
footer h3 {
  margin: 0 0 10px 0;
}
.metaslider {
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 110%;
  padding: 0px !important;
  overflow: hidden !important;
}
.metaslider .caption p {
  display: none !important;
}
.metaslider .caption-wrap {
  top: 0;
  left: 8% !important;
  background: none !important;
  line-height: 120% !important;
  font-size: .7em;
  opacity: 1 !important;
}
.metaslider .caption-wrap h4 {
  display: none;
}
.metaslider .caption-wrap .caption {
  color: black;
  width: 53%;
}
.metaslider .caption-wrap .caption a {
  font-weight: bold;
}
.metaslider .caption-wrap .caption h5 {
  margin-bottom: 5px;
}
.boxes .box {
  width: 100%;
  background: #267545;
  background-size: 100% auto !important;
  color: white;
  margin-bottom: 10px;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.boxes .box:nth-child(2) {
  background: #185678;
}
.ngg-galleryoverview {
  margin-bottom: 20px;
}
.ngg-gallery-thumbnail-box {
  width: 49%;
  height: auto;
  margin: .5% !important;
}
.ngg-gallery-thumbnail-box .ngg-gallery-thumbnail {
  width: 100%;
  height: auto;
}
.ngg-gallery-thumbnail-box .ngg-gallery-thumbnail img {
  width: 100%;
  height: auto;
  background-color: none;
  border: none !important;
  display: block;
  margin: 0;
  padding: 0px;
  position: relative;
}
#recent-posts-2 ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#recent-posts-2 ul li {
  background: #ececec;
  margin-bottom: 10px;
  padding: 7px;
  border-radius: 5px;
  line-height: 100%;
}
#recent-posts-2 ul li span {
  display: block;
  text-transform: uppercase;
  font-size: .9em;
  margin-top: 0px;
}
/* SOCIAL ICONS */
.social {
  zoom: 1;
  *zoom: 1;
}
.social:before {
  content: '';
  display: block;
}
.social:after {
  content: '';
  display: table;
  clear: both;
}
.social ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  zoom: 1;
  *zoom: 1;
  text-align: center;
}
.social ul:before {
  content: '';
  display: block;
}
.social ul:after {
  content: '';
  display: table;
  clear: both;
}
.social ul li {
  padding: 0;
  display: inline;
}
.social ul li a {
  background-image: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/social.png');
  height: 40px;
  width: 40px;
  text-indent: -9999px;
  margin: 10px 0px 2px 10px;
  background-size: 240px 40px;
  display: inline-block;
  text-decoration: none;
  border: none;
}
.social ul li.facebook a {
  background-position: 0px 0px;
}
.social ul li.twitter a {
  background-position: 200px 0px;
}
.social ul li.youtube a {
  background-position: 159px 0px;
}
.social ul li.insta a {
  background-position: 280px 0px;
}
.social ul li.goodreads a {
  background-position: 120px 0px;
}
.social ul li.tumblr a {
  background-position: 79px 0px;
}
.social ul li:hover {
  opacity: .8;
  -webkit-transition: ease all 0.2s;
  -moz-transition: ease all 0.2s;
  -ms-transition: ease all 0.2s;
  -o-transition: ease all 0.2s;
}
footer .social ul li a {
  border-radius: 3px;
}
footer .social ul li.facebook a {
  background-color: #3069af;
}
footer .social ul li.twitter a {
  background-color: #1eb9ec;
}
footer .social ul li.youtube a {
  background-color: #ca2e2e;
}
footer .social ul li.insta a {
  background-color: #ea0086;
}
footer .social ul li.goodreads a {
  background-color: #6f2c0b;
}
footer .social ul li.tumblr a {
  background-color: #36465d;
}
footer #siteseal {
  text-align: center;
  display: block;
}
footer #siteseal img {
  margin: 0 auto !important;
  width: auto !important;
  float: none !important;
}
@-webkit-keyframes slide {
  100% {
    top: 0px;
  }
}
@keyframes slide {
  100% {
    top: 0px;
  }
}
@media all and (min-width: 640px) {
  a.arrow {
    margin-top: 25px;
  }
  .header-container {
    background: #d8e923;
    background: -moz-linear-gradient(left, #d8e923 0%, #267545 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #d8e923), color-stop(100%, #267545));
    background: -webkit-linear-gradient(left, #d8e923 0%, #267545 100%);
    background: -o-linear-gradient(left, #d8e923 0%, #267545 100%);
    background: -ms-linear-gradient(left, #d8e923 0%, #267545 100%);
    background: linear-gradient(to right, #d8e923 0%, #267545 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d8e923', endColorstr='#39b549', GradientType=1);
    padding-top: 5px;
  }
  header .logo-container {
    margin: 10px auto;
    float: left;
    width: 50%;
    max-width: 230px;
  }
  header .right-container {
    display: block;
    float: right;
    width: 50%;
    max-width: 290px;
  }
  header .right-container .social {
    float: left;
  }
  header .right-container .social ul li a {
    background-image: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/social-color.png') !important;
  }
  header .right-container .social ul li.facebook {
    margin-right: -10px !important;
  }
  header .right-container .searchform {
    float: right;
  }
  .metaslider h4 {
    display: block;
  }
  .metaslider .caption-wrap {
    left: 7%;
    top: 15%;
    font-size: 1em;
  }
  .metaslider .caption-wrap .caption h5 {
    margin-bottom: 10px;
  }
  .metaslider .caption-wrap .caption p {
    display: block !important;
  }
  nav {
    position: relative;
    z-index: 5;
    top: 0px;
    width: 100%;
    margin-left: 0;
  }
  nav.reset {
    position: fixed;
    background: white;
    padding-top: 10px;
    z-index: 111111111;
    left: 0;
    top: -100px;
    -webkit-animation: slide 0.5s forwards;
    animation: slide 0.5s forwards;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  }
  nav ul > li {
    float: left;
  }
  nav ul > li.hover > ul {
    left: 0;
  }
  nav ul li li.hover ul {
    left: 100%;
    top: 0;
  }
  nav ul li a.parent:after {
    margin-left: 5px !important;
    top: 1px !important;
  }
  nav ul {
    display: inline-block;
    text-align: center;
    background: none;
    z-index: 5;
    /*position: relative; */
  }
  nav ul .menu-item-1560 a {
    padding-right: 0px;
  }
  nav ul li {
    display: table-cell;
    vertical-align: middle;
  }
  nav ul li a {
    padding: 0px 12px;
    width: 100%;
    font-size: .9em;
    color: black;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  nav ul li a:hover {
    color: #267545;
  }
  nav ul li:last-child a {
    padding-right: 0px;
  }
  nav ul li:first-child a {
    padding-left: 0px;
  }
  nav ul ul {
    border-right: none;
    z-index: 3;
    margin-top: 0px;
  }
  nav ul ul li {
    padding: 10px;
    display: inline-block;
    float: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    list-style: none;
    text-align: cetner;
    position: relative;
  }
  nav ul ul li a {
    padding: 0 10px;
    margin: 0;
    border-right: none;
    display: block;
    zoom: 1;
    *zoom: 1;
  }
  nav ul ul li a:before {
    content: '';
    display: block;
  }
  nav ul ul li a:after {
    content: '';
    display: table;
    clear: both;
  }
  nav ul ul li a:hover {
    text-decoration: underline;
  }
  nav ul ul li:last-child {
    border-bottom: none;
  }
  nav ul > li.hover > ul,
  nav nav li li.hover ul {
    position: absolute;
  }
  header .background {
    background-size: 100%;
  }
  .search-container {
    width: 80%;
    margin: 0 auto;
    display: block;
    zoom: 1;
    *zoom: 1;
  }
  .search-container:before {
    content: '';
    display: block;
  }
  .search-container:after {
    content: '';
    display: table;
    clear: both;
  }
  label {
    float: left;
    display: inline-block !important;
    width: 100px;
    margin-top: 12.5px;
  }
  input[type="text"] {
    margin-left: 25px;
    float: left;
    width: 50% !important;
    width: -webkit-calc((100%) - 220px) !important;
    width: -moz-calc((100%) - 220px) !important;
    width: calc((100%) - 220px) !important;
  }
  input[type="submit"] {
    float: right;
    max-width: 100px;
    margin: 2px 0 0 0 !important;
  }
  .boxes .box {
    background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/zipline.jpg') #39b54a no-repeat;
    float: left;
    width: 32%;
    padding: 18% 25px 25px 25px;
  }
  .boxes .box:nth-child(2) {
    background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/kids.jpg') #185678 no-repeat;
    margin-left: 2%;
  }
  .boxes .box:last-child {
    background: url('https://www.spencerhillpress.com/wp-content/themes/spencerhill/images/wall.jpg') #39b54a no-repeat;
    float: right;
  }
  .alignright,
  .alignleft {
    width: auto;
    max-width: 250px;
  }
  .alignright {
    float: right;
    margin-left: 25px;
    margin-bottom: 50px;
  }
  .alignleft {
    float: left;
    margin-right: 25px;
  }
  ul.titles li {
    padding: 10px;
    width: 25%;
    float: left;
  }
  ul.titles li img {
    width: 80%;
    margin: 0 auto 5px auto;
    display: block;
  }
  ul.authors li {
    padding: 10px;
    width: 50%;
    float: left;
  }
  ul.authors li:nth-child(2n+2):after {
    zoom: 1;
    *zoom: 1;
    clear: both;
  }
  ul.authors li:nth-child(2n+2):after:before {
    content: '';
    display: block;
  }
  ul.authors li:nth-child(2n+2):after:after {
    content: '';
    display: table;
    clear: both;
  }
  ul.authors img {
    display: block;
    margin: 0 auto;
    width: 50%;
    margin-right: 25px;
    height: auto;
  }
  ul.authors h6 {
    text-align: left;
  }
  .newsletter-container label {
    float: left;
    display: inline-block !important;
    margin-right: 10px;
  }
  .newsletter-container input[type="email"] {
    margin-left: 25px;
    float: left;
    width: 50% !important;
    /** older browsers **/
    width: -webkit-calc((100%) - 235px) !important;
    /** Safari 6, Chrome 19-25 **/
    width: -moz-calc((100%) - 235px) !important;
    /** FF 4-15  **/
    width: calc((100%) - 235px) !important;
    /** FF 16+, IE 9+, Opera 15, Chrome 26+, Safari 7 and future other browsers **/
  }
  .form-container p {
    zoom: 1;
    *zoom: 1;
    display: block;
    margin: 10px 0;
    display: table;
    width: 100%;
  }
  .form-container p:before {
    content: '';
    display: block;
  }
  .form-container p:after {
    content: '';
    display: table;
    clear: both;
  }
  .form-container p br {
    display: none;
  }
  .form-container label {
    width: 150px;
    display: table-cell;
    vertical-align: middle;
    float: left;
    font-family: 'Brandon', Helvetica, sans-serif;
  }
  .form-container input,
  .form-container select,
  .form-container textarea {
    float: right;
    width: 50% !important;
    /** older browsers **/
    width: -webkit-calc((100%) - 160px) !important;
    /** Safari 6, Chrome 19-25 **/
    width: -moz-calc((100%) - 160px) !important;
    /** FF 4-15  **/
    width: calc((100%) - 160px) !important;
    /** FF 16+, IE 9+, Opera 15, Chrome 26+, Safari 7 and future other browsers **/
    font-family: 'Brandon', Helvetica, sans-serif;
  }
  .form-container input[type="submit"] {
    float: none;
    max-width: 100px;
    margin: 25px auto !important;
    display: block !important;
    color: white;
    font-weight: bold;
    border-radius: 100px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #f6871f;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    cursor: pointer;
  }
  input[type="submit"]#searchsubmit {
    float: none;
    max-width: 100px;
    margin: 25px auto !important;
    display: block !important;
  }
  .searchbox input {
    width: 80% !important;
    width: -webkit-calc((100%) - 40px) !important;
    width: -moz-calc((100%) - 40px) !important;
    width: calc((100%) - 40px) !important;
  }
  .category-titles .post-wrap {
    width: 31%;
    float: left;
    height: 391px;
  }
  .search-results .type-post img,
  .search-results .type-titles img,
  .category .type-post.category-author img,
  .category .type-post.category-titles img,
  .category .type-post.category-press-room img,
  .single .category-titles img,
  .single img {
    float: left;
    margin: 0 25px 25px 0 !important;
    width: 25% !important;
    height: auto;
  }
  .category-blog .type-post,
  .single .type-post {
    zoom: 1;
    *zoom: 1;
    margin-bottom: 10px;
  }
  .category-blog .type-post:before,
  .single .type-post:before {
    content: '';
    display: block;
  }
  .category-blog .type-post:after,
  .single .type-post:after {
    content: '';
    display: table;
    clear: both;
  }
  .category-blog .type-post img,
  .single .type-post img {
    width: auto;
    height: auto;
    max-width: 100%;
  }
  .category-blog .type-post p,
  .single .type-post p {
    margin-top: 5px;
  }
  .category-blog .type-post .wp-post-image,
  .single .type-post .wp-post-image {
    float: left;
    margin: 0 10px 10px 0;
    width: 25% !important;
    height: auto;
  }
  footer .col {
    width: 23%;
    float: left;
  }
  footer .col:last-child {
    float: right;
    width: 40%;
  }
  .testimonials {
    margin-bottom: 50px;
    display: block;
    zoom: 1;
    *zoom: 1;
  }
  .testimonials:before {
    content: '';
    display: block;
  }
  .testimonials:after {
    content: '';
    display: table;
    clear: both;
  }
  .third {
    width: 32%;
    float: left;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .half {
    width: 50%;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    /*.button{float: left; width: 49%; margin-top: @primary-margin;

			&:last-child{float:right;}
		}
*/
  }
  .half img {
    float: left;
    width: 48%;
  }
  .left-of-sidebar {
    float: left;
    width: 68%;
  }
  .home-posts li {
    float: left;
    width: calc(33.33333333%);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
  }
  .home-posts li:nth-child(3n):after {
    zoom: 1;
    *zoom: 1;
    clear: both;
  }
  .home-posts li:nth-child(3n):after:before {
    content: '';
    display: block;
  }
  .home-posts li:nth-child(3n):after:after {
    content: '';
    display: table;
    clear: both;
  }
  .category-blog {
    position: relative;
  }
  #sidebar {
    width: 28%;
    float: right;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    margin-bottom: 25px;
  }
  .ngg-gallery-thumbnail-box {
    width: 24%;
  }
}
@media all and (max-width: 700px) {
  @supports (overflow:-webkit-marquee) and (justify-content:inherit) {
    .darkgray .container {
      padding-top: 15%;
    }
  }
  .buy-button {
    display: inline-block;
    text-indent: -9999px;
    background-position: 50% 50% !important;
    content: "";
  }
}
@supports (-webkit-text-size-adjust:none) and (not (-ms-accelerator:true))
and (not (-moz-appearance:none)) {
  .darkgray .container {
    padding-top: 15%;
  }
}
@media all and (min-width: 980px) {
  nav ul li a {
    padding: 0px 25px 15px 25px;
    margin-bottom: -5px;
  }
}
