/* Common */

* {
	margin: 0;
	padding: 0;
}

a {
	color: #000000;
}

td {
	vertical-align: top;
}

body {
	background: black url("images/design/uusiIsoTausta1bm.png") repeat;
	color: white;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size : 9pt;
}

.NewsEtusivu h4 {
	margin: 20px;
}

h4 {
	font-size: 9pt;
	font-weight: bold;
	padding-left: 14px;
	margin: 12px 0;
	color: black;
	text-decoration: none;
}

a.uutisotsikko,
a.luelisaa,
a.eve_head,
h4 a,
#submenu li a {
	font-size: 9pt;
	font-weight: bold;
	padding-left: 14px;
	margin: 12px 0;
	color: black;
	text-decoration: none;
	background: url(images/design/old/nuoli.png) no-repeat 0 50%;
}

.NewsEtusivu a.luelisaa {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 9px;
	font-weight: normal;
}

div.newsImage {
	float: left;
	display: table;
	margin-right: 10px;
}
div.newsImage img {
	width: 120px;
}
div.newsImage img, .imgwrap img {
	padding: 0 4px 4px 0;
	background: url('images/design/shadow_4px.png') no-repeat bottom right transparent;
}
div.newsImage a img {
	border: 0;
}

p {
	margin: 12px 0;
}
/* Uutisen thumbnailit */
.imgwrap {
	margin: 3px;
}


#main {
	position: relative;
	width: 1008px;
	margin: 0 auto;
	background: white;
}
#header {
	position: relative;
	background: black;
	height: 292px;
}

#contentwrap {
	position: relative;
	color: black;
	padding-bottom: 40px;
}

#content {
	float: left;
	width: 500px;
	padding: 49px 0 30px 185px;
	vertical-align: top;
	min-height: 300px;
}
#content.widecontent {
	width: 700px;
}
#frontpage_layout {
	width: 700px;
	position: relative;
	left: -140px;
}
#frontpage_layout .topcell {
	border-bottom: 1px solid #F0F0F0;
	margin-bottom: 2px;
	padding-bottom: 20px;
}
#frontpage_layout .bottomcell {
	padding-top: 20px;
	border-top: 1px solid #E0E0E0;
}
#frontpage_layout .leftcol {
	width: 230px;
	border-right: 1px solid #F0F0F0;
}
#frontpage_layout .rightcol {
	border-left: 1px solid #E0E0E0;
	padding-left: 20px;
}
#sponssit1 a img, #sponssit2 a img {
	border: 0;
}

#sponssit1 {
	float: right;
	width: 250px;
	vertical-align: top;
}

#sponssit2 a {
	display: inline-block;
	margin: 0 10px;
	vertical-align: middle;
}


#ylamenuwrap {
	position: absolute;
	height: 29px;
	margin-top: -29px;
	width: 100%;
/*	padding-left: 214px;*/
	line-height: 29px;
/*	background: transparent url(images/design/topmenubg.png) repeat-x 0 0;*/
}
#ylamenu {
	position: relative;
	left: 10px;
}
#ylamenu li {
	float: left;
	list-style: none;
}
#ylamenu li a {
	display: block;
	padding: 0 10px 0 16px;
	background: #000000 url(images/design/tahti.png) no-repeat 0 50%;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}

#submenuwrap {
	display: block;
	position: absolute;
	left: 20px;
	top: 50px;
	width: 150px;
}

#submenu {
	list-style: none;
}
#submenu li a {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
}
#submenu li:last-child a {
	margin-bottom: 30px;
}

#loginlink {
	float: right;
}
#loginlink a.login,
#loginlink a.logout {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	padding: 0 20px 0 0;
	margin-right: 5px;
	background: #000000 url(images/design/lock.png) no-repeat 100% 50%;
	line-height: 29px;
}
#loginlink div.userlink {
	position: relative;
	margin-top: -20px;
	height: 20px;
}
div.userlink a { color: white;}

#footer {
	color: black;
	background: white;
	font-size: 7pt;
	padding: 5px;
}
#footer #copyright {
	margin: 0 auto;
}

/* Vaihtuva kuva */
.pics {
	float: left;
	height:220px;
	margin:0;
	overflow:hidden;
	padding:0;
	width:457px;
}
.pics img {
	display: none;
}

/* SubMenu indent */
#submenu li.level1 { padding-left: 1em; }
#submenu li.level2 { padding-left: 2em; }
#submenu li.level3 { padding-left: 3em; }
#submenu li.level4 { padding-left: 4em; }
#submenu li a { word-wrap: break-word; }


/* UI upgrade */
form.upgrade {
	display: inline;
}
.upgrade .ui-button-text,
.upgrade .ui-button,
.upgrade .ui-selectmenu-status,
ul.ui-selectmenu-menu {
	font-size: 8pt;
}
.ui-selectmenu-menu li.level0 a { padding-left: 1em; }
.ui-selectmenu-menu li.level1 a { padding-left: 2em; }
.ui-selectmenu-menu li.level2 a { padding-left: 3em; }
.ui-selectmenu-menu li.level3 a { padding-left: 4em; }
.ui-selectmenu-menu li.level4 a { padding-left: 5em; }
.ui-selectmenu-menu li.level0 a { font-weight: bold; }
.ui-selectmenu-menu li.node a { text-decoration: underline; }



/* Ylläpitonode dataorgin listaukset */
div.yllapito table.doListBase,
 div.yllapito table.umListBase {
	width: 100%;
}
div.yllapito table.doListBase tr td,
 div.yllapito table.umListBase tr td {
	padding: 5px;
}
div.yllapito table.doListBase tr.doListHeader td,
div.yllapito table.umListBase tr.umListHeader td {
	font-weight: bold;
	border-bottom: 1px solid #E0E0E0;
}
div.yllapito table.doListBase tr.doListRowOdd td,
div.yllapito table.umListBase tr.umListRowOdd td {
	background-color: #FAFAFA;
}
div.yllapito .doListRowOdd td, div.yllapito .doListRowEven td,
div.yllapito .umListRowOdd td, div.yllapito .umListRowEven td  {
	border-bottom: 1px solid #E0E0E0;
}
div.yllapito table.doListBase table.nocss tr td {
	padding: 0;
	border-bottom: 0;
}


/*Navigointi*/
.doNavigatorBase .doNavigatorLink, .doNavigatorBase .doNavigatorLinkDisabled,
.umNavigatorBase .umNavigatorLink, .umNavigatorBase .umNavigatorLinkDisabled { 
	display: inline-block;
	height: 22px;
	line-height: 20px;
	padding: 0 6px;

	font-size:11px;
	text-decoration: none; 
	margin-right:2px;
	font-weight: bold;
	cursor: pointer;

	/* IE inline-block hack */
	zoom: 1;
	*display: inline;
	_height: 22px;
}
a.doNavigatorLink, a.umNavigatorLink {
/*	color:#0063e3;*/
	color: #AF5B0A;
}
span.doNavigatorLinkDisabled, span.umNavigatorLinkDisabled {
	font-weight: normal;
	color: #888888;
}

a.doNavigatorLink.next {padding-right: 22px; background: url(images/design/next.png) no-repeat 97% 60%; }
span.doNavigatorLinkDisabled.nextDisabled { padding-right: 22px; background: url(images/design/next_grey.png) no-repeat 97% 60%; }

a.doNavigatorLink.last { padding-right: 28px; background: url(images/design/last.png) no-repeat 95% 50%; }
span.doNavigatorLinkDisabled.lastDisabled { padding-right: 28px; background: url(images/design/last_grey.png) no-repeat 95% 60%; }

a.doNavigatorLink.previous { padding-left: 22px; background: url(images/design/prev.png) no-repeat 3% 50%; }
span.doNavigatorLinkDisabled.previousDisabled { padding-left: 22px; background: url(images/design/prev_grey.png) no-repeat 3% 60%; }

a.doNavigatorLink.first { padding-left: 28px; background: url(images/design/first.png) no-repeat 5% 50%; }
span.doNavigatorLinkDisabled.firstDisabled { padding-left: 28px; background: url(images/design/first_grey.png) no-repeat 5% 60%; }


.doNavigatorBase .doNavigatorLink:link, .doNavigatorBase .doNavigatorLink:visited, .doNavigatorBase .doNavigatorLinkDisabled,
.umNavigatorBase .umNavigatorLink:link, .umNavigatorBase .umNavigatorLink:visited, .umNavigatorBase .umNavigatorLinkDisabled {
	border: solid 1px #DDDDDD;
}
.doNavigatorBase .doNavigatorLink:hover,
.umNavigatorBase .umNavigatorLink:hover {
	border: solid 1px #666;
}


/* Käyttäjien ylläpito (usermanager)*/
input.umSubmitButton {
	color: green;
	font-weight: bold;
}
input.umDeleteButton {
	color: red;
	font-weight: bold;
}



/* DataOrg Taulukkomuotoinen listaus */
/*div.doListBase {
	display: table;
}
div.doListRow {
	display: table-row;
}
div.doListItem {
	display: table-cell;
}
*/
div.doListBase {
	display: table;
}
div.doListRow,
div.doListItem {
	display: inline-block;

	zoom:1;
	*display: inline;
}
div.doListItem {
	padding: 10px;
	border: 1px solid #C0C0C0;
	margin: 5px 0 0 5px;
}












/*DIV.Content {
	color : Black;
	background: White;
	font-size : 10pt;
	margin-left: 0.5em;
	margin-right: 0.5em;
	margin-bottom: 0.25em;
}

TD.Header {
	background: #6E94B7;
}*/

/* Menu */
TABLE.MenuBase {
	background: #AFC6DB;	
}

TD.MenuBase {
	background: #AFC6DB;
}

DIV.MenuInc {
	margin-left: 0;
	background: #AFC6DB;	
}

DIV.MenuSel {
	margin-left: 0;
	background: #AFC6DB;
}

/* Feedback */
.FeedbackBase {
/*	background: #6E94B7;*/
	text-align: left;
}

.FeedbackHeader {
/*	background: #AFC6DB;*/
	font-weight: Bold;
	display: block;
	width: 100px;
}

/* Update */

a.edit
{
	font-family: Verdana,arial,helvetica; 
	font-size: 10px; 
	font-weight: bold; 
	color: #ffffff; 
	text-transform: uppercase;
/*	background-image: url(images/design/edit_tausta.gif);
	background-repeat: repeat-x;
	background-color:	#3C96A1; */
	border: solid 1px #808080;
	cursor: pointer;
	padding-top: 5px;
	padding-right: 8px;
	padding-bottom: 5px;
	padding-left: 8px;
	text-decoration: none;
}

a.edit:hover
{
	color: #EEEEEE;
}

table.UpdateTable { 
  border-collapse: collapse;
}

td.UpdateTab {
  padding: 0.5em;  
  width: 134px;
  height: 30px;
  background: url(images/design/top_button.jpg) no-repeat;
  text-align: center;
}

td.UpdateTab a {
  text-decoration: none;
  color: #000000;
  font-size: 8pt;
}

td.UpdateTabSelected {
  padding: 0.5em;  
  width: 134px;
  height: 30px;
  background: url(images/design/top_button.jpg) no-repeat;
  text-align: center;
}

td.UpdateTabSelected a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;  
}

td.UpdateTabEmpty {
  /*border-top: 1px solid black;
  border-bottom: 2px solid silver;
  border-left: 1px solid black;
  border-right: 1px solid black;
  background: rgb(236,233,216);
  border-collapse: collapse;
  height: 1em;*/
  padding: 0.5em; 
  width: 135px;
  height: 30px;
  background: url(images/design/close_button.jpg) no-repeat;
  text-align: center;

}

td.UpdateTabEmpty a {
  text-decoration: none;
  color: #000000;
	display: block;
	padding-right: 20px;
  text-align: center;
}

td.UpdateTabEmpty a:hover {
	color: #FF0000;
}

td.UpdateContent {
  border-top: 1px solid black;
  border-bottom: 0px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
  background: #F6F5F1;
  padding: 1em;
  border-collapse: collapse;
  vertical-align: top;
}

div.UpdateListItem {
  background: transparent;
  border-bottom: 1px solid gray;
}

td.UpdateNodeHead {
  background: rgb(236,233,216);
  font-weight: bold;
  border-left: 1px solid black;
  vertical-align: bottom
}

td.UpdateNodesBase {
  vertical-align: top;
  background: white;
  padding-right: 0.5em;
  padding-bottom: 0.5em;
  border-top: 1px solid black;
  border-bottom: 0px solid black;
  border-left: 1px solid black;
  border-right: 0px solid black;
}

td.UpdateDomainsBase {
  background: rgb(236,233,216);
  vertical-align: top;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 0px solid black;
  border-right: 1px solid black;
  padding-left: 0.5em;
}

td.UpdateLanguageBase {
  background: rgb(236,233,216);
  vertical-align: top;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 0px solid black;
  padding-left: 0.5em;
}


div.UpdateNodeName {
  font-size: 1.5em;
  background: transparent;
  border-bottom: 2px solid gray;
  vertical-align: top;
}

div.UpdateMessage {
  font-weight: bold;
  text-decoration: underline;
  background: rgb(208,208,208);
  border: 1px dashed rgb(153,204,255);
  padding: 0.5em; 
}


td.UpdateForm {
  background: transparent;
}

a.UpdateSubmit, input.UpdateSubmit, button.UpdateSubmit {
  display:inline-block;
  background-color: rgb(244,244,240);
  border-top: 2px solid rgb(223,223,223);
  border-bottom: 2px solid rgb(191,191,191);
  border-left: 2px solid rgb(223,223,223);
  border-right: 2px solid rgb(191,191,191); 
  text-decoration: none;
  padding: 3px;
  color: black
}

a.UpdateSubmit:hover, input.UpdateSubmit:hover, button.UpdateSubmit:hover {
  background-color: rgb(230,230,230);
}

a.UpdateNodeLink {
  text-decoration: none;
  color: blue;
}

a.UpdateNodeLink:link {
}

a.UpdateNodeLink:visited {
}

a.UpdateNodeLink:hover {
  color: red;
}

a.UpdateNodeLink:active {
}

td.UpdateVersionNotSelected {
  background-color: rgb(236,233,216);
  border: 2px solid gray;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

div.UpdateVersionNotActive {
  color: black;
  background: transparent;
  padding-left: 2px;
  padding-right: 2px;
  text-decoration: none;
}

td.UpdateVersionSelected {
  background: rgb(191,191,191);
  border: 2px solid gray;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  
}
div.UpdateVersionActive {
  font-weight: bold;
  background: transparent;
  border-left: 1px solid black;
  border-right: 1px solid black;
  padding-left: 2px;
  padding-right: 2px;
  text-decoration: none;
}


/* Calendar */
.laatikko {
	position: relative;
	left: -100px;
	width: 240px;
	color: white;
}
.laatikko .laatikko_top {
	height: 50px;
	line-height: 34px;
	font-size: 10pt;
	padding: 0 20px;
	background: url("images/design/laatikko_top.png") no-repeat top right transparent;
}
.laatikko .laatikko_bottom {
	height: 6px;
	background: url("images/design/laatikko_bottom.png") no-repeat top right transparent;
}
.laatikko .laatikko_content {
	background: url("images/design/laatikko_bg.png") repeat-y scroll top right transparent;
	padding: 0 20px 10px 20px;
}
#frontpage_layout .frontpage_events {
	font-family: Verdana,Arial,Helvetica,sans-serif;
}
#frontpage_layout .frontpage_events a  {
	text-decoration: none;
}
#frontpage_layout .frontpage_events tr.eventsummary td,
.laatikko tr.eventsummary td {
	font-weight: bold;
	padding-bottom: 10px;
}
#frontpage_layout .frontpage_events tr.eventsummary td a,
.laatikko tr.eventsummary td a {
	background: url("images/design/old/nuoli.png") no-repeat scroll 0 50% transparent;
	padding-left: 14px;
}


/* Events */
.EveHeadList {
	background: #FFD869;
	border-top: 1px solid #A29C9C;
	border-bottom: 1px solid #B00D00;
	font-weight: Bold;
	font-size: 8pt;
}

table.CalEveDetail {
    border:solid 1px #E7E7E7;	
}

TD.CalDays {
	font-size: 8pt;
	background-color: #B47D00;
}

TD.CalDay {
	font-size: 8pt;
	background-color: #F8F8F8;
	border-right: 1px #dddddd solid;
	border-bottom: 1px #dddddd solid;
}

TD.CalSelDay {
	border: 1px #000 solid; 
	background-color: #F8F8F8; 
	color: #000;
	font-size: 8pt;
	font-weight: Bold;
}

TD.CalEmptyDay {
	font-size: 8pt;
	background-color: #F8F8F8;
	border-right: 1px #dddddd solid;
	border-bottom: 1px #dddddd solid;
}

A.CalDay {
	color: #000000;
	font-size: 8pt;
	text-decoration: none;
	background-color: transparent; 
}

.CalHolder {
	/*border-top: 1px #826539 solid;*/
	border-bottom: 1px #FFFFFF solid;
	/*border-left: 1px #826539 solid;*/
	border-right: 1px #FFFFFF solid;
	/*background-color: #F9FB00;*/
}

.CalHolderHead, TD.CalHolderHead {
	width; 100%;
	border-bottom: 1px #000000 solid;
	font-size:8pt;
	background-color: #797C81;
	padding: 3px;
}


TABLE.CalMonthHolder {
	border: 0px #000 solid; 
	width: 100%;
}


TABLE.CalNavHolder {
    width: 100%;
	border: 1px #A2ADBC solid; 
}

TD.CalWeek {
	border-right: 1px #808080 solid; 
	color: #695D5D;
	background-color: #D0D0D0;
    	height: 20px;
}

TD.CalWeekSel {
 	border-right: 1px #808080 solid; 
	font-size: 8pt;
	color: white;
	background-color: #658DFF; 
	font-weight: bold;
    	height: 20px;
}

A.CalWeek {
	color: #695D5D;
	font-size: 8pt;
	text-decoration: none;	
	font-weight: bold;
}

a.CalNavi {
	color: black;
	font-size: 9 pt;
	text-decoration: none;
}


TD.CalMonthHead {
	font-size: 8pt;
	background-color: #EBEBEB;
	border-bottom: 1px #808080 solid;
}




TD.CalMonthNav {
	background-color: #EBEBEB;
	font-size: 10pt;
	height: 20px;
	width: 80px;
} 

A.CalNextPrev {
	font-size: 10pt;
	text-decoration: none;
	color: #808080;
}

A.CalNow {
	font-size: 8pt;
	text-decoration: none;
	color: black;
}

TD.CalWeekDay {
	font-size: 7pt;
	border-bottom: 1px #808080 solid;
	color: #695D5D;
	background-color: #D0D0D0;
    height: 10px;
	width: 30px;
}

A.CalNavLink {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}

.CalEventRow {
	border-bottom: 1px dashed #C0C0C0;
}

.CalListRow {
	background-color: transparent;
	color: #000000;
	text-decoration: none;
}

.CalListRowSel {
	background-color: transparent; 
	color: #FF0000;
	text-decoration: none;
	font-weight: bold;
}

.eve_day {
	font-size: 8pt;
}

/*a.eve_head {
	text-decoration:none;
	color: #00508f;
	font-size: 12pt;
}*/


.CalDeltailHead {
	border-right: 1px solid #A0A0A0;
	font-size: 8pt;
	font-weight: bold;
}

.CalDeltailValue {
	border-bottom: 1px dashed #A0A0A0;
	font-family:"Arial";
	font-size: 9pt;
}

SPAN.CalNavBtn, INPUT.CalNavBtn {
	border-right: 2px solid #808080;
	border-bottom: 2px solid #808080;
	border-top: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
	background-color: #ECE79F;
}

.CalTextInput {
	background-color: #D5D5AA;
	font-family: Tahoma, sans-serif;
	font-size: 9pt;
}

.CalSelInput {
	background-color: #D5D5AA;
	font-family: Tahoma, sans-serif;
	font-size: 9pt;
}

.CalName {
	color: red;
	font: 8 pt;
	background-color: #FFFFC0;	
}

