#etusivu {
	width: 990px;
}

/* UUTISET */

#uutiset {
	width: 480px;
	float: left;
	margin: 0 5px 0 5px;
}
#uutiset h2 {
	display: none;
}

#uutiset h3 {
	margin: 0; padding: 0;
	font-size: 26px;
	color: #000000;
	font-weight: normal;
}
#uutiset h3 a {
	color: #000000;
	display: block;
}
#uutiset .rivi0 h3 a {
	text-shadow: -1px -1px 1px #ffffff, 0 0 0.5em #ffffff;
}

#uutiset h3 a:hover {
	color: #FFFFFF;
	background: #000000;
	text-decoration: none;
	text-shadow: none;
}
#uutiset img {
	max-width: 480px;
}
#uutiset .post {
	margin-bottom: 15px;
}
#uutiset .author,
#uutiset .entry-meta {
	margin: 0; 
	padding: 3px;
	font-size: 11px;
	background: #cccccc;
	color: #666666;
}
#uutiset .entry-meta a,
#uutiset .entry-meta a:link,
#uutiset .entry-meta a:visited {
	color: #555555;
}
#uutiset .entry-meta .comments-link a {
	color: #990000;
	float: right;
	font-weight: bold;
}
#uutiset .entry-content p {
	margin: 0;
	padding: 5px 0 0 0;
}
#uutiset .entry-content p:first-child {
	font-weight: bold;
}
#uutiset .blogtext {
	margin-bottom: 15px;
}

#oikea_palsta {
	width: 500px;
	float: left;
	clear: right;
	position: relative;
}


#uutiset .smallpost {
	float: left;
	width: 240px;
	height: 160px;
	overflow: hidden;
	margin-top: 5px;
	margin-left: -5px;
	border-left: 5px solid #FFF;
	position: relative;
	background: #eee;
	color: #666;
}

#uutiset .smallpost a.entry-title {
	display: block;
	width:120px;
	height: 160px;
	margin-right: 5px;
	position: relative;
	float: left;
	clear: left;
	color: #FFFFFF;
}

#uutiset .smallpost h4.entry-title {
	display: block;
	width: 114px;
	position: absolute;
	top: 0;
	left: 0;
	background: transparent url(http://www.motot.net/img/08/musta_50.png) repeat 0px 0px;
	font-size: 13px;
	font-weight: bold;
	margin: 0;
	padding: 6px 3px;
	z-index: 20;
	color: #FFFFFF;
	text-shadow: 1px 1px 3px #000;
	overflow: hidden;
}
#uutiset .smallpost a:hover h4.entry-title {
	background: #000;
	text-decoration: none;
	text-shadow: none;
}
#uutiset .smallpost .wp-post-image {
	display: block;
	margin: 0; 
	padding: 0;
	border: 0;
	z-index: 5;
	max-width: 100%;
	height: auto;
}
#uutiset .smallpost .entry-meta {
	background: transparent;
	line-height: normal;
	padding: 0; margin: 0;
	color: #666666;
	display: inline;
}
#uutiset .smallpost .entry-meta a {
	color: #666666;
}
#uutiset .smallpost .entry-meta .comments-link a {
	float: none;
	color: #cc0000;
	font-weight: normal;
	display: block;
}
#uutiset .smallpost .entry-summary {
	margin: 0; 
	padding: 0;
	font-size: 11px;
	line-height: normal;
	clear: right;
}

#uutiset .smallpost .entry-summary p {
	margin: 0;
	padding: 5px;
}


/* ILMOITUKSET */

#ilmoitukset {
	width: 500px;
	float: left;
	/* margin: 10px 5px 0 0; */
}

#ilmoitukset dl {
	float: left;
	width: 120px;
	margin: 5px 5px 0 0;
	padding: 0;
	background: #dddddd;
	height: 95px;
	overflow: hidden;
	z-index: 5;
}
#ilmoitukset dl dd {
	margin: 0;
	padding: 0;
	position: relative;
	width: 120px;
	height: 80px;
	z-index: 10;
}
#ilmoitukset dl dd span {
	display: block; 
	position: absolute;
	bottom: 0;
	left: 0;
	width: 114px;
	padding: 0 3px 0 3px;
	height: 15px;
	font-size: 11px;
	line-height: 15px;
	
	background: transparent url(http://www.motot.net/img/08/musta_50.png) repeat 0px 0px;
}
#ilmoitukset dl dd a {
	display: block;
	color: #cccccc;
	text-decoration: none;
}
#ilmoitukset dl dd a b {
	color: #ffffff;
	float: right;
	padding: 0 2px 0 2px;
}
#ilmoitukset dl dd a:hover {
	color: #FF8F00;
	text-decoration: none;
}
#ilmoitukset dl dd a:hover b {
	color: #000000;
	background: #FF8F00;
	text-decoration: none;
}
#ilmoitukset dl dt a {
/*	display: block;
	padding: 2px 0 2px 0;
	background: #444444;
	color: #eeeecc;
	*/
	color: #333333;
}
#ilmoitukset dl dt {
	font-size: 11px;
	text-align: center;
}
#ilmoitukset dl dd .talli_thumb_uusi {
	display: block;
	position: absolute;
	margin-left: -2px;
	margin-top: -2px;
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
	border: none;
	z-index: 50;
/*	display: none; */
}
#ilmoitukset h4 {
	display: block;
	width: 495px;
	margin: 0;
	margin-top: 5px;
	padding: 0px;
	line-height: 30px;
	text-align: center;
	background: #333333;
	color: #CCCCCC;
}
#ilmoitukset h4 a,
#ilmoitukset h4 span,
#ilmoitukset h4 img {
	color: #CCCCCC;
	display: block;
	border: none;
	margin: 0; padding: 0;
}


/* GALLERIA */
#galleria {
	padding-top: 26px;
}
#galleria #kuvat img {
	width: 120px;
	height: 80px;
	margin: 5px 5px 0 0;
}
#galleria #kuvat #viikonkuva a {
	display: block;
	float: left;
	clear: left;
	width: 245px;
	margin: 0 5px 5px 0;
}
#galleria #kuvat #viikonkuva img {
	display: block;
	width: 245px;
	height: auto;
	margin: 0; padding: 0; border: none;

}
#galleria #tapahtumat {
	float: right;
	clear: right;
	width: 245px;
	margin: 0px 5px 5px 0;
	
}
#galleria h4 {
	display: block;
	width: 245px;
	margin: 0;
	margin-top: 5px;
	padding: 0px;
	line-height: 30px;
	height: 30px;
	text-align: center;
	background: #333333;
	color: #CCCCCC;
}
#galleria #tapahtumat ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#galleria #tapahtumat ul li {
	position: relative;
	margin: 1px 0 0 0;
	padding: 0;
	background: transparent url(http://www.motot.net/img/08/musta_50.png) repeat 0px 0px;
}
#galleria #tapahtumat ul li span {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	padding: 3px;
	font-size: 10px;
	line-height: 13px;
	text-align: right;
}
#galleria #tapahtumat ul li a {
	display: block;
	margin-left: 60px;
	padding: 3px;
	font-size: 13px;
	line-height: 13px;
	color: #FFFFFF;
}


/* UUTISKOMMENTIT */


#uutiskommentit .uutisetYleislistaus,
#uutiskommentit .uutisetKommenttilistaus {
	float: left; 
	width: 495px; 

	overflow: hidden;

	background: #222 url(http://www.motot.net/img/galleria_mediumkuvatausta.png) repeat-x 50% 0%;
	margin-bottom: 10px;
	color: #aaaaaa;
}


#uutiskommentit .uutisetYleislistaus dl,
#uutiskommentit .uutisetKommenttilistaus dl {
        margin: 0px;
        padding: 3px;
        font-size: 11px;
	border-top: 1px solid #666666;
	position: relative;
}
#uutiskommentit .uutisetYleislistaus dd.uutisetPvm,
#uutiskommentit .uutisetKommenttilistaus dd.uutisetPvm {
	margin: 0; 
	padding: 3px 0 0 0;
	position: absolute;
	left: 0; top: 0;
	color: #aaaaaa;
	text-align: right;
	width: 35px;
	line-height: 16px;
}
#uutiskommentit .uutisetKommenttilistaus dd.uutisetKayttaja {
	float: right;
	color: #aaaaaa;
}

#uutiskommentit .uutisetYleislistaus dt,
#uutiskommentit .uutisetKommenttilistaus dt {
        display: block;
        margin: 0;
	padding-left: 40px;
}
#uutiskommentit .uutisetYleislistaus dt a,
#uutiskommentit .uutisetKommenttilistaus dt a {
        text-decoration: none;
        font-size: 12px;
}
#uutiskommentit .uutisetYleislistaus dt a:hover,
#uutiskommentit .uutisetKommenttilistaus dt a:hover {
	color: #ffffcc;
}
#uutiskommentit .uutisetYleislistaus dt i,
#uutiskommentit .uutisetKommenttilistaus dt i {
	display: none;
}
#uutiskommentit .uutisetYleislistaus dl a,
#uutiskommentit .uutisetKommenttilistaus dl a {
	color: #dddddd;
}

/* SIVUVERSION VALINTA */

#etusivuVersio {
	float: left;
	background: #444444;
	width: 495px;
	font-size: 10px;
	color: #cccccc;
	margin-top: 5px;
	margin-bottom: 10px;
}
#etusivuVersio form {
	margin: 0; padding: 0;
}
#etusivuVersio div.aloitus {
	padding: 5px;
	background: #333333;
}
#etusivuVersio div.sarake {
	padding: 5px;
	float: left;
	min-width: 180px;
}
#etusivuVersio div.sarake ul {
	list-style-image: url(/img/nuolibullet_pun_flat.png);
	list-style-position: inside;
	margin: 0; padding: 0;
}
#etusivuVersio div.sarake li {
	margin: 1px 0px 0px 0px;
	padding: 3px;
	background: #3a3a3a;
}
#etusivuVersio div.sarake li a {
	color: #eeeecc;
}
#etusivuVersio div.sarake li:hover {
	background: #222222;
}
#etusivuVersio div.sarake li a:hover {
	color: #ff2222;
}

/* MOOTTORIT.NET */
#moottoritnet {
	width: 500px;
	float: left;
	/* margin: 10px 5px 0 0; */
}

#moottoritnet h4 {
	display: block;
	width: 495px;
	margin: 0;
	margin-top: 5px;
	padding: 0px;
	height: 72px;
}
#moottoritnet img {
	width: 120px;
	height: 80px;
	margin: 0 5px 5px 0;
}
#moottoritnet h4 a,
#moottoritnet h4 img {
	display: block;
	border: none;
	margin: 0; padding: 0;
	width: 495px;
	height: 72px;
}
#moottoritnet h4 span {
	display: none;
}

/* RSS FEED */


a.rssfeed {
	display:block;
	width: 50px;
	height: 50px;
	background: url(/img/09/rss.png) no-repeat 0 0;
	margin-left: auto; 
	margin-right: auto;
}
a.rssfeed:hover {
	background-position: 0 -50px;
}
a.rssfeed span {
	display: none;
}

#sponsorit {
	position: relative;
	float: left;
	width: 495px;
	text-align: center;
}

.footer_logot {
	height: 60px;
}
.footer_logot a {
	width: 176px;
	height: 40px;
	margin: 10px;
	display: block;
	float: left;
	background: #FFF no-repeat 0 0;
}
.footer_logot a:hover {
	background-position: 0 100%;
}
.footer_logot a span {
	display: none;
}
.footer_logot .logo_rss {
	background-image: url(/img/10/logo/rsslogo.png);
}
.footer_logot .logo_facebook {
	background-image: url(/img/10/logo/facebooklogo.png);
}
.footer_logot .logo_twitter {
	background-image: url(/img/10/logo/twitterlogo.png);
}
.footer_logot .logo_louhi {
	background-image: url(/img/10/logo/louhilogo.png);
}

.louhisponsor {
	text-align: right;
	padding-right: 62px;
}
