body {
margin:0;
font-family:verdana, helvetica, sans;
color:#000000;
font-size:14px;
overflow-y:scroll;
background-color:#ebebeb;
background-attachment:fixed;
background-image:url(kuvat/riipraaptausta.jpg);
background-repeat:repeat
}

.topnav {
position: fixed;
top: 0px;
width: 100%;
z-index: 10;
overflow: hidden;
background-color: #ffffff;
}

.topnav a {
float: left;
display: block;
color: #000000;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 16px;
}

.topnav a:hover {
background-color: #eeeeee;
color: dddddd;
}

.topnav .icon {
display: none;
}

@media screen and (max-width: 800px) {
.topnav a:not(:first-child) {display: none;}
.topnav a.icon {
float: left;
display: block;
}
}

@media screen and (max-width: 800px) {
.topnav.responsive {position: fixed;}
.topnav.responsive .icon {
position: fixed;
left: 0;
top: 0;
}

.topnav.responsive a {
float: none;
display: block;
text-align: center;
}
}

@media screen and (max-width: 800px) {
img {
max-width:100%
}

.minimikuva {
min-width:150px;
}
}

img {
max-width: 100%;
height: auto;
}

.nimi {
position:relative;
top:0px;
left:10;
z-index: 9;
}

.logo {
position:absolute;
top:55px;
right:10px;
z-index: 8;
}

@media screen and (max-width: 800px) {
.logo {
display: none;
}
}

.ylaosa {
height:145px;
position:relative;
top:-30px;
background-image:url(kuvat/ylaosa.png);
background-repeat:repeat-x;
z-index: 1;
}

.teksti {
position:relative;
top:-30px;
max-width:1170px;
margin-left: auto;
margin-right: auto;
background-color:rgba(255,255,255,0.8);
z-index: 5;
}

.teksti a {
text-decoration:none
}

.aikataulu {
position:relative;
top:0px;
max-width:1170px;
margin-left: auto;
margin-right: auto;
background-color:rgba(255,255,255,0.8);
z-index: 5;
}

.menneet {
color:#aaa
}

h1,.mennet {
color:#eee
}

.listaus {
color:#fff;
text-align:center;
}

.nolla {
color:#f9f9f9
}

.center {
text-align:center
}

.right {
text-align:right
}

.twist {
border:1px #777 solid;
border-radius:8px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
box-shadow:#777 3px 3px 3px 3px;
background-color:#fff;
-webkit-transform:rotate(-2deg);
-moz-transform:rotate(-2deg);
-ms-transform:rotate(-2deg);
-o-transform:rotate(-2deg);
transform:rotate(-2deg);
padding:5px
}

.suora {
border:1px #777 solid;
border-radius:8px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
box-shadow:#777 3px 3px 3px 3px;
background-color:#fff;
padding:5px
}

.kierto {
border:1px #777 solid;
border-radius:8px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
box-shadow:#777 3px 3px 3px 3px;
background-color:#fff;
-webkit-transform:rotate(2deg);
-moz-transform:rotate(2deg);
-ms-transform:rotate(2deg);
-o-transform:rotate(2deg);
transform:rotate(2deg);
padding:5px
}

.alaosa {
height:350px;
position:relative;
top:-50px;
color:#000000;
font-size:12px;
text-align:left;
background-image:url(kuvat/alaosa.png);
background-repeat:repeat-x;
z-index: 6;
}

.alaosa a {
text-decoration:none;
color:#000000
}
	
.alaosa a:active,.alaosa a:visited {
color:#000000
}

.vaaleateksti {
color:#dddddd;
}

.vaaleateksti a {
text-decoration:none;
color:#dddddd
}
	
.vaaleateksti a:active,.vaaleateksti a:visited {
color:#dddddd
}

.yhteys {
top:0px;
margin-left:20px;
}

.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus {
text-shadow:0 -1px 0 rgba(0, 0, 0, 0.5);
background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0 rgba(0, 0, 0, 0.3) 100%;
background-repeat:repeat-x;
border-color:rgba(0, 0, 0, 0.3)
}

.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
padding-top:1px;
padding-bottom:0
}

.fc-time-grid-event .fc-bg {
opacity:0
}

.fc-event {
opacity:1px;
border-color:#fafafa !important
}