/*
Theme Name: jaalen
Theme URI: http://www.jaalen.net
Author: Jefe
Author URI: none
Description: From the Handcrafted Theme: HTML5 starter theme based off Ian Stewart's HTML5 Toolbox Theme with other goodies added plus chunks of Paul Irish's HTML5 Boilerplate mixed in for good measure. Shake well.
Version: 0.9.1
*/

/* html5doctor.com Reset Stylesheet \\v1.6.1 \\ Last Updated: 2010-09-17 \\ http://richclarkdesign.com \\ @rich_clark */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
#meta ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; border: 0; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; -webkit-appearance: none; }
img {
	border: 0;
}

/*
 *
 * Base Typography
 *
 */
body {
	font-family: sans-serif;
	font-size: 1em;
}
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

/*
 *
 * Base Styles
 *
 */
body {
  color: #d06834;
  background-color: #963;
  font-family: 'trebuchet ms';
}
select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #444;
  /* set your base font here, to apply evenly */
}
input::placeholder {
	color: #fff;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}
:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}
/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
h1.entry-title {
	font-size: 1.5em;
	margin-bottom: 1em;
	color: #CC6633;
}
h1.page-title {
	margin-bottom: 1em;
	font-size: 1.5em;
}
h2.widget-title {
	margin-bottom: .5em;
}
/* always force a scrollbar in non-IE */
html { overflow-y: scroll; }
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {
	outline: none;
	text-decoration: none;
}
a, a:active, a:visited {
	font-weight: bold;
	color: #cd4e04;
	text-decoration: none;
	border: none;
}
a:hover { color: #cd7604; }
ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }
/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {
  padding: 15px;
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
/* webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }
/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red;
 -webkit-box-shadow: 0px 0px 5px red;
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }
/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink. */
::-moz-selection{ background: #CC6633; color:#fff; text-shadow: none; }
::selection { background:#CC6633; color:#fff; text-shadow: none; }
/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #CC6633; }
/* make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {width: auto; overflow: visible;}
/* bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img {-ms-interpolation-mode: bicubic;}

#content {
	line-height: 1.4em;
}
p {
	margin-bottom: .7em;
}

/*
 *
 * Nonsemantic Base Styles
 *
 */
/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }
/* Hide only visually, but have it available for screenreaders
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.visuallyhidden { position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }
/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;
}
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }

/*
 *
 * Media queries for responsive design
 * These follow after primary styles so they will successfully override.
 *
 */
@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */
}
@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */
}
/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
     j.mp/textsizeadjust
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/*
 *
 * Base Print Styles, inline to save the HTTP request
 *
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; }
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

/*
 *
 * Structure
 *
 */
html, body {
   margin:0;
   padding:0;
   height:100%;
}
#wrapper {
	min-height:100%;
	position: relative;
}
#page {
	margin: auto;
	margin-top: 4em;
	margin-bottom: 8em;
	width: 801px;
	padding-bottom: 7em;
	position relative;
    -moz-box-shadow: 0px 0px 15px #000;
	-webkit-box-shadow: 0px 0px 15px #000;
	box-shadow: 0px 0px 95px #000;
	background: #381E0E;
}
#primary {
}
#content {
	width: 80%;
	margin: 0 auto;
	position: relative;
}
#secondary {
	margin-top: 3em;
	margin-left: 2em;
	width: 17%;
	float: left;
	position: relative;
}
#search {
	margin-bottom: 1.5em;
}
#sidebar_menu {
	margin-bottom: 1.5em;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.spacer {
	height: 1px;
	width: 100%;
	clear: both;
	position: relative;
}


/*
 *
 * Header
 *
 */
hgroup h1, hgroup h2 {
	color: #eee;
}
.banner_img_main {
	width: 100%;
	height: auto;
	position: relative;
	border-bottom: 1px solid #CC6633;
}
#banner_img_main_fade {
	position: absolute;
	z-index: 20;
}
#banner_img_wood {
	top: -4px;
	width: 100%;
	background: url('images/WoodChip.jpg') no-repeat;
	padding-top: 1em;
	padding-bottom: 1em;
	position: relative;
	border-bottom: 1px solid #CC6633;
}
#site-title {
	font-size: 3em;
	font-weight: bold;
	padding-left: 5%;
}
#site-title a {
	text-decoration: none;
	color: #fff;
}
#site-description {
	width: 100%;
	font-size: 1em;
	font-weight: bold;
	padding-left: 50%;
	box-sizing: border-box;
}

.emoji_web_sticker {
  float: right;
  width: 14%;
  margin-right: 20px;
}


/*
 *
 * Menu
 *
 */
#access {
	height: 100px;
	display: block;
	margin: 0 0 1em;
	width: 100%;
}
#access ul {
	top: 30px;
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
	width: 380px;
	position: relative;
}
#access li {
	float: left;
	position: relative;
}
nav.icons {
	padding: 20px 30px 40px;
}
nav.icons ul {
	float: right;
	position: relative;
}
nav.icons li {
	display: inline-block;
}
nav.icons li a img {
	width: auto;
	height: 100px;
}
.icon_label {
	font-weight: bold;
	color: #fff;
	position: absolute;
}
nav.icons li.Canoes .icon_label,
nav.icons li.Design .icon_label {
	margin-left: 20px;
}
#s {
	color: #fff;
	font-weight: bold;
	padding: 2px;
	padding-top: 4px;
	background: #CC6633;
	border: 1px dotted #666;
}
#searchsubmit {
	color: #fff;
	font-weight: bold;
	padding: 1px;
	padding-top: 4px;
	background: #CC6633;
	border-radius: 4px;
	border: 1px solid #A56C4A;
}
#jf_nav {
	display: none;
}
nav.pages_list {
	width: 50px;
	height: 50px;
	margin: 10px 10px;
	color: #fff;
	background-color: #381E0E;
/*	box-shadow: 0px 4px 7px 3px #fff; */
	border-radius: 50%;
	position: absolute;
	z-index: 500;
}

nav.pages_list li {
	padding-left: 4%;
}

nav.pages_list a {
	color: #fff;
	text-decoration: none;
}

nav.pages_list a:hover {
	color: #ccc;
}

nav.pages_list .slicknav_menu {
	padding: 1px;
	padding-top: 6px;
}

nav.pages_list .slicknav_menu .slicknav_icon-bar {
	background-color: #CC6633;
	width: 1.9em;
	height: .25em;
	margin-bottom: .3em;
	border-radius: 2px;
}

nav.pages_list .slicknav_nav {
	width: 150px;
	margin: 37px 1px 0 6px;
	padding: 4px;
	color: #CC6633;
	background-color: #381E0E;
}

nav.pages_list .slicknav_nav a[role=menuitem] {
	color: #CC6633;
	font-size: 1.2em;
}

nav.pages_list .slicknav_menu {
	background: transparent !important;
	z-index: 500;
}

nav.pages_list .slicknav_btn {
	margin: 1px 0px 0px !important;
	float: left !important;
	background: transparent !important;
}

nav.pages_list .slicknav_nav a:hover {
	color: #ccc !important;
	background: transparent !important;
}

nav.pages_list a {
	font-weight: bold;
}

/*
 *
 * Content
 *
 */
#content nav {
	display: block;
	overflow: hidden;
}
#content nav nav.pages_list-previous {
	float: left;
	width: 50%;
}
#content nav nav.pages_list-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	margin: 0 0 1em;
}
/* Search Results Page */
.search article {
	margin-top: 2em;
}


/*
 *
 * Images
 *
 */
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
div.gallery_image,
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    max-width: 100%;
    height: auto;
    border: 3px solid rgb(204, 102, 51);
}
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
#content iframe {
	width: 100%;
}
div.alignleft, div.alignright, img.alignleft, img.alignright {
	margin-bottom: 1em;
}
div.alignleft, img.alignleft {
	margin-right: 1em;
}
div.alignright, img.alignright {
	margin-left: 1em;
}
.wp-caption-text {
	padding: .5em;
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
a[data-postid] + wp-caption-text, a[data-postid] .wp-caption-text {
	display: none;
}
.caption-img_link {
	display: block !important;
}
#social_tools {
	height: 30px;
	margin-left: 25px;
	padding-top: 10px;
	position: relative;
	display: block;
	clear: left;
}

/*
 *
 * Footer
 *
 */
#colophon {
	text-align: center;
	margin-top: 30px;
	display: none;
	position: relative;
}
#corner_tag {
	right: 0;
	bottom: 0;
	width: 240px;
	margin: 0;
	color: #ccc;
	padding: 13px;
	border-radius: 20px 0 0 0;
	background: #963;
	position: relative;
	float: right;
	display: block;
	box-shadow: 0px 0px 5px #000;
}
#corner_tag a {
	color: #333;
}

/* Media Queries */

@media screen and (max-width: 560px) {

	.banner_img_main {
		width: 170%;
		height: auto;
		margin-left: -20%;
	}

	nav.icons {
		padding: 20px 20px 40px;
	}

	nav.icons li a img {
		width: auto;
		height: 67px;
	}

	nav.pages_list .slicknav_nav {
		width: 270px;
	}

	nav.pages_list .slicknav_nav a[role=menuitem] {
		font-size: 1.7em;
	}

	#content img {
		width: 100%;
		height: auto;
	}

}

@media screen and (max-width: 800px) {

	body {
		background: #381E0E;
	}

	#page {
		margin: 0;
		width: 100%;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		overflow: hidden;
	}

	.banner_img_main {
		margin-top: -1px;
	}

	#banner_img_main_fade {
		display: none;
	}

	#site-title {
		font-size: 2em;
	}

	#site-description {
		font-size: 1em;
		padding-left: 30%;
	}

	#content {
		width: 90%;
		font-size: 1.3em;
	}

	#content h1 {
		font-size: 1.1em;
	}

	#colophon {
		display: block;
	}

	#corner_tag {
		display: none;
	}

}

@media screen and (min-width: 561px) and (max-width: 800px) {

	#page {
		margin: 0;
		margin-top: 0;
		margin-bottom: 0;
		width: 100%;
		overflow: hidden;
	}

	.banner_img_main {
		width: 100%;
		height: auto;
	}

}

@media screen and (min-width: 800px) {

	.banner_img_main {
		width: 801px;
		height: 339px;
	}

	#banner_img_secondary_page {
		height: 142px;
	}

}

/* WP GALLERY RESPONSIVE */

.gallery {
	margin-bottom: 20px !important;
}

.gallery-columns-4 .gallery-item .gallery_image {
	width: 100% !important;
	height: 220px;
	background-position: center !important;
	background-size: cover !important;
}

.gallery-columns-3 .gallery-item .gallery_image {
	width: 100% !important;
	height: 220px;
	background-position: center !important;
	background-size: cover !important;
}


@media only screen and (min-width: 1001px) {
	.gallery-columns-4 .gallery-item {
		width: 23% !important;
		margin: 0 1% 0;
	}

	.gallery-columns-4 .gallery-item:nth-child(4n+1) {
		clear: both;
	}

	.gallery-columns-3 .gallery-item {
		width: 30% !important;
		margin: 0 1% 0;
	}

	.gallery-columns-3 .gallery-item:nth-child(3n+1) {
		clear: both;
	}

}

@media only screen and (max-width: 1000px) {
	.gallery-columns-4 .gallery-item {
		width: 47% !important;
		margin: 0 1% 0;
	}

	.gallery-columns-4 .gallery-item .gallery_image {
		height: 250px;
	}
	.gallery-columns-4 .gallery-item:nth-child(odd) {
		clear: both;
	}

	.gallery-columns-3 .gallery-item {
		width: 47% !important;
		margin: 0 1% 0;
	}

	.gallery-columns-3 .gallery-item .gallery_image {
		height: 250px;
	}
	.gallery-columns-3 .gallery-item:nth-child(odd) {
		clear: both;
	}
}

@media only screen and (max-width: 800px) {
	.gallery-columns-4 .gallery-item .gallery_image {
		height: 200px;
	}
	.gallery-columns-3 .gallery-item .gallery_image {
		height: 200px;
	}
}

/* For displaying single column on mobile */
@media only screen and (max-width: 480px) {
	.gallery-columns-4 .gallery-item {
		width: 100% !important;
	}
	.gallery-columns-3 .gallery-item {
		width: 100% !important;
	}
}
