/* CSS for my homepage */

/* Main (common) settings*/
body {
	font: 14px "Lucida Grande", Verdana, Tahoma, sans-serif, Arial;
	/*font-size: 90%;*/
	background: #ffffff;
	line-height: 1.2em;
	margin: 0px 0px 0px 0px;
	padding: 10px 0px 10px 0px;
	/* To center the page */
	text-align: center;
}

#wrap {
	margin: 0px auto 0px auto;
	width: 860px;
}


#wrap2 {
        /*float: left;*/
        clear: both;
	/*margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;*/
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
	border-top: 1px solid #f0f0f0;
	/*border-bottom: 1px solid #f0f0f0;*/
}

/* The is formed by wrap structured like this

   header
   ***** banner ******
   menu--------------
   wrap2++++++++++++++
   + content    extras
   +            extras 
   ***** footer *****

*/
#header { /*clear: both;*/
        text-align: left;
	margin: 10px 10px 0px 0px;
}

#banner {
	margin: 0 0 10px 0;
	border: 0;
}

#menu {
	margin: 0 auto;
	text-align: left;
	/*background: white url('pictures/bg02-white-right.png') no-repeat right top;*/
	/*overflow: hidden;*/
        /*border-bottom: 1px solid #cccccc;*/
}

#menu ul {
	/*background: transparent url('pictures/bg02-white-left.png') no-repeat left top;*/
	margin:0;
	padding: 5px 0 0 0;
	list-style: none;
	float: left;
}

#menu li {
	display: inline;
	float: left;
        /*background:url(pictures/menuleft.png) no-repeat left top;*/
}

#menu a {
	float: left;
	margin:0;
	padding: 0 0px 0 4px;
	text-decoration:none;
	line-height: 1.5em;
        background:url(pictures/menuleft.png) no-repeat left top;}

#menu span {
	background: transparent url(pictures/menuright.png) no-repeat right top;
	padding:5px 15px 4px 6px;
	color:#5b8fbe;
	display: block;
	float: left;
	cursor: pointer; /* IE doesnt display the hand when you roll over the link for some reason. This fixes it */
}

#menu current-section {
	background: transparent url(pictures/menuright.png) no-repeat right top;
	padding:5px 15px 4px 6px;
	color:#5b8fbe;
	font-weight: bold;
	display: block;
	float: left;
	cursor: pointer; /* IE doesnt display the hand when you roll over the link for some reason. This fixes it */
}

#menu a:hover { background-position:0% -42px; }
#menu a:hover span { background-position:100% -42px; }

#news { /*margin: 10px 0 10px 0;*/
	padding: 10px;
	width: 130px;
	line-height: 1.3em;
}

#extras {
        float: right;
	width: 190px;
	margin: 0px 0px 10px 0px;
	padding: 10px 10px 0px 10px;
	/*border-left: 1px solid #f0f0f0;*/
	font-size: 0.9em;
	text-align: left;
}

#extras menu{
	list-style: none;
}

#content-out {
	/*width: 500px;*/
	margin: 0px 191px 0px 0px;
	padding: 0px 10px 0px 10px;
	text-align: left;
}

#content-in {
	padding: 10px 20px 10px 0px;
	margin: 0px 0px 0px 0px;
	text-align: left;
}

#content-in img {
	padding: 2px 2px 2px 2px;
	margin: 0px 4px 0px 4px;
	display: inline;
	background: #ffffff;
	border: 2px solid #f0f0f0;
}

#content-in ul {
	list-style-type: square;
}

#content-out content-title {
	font-size: 1.5em;
	font-weight: bold;
	/*border-bottom: 1px solid #cccccc;*/
	margin: 0px 0px 0px 0px;
	padding: 10px 0px 0px 0px;
	text-align: left;
}

#papers{
	margin: 0px 0px 00px 0px;
}

#papers ul {
	list-style-type: square;
}


#papers li {
	margin: 0px 0px 10px 0px;
}


/* Contents below a title */
#subcontent {
	padding: 0px 0px 0px 20px;
}

/* Contents below a title */
#subextras {
	padding: 0px 0px 0px 10px;
}


#search {
	margin: 0px 0px 10px 160px;
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
	padding: 0px 10px 10px 10px;
}

#footer {
	clear: both;
	margin: 0 auto;
	padding: 10px 0 20px 0;
	border-top: 1px solid #f0f0f0;
	width: 860px;
	text-align: center;
	font-size: 0.9em;
}

#nav {
	padding: 0px 0px 0px 10px;
}

#nav a:hover {
        text-decoration: none;
}

#nav ul {
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 5px;
	list-style-type: none;
	background: transparent url(pictures/navitem.gif) no-repeat left;
}


#nav li {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 10px;
	background: transparent url(pictures/navitem.gif) no-repeat left;
}

#nav li:hover {
	margin: 0px 0px 0px 0px;
	background: transparent url(pictures/navitem-hover.gif) no-repeat left;
}

#navcurrent li {
	/*margin: 10px 0px 0px 0px;
	padding: 10px 0px 0px 0px;*/
	font-weight: bold;
	background: transparent url(pictures/navitem-current.gif) no-repeat left;
	/*border-top: 0px solid #ffffff;
	line-height: 0;*/
}

#navcurrent li:hover {
	background: transparent url(pictures/navitem-current.gif) no-repeat left;
}

#nav-pointer {
	float: left;
	font-size: 0px; line-height: 0px; width: 0px;
	margin: 4px 0px 0px -9px;
	padding: 0px 0px 0px 0px;
	border-top: 4px solid #f0f0f0;
	border-left: 8px solid #ff0000;
	border-bottom: 4px solid #f0f0f0;
}

/* 2nd level of navigation map */
#subnav {
	padding: 0px 0px 0px 10px;
	font-size: 0.9em;
}

h1 {
	font-size: 2.0em;
	margin: 0px 0px 10px 0px;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.2em;
	/*border-bottom: 1px solid #cccccc;*/
	margin: 0px 0px 10px 0px;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	/*border: 0;*/
}

.left {
	margin: 10px 10px 5px 0;
	float: left;
}

.right {
	margin: 10px 0 5px 10px;
	float: right;
}

.textright {
	text-align: right;
}

.center {
	text-align: center;
}

.small {
	font-size: 0.8em;
}

.bold {
	font-weight: bold;
}

.hide {
	display: none;
}

/* Style for the "last update" note */
datestyle {
	font-size: 0.8em;
	text-align: right;
	font-style: italic;
}

hr {
	border: 0;
	border-top: 1px solid #cccccc;
	height: 0;
}

/* The colors */ /* Color used to evidence */
	a,a:hover,#menu li a:hover,#menu li a:hover .border-left,.bold{
	color: #5b8fbe;
}

body {
	color: #000000;
}

/* Foreground and background colors for menu, news, footer, line */
#menu , #menu a span , .news,footer,hr {
	color: #505050;
}

/* Foreground color for "last update" note */
datestyle {
	color: #cccccc;
}

/* Style for the anobii badge */

#badge a:hover {}
#badge a:link {}
#badge a:active {}
#badge a:visited {}
#badge {padding: 0px 0px 0px 10px; width: 160px; border: 0px solid #cccccc;}

 /* ------[ For each item in the badge ]------ */
#badge .item_cell {list-style: none; text-align: left; padding: 5px 0px 0px 0px; margin: 0px; font-style: italic;}
#badge .cover {}
#badge .cover img {border: 1px solid #cccccc; padding: 3px; background-color: #f7f7f7;}
#badge .title {text-indent: 0;padding: 0; margin: 0;}
#badge .subtitle {}
#badge .author {} 
 
/* ------[ The bottom part ]------ */
#badge .link_cell {list-style: none; text-align: center; padding: 5px; margin: 0px; clear: both; color: #ffffff; display: none;}
#badge .link_cell dt {text-align: left; margin: 0px; color: #ffffff; display: none;}
#badge .link_cell dd a {font-size: 10px; font-family: Verdana; color: #ffffff; display: none;}
#badge .link_cell dd {text-align: left; margin: 0px; color: #ffffff; display: none;}
#badge .link_cell img {border: none; display: none;}

/* Rounded box */
/* set millions of background images */
.rbroundbox { background: url(pictures/roundbox-nt.gif) repeat; }
.rbtop div { background: url(pictures/roundbox-tl.gif) no-repeat top left; }
.rbtop { background: url(pictures/roundbox-tr.gif) no-repeat top right; }
.rbbot div { background: url(pictures/roundbox-bl.gif) no-repeat bottom left; }
.rbbot { background: url(pictures/roundbox-br.gif) no-repeat bottom right; }

/* height and width stuff, width not really nessisary. */
.rbtop div, .rbtop, .rbbot div, .rbbot {
width: 100%;
height: 7px;
font-size: 1px;
}
.rbcontent { margin: 0 7px; }
.rbroundbox { width: 100%; margin: 1em auto; }

/* Style for twitter widget */
#twitter_div {
	/*background-color: #f0f0f0;*/
	/*padding: 5px 5px 5px 5px;*/
	padding: 0px 0px 0px 0px;
}

#twitter_div ul {
	margin: 0px;
	padding: 0px;
	/*list-style: none;*/
	font-style: italic;
	text-align: left;
}

#twitter_div li {
	margin: 0px 0px 0px 15px;
	padding: 0px 0px 0px 0px;
}

