html, body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing:antialiased;
	text-rendering: optimizeLegibility;
}
html {
	font-size:10px;
	font-size:0.625em;
}

body {
	font-size:16px;
	font-size:1.6em;
	font-family: RightGrotesk-Wide, Arial, Helvetica, sans-serif;
	height:100%;
}
table, td {
	font-size: 1em;
	font-weight:normal;
	vertical-align:top;
	border-spacing:0;
}


a   { text-decoration: underline;  }
a:hover { text-decoration: none;  }

a  {
	/*color:#F5568A;*/
	color:#BA3B65;
}


#sisalto, #editor1, #editor2, #editor3, #editor4, #editor5, #editor6, #editor7, #editor8 {
	font-size:1.6rem;
	color:#5e334f;
	line-height:1.6em;
}
#alasivu_palsta_vasen .teksti {
	font-size:88%;
}

strong, b {
	font-weight:bold;
}
small {
	font-size:0.8em;
}
img {
	border:0;
}
main img, #sisalto img, #editor1 img, #editor2 img, #editor3 img, #editor4 img, #editor5 img, #editor6 img, #editor7 img, #editor8 img {
	vertical-align:baseline;
}
#sisalto table {
	line-height:1.5em;
}

h1, h2, h3, h4, h5, h6 {
	line-height:normal;
}
/*
h1 {
	font-size: 1.5em;
	margin:0 0 0.5em 0;
}
h2 {
	font-size: 1.27em;
	margin:0em 0em 0.2em 0em;
}
h3 {
	font-size: 1.1em;
	margin:0em 0em 0.3em 0em;
}
*/
h1 {
	font-size: 1.5em;
	margin:0 0 0.5em 0;
}
h2 {
	font-size: 1.33em;
	margin:0em 0em 0.2em 0em;
	font-family: RightGrotesk-SpatialDark;
  font-weight: normal;
	line-height: 1.2;
	letter-spacing: normal;
}
h3 {
	font-size: 1.13em;
	margin:0em 0em 0.3em 0em;
}
h4 {
	font-size: 1.0em;
	margin:0em 0em 1em 0em;
}
p {
	margin:0em 0em 1em 0em;
}


.editor-body ul,
#sisalto ul {
	margin:0 0 1em 1.5em;
	padding:0;
	list-style:disc;
}
.editor-body ul li ul,
#sisalto ul li ul {
	list-style:circle;
}
.editor-body ol,
#sisalto ol {
	margin:0 0 1em 1.5em;
	padding:0;
	list-style-type:decimal;
}
.editor-body li,
#sisalto li {
	padding:0;
	margin:0;
}

sup, sub {
	height:0;
	line-height: 1em;
	vertical-align: baseline;
	position: relative;
	font-size:0.91em;
}
sup { bottom: 0.3em;}
sub { top: .2em;}
abbr { text-decoration:none; }

input {
	font-size: 1em;
	font-weight: normal;
}
textarea {
	font-size: 1em;
	font-weight: normal;
}
hr {
	border: 0;
	height: 1px;
	background-color: #eaeaea;
	color: #eaeaea;
	clear:both;
}
blockquote {
	margin:0em 0em 0em 2em;
}

fieldset {
	margin:0;
	padding:0;
	border:0;
}
legend {
	margin:0;
	padding:0;
	border:0;
	font-weight:bold;
}


#sisalto table td, #editor1 table td, #editor2 table td, #editor3 table td, #editor4 table td  {
	vertical-align:top;
}
#sisalto table th, #editor1 table th, #editor2 table th, #editor3 table th, #editor4 table th  {
	vertical-align:top;
	text-align:left;
}
#editor1 table td, #editor2 table td, #editor3 table td, #editor4 table td, #editor1 table th, #editor2 table th, #editor3 table th, #editor4 table th  {
	border: 1px #cccccc dotted;
}
#sisalto table tr th, #editor1 table tr th, #editor2 table tr th,  #editor3 table tr th, #editor4 table tr th {
	background-color:#eaeaea;
	color:#000000;
}
#editor2   {

}
#editor2 table td  {

}


.x_img_left {
	margin: 0.4em 1em 0.5em 0em;
	float:left;
	max-width:50%;
}
.x_img_right {
	margin: 0.4em 0em 0.5em 1em ;
	float:right;
	max-width:50%;
}



table.x_layout2, table.x_layout3, table.x_layout4 {
	width:100%;
	margin:0;
	padding:0;
	border:0;
}
table.x_layout2 td, table.x_layout3 td, table.x_layout4 td {
	margin:0;
	padding:0;
	border:0;
}
table.x_layout2 td.x_data {
	width:48%;
}
table.x_layout2 td.x_vali {
	width:3%;
}
table.x_layout3 td.x_data {
	width:32%;
}
table.x_layout3 td.x_vali {
	width:2%;
}
table.x_layout4 td.x_data {
	width:24%;
}
table.x_layout4 td.x_vali {
	width:1.3333%;
}

span.ihmistunnistus_ei_rastia, span.ihmistunnistus_rasti {
	display:inline-block;
	border:1px solid #666666;
	height:0.8em;
	width:0.8em;
	margin:0 0.3em 0 0;
	cursor:pointer;
	opacity:1;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
}
.crossed {
    background:
       linear-gradient(to top left,
           rgba(0,0,0,0) 0%,
           rgba(0,0,0,0) calc(50% - 0.8px),
           rgba(0,0,0,1) 50%,
           rgba(0,0,0,0) calc(50% + 0.8px),
           rgba(0,0,0,0) 100%),
       linear-gradient(to top right,
           rgba(0,0,0,0) 0%,
           rgba(0,0,0,0) calc(50% - 0.8px),
           rgba(0,0,0,1) 50%,
           rgba(0,0,0,0) calc(50% + 0.8px),
           rgba(0,0,0,0) 100%);
}

.ajanotto_tbl td {
	padding:0.25em 0.5em;
	border-bottom:1px solid #cccccc;
}
.ajanotto_tbl td.huom {
	color:#990000;
}