/*
Theme Name: The Adventures of Wiglaf & Mordred
Theme URI: http://webcomicms.net/
Description: Custom theme for wiglafandmordred.com
Author: Liliy
Version: 1
*/

/** Reset */
address,article,blockquote,body,caption,col,colgroup,dd,dialog,div,dl,dt,fieldset,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,hr,nav,legend,li,menu,ol,p,pre,section,table,tbody,td,tfoot,th,thead,tr,ul,a,abbr,b,bdo,br,cite,code,del,dfn,em,i,ins,kbd,label,mark,meter,progress,q,rp,rt,ruby,samp,small,span,strong,sub,sup,time,var,audio,canvas,embed,figure,figcapture,iframe,img,math,object,svg,video {
	border:          0;
	margin:          0;
	outline:         0;
	padding:         0;
	border-spacing:  0;
	list-style:      none;
	color:           inherit;
	font-size:       inherit;
	font-style:      inherit;
	text-align:      inherit;
	font-weight:     inherit;
	font-family:     inherit;
	line-height:     inherit;
	text-decoration: inherit;
	vertical-align:  baseline;
	border-collapse: separate;
	background:      transparent; }
article,dialog,figure,figcaption,footer,header,hgroup,legend,nav,section { display: block; }

/** Fonts */
@font-face { font-family: 'VTKS Estilosa'; src: url( 'includes/fonts/vtks-estilosa.ttf' ); } 

/** Basic Styling */
html                       { background: #333 url( 'includes/images/bg.png' ); color: #333; font: 75%/1.5em 'helvetica neue', helvetica, arial, sans-serif; padding: 0 1.5em; }
a                          { color: #c03; transition: all .1s ease-in-out; -moz-transition: all .1s ease-in-out; -webkit-transition: all .1s ease-in-out; }
a:hover                    { color: #601; }
abbr                       { border-bottom: 1px dotted; cursor: help; }
b,dfn,strong               { font-weight: bolder; }
blockquote                 { margin: 0 3em; }
address,cite,em,i,var      { font-style: italic; }
code,kbd,pre,var,samp      { font-family: menlo, consolas, courier, monospace; }
del                        { text-decoration: line-through; }
ins                        { text-decoration: underline; }
mark                       { text-decoration: overline; }
pre                        { margin: 0 0 1.5em; white-space: pre-wrap; }
p                          { margin: 0 0 1.5em; }
small                      { font-size: smaller; }
sub                        { vertical-align: sub; }
sup                        { vertical-align: super; }
sub,sup                    { font-size: smaller; line-height: 0; }
h1                         { font: 200%/1em 'IM Fell English', serif; margin: 0 0 .75em; }
h2                         { font: 150%/1em 'IM Fell English', serif; margin: 0 0 1em; }
h3                         { font: 125%/1em 'IM Fell English', serif; margin: 0 0 1.2em; }
h4                         { font: 100%/1em 'IM Fell English', serif; margin: 0 0 1.5em; }
h5                         { font: 85%/1em 'IM Fell English', serif; margin: 0 0 1.75em; }
h6                         { font: 75%/1em 'IM Fell English', serif; margin: 0 0 2em; }
hr                         { clear: both; }
ol li                      { list-style: decimal; }
ul li                      { list-style: disc; }
menu li                    { list-style: circle; }
ol,ul,menu                 { margin: 0 0 1.5em 3em; }
ul ul,ul ol,ol ol,ol ul,dd { margin: 0 0 0 3em; }
dl,dialog                  { margin: 0 0 1.5em; }
dt                         { font-weight: bolder; }

/** Classes */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin: auto;
}

.clear {
	clear: both;
}

#wrap {
	margin: auto;
	position: relative;
	width: 1000px;
}

	#wrap #header {
		position: relative;
	}
			
		#wrap #header nav {
			background: #fff;
			background: -moz-linear-gradient( top, #fff, #ccc );
			background: -webkit-gradient( linear, 0 0, 0 100%, from( #fff ), to( #ccc ) );
			border-radius: 0 0 1em 1em;
			-moz-border-radius: 0 0 1em 1em;
			box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-moz-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			float: left;
			margin: 0 20px;
			width: 960px;
		}
			
			#wrap #header nav ul {
				margin: 0;
			}
				
				#wrap #header nav ul li {
					float: left;
					list-style: none;
					position: relative;
				}
					
					#wrap #header nav ul li a {
						color: #333;
						display: block;
						font: 300% 'VTKS Estilosa', sans-serif;
						padding: 0 .35em;
						position: relative;
						text-shadow: 0 1px 1px rgba( 0, 0, 0, 1 );
						text-transform: lowercase;
						z-index: 2;
					}
					
					#wrap #header nav ul li:hover > a,
					#wrap #header nav ul li.current_page_item > a,
					#wrap #header nav ul li.current_page_ancestor > a,
					#wrap #header nav ul li.current-menu-item > a,
					#wrap #header nav ul li.current-menu-ancestor > a {
						color: #c03;
					}
					
					#wrap #header nav ul li ul {
						background: rgba( 0, 0, 0, .8 );
						display: none;
						left: 0;
						position: absolute;
						top: 2em;
						z-index: 9999;
					}
					
					#wrap #header nav ul li:hover > ul {
						display: block;
					}
					
						#wrap #header nav ul li ul li {
							min-width: 10em;
						}
						
							#wrap #header nav ul li ul li ul {
								left: 100%;
								top: 0;
							}
		
			#wrap #header nav form {
				float: right;
				margin: 8px 72px 0 0;
			}
			
				#wrap #header nav form #s {
					width: 14em;
				}
			
			#wrap #header nav a.feed {
				background: url( 'includes/images/feed.png' );
				display: block;
				height: 24px;
				position: absolute;
				right: 30px;
				top: 8px;
				transition: none;
				-moz-transition: none;
				-webkit-transition: none;
				width: 24px;
			}
			
			#wrap #header nav a.feed:hover {
				background-position: 0 24px;
			}
			
				#header nav a.feed b {
					display: none;
				}
			
			#wrap #header nav a.ustream {
				background: url( 'includes/images/ustream.png' );
				display: block;
				height: 24px;
				position: absolute;
				right: 60px;
				top: 8px;
				transition: none;
				-moz-transition: none;
				-webkit-transition: none;
				width: 24px;
			}
			
			#wrap #header nav a.ustream:hover {
				background-position: 0 24px;
			}
			
				#header nav a.ustream b {
					display: none;
				}
		
		#wrap #header hgroup {}
			
			#wrap #header hgroup a {
				background: url( 'includes/images/banner.png' );
				display: block;
				height: 250px;
				margin: -6px 0 -23px;
				position: relative;
				z-index: 2;
			}
			
			#wrap #header hgroup a h1,
			#wrap #header hgroup h2 {
				display: none;
			}
			
		#wrap #header hr.bar {
			background: url( 'includes/images/bar.png' );
			bottom: 7px;
			height: 16px;
			position: absolute;
			width: 100%;
			z-index: 1;
		}


	#wrap #main {
		float: left;
		margin: 0 -200px;
		width: 100%;
	}
	
		#wrap #main #content {
			background: #fff;
			border-radius: 0 0 5em 5em;
			-moz-border-radius: 0 0 5em 5em;
			box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-mox-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			margin: 0 200px;
		}
		
			#wrap #main #content > div {
				padding: 1.5em;
				position: relative;
			}
			
				#wrap #main #content div .ad {
					margin: 0 -1.5em;
					padding: 0 7px;
				}
			
				#wrap #main #content div hr.breaker {
					background: url( 'includes/images/blog.png' ) 50% 0 no-repeat;
					height: 154px;
				}
				
				#wrap #main #content div article {
					margin: 0 0 3em;
				}
				
				#wrap #main #content div article.webcomic_post.archive {
					text-align: center;
				}
				
				#wrap #main #content div article.webcomic_post.archive a {
					display: block;
				}
				
					#wrap #main #content div article.webcomic_post.archive a:hover img {
						bottom: 1px;
						box-shadow: 0 3px 9px rgba( 0, 0, 0, .5 );
						-moz-box-shadow: 0 3px 9px rgba( 0, 0, 0, .5 );
						-webkit-box-shadow: 0 3px 9px rgba( 0, 0, 0, .5 );
						position: relative;
						transition: all .1s ease-in-out;
						-moz-transition: all .1s ease-in-out;
						-webkit-transition: all .1s ease-in-out;
					}
					
					#wrap #main #content div article.webcomic_post .webcomic {
						margin: -1.5em -1.5em 0;
					}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a {
							background: url( 'includes/images/nav-webcomic.png' );
							display: block;
							float: left;
							height: 60px;
							transition: none;
							-moz-transition: none;
							-webkit-transition: none;
							width: 120px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.current-webcomic {
							background-position-y: 60px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.last-webcomic-link {
							background-position: 120px 0;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.next-webcomic-link {
							background-position: 240px 0;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.previous-webcomic-link {
							background-position: 480px 0;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.comments-link {
							background-position: 360px 0;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.last-webcomic-link:hover {
							background-position: 120px 120px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.next-webcomic-link:hover {
							background-position: 240px 120px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.previous-webcomic-link:hover {
							background-position: 480px 120px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.first-webcomic-link:hover {
							background-position: 0 120px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.comments-link:hover {
							background-position: 360px 120px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.last-webcomic-link.current-webcomic {
							background-position: 120px 60px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.next-webcomic-link.current-webcomic {
							background-position: 240px 60px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.previous-webcomic-link.current-webcomic {
							background-position: 480px 60px;
						}
				
						#wrap #main #content div article.webcomic_post .webcomic nav a.first-webcomic-link.current-webcomic {
							background-position: 0 60px;
						}
						
							#wrap #main #content div article.webcomic_post .webcomic nav a span {
								display: none;
							}
				
					#wrap #main #content div article h1 {
						margin: 0;
					}
					
					#wrap #main #content div article.webcomic_post blockquote {
						background: -moz-linear-gradient( top, #fff, #eee );
						background: -webkit-gradient( linear, 0 0, 0 100%, from( #fff ), to( #eee ) );
						border: 1px solid #ddd;
						color: #008000;
						margin: 0 0 1.5em;
						padding: 1.5em 1.5em 0;
					}
					
					#wrap #main #content div article footer {
						color: #999;
						font: 125%/1.5em 'IM Fell English', serif;
					}
					
					#wrap #main #content div article footer.meta {
						border-bottom: 1px solid #ddd;
						padding: 0 0 .25em;
						text-align: right;
					}
					
					#wrap #main #content div article footer.meta.full {
						border: 1px solid #ddd;
						font-size: 125%;
						margin: 0 0 1.5em;
						padding: .75em;
						text-align: left;
					}
					
						#wrap #main #content div article footer a {
							color: #999;
						}
						
						#wrap #main #content div article footer a:hover {
							color: #333;
						}
					
					#wrap #main #content div article #transcripts {}
					
						#wrap #main #content div article #FFFFFF h1 {
							color: #ccc;
							cursor: pointer;
							margin: 0 0 .75em;
							transition: all .1s ease-in-out;
							-moz-transition: all .1s ease-in-out;
							-webkit-transition: all .1s ease-in-out;
						}
						#wrap #main #content div article #transcripts h1:hover {
							color: #7e0000;
						}
						
						#wrap #main #content div article #transcripts article {
							display: none;
						}
						
						#wrap #main #content div article #transcripts #transcribeform {}
						
							#wrap #main #content div article #transcripts #transcribeform h2 {
								color: #ccc;
								cursor: pointer;
								margin: 0 0 .75em;
								transition: all .1s ease-in-out;
								-moz-transition: all .1s ease-in-out;
								-webkit-transition: all .1s ease-in-out;
							}
							
							#wrap #main #content div article #transcripts #transcribeform h2:hover {
								color: #7e0000;
							}
							
							#wrap #main #content div article #transcripts #transcribeform p {
								display: none;
							}
						
								#wrap #main #content div article #transcripts #transcribeform p label {
									display: block;
									float: left;
									font-weight: bold;
									width: 8em;
								}
						
					#wrap #main #content div article #comments {}
						
						#wrap #main #content div article #comments h1 {
							margin: 0 0 .75em;
						}
				
						#wrap #main #content div article #comments article {
							margin: 0 0 3em;
							padding: 1.5em;
						}
						
						#wrap #main #content div article #comments article.odd {
							background: #cfe5cf;
							border: 1px solid #8fbf8f;
						}
						
						#wrap #main #content div article #comments article.even {
							background: #e5cfd0;
							border: 1px solid #bf8f93;
						}
						
						#wrap #main #content div article #comments article footer {
							float: left;
							margin: -1em -1em 1em;
							width: 100%;
						}
						
						#wrap #main #content div article #comments article footer b {
							display: block;
						}
						
						#wrap #main #content div article #comments article footer a {
							color: #100040;
						}
						
						#wrap #main #content div article #comments article footer img {
							float: left;
							margin: 0 1em 0 0;
						}
						#wrap #main #content div article #comments article article {
							margin: 1.5em;
						}
						
						#wrap #main #content div article #comments article #respond {
							margin: 1.5em 0 0;
						}
						
						#wrap #main #content div article #comments #commentform {}
						
							#wrap #main #content div article #comments #commentform p.form-allowed-tags {
								display: none;
							}
						
							#wrap #main #content div article #comments #commentform p label {
								display: block;
								float: left;
								font-weight: bold;
								width: 8em;
							}
						
				#wrap #main #content div nav.paginated {
					font-size: 150%;
					font-weight: bold;
					text-align: center;
					margin: 0 0 1.5em;
				}
						
				#wrap #main #content div nav.prevnext {
					font-size: 125%;
					float: left;
					font-weight: bold;
					margin: 0 0 1.5em;
					width: 100%;
				}
						
					#wrap #main #content div nav.prevnext a {
						float: right;
					}
						
					#wrap #main #content div nav.prevnext a:last-child {
						float: left;
					}

	#wrap #sidebar1,
	#wrap #sidebar2 {
		float: left;
		padding: 0 0 158px 0;
		position: relative;
		width: 200px;
	}
	
	#wrap #sidebar2 {
		float: right;
	}
	
		#wrap #sidebar1 > div,
		#wrap #sidebar2 > div {
			background: #060 url( 'includes/images/banner-green.png' );
			box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-mox-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			margin: 0 20px;
			padding: 0 15px 1px;
			width: 130px;
		}
		
			#wrap #sidebar1 div figure.ad,
			#wrap #sidebar2 div figure.ad {
				background: url( 'includes/images/banner-red.png' ) no-repeat;
				margin: 0 0 0 -15px;
				padding: 0 0 120px;
				position: relative;
				width: 160px;
			}
			
				#wrap #sidebar1 div figure.ad figcaption,
				#wrap #sidebar2 div figure.ad figcaption {
					background: url( 'includes/images/banner-red-overlay.png' );
					height: 36px;
					position: absolute;
					top: 564px;
					width: 160px;
					z-index: 1000;
				}
			
			#wrap #sidebar1 div figure.tail,
			#wrap #sidebar2 div figure.tail {
				background: url( 'includes/images/banner-green-tail.png' );
				bottom: 4px;
				left: 2px;
				height: 154px;
				margin: 0;
				width: 200px;
				position: absolute;
			}
			
			#wrap #sidebar1 div figure,
			#wrap #sidebar2 div figure {
				margin: 0 0 1.5em;
			}
			
				#wrap #sidebar1 div figure figcaption,
				#wrap #sidebar2 div figure figcaption {
					color: #0c0;
					font: 150% 'IM Fell English', serif;
				}
				
				#wrap #sidebar1 div figure a,
				#wrap #sidebar2 div figure a {
					color: #0c0;
				}
				
				#wrap #sidebar1 div figure a:hover,
				#wrap #sidebar2 div figure a:hover {
					color: #fff;
				}
				
				#wrap #sidebar1 div figure ul,
				#wrap #sidebar2 div figure ul {
					color: #0c0;
					margin: 0 0 1.5em 1.5em;
				}
			
				#wrap #sidebar1 div figure select,
				#wrap #sidebar2 div figure select {
					width: 100%;
				}
				
	#wrap #footer {
		clear: both;
		color: #fff;
		padding: 3em .5em 1.5em;
		text-align: center;
	}
	
		#wrap #footer img {
			box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-moz-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
			-webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 1 );
		}
	
	#wrap > .cap {
		background: url( 'includes/images/cap-left.png' );
		height: 32px;
		left: -18px;
		position: absolute;
		top: 47px;
		width: 33px;
		z-index: 1000;
	}
	
	#wrap > .cap.right {
		background: url( 'includes/images/cap-right.png' );
	}
	
	#wrap > .cap.right {
		left: 985px;
	}
	
	#wrap > #cap3, #wrap > #cap4 {
		top: 252px;
	}


/** Archive */
.webcomic-archive-storyline-the-set-up > .webcomic-archive-items,
.webcomic-archive-storyline-garrott-family > .webcomic-archive-items,
.webcomic-archive-storyline-the-piano-concert > .webcomic-archive-items,
.webcomic-archive-storyline-the-plants > .webcomic-archive-items,
.webcomic-archive-storyline-the-rescue > .webcomic-archive-items { display: none; }
.comic-volume-chapters,
.webcomic-archive .children,
.webcomic-archive-items { display: none; }
.webcomic-archive           { margin: 0; padding: 0; }
.webcomic-archive > li        { list-style: none; }
.webcomic-archive-storyline-the-set-up > a,
.webcomic-archive-storyline-garrott-family > a,
.webcomic-archive-storyline-the-piano-concert > a,
.webcomic-archive-storyline-the-plants > a,
.webcomic-archive-storyline-the-rescue > a,
.webcomic-archive-storyline-bliss > a { display: block; font-size: 200%; margin: .75em 0 .25em; text-decoration: none; cursor: pointer; }
.webcomic-archive-storyline-the-set-up > a { background: url('http://liliy.net/wam/layout/cov-vol1.jpg') no-repeat; padding-top:118px; }
.webcomic-archive-storyline-garrott-family > a { background: url('http://liliy.net/wam/layout/cov-vol2.jpg') no-repeat; padding-top:118px; }
.webcomic-archive-storyline-the-piano-concert > a { background: url('http://liliy.net/wam/layout/cov-vol3.jpg') no-repeat; padding-top:118px; }
.webcomic-archive-storyline-the-plants > a { background: url('http://liliy.net/wam/layout/cov-vol4.jpg') no-repeat; padding-top:118px; }
.webcomic-archive-storyline-the-rescue > a { background: url('http://liliy.net/wam/layout/cov-vol5.jpg') no-repeat; padding-top:118px; }
.webcomic-archive .children .webcomic-archive-storyline > a   { background:none; display: block; font-size: 150%; margin:.5em 0 0; padding:0; cursor: pointer; }
.webcomic-archive .children .webcomic-archive-storyline > p   { font-size: 66%; margin:.75em; }

.cast     { width: 100%; }
.cast td  { padding: 0 0 1.5em; }
.cast img { margin: 0 .5em 0 0;}

article.attachment header  { padding: 1.5em; text-align: center; }
article footer.attachment  { width: 400px; margin: auto; }
article.attachment nav a   { border: 0; padding: 0; }
article.attachment nav img { width: 60px; height: 60px; }

/* Shortcode - WP-Captions */
.wp-caption {
	background-color:#eee;
	border-width:.1em;
	border-style:solid;
	border-color:#ddd;
	margin:1em;
	padding-top:.25em;
	text-align:center;
}

	.wp-caption a {
		text-decoration:none;
	}

	.wp-caption img {
		margin:0;
		padding:0;
	}

	.wp-caption p.wp-caption-text {
		font-size:85%;
		line-height:2em;
		margin:0;
		padding-right:.25em;
		padding-left: .25em;
	}
	
.aligncenter {
	display:block;
	margin-right:auto;
	margin-left:auto;
}

.widget-tag-cloud {
	font-size: smaller;
}

section #vote-incentive  { position: absolute; right: 27px; top: 88px; z-index: 1; }

.gallery-item {
	float: left;
	margin: 0 0 3em;
	text-align: center;
	width: 33%;
	whie-space: pre;
}

.gallery-item figcaption {
	font-size: smaller;
}

article .content .attachment {
	text-align: center;
}