body, html {
	height: 100%;
}

body {
	background: #058DBD url('img/bg.jpg') no-repeat top center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin: 0;
	padding: 0;
	color: #121417;
	font-family: "pragmatica-web",sans-serif;
}

h1 {
	font-weight: 100;
	font-size: 50px;
	-webkit-font-smoothing: antialiased;
	 font-smoothing: antialiased;
	 display: inline;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 100;
}

h1.error {
	display: block;
}

p {
	margin-top: 10px;
}

a:link, a:visited {
	color: #c32b3b;
}

.nostot a:link, .nostot a:visited {
	color: #c32b3b;
}

.nav > li > a:hover {
	text-decoration: underline;
	font-color: #121417;
	background-color: none;
}

video {
	width: 100%;
}

address {
	line-height: 12px;
	padding: 0;
	font-size: 12px;
	margin-bottom: 12px;
}

address p {
	margin-bottom: 0;
}

#wrap {
	height: auto !important;
	margin: 0 auto -47px;
	min-height: 100%;
}

.top {
	background-color: #fff;
	height: 60px;
	width: 100%;
	margin: 0;
	border-bottom: 1px solid #c1c1c4;
	-moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.44);
	-webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.44);
	box-shadow: 0 2px 2px rgba(100, 100, 100, 0.44);
	position: relative;
}

.logo-container {
	margin-left: auto;
	margin-right: auto;
	width: 1170px;
}
.secondary-menu {
	float: right;
	height: 60px;
}
.secondary-menu .nav li {
	float: left;
	margin: 0 10px;
	line-height: 60px;
	height: 60px;
}

.secondary-menu .nav li a:link,
.secondary-menu .nav li a:visited {
	color: #121417;
}

.secondary-menu .nav {
	float: right;
	margin-right: 5px;
}

.top .logo {
	margin: 0;
	margin-left: 15px;
	line-height: 60px;
}

.content-wrap {
	background: #fff;
	height: auto !important;
	min-height: 100%;
}
.row {
	margin: 0;
}
.navbar {
	font-size: 16px;
	width: 100%;
	margin: 0;
}
.nav-header {
	display: block;
	height: 45px;
	margin: 0;
	text-shadow: none;
	padding: 0;
}
.nav-header li {
	float: left;
	height: 45px;
	line-height: 45px;
	list-style-type: none;
	text-align: center;
	margin: 10px 10px 10px 14px;
}
.nav-header li.first {
	margin-left: 15px;
}

.nav-header li.nav-path-selected {
	padding-bottom: 9px;
	background: url('img/main-selected.png') no-repeat center bottom;
}
.nav-header a.nav-path-selected {
	background: #c32b3b;
}
.nav-header li a {
	display: block;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: normal;
	line-height: 45px;
	height: 45px;
	padding: 0 10px;
	background: #058dbd;
	min-width: 150px;
	text-transform: none;
}

.valikko .nav {
	margin: 0;
	padding: 0;
}
.valikko .nav li {
	margin-bottom: 10px;
}
.valikko .nav a {
	display: block;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: normal;
	line-height: 45px;
	height: 45px;
	padding: 0 10px;
	background: #058dbd;
	min-width: 150px;
}

.valikko .nav li.nav-selected {
	padding-right: 9px;
	background: url('img/valikko-selected.png') no-repeat right center;
	width: 170px;
}
.valikko .nav a.nav-selected {
	background: #c32b3b;
}

.nosto-otsikko {
	color: #fafafa;
	display: block;
	background: #058dbd;
	height: 45px;
	line-height: 45px;
	font-size: 24px;
	padding-left: 15px;
}

.content {
	margin-top: 20px;
}

.nostot p {
	margin-left: 15px;
}

.content .content-title, 
.content h1 {
	color: #c32b3b;
	font-size: 30px;
}

.content .content-subtitle
.content h2 {
	color: #747474;
	font-size: 18px;
}

.ccm-page-list-title {
	font-size: 22px;
}

.ccm-page-list-title time {
	display: block;
	font-size: 12px;
	line-height: 13px;
}

#push {
	height: 60px;
}

#footer {
	background: #058dbd;
	height: 57px;
	text-align: center;
	color: #fff;
	position: relative;

}

	/* Large desktop */
@media (max-width: 1200px) {
	.nav-header li,
	.nav-header li.first {
		margin: 8px 20px;
	}
	.nav-header li a {
		min-width: 180px;
		padding: 0 8px;
	}
	.ylakuva  {
		margin: 0 10px;
	}

	.visible-desktop {
		display: none !important;
	}
	.container {

	}
}
	 
	/* Portrait tablet to landscape and desktop */
@media (max-width: 979px) {  
	.nav-header li,
	.nav-header li.first {
		margin: 5px 8px;
	}
}
	 
	/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
	.valikko .nav li.nav-selected {
		width: 100%;
	}
}
	 
	/* Landscape phones and down */
@media (max-width: 630px) { 
	.nav-header li {
		padding-bottom: 10px;
	} 
}
