body{
  background-color: #000;
  background: url('herringbone-violetti.png');
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: center;
  line-height: 1.5em;
  padding:0;
  margin:0;
  font-family: 'Baloo Bhaina 2', sans-serif;
}


/* Leipäteksti */

em{
  color: #58cad4;
}

b{
  color: #58cad4;
}


a{
  color: #5ed6be;
  text-decoration:none;
}

a:hover{
  color: #6db0b6;
  text-decoration:none;
}

.clear {
clear: both;
}

.content {
  padding: 16px;
}

p{
  width: 550px;
  margin: 10px auto;
  color: #dcf1f3;
  font-size: 1em;
}

#cboxdiv {
  width: 500px;
  margin: 10px auto;
}

ul{
  width: 550px;
  margin: 10px auto;
  color: #dcf1f3;
  font-size: 1em;
  list-style-type: disc;
}

h1, h2, h3{
  color: #6db0b6;
  font-family: 'Eagle Lake', 'Baloo Bhaina 2', serif;
  text-align:center;
  margin-top: 50px;
}

/* Headeri ja navigaatiokamat */
div.hattu{
  background: url('40-ta-075.png') repeat;
  height:250px; 
  padding-top:10px;
  margin: 0;
  text-align: center; 
  width:100%; 

}

div.hattu a{
  position: relative;
     top: 15px;
  cursor: pointer; 
  margin: 24px 14px 10px 14px;
  text-align: center; 
  text-transform: none;
  text-decoration: none;
}

#navbar {
  background: url('40-ta-075.png') repeat;
  overflow: hidden;
  font-size: 1.2em;
  font-family: 'Eagle Lake', 'Baloo Bhaina 2', serif;
  margin: 0px auto;
  padding: 20px;
  text-align: center; 
}

#navbar a{
  border-bottom: 0px solid #5ed6be;
  color: #dcf1f3;
  text-align: center;
  padding: 0px 14px 0px 14px;
  text-decoration: none;
}

#navbar a:hover{
  border-bottom: 3px dotted #5ed6be;
  color: #5ed6be;
}

.alanavi a{
  border-bottom: 1px dashed #5ed6be;
  color: #dcf1f3;
  font-family: 'Eagle Lake', 'Baloo Bhaina 2', serif;
  text-decoration: none;
}

.alanavi a:hover{
  border-bottom: 1px solid #5ed6be;
  color: #5ed6be;
  text-decoration: none;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}


/* Teja & Projekti-sivujen alasvetolaatikot */

#toggle0_1, #toggle1_1, #toggle2_1, #toggle3_1, #toggle4_1, #toggle5_1 {
  background: url('40-ta-075.png') repeat;
  border-radius: 15px;
  cursor: pointer; 
  max-width: 590px;
  margin: 0px auto;
  padding: 7px;
}

#toggle0_2, #toggle1_2, #toggle2_2, #toggle3_2, #toggle4_2, #toggle5_2 {
  display: none;
}

#toggle0_2 {
  width: 550px;
  margin: 0px auto;
}

/* Ulkoasu-esittely-homma */

* {box-sizing: border-box}

body {
  font-family: 'Baloo Bhaina 2', cursive; 
  margin:0
}
    
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 550px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  background: url('40-ta-075.png');
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #6db0b6;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #dcf1f3;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


/* Loput kamat */

#fakta {
  position:relative;
    right: 0;
  clear:right;
  text-align:right;
  padding-right: 20px;
}
#fakta h4{
  color: #6db0b6;
  font-family: 'Eagle Lake', 'Baloo Bhaina 2', serif;
  text-align: right;
}

img.kuva { 
  opacity: 1.0;
  border-bottom: 4px solid #5ed6be;
  margin: 10px;
  clear:none; 
  margin-top:20px;
}

img:hover.kuva {
  opacity: 0.7;
}

#tiedot {
  float: right; 
  width: 230px;
}

.linkit a {
  display: inline-block; 
  background: url('40-ta-075.png') repeat;
  border-radius: 0 10px 10px 0;
  border: 1px solid #dcf1f3;
  color: #dcf1f3;
  padding: 10px;
}

.linkit hover {
  display: inline-block; 
  border: 1px solid #5ed6be;
  color: #5ed6be;
}

#copyrights {
  background: url('40-ta-075.png') repeat;
  color: #dcf1f3;
  font-size: 0.8em;
  line-height: 23px;
  margin: 0;
  padding-top:10px;
  text-align:center;
  width:100%; 
}