/*
Theme Name: SpiderLily 2.0
Theme URI: http://spiderlilyweb.com
Author: SpiderLily Web Design
Author URI: http://spiderlilyweb.com
Description: Based on HTML5 starter theme by Randy Jensen & Randy Hoyt 
Version: 2.0
*/

/* html5doctor.com Reset Stylesheet \\v1.6.1 \\ Last Updated: 2010-09-17 \\ http://richclarkdesign.com \\ @rich_clark */
/* note we need to import the fonts separately so IE7 & 8 don't have a cow */
@import url(http://fonts.googleapis.com/css?family=Lobster+Two:700italic);
@import url(http://fonts.googleapis.com/css?family=Lobster+Two:400italic);

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; }
q { quotes:none; }
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
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; }
html, body {
  height: 100%;
  margin: 0 0 1px;
  padding: 0;
}
/*
 *
 * Base Typography 
 *
 */
body { font:16px/1.4 Verdana, Arial, Helvetica, sans-serif; color:#162615; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

/*
 *
 * Base Styles 
 *
 */
body, select, input, textarea { 
  color: #162615; /* charcoal */
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
/* 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-family: "Lobster Two", cursive; font-style:italic;}
/* always force a scrollbar in non-IE */ 
html { overflow-y: scroll; }
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a { outline: none; text-decoration:none;}
a, a:active, a:visited { color: #FF6405; } /* orange */
a:hover { color: #336600; }
ul, ol {}
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; }
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; }

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF6633; } 
/* 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;}

/*
 *
 * 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 {clear:both;}
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;	
} 
.clearfix:after { clear: both; }

/*
 *
 * Structure
 *
 */
body {position:relative; background:url(images/green-bg.jpg) 0 0 repeat;}
 
#page {
	display: block;
	max-width:1044px;
	margin:0 auto;
}
#primary {
	float: left;
	position:relative;
	margin: 0;
	width: 100%;
}
#content {
	margin: 0;
	float:left;
	width:61%;
}

#content img {margin-bottom:1em;}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 31.25%;
}
#colophon, #site-generator {
	clear: both;
	display: block;
	width: 100%;
}

.col1 {
	float:left;
	width:30%;
	margin-right:1%;
	}
.col2 {
	float:left;
	width:48%;
	margin-right:2%;
	}	
.col2-3 { /* homepage slideshow */
	float:right;
	width:67%;
	}	
.col3 { /* portfolio slideshow */
	float:right;
	width:48%;
	margin:0;
	}
.bucket {
	float:left;
	display:block;
	min-height:250px;
	width:30%;
	margin-right:2.1%;
	margin-top:20px;
	}
.bucket-last {
	float:left;
	display:block;
	min-height:250px;
	width:30%;
	margin-right:0;
	margin-top:20px;
	}

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

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


/*
 *
 * Header
 *
 */
#branding, h1, .bucket h2, .bucket-last h2 {
	width:100%;
	font-family: 'Lobster Two', cursive;
	font-style:italic;
	-webkit-font-smoothing: antialiased;
	font-weight:700;
	margin-bottom:0.5em;
	}
#branding {
	position:relative;
	background: url('images/spiderlily-logo.png') 0 0 no-repeat;
	display:block;
	height:135px;
	}
#logo-link {
	position:absolute;
	display:inline-block;
	top:0;
	left:0;
	width:300px;
	height:120px;
	text-indent:-9999px;
	}		
#access a, #access a:link, #access a:visited, hgroup a, hgroup a:link, hgroup a:visited, h2 a, h2 a:link, h2 a:visited {color:#162615;}
#access a:hover {color:#FF6405;}	
h2 a:hover { color: #FF6405;}	

#tagline {width:70%; position:absolute; bottom:0; right:0;}
#tagline p {
	float:right;
	font-size:1.3em;
	letter-spacing:1px;
	margin-top:0;
	}
h1 {font-size:2em;}
.bucket h2, .bucket-last h2 {font-size:1.8em;}
/*
 *
 * Menu
 *
 */
#access {
	display: block;
	float: right;
	margin: 0;
	width:70%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	float:right;
	font-size:1.1em;
}

#access li {
	display: block;
	float: left;
	position: relative;
	white-space:nowrap;
}
#access a {	
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	-webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
#access .current-menu-item a {color:#FF6405;}
nav#access a#pull, a.top-button {display:none;}

/*
 *
 * Content
 *
 */
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}

#content ul {
	list-style-position:inside;
	text-indent:-1em;
	padding-left:1.8em;
	padding-bottom:1em;
}
#content ul li {
	padding-bottom:0.2em;
	}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0;
	font-size:14px;
	}
#nav-below span {
	color:#ff6405;
	padding:0 5px;
	}	
.page-link {
	margin: 0 0 1em;
}

#secondary {margin-top:5px;}

#primary p {padding-bottom:10px;}

body.portfolio #primary ul {list-style-type:none;}

.entry-content blockquote, .entry-content p.by {
  font-family: 'Lobster Two', cursive;
  font-style:italic;
  font-weight:400;
  font-size:1.2em;
  letter-spacing:1px;
  }
.entry-content blockquote {
  background-image: url(images/open-quote.png);
  background-position: top left;
  background-repeat: no-repeat;
  text-indent: 45px;
  padding-top:10px;
}
 /*.entry-content blockquote span,*/ .textwidget blockquote span {
    background-image: url(images/close-quote.png);
    background-repeat: no-repeat;
	padding: 10px 0 5px 45px;
    background-position: bottom right;
} 
p.by {
	text-align:right;
	font-style:italic;
}
p.more {
	font-family: 'Lobster Two', cursive;
	font-style:italic;
	font-weight:400;
	text-align:right;
	font-size:18px;
}
#main a {font-weight:bold;}
#content {padding-right:5%;}
#content h3 {font-size:24px; margin-bottom:0.5em;}


.textwidget p, .widget_sp_image-description p {font-size:15px; line-height:1.3em;}

/*
*
* Headings
*
*/

.side-widget h2 {font-size:24px; margin-bottom:5px; letter-spacing:1px;}
.side-widget img {margin-bottom:10px;}
.textwidget blockquote {
	font: normal 14px/1.4em Verdana, Arial, Helvetica, sans-serif;
	font-style:italic;
	background-image: url(images/open-quote.png);
	background-position: top left;
	background-repeat: no-repeat;
	text-indent: 35px;
	padding-top:8px;
	}
.textwidget p.by {
	padding-top:10px;
	font-weight:bold;
	font-size:14px;
	}
/*
 *
 * 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.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.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. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}

/* Forms - Class for labelling required form items */
.required {
	color: #cc0033;
}


/*
 *
 * Comments
 *
 */
article.comment {
	display: block;
}
#respond input[type=text] {
	float: left;
	margin: 0 1em 0 0;
	width: 60%;
}
#respond .comment-form-comment label {
	display: none;
}
#respond textarea {
	margin: 0 1em 1em 0;
	float: left;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/*
 *
 * Footer
 *
 */
#colophon {
	padding: 1em 0;
	text-align:center;
	font-size:small;
}
#colophon ul {
	display:inline;
}
#colophon p {
	margin:0; 
	padding:0;
	font-size:11px; 
	line-height:14px;}
#colophon ul li {
	display:inline;
	font-size:11px;
}
#colophon a, #colophon a:visited {color:#162615; text-decoration:none;}
#colophon a:hover, #colophon a:active {color:#FF6405;}

#social {
	float:right;
	width:250px;
	}
.facebook {
	clear:both;
	float:right;
	}
.facebook img:hover {opacity:0.8;}	
/*
*
* TEXT
*
*/

.last {padding-right:0;}

/* Contact Form Styling */

ul.contact {list-style:none;}
ul.contact li {
	font-weight:bold;
	padding-bottom:3px;
	}

.wpcf7 input, .wpcf7 textarea, input[type="submit"] {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding:3px;
	background-color:#faf4e9;
	}
input.wpcf7-text, textarea {width:96%;}
input.wpcf7-quiz {display:inline-block; width:20%;}
.required {font-weight:bold; color:#FF6405;}
p.caption {font-style:italic; text-align:right; margin-right:10px;}
span.wpcf7-list-item {padding-right:10px;}
input[type="submit"]:hover {opacity:0.8;}
body.contact div.wpcf7-response-output {margin: 0.5em 0.5em 1em;}

/***********************************************************************************

Portfolio

************************************************************************************/

/* Filter Styling */
ul.filter {margin-bottom:20px;}
ul.filter li { 
	float:left;
	margin:0 20px 5px 0;
	font-weight:bold;
}
ul.filter li a {color:#162615;}
ul.filter li.active a, ul.filter li a:hover {color:#FF6405;}

ul.filterable-grid li {
	float:left;
	margin:0 1% 0 0;
	overflow:hidden;
}

ul.filterable-grid li p {
	display:block;
	clear:both;
	margin-bottom:10px;
	font-size:0.8em;
	width:100%;
	height:30px;
	width:170px;
	overflow:hidden;
}
/* portfolio slideshow & add style to home page excerpt boxes and to sidebars */

.bucket, .bucket-last, #secondary, #content img, .side-widget img, img.alignright, .portfolio-slideshow img, body.home .slideshow-wrapper  {
    padding: 10px;
    background-image: url('/images/img/black10.png');
	background-repeat: repeat;
    background: rgba(0, 0, 0, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
	display:block;
}
body.home .portfolio-slideshow {margin-top:0;}
.rs-thumb-wrap img, .pscarousel img{ 
		margin: 21px 0 0; 
        padding: 8px;
        background: url('/images/img/black10.png');
        background: rgba(0, 0, 0, .1);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset!important;
        -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset!important;
        box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset!important;
        -moz-transition: opacity .5s ease-in-out;
        -webkit-transition: opacity .5s ease-in-out;
        -o-transition: opacity .5s ease-in-out;
        -ms-transition: opacity .5s ease-in-out;
        transition: opacity .5s ease-in-out;
    }

.rs-thumb-wrap > a:hover, .rs-thumb-wrap > a:active { opacity: .7; }
.rs-thumb-wrap img {margin:21px 0 0;}	
.pscarousel img {margin: 1% 0 0 2%;}
div.col3 .slideshow-wrapper .pager img {margin-right:20px; padding:10px;}
div.col3 .slideshow-wrapper .pager img:hover {opacity:1.0;}

/*
 *
 * Media queries for responsive design
 * These follow after primary styles so they will successfully override. 
 *
 */

@media screen and (max-width: 1050px) {  
   html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
   #access {width:70%;}
   div.col2-3 {clear:both; float:none; margin:0 auto;}
   body.home .col2-3 {	max-width: 100%; margin-left:0;}
   div.col1 {width:98%;}
   img.alignright {float:left; margin:0 10px 0 0;}
   .bucket, .col3 {margin-right:1%;}
}
@media screen and (max-width: 940px) {  
	#branding {background: url('images/spiderlily-logo-small.png') 3px 0 no-repeat; height:95px;}
	#page {padding-left: 1%;}
   .bucket, .bucket-last {clear:both; float:left; width:96%; margin-left:0; margin-top:1%; min-height:0;}
   /*#access li:first-child {display:none;}*/
    #access li {
   		display:block; 
		width:30%; 
		margin:0 1% 1% 1%;
   		background-image: url('images/img/black10.png');
		background-repeat:repeat;
		background: rgba(0, 0, 0, .1);
		border-bottom: 1px solid #5e6266!important;
		border-bottom: 1px solid rgba(255, 255, 255, .1)!important;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
		-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
		box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
		text-align:center;
		}
   #access li:first-child {display:none;}	
   #tagline {display:none;}
   #primary p.more {padding-bottom:0;}
   #main .widget-area {clear:both; float:left; width:96%;}
   #content {width:96%;}
	.col3 {width:47%; margin-right:2%;}
	a.top-button {
		display:block;
		width:30%; 
		float:right;
		padding:5px;
		font-weight:bold;
		margin:0 5% 1% 1%;
   		background-image: url('images/img/black10.png');
		background-repeat:repeat;
		background: rgba(0, 0, 0, .1);
		border-bottom: 1px solid #5e6266!important;
		border-bottom: 1px solid rgba(255, 255, 255, .1)!important;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
		-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
		box-shadow: 0 1px 1px rgba(0, 0, 0, .15) inset;
		text-align:center;
		font-size:1.2em;
	}
	a.top-button:hover {
		color:#FF6405;
	}	
	#wpadminbar { position: fixed !important; } 
   }
@media screen and (max-width: 710px) {
	#branding {height:auto;}
	#access {clear:both; float:left; width:98%; margin-top:95px;}
	#access ul {float:left;}
	.col2-3 {width:96%;}
	.col3, .col2 {clear:both; float:left; width:96%;}
	}   
@media screen and (max-width: 540px) { 
	#primary, #branding {width:98%; padding-left:1%;}
	#branding, h1, .bucket h2, .bucket-last h2 {margin-bottom:0.1em;}
	.bucket, .bucket-last {width:93%;}
	.bucket h2, .bucket-last h2 {font-size:1.2em;}
	ul.filter {margin-bottom:5px;}
	ul.filter li.active {clear:both;}
	#content p {clear:both;}
	.alignright {float:left;}
	#content h1 {font-size:1.6em; padding:3px 0;}
	.rs-thumb-wrap img {margin: 0 0 0 10px;}
	ul.filterable-grid li p {margin-left:10px;}	
	}
@media screen and (max-width: 395px) { 	
	nav#access {
  	  	top:140px;
		left:0;
		width:100%;
		padding:0;
		background-color:#9ac14e;
		}
 	nav#access ul {
		display: none;
		height: auto;
		width:100%;
		margin:0; padding:0;
		background: #9ac14e;
		background:rgba(154, 193, 67, 0.6);
		-webkit-border-radius: 6px 6px 6px 6px;
		border-radius: 6px 6px 6px 6px;
		}
  	nav#access li {
  		width:48%;
		display:inline-block;
		margin:0;
		line-height:1.5em;	
		background-image: none;
		background: none;
		border-bottom: none;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		text-align:left;
  		}	
  	nav#access a#pull {
		display: block;
		background-color: #9ac14e;
		position: relative;
		float:left;
		font-weight:bold;
		}
	nav#access a#pull img {padding-top:0.4em; float:left;}	
	span.pull-menu {
		color:#162615;
		float:left;
		padding-left:0.4em;
		}
	span.pull-menu:after {
		font-family:Verdana, Arial, Helvetica, sans-serif;
		font-weight:bold;
		content:" \25BC";
		}	
	span.pull-menu.clicked {color:#FF6405;}	
	span.pull-menu.clicked:after {content:" \25B2";}	
  	nav#access a#pull:hover {
	 	opacity:0.6;
	 	}	
	div.menu-footer-container {display:none;}
	img.alignleft {
		clear: both;
		display: block;
		margin-left: auto;
		margin-right: auto;
		float:none;
		}
	body.home .slideshow-wrapper {margin-top:10px;}	
	div.col3 .slideshow-wrapper .pager img {margin-right:10px; padding:5px;}

}
/*
 *
 * 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; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}