/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* FONTS */

@font-face {
  font-family: 'CaviarDreams';
  src: url('../fonts/CaviarDreams.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CaviarDreams';
  src: url('../fonts/CaviarDreams_Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'CaviarDreams';
  src: url('../fonts/CaviarDreams_Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'CaviarDreams';
  src: url('../fonts/CaviarDreams_BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
}

body, input, textarea, button {
	font-family: 'CaviarDreams';
	font-size: 15px;
}
h1 {
	font-size: 26px;
	letter-spacing: 8px;
	font-weight: normal;
	text-transform: uppercase;
	margin-top: 0;
}
h2 {
	font-size: 21px;
	font-weight: normal;
	text-transform: uppercase;
	margin-top: 0;
}
a {
	text-decoration: none;
	transition: all .6s;
	color: #559f64; /*green*/
}
a:hover {
	color: white;
}
a img {
  transition: opacity 1s;
}
a:hover img {
  opacity: .75;
  transition: opacity .5s;
}

a.button {
  text-transform: uppercase;
  display: inline-block;
  padding: 2px 6px;
}
a.button:hover {
  color: #559f64; /* green */
}
body.home a.button {
  background-color: white;
  color: black;
}
body.home a.button:hover {
  color: #559f64; /* green */
}
.event a.button {
  background-color: black;
  color: white;
}
.event a.button:hover {
  color: #559f64; /* green */
}
.continue .button {
  font-size: 21px;
  background: black;
  color: white;
}
.continue a.button:hover {
  color: #559f64; /* green */
}


/* ==== Layout setup ==== */

body {
	margin: 0;
	background-color: black;
}
body.mce-content-body {
	background-color: white;
}

body .wrap.container {
  box-sizing: border-box;
}

body.page .wrap {
  padding: 105px 70px 70px 70px;
  width: 100%;
}
body.single .wrap {
  padding: 140px 70px 0px 70px;
  width: 100%;
}

@media (max-width: 800px) {
	body.page .wrap, body.single .wrap {
	  padding: 105px 35px 70px 35px;
	}
}
@media (max-width: 600px) {
	body.page .wrap {
	  padding: 105px 15px 70px 15px;
	}
	body.single .wrap {
	  padding: 85px 15px 70px 15px;
	}
}

body.home .wrap {
	background-color: black;
	padding: 0;
}

/* Page header with lines on sides */
.page-header h1 {
  text-align: center;
  overflow: hidden;
  margin-bottom: 35px;
}
.page-header h1 span {
  display: inline-block;
  position: relative;
}
.page-header h1 span::before,
.page-header h1 span::after
{
  content: '';
  position: absolute;
  top: 50%;
  width: 1200px;
  height: 1px;
  border-bottom: 2px solid black;
}
.page-header h1 span::before {
  right: 100%;
  margin-right: 15px;
}
.page-header h1 span::after {
  left: 100%;
  margin-left: 15px;
}

.continue {
/*   text-align: center; */
  margin: 70px 0;
}

/* === Generic page ==== */

body.page {
	background-color: white;
	color: black;
}
body.page .page-header h1 span::before,
body.page .page-header h1 span::after
{
  border-color: black;
}
body.single .page-header h1 {
  margin-top: 35px;
}

#page-content {
  max-width: 700px;
}
hr {
  height: 1px;
  color: #ccc;
  margin-bottom: 35px;
}
body.page h2 {
  color: #559f64; /* green */
  margin-top: 35px;
}

#page-slideshow {
  margin-bottom: 35px;
}
#page-slideshow {
  height: 100vh;
  overflow: hidden;
}
#page-slideshow div {
  height: 100%;
  background-position: center;
}

@media (max-width: 600px) {
  #page-slideshow {
    margin-left: 0;
    margin-right: 0;
  }
}


/* === Error page ==== */
body.error404 .wrap {
  padding: 105px 70px 0px 70px;
}
body.error404 {
	background-color: white;
	color: black;
}

body.error404 .alert {
  font-size: 18px;
  padding: 70px;
  text-align: center;
}

/* ===== Front page ===== */

body.home {
  background: black;
}

body.home header {
  height: 8px;
  display: none;
  overflow: hidden;
  transition: all .5s;
}
body.home header.expanded {
  height: 70px;
  transition: all .5s;
}
body.home h2 {
  margin-top: 0;
}

/* Front page sticky scroll */

body.home section {
	color: white;
	position: relative;
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	background: transparent;
  margin-top: 200px;
}
.section-wrapper {
	z-index: 20;
	background: black;
	padding: 70px 70px 0 70px;
	min-height: 100vh;
	height: 100%;
	position: relative;
}
@media (max-width: 800px ) {
  .section-wrapper {
  	padding: 35px 35px 0 35px;
  }
}
@media (max-width: 600px ) {
  .section-wrapper {
  	padding: 15px 15px 0 15px;
  }
  #featured-cocktails {
  	padding: 0 15px;
  }
}

.stuck {
	position: fixed !important;
	bottom: 0;
	z-index: 10;
}
.stuck-top {
	position: fixed !important;
	top: 0;
	z-index: 10;
}
.sticky-wrapper {
	position: relative;
	z-index: 20;
}

/* Scroll on small screen */
@media (max-width: 800px) {
  /* no delay in sliding next section */
  body.home section {
    margin-top: 0;
  }
}

/* INTRO section */

#intro {
  position: fixed;
  height: 100vh;
  width: 100%;
  margin-top: 0;
  left: 0;
  top: 0;
  background-image: url('../images/sjq-sign-small.jpg');
  background-size: cover;
  background-position: center center;
}
#intro #overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url('../images/sjq-sign-overlay.png');
  background-size: cover;
  background-position: center center;
  opacity: 0;
	-webkit-animation: sign_opacity 2s infinite alternate;
	-moz-animation: sign_opacity 2s infinite alternate;
	-ms-animation: sign_opacity 2s infinite alternate;
	-o-animation: sign_opacity 2s infinite alternate;
	animation: sign_opacity 2s infinite alternate;
}
@-webkit-keyframes sign_opacity {
	from { opacity: 0; }
	to { opacity: 1; }
}
@-moz-keyframes sign_opacity {
	from { opacity: 0; }
	to { opacity: 1; }
}
@-ms-keyframes sign_opacity {
	from { opacity: 0; }
	to { opacity: 1; }
}
@-o-keyframes sign_opacity {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes sign_opacity {
	from { opacity: 0; }
	to { opacity: 1; }
}

#intro.mobile {
  background-image: url('../images/sjq-sign-tiny.jpg');
}
#intro.mobile #overlay {
  background-image: url('../images/sjq-sign-overlay-tiny.png');
}
#intro.mobile #scroll-down {
	bottom: 95px; /* Mobile Safari has a bookmarks bar at the bottom so needs to be higher */
}

#scroll-down {
  width: 30px;
  position: absolute;
  z-index: 20;
  left: 50%;
  margin-left: -15px;
  bottom: 35px;
	-webkit-animation: arrow_opacity 2s infinite alternate;
	-moz-animation: arrow_opacity 2s infinite alternate;
	-ms-animation: arrow_opacity 2s infinite alternate;
	-o-animation: arrow_opacity 2s infinite alternate;
	animation: arrow_opacity 2s infinite alternate;
}
@-webkit-keyframes arrow_opacity {
	from { opacity: .5; }
	to { opacity: 1; }
}
@-moz-keyframes arrow_opacity {
	from { opacity: .5; }
	to { opacity: 1; }
}
@-ms-keyframes arrow_opacity {
	from { opacity: .5; }
	to { opacity: 1; }
}
@-o-keyframes arrow_opacity {
	from { opacity: .5; }
	to { opacity: 1; }
}
@keyframes arrow_opacity {
	from { opacity: .5; }
	to { opacity: 1; }
}

/* PHOTOS section */

#photos {
  background: black; /* No section wrapper */
  margin-top: 100vh; /* Offset intro section */
  z-index: 20;
}

#photos #slideshow1 {
  width: 100%;
  height: 100vh;
  position: relative;
}

#photos #aboutblurb {
  position: relative;
  top: 0;
}

/* SESSIONS section */

#sessions h1 {
  margin-top: 85px;
  float: left;
  margin-bottom: 35px;
}
#sessions .button.full-programme {
  float: right;
  margin-top: 95px;
  margin-bottom: 35px;
}
@media (max-width: 800px) {
  #sessions h1 {
    margin-top: 0;
    float: none;
  }
  #sessions .button.full-programme {
    float: none;
    margin-top: 0;
  }
}

/* UPCOMING section */

#upcoming h1 {
  margin-top: 85px;
  float: left;
  margin-bottom: 35px;
}
#upcoming .button.full-programme {
  float: right;
  margin-top: 95px;
  margin-bottom: 35px;
}
@media (max-width: 800px) {
  #upcoming h1 {
    margin-top: 0;
    float: none;
  }
  #upcoming .button.full-programme {
    float: none;
    margin-top: 0;
  }
}

/* DRINKS section */

#slideshow2 {
  width: 50%;
  height: 100%;
  bottom: 0;
  margin-top: 0px; /* Needs to match .section-wrapper */
}
#featured-cocktails {
  margin-left: 50%;
  margin-bottom: 70px;
  padding: 0 70px;
}

@media (max-width: 800px) {

  #slideshow2 {
    position: relative;
    height: 100vh;
    width: 100%;
  }
  #featured-cocktails {
    margin-left: 0;
    margin-top: 70px;
    padding: 15px;
  }
}

/* WEEKEND SECTION */

#weekend .section-wrapper {
  height: 100vh;
  text-align: center;
}
#weekend h1 {
  background-color: black;
  display: inline-block;
  padding: 8px;
  margin-top: 105px;
  text-align: center;
  position: relative;
  z-index: 20;
}
#weekend h1 span {
  text-transform: none;
  font-size: 18px;
  letter-spacing: 0;
}
#friday, #saturday {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
}
#friday h2, #saturday h2 {
  position: absolute;
  bottom: 35px;
  display: inline-block;
  background: black;
  color: white;
  text-transform: none;
  padding: 8px;
  text-align: left;
  margin: 0;
}
#friday {
  left: 0;
  background-image: url('../images/jazz-small.jpg');
}
#saturday {
  right: 0;
  background-image: url('../images/turntables-small.jpg');
}
#friday h2 {
  left: 35px;
}
#saturday h2 {
  text-align: right;
  right: 35px;
}

@media (max-width: 800px) {
  #weekend .section-wrapper {
    height: auto;
  }
  #friday {
    margin-top: 35px;
  }
  #friday, #saturday {
    position: relative;
    width: 100%;
    height: 300px;
  }
  #friday h2, #saturday h2 {
    position: absolute;
    top: 35px;
    bottom: initial;
    left: 35px;
    right: initial;
    display: inline-block;
    background: black;
    color: white;
    text-transform: none;
    padding: 8px;
    text-align: left;
  }
  #weekend #boxes {
    padding-bottom: 70px;
  }
  #weekend h1 {
    margin-top: 0;
  }
  #friday {
    background-image: url('../images/jazz-smaller.jpg');
  }
  #saturday {
    background-image: url('../images/turntables-smaller.jpg');
  }
}
@media (max-width: 600px) {
  #friday h2, #saturday h2 {
  	top: 15px;
  	bottom: initial;
  	left: 15px;
  	margin-bottom: 0;
  }
}

/* CONTACT section */

#contact-section .section-wrapper {
  background: white;
  color: black;
  z-index: 30;
}
#contact h1 {
  color: #559f64; /* green */
  margin-top: 35px;
}
#contact-box1 h1:first-of-type {
  margin-top: 0;
}

#contact-box1 {
  width: 50%;
  float: left;
  padding-right: 35px;
  box-sizing: border-box;
}
#contact-box2 {
  width: 50%;
  float: right;
  padding-left: 35px;
  box-sizing: border-box;
}

form input, form textarea {
  width: 100%;
  border: none;
  background: #eee;
  padding: 8px;
}
input[type="submit"] {
  background: black;
  color: white;
  text-transform: uppercase;
  width: auto;
  cursor: pointer;
  transition: all .5s;
}
input[type="submit"]:hover {
  color: #559f64; /*green*/
}

#contact .menu-socials-container li {
  display: block;
  margin-bottom: 15px;
}
#contact .menu-socials-container li a::before {
  color: white;
	background-color: #559f64; /*green*/
	padding: 5px;
	border-radius: 5px;
}
#contact .menu-socials-container li a:hover::before {
	background-color: black;
}
#contact .menu-socials-container li a {
  font-weight: bold;
	color: #559f64; /*green*/
}
#contact .menu-socials-container li a:hover {
	color: black;
}

#contact-section img#contact-footer {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 20; /* Same as section wrapper */
}

#contact-section::before {
  position: absolute;
  display: block;
  z-index: 20;
  content: '';
  width: 35px;
  height: 35px;
  left: 50%;
  margin-left: -17.5px; /* half of diagonal */
  margin-top: -17.5px; /* half of diagonal */
  background-color: white;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
}

@media (max-width: 800px) {
	#contact-box1, #contact-box2 {
	width: 100%;
	float: none;
	padding: 0;
	}
	/* Make map smaller so it doesn't impede scrolling */
	#contact iframe {
		height: 260px;
	}
}
@media (max-width: 600px) {
	form input, form textarea {
	  width: 94%;
	}
}

/* Slideshow */
body.home .slideshow {
	position: absolute;
	overflow: hidden;
	left: 0;
	top: 0;
}
.slideshow div {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

#page-slideshow {
  position: relative;
}
#page-slideshow > figure:first-of-type {
  position: static;
}

.slideshow > figure img {
  width: 100%;
  box-sizing: border-box;
}

/* ======== EVENTS ========= */

body.events {
	background-color: #559f64; /*green*/
}
body.single {
  background-color: white;
}
body.events .page-header h1 {
  color: white;
}
body.single .page-header h1
{
  color: black;
}
body.events .page-header h1 span::before,
body.events .page-header h1 span::after
{
  border-color: #93c19d; /* light green */
}

body.single .page-header h1 {
  margin-top: 35px;
}

.event {
  position: relative;
}
.event img {
  width: 100%;
  height: auto;
}
.event h2 {
  color: #559f64; /*green*/
}
.event .date {
  font-weight: bold;
}
.event-buy {
  position: absolute;
}
.event-price {
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}
.event-description {
  background-color: white;
}
.event a:hover {
  color: black;
}
.event iframe {
  width: 100%;
  min-height: 450px;
}

/* Events full view */

.events-full .event {
  width: 100%;
  margin-bottom: 70px;
  display: table;
}
.events-full .event-data {
  display: table-row;
}
.events-full .event:last-of-type {
  margin-bottom: 0;
}
.events-full .event-description {
  box-sizing: border-box;
  padding: 35px 35px 115px 35px;
  display: table-cell;
  vertical-align: top;
}
body.single .events-full .event-description {
  padding-top: 0;
  width: 100%;
}
body.page .events-full .event-image {
  width: 240px;
  height: 360px;
  display: table-cell;
  vertical-align: top;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#559f64+0,4d8f5a+48,488455+100 */
  background: rgb(85,159,100); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(85,159,100,1) 0%, rgba(77,143,90,1) 48%, rgba(72,132,85,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(85,159,100,1) 0%,rgba(77,143,90,1) 48%,rgba(72,132,85,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(85,159,100,1) 0%,rgba(77,143,90,1) 48%,rgba(72,132,85,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#559f64', endColorstr='#488455',GradientType=0 ); /* IE6-9 */
}
body.single .events-full .event-image {
  width: 340px; /* Bigger on single view page*/
  height: 100%; /* Bigger on single view page*/
}
body.page .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-full .event h2 {
  font-size: 26px;
  margin: 8px 0;
}
.events-full .event-buy {
  bottom: 35px;
}

/* Events summary view (home page and single event view) */

.events-summary {
  margin-top: 35px;
  padding-bottom: 15px;
  clear: both;
  /* display: table;
  border-collapse: separate; */
}
body.single .events-summary {
  padding-bottom: 0;
}
.events-wrapper {
  /* display: table-row; */
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 2rem;
  row-gap: 2rem; */
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.events-summary .event {
  border-bottom: none;
  border-top: none;
  background-color: white;
  color: black;
  vertical-align: top;
  /* border: 15px solid black; /* acts as margin */
  /* display: table-cell;
  width: 33%; */
  width: 240px;
  margin-right: 3rem;
}
/* .events-summary .event:first-of-type {
  border-left: none;
} */
.events-summary .event:last-of-type {
  margin-right: 0;
}
.events-summary .event-image {
  height: 360px;
  overflow: hidden;
  background-color: black;
  transition: all .5s;
}
.events-summary .event-description {
  box-sizing: border-box;
  padding: 15px 15px 90px 15px;
}

body.home .events-summary .event-text {
  display: none;
}

.events-summary .event-text,
.events-summary .date,
.events-summary .h2
{
  background-color: white;
}

.events-summary .event-buy {
  bottom: 15px;
}
.events-summary .event .button {
  background: black;
  color: white;
}

/* Session events */
.events-summary .session {
  width: 360px;
}

.session .event-image {
  height: 320px;
}
.session .event-description {
  padding-bottom: 15px;
}

/* Event embedded media */

.event-text figure {
  margin: 2rem 0
}

/* White page events */

body.error404 .page-header h1 span::before,
body.error404 .page-header h1 span::after,
body.single .page-header h1 span::before,
body.single .page-header h1 span::after
{
  border-color: black;
}

body.error404 .page-header h2,
body.single .page-header h2
{
  color: #559f64; /* green */
  text-align: center;
}

body.error404 .events-summary,
body.single .events-summary
{
  background: #ccc;
  margin-left: -70px;
  margin-right: -70px;
  padding: 70px;
}
body.error404 .event,
body.single .event
{
  border-color: #ccc;
}

body.single .page-header h1 span::before,
body.single .page-header h1 span::after
{
  border-color: black;
}


/* Smaller event summary (copied from .event-full, more or less) */
@media (max-width: 950px) and (min-width: 676px) {
  #upcoming h1 {
    margin-top: 0;
  }
  .events-summary {
    padding-bottom: 140px;
    display: block;
  }
  .events-wrapper {
    display: block;
  }
  .events-summary .event {
    width: 100%;
    margin-bottom: 70px;
    display: table;
    border: none;
  }
  .events-summary .event-data {
    display: table-row;
  }
  .events-summary .event:last-of-type {
    margin-bottom: 0;
  }
  .events-summary .event-description {
    box-sizing: border-box;
    padding: 35px 35px 115px 35px;
    display: table-cell;
    vertical-align: top;
  }
  .events-summary .event-image {
    width: 340px;
    height: 100%;
    display: table-cell;
    vertical-align: top;
    background: black;
  }
  .events-summary .event h2 {
    font-size: 26px;
    margin: 8px 0;
  }
  .events-summary .event-buy {
    bottom: 35px;
  }

  body.single .events-full .session .event-data {
    display: block;
  }
  body.single .events-full .session .event-image {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* Mobile events */
@media (max-width: 675px) {
  .events-summary {
    display: block;
  }
  .events-summary .events-wrapper {
    display: block;
  }
  .events-summary .event, .events-full .event {
    display: block;
    width: 100%;
    border: none;
    margin-bottom: 35px;
  }
  body.error404 .events-summary,
  body.single .events-summary {
    margin-left: -15px;
    margin-right: -15px;
  }
  .events-full .event-data {
    display: block;
  }
  body.page .events-full .event-image, body.single .events-full .event-image {
    display: block;
    width: 100%;
  }
  .events-full .event-description {
    display: block;
  }
  body.page .events-full .event-description {
    padding: 15px 15px 115px 15px;
  }
  body.page .events-full .event-text {
    display: none;
  }
  body.single .events-full .event-description {
    padding: 15px 0px 115px 0px;
  }
}


/* ===== Venue hire page ===== */




/* ===== Footer ===== */
footer, #aboutblurb {
	background: black;
	color: white;
	min-height: 302px;
}
.content-info .home {
	float: left;
	margin-left: 70px;
	margin-top: 35px;
	width: 232px;
	height: 232px;
	display: block;
	background-image: url('../images/sjq-logo-232.png');
	background-repeat: no-repeat;
	text-indent: -9999px;
	transition: none;
}
.content-info .home:hover {
	background-image: url('../images/sjq-logo-232-hover.png');
}
.content-info .tagline {
	text-transform: uppercase;
}
.content-info .container {
	margin-left: 390px;
	padding: 35px 70px;
}

/* Smaller size about blurb */
@media (max-width: 1100px) {
  .content-info .home {
    width: 140px;
    height: 140px;
    background-size: 140px;
  }
  .content-info .container {
    margin-left: 210px;
  }
}
/* Even smaller */
@media (max-width: 650px) {
  .content-info .home {
    width: 200px;
    height: 200px;
    background-size: 200px;
    background-position: center top;
    background-repeat: no-repeat;
    float: none;
    margin: 15px auto;
  }
  #aboutblurb, footer {
    padding-top: 15px;
  }
  .content-info .home:hover {
    background-position: center -200px;
  }
  .content-info .container {
    text-align: center;
    margin-left: 0;
    padding: 35px;
  }
  .menu-socials-container ul {
    text-align: left;
  }
  .menu-socials-container ul li {
    margin-right: 0;
  }
}

.menu-socials-container ul {
	list-style: none;
	padding: 0;
	margin-top: 35px;
}
.menu-socials-container ul li {
	display: inline-block;
	margin-right: 35px;
	margin-bottom: 15px;
}
.menu-socials-container ul li:last-of-type {
	margin-right: 0;
}
.menu-socials-container li a::before {
	color: black;
	background-color: white;
	border-radius: 2px;
	margin-right: 8px;
	font-size: 16px;
	padding: 2px;
	transition: all .6s;
}
.menu-socials-container li a:hover::before {
	color: white;
	background-color: black;
}
.menu-socials-container li a {
	color: white;
}
.menu-socials-container li a:hover {
	color: #559f64; /*green*/
}

#friends {
  text-align: center;
  background: black;
  margin: 50px -70px 0 -70px;
  padding: 35px 0;
}
#friends img {
  margin: 15px 70px;
}
@media (max-width: 800px) {
  #friends {
    margin-left: -35px;
    margin-right: -35px;
    padding: 15px 0;
  }
  #friends img {
    margin: 0 15px 35px 15px;
  }
}
@media (max-width: 600px) {
  #friends {
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* ==== Navigation ==== */

header.banner {
	height: 70px;
	color: white;
	background: black;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}
body.home header.banner {
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.banner .container {
	padding: 8px 70px;
	box-sizing: border-box;
}
.banner .brand {
	float: left;
	display: block;
	width: 54px;
	height: 54px;
	text-indent: -9999px;
	background: url('../images/sjq-logo-54.png') no-repeat;
	transition: none;
}
.banner .brand:hover {
	background-position: 0 -54px;
}
.nav-primary ul {
	list-style: none;
	padding: 0;
	text-align: right;
	height: 100%;
}
.nav-primary ul li {
	text-transform: uppercase;
	display: inline-block;
	padding-left: 70px;
}
.nav-primary ul li a  {
	color: white;
}
.nav-primary ul li.current-menu-item a, .nav-primary ul li a:hover {
	color: #559f64; /*green*/
}

/*
	HACK: Wordpress wants to show anchor links on front page as current menu item.
*/
.nav-primary ul li.menu-item-object-custom a {
	color: white;
}
.nav-primary ul li.menu-item-object-custom a:hover {
	color: #559f64; /*green*/
}


#open-menu {
  display: none;
}

/* Small screen nav */
@media (max-width: 1000px) {
  .banner .container {
    padding-left: 35px;
    padding-right: 35px;
  }
  a#open-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 35px;
    width: 30px;
    height: 30px;
    background-image: url('../images/hamburger.png');
    background-size: cover;
    text-indent: -9999px;
    transition: opacity .3s;
  }
  a#open-menu:hover {
    opacity: .6;
    transition: opacity .6s;
  }

  .nav-primary ul {
    height: 0;
    overflow: hidden;
    transition: height .25s;
    margin-top: 140px;
    text-align: left;
  }
  .nav-primary ul li {
    display: block;
    margin-bottom: 35px;
    padding: 0;
  }
  /* Open state */
  body.menu-open {
    overflow: hidden; /* no scroll */
  }
  body.menu-open header.banner {
    height: 100%;
    overflow: auto;
  }
  body.menu-open .nav-primary ul {
    height: 100%;
    transition: height .25s;
  }
}

/* Tiny screen nav */
@media (max-width: 600px) {
	.banner .container {
		padding-left: 15px;
		padding-right: 15px
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
	display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *	  `contenteditable` attribute is included anywhere else in the document.
 *	  Otherwise it causes space to appear at the top and bottom of elements
 *	  that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *	  `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	   (-webkit-min-device-pixel-ratio: 1.25),
	   (min-resolution: 1.25dppx),
	   (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after,
	*:first-letter,
	*:first-line {
		background: transparent !important;
		color: #000 !important; /* Black prints faster:
								   http://www.sanbeiji.com/archives/953 */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links that are fragment identifiers,
	 * or use the `javascript:` pseudo protocol
	 */

	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
	 * Printing Tables:
	 * http://css-discuss.incutio.com/wiki/Printing_Tables
	 */

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

/* Socials font */
@font-face {
	font-family: "socicon";
	src:url("../fonts/socicon.eot");
	src:url("../fonts/socicon.eot?#iefix") format("embedded-opentype"),
		url("../fonts/socicon.woff") format("woff"),
		url("../fonts/socicon.ttf") format("truetype"),
		url("../fonts/socicon.svg#socicon") format("svg");
	font-weight: normal;
	font-style: normal;
}
[data-icon]:before {
	font-family: "socicon" !important;
	content: attr(data-icon);
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	speak: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
[class^="socicon-"]:before,
[class*=" socicon-"]:before {
	font-family: "socicon" !important;
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	speak: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.socicon-flickr:before {
  content: "\e055";
}
.socicon-paypal:before {
  content: "\e00c";
}
.socicon-twitter:before {
  content: "\e040";
}
.socicon-facebook:before {
  content: "\e041";
}
.socicon-googleplus:before {
  content: "\e042";
}
.socicon-pinterest:before {
  content: "\e043";
}
.socicon-skype:before {
  content: "\e046";
}
.socicon-youtube:before {
  content: "\e051";
}
.socicon-vimeo:before {
  content: "\e052";
}
.socicon-instagram:before {
  content: "\e057";
}
.socicon-tumblr:before {
  content: "\e059";
}
.socicon-google:before {
  content: "\e067";
}
.socicon-sharethis:before {
  content: "\e069";
}
