/* Tyylit */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin:0;
	padding:0;
	border:0;			/* This removes the border around the viewport in old versions of IE */
	width:100%;
	color: #555555;
	background-image: url('../img/bg.jpg');
	background-repeat: no-repeat; background-position: center top; 
	background-color: #17650e;
}

p{
	margin:10px 0;
}

a, a:link, a:visited, a:active{
	font-family: arial;
	color: #008834;
	text-decoration: underline;
}

/* Tällä pakotetaan editorin sisällön linkit oikean näköisiksi
   Eli yleensä sama tyyli kuin tuossa yllä a-elementille, mutta jokaisen perään !important */
.mceContentBody a,.mceContentBody a:link, .mceContentBody a:visited{
	font-family: arial !important;
	color: #ffdd00 !important;
	text-decoration: none !important;
}
.mceContentBody{
	background:transparent !important;
}

a.menu, a.menu:link, a.menu:visited {
	color:#008834;
	text-decoration: none;
	font-size: 14px;
}

a.news, a.news:link, a.news:visited {
	color:red;
	text-decoration: none;
}
td {}
.login {}
input, select, textarea {}
.text{
	width:100%;
}
h1 {
	font-size: 22px;
	color:#008834;;
}
h2 {
	font-size: 18px;
	color: #008834;
}
h2.left_column {
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}
h3 {
	font-size: 14px;
	color: #008834;
}
h4 {
	color: #b4b4b4;
}
h5 {
	color: #b4b4b4;
}
h6 {
	color: #b4b4b4;
}

.error_message{
	color:#ab0000;
	margin:10px 0 20px 0;
}
.success_message{
	color:#368b1c;
	margin:10px 0 20px 0;
}

/* Dropdownmenu */
.menuarea{
	position:absolute;
	display:none;
	width:180px;
	border:1px solid #c3c3c3;
	background-color:white;
	padding-bottom:5px;
}
#menutable .menutop_a{
	color:#6D3A78;
	padding:0 4px;
}
#menutable .menutop{
	color:#3c3c3c;
	padding:0 4px;
}
#menutable .menusub_a{
	color:#6D3A78;
	padding:0 4px;
	font-weight:bold;
	display:block;
}
#menutable .menusub{
	color:#3c3c3c;
	padding:0 4px;
	display:block;
}
.sitenews_revolver_topic{
	display:block;
	position:absolute;
	height:100%;
}

#header {
	clear:both;
	width:720px;
	height: 243px;
	/*border: 1px solid black;*/
	margin-left: auto;
	margin-right: auto;
	background-image: url('../img/header.png');
	background-repeat: no-repeat; background-position: center top; 
}
/* column container */
.mid {
	position:relative;	/* This fixes the IE7 overflow hidden bug */
	clear:both;
	width:720px;			/* width of whole page */
	overflow:hidden;		/* This chops off any overhanging divs */
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
}

#col_vasen{
	border: 1px solid #e8e8e8;
	float: left;
	width: 225px;
	margin-left: 20px;
	background-color: #f5f5f5;
}
#col_keski{
	border: 1px solid #e8e8e8;
	width: 430px;
	clear: none;
	float: left;
	margin-left: 20px;
}
#col_oikea{
	float:right;
	border: 1px solid #e8e8e8;
	width: 280px;
	background-color: #f5f5f5;
	display: block;
	clear: none;
	margin-right: 20px;
}

/********************** MENU STYLES **************************/

#menu {
	
}

img.menu_bc {
	float: left;	
}
div.menu_item_bc, div.menu_item {
	float: left;	
	height: 54px;	
}

div.menu_item_bc {
	background: url('../img/menu/bg_menu_bc.png') repeat-x left top;	
}

div.menu_item a {
	color: #fff !important;
	text-transform: uppercase;
	font-weight: bold;	
}

div.menu_item_bc a {
	color: #008834 !important;
	text-transform: uppercase;
	font-weight: bold;	
}


/* Footer styles */
#footer {
	clear:both;
	margin-left: auto;
	margin-right: auto;
	width:720px;
	background-image: url('../img/footerbg.png');
	background-repeat: no-repeat; background-position: center top;
	padding-top: 30px;
	height: 100px;
}

.palstaheader{
	width: 190px;
	background-color: #008834;
	clear:both;
	margin: 17px auto 0px;
	-moz-border-radius-topleft:1ex;
	-moz-border-radius-topright:1ex;
	-webkit-border-top-left-radius:1ex;
	-webkit-border-top-right-radius:1ex;
}

.palstacontent{
	clear:both;
	width: 188px;
	background: #fff;
	border: 1px solid #d1d1d1;
	margin: 0px auto 20px;
	-moz-border-radius-bottomleft:1ex;
	-moz-border-radius-bottomright:1ex;
	-webkit-border-bottom-left-radius:1ex;
	-webkit-border-bottom-right-radius:1ex;
}

.sisaltoboksi{
	margin: 20px 30px;
}

/****************** FORM STYLES **********************/

div.input_wide {
	text-align: left;
	clear: both;
	height: 27px;
	width: 365px;
	margin: 5px 0px;
	background: url('../img/input_wide.jpg') no-repeat left top;
}

div.input_narrow {
	text-align: left;
	clear: both;
	height: 27px;
	width: 168px;
	margin: 5px 0px;
	background: url('../img/input_narrow.jpg') no-repeat left top;
}

div.input_file {
	float: left;
	height: 27px;
	width: 230px;
	margin: 5px 0px 5px 28px;
	background: url('../img/input_file.jpg') no-repeat left top;
}

input.common {
	display: inline-block;
	float: left;
	background: transparent;
	border: none;
	margin: 5px;
	padding: 0;
	color: #656565;
}

input.wide {
	width: 350px;
}

input.medium {
	width: 300px;	
}
input.narrow {
	width: 131px;
}
input.image {
	margin: 5px 3px;
	padding: 0px;
	float: right;	
}
textarea.textarea {
	background: transparent;
	border: none;
	margin: 5px;
	padding: 0;
	color: #656565;
	height: 153px;
	width: 350px;
	font-family: arial, helvetica;
	font-size: 12px;

}

input.file {
	background: transparent;
	border: transparent;
	height: 23px;
	margin: 2px 11px 2px 7px;
	float: right;
	color: #656565;
	width: 217px;
}

label.outside {
	display: block;
	margin: 5px 3px;
	font-weight: bold;	
}

label.inside {
	display: block;
	float: left;
	margin: 7px 5px;
	color: #656565;	
}

select.list_ainekset option {
	background: url('{$obj_dir}img/input_wide.jpg') no-repeat;
	height: 27px;
	margin-top: 4px;
	width: 360px;
}

option.list_ainekset {
	background: url('{$obj_dir}img/input_wide.jpg') no-repeat;
	height: 27px;
	margin-top: 4px;
	width: 360px;
}

/* Reseptien listaamiset */

ul.reseptit {
	list-style-type: none;
	margin: 10px;
	padding: 0;
}

ul.reseptit li {
	margin-bottom: 5px;
}

ul.reseptit li a {
	text-decoration: none;
	font-size: 13px;
}

ul.julkkikset {
	list-style-type: disc;
	list-style-position: outside;	
}

ul.julkkikset li a{
	text-decoration: underline;
}
ul.julkkikset li {
	margin-bottom: 3px;
}

ul.ainekset {
	list-style-type: none;
	margin: 10px;
	padding: 0;
}

ul.ainekset li {
	margin-bottom: 3px;
}

ul.ainekset li a {
	text-decoration: none;
	font-size: 13px;
}

/* Pyöreäkulmaiset divit */

.round {
	background-color: #fff;
	border: solid 1px #ccc;
	-moz-border-radius:1ex;
	-webkit-border-radius:1ex;
}

input.delete {
	padding: 0;
	width: 16px;
	height: 15px;
	margin-top: 7px;
	margin-right: 7px;
	float: right;
}

