body {
    background-color: #0A3717;
    background-image: url(kuvat/t7.jpg);
    background-position: top center;
    background-repeat: repeat-x;
    margin: 0px;
}

div#koko {
    width:1023px;
    margin:0px auto 0px auto;
    background:#165729;
}
div#otsikko {
    margin: 0px;
    padding: 0px;
}
div#menu {
    width:245px;
    float:right;
    margin-right:5px;
}
.menu {
    margin-bottom:0px;
    padding:20px 20px 10px 20px;
    font-family: tahoma;
    line-height: 22px;
    color: #f4f6f5;
    font-size: 12px;
    text-align: center;
}
div#sisalto {
    margin-right:255px;
    background:#f2f2f2;
    border-right:1px solid #ccc;
    min-height:400px;
}
div#paatos {
    clear:both;
    text-align:center;
    background-image: url(kuvat/t6.jpg);
    background-repeat: repeat-x;
    background-position: bottom center;
    min-height: 145px;
}
.paatos {
    text-align:left;
    padding: 10px;
    margin: 0px;
    font-family: tahoma;
    font-size: 12px;
    color: #fcfcfc;
    line-height: 17px;
}
.sisalto {
    padding: 10px;
    font-family:arial;
    font-size:12px;
    line-height:18px;
    color: #2a2a2a;
    text-align: justify;
}
.ala {
   width: 100%;
}
.alab {
    width: 235px;
    border-right: 1px solid #fcfcfc;
    padding: 5px 10px 5px 10px;
}
.alaa {
    width: 235px;
    padding: 5px 10px 5px 10px;
}
.alak {
    padding: 17px 5px 5px 70px;
}
p {
    margin:0;
    padding:.5em;
    text-align:justify;
}
h1 {
    font-family: arial;
    font-size: 16px;
    color: #114420;
    padding: 5px;
    margin-left: 7px;
}
h2 {
    font-family: arial;
    font-size: 14px;
    color: #9B4744;
    padding: 5px;
    margin-left: 14px;
}
ul {
    margin:0;
    padding:10px;
    list-style:none;
}
a.oik:link, a.oik:visited, a.oik:active { 
    cursor: default;
    font-family: tahoma;
    font-size: 12px;
    color: #f4f6f5;
    text-decoration: none;
    font-style: none;
    text-align: center;
}
a.oik:hover { 
    cursor: help;
    font-family: tahoma;
    font-size: 12px;
    color: #000000;
    text-decoration: none;
    font-style: none;
    text-align: center;
}
a.m:link, a.m:visited, a.m:active { 
    cursor: default;
    font-family: Kreon, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: #f4f6f5;
    line-height: 24px;
    text-decoration: none;
    font-style: none;
    text-align: justify;
}
a.m:hover {
    font-family: Kreon, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: #000000;
    line-height: 24px;
    text-decoration: none;
    font-style: none;
    text-align: justify;
    cursor: help;
}
A:link,A:visited, A:active {
    cursor: default;
    text-decoration: none;
    font-family : arial; 
    font-size: 12px;
    font-style: none;
    text-align: justify;
    color: #8E0F0F;
}
A:hover  {
    cursor: help;
    text-decoration: none;
    font-family : arial; 
    font-size: 12px;
    font-style: none;
    text-align: justify;
    color: #0B3718;
}
.s {
 border-bottom: 1px solid #cccccc;
 text-align: center;

}

.s2 {
 text-align: center;

}

.table1 {
	width: 100%;
	font-size:13px;
	margin-bottom: 20px;
	border: 0px solid #ffffff;
}

.horses {
 padding: 7px 7px 7px 7px;
 margin: 0px;
 border: 0px;
 Valign: top;
 line-height: 1.7;
 width: 25%;


}
.img2 {
 border-radius:5px;
 -moz-border-radius:5px;
}

table {margin:20px 0;border:0px solid #000;width:100%;border-collapse:collapse;border-spacing:0;}
.kasvatit {margin:20px 0;border:0px solid #000;border-collapse:collapse;border-spacing:0;}
.kasvatit tr {border-top:1px dashed #dcdcdc;border-bottom:1px dashed #dcdcdc;}
.kasvatit tr:hover {background:#f1f1f1;}
.kasvatit th {width:30px;text-transform:uppercase;font-weight:bold;color:#11497c;font-size:10px;font-family:Book Antiqua;}
.kasvatit td {padding:4px 0 4px 10px;}


pre {
    margin:0;
    padding:.5em;
    text-align:justify;
    font-family:arial;
    font-size:12px;
    line-height:18px;
    color: #2a2a2a;
}

}
.imgboxed {
 margin: -2px 6px 10px 10px;
 opacity:0.6;
 padding: 6px;
border: 1px solid #cccccc;
 filter:alpha(opacity=60); /* For IE8 and earlier */
 background-color: #f0f0f0;
 border-radius:10px;
 -moz-border-radius:10px;
}
.imgboxed:hover {
 opacity:1.0;
 filter:alpha(opacity=100); /* For IE8 and earlier */
}

#lightbox{
	background-color:#ffffff;
	padding: 10px;
	border-bottom: 0px solid #000000;
	border-right: 0px solid #000000;
 	border-radius:10px;
	 -moz-border-radius:10px;
	}
#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }
#closeButton{ top: 5px; right: 5px; }

#lightbox img{ border: none; clear: both;} 
#overlay img{ border: none; }

#overlay{ background-image: url(overlay.png); }

* html #overlay{
	background-color: #333;
	back\ground-color: transparent;
	background-image: url(http://high-hopes.ws/aaria/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");
	}
	

.porrastetut {
    display: flex;
    align-items: center;
    justify-content: center;
}

.porr-column {
    flex: 1 1;
}

/* Aikajanan tyylit */
.level-bar {
    width: 60%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin: 10px 0;
    position: relative;
}

.level-bar-inner {
    height: 100%;
    background-color: rgb(10, 112, 24); /* Vihreä väri edustaa hevosen tasoa */
    border-radius: 8px;
    position: relative;
}

.level-bar-inner span {
    position: absolute;
    color: white;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translateY(-50%) translateX(-50%); /* Keskittää tekstin */
    font-size: 14px;
    font-weight: bold;
}

/* Ympyrän tyylit */
.level-circle {
    width: 150px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(#458393 0%, #f0f0f0 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    border: 4px solid #ccc;
}

.level-circle span {
    position: absolute;
    font-size: 14px;
    color: #000;
    font-weight: bold;
}

#kisakalenteri {
width: 100%;
border-spacing:5px;
}

#kisakalenteri td {
padding: 5px 8px;
float: center;
}