/*
Theme Name: Wayne Horvitz
Theme URI: http://www.yannnovakdesign.com/
Description: Custom theme for Wayne Horvitz
Author: the Yann Novak Design
Version: 1.1
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	outline: none;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}
header,
main,
section,
article,
nav,
footer {
	display: block;
}

/* =Layout
-------------------------------------------------------------- */

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#container {
	margin: 0;
	width: 100%;
}
#content {
	float: left;
	margin: 0 6.25% 0 0;
	width: 46.875%;
}
#aside {
	float: left;
	margin-bottom: 7.143em;
	width: 46.875%;
}
.single #aside {
	margin-bottom: 0;
}
footer {
	clear: both;
	width: 100%;
}
.one-column #content {
	margin: 0 auto;
	width: 100%;
}
.one-two-column #content {
	margin: 0;
	width: 62.5%;
}
.one-two-column #aside {
	margin: 0 6.25% 7.143em 0;
	width: 31.25%;
}



/* =Fonts
-------------------------------------------------------------- */
#site-title,
#site-copyright {
	font-family: 'Slabo 27px', serif;
}
body,
input,
textarea,
#access .menu,
#access div.menu ul,
.form-allowed-tags,
.entry-content,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.widget-title,
.wp-caption-text,
pre,
code {
	font-family: 'Open Sans', sans-serif;
}


/* =Structure
-------------------------------------------------------------- */

header,
#access .menu-header,
#colophon,
#branding,
main  {
	margin: 0 auto;
	max-width: 960px;
	min-width: 668px;
}

#wrapper {
	background: #fff;
	margin: 0 auto;
	padding: 0 50px;
}
#site-copyright {
	float: left;
	font-size: 0.857em;
	letter-spacing: .05em;
	line-height: 0.857em;
	width: 100%;
}


/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
	background: #fff;
}
body,
input,
textarea {
	color: #222;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.714em;
}
hr {
	background-color: #e7e7e7;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 1.714em;
}

/* Text elements */
p {
	margin-bottom: 1.714em;
}
ul {
	list-style: none;
	margin: 0 0 1.714em 0;
}
ol {
	list-style: decimal;
	margin: 0 0 1.714em 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 1.714em 0;
}
dt {
	font-weight: 700;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: 700;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	font-style: italic;
	padding: 0;
	width: 100%;
}
blockquote cite,
blockquote em,
blockquote i,
blockquote div {
	font-style: normal;
}
pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
input[type="text"],
input[type="email"],
textarea {
	letter-spacing: .025em;
	line-height: 2em;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	width: 100%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
input[type="text"],
input[type="email"] {
	border-top: none;
	border-right: none;
	border-bottom: 2px solid #abb7b7;
	border-left: none;
	color: #abb7b7;
}
input[type="text"]:focus,
input[type="email"]:focus {
	border-bottom-color: #222222;
	color: #222222;
	outline: none;
}
#aside a.button,
input[type="submit"] {
	background-color: transparent;
	border: 2px solid #abb7b7;
	color: #abb7b7;
	font-weight: 700;
	letter-spacing: .025em;
	line-height: 2.857em;
	text-align:center;
	text-transform: uppercase;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	width: 44.4444%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
#aside a.button {
	display: block;
	text-decoration:none;
	width: 50%;
}
#aside a.button:hover,
input[type="submit"]:hover {
	border: 2px solid #222222;
	color: #222222;
}
textarea {
	border: 2px solid #abb7b7;
	color: #abb7b7;
	padding: 5px
}
textarea:focus {
	border-color: #222222;
	color: #222222;
	outline: none;
}
a:link {
	color: #abb7b7;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
a:visited {
	color: #abb7b7;
}
a:active,
a:hover {
	color: #222;
}
a.big {
	border-bottom: 2px solid #abb7b7;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 2em;
	text-decoration: none;
	text-transform: uppercase;
}
a.big:hover {
	border-bottom: 2px solid #222;
}
.clear {
	clear: both;
}
.clear-height {
	clear: both;
	height: 1px;
}
p.left {
	clear: left;
	float: left;
	width: 44.4444%;
}
p.right {
	margin-left: 55.5555%
}


/* =Header
-------------------------------------------------------------- */

header {
	border-bottom: 1px solid #abb7b7;
	padding: 30px 0 0 0;
}
#site-title {
	float: left;
	font-size: 2.5em;
	line-height: 60px;
	margin: 0;
	width: 50%;
}
#site-title a {
	color: #222;
	font-weight: 400;
	letter-spacing: .05em;
	text-decoration: none;
	text-transform: uppercase;
}
#site-share {
	float: left;
	font-style: italic;
	margin: 14px 0 18px 0;
	text-align:right;
	width: 50%;
}
#site-share a {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 24px 22px;
	display: inline-block;
	height: 22px;
	position: relative;
	width: 24px;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
}
#site-share a:hover {
	background-image: none;
}
#site-share a img {
  position:absolute;
  left:0;
  opacity:0;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

#site-share a img:hover {
  opacity: 1.0;
}
#site-share a.facebook {
	background-image:url(images/facebook@2x.png);
	margin: 4px 5px 0 0;
}

#site-share a.instagram {
	background-image:url('http://www.waynehorvitz.com/wp-content/uploads/2018/09/instagram@2x-1.png');
	margin: 4px 5px 0 6px;
}

#site-share a.twitter {
	background-image:url(images/twitter@2x.png);
	margin-top: 5px;
}



.masthead {
	margin: 40px 0 0;
	display: block;
	height: auto;
	max-width: 960px;
	width: 100%;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	clear: both;
	display: block;
	float: left;
	margin: 0 auto 20px;
	width: 100%;
}
#access .menu-header,
div.menu {
	font-size: 0.929em;
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#access a {
	color: #abb7b7;
	display: block;
	letter-spacing: .05em;
	line-height: 50px;
	padding: 0 30px 0 0;
	text-decoration: none;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
@media all and (max-width: 960px) {
	#access a {
		padding: 0 15px 0 0;
	}
}
#access li:hover > a {
	color: #222;
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #222;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #222;
}


/* =Content
-------------------------------------------------------------- */

main {
	clear: both;
	overflow: hidden;
}
#content {
}
#content {
	color: #222;
	font-size: 1em;
	letter-spacing: .025em;
	line-height: 1.714em;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
	margin-bottom: 1.714em;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
	margin-bottom: 0;
}
#content pre,
#content kbd,
#content tt,
#content var {
	font-size: 15px;
	line-height: 21px;
}
#content dt,
#content th {
	color: #222;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#aside h1,
#aside h2,
#aside h3,
#aside h4,
#aside h5,
#aside h6 {
	color: #222;
	font-size: 1.429em;
	font-weight: 400;
	line-height: 1.2em;
	margin: 0 0 1.2em 0;
}
#content input,
#aside input {
	margin: 0 0 2em 0;
}
#content input[type="radio"],
#aside input[type="radio"] {
	margin: 0 10px 0 0;
}
#aside h3,
#content h3 {
	padding-top: 1.2em;
}
.hentry {
	margin: 0 0 3.714em 0;
}
.home .hentry,
.page-template-page-news-archive .hentry {
	border-bottom: 1px solid #abb7b7;
}
.single .hentry {
	border-bottom: none;
	margin: 0 0 3.714em 0;
}
.page-template-page-about .hentry {
	margin: 0 0 3.714em 0;
}
.page-template-twocolumns-page .hentry {
	margin: 0;
}
.page-template-page-news-archive .hentry:last-child {
	margin: 0;
}
.page-title,
#aside .page-title,
#content .page-title {
	border-bottom: 1px solid #abb7b7;
	color: #abb7b7;
	font-size: 2.143em;
	font-weight: 400;
	letter-spacing: .025em;
	line-height: 4em;
	margin: 0 0 1.5em;
}
#aside .entry-title,
#content .entry-title {
	color: #222;
	font-size: 1.429em;
	font-weight: 400;
	letter-spacing: .025em;
	line-height: 1.5em;
	margin-bottom: 1.2em;
}
.single #aside .entry-title,
.single #content .entry-title {
	margin-top: -7px;
	margin-bottom: .6em;
}
#content .list-title {
	font-style: italic;
	font-weight: 700;
}
.entry-content,
.entry-summary {
	clear: both;
	padding: 0 0 1.714em;
}
.page-template-twocolumns-page .entry-content {
	padding: 0;
}
.page-template-page-news-archive .entry-content {
	clear: right;
}
.home .hentry:last-child,
.page-template-twocolumns-page #content .entry-content p:last-child,
.page-template-twocolumns-page #aside .entry-content p:last-child,
.single #content .entry-content p:last-child {
	margin-bottom: 0;
}
.entry-meta {
	color: #abb7b7;
	font-size: 1em;
	font-weight:600;
	letter-spacing: .025em;
	margin-bottom: .6em;
}
.entry-utility {
	font-size: 0.857em;
}
#content  ul.works,
#content  ul.works-bottom {
	margin-left: -2.941176%;
	margin-right: -2.941176%;
}
#content  ul.works li.hentry,
#content  ul.works-bottom li.hentry {
	border-bottom: 1px solid #abb7b7;
	float: left;
	margin-left: 2.941176%;
	margin-right: 2.941176%;
	width: 44.117647%;
	-webkit-backface-visibility: hidden;
}
#content  ul.works img,
#content  ul.works-bottom img {
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	opacity: 1.0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}
#content  ul.works img:hover,
#content  ul.works-bottom img:hover {
	opacity: 0.7;
}
#content  ul.works li.hentry .entry-title,
#content  ul.works-bottom li.hentry .entry-title {
	margin-bottom: .8em;
}
#content ul.works li.hentry img.aligncenter,
#content ul.works-bottom li.hentry img.aligncenter {
	margin-bottom: 1.8em;
}
#content ul.works-bottom li.hentry:last-child,
#content ul.works-bottom li.hentry:nth-child(odd) {
	margin-bottom: 0;
}
#aside .call-to-action {
	margin: 1.5em 0 0;
}


/* =Images
-------------------------------------------------------------- */

img.featured,
#aside img,
#content img {
	display: block;
	margin: 0;
	height: auto;
	max-width: 960px;
	width: 100%;
}
#content img.ajax-loader {
	display:inline-block;
	margin-left: 10px;
	width: auto;
}
#content img.archive-image {
	float: left;
	margin: 0 6.25% 3.428em 0;
	width: 46.875%;
}
 #content img.news {
	 margin-bottom: 7.143em;
 }
#aside .alignleft,
#aside img.alignleft,
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 4%;
	margin-top: 5px;
	width: 46%;
}
#aside .alignright,
#aside img.alignright,
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 4%;
	margin-top: 5px;
	width: 46%;
}
#aside .aligncenter,
#aside img.aligncenter,
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin: 5px auto 2em;
}
#aside img.alignleft,
#aside img.alignright,
#aside img.aligncenter,
#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 2em;
}
#aside .wp-caption,
#content .wp-caption {
	background: #ffffff;
	line-height: 18px;
	margin-bottom: 2em;
	padding: 0;
	text-align: center;
}
#aside .wp-caption img,
#content .wp-caption img {
	margin: 5px 5px 0;
}
#aside .wp-caption p.wp-caption-text,
#content .wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
img.featured {
	clear: both;
	display: block;
	margin: 5px auto 2.5em;
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
	color: #222;
	font-size: 2.143em;
	font-weight: 400;
	line-height: 4em;
}
.navigation a:link,
.navigation a:visited {
	color: #abb7b7;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #222;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-center {
	float: left;
	text-align: center;
	width: 100%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-below {
	clear: both;
}


/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin: 0;
}
.widget-area ul ul {
	list-style: square;
	margin-left: 1.3em;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	border-bottom: 1px solid #abb7b7;
	margin: 0;
	padding: 0 0 1.7em;
}
.widget-title {
	color: #222;
	font-weight: bold;
}
main .widget-area ul {
	margin-left: 0;
	padding: 0;
}
main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}
blockquote {
	color: #222;
	font-size: 1.429em;
	font-weight: 300;
	line-height: 1.75em;
	padding-bottom: 1px;
}
.quote div {
	font-weight: 700;
	height: 2.143em;
}


/* =Footer
-------------------------------------------------------------- */

footer {
}
#colophon {
	border-top: 2px solid #222;
	margin-top: -2px;
	overflow: hidden;
	padding: 30px 0 60px;
}
#site-copyright {
	font-weight: normal;
	text-transform: uppercase;
}