/* CSS Document */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Reset ends */

body{
    font-size: 100%;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    background: #1F2226;
}


/* Layout begins */
div#layout_frames{
    width:960px;
	padding: 10px;
    padding-top:0px;
	margin: 0 auto;
	background-color: black;
}
div#layout{
	width:940px;
    padding: 10px;
    background-image: url('wbropeconbanner2012-tausta.png');
    background-repeat: no-repeat;
    background-position: center -55px;
    background-color:white;
}
div#banneri{
    padding-top:27px;
    padding-bottom:10px;
    padding-left: 10px;
}
div#middle{
    /*background-image: url('wbropeconbanner2012_ukkeli.png');*/
    background-repeat: no-repeat;
    background-position: center -283px;    
}
#middle p,#middle li, #middle th, #middle td{
    font-size: 0.85em;
    line-height: 1.6em;
    color: #232323;
}
#middle p.vspace{
    margin-top: 1em;
}
#middle h1,
#middle h2,
#middle h3,
#middle h4{
    color: #555;
}
#middle a{
    color: rgb(106,26,26);
    text-decoration: none;
    font-weight: bold;
}
#middle a:hover{
    color: #ed4235;
}


div#top_menu{
    margin-bottom: 0.5em;
}
div#top_menu ul{
	display: block;
	margin: 0;
	padding: 0;
}
div#top_menu li{
	display: inline-block;
	margin:0;
	padding:5px;
	font-size: 14px;
	font-weight:bold;
}
div#top_menu li a{
	color: rgb(164,26,26);
    color: #ed4235;
	text-decoration: none;
}
div#top_menu div.second-level li{
	font-weight: normal;
}
div#top_menu div.second-level li a{
	color: black;
    font-weight: bold;
}
div#top_menu div.second-level{
    background: rgba(106, 26, 26, .6);
    background: rgba(255, 255, 255, .6);
    margin-top: 1em;
}
div#page_content{
	float:left;
	width: 600px;
	margin:0;
	padding:10px;
    padding-top: 0;
    margin-right: 50px;
}
#sidebar {
	float: right;
	height: auto;
	width: 250px;
    margin-top:30px;
    line-height: 1.5em;
    padding:0 10px;
}

#sidebar a {
	color:#009ec8;
    color: #666;
}

#sidebar p {
	padding-left: 20px;
}

#sidebar table {
	padding-right: 20px;
}
#sidebar ul{
    margin-bottom: 1em;
}
#sidebar ul ul{
    margin-left: 2em;
}
#sidebar li+li{
    margin-top: 0.25em;
    padding: 0.25;
    border-top: solid 1px silver;
}

div#tailer{
    padding-top: 1em;
}
#twitter_hack {
    position: relative;
    left: -10px;
    margin: 1em 0;
}
#twitter_hack p{
    font-size:1.1em;
    padding-left:10px;
}




/*******************************************************
 * layout elements *
 */
textarea{
	width: 100%;
	min-height: 100px;
}


/* Otsikkotyylit. */
h1, h2, h3, h4, h5, h6 { margin-top:1.0em; margin-bottom:0.6em; }
h1, h2, h3, h6 { font-weight:bold; }
h4, h5 { font-weight:bold; }
h1 code, h2 code, h3 code, h4 code { font-size:1em; }
h1 { font-size:2em; }
h2 { font-size:1.8em; }
h3 { font-size:1.5em; }
h4 { font-size:1.07em; }
h5 { font-size:1.0em; }
h6 { font-size:1.0em; }

b, strong{
	font-weight:bold;
}
i{
	font-variant:italic;
}
#wikitext li{
	list-style-type: circle;
}
#wikitext ul, #wikitext ol{
	margin-left: 2em;
	padding-left: 1em;
}

/* Rivinkorkeus */
#wikitext { margin-top:12px; line-height:1.9em; }


/* Linkkivärit */







/* Rollback

#second_level #kavijalle a {
	color:#009ec8;
}

#second_level #ohjelma a {
	color:pink;
}

*/


/*******************************************************
 * control elements *
 */



div.control-bar{
   
    border-bottom: solid 1px #555;
}
div.control-bar ul{
	text-align:right;
	display: block;
	margin: 0px 2px;
	font-family: "Lucida Console", Monaco, monospace;
	padding: 5px;
}
div.control-bar li{
	list-style-type: none;
	display:inline-block;
	padding: 3px 5px;
	padding-top: 4px;
	border: 2px solid #333;
	margin: 0px 5px;
	background: #373737;
}
div.control-bar  a{
	color: #f3f3f3;
	text-decoration: none;
}
div.control-bar  p{
    display: block;
    float: left;
    max-width: 100px;
    height: 30px;
    line-height:30px;
    margin-left: 10px;
}

/*******************************************************
 * Wikistyles *
 */
.rfloat{
	display: block;
	clear: right;
	float:right;
}
div#header,
div#banneri,
div#top_menu{
	clear: both;
}


.sidebar_menu h1,
.sidebar_menu h2,
.sidebar_menu h3 {
       padding-left: 20px;
}
.twtr-widget{
	padding-left: 20px;
}

/* Ohjelmakartan tyylit */

.programlistindex ul { 
    display: block;
    margin: 0;
    padding: 0;
}

.programlistindex li { 
    display: inline-block;
    margin:0;
    padding:5px;
    font-size: 14px;
    font-weight:bold;
    line-height: 1.1em;
}

.programlistcontent table { 
    border-spacing: 0pt;
    padding: 1em;
}

.programlistcontent tr:nth-child(2n+1) { 
    background-color: #e8e8e8;
}

