/* @author Dumppi ry           */
/* dumppi (at) dumppi (dot) fi */

html
{
    font-family: "Tahoma", Sans-serif;
    font-size: 0.9em;
    height:100%;
    padding: 0px;   
    background-color: #ffffff;
    background-image: url('../images/bgvuju.jpg'); /*--- Vujujen j?lkeen t?m? on images/voffeli.png ---*/
    background-position: right top;
}

body
{
    font-family: "Tahoma", Sans-serif;
    font-size: 0.9em;
    max-width: 900px;
    margin: 0px auto 20px auto;
    padding: 0px;
    background-color: #ffffff;
}

table,td,tr,td
{
    font-family: "Tahoma", Sans-serif;
    font-size: 1em;
    text-align: left;
}

div#container
{
    width: 900px;
    border-right: 1px solid #7A0001;
    border-left: 1px solid #7A0001;
    border-bottom: 1px solid #7A0001;
    background-image: none;
    background-color: #ffffff;
    text-align: left;
}

body>div#container {
    width: 900px;
    max-width: 900px;
}

div#header
{
    height: 158px;
    background-image: url('../images/dumppi_header3.jpg');
    background-repeat: no-repeat;
    background-position: 0px 5px;
    background-color: #7A0001; 
    padding-bottom: 5px;
    padding-left: 724px;
}


div#menu
{
    padding: 5px;
    padding-left: 150px;
    border-bottom: 1px solid #7A0001;      
}

div#left
{
    float:left;
    width: 150px;
    height:100%;
}

/* suuri huijaus */
div#contentborder
{
    /* border-left: 180px solid #ffffff; */
    /* border-right: 180px solid #ffffff; */
    border-left: 1px solid #7A0001;
    border-right: 1px solid #7A0001;
    margin-left: 150px;
    margin-right: 180px;
    height: 100%;
    padding: 1em;
}

div#contentborder:after	{content:' '; clear:both; display:block; height:0; overflow:hidden; }

div#contentOHNOESIBROKETHIS
{
    padding: 1em;
    border-left: 1px solid #7A0001;
    border-right: 1px solid #7A0001;
    /* height: 100%; */
}

div#right
{
    float:right;
    width: 180px;
    height:100%;
}

div#infobox, div#menu2 { padding: 1em; }

h1 { margin: 0 0 1em 0; padding-top: 0.25em; font-size:1.75em;}
h2 { font-size:1.5em; }

img { border: 0px solid; }

.even { background-color: #eeeeee; }
.odd { background-color: #dddddd; }

.banners { text-align: center; }

.banners img
{
	margin-bottom: 1em;
}

.yhteistyo
{
  float: left;
  width: 50%;
}

.yhteistyo
{
  text-align: center;
}

.mandatory { color: red; }

div#menu2 h2 { margin: 0; padding: 0; }

div#menu li { display:inline; padding:0em; margin:0em; }
div#menu ul { display:inline; padding:0em; margin:0em; }

div#menu2 ul { padding:0em; padding-left:1em; margin:0em; list-style-type: none; }
div#menu2 li { margin-top: 0.25em; }

div#menu a:link { padding: 5px; text-decoration:none; font-weight:bold; color:#7A0001; background-color:#ffffff; }
div#menu a:visited { padding: 5px; text-decoration:none; font-weight:bold; color:#7A0001; background-color:#ffffff; }
div#menu a:active { padding: 5px; text-decoration:none; font-weight:bold; color:#ffffff; background-color:#7A0001; }
div#menu a:hover { padding: 5px; text-decoration:none; font-weight:bold; color:#ffffff; background-color:#7A0001; }

div#menu2 a:link { text-decoration:none; font-weight:bold; color:#7A0001; background-color:#ffffff; }
div#menu2 a:visited { text-decoration:none; font-weight:bold; color:#7A0001; background-color:#ffffff; }
div#menu2 a:active { text-decoration:none; font-weight:bold; color:#ffffff; background-color:#7A0001; }
div#menu2 a:hover { text-decoration:none; font-weight:bold; color:#ffffff; background-color:#7A0001; }

a:link { text-decoration:underline; color:#7A0001; }
a:visited { text-decoration:underline; color:#7A0001; }
a:active { text-decoration:underline; color:#E68700; }
a:hover { text-decoration:underline; color:#E68700; }

/* ruokalistat */

div#content .menus
{
    margin-top: 1em;
    border: 1px dashed #7A0001;
    padding: 5px;
    background-color: #FFDDFF;
}

.menus h2 { margin: 0; padding: 0; }

.menus .right
{
    float:right;
}

/* legacy */

div#content .txt ul.sponsors
{
    clear: none;
    margin: 1em 0 1em 0;
    text-align: center;
}

div#content .txt ul.sponsors li
{
    clear: none;
    display: inline;
    margin: 0 0.5em 0 0.5em;
}

div#content .txt .old_boards
{
    position: relative;
    clear: both;
    text-align: center;
    padding: 1em;
}

div#content .txt .board
{
	width: 100%;
	padding: 0;
	padding-left: 1em;
}

div#content .txt .board .member
{
	float: left;
	height: 210px;
	width: 48%;
	padding: 0;
	margin: 0;
        overflow: hidden;
#	margin-left: 1%;
#	margin-right: 1%;
}

div#content .txt .board .nopic
{
	float: left;
	height: 5em;
	width: 48%;
	padding: 0;
	margin: 0;
#	margin-left: 1%;
#	margin-right: 1%;
}

div#content .txt .board .member img,
div#content .txt .member ul
{
	display: inline;
	float: left;
	vertical-align: top;
}

div#content .txt .board .member img
{
	margin: 0;
	padding: 0;
}

div#content .txt .board .member ul
{
	clear: none;
        width: 62%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0 0 0 0.5em;
}

div#content .txt .board .member li
{
	clear: none;
	list-style-type: none;
	margin-bottom: 0.3em;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding: 0 0 0 0;
}

div#content .txt li.years
{
	padding-top: 1em;
	clear: both;
	text-align: center;
	list-style-type: none;
}

div#content .txt table.hallitus
{
	clear: none;
	text-align: left;
	width: 100%;
}

div#content .txt .error
{
	margin-top: 1em;
    border: 1px dashed #7A0001;
    padding: 5px;
}

div#content .txt .info
{
	margin-top: 1em;
    border: 1px dashed #7A0001;
    padding: 5px;
}

div.tutor
{
  width: 90%;
  padding-left: 5%;
}

div.tutor > img
{
  width: auto;
  clear: left;
}

div.tutor p
{
  width: 70%;
  padding-top: 5%;
  float: right;
}

/* osallistujataulukko */

div#content .txt table.event
{
    border-collapse: collapse;
    width: 100%;
}

div#content .txt table.event th
{
    padding-left: 1em;
    vertical-align: top;
}

div#content .txt table.event td
{
    padding: 3px;
    padding-left: 1em;
    vertical-align: top;
}

div#content .txt table.event th.varasija
{
    padding-top: 1em;
	padding-bottom: 1em;
}

@media print
{
	.noprint
	{
		display: none
	}
    html { background-image: none; }
    
    div#contentborder:before {content: "Dumppi ry"; font-size: 2em; padding-bottom: 1em; }
    
    div#header, div#menu, div#menu2, div#infobox { display:none; }
    div#contentborder, div#content, div#container { border: 0px; }
    div#left, div#right { display:none; }
}
/*Calendar*/
div#cal{
	font-size: 10px;
	margin-top: 15px;
}
	
div#cal table{
	table-layout: fixed;
	background-color: #ffffff;
	color: #000000;	
	cursor: default
}
div#calTop{
	text-align:	center; 
}
a#calMonth{
	text-decoration: none;
	background-color: #c1c1c1;
	color: #000000
}
a#calMonth:hover{
	text-decoration: none;
	background-color: #c1c1c1;
	color: #dcdcdc
}
tr.calWeeks td.calNorm{
	text-align: center;
	background-color: #ffffff;
	color: #c1c1c1
}
tr.calWeeks td.calEvent{
	background-color: #ffffff;
	color: #000000
}
tr.calWeeks td.calEmpty{
	background-color: #ffffff
}	
tr#calWeekDays{
	background-color: #740403;
	color: #ffffff
}
tr#calWeekDays td{
	background-color: #740403;
	color: #ffffff;	
	width: 15px;
	text-align: center
}
tr.calWeeks{
	background-color: #740403;
	color: #ffffff
}
tr.calWeeks td {
	background-color: #740403;
	color: #ffffff;	
	width: 15px;
	text-align: center
}

td#calCurDate{
	background-color: #ffffff;
	color: #c1c1c1;
	border: 1px solid #000000
}
td#calCurDateEvent{
	background-color: #ffffff;
	color: #000000;
	border: 1px solid #000000
}
td#calWeekNum{
	background-color: #740403;
	color: #ffffff;
	width: 15px;
	text-align: center
}

div#menu2 a.calEventLink:link { font-weight: normal; text-decoration: none; background-color: #ffffff;	color: #000000 }
div#menu2 a.calEventLink:visited { font-weight: normal; text-decoration: none; background-color: #ffffff;	color: #000000 }
div#menu2 a.calEventLink:active { font-weight: normal; text-decoration: none; background-color: #ffffff;	color: #000000 }
div#menu2 a.calEventLink:hover { font-weight: normal; text-decoration: none; background-color: #ffffff;	color: #000000 }

div#fbthumb {
  text-align: center;
  margin-top: 1em;
}

div#fbthumb a:hover { background-color: white; }

#fbthumb a img { opacity: 0.8;}
#fbthumb a img:hover { opacity: 1;}

a.calEventLink span.info{
	position: absolute;
	margin-left: 10px;
	padding: 2px;
	background-color: #ffffff;
	opacity: .8;
	filter: alpha(opacity=80);
	color: #000000;
	border: 1px solid #000000;
	max-width: 100px;
	text-align: left;
	visibility: hidden
}
a.calEventLink:hover span.info{
	visibility: visible;
	background:#ffffff
}

pre {
   white-space: pre-wrap; /* css-3 */
   white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
   white-space: -pre-wrap; /* Opera 4-6 */
   white-space: -o-pre-wrap; /* Opera 7 */
   word-wrap: break-word; /* Internet Explorer 5.5+ */
}

