/*   

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,  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;	
	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;

}

.fbtext {
	font-size:8pt;
	font-weight:normal;
}

h2 .date {
   top:35px;
   margin:0;
   padding:0;
}

/*img.download {vertical-align:middle;}*/



/* ----------container to center the layout-------------- */

#container {
	width: 825px;
	margin: 0 auto;
	background: url("images/ltr.jpg") repeat-y;
}



/* ----------banner for logo-------------- */

#banner {
	background: url("images/header2.jpg") no-repeat;
	padding: 0px;
	margin: 0px;
	margin-bottom:1px;
	height:200px;
	height:190px;
}

div#info {
	font-family:"Times New Roman",Roman,sans-serif;
	font-size:22pt;
	color:#F152B9;
	width:350px;
	margin:0;
	padding:0;
	margin-left:305px;
	margin-top:50px;
	height:102px;
}
div#3gation {
	_height:24px;

	margin-bottom:5px;
	_margin-bottom:1px;
}
div#navigation table{
	border-bottom: dotted #000 1px;
	width:770px;
	margin-left:27px;
	padding-bottom:2px;
	height:23px;
}
div#navigation .page_item{
	padding-top: 3px;
	font-size:10pt;
	text-align:center;
	border-left: dotted #000 1px;
}
.page_item a, .first_page_item a, .last_page_item a {
	font-size:10pt;
}

.current_page_item a, .current_page_parent a, .current_archive a,{
	color:#F152B9;
	font-size:10pt;
}

#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 {
	background-color: #ffffff;
	padding: 0px;
	padding-right:5px;
	margin: 5px  200px 0 230px;
	_margin: 0px  205px 0px 222px;

	border-left: dotted 1px #000000;

	border-right: dotted 1px #000000;	

}

div#content {
	padding-left:10px;
	min-height:700px;
	height:expression(this.scrollHeight > 700 ? "auto":"700px"); 
}

*html #content #post img {
width:366px;
/*	width:expression(this.width < 356 ? "auto":"164px"); */
/*	width:expression(this.width < 366 ? "auto":"364px");*/ 
}


/* --------------left navi------------- */

#left {
	float: left;
	width: 195px;
	_width:173px;
	margin: 0;
	padding:0;
	margin-left: 28px;
	_margin-left: 15px;
	_margin-top: 1px;

/* IE 6 BUG FIX */
	_margin-right: -25px;


	padding-right: 5px;

}
#sidebar {
/*	_border: solid 1px #000000;*/
}

#left ul, #sidebar ul  {
	margin:0;
	padding:0;
	display:inline;
	text-indent:0px;
	list-style-position:outside;

}

#left ul li, #sidebar ul li{
	padding:0px;
	margin:0;
	margin-bottom:3px;
	list-style-type:none;
}
#left h4 {
	margin-bottom:3px;
}
#left a {
	font-size:12px;
}


#sidebar ul li {
	display:block;
	
}
#search, #ajankohtaisetsivut {

	border-bottom:dotted 1px #000000;
	text-indent:0px;
	margin:0;	
	padding:0;
	padding-bottom:5px;
	padding-top:5px;
	list-style-position:outside;
}

 #sidebar #paivamaarakalenteri {
	padding-top:0px;
	padding-bottom:0px;
	padding-left:0;
	margin-left:0px;
	text-indent:0px;
	list-style-position:outside;
 }
 
#kalenterisivu {
	width: 170px;
	background-color:#DFEdE0;
	padding-bottom: 10px;
	padding-top: 0px;
	text-align:center;
}
#kalenterisivu_paiva {
	width: 150px;
	padding-top: 8px;
	text-align:center;
	background-color:#DFEdE0;
	margin-left: 10px;
}

#kalenterisivu_iso {
	width: 150px;
	border-bottom:dotted 1px #000000;
	padding-top: 0px;
	padding-bottom: 5px;
	text-align:center;
	background-color:#DFEdE0;
	margin-left: 10px;
}
#kalenterisivu_muut {
	width: 150px;
	padding-top: 8px;
	text-align:center;
	background-color:#DFEdE0;
	margin-left: 10px;
}

.isopaivamaara {
	font-size:40pt;
	font-weight:bold;
}

#sidebar #tapahtumakalenteri {
	border-bottom:dotted 1px #000000;
	padding-top:0px;
	margin-top:0px;
	padding-bottom:5px;
	padding-left:0;
	margin-left:0px;
	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;
	padding: 0px 0 5px 0;
	margin-bottom:5px;
}

#etusivuboksi {
	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;
	margin-bottom:5px;

	padding:0;

}
#etusivuboksi ul li .kategoria_otsikko {
	font-size:10pt;
	margin:0;
	padding:0;
}

#etusivuboksi #etusivu_artikkeli {
	margin-bottom:10px;
}
#etusivuboksi p {
}
#etusivuboksi ul li .artikkeli_otsikko  {
	color:#555;
	font-size:9pt;
	font-weight:normal;
}
#etusivuboksi ul li a:hover   {
	color:#F152B9;
}

#etusivuboksi ul li .date {
	font-size:8pt;
}


#facebook {
	padding-top: 10px;
	height: 30px;
}

#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-collapse:collapse;
	margin:0;
	padding:0;
	width:100%;

	text-indent:0px;
/*	_margin-left:-10px;*/

}

#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-top:5px;
	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:30px;*/

	text-align: left;
}
#footer img{
margin:0;
padding:0;
margin-left:25px;
margin-top:5px;
}


#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
