/*
Theme Name:     Pre-Cut Patterns
Theme URI:      http://example.com/
Description:    Child theme of the Twenty Eleven theme 
Author:         Swamp-Side Studio
Author URI:     http://swampsidestudio.com/
Template:       twentyeleven
Version:        2.0
License: GNU General Public License
License URI: license.txt
*/


/* Structure
----------------------------------------------- */
#page {
    margin: 0 auto;
}

/* Singular */
.singular #primary {
	margin: 0 -26.4% 0 0;
}
.singular #content,
.left-sidebar.singular #content {
	margin: 0 34% 0 7.6%;
	width: 58.4%;
}


/* Global
----------------------------------------------- */

/* Links */
a {
	color: #1a9acb;
}
a:focus, a:active, a:hover {
	color: #007aa9;
}
.entry-meta a {
	font-weight: normal;
}
body, input, textarea {
	font: 300 17px/1.625 "Helvetica Neue",Helvetica,Arial,sans-serif;
}


/*
 * Buttons
----------------------------------------------- */
input[type=submit] {
	background: #009bcb;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 5px 15px;
}
input[type=submit]:hover,
#respond input#submit:hover {
	background: #02afe5;
}
#footer-top input[type=submit] {
	background: #009bcb;
	border: none;
	color: #fff;
}
#footer-top input[type=submit]:hover {
	cursor: pointer;
	background: #02afe5;
}
#respond input#submit { /* Comments */
	background-color: #009bcb;
	text-shadow: none;
	border-radius: 4px;
}
body .responsive-menu-button { /* Responsive Menu Plugin */
	border: 1px solid #ccc;
	border-radius: 4px;
}


/* Header
----------------------------------------------- */
#branding {
    border-top: none;
	padding-bottom: 0;
}
#site-title {
    padding-top: 1em;
}
#site-description {
    margin-bottom: 1em;
}
#branding .logo {
	padding: 8px 0;
	width: 20.754717%;
}


/* Menu
-------------------------------------------------------------- */
#access a {
	line-height: 2.8em;
}
#access ul {
	font-size: 14px;
}
#access ul ul {
    top: 2.8em;
}
#access ul ul a {
    line-height: 1.2em;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a,
#access .current_page_parent > a{
    color: #fff;
}
#access .current_page_parent > a {
	font-weight: bold;
}

/* Search Form */
#branding #searchform {
    top: 1.6em;
}
#branding #s {
	width: 110px;
}


/* Content
----------------------------------------------- */
#main {
	padding-top: 1em;
}
.page-title {
    margin: 0 0 2.0em;
}
h1.page-title {
    margin: 0 0 2.0em;
	font-weight: bold;
	clear: none;
	display: inline-block;
}
.entry-content .wp-block-quote {
	margin: 0 1em 2em 1em;
	color: #888;
	font-size: 140%;
}
.single-post .entry-content blockquote p {
	margin-bottom: 0.4em;
}
.wp-block-quote cite {
	display: inline-block;
	margin-top: 0;
	margin-bottom: 1em;
	margin-left: 3em;
}
.wp-block-quote cite::before {
	content: "– ";
}

/* Blog Archives */
.archive-entry-content {
	overflow: hidden;
}
.hentry, .no-results {
	margin: 0 0 1.625em;
	padding: 0 0 1.625em;
}
.archive-featured-image img {
	max-width: 100%;
	max-height: 100%;
}

/* Stencil Archives */
.post-type-archive-precut_stencil .hentry,
.tax-stencil_category .hentry,
.tax-stencil_tag .hentry {
    border-bottom: none;
    margin-bottom: 2em;
    margin-right: 3%;
	padding-bottom: 0;
	width: 30.3%;
	float: left;
}
.post-type-archive-precut_stencil img,
.tax-stencil_category img,
.tax-stencil_tag img {
	margin-right: 0;
	margin-bottom: 0;
}

/* Singular content styles for Posts and Pages */
.singular.page .hentry {
    padding: 0;
}
.singular .hentry {
    padding-top: 0;
}
.entry-title,
.singular .entry-title,
.blog .entry-title {
	padding-top: 0.2em;
}
.entry-title,
.entry-header .entry-meta {
	padding-right: 0;
}
.entry-title a {
	color: #1a9acb;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
	color: #007aa9;
	text-decoration: underline;
}
.entry-meta {
	font-size: 13px;
}
.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
    width:100%;
}
.single-post footer.entry-meta {
	padding-bottom: 2em;
}
.single-post .entry-content p {
	margin-bottom: 1em;
}
.entry-content,
.entry-summary {
	padding: 1em 0 0;
}
.post-type-archive-precut_stencil .entry-content,
.tax-stencil_category .entry-content,
.tax-stencil_tag .entry-content,
.single-precut_stencil .entry-content,
.post-type-archive-precut_stencil .entry-summary,
.tax-stencil_category .entry-summary,
.tax-stencil_tag .entry-summary,
.single-precut_stencil .entry-summary {
    padding: 0;
}
.entry-content h2 {
	font-size: 130%;
	margin: 0.4em 0;
}
.entry-content h4 {
	font-size: 115%;
	font-weight: bold;
}
.entry-content h5 {
	font-weight: bold;
}
.entry-content h6 {
	font-size: 90%;
	font-weight: bold;
}
.posted-on {
	margin-bottom: 0.2em;
}
.sep {
	padding: 0 0.5em;
}
.entry-header .comments-link a {
	top: 0.7em;
}
.entry-content .addtoany_content {
	margin: 3em auto;
}

/* Images */
img.size-full, img.size-large {
	max-width: 100%;
}
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {
	border: 1px solid #eee;
	max-width: 100%;
}
.attachment-thumbnail {
	display: inline;
    float: left;
	height: auto;
	padding: 6px;
	border: 1px solid #EEEEEE;
    max-width: 100%;
}
a:hover .attachment-thumbnail {
	background-color: #eee;
	border-color: #bbb;
}
.home .attachment-thumbnail {
	margin-bottom: 1.625em;
}

/* Make Youtube Videos Mobile Responsive */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* Jetpack Sharing
----------------------------------------------- */
div.sharedaddy {
	margin-top: 3em;
	margin-bottom: 3em;
}
div.sharedaddy h3.sd-title {
	font-size: 10px !important;
	font-weight: normal !important;
	text-transform: uppercase;
}
div.sharedaddy h3.sd-title:before {
	border-top: none !important;
}
.share-count {
	background-color: #009bcb !important;
}
.search-results .attachment-thumbnail {
	margin-right: 20px;
}
.search-results .hentry {
	overflow: hidden;
}


/* Widgets
----------------------------------------------- */
.widget-title {
	font-size: 12px;
}
.widget-area {
	font-size: 13px;
}
#home-favorite h3 {
	margin-bottom: 0;
}
.singular.page #home-favorite .hentry {
    margin-bottom: 0;
}
.widget ul li {
	list-style: none;
}
.widget a {
	font-weight: normal;
}
.textwidget ol {
	margin-left: 1.5em;
}
#ie7 .textwidget ol {
	margin-left: 2em;
}
.widget_tag_cloud {
	overflow: hidden;
}


/* Navigation
-------------------------------------------------------------- */
/* Singular navigation */
#nav-single {
	float: left;
	top: 0;
	text-align: left;
	margin: 0 0 1.8em;
	width:100%;
}
#nav-single .nav-next a,
#nav-single .nav-previous a {
    background-color: #f6f6f6;
	border-radius: 6px;
	padding: 0.3em 0.5em;
	width: 76%;
	display: block;
	text-align: center;
}
#nav-single .nav-next a:hover,
#nav-single .nav-previous a:hover,
#nav-single .nav-next a:active,
#nav-single .nav-previous a:active,
#nav-single .nav-next a:focus,
#nav-single .nav-previous a:focus {
	text-decoration: none;
	background-color: #eee;
}
#nav-single .nav-next,
#nav-single .nav-previous {
	float: left;
	width: 48%;
	display: block;
	padding-bottom: 1px;
}
#nav-single .nav-next {
    padding-left: 0;
}


/* WP-PageNavi
----------------------------------------------- */
.wp-pagenavi {
	clear: both;
	margin: 0 0 2em;
	font-size: 80%;
	overflow: hidden;
}
.wp-pagenavi span.pages {
	padding: 3px 5px 3px 0;
	margin: 2px 2px 2px 0;
	color: #bbb;
	float: left;
}
.wp-pagenavi a,
.wp-pagenavi span.current {
	text-decoration: none;
	background-color: #f6f6f6;
	border-radius: 6px;
	padding: 0.4em 0.7em;
	margin: 0 0.4em 0.7em 0.4em;
	float: left;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	background-color: #eee;
	color: #666;
}
.wp-pagenavi span.current {
	font-weight: bold;
}


/* error404
----------------------------------------------- */
.error404 #main .widget_tag_cloud {
	width: 30.85%;
}
.error404 .widgettitle {
	font-weight:bold;
}
.error404 #main #s {
	background-color: #fff;
}


/* Footer
----------------------------------------------- */
#supplementary {
	background:#F9F9F9;
	border-top: none;
}
#footer-top,
#footer-bottom {
	overflow: hidden;
	padding: 2em 7.6% 1em;
	background:#535456;
	text-align: center;
}
#footer-top .widget-title,
#footer-bottom .widget-title {
	color: #fff;
	line-height: inherit;
	margin-bottom: 1em;
}
#footer-top form {
	margin: 0 auto;
	display: inline-block;
	text-align: center;
}
#footer-top .mc4wp-form-fields div {
	display: inline-block;
	margin-bottom: 0.6em;
}
#footer-top input[type=email] {
	margin-right: 12px;
	background: #fff;
	border: none;
	padding-left: 10px;
}
#footer-top .mc4wp-success p {
    color: #fff;
    font-weight: bold;
    margin-top: 1em;
}
#footer-bottom .widget a {
	margin: 0 0.8em;
	color: #e2e2e2;
}
#footer-bottom a:hover svg {
	fill: #02afe5;
}


/* Responsive Structure
----------------------------------------------- */
@media screen and (max-width: 1000px) {
    body {
        padding: 0;
    }
	#branding .logo {
		width: 176px;
	}
}

@media screen and (max-width: 870px) {
    .post-type-archive-precut_stencil .hentry,
    .tax-stencil_category .hentry,
	.tax-stencil_tag .hentry {
        margin-right: 5%;
        width: 40%;
    }
}

@media screen and (max-width: 800px) {
	#branding #searchform {
		display: none;
	}
	.post-type-archive-precut_stencil .hentry,
	.tax-stencil_category .hentry,
	.tax-stencil_tag .hentry,
    .singular.page #home-favorite .hentry {
        margin-right: 3%;
        width: 30.3%;
    }
    .singular.page #home-favorite .hentry {
        float: left;
    }
}

@media screen and (min-width: 651px) {
	.home.singular .entry-title {
		font-size: 32px;
	}
}

@media screen and (max-width: 650px) {
	.post-type-archive-precut_stencil .hentry,
	.tax-stencil_category .hentry,
	.tax-stencil_tag .hentry,
    .singular.page #home-favorite .hentry {
        margin-right: 10%;
        width: 40%;
    }
	.singular .entry-title {
		line-height: 32px;
	}
}

@media screen and (max-width: 480px) {
    #page {
        margin-top: 0;
    }
    #branding {
        border-top: none;
    }
    #access a {
        padding:0 1em;
    }
    .wp-pagenavi {
        font-size:100%;
        margin-bottom:1em;
    }
    .wp-pagenavi span,
    .wp-pagenavi a {
        float:left;
    }
    .wpcf7 {
        width:95%;
    }
    .wpcf7-text {
        width:95%;
    }
}

@media screen and (min-width: 460px) {
	.post-type-archive-precut_stencil .hentry,
	.tax-stencil_category .hentry,
	.tax-stencil_tag .hentry {
		height: 164px;
	}
}