/******************
  Etusivu
******************/


#kuvitus {
	overflow: hidden;
	width: 100%;
	height: 196px;
	position:absolute;
}

#kuvitus .author {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.8em;
	color: #777;
	position: absolute;
	bottom: -20px;
	right: 0;
	font-style: italic;
}

.etusivu-info {
	padding: 0;
	height: 198px;
	border: 1px solid #aaa;
	background-color: #f6f6f6;
	margin-bottom: 1em;
}
#etusivu-kuvaus {
	padding: 0.5em 1em;
	/*background-color: #f6f6f6;*/
	display:block;
	margin-left:0px;
    padding-bottom: 12px;
    padding-top: 12px;
}
#etusivu-kuvaus img {
    border: none;
}
#etusivu-kuvaus a {
	border-bottom: none;
}

#etusivu-kuvaus a:hover,#etusivu-kuvaus a:focus {
	border-bottom: 1px solid #222;
}

#etusivu-kuvaus .tiedote {
	width: 10em;
	margin-bottom: 0;
}

ul.navi {
	margin-top: 1em;
	list-style: none;
	clear: both;
	margin-left: 0;
	padding: 0;
}
ul.navi li {
	text-align: left;
	vertical-align: middle;
}
ul.navi li a {
	text-decoration: none;
	display: block;
	color: #000;
	height: 55px;
	padding: 7px 5px 3px 5px;
	border: none;
	margin-bottom: 16px;
	line-height: 1.3em;
}

ul.navi li a:hover, ul.navi li a:focus {
	/*outline: 2px solid #fc6;*/
}

ul.navi li img {
	border: none;
	margin-right: 10px;
	text-decoration: none;
	float: left;
	clear: left;
	width: 32px;
	height: 32px;
}

ul.navi li strong {
	height: 20px;
	font-size: 1.3em;
}
ul.navi li a:hover strong,ul.navi li a:focus strong {
	color: #000;
	text-decoration: underline;
}
ul.navi li strong.middle {
	position: relative;
	top: 6px;
}
ul.navi li span {
	display: none;
}
ul.navi div a {
	text-decoration: none;
	display: block;
	color: #000;
}
ul.navi div a:hover, ul.navi div a:focus {
	text-decoration: underline;
}

ul.navi div strong {
	font-size: 1.2em;
	color: #F79239;
	font-style: italic;
	border-bottom: 1px solid #F79239;
}
ul.navi div a:hover strong, ul.navi div a:focus strong {
	color: #000;
	border-bottom-color: #fff;
}
ul.navi div span {
	display: block;
}
#etusivu a.rss {
        display:flex;
        float: right;
}

div#papunet_desc {
	margin-top: 0;
}

#etusivu .section-border, #ajankohtaista .section-border {
	border: 1px solid #bbb;
	padding: 1em;
	margin: 0;
	margin-bottom: 1em;
	-ms-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

#etusivu .no-border {
	padding: 1em;
	margin-bottom: 1em;
}

#content div.yksikkolink h2 {
	color: #F79239;
}

div.etusivun-noste-wrapper {
	height: 1px;
	margin-top: -151px;
}
div.etusivun-noste {
	height: 121px;
	border: 1px solid #aaa;
	border-radius: 3px;
}
#etusivu div.etusivun-noste a {
	height: 120px;
}
#etusivu div.etusivun-noste a:hover, #etusivu div.etusivun-noste a:focus {

}
div.etusivun-noste img {
	float:right;
}
div.etusivun-noste .content {
	width: 280px;
	float: left;
	padding: 10px;
}

#etusivu div.meta.submitted span.author, #ajankohtaista div.meta.submitted span.author {
	color: #444;
	font-weight: normal;
}

.view-blogit .views-row {
	margin-bottom: 1em;
}

#content div.yksikkolink {
}

#content div.yksikkolink a.boxlink h2 {
	border-bottom: 1px solid white;
	display: inline;
}
#content div.yksikkolink a.boxlink:hover h2 {
	border-bottom: 1px solid #F79239;
}

.view-etusivun-karuselli {
	width: auto;
	overflow: hidden;
	position: relative;
	padding-top: 8px;
	padding-bottom: 8px;
}

.view-etusivun-karuselli a {
	border-bottom: none;
}

.view-etusivun-karuselli .jcarousel-container {
	height: 192px;
	overflow: hidden;
}
.view-etusivun-karuselli .jcarousel-clip {
	width: 95%;
	height: 183px;
	overflow: hidden;
	position: absolute;
	left: 26px;
	top: -3px;
}
.view-etusivun-karuselli ul.jcarousel {
	height: 186px;
}
.view-etusivun-karuselli li.jcarousel-item {
	width: 178px !important;
	height: 178px !important;
	position: relative;
	top: 3px;
}

a.jcarousel-prev, a.jcarousel-next {
	display: block;
	width: 25px;
	height: 105px;
	position: absolute;
	top:-1px;
	padding-left: 0;
	padding-top: 78px;
	border: none;
	font-size: 2em;
	outline: 0;
}
a.jcarousel-prev:hover, a.jcarousel-next:hover, a.jcarousel-prev:focus, a.jcarousel-next:focus {
	color: #F79239;
}
a.jcarousel-prev {
	left: 0;
}
a.jcarousel-next {
	right: 0;
	text-align: right;
}
a.jcarousel-next:after {content: '▶';}
a.jcarousel-prev:after {content: '◀';}

a.noste h3 {
        font-size: 16px;
        margin-top: 0;
	padding:6px;
	background-color: #eee;
}
a.noste {
	display: block;
	min-height: 208px;
}
a.noste img {
	width: 100%;
}
