/*
Theme Name: Cindy Williams Art
Theme URI: http://cindywilliamsart.com
Description: Custom theme matching the original Cindy Williams Art website design (2013 Black and White style)
Author: Cindy Williams
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cindywilliamsart
*/

/* Reset */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, nav, section, summary {
	display: block;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

body {
	color: #222;
	line-height: 1.5;
	margin: 0;
}

a {
	color: #444;
	text-decoration: none;
}

a:visited {
	color: #555;
}

a:focus {
	outline: thin dotted;
}

a:active, a:hover {
	color: #777;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: Bitter, Georgia, serif;
	line-height: 1.3;
}

h1 { font-size: 48px; margin: 33px 0; }
h2 { font-size: 30px; margin: 25px 0; }
h3 { font-size: 22px; margin: 22px 0; }
h4 { font-size: 20px; margin: 25px 0; }

p { margin: 0 0 24px; }

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

ul, ol { margin: 16px 0; padding: 0 0 0 40px; }

/* Clearfix */
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.nav-links:before,
.nav-links:after {
	content: "";
	display: table;
}

.site-footer .widget-area:after,
.entry-content:after,
.nav-links:after {
	clear: both;
}

/* Basic Structure */
.hfeed {
	margin: 0 auto;
	max-width: 1600px;
	width: 100%;
}

.site-main {
	position: relative;
}

/* Header */
.site-header {
	position: relative;
	background-size: 1600px auto;
	color: #222;
}

.site-header .home-link {
	color: #222;
	display: block;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 230px;
	padding: 0 20px;
	text-decoration: none;
	width: 100%;
}

.site-title {
	font-size: 60px;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	padding: 58px 0 10px;
	position: absolute;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}

.site-description {
	font: 300 italic 24px "Source Sans Pro", Helvetica, sans-serif;
	margin: 0;
	position: absolute;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}

/* Navigation */
.main-navigation {
	clear: both;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 45px;
	position: relative;
}

.navbar {
	background-color: #eee;
	margin: 0 auto;
	max-width: 1600px;
	width: 100%;
}

ul.nav-menu, div.nav-menu > ul {
	margin: 0;
	padding: 0 40px 0 0;
	list-style: none;
}

.nav-menu li {
	display: inline-block;
	position: relative;
}

.nav-menu li a {
	color: #222;
	display: block;
	font-size: 15px;
	line-height: 1;
	padding: 15px 20px;
	text-decoration: none;
}

.nav-menu li:hover > a,
.nav-menu li a:hover {
	background-color: #111;
	color: #fff;
}

.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #111;
	border: 2px solid #eee;
	border-top: 0;
	padding: 0;
	position: absolute;
	left: -2px;
	z-index: 99999;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	list-style: none;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
	color: #fff;
	margin: 0;
	width: 200px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover {
	background-color: #333;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #444;
	font-style: italic;
}

.menu-toggle {
	display: none;
}

/* Content */
.hentry {
	padding: 40px 0;
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
	margin: 0 auto;
	max-width: 604px;
	width: 100%;
}

.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
	max-width: 1040px;
	padding: 0 376px 0 60px;
}

.entry-header {
	margin-bottom: 30px;
}

.entry-title {
	font-size: 33px;
	font-weight: 300;
	margin: 0 0 5px;
}

.entry-title a {
	color: #222;
}

.entry-title a:hover {
	color: #222;
	text-decoration: underline;
}

.entry-meta {
	color: #444;
	font-size: 12px;
}

.entry-meta a {
	color: #444;
}

.entry-meta a:hover {
	color: #777;
}

.entry-meta > span {
	margin-right: 20px;
}

.entry-content {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.entry-content a {
	color: #444;
}

.entry-content a:hover {
	color: #777;
}

.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
	margin: 5px 20px 5px 0;
}

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
	margin: 5px 0 5px 20px;
}

footer.entry-meta {
	margin-top: 24px;
}

.entry-thumbnail img {
	display: block;
	margin: 0 auto 10px;
}

/* Post/Paging Navigation */
.navigation, .paging-navigation {
	background-color: #eee;
	color: #444;
	font-size: 18px;
	padding: 20px 0;
}

.paging-navigation .nav-links {
	margin: 0 auto;
	max-width: 1040px;
	padding: 0 60px;
}

.paging-navigation .nav-previous {
	float: left;
	width: 50%;
}

.paging-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.navigation a, .paging-navigation a {
	color: #555;
}

.navigation a:hover, .paging-navigation a:hover {
	color: #666;
	text-decoration: underline;
}

.paging-navigation .meta-nav {
	background-color: #555;
	border-radius: 2px;
	color: #fff;
	display: inline-block;
	font-size: 11px;
	padding: 2px 5px;
}

.paging-navigation a:hover .meta-nav {
	background-color: #666;
}

/* Post Navigation (single) */
.post-navigation {
	background-color: #eee;
	padding: 20px 0;
}

.post-navigation .nav-links {
	margin: 0 auto;
	max-width: 1040px;
	padding: 0 60px;
}

.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* Sidebar */
.sidebar-container {
	height: 0;
	position: absolute;
	top: 40px;
	width: 100%;
	z-index: 1;
}

.sidebar-inner {
	margin: 0 auto;
	max-width: 1040px;
}

.widget-area {
	float: right;
	width: 300px;
	padding: 0 20px;
}

.widget {
	background: #eee;
	font-size: 14px;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	margin: 0 0 24px;
	padding: 20px;
	word-wrap: break-word;
}

.widget a {
	color: #444;
}

.widget-title {
	font-size: 16px;
	margin: 0 0 15px;
}

.widget ul {
	list-style: disc;
	margin: 0;
	padding: 0 0 0 20px;
}

.widget li { padding: 2px 0; }

/* Footer */
.site-footer {
	background-color: #eee;
	clear: both;
	font-size: 14px;
	margin: 0 auto;
	max-width: 1600px;
	padding: 20px;
	width: 100%;
}

.site-info {
	margin: 0 auto;
	max-width: 1040px;
	text-align: center;
}

.site-footer a {
	color: #555;
}

.site-footer a:hover {
	color: #666;
}

/* Responsive */
@media (max-width: 999px) {
	.sidebar .entry-header,
	.sidebar .entry-content,
	.sidebar .entry-summary,
	.sidebar .entry-meta {
		max-width: 604px;
		padding: 0 20px;
	}

	.sidebar-container {
		position: relative;
		top: 0;
		height: auto;
	}

	.widget-area {
		float: none;
		width: 100%;
		max-width: 604px;
		margin: 0 auto;
	}

	.paging-navigation .nav-links,
	.post-navigation .nav-links {
		padding: 0 20px;
	}
}

@media (max-width: 767px) {
	.site-header {
		background-size: 768px auto;
	}

	.site-header .home-link {
		min-height: 115px;
	}

	.entry-title {
		font-size: 24px;
	}

	h1 { font-size: 28px; }
	h2 { font-size: 22px; }
}

@media (max-width: 359px) {
	.site-header {
		background-size: 360px auto;
	}
}
