html, body
{
	height: 100%;
	margin: 0px;
}


body
{
	margin-top: 50px;
	padding: 0px;
	/**background: url(../../data/uploads/kuvat/tweed2.jpg) repeat;*/
	font-family: 'EB Garamond', sans-serif;
	font-size: 10pt;
	color: #046380;
}

h1, h2, h3
{
	margin: 0;
	padding: 0;
	font-family: 'EB Garamond', sans-serif;
	color: #EF7347;
	font-variant:small-caps;
}

img
{
	border:1px solid #;
	-webkit-border-radius: 200px;
	-moz-border-radius:20px;
	border-radius: 20px; 
	
}

h1
{
	font-weight: 400;
	font-size: 2.50em;
}

h2
{
	font-weight: 400;
	font-size: 2.50em;
}

p, ol, ul
{
	margin-top: 0px;
}

p
{
	line-height: 180%;
}

strong
{
}

a:link 
{
	color: #000000;
}

a:visited
{
  	color: #000000;

a
{
	color: #000000;

}

a:hover { color:red; }
}

a:hover
{
	text-decoration: none;
}

a img
{
	border: none;
}

img.border
{
}

img.alignleft
{
	float: left;
}

img.alignright
{
	float: right;
}

img.aligncenter
{
	margin: 0px auto;
}

hr
{
	display: none;
}

/** WRAPPER */

#wrapper
{
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: 0px 0px 20px 5px rgba(0,0,0,.10);
	border-radius: 40px;
	background-image: url(../../data/uploads/kuvat/feathers.jpg);
	text-align: justify;
}


.container
{
	width: 1000px;
	margin: 0px auto;
}

.kuva
{
	max-width: 33%;
	max-height: 250px;
	display: inline-block;
}
.after {
	content: "";
	width: 100%;
	max-height: 1px;
	display: inline-block;
    }

.clearfix
{
	clear: both;
}


/** HEADER */

#header
{
	overflow: hidden;
	width: 920px;
	height: 100px;
	padding: 0px 40px;
}

/** LOGO */

#logo
{
	float: left;
	width: 270px;
	
}

#logo h1, #logo p
{
}

#logo h1 a
{
	line-height: 100px;
	text-decoration: none;
	font-size: 2em;
	font-weight: 400;
	color: #FFFFFF;
}

/** MENU */

#menu
{
	float: left;
	width: 650px;
	height: 80px;
	margin-top: 30px;
	background: #FFFFFF;
	box-shadow: 0px 0px 10px 1px rgba(0,0,0,.10);
	border-radius: 20px 20px 0px 0px;
}

#menu ul
{
	margin: 0px;
	padding: 0px;
	list-style: none;
	line-height: normal;
	text-align: center;
}

#menu li
{
	display: inline-block;
	padding: 0px 20px;
}

#menu a
{
	line-height: 39px;
	text-decoration: none;
	font-family: 'EB Garamond', sans-serif;
	font-size: 1.50em;
	color: #046380;
	
}

#menu a:hover
{
	text-decoration: underline;
}

/** PAGE */

#page
{
	overflow: hidden;
	padding: 50px 40px;
}

#page h2
{
	padding-bottom: 10px;
}

/** CONTENT */

#content
{
	float: left;
	width: 600px;
}

/** SIDEBAR */

#sidebar
{
	float: right;
	width: 280px;
}

#sidebar #sbox1
{
	margin-bottom: 10px;
	border:2px solid;
	padding: 20px 0px;
	border-radius:40px;
	background-color:FFFFFF;
}

/* Footer */

#footer
{
	overflow: hidden;
	padding: 30px 0px;
	color: #000000;
}

#footer p
{
	text-align: center;
}

#footer a
{
	color: #000000;
}

.image-style img
{
	margin-bottom: 2em;
	border-radius: 30px;
}

/** LIST STYLE 1 */

.list-style1
{
	margin: 0px;
	padding: 0px;
	list-style: none;
	font-family: 'Open Sans', sans-serif;
	color: #777777;
}

.list-style1 li
{
	padding: 10px 0px 10px 0px;
	border-top: 1px solid #D6D6D6;
	list-style-type: none;
}

.list-style1 a
{
	color: #777777;
}

.list-style1 h3
{
	padding: 10px 0px 5px 0px;
	font-weight: 500;
	color: #444444;
}

.list-style1 .posted
{
	padding: 0px 0px 0px 0px;
}

.list-style1 .first
{
	border-top: 0px;
	padding-top: 0px;
}

/** LIST STYLE 2 */

.list-style2
{
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.list-style2 li
{
	padding: 10px 0px 20px 0px;
	border-top: 1px solid #C9C9C9;
}

.list-style2 a
{
	color: #777777;
}

.list-style2 .first
{
	padding-top: 0px;
	border-top: 0px;
}

.link-style1
{
	display: inline-block;
	margin-top: 20px;
	background: #734F30;
	border-radius: 10px;
	padding: 10px 30px;
	text-decoration: none;
	font-family: 'Garamond', sans-serif;
	font-size: 1.50em;
	color: #FFFFFF;
}

@media (max-width: 960px) {	
#nelonen_media_head {
		display: none;
	}
}

#nelonen_media_head {
	width: 100%;
	background: url('../../data/uploads/kuvat/banneri.jpg') repeat-x;
	text-align: center;
}

#nelonen_media_head img {
	border: 0;
}

#nelonen_media_head_list {
	margin: 0px;
	padding: 0;
	list-style: none;
	display: inline;
}

#nelonen_media_head_list li {
	list-style-type: none;
	display: inline;
	margin-right: 18px;
	line-height: 1.5;
	list-style-position:outside;
	margin-left: 0;
}

#nelonen_media_head_list li.last {
	margin-right: 0px;
}