/*
Theme Name: Wormhole
Description: Clean and easy customizable theme Wormhole by <a href="http://www.happyworm.com">Happyworm</a>. Based on deFusion by <a href="http://webdemar.com">webdemar</a>.
Version: 0.1
Author: silvia benvenuti
Author URI: http://happyworm.com
Tags: cream, brown, two-columns, elastic, right-sidebar, threaded-comments, sticky-post
*/

/*
	- GENERAL
	- BASIC LAYOUT
	- HEADINGS
	- HEADER
	- CONTENT
		+ CONTENT LEFT
		+ CONTENT RIGHT
	- COMMENTS
	- SEARCHFORM
	- FOOTER
	- WORDPRESS CSS
	- USEFUL

/*	##################################
   	GENERAL
	################################## */
	
body {
	min-width:740px;
	margin:0 20px;
	padding: 0px;
	background: #fffce2 url(img/wormhole_header.jpg) no-repeat center top;
	color: #402000;
	font: .9em/1.5em "Trebuchet MS","Lucida Grande","Lucida Sans Unicode",Verdana,sans-serif;
}

a {
	color: #ff6600;
	outline: none;
}

p {
	margin: 0 0 20px 0;
}

ul, ol {
	margin-bottom: 20px;
}

a img {
	border: 0;
	outline: 0;
}

/*	##################################
   	BASIC LAYOUT
	################################## */
	
#page {
	max-width:70em;
	margin:0 auto;
}
	
#header {
	position: relative;
	height: 252px;
}

#content {
	padding: 100px 0 0 0;
	background: #fffce2 url(img/page_bgr.jpg) no-repeat center top;
}

#content-left {
	float: left;
	width: 70%;
}

#content-right {
	float: right;
	width: 30%;
	padding-top: 30px;
}


/*	##################################
   	HEADINGS
	################################## */
	
h1, h1 {
	margin: 0 0 20px 0;
}

h3, h4, h5, h6 {
	margin: 0 0 10px 0;
}
	
h1#blog-title {
	position: absolute;
	top: 30px;
	left: -37px;
	margin: 0px;
	padding: 0px;
	background: transparent url(img/thewormhole.png) no-repeat left top;
	width: 314px;
	height: 169px;
}

h1#blog-title span{
	display: none;
}

h1#blog-title a {
	display: block;
	width: 314px;
	height: 169px;
}

h2#blog-description {
	display: none;
}

h2.category-title {
	margin: 0 0 20px 20px;
	padding: 0 20px 10px 0;
	border-bottom: 1px dotted #c5934c;
	font-size: 14px;
}

h3.post-title {
	margin: 0 0 20px 0;
	font-size: 1.8em;
	line-height:1em;
	font-weight: normal;
}

h3.post-title a {
	text-decoration: none;
}

h3.post-title a:hover {
	background-color:#fde5be;
}

h4.sidebar-title {
	font-size: 12px;
}

/*	##################################
   	HEADER
	################################## */
	
#top-nav {
	position: absolute;
	top: 10px;
	right: 0px;
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#top-nav li {
	float: left;
	margin: 0 0 0 10px;
}

#top-nav li.hw a {
	display: block;
	width: 200px;
	height: 48px;
	background: url(img/happyworm_logo.png) 0 0 no-repeat;
}

#top-nav li.hw a:hover {
	background: url(img/happyworm_logo.png) 0 -48px no-repeat;
}

#top-nav li.hw a span{
	display: block;
	text-indent:-9999px;
}


/*
#top-nav li#rss {
	padding: 0 0 0 15px;
	background: url(img/rss-icon.gif) no-repeat left center;
}*/

/*	##################################
   	CONTENT
	################################## */
	
/** CONTENTN LEFT */

.box-left, .post, .page {
	margin: 0 0 40px 20px;
}

.sticky {
	padding: 20px;
	border: 1px dotted #c5934c;
}

.meta {
	clear: both;
	padding: 10px;
	color: #5e5e5e;
	border: 1px dotted #c5934c;
	font-size:.9em;
}

.meta-date {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-date.gif) no-repeat 0px 2px;
}

.meta-categories {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-categories.gif) no-repeat 0px 2px;
}

.meta-comments {
	padding: 0 10px 0 15px;
	background: url(img/bg-meta-comments.gif) no-repeat 0px 2px;
}

p.tags {
	clear: both;
	font-size:.9em;
}

/** CONTENT RIGHT */

.box-right {
	margin: 0 0 20px 20px;
	padding: 20px;
}

.box-right ul {
	margin: 0 0 5px 0;
	padding: 0px;
	list-style: none;
}

.box-right li {
	margin: 0px;
	padding: 5px;
}

.box-right li a {
	text-decoration: none;
}

.box-right li ul {
	margin: 0 0 0 20px;
	list-style: square;
}

.box-right li li {
	border: none;
}

#rss {
	display:block;
	width: 88px;
	height: 88px;
	margin-top:-20px;
	margin-left:20px;
	background:url(img/rssfox.png) no-repeat 0 0;
}

#rss span {
	text-indent:-99999px;
	display:block;
}

#rss:hover {
	background:url(img/rssfox.png) no-repeat 0px -88px;
}

/*	##################################
   	COMMENTS
	################################## */
	
#commentform label {
	display: block;
	margin: 0 0 5px 0;
}

#commentform input.text, #commentform textarea {
	width: 90%;
	margin: 0 0 10px 0;
}

#commentform .text {
	height: 22px;
	padding: 6px 6px 0 6px;
	background: #fffdee;
	border: 1px solid #FDE5BE;
	color: #402000;
}

#commentform textarea {
	height: 150px;
	padding: 6px 6px 0 6px;
	background: #fffdee;
	border: 1px solid #FDE5BE;
	color: #402000;
	font: 1em/1.2em "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
}

#commentform .button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 20px;
	background: #9d520e;
	border: none;
	color: #fff;
	font-weight:bold;
}

#commentform .button:hover {
	background: #402000;
	cursor:pointer;
}

.commentlist .comment {
	height: auto;
	margin: 20px 0 0 0;
}

.commentlist .quote {
	padding: 20px 20px 0 20px;
	background: #4a4f54 url(img/bg-comment-quote.gif) no-repeat right top;
}

.avatar {
	float: right;
	margin: 0 0 10px 20px;
}

.commentlist .cite {
	display: block;
	padding: 20px 0 0 0;
	color: #6e7073;
	background: #fff url(img/bg-comment-bubble.gif) no-repeat left top;
	font-style: normal;
}

/** COMMENTS IN WP 2.7 */

.commentlist li {
	margin: 20px 0 0 0 ;
	padding: 20px 0 20px 20px;
	list-style: none;
	background: #fde5be;
}


.commentlist .comment-author-admin, .commentlist .comment-author-markp, .commentlist .comment-author-silvia {
	background: #FFC068/*d6a157*/;	
}

.commentlist .comment-author-admin a, .commentlist .comment-author-markp a, .commentlist .comment-author-silvia a {
	color: #fff;	
}

.commentlist .comment-author-admin .avatar, .commentlist .comment-author-markp .avatar, .commentlist .comment-author-silvia .avatar {
	display: block;	
}

.commentlist li a {
	color: #f60;
}

.commentlist li .avatar {
	margin: 0 20px 10px 20px;
	display: none;
}

.commentlist li p {
	margin: 0 20px 20px 0;
}

.commentlist .comment-meta {
	margin: 0 0 20px 0;
}

.commentlist .comment-author a {
	font-weight: bold;
	text-decoration:none
}

.commentlist ul.children {
	margin: 0px;
	padding: 0px;
}

.commentlist .children li {
	border: 1px solid #6e7073;
	border-right: none;
}

#cancel-comment-reply {
	margin: 10px 0;
}

.commentlist li.depth-2, .commentlist li.depth-4 {
	background: #5a5a60;
}



/*	##################################
   	SEARCHFORM
	################################## */

#search {
	padding:6px 6px 0 6px;
	margin:10px 0 0 10px;
}

#search-submit {
	height: 30px;
	padding: 0 14px;
	margin:0;
	background: url(img/bg-button-search.gif) no-repeat right top;
	border: none;
}

#search-submit:hover {
	cursor: pointer;
}

	
#searchform #search {
	width: 146px;
	height: 22px;
	padding: 6px 6px 0 6px;
	margin: 0;
}

#searchform .button {
	width: auto;
	height: 30px;
	margin: 0;
	padding: 0 10px;
	background: url(img/bg-button-search.gif) no-repeat right top;
}

/*	##################################
   	FOOTER
	################################## */

#footer {
	margin: 0 auto;
	padding: 20px;
	font-size:.8em;
}

#footer p {
	margin: 0 0 10px 0;
}

#legal {
	float: left;
	width: 400px;
}

#webdemar {
	float: right;
	width: 400px;
	text-align: right;
}

/*	##################################
   	WORDPRESS CSS
	################################## */

.aligncenter,
div.aligncenter {
   	display: block;
   	margin: 0 auto;
}

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

.alignleft {
   	float: left;
   	margin: 0 20px 20px 0;
}

.alignright {
   	float: right;
   	margin: 0 0 20px 20px;
}

.wp-caption {
	margin-bottom: 20px;
	padding-top: 4px;
   	border: 1px solid #ccc;
   	text-align: center;
   	background-color: #f7f7f7;
}

.wp-caption img {
   	float: none;
   	margin: 0px;
   	padding: 0px;
   	border: none;
}

.wp-caption p.wp-caption-text {
   	padding: 0px;
  	margin: 0px;
}

/** WIDGETS CSS */

#calendar_wrap table {
	width: 100%;
}

#calendar_wrap td {
	text-align: center;
}

#wp-calendar caption {
	margin: 0 0 10px 0;
	background: #dedede;
}

/*	##################################
   	USEFUL
	################################## */
	
.clear {
	clear: both;
}

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/** CSS BASIC ELEMENTS */

hr {
	clear: both;
	height: 1px;
	margin: 20px 0;
	background: #dedede;
	border: none;
}

blockquote {
	margin: 0 0 0 10px;
	padding: 0 0 0 10px;
	border-left: 5px solid #f7f7f7;
}

fieldset {
	margin: 0 0 20px 0;
	padding: 0 20px 20px 20px;
	background: #f7f7f7;
	border: none;
}

legend {
	font-size: 14px;
	font-weight: bold;
}

input, textarea {
	margin: 0;
	height: 22px;
	padding: 6px 6px 0 6px;
	background: #fffdee;
	border: 1px solid #FDE5BE;
	color: #402000;
}

textarea {
	width: 90%;
	height: 100px;
}

select {
	width: auto;
	margin: 0 0 20px 0;
	padding: 6px;
	background: #fff;
	border: 1px solid #dadada;
	color: #5e5e5e;
	font-size: 11px;
}

input.radio, input.checkbox {
	width: auto;
	height: auto;
	margin: 0px;
	background: #fff;
}

input.password {
	width: auto;
}

input.button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 20px;
	background: #6e7073;
	border: none;
	color: #fff;
}


table {
	width: 100%;
	margin: 0 0 20px 0;
	border: 0;
	border-bottom: none;
	border-right: none;
	line-height:1em;
}

th, td {
	padding: 2px 5px;
}


pre {
	font-family: Courier, serif;
	color:#bc6637/*d6a157*/;
	line-height:150%;
/*	background-color:#FFFDEE;
	padding: 10px;*/
}
