/*
Theme Name: SMR Theme 2
Theme URI: http://smruk.org
Description: Romedics Theme 2.
Version: 0.1a
Author: Dragos
Author URI: http://dragoscarmaciu.com/
Tags: medicine, custom header, fixed width, two columns
*/


/**** HTML RESETS ****/
body {
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif;
	font-size: 14px;
	line-height: 160%;
	color: #000;
	background: #212330;
	
}
a, a:visited {
	color: #188ae7;
	font-weight: bold;
	text-decoration: none;
}
a:hover {
	color: #188ae7;
	text-decoration: none;
}

hr {
	display: none;
}

a img {
	border: none;
}

ul {
	margin: 0 0 0 0;
	padding: 0 10px 0 10px;
	list-style: circle;
}

p {
 margin: 0.5em 0px;
}

.commentlist { list-style-position: outside; margin-left: 0px; padding-left: 20px; vertical-align: middle; list-style: none; }
li { margin: 0px; padding: 0px; }

h2 {
	margin: 0.2em 0 0 0;	
}
h3 {
	margin: 0.2em 0 0 0;	
}
h4 {
	margin-bottom: 0;
}
/**** ID DIVs ****/
#header {
	width: 100%;
	height: 131px;
	
	background-image: url('images/header_fade.jpg');
	background-repeat: repeat-x;
	background-position: top left;
	margin: auto auto;
}
#header-content {
	position:relative;
	top:52px;
	width: 960px;
	height: 140px;
	margin: auto auto;
	text-align: center;
}
#header-logo {
	position:absolute;
	bottom: 20px;
	left:-20px;
	width: 464px;
	height: 174px;
	text-indent: -9999px;
	background: url('images/white_logo3.png');
	z-index: 5;
}

#mainNav {
	position: absolute;
	top: 55px;
	right: -20px;
	list-style: none;
}

#mainNav li {
	display: inline;
}

#mainNav li a {
	font-weight:bold;
	font-size: 14px;
	padding: 4px 12px;
	color: #ffffff;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-top-left-radius: 4px;
	background: #333;
}

#mainNav li a:hover {
	background: #359;
	color: white;
}

#mainNav li a.current {
	background: #ccc;
	color: black;
}
#pageWrap {
	width: 980px;
	overflow:auto;
	background: url('images/page_fade.jpg') repeat-x top #fff;
	margin: auto auto;

}
#page {
	overflow:auto; /* acts like a clear */
	width: 960px;
	min-height:500px;
	margin: auto auto;
	padding: 20px 10px 20px 10px;
/*
	background: #fff;
	border-left: 1px solid #CCC;
	border-right: 1px solid #ccc;
*/
	}
	.content {
		float: left;
		
		padding-left: 10px;
		margin: 20px 0px 10px 0px;
		
		min-height:200px;
	}
	.narrowcolumn {
		width: 754px;
	}

	.widecolumn {
		width: 930px;
		margin: auto auto;	
	}
	.twocolumnleft {
		width: 460px;
		padding-right: 10px;
		border-right: 1px solid #ccc;	
	}
	.twocolumnright {
		padding-left: 10px;
		width: 460px;				
	}	
	#sidebar {
		float: left;
		position: relative;
		margin: 90px 0 10px 20px;
		padding: 0 0 0 10px;
		width: 165px;
		min-height:200px;
		overflow:auto;

	}
	#sidebar ul li {
		list-style-type: none;
		list-style-image: none;		
	}
	#sidebar img{
		margin: 0;
		padding: 0;
		border: 0 none;
	}
	#sidebar .authorimage{
		position: absolute;
		left: 5px;
		top: 0px;
		width: 96px;
		padding: 5px;
		border: 1px solid #ddd;
	}
	#sidebar .authorinfo {
		clear: both;
		margin-top: 116px;
	}


#featured {
	position: relative;
	padding: 10px;
	
	width: 940px;
	height: 476px;
	background: #fff;
	border: 1px solid #ccc;
	overflow: hidden;
/*	-moz-border-radius-topleft: 16px;
	-moz-border-radius-topright: 16px;
	-webkit-border-top-right-radius: 16px;
	-webkit-border-top-left-radius: 16px;	*/
	

}
#featured .featured-image {
	height: 476px;
	overflow:hidden;
}
#featured img {
	display: block;
	width: 100%;
	vertical-align: baseline;
}
#featured p {
	margin: 0px;	
}
#featured .post {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 920px;
	max-height: 180px;
	padding: 10px;
	overflow: hidden;
	font-family: "Trebuchet MS";	
	/*background: url('images/tran_white.png') top right;*/
	background: #fff;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);	
}
#featured .entry {
	border: 0;
}
#featured #icon {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 940px;
	height: 40px;
	background: url('images/featured_top.png');
	text-indent: -9999px;
	z-index: 60;
}

#footerWrap {
	width: 100%;
/*
	background: url('images/footer_fade.jpg') repeat-x top #333;
*/
}
#footer {
	padding-top: 10px;
	width: 960px;
	min-height: 100px;
	margin: auto auto;

	color: white;
}

#loginbox {
	overflow: auto;
	position: relative;
	background-color: #cdf;
	padding: 5px 5px 5px 10px;
	border: 1px solid #ccc;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;	
}
#loginbox:hover {
	background-color: #bce;
}
#loginbox .icon {
	float: left;
	margin-top: 10px;
	width: 50px;
	height: 56px;
	background: url('images/lock.png') no-repeat top left;
}
#loginbox p {
	margin-left: 55px;
	padding: 5px;
}

/* HACKS */
img.alignleft, div.alignleft {
float:left;
margin:0 0.5em 0.5em 0;
}
img.alignright, div.alignright {
float:right;
margin:0 0 0.5em 0.5em;
}
img.aligncenter, div.aligncenter {
text-align:center;
margin:0 auto;
}

.post {

	overflow: auto;

	padding-bottom: 10px;
}

.entry {
	border-top: 1px solid #ccc;
	padding-top: 10px;
}

.post h4 a ,.post h2 a ,.post h3 a {
	color: #359;
	margin: 1em 0 0 0;
}

.postmetadata {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: gray;	
}
.commentmetadata {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: gray;	
}

.comment-body {
	border-left: 2px solid #bbb;
	padding-left: 10px;
}

small {
	font-size: 10px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: gray;
}

.pagetitle {
	font-size: 10px;
	color: gray;
}

.navigation {
	overflow: auto;
}

.commentlist li .avatar {
	float:left; 
	background: #fff; 
	border: 1px solid #bbb; 
	padding:2px;
	margin: 0px 15px 0px 5px;
}

.category-featured {

}

.more-link {
	font-size: 10px;
}

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

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

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* Idiot Popup */

#diaspora-popup {
	font-size: 11px;
	line-height: 1em;
	height: 34px;
	width: 330px;
	position: absolute;
	top: 0px;
	right: 0px;
	margin: auto;
	background: url('images/popup_bubble2.png');
	z-index: 66;
	padding: 16px 15px 10px 15px;
	text-align: center;
}

.assoc {
    float: left;
	text-indent: -9999px;
	width: 220px;
	height: 100px;
	
	margin: 2px;
    background: top left;
}

.assoc-big {
    float: left;
	text-indent: -9999px;
	width: 320px;
	height: 205px;
	
	margin: 2px;
    background: top left;
}

.assoc > a {
    display: block;
    height:100%;
}

.clear { 
    clear: left;
}

.logo_ma {
	background: url('images/ma_smurk_220x100.jpg');
}

.logo_ro { 
	background: url('images/casaromanasca.jpg');
}

