a            { font-family: SST, helvetica, arial, sans-serif !important; text-decoration: none; color: #666666; size: 18px;}
a:hover      { font-family: SST, helvetica, arial, sans-serif !important; color: #363636; size: 18px; }
li:hover{
	background-color: #ebeef0;
}

li:hover.aktiivi{
	background-color: #ced5da;
}

li {
	display: inline;
	margin: 0px;
	padding: 6px 12px;
	list-style:none;
	border: 1px solid transparent;
	transition: background-color 0.25s ease-in;
	border-radius: 48px;
}

li a{
	display: inline;
	color: #000000;
	font-size: 18px;
	text-decoration: none;
	list-style: none;
	margin: 0px;
	padding: 6px 12px;
	
}

li.aktiivi{
	background-color: #ebeef0;
}

li.valittu{
	background-color: #ced5da;
	border-color: #004C8A;
	
}

.gradient{
	height: 84px;
	background-color: white;
	background-image: linear-gradient(#e9e9e9,#ffffff);
}

.kirjaudu{
	position: relative;
	top: -14px;
	background-color: #363636;
	display: inline;
	margin-right: .75rem;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 4px;
	padding-bottom: 5px;
	transition: background-color 0.25s ease-in;
	border-radius: 48px;
}

.kirjaudu a{
	position: relative;
	
	display: inline;
	color: #ffffff;
	font-size: 16px;
	text-decoration: none;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 4px;
	padding-bottom: 5px;
	
}
.kirjaudu:hover.kirjaudu{
	background-color: #606060;
}

.kirjauduulkona{
	position: relative;
	background-color: #363636;
	display: inline;
	margin-right: .75rem;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 4px;
	padding-bottom: 5px;
	transition: background-color 0.25s ease-in;
	border-radius: 48px;
}

.kirjauduulkona a{
	position: relative;
	
	display: inline;
	color: #ffffff;
	font-size: 16px;
	text-decoration: none;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 4px;
	padding-bottom: 5px;
	
}
.kirjauduulkona:hover.kirjaudu{
	background-color: #606060;
}

td.otsikko{
	font-family: SST, helvetica, arial, sans-serif;
	color: #000000;
	font-size: 1.625rem;
}
td.otsikko2{
	font-family: SST, helvetica, arial, sans-serif;
	color: #000000;
	font-size: 1.7rem;
}
td.tekija{
	font-family: SST, helvetica, arial, sans-serif;
	color: #666666;
	font-size: 1.1rem;
}
td.tiedot{
	font-family: SST, helvetica, arial, sans-serif;
	color: #666666;
	font-size: 1.2rem;
}
img.isokuva{
	border-radius: 16px;
	margin: 6px;
	padding: 2px;
	border: 2px solid transparent;
	
}
img.isokuva:hover{
	border: 2px solid #555;
}

img.isokuva2{
	border-radius: 16px;
	margin: 8px;
}
	

.alateksti{
	z-index: 2;
	position: absolute;
	bottom: 0;
	height: 40px;
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	margin: 10px;
	width: 248;
	border-radius: 14px;
	padding: 8px 8px 8px 8px;
	text-align: center;
	font-family: SST, helvetica, arial, sans-serif;
}

.rating-static{
	width: 250px;
	height: 55px;
	display: block;
	background: url("images/ratings.png") 0 0 no-repeat;

}

.rating-50{ background-position:0 0;}
.rating-40{ background-position:-50px 0;}
.rating-30{ background-position:-100px 0;}
.rating-20{ background-position:-150px 0;}
.rating-10{ background-position:-200px 0;}
.rating-0 { background-position:-250px 0;}

.rating-5 { background-position:-200px -55px;}
.rating-15 { background-position:-150px -55px;}
.rating-25 { background-position:-100px -55px;}
.rating-35 { background-position: -50px -55px;}
.rating-45 { background-position: 0px -55px;}

input.comments{
	width: 600px;
	height: 48px;
	padding: 4px 12px;
	border: 2px solid #000000;
	background-color: #ebeef0;
	box-sizing: border-box;
	outline: none;
}

.comment_body {
	width: 600px;
	height: fit-content;
	padding: 4px 12px;
	border: 2px solid #000000;
	background-color: #ebeef0;
	box-sizing: border-box;
	outline: none;
	font-size: 16px;
	text-align: left;
	display: inline-block;
}
td.otsikko3 {
	font-family: SST, helvetica, arial, sans-serif;
	color: #000000;
	font-size: 1.1rem;
	text-align: right;
}

.user_avatar{
	display: inline-block;
	vertical-align: top;
}

.comment_name{
	display: inline-block;
	margin: 0px 8px 0px 0px;
	font-size: 16px;
	color: #555555;
	vertical-align: top;
}
.comment_date{
	color: #888888;
	font-size: 14px;
	vertical-align: middle;

}
.rating_text{
	color: #ffffff;
	font-size: 12px;
	
}
.list-choice{
  width: 220px;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  cursor: pointer;
  z-index: 2;
 
}
.list-choice input[type="radio"]{
  position:absolute;
  left:-9999px;
}

.list-choice-title {
width: 100%;
display: block;
background: #D8D8D8;
text-align: center;
padding: 10px 14px;
box-sizing: border-box;
color: #000;
font-size: 14px;
font-family: SST, helvetica, arial, sans-serif;
text-shadow: 0 1px 0 #CACACA;
border-radius: 10px;
}
.list-choice:hover .list-choice-title {
border-radius: 10px 10px 0 0;
}
.list-choice-objects label:nth-last-of-type(1) span{
  border-radius:0 0 10px 10px;
}
.list-choice input[type="radio"] + span {
color: #000;
font-size: 14px;
font-family: SST, helvetica, arial, sans-serif;
background: #D8D8D8;
padding: 0.55em 1em;
display: block;
text-align: center;
box-sizing: border-box;
cursor: pointer;
width: 100%;
}
.list-choice-objects {
position: absolute;
top: 0;
padding-top: 2.1em;
box-sizing: border-box;
width: 100%;
overflow: hidden;
max-height: 0;
transition: all 250ms ease;
}
.list-choice:hover .list-choice-objects  input[type="radio"] + span {
position: relative;
top: 0;
transition: all 250ms ease-in-out;
}
.list-choice:hover input[type="radio"] + span:hover {
background:#BBB;
}
.list-choice:hover input[type="radio"]:checked + span:hover {
background:#74D68E;
}
.list-choice input[type="radio"]:checked + span {
background: #74D68E;
position: absolute;
top: 0em;
border-radius: 10px;
}
.list-choice:hover input[type="radio"]:checked + span {
border-radius: 0;
}
.list-choice:hover .list-choice-objects label:nth-last-of-type(1) input[type="radio"]:checked + span{
  border-radius:0 0 10px 10px;
}

.list-choice:hover .list-choice-objects {
max-height: 540px;
}

.footer{
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background-color: white;
	background-image: linear-gradient(#e9e9e9,#ffffff);
	color: #000000;
	text-align: center;
}