/*  
Theme Name: Lichens.ie
Theme URI: http://www.lichens.ie
Description: first iteration f the lichens template
Version: 0.1
Author: Bartek Czerwinski
Author URI: http://gecoloco.com
*/

/*   Basic styles   */
/* GLOBAL RESET SETTINGS******/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,em,strong,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:bold;}
q:before,q:after {content:'';}
abbr,acronym {border:0;}
a img {border:none;}
html {}
.clear { clear: both; }
/* PAGE SETTINGS**************/
body {
	position:relative;
	width: 100%;
	background: #000;
	color:#fff;
	font:11px/18px Verdana, Arial, Helvetica, sans-serif, "Century Gothic";
}   
#wrap {
	position:relative;
	margin: 0 auto;
	width:950px;
	padding-top:280px;
}
	#wrap-inner {overflow:hidden;}
/* HEADER SETTINGS************/
#header {
	height:270px;
	width:950px;
	position:absolute;
	/* background:url("resources/images/headerbg.jpg"); */
	top:0;left:0;
}
#header h1 a {
	position:absolute;
	display:block;
	text-indent:-9999px;
	overflow:hidden;
	top:53px;left:17px;
	width:219px;height:79px;
}
#header h2 {
	display:none;
}
/* CONTENT SETTINGS***********/
#main {
	width:646px;   
	float:right;
	padding-bottom:20px;
	/*min-height:900px;*/
	padding-top: 40px;
}
#main a, #sidebar-menu a {
	text-decoration:none;
	color:#678004;
}
#main a:hover,
#main a:focus,
#sidebar-menu a:hover,
#sidebar-menu a:focus {
	text-decoration:underline;
}
#main h2 {
	color:#678004;
	font-size:22px;
	line-height:25px;
	padding-bottom:0.5em;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
}
#main h2.lichen-title { color: #fff; }
#main h2 em { color:#678004; font-style:italic; }

#main p.subtitle {
	color:#fefefc;
	font-size:16px;
}
#main p {color:#fffffd; }
#main .postentry p { font-size: 13px; padding: 5px 0; line-height: 150%; }
#main .postentry em, #main .post em { font-style: italic; }
#main .postentry b, #main .postentry strong { font-weight: 700; }
#main .postentry ul { padding: 7px 0; }
	#main .postentry ul li, #sidebar-menu ul li { padding: 2px 0 2px 30px; font-size: 12px; background: url('resources/images/li.png') no-repeat 0 5px ;  }
	#main .postentry ul li.pagenav { background-image: none; }
	
#main .postentry h3, #sidebar-menu h3 { text-transform: uppercase; color: #678004; font-size: 14px; font-weight: 400; font-family: Georgia, "Times New Roman", Times, serif; padding: 0.5em 0 0;  }
#main .postentry #links h2 { text-transform: uppercase; color: #fff; font-size: 14px; font-weight: 400; font-family: Georgia, "Times New Roman", Times, serif; padding: 0.5em 0 0;  }
#sidebar-menu h3 { padding-bottom: 7px; }
.post { margin-bottom:20px; clear:both; }
.post img { float: right; margin: 5px 0 5px 20px; border:1px solid #678004; clear: right; }
#home-page-featured-1 img, #home-page-featured-2 img { float:left; margin: -50px 20px 0 0; border:1px solid #678004; clear: none; }

.post .lichen-profile img { float: right; margin: 5px -220px 5px 0; border:1px solid #678004; clear: right; }

.postentry .wp-caption { float: right; margin: 5px 0 10px 0; width: 190px; clear: right;  }
.post .lichen-profile .wp-caption { float: right; margin: 5px 0	10px 0; clear: right; width: 190px; }
.post .lichen-profile .wp-caption img { margin: 0 0 5px 0; clear: both; border:1px solid #678004; float: none; }

#main .postentry .wp-caption p { padding: 0; margin: 0; font-size: 11px; color: #ccc; text-align: center; width: 190px; display:block; line-height: 14px; }

#main .postentry .lichen-profile p, #main .post .lichen-profile ul, #main .post .lichen-profile ol, #main .post .lichen-profile h3 { margin-right: 220px; }

#main .postentry #links li { padding: 2px 0 2px 0; background: none; }
#main .postentry #links ul li { padding: 2px 0 2px 30px; font-size: 12px; background: url('resources/images/li.png') no-repeat 0 5px ;  }

#home-page-featured-1 img , #home-page-featured-2 img {
    width:150px; height:150px;
}
#home-page-featured-2 { padding: 10px 0; }
#home-page-featured-1 .subtitle, #home-page-featured-2 .subtitle { padding-left: 170px;  }
#main #home-page-featured-1 h2,  #main #home-page-featured-2 h2 { padding: 2px 0 7px 170px; }
#home-page-featured-1 p, #home-page-featured-2 p { font-size: 12px; padding: 0; } 

.postmeta { padding: 15px 0; margin: 15px 0; border-top: 1px dotted #333; border-bottom: 1px dotted #333; }

.readmore {	float:right; }

h3#respond, h3#comments { text-transform: uppercase; color: #767a00; font-size: 14px; font-weight: 400; font-family: Georgia, "Times New Roman", Times, serif; padding: 1em 0 0.2em;  }
h3#comments { padding-top: 0; }

.commentlist { padding: 15px 0; }
.commentlist li {  border-top: 1px dotted #303102; padding: 10px; }
.commentlist li.alt { background: #0d0d0d; }
.commentlist p { padding: 7px 0 7px 50px; font-size: 12px; }
.avatar { float: left; margin-right: 18px; }

#commentform { padding: 15px 0; }

#commentform input { width:300px; font-size: 14px; color: #ccc; height:20px; line-height:26px; padding: 3px; border: 1px solid #303102; background:#0d0d0d; margin: 5px 5px 5px 0;}
#commentform textarea { width:640px; font-size: 14px; color: #ccc; line-height:26px; padding: 3px; border: 1px solid #303102; background:#0d0d0d; margin: 5px 5px 5px 0;}
#commentform input#submit  { width:auto; font-size: 12px; text-transform: lowercase; color: #fff; height:auto; line-height:auto; padding: 3px 20px; border: 1px solid #78770d; background:#678004; margin: 5px 5px 5px 0;}

#main table { border-collapse: collapse; width: 640px; border: none; }
#main th, #main td { padding: 2px 5px; border: none; border-right: 3px solid #000; border-bottom:  3px solid #000 ; font-size: 11px; background: #121212; }
#main th { background: #303102 ; }

.listblock h3 {
	font-size:18px;
	line-height:1;
	padding-bottom:1em;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
}
.recentlichens { width:340px; padding:0 0 15px; background: transparent; float:right; }
.news { width:240px; padding:0 0 15px; float:left; }

.sidebar {
	width:255px;
	float:left;
	z-index:10;
    /*  position:absolute;*/
    /*	left:17px;top:200px;*/
    margin-left:17px;
}
#nav {list-style:none;margin-bottom:0;}
#nav li a {
	color:#fff;
	width:auto;
	left:130px;
	line-height:29px;
	font-size:14px;
	height:29px;
	display:block;
	text-decoration:none;
	border-bottom:1px solid #353602;
	cursor: pointer;
}
    #nav a.highlight {color:#FF9900;}
#nav li a span { display: block; float: left; width: 47px; text-align: right; padding-right: 7px; }
#nav li a:hover,
#nav li a:focus {color:#678004;}

#searchform {
    width: 255px; height: 100px; position: absolute; top:0px; right:0px;
    margin-right:0px;
    margin-top:0px;
    margin-left:0px;
    z-index:99;

}
#searchform legend, #searchform label {display:none;}

#searchform input { /*.sidebar input,*/
	position: absolute;
	left: 0px;
	top: 30px;
	border:0;
	width:155px;
	height:20px;
	line-height:20px;
	padding-top:6px;
	background:url("resources/images/form.gif") no-repeat 0 0;
	padding-left:31px;
}
.sidebar button, #searchform button {
	position: absolute;
	right: 0px;
	top: 30px;
	border:0;
	width:60px;
	height:26px;
	color: #fff;
	font-size: 11px;
	cursor:pointer;
	background: #678004;
	text-transform: lowercase;
}
.biology {
	display:block;
	text-indent:-9999em;
	background:url("resources/images/biology.gif") no-repeat 0 0;
	overflow:hidden;
	width:253px;
	height:78px;
}

.lichenad { width: 200px; margin: 5px 0 20px 15px; display: block; clear: both; }

#main .lichen-grid li { float: left; background: none; padding: 0; margin: 0; display: block; height: 170px; }
#main .lichen-grid li a { display: block; float:left; border: 1px solid #000; width: 120px; height: 120px; margin: 0 5px 5px 0; padding:0; border:1px solid #678004; position: relative; }
#main .lichen-grid li a:hover { border: 1px solid #fff; text-decoration: none; }
#main .lichen-grid li a span {
	position: absolute; 
	top:  125px;
	left:  0;
	text-decoration: none;
	font-size: 10px;
	line-height: 12px;
	color: #999999;
}

#main .lichen-grid li a:hover span {
	display: block;
	color: #E5E5E5;
}
#main .lichen-grid img { padding: 0; margin: 0; border: 0; }
#main .lichen-grid h3, #main .lichen-list h3, #main .habitat h3 { color: #fff; font-size: 16px; font-weight: 400; font-family: Georgia, "Times New Roman", Times, serif; padding: 20px 0 10px;  }

#main .lichen-grid h3 abbr { padding-right: 40px; }

#main .habitat {
	width: 100%; 
	float: left;
	padding: 0px 20px 10px 0;
}

#main .habitat h3 { 
	padding: 50px 0 10px;
	text-transform: none;
	}
	
	#main .conservation h3 { 
		text-transform: none;
		}
	
#main .habitat-description img { 
	float: left;
	margin-left: 0;
	margin-right: 20px;
	}

#main .habitat img {
	float: left;
	margin: 0 20px 0 0;
	}
 
	#main .map-grid li { float: left; background: none; padding: 0; margin: 0; display: block; height: 170px; width: 125px; position: relative; }
	#main .map-grid li a.lichenimage { display: block; float:none; border: 1px solid #000; width: 120px; height: 120px; margin: 0 5px 5px 0; padding:0; border:1px solid #678004;  }
	#main .map-grid li a.lichenimage:hover { border: 1px solid #fff; text-decoration: none; }
	#main .map-grid li a.lichenlink {
		position: absolute; 
		top:  125px;
		left:  0;
		text-decoration: none;
		font-size: 10px;
		line-height: 12px;
		color: #444;
		height: 20px;
		width: 120px;
		border: none;
		color: #ccc;
		display: block;
	}
	
#main .map-grid li a.lichenlink:hover {
	text-decoration: underline;
	color:#fff;
}

#main .gallery img { float: none;}
#main .gallery .gallery-row { padding-bottom: 10px; }

/* FOOTER SETTINGS************/

#footer {
	clear:both;
	position:relative;
	width:auto;
	/* border-top:2px solid #0d0d0d; */
	padding-top:17px;
	line-height:1;
	padding-bottom:20px;
	color:#444;
}
#footer a {
	text-decoration:none;
	color:#678004;
}
#footer a:hover,
#footer a:focus {
	text-decoration:underline;
}
#footer p {padding:0 1px;}
#footer p.madeby {
	float:right;
}

#iia { display: block; position: absolute; right: 10px; bottom: 0; width: 127px; height: 113px; text-indent: -3000px; overflow: hidden; background: url("resources/images/award08-winner-education.png") no-repeat 0 0; z-index: 1000; }


ul#nav ul  li a {
    padding-left:40px;
}
    #nav a.active{color:#678004;}
    #nav a.accordion{
        background-repeat:no-repeat;
        background-position:0px 9px;
        padding-left:16px;
    }

    #nav a.close {
        background-image:url("resources/images/arrow-hor.png");

    }
    #nav a.open {
        background-image:url("resources/images/arrow-vert.png");
    }
    #nav li a:focus {color:#fff;}
    
#home-page-featured-2 a.side-logo {
    background:url(resources/images/lichen-logo.jpg) no-repeat;
    width:255px; height:133px; display:block;
}

#mc_signup_container {
    padding-top:10px;
}

/*Wordpress specyfic*/
/* http://codex.wordpress.org/Using_Images */
img.centered{ display: block; margin-left: auto; margin-right: auto }
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
