@import url(http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic|Oswald:300);


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
                                                      
font { font-family: inherit; }

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
/*	line-height: 1; */
}
ol, ul {
	list-style: none;
}
ul[type="disc"] {
    list-style-type: disc;
    margin: 2em 0 0 1em !important;
    padding-left: 0em;
}
li.MsoNormal {
    font-family: Lora;
    font-size: inherit;
}
li.MsoNormal p {
    margin: 0.5em 0px !important;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
	Viiksimaisterin työ
	Korvalääkäri Hannu Tapiovaaralle
	
	www.viiksimaisteri.fi

*/

html {
	font-size: 100%;
}
	
body#etusivu {
	font-size: 12px;
	line-height: 1.5em;
	font-family: Lora;
}

@media screen and (min-width:951px){
	body {
		margin: 5em 25% 2em;
		margin: 5em 25vw 2em;
	}
	body#etusivu {
		margin: 2em 15% 3em;
		margin: 2em 15vw 3em;
	}
}
@media screen and (max-width:950px){
	body {
		margin: 2em 15% 3em;
		margin: 2em 15vw 3em;
	}
	body#etusivu {
		margin: 2em 8% 1em;
		margin: 2em 8vw 1em;
	}
}
@media screen and (max-width:640px){
	body, body#etusivu {
		margin: 2em 5% 1em;
		margin: 2em 5vw 1em;
	}
	
	table.vasen-valikko, table.oikea-valikko {
		width: 100%;
		float: left;
		display: block;
	}
}

a:visited { color: darkmagenta; }

b { font-weight: bold }

h1#otsikko {
    text-align: center;
    font-size: 3em;
    margin: 1.5em auto;
    border-top: 1px solid;
    border-bottom: 1px solid;
    display: inline-block;
}
table table {
    background-color: inherit;
}
table {
    padding: 1em;
    border: 0 !important;
    background-color: #FFFFE6;
}

body p {
	margin-bottom: 1em;
}

p.MsoNormal,p.MsoNoSpacing {
	line-height: 2em;
	font-family: Lora !important;
	font-size: 13px !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	text-indent: 0 !important;
}
p.MsoNormal span, p.MsoNoSpacing span,
p.MsoNormal font, p.MsoNoSpacing font {
    font-family: inherit !important;
}
/*
p.MsoNoSpacing {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
*/
p.MsoNoSpacing span {
/*    font-size: inherit !important; */
}

body p img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

img[align="left"] {
    margin-right: 1.5em;
}
img[align="right"] {
    margin-left: 1.5em;
}

h1 { line-height: 1.5em; }
h2,h3,h4 { line-height: 1.25em;}

.iso-otsikko {
    font-family: Oswald;
    font-size: 3.5em;
    margin: 1em 0 0.75em;
    letter-spacing: 3px;
    font-weight: 300;
}
h1.iso-otsikko {
	margin: 1.5em 0 1em;
}
h2.iso-otsikko {
    border-top: 1px solid;
    padding-top: 1.5em;
    font-size: 2.5em;
    margin-top: 1.5em;
}

section.alun-teksti {
    border: 4px solid;
    padding: 2.5em 5em 3em;
    margin: 2em auto 4em;
    max-width: 690px;
    line-height: 1.85em;
    box-sizing: border-box;
}

table {
	padding: 1em;
}

table td {
	padding: 1em;
}

content.etusivu-valikko td {
	padding: 0;
}
content.etusivu-valikko td td {
	padding: 1em 2em;
}

/*
content.etusivu-valikko td.otsikkosolu {
	font: 1.5em "Lora";
    color: #FFF;
    letter-spacing: 1px;
    background-color: #5B755F;
    padding: 1.5em 0;
}
*/

table.vasen-valikko {}
table.oikea-valikko {}

content.etusivu-valikko table table {
	margin-bottom: 2em;
}

content.etusivu-valikko td.otsikkosolu {
    font: 2em "Lora";
    letter-spacing: 1px;
	padding: 0 0 1em;
	color: black;
/*    color: #5B755F; */
}
content.etusivu-valikko td.otsikkosolu.omatkirj {
/*	color: #A49186; */
}
td.otsikkosolu b {
    border-top: 2px solid;
    border-bottom: 2px solid;
    padding: 4px 0px;
}

content.etusivu-valikko td td p b {
    color: black;
    font-size: 1.25em;
    display: block;
	margin-bottom: 0.8em;
/*    padding-top: 1.5em;
	border-top: 2px solid; */
}
/*
content.etusivu-valikko td td p b.eka {
	border-top: 0;
	padding-top: 0;
}
*/

content.etusivu-valikko p {
    border-bottom: 1px dotted;
    padding: 0 1em 0.75em;
}

content.etusivu-valikko p:last-child, content.etusivu-valikko p:first-child {
	border-bottom: 0;
	padding: 0 1em;
}

div.laatikko {
	border: 1px solid black;
	padding: 1em;
	box-sizing: border-box;
	margin: 1em 90px 2em 50px;
}


.gsc-search-box table, .gsc-wrapper table, .gsc-results-wrapper-nooverlay table {
    background: transparent !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    color: white;
}