
html
{
margin: 0;
padding: 0;
color: white;
}

body
{
width: 1160px;
margin: 0 auto;
font: 12pt Helvetica,"Helvetica neue", Arial, sans-serif;
/*background: url(../kuvat/ydintuho.jpg);*/
background-color: black;
background-repeat: no-repeat;
background-repeat: none;
background-size: 100%;
}

/*HTML 5 */
header,section,article,aside,footer
{
display: block;
}

figure
{
padding-bottom: 3em;
}

h1
{
font: 38pt Helvetica,"Helvetica neue", Arial, sans-serif;
text-transform: uppercase;
color: white;
//padding-top: 30px ;
text-shadow: 1px 1px 3px #fff; 
}

div#kehys
{
width: 1160px;
}

div#logo
{
padding-left: 15%;
margin: 0px auto 0px auto;
}

#logo h1
{
font: 38pt Helvetica,"Helvetica neue", Arial, sans-serif;
text-transform: uppercase;
color: white;
text-shadow: 1px 1px 3px #fff; 
position: relative;
margin-left: 62px;
padding-top: 7px;
}

#logo h2
{
font: 14pt Helvetica,"Helvetica neue", Arial, sans-serif;
text-transform: uppercase;
color: white;
text-shadow: 1px 1px 3px #fff; 
position: relative;
margin-left: 209px;
margin-top: -37px;
}

#logo img
{
position: absolute;
margin-left: -64px;
margin-top: -6px;
z-index: 1;
}

p
{
color: white;
}

div.pelaajalista
{
line-height: 5px;
}

aside
{
//float: left;
width: 470px;
//min-height: 380px;
margin: 0 0 20px 0;
padding-left: 10px; 
}

section
{
float: right;
width: 678px;
padding-left: 20px;
margin: 0 0 20px 0px;
border-left: 2px dotted #b2a497;
}

section h2
{
font-weight: lighter;
text-transform: uppercase;
color: gray;
padding-bottom: 10px;
padding-top: 15px;
margin: 0;
}

footer
{
clear:both !important;
width: 1160px;
color:#200f08;
width: 100%;
bottom: 0;
position: fixed;
}

/* A CSS hack that only applies to IE -- specifies a different offset for the footer */

* html #footer
{
margin-top: -7.4em;
}


div.tausta
{
clear:both !important;
width: 1160px;
color:#200f08 ;
background:#ddd3bf;
position: absolute;
padding: 10px;
margin-bottom: 100px;

/* Fallback for web browsers that don't support RGBa */
background-color: rgb(50, 50, 50);
/* RGBa with 0.6 opacity */
background-color: rgba(50, 50, 50, 0.6);


/*Round corners*/
-moz-border-radius: 12px; /* FF1+ */
-webkit-border-radius: 12px; /* Saf3+, Chrome */
border-radius: 12px; /* Opera 10.5, IE 9 */

}

div.sarjakuva
{
clear:both !important;
width: 1160px;
color:#200f08 ;
background:#ddd3bf;
padding: 10px;
margin-bottom: 100px;

/* Fallback for web browsers that don't support RGBa */
background-color: rgb(50, 50, 50);
/* RGBa with 0.6 opacity */
background-color: rgba(50, 50, 50, 0.6);


/*Round corners*/
-moz-border-radius: 12px; /* FF1+ */
-webkit-border-radius: 12px; /* Saf3+, Chrome */
border-radius: 12px; /* Opera 10.5, IE 9 */
}

div.footertausta
{
clear:both !important;
width: 1180px;
color:#200f08;
background:#ddd3bf;
bottom: 0;
position: fixed;
padding-top: 16px;
padding-bottom: 16px;
margin-bottom: 10px;
background-color: #111110;
/*Round corners*/
-moz-border-radius: 12px; /* FF1+ */
-webkit-border-radius: 12px; /* Saf3+, Chrome */
border-radius: 12px; /* Opera 10.5, IE 9 */
}

/*a.footertausta {
margin-left: 0px;
margin-right: 0px;
padding: 0px;
}*/

footer.footertausta
{
clear:both !important;
width: 1180px;
color:#200f08;
background:#ddd3bf;
bottom: 0;
position: fixed;
padding-top: 12px;
padding-bottom: 12px;
margin-bottom: 10px;
background-color: #111110;
/*Round corners*/
-moz-border-radius: 12px; /* FF1+ */
-webkit-border-radius: 12px; /* Saf3+, Chrome */
border-radius: 12px; /* Opera 10.5, IE 9 */
}

a
{
color: white;
}

/*

a:link
{
color: white;
}

a:active
{
color: white;
}

a:visited
{
color: white;
}

*/

a.footertausta
{
//color: white;
margin-left: 20px;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 2px dotted white; /* Jos haluaa pisteet hover tekstin alle */
}

/* Tooltip teksti */
.tooltip .tooltipteksti {
    visibility: hidden;
    width: 120px;
    background-color: #666;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    color: white;
 
    /* Tooltip tekstin asettelu */
    position: absolute;
    z-index: 10;

    width: 480px;
    top: 100%;
    left: 50%; 
    margin-left: -240px; /* Käytä puolet leveydestä tooltipin keskittämiseen, esim: 120/2 = 60 */
}

/* Näytä tooltip teksti, kun hiiri on tooltip containerin yllä */
.tooltip:hover .tooltipteksti {
    visibility: visible;
}

.meter { 
	height: 20px;
	position: relative;
	background: #555;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	padding: 10px;
	box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);

}

.meter > span {
  display: block;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgb(43,194,83);
  background-image: linear-gradient(
    center bottom,
    rgb(43,194,83) 37%,
    rgb(84,240,84) 69%
  );
  box-shadow: 
    inset 0 2px 9px  rgba(255,255,255,0.3),
    inset 0 -2px 6px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.meter > span:after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-image: linear-gradient(
    -45deg, 
    rgba(255, 255, 255, .2) 25%, 
    transparent 25%, 
    transparent 50%, 
    rgba(255, 255, 255, .2) 50%, 
    rgba(255, 255, 255, .2) 75%, 
    transparent 75%, 
    transparent
  );
  z-index: 1;
  background-size: 50px 50px;
  animation: move 2s linear infinite;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

div.item {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    width: 285px;
    margin-bottom:30px;
}
img.hattu {
    width: 240px;
    height: 240px; */
    background-color: grey;
}
.caption {
    display: block;
    color: white;
}