* {
	margin: 0;
	padding: 0;
	}
	
body {
	font: 0.95em sans-serif;
	background: #ebe7e2 url('../images/tausta.jpg') no-repeat 0 0 fixed;
	background-size: 100% 100%;
	color: #000;
	text-align: center;
	}
	
a {
	text-decoration: underline;
	color: #06c;
	}
	
a:hover,
a:focus,
a:active {
	text-decoration: underline;
	outline: none;
	color: #03f;
	}
	
html,
body {
	height: 100%;
	width: 100%;
	}
	
q:after,
q:before {
	content: '"';
	}
	
#rakenne {
	background: #fff;
	max-width: 1000px;
	margin: 1% auto;
	text-align: left;
	border: 1rem solid #fff;
	box-shadow: 0 0 1rem #ccc;
	}
	
header {
	position: relative;
	}
	
header h1 {
	padding: 10px 10px 0 10px;
	background: #fff;
	font-style: oblique;
	}
	
footer span,
footer dt em {
	font: oblique bold 1em "Times New Roman", Times, serif;
	color: #0066FF;
	padding-left: 5px;
	}
	
#esittely {
	padding: 0 0 10px 10px;
	background: #fff;
	width: 80%;
	max-width: 390px;
	}
	
header ul {
	list-style: none;
	padding: 0;
	background: #f0f0f0;
	display: table;
	height: 100%;
	width: 100%;
	font-weight: bold;
	}
	
header li {
	display: inline;
	}

header li a {
	text-decoration: none;
	padding: 1rem 1.5rem;
	float: left;
	color: #ffc;
	background: #06f;
	margin: 0 2px 2px 0;
	}
	
header li a:hover,
header li a:focus,
header li a:active,
header #avattu a {
	background: #09f;
	}
	
#ylamainos {
	position: absolute;
	right: 20px;
	top: 10px;
	padding: 0;
	}
	
header form {
	padding: 0;
	position: absolute;
	right: 1rem;
	bottom: 5px;
	}
	
header select {
	width: 150px;
	}
	
main {
	min-height: 30em;
	padding: rem 0;
	border: 2px solid #f0f0f0;
	border-bottom-width: 0.5rem;
	}
	
article,
aside {
	display: inline-block;
	background: #fff;
vertical-align: top;
	}
	
aside {
	width: 25%;
	}

aside li {
padding: 0.5rem 0;
}

aside a {
	display: block;
padding: 0.1rem;
	}
	
aside p,
aside h4,
aside h5,
aside h6 {
	padding: 0 1rem 1rem 1rem;
	}
	
aside ul,
aside ol {
	padding: 0 1rem 1rem 2rem;
	}
	
aside h4,
aside h5,
aside h6 {
	font-size: 1.2rem;
	}
	
article {
	padding-right: 1rem;
	width: calc(75% - 1rem - 1%);
	}

footer p,
footer dl {
	color: #111;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	}
	
footer dt {
	border: 0;
	padding: 20px 0;
	}
	
footer a {
	white-space: nowrap;
	}

main,
.tyhjennys {
	display: block;
	clear: both;
	}
	
h1,
h2,
h3,
h4,
h5,
h6 {
	padding: 0 1rem 1rem 1rem;
	font: bold 2rem sans-serif;
	line-height: 120%;
	}
	
h3,
h4,
h5,
h6 {
	font-size: 1.4rem;
	}
	
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	display: inline-block;
	}

p,
ul,
ol,
dl,
form,
table {
	font: 1rem sans-serif;
	line-height: 155%;
	padding: 0 1rem 1rem 1rem;
	}
	
.leivanmurut {
	padding-top: 1rem;
	}
	
article ul,
article ol {
	padding-left: 2rem;
	}	

select,
label,
button,
input[type='button'],
input[type='submit'],
input[type='checkbox'],
input[type='radio'] {
	cursor: pointer;
	}

article form ul,
dd ul,
form p,
dd p {
	list-style: none;
	padding: 0;
	font-size: 1rem;
	}
	
form li {
	padding-top: 1rem;
	display: block;
	clear: both;
	}
	
li label {
	float: left;
	width: 150px;
	padding: 0.5rem 1rem 0 0;
	text-align: right;
	}

input[type='search'],
input[type='text'],
input[type='email'],
textarea,
select {
	padding: 0.5rem;
	max-width: 300px;
	}
	
textarea {
	min-height: 50px;
	height: 100px;
	max-height: 350px;
	resize: vertical;
	width: 80%;
	}
	
input,
label,
select,
textarea,
button {
	font: 1rem sans-serif;
	}
	
fieldset {
	border: 0;
	border-top: 1px solid #737a8d;
	padding-top: 10px;
	padding-right: 10px;
	}

li button,
.zemError {
	margin-left: 160px;
	}
	
.zemError li {
	padding: 0;
	}
	
button,
.button {
	padding: 0.5rem 1rem;
	}
	
a img,
img {
	border: 0;
	}

.hakutulos dt {
	padding-bottom: 0;
	font-size: 1.3rem;
	}
	
abbr {
	border: 0;
	}
	
hr,
caption {
	display: none;
	}
	
.srtgs{float:right;position:relative;width:115px;border:1px solid #ccc;border-top-width:3px;border-bottom-width:3px;background:#fcfcfc;text-align:left;padding:5px;color:#444;font:0.85em Arial,Helvetica,sans-serif;display:block;min-height:30px;margin:10px 20px}.srtgs .stars,.srtgs .d_rtg,.srtgs .totalrate{width:110px}.srtgs .stars{position:relative;height:20px;margin:0;background:url(../tahtiarvostelu/arvosana-tahti-0.png) repeat-x 0 0}.srtgs .d_rtg{position:absolute;top:0;left:0;margin:0;height:20px}.srtgs .totalrate{position:relative;text-align:center;font-weight:bold}.srtgs .d_rtg span{display:block;width:11px;float:left;cursor:pointer}.srtgs .star_n{position:relative;height:20px;margin:0;background:url(../tahtiarvostelu/arvosana-tahti-1.png) repeat-x 0 0}
	
table {
	border-collapse: collapse;
	margin: 1rem;
	}
	
th {
	font-weight: bold;
	font-style: oblique;
	}
	
tr {
	background: #fff;
	}
	
tbody tr {
	border-bottom: 1px solid #ccc;
	}
	
td, th {
	padding: 5px;
	}
	
tfoot {
	text-align: center;
	color: #666;
	}

#ohje {
	padding: 10px 20px 0 160px;
	}
	
.kuva {
	float: right;
	padding-top: 0;
	}
	
dt {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 10px;
	}
	
#paaotsikko {
	padding-top: 1rem;
	}
	
#arvostelut {
	border: 1px solid #ccc;
	margin: 0 20px 10px 20px;
	padding: 5px;
	color: #666;
	}
	
#sivutus {
	list-style: none;
	padding: 10px 0;
	margin: 10px 10px 0 20px;
	border-top: 1px solid #ccc;
	}
	
#sivutus li {
	display: inline;
	padding-right: 10px;
	}
	
.hakutulos dt {
	margin-bottom: 0;
	}
	
#sisalto #lista,
#sisalto #lista ul {
	list-style: none;
	padding: 0 0 0 15px;
	}
	
#sisalto #lista {
	padding-bottom: 20px;
	}
	
#sisalto #lista h3 {
	padding-left: 5px;
	}
	
#sisalto #lista ul {
	padding-left: 0;
	}

#lista li {
	display: inline;
	float: left;
	width: 170px;
	}
	
#lista a {
	padding: 5px;
	display: block;
	}
	
#lista a:hover,
#lista a:focus,
#lista a:active {
	font-weight: bold;
	}
	
#lista span {
	display: block;
	font-size: 0.9em;
	color: #333;
	}

#ohje {
	padding: 10px 20px 0 110px;
	}
	
.saan {
	font-style: oblique;
	font-weight: bold;
	font-size: 0.9em;
	color: #636;
	}
	
#sisalto dd ul {
	padding-left: 0;
	}
	
#map {
	width: 676px;
	height: 200px;
	margin: 0 20px 10px 20px;
	}

#txpCommentPreview {
	text-transform: capitalize;
	margin: 0 10px 0 110px;
	}
	
#komuista input,
#komuista label {
	vertical-align: middle;
	padding: 0;
	margin: 0;
	float: none;
	display: inline;
	}
	
#komuista {
	margin-left: 110px;
	}
	
#txpCommentInputForm label {
	text-align: left;
	width: 100px;
	}
	
span.tahti {
	color: #390;
	}
	
#kaupunki a {
	color: #333;
	text-decoration: none;
	}
	
#kaupunki a:hover,
#kaupunki a:focus,
#kaupunki a:active {
	color: #000;
	}
	
#mielipiteet {
	display: block;
	clear: both;
	padding-top: 10px;
	}

form#aanestys,
dl#aanestys {
    border: 1px solid #ccc;
    border-bottom-width: 2px;
    border-top-width: 2px;
    border-radius: 3px;
    background: #fcfcfc;
    margin: 0 0 10px 0;
    padding: 0;
    }
    
dl#aanestys {
    padding-bottom: 10px;
    }
    
#aanestys fieldset {
    padding: 0 0 10px 0;
    border: 0;
    }
    
#aanestys legend {
    font-weight: bold;
    padding: 10px 10px 0 10px;
    }

#aanestys dt {
    font-weight: bold;
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    font-size: 1em;
    margin: 0;
    }

#aanestys ul {
    list-style: none;
    padding: 0 10px;
    margin: 0;
    font-size: 0.85em;
    }
    
#aanestys dd {
    font-size: 0.9em;
    }
    
#aanestys li {
    margin-top: 10px;
    padding: 0;
    }
    
#aanestys em {
    font-style: normal;
    }
    
#aanestys div {
    height: 10px;
    background: #ccc;
    border-radius: 3px;
    display: table;
    border-bottom: 1px solid #999;
    min-width: 5px;
    }
    
#tulos,
#viesti {
    display: block;
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.25rem;
    color: #444;
    font-weight: normal;
    }
    
#aanestys #viesti {
    margin-top: 0.5rem;
    }
    
#aanestys label {
    float: none;
    width: auto;
    padding: 0 0 0 0.5rem;
    text-align: left;
    display: inline;
    }
    
#aanestys input {
    border: 0;
    width: auto;
    padding: 0;
    vertical-align: middle;
    }
    
#aanestys li button {
    margin: 0;
    }