/* Default styles */
/****************/

/* Fonts */
/****************/

/* Typography */
/****************/

h1 {
	font-family: 'misoregular', Arial, Verdana;
	font-size: 50px;
	color: #000;
	margin: 0 0 1em 0;
	text-transform: uppercase;
	line-height: 48px;
}

h1.media-heading {
	font-family: 'misoregular', Arial, Verdana;
	font-size: 22px;
	line-height: 22px;
	color: #000;
	margin: 0 0 0 0;
}

h2 {
	font-family: 'misoregular',Arial, Verdana;
	font-size: 35px;
	color: #000;
	margin: .5em 0 .5em 0;
	text-transform: uppercase;
}

h3 {
	font-family: 'misoregular',Arial, Verdana;
	font-size: 20px;
	color: #000;
	margin: 0 0 1em 0;
	text-transform: uppercase;
}

h4 {
	font-family: 'misoregular',Arial, Verdana;
	font-size: 18px;
	color: #000;
	margin: 0 0 1em 0;	
	text-transform: uppercase;
}


p, li, td{
	font-family: Verdana, Arial;
	font-size: 14px;
	color: #000;
}

p.ingressi {
	font-size: 18px;
}

.nosto h2, .nosto p
{
	text-align: center;
}

/* Links */
/****************/

a {
	font-family: Verdana, Arial;
	font-size: 14px;
	color: #464646;
	text-decoration: none;
}

a:hover {
	color: #464646;
	text-decoration: underline;
}

/* Structure */
/****************/
body {	
	background-color: #FFF;
	padding: 0 0 60px 0;
	background-image: url('../images/valkoinentausta.jpg');
	background-repeat: no-repeat;
	background-color: #FFF;
	background-position: top center;
}

body.index{	
	background-image: url('../images/valkoinentausta.jpg');
}
.harmaaviiva
{
	border-top: 1px solid #ccc !important;
	margin-left: -30px !important;
	margin-right: 0px !important;
	
}
img#bg {
    z-index: -1;
    /* Set rules to fill background */
    min-height: 100%;
	min-width: 1024px;
	
	/* Set up proportionate scaling */
	width: 100%;
	height: auto;

	/* Set up positioning */
	position: absolute;
	top: 0;
	left: 0;
}


body.has-navbar {
	padding-top: 20px;
	background-position: center 20px;
}

body.index header {
	position: relative;
	height: 140px;
	z-index: 100;
}

header {
	height: 400px;
}

header .container {
	position: relative;
}

#index-some {
	position: absolute;
	top: 110px;
	right: 40px;
}

#page-some {
	position: absolute;
	bottom: -40px;
	right: 0px;
}

#logo {
	width: 95%;
	height: 103px;
	position: absolute;
	top: 28px;
	left: 20px;
}

#logo-iso {
	width: 50%;
	height: 174px;
	position: absolute;
	top: 20px;
	right: 0px;
}

#video-block {
	z-index: 95;
	position: relative;
	margin: 0 auto;
}

#content-block {
	z-index: 90;
	padding: 10px 0;
	position: relative;	
}

#main-content {
	position: relative;
	border-right: 1px solid #ccc;
}

.content-padding {
	padding: 0 20px 0 0;
}

.container-dark {
	/*background-color: rgba(255,255,255,1);	*/
	background: none !important;
}

.container-light {
	background-color: rgba(255,255,255, 0.8);
}
.kapeafix {
	background-color: rgba(255,255,255, 0.8);
}

.margin-puukko {
	margin-left: 60px;
}

footer .container{
	position: relative;	
	height: 60px;
}

#footer-nav img.line {
	float: right;
}
#footer-nav a {
	color: #000;
	font-family: 'misoregular', verdana;
	font-size: 22px;
	margin-top: 10px;
	display: block;
	float: right;
}

.error-msg {
	color: red;
}

.pad-left {
	padding-left: 15px;
}

.pad-right {
	padding-right: 15px;
}

#split-content {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

	
#video-thumbs .thumb {
	float: left;
	margin-left: 10px;
	margin-bottom: 25px;
	width: 200px;
	font-family: calibri;
	font-size: 14px;
	color: #000;
}

/* Addon styles */
/****************/

.event-headline {
	margin: 0;
}

.news-headline {
	margin: 0 0 1em 0;
}

.news-headline .date{
	display: block;
}



/* Addon area styles */
/*********************/
.addon-area.editable {
	outline: 1px dashed #bbb !important;
	position: relative;
	margin-bottom: 20px;
}

.addon-area.editable .s-container {
	min-height: 20px;
}

.addon-area-controls {
	position: absolute;
	bottom: -20px;
	right: 0px;
}

.addon-controls {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1000;
}

.addon-container {
	position: relative;
}

.addon-disabled {
	opacity: 0.7;
}

.addon-visibility {
	position: absolute;
}

.placeholder {
	float: left;
	width: 230px;
	margin-left: 20px;
	padding: 15px;
	outline: 1px dashed orange !important;
	*border: 1px dashed orange !important;	/* For IE7 */
}

.addon-container.ui-sortable-helper {
	border: 1px dashed #ccc;
	background-color: #000;
	background-color: rgba(255,255,255,0.8);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	opacity: 0.3;
}




/* Spacer */
/****************/
.addon-area.editable .spacer {
	position: relative;
	outline: 1px dashed #bbb !important;
	outline-offset: -2px;
}

/* Carousel */
/****************/
.carousel {
	overflow: hidden;
	min-height: 40px;
}

.carousel-control {
	border: 0;
	border-radius: 0;
	background-color: #000;
	height: 71px;
	font-size: 0;
}

.carousel-control:hover {
	text-decoration: none;
	border: 0;
}

.carousel-control.right {
	left: auto;
	right: 0px;
	background-image: url('../images/nuoli-iso-oikea.html');
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: center right;
}

.carousel-control.left {
	right: auto;
	left: 0px;
	background-image: url('../images/nuoli-iso-vasen.html');
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: center left;
}


/* Banners */
/****************/
.banner-container {
	margin: 0 0 5px 0!important;
}

.banner-container img {
	display: block;
	margin: 0 auto;
}


/* CK Editor */
/****************/
.cke_editable[contenteditable=true].cke_focus
{
	outline: 1px dashed orange !important;
	*border: 1px dashed orange !important;	/* For IE7 */
}

div[contenteditable=true] {
	outline: 1px dashed #bbb !important;
}


/* Navigations */
/****************/

#navigation {
	position: relative;
	border-bottom: 1px solid #ccc;
	margin-bottom: 30px;
	padding-bottom: 10px;
}

#navigation a {
	color: #000;
	font-family: 'misoregular', verdana;
	font-size: 20px;
	display: block;
	position: relative;
	float: left;
	padding: 5px 0;
	margin: 0;
	padding: 0 10px;
	border-left: 1px solid #ccc;
}

#navigation a:first-child {
	border-left: 0;
}

#navigation .smaller {
	margin-bottom: 10px;
}

#navigation .smaller a {
	font-size: 15px;
}

#navigation img.line {
	float: left;
}

/* Resolution specific styles */
/****************/

@media screen and (max-width: 1024px) { 
	img#bg {
		left: 50%;
		margin-left: -512px;   /* 50% */
	}
}

/* Large desktop */
/****************/
@media (min-width: 1200px) {
	#navigation  a {
		font-size: 26px;
	}
	
	#navigation  .smaller a {
		font-size: 19px;
	}
	
	#index-some {
		top: 70px;
	}
	
	#page-some {
		right: 110px;
	}
}
 
/* Portrait tablet to landscape and desktop */
/********************************************/
@media (min-width: 768px) and (max-width: 979px) { 
	.margin-puukko {
		margin-left: 20px;
	}

	#navigation  a {
		font-size: 16px;
	}
	
	#navigation  .smaller a {
		font-size: 10px;
	}
	
	#page-some {
		
	}
}
 
/* Landscape phone to portrait tablet */
/**************************************/
@media (max-width: 767px) {
	.margin-puukko {
		margin-left: 0px;
	}
	header {
		height: 200px;
	}
	
	#logo {
		width: 100%;
		height: 60px;
		position: absolute;
		top: 10px;
		left: 10px;
	}
	
	#page-some {
		bottom: 0px;
	}
	
	#logo-iso {
		top: 20px;
	}
	
	#navigation .smaller  {
		float: left;
		width: 45%;
	}
	
	#navigation .normal  {
		float: right;
		width: 45%;
	}
	
	#navigation  .smaller a  {
		height: auto;
		font-size: 16px;
		border-left: 0;
		border-right: 1px solid #474747;
		padding-bottom: 6px;
	}
	

	#navigation  a {
		height: auto;
		font-size: 20px;
		border-left: 0;
		border-right: 1px solid #474747;
		padding-bottom: 6px;
	}
}
 
/* Landscape phones and down */
/*****************************/
@media (max-width: 480px) {
	.margin-puukko {
		margin-left: 0px;
	}
	
	header {
		height: 200px;
	}
	
	#logo-iso {
		top: 20px;
	}
}

@media (max-width: 1024px) { 
	#banner-area-right {
		display: none;
	}
	
	#header-fb-tilted {
		right: -20px;
	}
}