@import url("reset.css");

/* =====================
	BASE STYLES
======================== */

body {
	font-size: 62.5%;
	line-height: 1.4;
	background: #fff;
	font-family: "Lucida Grande", Arial, Verdana, Helvetica, 'Helvetica Neue', sans-serif;
	color: #5b5b5b;
	}

#wrapper {
	font-size: 1.3em;
	margin: 0 auto;
	width: 986px;
	background: white url(/res/default/img/tausta.jpg) no-repeat center top;
	}

#inner-wrap {
	width: 900px;
	margin: 0 auto;
}

a,a:visited {
	color: #2a543a;
	text-decoration: underline;
	}

a:hover {
	text-decoration: none;
	}

#wrapper a:focus {
	outline: 1px dotted #333333;
	}

.group {
	display: block;
	float: left;
	}

hr.clear {
	clear: both;
	width: 0;
	height: 0;
	border: 0;
	padding: 0;
	margin: 0;
	}

/* =====================
	BLOCKS
======================== */

#header,
#content,
#footer {
	width: 900px;
	}
#header,
#content,
#themeimage {
	margin-bottom: 35px;
	}

#header {
	margin-top: 30px;
}

#content-left {
	width: 170px;
	margin: 0 10px 0 0;
	}

#content-middle {
	padding: 0 20px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	width: 480px !important;
	margin: 0 10px 0 0 !important;
	}

#header-logo {
	width: 180px;
}

#header-middle {
	width: 500px;
	padding: 0 10px 0 20px;
}

#header-right {
	width: 148px;
}

#content-right {
	width: 188px;
	}

#footer {
	border-top: 1px solid #b2b2b2;
	padding: 25px 0 40px 0;
	font-size: 0.8em;
	text-align: right;
	}

/* =====================
    TOP
======================== */

#top {
	background-color: #d8d8d8;
	overflow: hidden;
}

.variant-extranet #top, .variant-extranet #helpmenu, .variant-omillejaloille_front #top, .variant-omillejaloille_front #helpmenu, .variant-omillejaloille_default #top, .variant-omillejaloille_default #helpmenu {
	background: #F9A31B;
}

#top .group {
	float: right;
	zoom: 1;
}

#helpmenu-wrap {
	margin: auto;
	width: 900px;
	font-size: 1.2em;
	overflow: hidden;
}

#helpmenu {
	display: inline;
	float: right;
	background: transparent url(/res/default/img/ylapalkin_tausta_vasen.jpg) no-repeat left top;
	overflow: hidden;
	padding-left: 50px;

	/* IE 6 helpmenu fixes */
	*width: 100%;
	*padding-left: 0px;

}

#helpmenu a {
	text-decoration: none;
	margin-right: 10px;
}

.variant-extranet #helpmenu a, .variant-omillejaloille_front #helpmenu a, .variant-omillejaloille_default #helpmenu a {
	color: white;
}

#helpmenu a:hover {
	text-decoration: underline;
}


#languages {
	background: transparent url(/res/default/img/ylapalkin_tausta_oikea.jpg) no-repeat right top;
	overflow: hidden;
	padding-right: 36px;
}

.variant-omillejaloille_front #languages, .variant-omillejaloille_default #languages {
	background: none;
}

#helpmenu div {
	padding-top: 15px;
	padding-bottom: 15px;
}

#helpmenu div.haku {
	padding-top: 12px;
}

#helpmenu form {
	padding: 0;
	padding-top: 12px;
	padding-left: 7px;
	margin: 0;
	margin-right: 10px;
	text-align:left;
	width: 210px;
	float: right;
	height: 10px;
}

#helpmenu form input.go {
	width: 60px;
}


/* =====================
	SEARCH
======================== */

#search {
	margin: 0 20px 5px 20px;
	height: 22px;
	}

#search .go,
#search .q {
	float: right;
	margin: 0;
	}

#search .go {
	margin-left: 5px;
	height: 22px;
	padding: 0 5px;
	color: #fff;
	background: #9f9f9f;
	border: 0;
	cursor: pointer;
	}

#search .go:hover {
	background: #333333;
	cursor: pointer;
	}

#search .q {
	padding: 2px 5px;
	background: #fff;
	border: 1px solid #b2b2b2;
	width: 130px;
	color: #5b5b5b;
	}

#search .q:focus {
	border: 1px solid #333333;
	}

/* =====================
	FRONTPAGE BANNERS
======================== */

#banners {
	width: 912px;
	position: relative;
	left: -23px;
	margin-bottom: 20px;
	clear: both;
	overflow: hidden;
	margin-left: 73px;
}

#banners li {
	float: left;
	margin-right: 19px;
}

#banners li.last {
	margin-right: 0;
}

/* =====================
	LOGO
======================== */

a#logo  {
	text-decoration: none;
	color: #333333;
	text-indent: -200px;
	overflow: hidden;
	background: transparent url(/res/default/img/logo.gif);
	display: block;
	width: 179px;
	height: 68px;
	margin-right: 1px;
	margin-bottom: 10px;
	}
	
.root-55721 a#logo {
	background: transparent url(/res/default/img/omille-logo.gif) no-repeat;
}

/* =====================
	NAVIGATION
======================== */

#nav {
	margin: 35px 0 0 0;
	background: #cccccc;
	width: 940px;
	}

#nav li {
	display: block;
	float: left;
	}

#nav li a {
	display: block;
	background: transparent;
	padding: 7px 12px;
	text-decoration: none;
	border-right: 1px solid #333333;
	color: #333333;
	font-size: 0.9em;
	}

#nav li a.level1-onpath,
#nav li a.level1-onpath:hover {
	background: #333333;
	color: #fff;
	}

#nav li a:hover {
	background: #9f9f9f;
	color: #fff;
	}

.navpath {
	font-size: 0.8em;
}

/* =====================
	SIDE MENU
======================== */

#sidemenu {
	display: block;
	margin-bottom: 40px;
	}

#sidemenu li {
	display: block;
	}

#sidemenu li a {
	text-decoration: none;
	color: #333333;
	font-size: 1em;
	line-height: 17px;
	padding: 5px 0;
	display: block;
	border-bottom: 1px dotted #ababac;
	}

#sidemenu li.level1-onpath a,
#sidemenu li.level1-onpath a:hover {
	border-bottom: 1px dotted #ababac;
	background: #F9A21B;
	color: #fff;
	}

#sidemenu li a:hover {
	color: #333333;
	background: #eee;
	text-decoration: underline;
	}

#sidemenu li.level1 a:hover {
		text-decoration: none;
}

#sidemenu li.level2 a,
#sidemenu li.level3 a,
#sidemenu li.level4 a {
	display: block;
	padding: 2px 0;
	border-bottom: 0 !important;
	background: none !important;
	font-size: 0.85em;
	}

#sidemenu li.level2-last a {
	margin-bottom: 20px;
	}

#sidemenu li.level2-first a {
	margin-top: 10px;
	}

#sidemenu li.level2-here a,
#sidemenu li.level3-here a,
#sidemenu li.level4-here a {
	font-weight: bold;
	}


/* =====================
	TYPOGRAPHY
======================== */

p,
div.row {
	margin-bottom: 18px;
	}

h1,h2,h3,h4,h5,h6 {
	color: #333333;
	font-family: Helvetica, 'Helvetica Neue', Arial, Verdana, Sans-serif;
	font-weight: normal;
	text-shadow: 1px 1px #CCCCCC;
	}

h1 { font-size: 28px; line-height: 30px; }
h2 { font-size: 24px }
h3 { font-size: 20px }
h4 { font-size: 17px; font-weight: bold; }
h1,h2 { letter-spacing: -1px }
h2,h3,h4 { margin-bottom: 10px }

.content-container {
	padding-top: 20px;
}

#wrapper #content .token-Content .content-container ul {
	margin: 20px 18px;
	list-style-type: disc;
	}

#wrapper #content .token-Content .content-container ol {
	margin: 20px 24px;
	list-style-type: decimal;
	}

#wrapper #content .token-Content .content-container ul ul,
#wrapper #content .token-Content .content-container ol ul {
	margin: 0;
	list-style-type: circle;
	}

#wrapper #content .token-Content .content-container li {
	padding-left: 5px;
	line-height: 1.4;
	}

#wrapper #content .token-Content .content-container ul ul li,
#wrapper #content .token-Content .content-container ol ul li {
	margin-left: 20px;
	}

#footer a {
	text-decoration: none;
	color: #333333;
	}

#footer #poweredby {
	margin-left: 20px;
	}

/* =====================
	FILELIST
======================== */

td.filename {
	font-size: 0.8em;
	padding-left: 5px;
}


/* =====================
	INFOBOX (käytetty graafeissa)
======================== */

.infobox {
	background-color: white;
	border: 4px solid #064344;
	width: 300px;
	padding: 20px 20px 10px 20px;
}

/* =====================
    HUOMIOLAATIKOT
======================== */

#content-right .as_huomiolaatikko {
	font-size: 0.9em;
}

/* =====================
	SOVELLUKSET
======================== */

div.app {
	margin-top: 20px;
	margin-bottom: 30px;
}

div.app-News div.row p {
	margin-bottom: 8px;
}

div.app-News div.row p a {
	font-weight: bold;
	text-decoration: none;
}

div.app-News div.row p a:hover {
	text-decoration: underline;
}

.viewToggle {
	margin-top: 20px;
}

div.app-Highlight {
	border: 1px solid #CCCCCC;
	padding-top: 10px;
}

div.app-Highlight h2 {
	font-size: 17px;
	font-weight: normal;
	padding: 0px 0 0 4px;
	text-shadow: none;
	line-height: 1.2em;
	letter-spacing: 0.01em;
}

div.app-Highlight h2 a {
	text-decoration: none;
}

div.app-Highlight h2 a:hover {
	text-decoration: underline;
}

div.app-Highlight div.row {
	padding: 0 4px 0 8px;
	margin-bottom: 5px;
}

div.app-Highlight div.rowLast {
	margin-bottom: 10px;
}

div.app-Highlight div.title {

}

div.app-Highlight div.text {
	font-size: 0.9em;
}

hr {
	border: none;
	border-top: 1px solid #ccc;
}

.token {
	margin-bottom: 20px;
}

/* muutokset 10-8-2011 */

.variant-omillejaloille_front .divThemeImage {
	height: 100px;
	display: table;
}
.variant-omillejaloille_front .divThemeImage a {
	overflow: hidden;
	display: table-cell;
	vertical-align: middle;
}

.variant-omillejaloille_front #header-logo .content-container {
	padding: 0;
}
.variant-omillejaloille_front #header-logo h2, #header-logo a {
	margin-bottom: 0;
}
.variant-omillejaloille_front a#logo {
	height: 58px;
}
.variant-omillejaloille_front #header {
	margin-bottom: 0;
	}
