/* --- Main page layout --- */

html, body {
  background: black;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: 11pt;
}

#aqua-border {
  margin: 7px;
  border: solid 4px #3e848e;
  border-radius: 5px;
}

#aqua-border > div {
  border: solid 1px black;
  background: white;
  padding: 10px;
  padding-top: 60px;
}

/* --- Navigation menu --- */

#top-navigation {
  position: absolute;
  background: #e16121 url('http://www.leduotang.com/sylvain/static/nw.png') top left no-repeat;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 56px;
  margin: 0;
  padding: 0;
  border-bottom: solid 4px #3e848e;
  text-transform: lowercase;
}

#top-navigation h2 {
  display: none;
}

#top-navigation > ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 4px;
  bottom: 4px;
}

#top-navigation > ul > li {
  float: left;
  margin-left: 10px;
  color: white;
  padding: 4px;
  border-radius: 5px;
  position: relative;
}

#top-navigation > ul > li:first-child {
  margin-left: 0px;
}

#top-navigation > ul > li:hover {
  background: #c13739;
}

#top-navigation > ul > li:hover > a, 
#top-navigation > ul > li > ul > li:hover > a {
  color: black;
}

#top-navigation a {
  color: white;
  text-decoration: none;
}

#top-navigation > ul > li > ul {
  display: none;
  text-align: left;
  position: absolute;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 6px;
  padding-left: 22px;
  top: 20px;
  left: 0;
  border-radius: 5px;
  background: #c13739;
}

#top-navigation > ul > li > ul > li {

}

#top-navigation > ul > li:hover > ul {
  display: block;
}

/* --- Footer --- */

#footer {
  background: black;
  color: white;
  margin-left: 7px;
  margin-right: 7px;
  font-size: 65%;
  text-align: right;
}

/* --- For main page only: split screen --- */
#main-left {
  float: left;
  margin-right: 250px;
}
#news {
  width: 250px;
  margin-left: -250px;
  float: left;
  padding-top: 10px;
}

#post-list {
  list-style-type: none;
  padding: 0;
  font-size: 80%;
}

#post-list li {
  background: #eee;
  border-radius: 5px;
  padding: 4px;
  margin-bottom: 8px;
}

#post-list .post-info {
  font-size: 80%;
  color: darkgrey;
  font-style: italic;
  margin-bottom: 2px;
}

#post-list > li h3 {
  margin: 0px;
}

#post-list > li h3 > a {
  text-decoration: none;
  color: #c13739;
}

/* --- Useful classes for text display --- */

.text-only {
  display: none;
}

.clearer {
  clear: both;
}

/* --- Heading styles --- */

h1, h2, h3, h4 {
  font-family: Trebuchet MS,Arial,sans-serif;
}

h1 a {
  color: black;
  text-decoration: none;
}

/* --- List of publications styles --- */

.paper-list > li {
  margin-bottom: 8pt;
}

.slides-url a {
  background: url('http://www.leduotang.com/sylvain/static/slides-icon.png') center left no-repeat;
  min-height: 24px;
  padding-left: 26px;
}

.paper-url a {
  background: url('http://www.leduotang.com/sylvain/static/page-icon.gif') center left no-repeat;
  min-width: 24px;
  min-height: 24px;
  padding-left: 26px;
}

.slides-url, .paper-url {
  margin-left: 4px;
  margin-right: 4px;
}

.acceptance-rate, .impact-factor {
  font-style: italic;
  color: #655;
}

/* --- Language flags --- */
.langlink-en, .langlink-fr {
  padding-left: 18px;
}

.langlink-en:hover, .langlink-fr:hover {
  background-color: #88f;
  color: white;
}

.langlink-en {
  background: url('http://www.leduotang.com/sylvain/static/flag-en.png') 0px 3px no-repeat;
}

.langlink-fr {
  background: url('http://www.leduotang.com/sylvain/static/flag-fr.png') 0px 3px no-repeat;
}

/* --- Best paper award ribbon --- */
.ribbon {
  background: url('http://www.leduotang.com/sylvain/static/ribbon-24.png') top left no-repeat;
  min-height: 24px;
  padding-left: 24px;
  display: block;
  font-weight: bold;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* --- Google Scholar span --- */
.citations {
  background: url('http://www.leduotang.com/sylvain/static/googlescholar-icon.png') top left no-repeat;
  min-height: 16px;
  padding-left: 18px;
}