/*   

Theme Name: AJ MAIN

Theme URI: mindworks.fi

Description: Pääteema aj sivuille

Author: Antti Mäkelä;

Author URI: none

Version: 0.1

.

General comments/License Statement if any.

.

*/
/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6,  blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
/* END RESET */






body {

	background-color: #e2e8e4;

	font-size: 10pt;

	font-family: Arial,Verdana,  SunSans-Regular, Sans-Serif;	

	font-family: Arial;	

	color:#000000;

	padding:0;

	margin:0;

}

a {
	color: #000000;
	text-decoration:none;
	font-size: 9pt;
	font-weight:bold;

}



a:link {
	color:#000000;
}

a:visited {
	color:#000000;
	text-decoration:none;
}

a:hover,  .artikkeli_otsikko a:hover {
	color: #F152B9;
	text-decoration:none;
}

a:active { color:#F152B9;}



h1 {

	font-size: 14pt;

	font-weight:bold;

/*	border-top:1px solid #564b47;

	border-bottom:1px solid #564b47;*/

	padding:0;

	margin:0;

	margin-bottom:15px;

 }



h2, .pp_cat_heading {

	font-size:14pt;

	font-weight:bold;

	padding: 0;

	margin:0;

}

h3 {

	font-size:14pt;

	font-weight:bold;

	padding:0;

	margin:0;	

}

h4 {

	color:black;

	font-size:10pt;

	font-weight:bold;

	padding:0;

	margin:0;	

}



.date {

	font-size:8pt;

	font-weight:normal;

}

/*img.download {vertical-align:middle;}*/



/* ----------container to center the layout-------------- */

#container {
	width: 825px;
	margin: 0 auto;
/*	background: url("images/ltr2.jpg") repeat-y; */
	background: url("images/ltr.jpg") repeat-y;

/*	background-color: #FFFFFF;*/

}



/* ----------banner for logo-------------- */

#banner {
	background: url("images/header2.jpg") no-repeat;
	/*background: url("images/header900x185.jpg") no-repeat;*/
/*	border:solid 1px #FF0000;*/
	padding: 0px;
/*	padding-top:40px;*/
	margin: 0px;
	margin-bottom:5px;
	height:200px;
}

#info {
	font-family:"Times New Roman";
	font-size:20pt;
	color:#F152B9;
	width:500px;
	margin:0;
	padding:0;
	margin-left:300px;
	margin-top:30px;
	height:125px;
}
div#navigation {
	_height:22px;
	margin-bottom:5px;
	_margin-bottom:1px;
}
div#navigation table{
	border-bottom: dotted #000 1px;
	width:770px;
	margin-left:27px;
	padding-bottom:2px;
}
div#navigation .page_item{
	text-align:center;
	border-left: dotted #000 1px;
}

div#navigation .page_item{
	border-left: dotted #000 1px;
}







.current_page_item a, .current_page_parent a, .current_archive a {

	color:#F152B9;

}

/*#banner img {padding:0px 0px;} */

#alasivut {

	margin:0;

}

#alasivut ul {

	margin:0;

	padding:0;

	display:inline;

}

#alasivut ul li {

	padding:0px;

	margin:0;

	list-style-type:none;



}



#kuukaudet {

	margin:0;

}

#kuukaudet ul {

	margin:0;

	padding:0;

	display:inline;

}

#kuukaudet ul li {

	padding:0px;

	margin:0;

	list-style-type:none;



}







/* -----------------content--------------------- */

#content {

/*	border-top: solid 1px #000000;*/



/*	background-color: #ffffff;*/

	padding: 0px;

	padding-right:5px;

	margin: 5px  200px 0 230px;
	_margin: 0px  205px 0px 222px;

/*	_margin-left:221px;
	_margin-top:1px;*/
	border-left: dotted 1px #000000;

	border-right: dotted 1px #000000;	

}

div#content {

	padding-left:10px;

	min-height:600px;

	height:expression(this.scrollHeight > 600 ? "auto":"600px"); 

}

#content img {
	_width:expression(this.width < 370 ? "auto":"370px"); 
}

p, pre{

	padding: 5px 0px;

	margin:0px;

}



/* --------------left navi------------- */

#left {
	float: left;
	width: 195px;
	_width:175px;
	margin: 0;
	padding:0;
	margin-left: 29px;
	_margin-left: 12px;
/*	_border: solid 1px #000000;*/
	padding-right: 5px;

}
#sidebar {
/*	_border: solid 1px #000000;*/
}

#left ul, #sidebar ul  {
	margin:0;
	padding:0;
	display:inline;
	text-indent:0px;
}

#left ul li, #sidebar ul li{
	padding:0px;
	margin:0;
	list-style-type:none;
}

#sidebar ul li {
	display:block;
	
}
#search, #ajankohtaisetsivut {

	border-bottom:dotted 1px #000000;
	text-indent:0px;
/*	border:solid 1px #000000;*/
	margin:0;	
	padding:0;
	padding-bottom:5px;
	padding-top:5px;
	list-style-position:outside;
}
#sidebar #tapahtumakalenteri {
	border-bottom:dotted 1px #000000;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:0;
	margin-left:0px;
/*	margin-right:10px;*/
	text-indent:0px;
	list-style-position:outside;
 }
#sidebar  #search {
	margin:0;
	padding:0;
	list-style-position:outside;

}

#search form div input {
	margin:0;
	display:inline;
}

#sidebar #kilpailu{
	text-indent:0;
	list-style-position:outside;
	background-color:#DFE4E0;
	padding:0px;
	margin:0px;
	margin-top:10px;
	margin-bottom:10px;
}

#kilpailu h4, #kilpailu a{
	text-indent:0;
	margin:0;
	padding:0;
	font-weight:normal;
}
#alde, #keskusta {
	border-top:dotted 1px #000000;	
	display:block;
	margin-top:5px;
	text-indent:0;
	list-style-position:outside;
}


#kilpailu h4 {

	font-weight:bold;

	font-size:12pt;

	color: #F152B9;

}

#etusivuboksi,#sidebar {

	margin:0;

/*	margin-top:5px; */

	padding: 0px 0 5px 0;
	

	margin-bottom:5px;



}

#etusivuboksi {
	border-bottom:dotted 1px #000000;

/*	border-bottom:dotted 1px #000000;*/

}

#etusivuboksi ul{

	margin:0;

	padding:0;

	list-style-position:outside;

	display:inline;
}

#etusivuboksi ul li{
	list-style-type:none;
	margin:0;
}
#etusivuboksi h4 {
	margin:0;
	padding:0;

}
#etusivuboksi ul li .kategoria_otsikko {
	font-size:10pt;
	margin:0;
	padding:0;
}

#etusivu_artikkeli {
/*	display:block;
	border: solid 1px #000;
	margin-bottom:15px;
	margin-top:15px;
	padding: 10px;*/
}
#etusivuboksi p {
	margin-bottom:2px;
	padding:0;
	padding-bottom:2px;

}
#etusivuboksi ul li .artikkeli_otsikko  {
	color:#555;
	font-size:8pt;
/*	line-height:18pt;*/
	font-weight:normal;
}
#etusivuboksi ul li a:hover   {
	color:#F152B9;
}

#etusivuboksi ul li .date {
	font-size:8pt;
}


#uutishuone {

	margin:0;

	padding:0 0 15px 0;



}

#uutishuone	a {

	display:block;	

}



#puhuttua	 {

	margin-top:5px;

	border-top:dotted 1px #000000;	

}

#puhuttua	a {

	display:block;	

}



#tiedoitteet {

	margin-top:5px;

	border-top:dotted 1px #000000;	

}

#tiedoitteet	a {

	display:block;	

}



#right {

/*	border-top: solid 1px #000000;*/

	float: right;

	width: 170px;
	_width:165px;

	margin: 0;

	margin-top:7px;

	margin-right: 25px;

	padding-left: 0;
	/*_border: solid 1px #000000;*/
	_margin-right: 12px;

}

#right pre {



}

#ajankohtaiset {

	margin:0;

	padding:0;

}

#ajankohtaiset ul{

	margin:0;

	padding:0;

}
#ajankohtaiset ul li {

/*	height:40px;*/
	font-size:8pt;
	font-weight:bold;
	margin:0;
	margin-bottom:2px;
}

#ajankohtaiset ul li a{

	display:block;

	color: white;

	padding-top:19px;

	padding-left:5px;

	padding-bottom:2px;

	background-color: #8F9590;



}

#ajankohtaiset ul li a:hover{

	background-color: #F152B9;

}

#ajankohtaiset  .page_item {



}



#ajankohtaiset  .page_item a{

	

}



#ajankohtaiset  .current_page_item a{



	background-color: #F152B9;

}



#ajankohtaiset  .current_page_item a{

	/*color:#000000;*/

}







/*------------kalenteri------------------------*/

#wp-calendar { 	/* table*/
	min-height:400px;
	font-size:8pt;
	background-color:#DFE4E0;
/*	border:solid 1px #000000;*/
	border-collapse:collapse;
	margin:0;
	padding:0;
	width:100%;
	text-indent:0px;
	_margin-left:-20px;

}

#wp-calendar caption{ 	/* kk */

	background-color:#DFE4E0;

	width:100%;



}



#wp-calendar thead tr th{ 	/*kuukausi*/

	font-size:8pt;

	text-align:center;

	min-height:30px;

}



#wp-calendar tfoot tr td { 	/* kk linkkit */

/*	font-size:8pt;

	height:20px;

	font-size:8pt;*/



}

#wp-calendar tbody tr th { 	/* vkpäivät */

	font-size:7pt;

	height:25px;

	background-color:#DFE4E0;

	text-align:center;

}



#wp-calendar tbody tr td{ 	/* päivät 1,2...jne*/

	font-size:8pt;
	padding-top:5px;

	height:20px;

	background-color:#D0D6D2;

	text-align:center;

}

#wp-calendar tbody tr td a{ 	/* päivät linkki*/

	font-size:8pt;

	font-weight:bold;

}

#wp-calendar tbody tr td.today {

	background-color:#F152B9;

}



#tapahtumat {

	margin:0;

	margin-bottom:10px;

	border-bottom:dotted 1px #000000;

}

#searchresults a {

	margin:0;

	margin-bottom:5px;

	display:block;



}





/* -----------footer--------------------------- */

#footer {

	min-height:30px;

	background: url("images/footer.jpg") no-repeat;

/*	border-bottom:solid 5px #000000;*/

	clear: both;

	margin: 0;

	padding: 0;

/*	margin-bottom:10px;*/

	text-align: right;

}



#pp_wrap {

}

#pp_wrap ul{

	margin:0;

	padding:0;

	display:inline;

	

}

#pp_wrap ul li{

	padding:0px;

	margin:0;

	margin-bottom:6px;

	list-style-type:none;	

}





#pp_cat_heading {

	font-size:10pt;

}



#pp_cat_heading a {

	font-size:10pt;

}

#pp_prevnext {

/*	border:solid 1px #000000; */

}

#pp_prev{

	margin:0px;

}

.pp_next{

	float:right;

	margin-right:2px;

	text-align:right;

}



img {

	border:none;

	margin-right: 3px;

}

fieldset {

	border:none;

}




