/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?51401335');
  src: url('../fonts/fontello.eot?51401335#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff?51401335') format('woff'),
       url('../fonts/fontello.ttf?51401335') format('truetype'),
       url('../fonts/fontello.svg?51401335#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
	font-family: 'Droid Serif', serif;
	padding-top: 0;
}

/* Customize container */
@media (min-width: 768px) {
  .container, footer {
    max-width: 730px;
  }
}

h1,
h2,
h3,
h4,
h5,
.jumbotron h1 {
	font-family: 'Droid Serif', serif;
}

h5 {
	font-weight: bold;
}

.container .jumbotron {
	font-size: 1.25em;
	border-radius: 0px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	box-shadow: 0px 8px 6px -6px #AAA;
	border: thin solid #CCC;
	border-top: none;
	background-color: #fff;
}

.container .jumbotron h1 {
	font-size: 2.2em;
}

.container .jumbotron img {
	float: right;
	margin-left: 1.5em;
	max-height: 100%;
	max-width: 100%;
	margin-top: 24px;
	height: 200px;
}

.container .affiliations {
	position: relative;
	float: right;
	width: 100px;
	margin-top: 10px;
	margin-right: -100px;
}

.container .affiliations ul {
	list-style-type: none;
	margin: 0;
}

.container .affiliations img {
	width: 100px;
	margin: 10px 0;
}

hr {
	border: 0; 
	height: 1px; 
	background: #333; 
	background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); 
	background-image: -moz-linear-gradient(left, #ccc, #333, #ccc); 
	background-image: -ms-linear-gradient(left, #ccc, #333, #ccc); 
	background-image: -o-linear-gradient(left, #ccc, #333, #ccc); 
}


.featurette .lead {
	margin-left: 2.75em;
	color: #777;
	font-size: 1em;
}

.figure {
	width: 100%;
}

.figure-description {
	width: 100%;
	text-align: center;
}

.figure-description:before {
	font-style: italic;
	content: 'Figure:';
}

#contact {
	list-style-type: none;
	display: inline;
}

#contact li {
	display: inline-block;
	margin: 0 .3em;
}

#contact a {
	color: #333;
}

#interests li:before { 
	font-family: 'fontello';
	font-style: normal;
	font-weight: normal;
	speak: none;
  	display: inline-block;
  	text-decoration: inherit;
  	width: 1em;
  	margin-right: .2em;
  	text-align: center;
    content: '\e80a';
}

#interests li {
    list-style:none;
    text-indent:-.5em;
}

.featurette h2:before {
	font-family: 'fontello';
	font-style: normal;
	font-weight: normal;
	speak: none;
  	display: inline-block;
  	text-decoration: inherit;
  	width: 1em;
  	margin-right: .2em;
  	text-align: center;
}

#interests h2:before { content: '\e80c'; }
#publication-header h2:before { content: '\e80e'; }
#code h2:before { content: '\e812'; }

#code .block {
	position: relative
}

#code .links
{
	position: absolute;
	bottom: 0;
	left: -320px;
	width: 300px;
	margin: 0;
	padding: 0;
}

#code ul {
	list-style-type: none;
	margin: 0;
	margin-top: 1em;
}

#code .code-links:before {
	font-weight: bold; 
	content: 'Code';
}

#code .code-references:before {
	font-weight: bold; 
	content: 'References';
}

.featurette hr {
	background: #CCC;
	background-image: none;
}

.featurette h2 {
	margin-top: 0;
}

#publications h3 {
	color: #777;
	position:relative;
}

#publications h3:before {
	content: '';
	border-top: thin solid #CCC;
	position: absolute;
	height: 1px;
	width: 100%;
	top: 50%;
	display: block;
	z-index: 1;
}

#publications h3 span {
	background: #fff;
	z-index: 5;
	position: relative;
	padding-right: 10px;
}

#publications .sidebar
{
	position: absolute;
	bottom: 0;
	left: -265px;
	width: 300px;
	margin: 0;
	padding: 0;
}

#publications .links:before {
	content: 'Links:';
	font-weight: bold;
	width: 100%;
	clear: both;
}

#publications .notes:before {
	content: 'Notes: ';
	font-weight: bold;
	font-style: normal;
	width: 100%;
}

#publications .notes {
	font-style: italic;
}

.bib-item {
	margin: 0;
	padding: 0;
}

.bib-item ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.bib-item li {
	display: inline-block;
	position: relative;
}

.bib-item > li {
	margin-top: 1em;
}

.bib-item .title {
	font-weight: 700;
}

.bibtex-code {
	display: none;
}
