@font-face {
  font-family: "cc-icons";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/cc-icons.ttf");
}

body {
  max-width: 65em;
  margin: 0 auto;
  font-family: sans-serif;
  font-size: 80%;
}

h1 {
  margin: 0.75em 0 0.5em 0;
  font-size: 200%;
  font-family: helvetica, sans-serif;
}

h2 {
  clear: right;
  margin: 1em 0 0.25em 0;
  font-size: 1.8em;
  font-variant: small-caps;
  text-align: center;
}

h3 {
  font-size: 1.2em;
  margin: 0.5em 0 0.25em 0;
}

p {
  margin: 0.5em 0;
}

ul {
  margin: 0.5em 0;
}

a:link {
  color: #385498;
  background-color: inherit;
}

a:visited {
  color: #900C08;
  background-color: inherit;
}

#header {
  padding: 0.5em;
  border-bottom: 1px solid #AAA;
  margin-top: 0.5em;
  overflow: hidden;
}

* html #header {
  /* only for IE */
  height: 1%;
  /* autoclear (Holly hack) */
}

#university {
  float: left;
  width: 213px;
  height: 70px;
  text-indent: -3000px;
  background: url("images/ncl_logo.png");
}

#group {
  float: right;
  width: 210px;
  height: 70px;
  text-indent: 3000px;
  background: url("images/icos.png");
}

#affiliation {
  display: block;
  margin-top: -0.25em;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}

#school {
  line-height: 2em;
  font-size: 150%;
  color: #004468;
  background-color: white;
}

#faculty {
  font-family: monospace;
  font-size: 120%;
  color: #004468;
  background-color: white;
}

#content {
  padding: 0.25em 1em;
  overflow: hidden;
}

* html #content {
  /* only for IE */
  height: 1%;
  /* autoclear (Holly hack) */
}

#personal-info {
  width: 45%;
  float: left;
  margin: 0 0 0.75em 0;
}

#personal-info img {
  border: 1px solid black;
}

#personal-data {
  width: 55%;
  float: left;
  margin: -3em 0 3em 0;
}

#personal-data dt {
  padding: 0.1em 0.6em;
  font-size: 1.1em;
  font-weight: bold;
  color: #384878 !important;
  background-color: #e8ecf8 !important;
  border: 1px solid #c8d0e0;
}

#personal-data dd {
  margin: 0.3em 0.2em 0.9em 0.8em;
}

.quote {
  width: 45%;
  float: right;
  margin: 0 5% 0.5em 0;
  text-align: center;
  font-style: italic;
}

.quote small {
  display: block;
  text-align: right;
}

#buttons {
  width: 55%;
  float: right;
  margin: 1em 0 2em 0;
  text-align: right;
}

#buttons a {
  text-decoration: none;
}

#buttons img {
  border: none;
}

#menu {
  clear: both;
  margin: 0 -1em;
  line-height: 1em;
  text-align: center;
  font-weight: bold;
  font-family: verdana, helvetica, sans-serif;
  color: black !important;
  background-color: #e8ecf8 !important;
  border: 1px solid #c8d0e0;
  border-width: 2px 0;
}

#menu a {
  padding: 0.15em 0.5em;
  margin: 0 0.5em;
  text-decoration: none;
  color: #203058 !important;
  background-color: #d8dce8 !important;
  border: 1px solid #98a0b0;
  border-width: 3px;
}

#menu a:hover {
  color: #003 !important;
  border-color: #788090;
  background-color: #c8d0e0;
}

.photo {
  float: right;
  margin-left: 0.5em;
  border: 1px solid #c8d0e0;
}

.bibliography {
  padding-left: 1em;
  list-style-type: none;
  counter-reset: paper;
}

.bibliography li {
  padding: 0.25em 0 1em 2em;
  background-color: #f0f1f8;
}

.bibliography li:nth-child(2n+1) {
  background-color: #fafbff;
}

.bibliography div {
  line-height: 1.1em;
}

.bibliography pre {
  display: none;
  overflow-x: auto;
  line-height: 1.4em;
  margin: 1em 1em 0 -1.5em;
  padding: 0.5em;
  border: 1px solid #dce5d8;
  background-color: #f4fff0;
}

.bibliography a {
  float: right;
  width: 5em;
  padding: 0.1em;
  margin: 0.25em;
  line-height: 1.3em;
  font-family: "Liberation Sans", sans-serif;
  font-size: 85%;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 2px 2px 6px rgba(153, 153, 153, 0.3);
  color: #384878 !important;
  background-color: #e8ecf8 !important;
  border: 1px solid #c8d0e0;
}

.bibliography a:hover {
  color: #900C08 !important;
  background-color: #d8dce8 !important;
  border: 1px solid #98a0b0;
}

.bibliography a[href^="javascript"] {
  clear: right;
}

.bibliography a[href$=".pdf"] {
  width: 4.5em;
  padding-left: 0.5em;
  text-align: left;
  background: url("images/icons/pdf.png") no-repeat right;
}

.authors {
  display: inline;
}

.authors:before {
  content: "[" counter(paper) "] ";
  counter-increment: paper;
  padding-right: 0.3em;
  margin-left: -1.8em;
}

.title {
  font-weight: bold;
}

.comment {
  font-size: 90%;
  font-style: italic;
  color: #666;
}

#footer {
  padding-top: 0.5em;
  border-top: 1px solid #AAA;
  margin: 1.5em 0 0.5em 0;
  text-align: center;
  font-size: 0.9em;
}

#footer-text {
  padding: 0.05ex 0.5em;
  margin: 0 auto;
  font-weight: bold;
}

.W3C-button {
  float: right;
  border: 1px solid #CCC;
  margin: 0 1em 0 0.25em;
  font-size: 90%;
  font-family: helvetica, arial, sans-serif;
  font-weight: bold;
}

.W3C-button:link, .W3C-button:visited, .W3C-button:hover {
  text-decoration: none;
}

.W3C-button span {
  padding: 0 0.4em 0 0.8em;
  font-size: 1em;
  color: black;
  background-color: #FC6;
}

.W3C-button acronym {
  padding: 0 0.4em;
  color: #069;
  background-color: white;
}

.CC-button {
  float: right;
  border: 1px solid black;
  margin: 0 1em 0 0.25em;
  padding: 1px;
  overflow: hidden;
}

.CC-button:link, .CC-button:visited, .CC-button:hover {
  text-decoration: none;
}

.CC-button > span {
  padding: 0 24px 0 8px;
  font-size: 12px;
  font-family: monospace;
  color: white;
  background-color: black;
}

.CC-button acronym {
  padding: 0 0.5em;
  background-color: #abb1aa;
}

.CC-button acronym span {
  line-height: 14px;
  vertical-align: bottom;
  font-size: 30px;
  font-family: "cc-icons";
  color: black;
  background-color: white;
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(30px, 30px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg);
  }
}

.arrow {
  display: inline-block;
  width: 40px;
  padding: 0 10px;
  transform: translate(15px, 20px) rotate(90deg);
}

.arrow span {
  display: block;
  width: 1em;
  height: 1em;
  border-top: 4px solid darkred;
  border-left: 4px solid darkred;
  margin: -10px;
  animation: fade 2s ease-out infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}
