html {
  overflow-y: scroll;
  color: #eee;
  font-family: Calibri, Verdana, Helvetica, sans-serif;
  font-size: 13px;
}

body {
  background-color: #000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  width: 1000px;
  position: relative;
}

.spacer {
  clear: both;
  height: 1px;
}

.spacer_skip {
  clear: both;
  height: 30px;
}

/* -- Links ------------------------------------ */
a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  outline: none;
}

a:focus {
  -moz-outline-style: none;
}

a img {
  border: 0;
}

/* -- Columns ----------------------------------- */
.mainCol {
  float: left;
}

#leftCol {
  width: 380px;
}

#middleCol {
  width: 555px;
  padding: 10px;
}

#middleCol p {
  line-height: 1.5em;
  margin-bottom: 35px;
}

#middleCol a {
  color: #666;
}
#rightCol {
  width: 45px;
  padding-top: 18px;
}

#spacer {
  height: 1px;
  clear: both;
}


/* -- Navigation ------------------------------------- */
#langLink {
  display: block;
  float: right;
  font-size: 0.8em;
}


#leftCol h1 {
margin-left: 25px;
}

#brainLogo {
  width: 380px;
}


ul {
  margin-top: -9px;
  margin-left: -20px;
  list-style-type: none;
  line-height: 30px;
}

ul li {
  margin-bottom: 5px;
}

ul li a { 
  float: left;
  margin-left: 10px;
}

ul li a:hover {
  color: white;
  text-decoration: underline;
  background-color: black;
}

ul li a.boxLink {
  border: 1px solid #666;
  width: 90px;
  margin-bottom: 5px;
  padding-left: 10px;
  display: block;
  clear: both;
  color: white;
  text-decoration: none;
}

ul li a.boxLink.active {
  color: black;
  background-color: white;
}

ul li a.boxLink:hover {
  color: black;
  background: white;
}

/* -- index --------------------------------------- */

#gradientBar {
  background-image:url('images/gradientBar.png');
  background-repeat:no-repeat;
  height: 117px;
  margin-top: 13px;
  margin-bottom: 50px;
}

#eegBand {
  background-image:url('images/eegBand2.png');
  background-repeat:no-repeat;
  height: 296px;
  margin-top: 100px;
  position: relative;
}

.fb_share {
  float: right;
}

.fb_share a {
  color: black;
  position: absolute;
  bottom: 2px;
  right: 2px;
}

/* -- who ------------------------------------------- */

#bioTable {
  margin-top:40px;
}

.bioImage {
  width: 113px;
  height: 150px;
  background-repeat:no-repeat;
  font-size: 0.9em;
  padding-top: 1px;
  padding-left: 3px;
  position: relative;
}

#bioImageCopyright {
  font-size: 0.6em;
  position: absolute;
  bottom: 2px;
  left: 2px;
}

#bioTable a {
  color: white;
}

#bioImageMarkoAh { background-image:url('images/MarkoAh.png'); }
#bioImageMarkoAl { background-image:url('images/Marko.png'); }
#bioImageMiika { background-image:url('images/Miika.png'); }
#bioImageLauri { background-image:url('images/Lauri.png'); }
#bioImageTimo { background-image:url('images/Timo.png'); }
#bioImageJenni { background-image:url('images/Jenni.png');}
#bioImageMaija { background-image:url('images/Maija.png');}
#bioImageErkki { background-image:url('images/Erkki.png');}
#bioImageOtto { background-image:url('images/Otto.png');}

/* -- media ------------------------------------------*/
.mediaContentBox {
  margin-top: 30px;
  padding-bottom: 10px;
}

.ytVideo {
  margin-bottom: 20px;
}

.galleryCaption {
  margin-top: 10px;
  margin-bottom: 20px;
}

.galleryCaption .photoCopyright {
  font-size: 0.8em;
  margin-left: 10px;
  line-height: 1em;
}

/* -- events -------------------------------------------*/

.eventImage {
  float: left;
  padding: 10px;
}

