
/* GENERIC */

BODY {
	padding: 0;
	margin: 0;
	background: #000;
	font-size: 10.5pt;
	font-family: Arial, Helvetica, Sans-serif;
	color: #000;
}

H1, H2, H3 {
	text-transform: uppercase;
	margin-top: 0;
	font-family: Garamond, Georgia, Serif;
}

P {
	margin: 1em 0;	
}

.consumer #header A,
.consumer #main A,
.consumer #footer A {
	text-decoration: none;
	color: #bd7223;
}

.pro #header A,
.pro #main A,
.pro #footer A {
	text-decoration: none;
	color: #53300d;
}

A:hover {
	text-decoration: underline;
}

A IMG{
	border: 0;
}

.col_right {
	float: right;
}

.clearer {
	clear: both;	
}

TH {
	text-align: left;	
}

.ngformError input,
.ngformError textarea {
	background: pink;
}

TABLE.datagrid {
	margin: 1em 0;
	border-collapse: collapse;
	clear: both;
}

.datagrid TD,
.datagrid TH {
	vertical-align: top;
	text-align: left;
	padding: 6px 1em 6px 0;
}

.datagrid TD {
	border-bottom: 1px solid #c9ad76;	
}

.datagrid TD.last-child {
	border-bottom: 0;
}

TABLE.vertical TH {
	vertical-align: top;
        text-align: left;
}

/* ELEMENTS */


.sitewidth {
	width: 960px;
	margin: 0 auto;	
	position: relative;
}

#header {
	padding-top: 6px;
	background: #000;
	height: 110px;
}

	#header .logo {
		float: left;
		margin-top: 6px;
	}
	
	#header .btn {
		display: block;
		width: 149px;
		height: 29px;
		margin: 4px;
		line-height: 29px;
		font-family: Garamond, georgia;
		font-size: 10.5pt;
		font-weight: bold;
		text-transform: uppercase;
		text-decoration: none;
		text-align: center;
	}

	.consumer #header .btn {
		background: url(../img/header_btn_pro.jpg) no-repeat;
		color: #000;
	}
	
	.consumer #header .btn_active {
		background: url(../img/header_btn_consumer.jpg) no-repeat;
		color: #000;
	}

	.pro #header .btn {
		background: url(../img/header_btn_consumer.jpg) no-repeat;
		color: #000;
	}
	
	.pro #header .btn_active {
		background: url(../img/header_btn_pro.jpg) no-repeat;
		color: #000;
	}
	
	#header .flag {
		margin: 6px;
		float: left;
	}
	
	#header .navi {
		list-style: none;
		padding: 0;
		position: absolute;
		top: 79px;
		left: 34px;
	}

	#header .navi LI {
		width: 169px;
		height: 71px;
		line-height: 62px;
		float: left;
		margin-left: -16px;
		color: #f2d37a;
		font-family: Garamond, georgia;
		font-size: 10.5pt;
		font-weight: bold;
		text-transform: uppercase;
		text-align: center;
		text-shadow: #000 0 0 3px;
	}

	.consumer #header .navi LI {
		background: url(../img/lehti_consumer.png) no-repeat;
	}
	
	.pro #header .navi LI {
		background: url(../img/lehti_pro.png) no-repeat;	
	}

	#header .navi LI A {
		color: #f2d37a;
	}
	
	#header .navi LI.current {
		padding-top: 9px;
		color: #fff;
	}

	.consumer #header .navi LI.current {
		background: url(../img/lehti_consumer_active.png) no-repeat;
	}
	
	.pro #header .navi LI.current {
		background: url(../img/lehti_pro_active.png) no-repeat;
	}
	
	#header .navi LI.current A {
		color: #fff;
	}
	
#main {
	/*min-height: 460px;*/
	padding: 50px 0 10px 0;
}

.pro #main {
	background: #d2914d;
    padding-bottom: 50px;
	scrollbar-face-color: #e4ba6a;
	scrollbar-track-color: #ee9441;
	scrollbar-shadow-color: #e4ba6a;
	scrollbar-highlight-color: #e4ba6a;
	scrollbar-3dlight-color: #e4ba6a;
	scrollbar-darkshadow-color: #e4ba6a;
}

.consumer #main {
	background: #fad793;
	scrollbar-face-color: #ee9441;
	scrollbar-track-color: #e4ba6a;
	scrollbar-shadow-color: #ee9441;
	scrollbar-highlight-color: #ee9441;
	scrollbar-3dlight-color: #ee9441;
	scrollbar-darkshadow-color: #ee9441;
}

	#main .sitewidth {
		height: 460px;
		overflow: auto;
	}

	#main .sidebar {
		width: 180px;		
		margin: 0 10px;
		float: left;
		min-height: 10px;
	}

	#main .sidebar UL {
		list-style: none;
		width: 100%;
	}

	.consumer #main .sidebar_left UL {
		background: url(../img/vertical_bar_bg.png) right top repeat-y;
	}

	.consumer #main .sidebar_right UL {
		background: url(../img/vertical_bar_bg.png) left top repeat-y;
	}

	.pro #main .sidebar_left UL {
		background: url(../img/vertical_bar_bg_pro.png) right top repeat-y;
	}

	.pro #main .sidebar_right UL {
		background: url(../img/vertical_bar_bg_pro.png) left top repeat-y;
	}
	
	#main .sidebar LI {
		width: 160px;
		height: 43px;
		line-height: 43px;
		padding: 0 10px;
		margin: 0 0 8px 0;
		text-transform: uppercase;
		overflow: hidden;
		font-family: Garamond, Georgia, Serif;
		font-weight: bold;
	}

	#main .sidebar LI.last-child {
		margin: 0;
	}

	.consumer #main .sidebar LI {
		background: url(../img/btn_bg_consumer_active.png) no-repeat;
	}

	.pro #main .sidebar LI {
		background: url(../img/btn_bg_pro.png) no-repeat;
	}
	
	.consumer #main .sidebar LI.current {
		background: url(../img/btn_bg_consumer.png) no-repeat;
	}

	.pro #main .sidebar LI.current {
		background: url(../img/btn_bg_pro_active.png) no-repeat;
	}
	
	.consumer #main .sidebar LI.sub_current {
		background-image: none;
	}

	.consumer #main .sidebar LI.sub_current A {
		background-color: #FFCC72;
	}

	.pro #main .sidebar LI.sub_current A {
		background-color: #E2B689;
	}
		
	#main .sidebar LI A {
		color: #000;
	}

	#main .sidebar LI.sub {
		height: auto;
		background-image: none;
		text-transform: none;
		line-height: 1.2em;
	}

	#main .sidebar LI.sub A {
		padding: 4px;
		display: block;
	}
	
	#main .sidebar_right LI.sub {
		padding-left: 20px;
		width: 150px;
	}

	#main .sidebar_left LI.sub_current A {
		margin-right: 4px;
	}
		
	.lift {
		display: block;
		width: 240px;
		font-family: Garamond, georgia;
		font-size: 10.5pt;
		font-weight: bold;
		text-align: center;
		text-transform: uppercase;
		position: absolute;
		right: 0;
		z-index: 100;
	}

	.consumer .lift {
		background: url(../img/footer_box_consumer.png) no-repeat;
		color: #000;
        top: 0;
		padding: 60px 0;
		height: 60px;
	}

	.pro .lift {
		background: url(../img/footer_box_pro.png) no-repeat;
		color: #000;
		top: -85px;
		padding: 10px 0;
		height: 140px;
	}
		
	.consumer .lift IMG {
		margin-top: 4px;
	}

	.pro .lift IMG {
		margin-top: 8px;
	}
	
	.columned .half {
		width: 260px;
	}

	.columned .full {
		width: 500px;
	}
	
	.frontpage .columned .half {
		margin: 20px 0 0 40px;
	}

	.frontpage .columned .first {
		width: 520px;
	}

	.frontpage .columned .last {
		width: 280px;
	}

	.frontpage .columned .full {
		width: 920px;
	}
	
	.column {
		float: left;
		margin: 0 10px	
	}
			
#footer {
	padding-bottom: 5px;
	min-height: 89px;
	z-index: 90;
}

#footer .logo {
	display: block;
	margin: 0 auto;
}

.consumer #footer {
	background: #000 url(../img/footer_bg_consumer2.png) repeat-x;
}

.pro #footer {
	background: #000 url(../img/footer_bg_pro.png) repeat-x;
}


/* MISC */

IMG.product {
	float: right;
	margin: 0 0 2em 2em;
	background: transparent;
}

.pro IMG.product {
	border: 3px solid #c9ad76;
	display: block;
}

.consumer IMG.product {
	border: 0;
}

.resepti_container {
        padding: 20px;
}

.table_ravinto {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif; 
	width: 320px;
	border-collapse: collapse;
}
	
.table_ravinto td {
	padding: 3px;
	border: 1px solid #231f20;
}
	
.table_ravinto td.right {
	text-align: right;
	padding-right: 15px;
}

.table_annos {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif; 
}

.table_annos th {
	font-weight: bold;
	text-align: left !important;
}

.table_annos td {
	padding: 3px;
	border: 0px;
}

.table_annos td * {
	display: block;
}

.table_annos .annos_info .legend {
	height: 28px;
}

.table_annos .annos_info .annos_number {
	height: 26px;
	font-size: 14px;
}

.table_annos .annos_info .annos_percent {
	color: #fff;
	font-size: 14px;
}

.table_annos td.annos_info {
	width: 66px;
	height: 79px;
	background: url(../img/gda.gif) center top no-repeat;
	text-align: center;
	font-size: 11px;
}

th.kilpailu, td.kilpailu {
        padding-top: 10px;
}
