/*colors*/
#wrap,#menu a.sel {
  background-color:#ebebf6;
  color:black;
}

#menu a.unsel:hover, #title {
  background-color:#ccd;
  color:#181818;
}

#footer, #menu, #menu a,.contact-title  {
 background-color:#181838;
 color:#ddf;
}

/* layout */
body {
  background-color:#ffffff;
  margin:0px;  
 font-family:sans;
}

#wrap {
  width:900px;
  margin-left: auto;
  margin-right: auto;
  padding:0px;
}
#left_stuff {
  width: 184px;
  float: left; 
  padding:8px 0px 8px 8px;
}
#main_stuff {
  margin-left:200px;
  padding:8px;
}
#footer {
  padding:8px;
  clear: both;
}

/* title and menu */
#title {
  margin:0px;
  padding:0.3em 0.8em 2em 0.8em;
}
#title h1 {
 display:inline;
}
#menu {
  margin:0px;
  padding:8px 4px 8px 200px; 
}
#menu a{
 text-decoration:none; 
 margin-right:20px;
 padding:4px;
 padding-top:8px;
   outline: 0;
  font-family:sans;
}
#menu a.sel {
 padding-top:4px;
 padding-bottom:9px;
 border-top-right-radius: 10px;
 border-top-left-radius: 10px;
}
#menu a.unsel:hover {
 border-bottom-right-radius: 10px;
 border-bottom-left-radius: 10px;
}




.contact-title {
 margin-top:1.5em;
 margin-bottom:0.5em;
 margin-left:-4px;
 padding:4px;
 width:100%;
 border-top-left-radius:5px;
 border-top-right-radius:5px;
 font-family:sans;
} 


/* special for references */

.reflist{
 list-style-type:none;
 padding:0px;
}

.ref{
 font-family:sans-serif;
 background-color:#ffffff;
 padding:4px;
 margin:0px;
 margin-bottom:8px;
 border-radius:0px;
 border-top-right-radius:20px;
}
.ref .author{
  display:block;
}
.ref .author .me {
 text-decoration:underline;
}
.ref .title{
 display:block;
 font-weight:bold;
 text-decoration:none;
}
.ref .title a {
 text-decoration:none;
}
.ref .book{
 display:block; 
}
.ref pre{
 font-size:small;
}

.ref.sideIcon {
  display:inline-block;
  float:right;  
}
.ref .sideIcon img {
   width:15px; 
}
#BibTexToggle {
 position:fixed;
 bottom:0px;
 right:0px;
 margin:0px;
 padding:12px;
 background:#ffffff;
 font-family:sans-serif;
}
#BibTexToggle a {
 text-decoration:none;
}
#HideBibTex {
 display:none;
}
/* special for cv */
.cv {
  padding-left:30px;
}
.cv>li{
 margin-top:1.2em;
 margin-bottom:0.2em;
}
.cv ul {
 padding-left:30px;
}
/*special for home*/
#logos img{
 margin:10px;
 height:70px;
}
#logos {
 float:right;
 margin-top:-90px;
}

/*special research */


#research .paper {
	 border-style: 1px black; 
	 margin: 5px; 
	 margin-bottom:20px;
	 background-color:white;	
	 border-bottom-right-radius:10px;
	 border-bottom-left-radius:10px;	 
         box-shadow: 2px 2px 2px #aac; 
}
#research .title{text-align:center; font-size:140%;padding:15px;}
#research .author{text-align:center; padding:3px;}
#research .meta{padding:1px; }
#research .meta img {float:right; height:20px; margin:1px}
#research .meta.otherVersion img {float:right; height:12px; margin:1px}
#research .clearer {clear:right}

#research .seeAlso .meta {font-size:60%;opacity:0.9}
#research .paper.article .meta, #research .meta.otherVersion.article, .preview .article  {background-color:#cce}
#research .paper.conf .meta, #research .meta.otherVersion.conf, .preview .conf   {background-color:#ecc}
#research .paper.phd .meta, #research .meta.otherVersion.phd, .preview .phd   {background-color:#cec}
#research .paper.other .meta, #research .meta.otherVersion.other, .preview .other  {background-color:#ddd}
#research .paper.poster .meta, #research .meta.otherVersion.poster {background-color:#efe0e0}

#research .bibtex {font-size:80%;opacity:0.9; padding:2pt 20pt;}
#research .bibtex .source {font-size:90%;opacity:0.7; font-style:italic; text-align:right;}

.preview {display:inline-block; width:23%; text-align:center; font-size:95%; float:right;}
.preview div {padding:2px;}

.button {
     background-color:white;
     padding:2px 10px;
     margin:1px;
     border-radius:5px;
     border: 1px solid #aaf;
     cursor:pointer;
     display:inline-block;
}

.button:hover {
   
     background-color:#ddf;
}
.filterOut {display:none;}
.filter {display:none;}
.button.active {
     background-color:#aaf;
}
.paperCount {
   color:#666;
   margin-left:0.6em;
   font-size:70%
   
}
