/*
Theme Name: Iron Quill
Theme URI: http://underscores.me/
Author: tiny blue orange
Author URI: http://tinyblueorange.com
Description: custom WordPress theme for Iron Quill Tattoo by tiny blue orange
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iron-quill
Colors: black #000 | gray #1a1a1a | gold #c29c2e | dark gold #a88828 | white #fff

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Iron Quill is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
	## Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}
body {
	margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}
audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}
audio:not([controls]) {
	display: none;
	height: 0;
}
[hidden],
template {
	display: none;
}
a {
	background-color: transparent;
}
a:active,
a:hover {
	outline: 0;
}
abbr[title] {
	border-bottom: 1px dotted;
}
b,
strong {
	font-weight: bold;
}
dfn {
	font-style: italic;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
mark {
	background: #ff0;
	color: #000;
}
small {
	font-size: 80%;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
img {
	border: 0;
}
svg:not(:root) {
	overflow: hidden;
}
figure {
	margin: 1em 40px;
}
hr {
	box-sizing: content-box;
	height: 0;
}
pre {
	overflow: auto;
}
code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}
button {
	overflow: visible;
}
button,
select {
	text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}
button[disabled],
html input[disabled] {
	cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input {
	line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}
legend {
	border: 0;
	padding: 0;
}
textarea {
	overflow: auto;
}
optgroup {
	font-weight: bold;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
td,
th {
	padding: 0;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #1a1a1a;
	font-family: "adobe-garamond-pro",sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Poiret One', cursive;
}
h1 {
	color: #c29c2e;
	font-size: 2.375em;
	letter-spacing: 0.04em;
	margin: 10px 0;
	text-transform: uppercase;
}
.page header.entry-header {
	float: right;
	margin-top: -5em;
}
h2 {
	font-size: 2em;
	letter-spacing: 0.04em;
	margin: 10px 0;
	text-transform: uppercase;
}
h3 {
	color: #c29c2e;
	font-family: "adobe-garamond-pro",sans-serif;
	font-size: 2em;
	font-style: italic;
	margin: 0 0 5px;
}
h4 {
	font-family: "adobe-garamond-pro",sans-serif;
	font-size: 1.6em;
	margin: 0 0 10px;
}
h5 {
	color: #c29c2e;
	font-family: "adobe-garamond-pro",sans-serif;
	font-size: 1.4em;
	font-style: italic;
	margin: 0 0 10px;
}
h6 {
	color: #c29c2e;
	font-size: 1.25em;
	letter-spacing: 0.04em;
	margin: 10px 0;
	text-transform: uppercase;
}
p {
	margin: 0 0 1.25em;
}
dfn,
cite,
em,
i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}
big {
	font-size: 125%;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}
body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}
blockquote,
q {
	quotes: "" "";
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
hr.gold-line {
	background-color: #c29c2e;
	margin: 0.5em 0 2em;
	width: 100%;
}
ul,
ol {
	margin: 0 0 1.5em 2em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
ul.artist-list {
	list-style: none;
	margin: 10px 0;
	padding: 0;
	text-align: center;
}
ul.artist-list li {
	display: inline-block;
	font-family: 'Poiret One', cursive;
	line-height: 1.2;
	margin: 0 26px 25px;
	text-transform: uppercase;
	vertical-align: top;
	width: 150px;
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}
ul.artist-list li img {
	display: block;
	margin-bottom: 10px;
}
ul.artist-list li:hover {
	opacity: 0.7;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
#secondary .social-icons {
	margin-bottom: 1em;
}
.social-icons .bttn {
	display: inline-block;
	height: 20px;
	margin: 5px;
	text-indent: -99999px;
	width: 20px;
}
.social-icons .email {
	background: url(images/ironquilltattoo_icon_email.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .facebook {
	background: url(images/ironquilltattoo_icon_facebook.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .flickr {
	background: url(images/ironquilltattoo_icon_flickr.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .instagram {
	background: url(images/ironquilltattoo_icon_instagram.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .telephone {
	background: url(images/ironquilltattoo_icon_phone.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .tumblr {
	background: url(images/ironquilltattoo_icon_tumblr.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .twitter {
	background: url(images/ironquilltattoo_icon_twitter.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .web {
	background: url(images/ironquilltattoo_icon_web.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .yelp {
	background: url(images/ironquilltattoo_icon_yelp.png) no-repeat bottom center;
	background-size: 100%;
}
.social-icons .bttn:hover {
	background-position: top center !important;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
::-webkit-input-placeholder {
   color: #1a1a1a;
}
:-moz-placeholder { /* Firefox 18- */
   color: #1a1a1a;  
   opacity: 1;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #1a1a1a;
   opacity: 1;   
}
:-ms-input-placeholder {  
   color: #1a1a1a;  
}
body .gform_wrapper div.validation_error {
	font-size: 1.1em;
	width: 100%;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	border-radius: 0px;
	background-color: #c29c2e;
	box-shadow: none;
	color: #1a1a1a;
	display: block;
	font-family: 'Poiret One', cursive;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1;
	padding: 10px;
	text-align: center;
	text-shadow: none;
	text-transform: uppercase;
	-webkit-transition: background-color 0.3s ease;
	-moz-transition: background-color 0.3s ease;
	-o-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #a88828;
}
body .gform_wrapper.gf_browser_ie .gform_footer input.button {
	padding: 10px !important;
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=image], .gform_wrapper .gform_footer input[type=submit] {
	display: block !important;
	width: 100%;
}
body .gform_wrapper {
	max-width: 100%;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	border-radius: 0px;
	line-height: 1;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 10px 15px !important;
}
textarea {
	padding: 10px 15px !important;
	width: 100% !important;
}
.gform_wrapper .gform_footer {
	margin-top: 0 !important;
	padding-top: 20px !important;
}
.gform_wrapper .top_label li.gfield.gf_left_third, .gform_wrapper .top_label li.gfield.gf_middle_third, .gform_wrapper .top_label li.gfield.gf_right_third {
	width: 32.4% !important;
}
.gform_wrapper .top_label li.gfield.show-label .gfield_label {
	margin-bottom: 0;
	margin-top: 5px;
}
body .gform_wrapper li.gfield.show-label label.gfield_label+div.ginput_container {
	margin-top: 2px;
}
body .gform_wrapper li.gfield.no-clear {
	clear: none !important;
}
body .gform_wrapper .top_label .gfield_description {
	clear: none !important;
	font-style: italic;
	padding-top: 0 !important;
}
.gform_wrapper .top_label li.gfield.gf_left_third input.large, .gform_wrapper .top_label li.gfield.gf_left_third input.medium, .gform_wrapper .top_label li.gfield.gf_left_third select.large, .gform_wrapper .top_label li.gfield.gf_left_third select.medium, .gform_wrapper .top_label li.gfield.gf_middle_third input.large, .gform_wrapper .top_label li.gfield.gf_middle_third input.medium, .gform_wrapper .top_label li.gfield.gf_middle_third select.large, .gform_wrapper .top_label li.gfield.gf_middle_third select.medium, .gform_wrapper .top_label li.gfield.gf_right_third input.large, .gform_wrapper .top_label li.gfield.gf_right_third input.medium, .gform_wrapper .top_label li.gfield.gf_right_third select.large, .gform_wrapper .top_label li.gfield.gf_right_third select.medium {
	width: 100% !important;
}
#gform_wrapper_3 {
	max-width: 59%;
}
#gform_wrapper_3.gform_wrapper .top_label li.gfield.gf_right_half+li.gfield, #gform_wrapper_3.gform_wrapper .gform_footer {
	clear: none;
}
#gform_wrapper_3.gform_wrapper .gform_footer {
	padding-top: 7px !important;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a, a:visited {
	color: #c29c2e;
	text-decoration: none;
	-webkit-transition: color 0.3s ease;
	-moz-transition: color 0.3s ease;
	-o-transition: color 0.3s ease;
	transition: color 0.3s ease;
}
a:hover,
a:focus,
a:active {
	color: #a88828;
}
a:focus,
a:hover,
a:active {
	outline: 0;
}
a.gold-bttn {
	background-color: #c29c2e;
	color: #1a1a1a;
	display: block;
	font-family: 'Poiret One', cursive;
	font-size: 1.25em;
	font-weight: bold;
	line-height: 1;
	margin: 0 3px;
	padding: 10px;
	text-align: center;
	text-transform: uppercase;
	-webkit-transition: background-color 0.3s ease;
	-moz-transition: background-color 0.3s ease;
	-o-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
}
a.gold-bttn:hover {
	background-color: #a88828;
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation, .secondary-navigation {
	clear: both;
	display: block;
	font-size: 1.15em;
	width: 100%;
}
.main-navigation {
	margin: 6.75em 0 -1.5em;
	text-align: right;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	position: relative;
	z-index: 50;
}
.secondary-navigation ul {
	list-style: none;
	margin: 0.75em 0 1.75em;
	padding: 0;
	text-align: center;
}
.main-navigation li, .secondary-navigation ul li {
	display: inline-block;
	font-family: 'Poiret One', cursive;
	padding: 0.25em 1.5em;
	position: relative;
	text-transform: uppercase;
}
.main-navigation li {
	text-align: left;
}
.main-navigation li:last-of-type {
	padding-right: 0;
}
.main-navigation a, .secondary-navigation a {
	color: #fff;
	display: block;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: 0;
}
.main-navigation li:hover > a,
.main-navigation li.focus > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a,
.secondary-navigation ul li:hover a, 
.secondary-navigation ul li.current-menu-item a {
	color: #c29c2e;
}
.menu-toggle {
	display: none;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}
/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}
.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}
/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#masthead,
#colophon {
	background: #1a1a1a;
	color: #fff;
}
#masthead {
	padding: 2em 0;
}
.home #masthead {
	margin-bottom: -8em;
}
.site-branding {
	float: left;
	margin-left: -1.5em;
}
.logo {
	margin-bottom: -9.3em;
	position: relative;
	z-index: 20;
}
.site-details, .site-details .social-icons {
	float: right;
}
.site-details h3 {
	text-align: right;
}
.wrapper {
	margin: 0 auto;
	max-width: 1000px;
}
.site-content {
	margin-top: 8em;
	min-height: 400px;
	padding-bottom: 2em;
}
#primary.sidebar {
	display: inline-block;
	float: right;
	width: 60%;
}
#secondary {
	display: inline-block;
	width: 35%;
}
body .gallery {
	margin-top: -3px;
}
body .gallery-item {
	margin: 0 auto;
}
body .gallery img {
	border: 3px solid #fff;
	margin-bottom: -9px;
}
body .gallery .gallery-item:last-of-type img {
	margin-bottom: 0;
}
body #cboxOverlay {
	background: rgba(0, 0, 0, .75);
}
body #cboxWrapper {
	background: #fff;
}
#cboxTopLeft, #cboxTopCenter, #cboxTopRight,
#cboxMiddleLeft, #cboxMiddleRight,
#cboxBottomLeft, #cboxBottomCenter, #cboxBottomRight {
	background: none !important;
}
#colophon {
	padding: 2em 0;
	text-align: center;
}
#colophon .site-info a {
	color: #fff;
}
#colophon .site-info a:hover {
	color: #c29c2e;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}
.hentry {
	margin: 0;
}
.byline,
.updated:not(.published) {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
	display: block;
}
/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}
/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.wp-caption-text {
	text-align: center;
}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {
	display: block;
}
/*--------------------------------------------------------------
## Queries
--------------------------------------------------------------*/
@media screen and (max-width: 1020px) {
	.wrapper {
		padding: 0 10px;
	}
	.site-branding {
		margin-left: 0;
	}
	#gform_wrapper_3 {
		max-width: 50%;
	}
}

@media screen and (max-width: 800px) {
	img.alignright, img.alignleft {
		display: block;
		float: none;
		margin: 0 auto 10px;
	}
	#gform_wrapper_3 {
		max-width: 100%;
	}
}

@media screen and (max-width: 740px) {
	#secondary {
		display: block;
		width: 100%;
	}
	#secondary h1 {
		background: rgba(0, 0, 0, .5);
		font-size: 2em;
		margin: -1.5em auto 10px;
		max-width: 450px;
		position: relative;
	}
	#primary.sidebar {
		display: block;
		float: none;
		margin-bottom: 3em;
		width: 100%;
	}
}

@media screen and (max-width: 700px) {
	#masthead {
		padding-top: 1em;
	}
	.site-details, .site-details .social-icons {
		float: none;
		text-align: center;
	}
	.site-details h3 {
		text-align: center;
	}
	.main-navigation {
		margin: 0.5em auto 0.25em;
		padding: 0 115px;
		text-align: center;
	}
	.main-navigation li, .secondary-navigation ul li {
		padding: 0.25em 1em;
	}
	.main-navigation li:last-of-type {
		padding-right: 1em;
	}
	.logo {
		margin-bottom: -8em;
		margin-top: -6em;
		max-width: 200px;
	}
	.site-content {
		margin-top: 6em;
	}
	.page header.entry-header {
		float: none;
		margin-top: 0;
		text-align: right;
	}
}

@media screen and (max-width: 620px) {
	.home #masthead {
		margin-bottom: 0;
	}
	body .gform_wrapper .top_label li.gfield.gf_left_third, body .gform_wrapper .top_label li.gfield.gf_middle_third, body .gform_wrapper .top_label li.gfield.gf_right_third, .gform_wrapper .top_label li.gfield.gf_left_half, .gform_wrapper .top_label li.gfield.gf_right_half {
		display: block;
		margin-left: 0% !important;
		width: 100% !important;
	}
}

@media screen and (min-width: 500px) {
	.main-navigation ul ul {
		background: #1a1a1a;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		float: left;
		position: absolute;
		top: 2em;
		left: -999em;
		z-index: 99999;
	}
	.main-navigation ul ul a {
		width: 100px;
	}
}

@media screen and (max-width: 500px) {
	.site-details h3 {
		font-size: 1.6em;
	}
	.main-navigation {
		padding: 0 90px;
	}
	.main-navigation li:first-of-type {
		margin: 0 -50px;
	}
	.main-navigation li {
		text-align: center;
	}
	.main-navigation ul ul li {
		display: inline-block;
		padding: 5px 10px;
		width: 70px;
	}
	.main-navigation ul ul li:first-of-type {
		margin: 0;
	}
	.secondary-navigation ul li {
		display: block;
		padding: 0.25em;
	}
}