/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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


@font-face {
    font-family: 'dancing_script';
    src: url('script/dancingscript-regular-webfont.eot');
    src: url('script/dancingscript-regular-webfont%EF%B9%96.eot#iefix') format('embedded-opentype'),
         url('script/dancingscript-regular-webfont.woff') format('woff'),
         url('script/dancingscript-regular-webfont.ttf') format('truetype'),
         url('script/dancingscript-regular-webfont.svg#dancing_script_otregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'hand';
    src: url('hand/desyrel-webfont.eot');
    src: url('hand/desyrel-webfont%EF%B9%96.eot#iefix') format('embedded-opentype'),
         url('hand/desyrel-webfont.woff') format('woff'),
         url('hand/desyrel-webfont.ttf') format('truetype'),
         url('hand/desyrel-webfont.svg#desyrelregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

.columns span {
	-webkit-column-break-inside: avoid; /* Chrome, Safari */
    page-break-inside: avoid;           /* Theoretically FF 20+ */
    break-inside: avoid-column;         /* IE 11 */
    display:table;                      /* Actually FF 20+ */
}

@media screen and (min-width : 550px){
	.columns {
	  -webkit-columns: 2 200px;
	  -moz-columns: 2 200px;
	  columns: 2 200px;
	}
}

@media screen and (min-width : 800px){
	.columns {
	  -webkit-columns: 3 200px;
	  -moz-columns: 3 200px;
	  columns: 3 200px;
	}
}



header.main {
	width: 968px; margin: 0 auto; position: relative; padding-top: 50px; padding-bottom: 20px;
}
	header.main .bg {
		background: transparent url(../img/leaves-header.jpg) no-repeat 0 0;
		width: 734px; height: 306px; position: absolute; top: -100px; right: -150px; z-index: -200;
	}

	header.main nav { text-align: center; padding: 10px 10px; width: 450px; margin: 0 auto; border-radius: 3px; }
	header.main nav a { color: #647211; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-block; padding: 0 5px; }
	header.main h1 a {
		background: transparent url(../img/new-leaves.png) no-repeat 0 0;
		display: block; width: 500px; height: 125px; background-size: 500px 125px;
		margin: 0 auto;
	}
	header.main nav.pages { border-bottom: 1px solid rgba(0,0,0,0.10); }
	header.main nav.categories a{
		font-size: 12px; font-weight: 400;
	}
	

.article_index {
	width: 968px; margin: 0 auto;
}
	.article_index h2.sub_head { font-family: "hand"; text-align: center; font-size: 36px; }
	.article_index article { clear: both; margin-bottom: 30px; width: 850px; margin-left: 60px; float: left; }
		.article_index article .thumbnail {
			float: left; width: 220px; height: 123px; margin-right: 40px; 
		}
			.article_index article .thumbnail img { width: 220px; height: 123px; }
			
		.article_index article .intro { float: left; width: 550px; padding-top: 15px; }
			
			.article_index article a { color: inherit; display: block; }
			.article_index article hgroup {
				font-family: "dancing_script"; font-weight: 100;
			}
			
				.article_index article hgroup h2 { font-size: 16px; font-weight: inherit; margin-bottom: 5px; color: #898989 }
				.article_index article hgroup h1 { font-size: 36px; font-weight: inherit; margin: 0; line-height: 1em;  }
				.article_index article p { margin-top: 15px; color: #505050; font-family: "Palatino", "Georgia";  }

	.article_index article:nth-child(2n) .thumbnail { -webkit-transform:rotate(2deg); -moz-transform:rotate(2deg); -ms-transform:rotate(2deg); -o-transform:rotate(2deg); transform:rotate(2deg); }
	.article_index article:nth-child(3n) .thumbnail { -webkit-transform:rotate(-1deg); -moz-transform:rotate(-1deg); -ms-transform:rotate(-1deg); -o-transform:rotate(-1deg); transform:rotate(-1deg); }
	.article_index article:nth-child(4n) .thumbnail { -webkit-transform:rotate(5deg); -moz-transform:rotate(5deg); -ms-transform:rotate(5deg); -o-transform:rotate(5deg); transform:rotate(5deg); }
	.article_index article.video .thumbnail,
	.article_index article.video:nth-child(2n) .thumbnail,
	.article_index article.video:nth-child(3n) .thumbnail,
	.article_index article.video:nth-child(4n) .thumbnail { -webkit-transform:rotate(-1deg); -moz-transform:rotate(-1deg); -ms-transform:rotate(-1deg); -o-transform:rotate(-1deg); transform:rotate(-1deg); }
	
	.article_index .pagination { float: right; width: 400px; padding: 30px 0; text-align: right; color: #454545; font-size: 13px; }
	.article_index .pagination a { color: #1c1c1c; text-decoration: none; display: inline-block; border: 1px solid #d7d7d7; padding: 5px; }



.article_index article.video .thumbnail { width: 560px; height: 315px; }
.article_index article.video .intro { width: 210px;}



article a { color: #647211; text-decoration: none;}
article a:hover { text-decoration: underline;}

article.detail { width: 968px; margin: 0 auto; position: relative; }
article.detail i#oops { width: 225px; height: 225px; display: block; background: transparent url('../img/coffee-oops.jpg') no-repeat 0 0; background-size: 225px 225px; position: absolute; z-index: -10; top: 150px; right: 0; }
article.detail .main_image { position: relative; left: -30px; top: -20px; }
article.detail .main_image figcaption { font-size: 12px; position: relative; top: -10px; padding-left: 20px; width: 700px; color: #898989;  }
article.detail.video .main_image { -webkit-transform:rotate(0deg); -moz-transform:rotate(0deg); -ms-transform:rotate(0deg); -o-transform:rotate(0deg); transform:rotate(0deg); }
article.detail .map { position: absolute; width:300px; height: 250px; top: 300px; right: -70px; 
	-webkit-transform:rotate(3deg); -moz-transform:rotate(3deg); -ms-transform:rotate(3deg); -o-transform:rotate(3deg); transform:rotate(3deg);
}
article.detail .map p.location { text-align: right; }
article.detail .map p.location a { text-decoration: none; color: #2a2a2a; font-size: 13px; font-weight: 600;  }

article.detail header { width: 700px; margin: 0 auto; font-family: "dancing_script"; font-weight: 100; text-align: center; }
article.detail hgroup h1 { font-size: 72px; font-weight: inherit; margin: 0; line-height: 1em; clear: both; }
article.detail hgroup h2 { font-size: 16px; font-weight: inherit; margin-bottom: 0; color: #898989 }
article.detail .body { width: 700px; color: #505050; font-size: 18px; margin: 30px auto 75px auto; font-family: "Palatino", "Georgia"; }
article.detail .body .intro { font-size: 24px; }
article.detail .body ul li { margin-bottom: 1.5em; }
article.detail.page { margin-bottom: 200px; }

article.detail.page form .item { clear: both; padding-top: 15px; }
article.detail.page form .item .label { float: left; width: 200px; text-align: right; padding-right: 20px; color: #a2b202; font-weight: 600; }
article.detail.page form .item .input { float: left; width: 300px;  }
article.detail.page form .item .input input[type=text],
article.detail.page form .item .input textarea { width: 300px; }

ul.errors { margin: 0; padding: 0; }
ul.errors li { margin: 0; padding: 5px 7px; background-color: #a60f0f; color: #FFF; width: 290px; }

.left { float: left; position: relative; left: -100px; margin-right: -85px; }
.right { float: right; position: relative; right: -100px; margin-left: -85px;}

div.left img,
div.right img { margin-bottom: .5em; display: block; width: 350px; height: auto;  }
div.center img { width: 500px; height: auto; }
div.full img { width: 1000px; height: auto; }

figure figcaption { font-size: 12px; font-family: Palatino, Georgia, serif; font-style: oblique; }
article.detail figure { margin-bottom: 1em; }

.left figure,
.right figure,
figure.left,
figure.right { width: 350px; }

.center figure { width: 500px; padding: 25px 100px; }
.full figure { width: 1000px; margin-left: -150px; }

figure.left img,
figure.right img { width: 350px; height: auto; }



figure.single img { width: 100%; height: auto; }

.grid { width: 900px; float: left;  margin-left: -100px; }
.grid figure { float: left; width: 440px; padding: 5px; }
.grid figure img { width: 440px; height: auto;  }

.right { text-align: right; }

.small {font-size: 12px; font-style: oblique; font-weight: bold; color: #666633!important; }

.bold {font-weight: bold; }

.commentlist {
	width: 968px; margin: 0 auto; list-style-type: none; 
	font-family: "hand"; padding: 0;
}

	.commentlist li { width: 290px; margin: 0 25px 50px 0;
		-webkit-box-shadow:none; -moz-box-shadow:none; box-shadow:none; float: left;
	    -webkit-transform:rotate(-3deg); -moz-transform:rotate(-3deg); -ms-transform:rotate(-3deg); -o-transform:rotate(-3deg); transform:rotate(-3deg);
	}
	
	.commentlist li:nth-child(2n){ -webkit-transform:rotate(4deg); -moz-transform:rotate(4deg); -ms-transform:rotate(4deg); -o-transform:rotate(4deg); transform:rotate(4deg); }
	.commentlist li:nth-child(3n){ -webkit-transform:rotate(-1deg); -moz-transform:rotate(-1deg); -ms-transform:rotate(-1deg); -o-transform:rotate(-1deg); transform:rotate(-1deg); }
	.commentlist li:nth-child(4n){ -webkit-transform:rotate(-2deg); -moz-transform:rotate(-2deg); -ms-transform:rotate(-2deg); -o-transform:rotate(-2deg); transform:rotate(-2deg); }
	.commentlist li:nth-child(5n){ -webkit-transform:rotate(3deg); -moz-transform:rotate(3deg); -ms-transform:rotate(3deg); -o-transform:rotate(3deg); transform:rotate(3deg); }
	.commentlist li:nth-child(6n){ -webkit-transform:rotate(1deg); -moz-transform:rotate(1deg); -ms-transform:rotate(1deg); -o-transform:rotate(1deg); transform:rotate(1deg); }
	.commentlist li:nth-child(7n){ -webkit-transform:rotate(-5deg); -moz-transform:rotate(-5deg); -ms-transform:rotate(-5deg); -o-transform:rotate(-5deg); transform:rotate(-5deg); }

	.commentlist li:first-child:nth-last-child(1) {
	    width: 600px; padding-left: 100px;
	}
	
	/* two items */
	.commentlist li:first-child:nth-last-child(2),
	.commentlist li:first-child:nth-last-child(2) ~ li {
	    width: 430px;
	}

	
	#comment_form { width: 968px; margin: 0 auto 100px auto; }
	#comment_form h3 { text-align: center; font-family: "hand"; font-size: 36px;  }
	#comment_form .form_fields { margin: 0 312px; }
	#comment_form .form_fields textarea {
		width: 300px; height: 200px; font-family: "hand";
		border: 2px dashed #e3e3e3; outline: none; padding: 20px; border-radius: 10px; 
	}
	#comment_form .form_fields textarea:focus { border-color: #aaaaaa; }
	
	#comment_form .form_fields input[type=text] { margin-top: 20px; border: none; font-family: "hand"; border-bottom: 2px dashed #e3e3e3;  }
	#comment_form .form_fields input[type=text]:focus { outline: none; border-color: #aaaaaa; }
	#comment_form .form_fields label { font-style: oblique; font-family: "Palatino", "Georgia", serif; }
	#comment_form .form_fields .field { float: right;   }
	
	#comment_form .meta_fields { background-color: #f1f1f1; clear: both; border-radius: 5px; padding: 20px; margin-top: 20px; float: left; }
	#comment_form .meta_fields .field { float: none; clear: both; padding-bottom: 15px;  }
	#comment_form .meta_fields .field label { display: block; font-style: normal; font-family: sans-serif; font-size: 12px; font-weight: 600; color: #4a4a4a; }
	#comment_form .meta_fields .field input { margin-top: 5px; border: 1px solid #e3e3e3; font-family: sans-serif; padding: 3px; font-size: 12px; width: 295px;  }
	#comment_form .meta_fields .field.checkbox input { float: left; width: auto; }
	#comment_form .meta_fields .field.checkbox label { float: left; margin-left: 5px; line-height: 1.9em; }
	#comment_form .meta_fields .field.captcha label { float: left; line-height: 30px;  }
	#comment_form .meta_fields .field.captcha img { float: right; }
	
	#comment_form input[type=submit]{ clear: both; margin-top: 20px; background-color: #92ac00; border: none; border-radius: 5px; color: #FFF;  padding: 5px 15px; }
	
	
	


.more_entries { width: 968px; margin: 0 auto 75px auto; }
.more_entries a { color: #505050;text-decoration: none; display: block; border: 1px dashed #ececec; border-radius: 3px; padding: 10px 15px; }
.more_entries a.prev { float: left; }
.more_entries a.next { float: right; text-align: right; }
.more_entries a span.descriptor { display: block; font-size: 11px; text-transform: uppercase; }
.more_entries a strong.title { display: block; color: #92ac00; }

footer.main {
	clear: both; position: relative; width: 100%; float: left;
}
	footer.main .bg {
		background: transparent url(../img/leaves.jpg) no-repeat 0 0; z-index: -100;
		width: 100%; height: 546px; position: absolute; bottom: 0; left: 0;
	}
	footer.main .secondary_nav_wrap {
		background-color: rgba(192,215,60,0.5); 
		padding: 10px 0;
	}
		footer.main .secondary_nav {
			width: 968px; margin: 0 auto;
			text-align: right;
		}
			footer.main .secondary_nav a {
				color: #647211; text-decoration: none; font-size: 14px; font-weight: 600;
			}
			footer.main .secondary_nav .pages a { padding: 0 5px 0 10px; }
			footer.main .secondary_nav .categories a { color: rgba(101,116,17,0.6); font-weight: 400; border-left: 1px solid rgba(101,116,17,0.6); padding: 0px 2px 0 6px;  }
			footer.main .secondary_nav .categories a:first-child { border-left: none; }
	
	footer.main .subscribe_wrap { margin: 0 auto;  width: 968px; }
	footer.main .subscribe { text-align: right; color: #202020; width: 400px; float: right; font-size: 16px; padding: 30px 0 60px 0; }
	footer.main .subscribe a { color: #647211; float: right; display: inline-block; padding: 5px 10px; text-decoration: none; font-size: 13px; margin-left: 20px; }
	footer.main .subscribe label { font-family: "Palatino", "Georgia", serif; font-size: 11px; text-transform: uppercase; font-weight: 600; }
	footer.main .subscribe input[type=text] { border: none; font-family: "hand"; border-bottom: 2px dashed #e3e3e3;  }
	footer.main .subscribe input[type=text]:focus { outline: none; border-color: #aaaaaa; }







.submitgreen {
	-moz-box-shadow:inset 0px 1px 0px 0px #effab6;
	-webkit-box-shadow:inset 0px 1px 0px 0px #effab6;
	box-shadow:inset 0px 1px 0px 0px #effab6;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfeba4), color-stop(1, #bec988) );
	background:-moz-linear-gradient( center top, #dfeba4 5%, #bec988 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfeba4', endColorstr='#bec988');
	background-color:#dfeba4;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #b3bd7f;
	display:inline-block;
	color:#64711b;
	font-family:Trebuchet MS;
	font-size:13px;
	font-weight:bold;
	padding:4px 15px;
	text-decoration:none;
	text-shadow:0px 1px 0px #e7f0b4;
}.submitgreen:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bec988), color-stop(1, #dfeba4) );
	background:-moz-linear-gradient( center top, #bec988 5%, #dfeba4 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bec988', endColorstr='#dfeba4');
	background-color:#bec988;
}.submitgreen:active {
	position:relative;
	top:1px;
}
/* This imageless css button was generated by CSSButtonGenerator.com */


.rotated {
    -webkit-box-shadow:none;
       -moz-box-shadow:none;
            box-shadow:none;
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
         -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}

.rotated > :first-child:before {
    content:"";
    position:absolute;
    z-index:-1;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.drop-shadow {
    position:relative;
    float:left;
    padding:.6em;
    margin:2em 10px 2em;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.drop-shadow:before,
.drop-shadow:after {
    content:"";
    position:absolute;
    z-index:-2;
}


.lifted {
    -moz-border-radius:4px;
         border-radius:4px;
}

.lifted:before,
.lifted:after {
    bottom:15px;
    left:10px;
    width:50%;
    height:20%;
    max-width:300px;
    max-height:100px;
    -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
       -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
            box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
         -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}

.lifted:after {
    right:10px;
    left:auto;
    -webkit-transform:rotate(3deg);
       -moz-transform:rotate(3deg);
        -ms-transform:rotate(3deg);
         -o-transform:rotate(3deg);
            transform:rotate(3deg);
}



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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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