/* #Styles
================================================== */



/* FONTS */
@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  src: local('Fjalla One'), local('FjallaOne-Regular'), url(http://themes.googleusercontent.com/static/fonts/fjallaone/v1/rxxXUYj4oZ6Q5oDJFtEd6hsxEYwM7FgeyaSgU71cLG0.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}





/* General */
html {
	background:#1b1b1b;
}
body {
	background: #EFEFEF;
	font: 14px/21px 'Open Sans', Arial, Helvetica, sans-serif;
	color: #333;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Fjalla One', 'Open Sans', Arial, Helvetica, sans-serif;
	font-weight: normal;
	letter-spacing: -1px;
}

/* on bootstrap
.lead {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 200;
  line-height: 30px;
}
h2 {
  font-size: 31.5px;
}
*/

hr {border-top-color: #DDD;}
a {color: #33b5e5;}
.thumbnail {background: #FFF;}
.topmargin2 {margin-top: 2%;}
.topmargin3 {margin-top: 3%;}
.topmargin5 {margin-top: 5%;}
.topmargin10 {margin-top: 10%;}
.topmargin15 {margin-top: 15%;}
.topmargin20 {margin-top: 20%;}
.topmargin25 {margin-top: 25%;}
.topmargin30 {margin-top: 30%;}
.topmargin35 {margin-top: 35%;}
.topmargin40 {margin-top: 40%;}
.topmargin45 {margin-top: 45%;}
.topmargin50 {margin-top: 50%;}
.topmargin55 {margin-top: 55%;}
.topmargin60 {margin-top: 60%;}
.topmargin65 {margin-top: 65%;}
.topmargin70 {margin-top: 70%;}
.topmargin75 {margin-top: 75%;}
.topmargin80 {margin-top: 80%;}
.topmargin85 {margin-top: 85%;}
.topmargin90 {margin-top: 90%;}
.topmargin95 {margin-top: 95%;}
.topmargin100 {margin-top: 100%;}
.bottommargin2 {margin-bottom: 2%;}
.bottommargin3 {margin-bottom: 3%;}
.bottommargin5 {margin-bottom: 5%;}
.bottommargin10 {margin-bottom: 10%;}
.bottommargin15 {margin-bottom: 15%;}
.bottommargin20 {margin-bottom: 20%;}
.bottommargin25 {margin-bottom: 25%;}
.bottommargin30 {margin-bottom: 30%;}
.bottommargin35 {margin-bottom: 35%;}
.bottommargin40 {margin-bottom: 40%;}
.bottommargin45 {margin-bottom: 45%;}
.bottommargin50 {margin-bottom: 50%;}
.bottommargin55 {margin-bottom: 55%;}
.bottommargin60 {margin-bottom: 60%;}
.bottommargin65 {margin-bottom: 65%;}
.bottommargin70 {margin-bottom: 70%;}
.bottommargin75 {margin-bottom: 75%;}
.bottommargin80 {margin-bottom: 80%;}
.bottommargin85 {margin-bottom: 85%;}
.bottommargin90 {margin-bottom: 90%;}
.bottommargin95 {margin-bottom: 95%;}
.bottommargin100 {margin-bottom: 100%;}

/* Header */
#header {}
#header .brand {
	font-family: 'Fjalla One', 'Open Sans', Arial, Helvetica, sans-serif;
	font-weight: normal;
	/*background: #FFF;
	padding: 40px 10px 10px 10px;
	color: #2f2f2f !important;*/
	background:#222;
	padding: 20px 5%;
	position: absolute;
	margin-left: 0;
	z-index: 999;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	border-radius: 0 0 4px 4px;
	color: #bbb;
}
#header .brand:hover {
	color:white;
}
#header .nav a i {
	float: left;
	margin-top: 3px;
	margin-right: 5px;
	opacity: 0.5;
}
#header .nav a:hover i, #header .nav li.active i {
	opacity: 1;
}
#header .navbar-inner {
	/*background: #2f2f2f;*/
	background: #111;
}
#header.navbar .divider-vertical {
    border-left: 1px solid #5d5d5d;
    height: 20px;
    margin: 10px 10px 0 9px;
}
#header .badge {
	font-size: 10px;
	line-height: 10px;
	font-weight: normal;
	padding: 2px 5px 3px 5px;
	margin-left: 5px;
}

/* Hero */
#hero_wrapper {
	background-color:#222;
	/* set background color for the time when backstretch loads the background image */
}

#hero {
	overflow: hidden;
	color: #FFF;
	background-color:#222;
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	min-height:300px;
}
#hero h1, #hero h2, #hero h3, #hero h4, #hero h5, #hero h6 {
	color: #FFF;
}
#hero .lead {
	opacity: 0.8;
}



/*
	ICONS
*/


/* == Joni ==  */


li.thumb {
	/*height:500px;*/
}

li.thumb img {
	position: absolute;
	/*rect (top, right, bottom, left)*/
	clip: rect(0 500px 500px 0px);	
	height:500px;
}

.flex-control-nav {
	bottom: -30px;
}

#hero .hero_container {
	background-color: white;
	opacity: 0.8;
	padding: 10px 40px;
	border-radius: 10px;
}
#hero .hero_container h2 {
	opacity: 1;
	color: black;
}

#hero h2 a {
	font-size: 100px;
	line-height:1em;
	opacity: 0.5;
	color: white;
	text-decoration:none;
}
#hero h2 a:hover {
	opacity: 0.9;
	color: white;
	text-decoration:none;
}

.div01 {
	background-color:#333;
	color: black;
}

.flexslider {
	background:#eee;
	color: #555;
}
.flexslider li p {
	padding:3px;
	margin:0;
	line-height:1em;
}

.float_right {
	float:right;
	padding-right:3px;
}


.dark_area {
	background:#222;
	color:#ccc;
	padding-top:2%;
	padding-bottom:2px;
}
.black_border {
	border: 1px solid black;
}

.photo_wrapper {
	margin:0 auto;
	text-align:center;
}

.photo_wrapper .row {

}

.photo_border {
	margin-right:20px;
}

.photo_border img {
	display: block;
	margin: 0 auto;
	padding:0px;
	background:black;
}

#album h2, #photo h2 {
	border-bottom:1px solid #ccc;
	margin-right:20px;
}

.right {
	float: right;
	margin-bottom: 0;
	margin-top:10px;
	margin-right:20px;
}

#photo .container {
	width:1220px;
	max-width: 100%;
}

a.wide_font {
	letter-spacing: 4px;
	font-size: 120%;
}

.ajax_feed {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background:#444;
	margin-left:0px;
	padding:0;
	padding-bottom: 10px;
}
.ajax_feed p {
	margin:0;
	padding:0;
}

img.feedimg {
	padding:8px;
	padding-bottom:0;
	/*float:left;*/
	height:142px;
}

#linkit h3 {
	margin-bottom:0;
}

#photo_wrapper { width: 100%; }

/* Features */
#features {
	padding-top: 100px;
	margin-bottom: 100px;
}
.featurebox {
	text-align: center;
	word-wrap: break-word;
}
.description {
	text-align:right;
	font-size:85%;
}

#linkit .featurebox {
	text-align: center;
}

.wrap {
	word-wrap: break-word;
}

/* About */
#about {
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding-top: 100px;
	padding-bottom: 100px;
	background: #FFF;
	background: rgba(255,255,255,0.5);
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#about1 {}
#about2 {}
#about3 {}

/* Gallery */
#gallery {
	padding-top: 100px;
}
.thumbnail img {
	width: 100%;
	height: auto;
}

/* Download */
#download {
	padding-top: 100px;
}
.downloadbox {
	text-align: center;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


/* Contact */
#contact {
	padding-top: 100px;
	margin-bottom: 100px;
}
#map {}
#map iframe {
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#address {}
#contact-form {}

/* Footer */
#footer_wrapper {
	background-color: #111;
}

#footer {
	background-color: #111;
	height:200px;
	color: #999;
	padding: 60px 0 50px 0;
	text-align: center;
}
#footer a {
	color: #FFF;
}

#footer h3 {
	display:inline;
	font-family:'Open Sans', Arial, sans-serif;
	font-size:120%;
}

/* #Media Queries
================================================== */

/* Higher than 1280px (Desktop big) */
@media only screen and (min-width: 1280px) {}

/* Between 980px and 1270px (Desktop normal) */
@media only screen and (min-width: 980px) and (max-width: 1279px) {}

/* Higher than 980px (Desktop big and normal) */
@media only screen and (min-width: 980px) {
	body {
		/*background: #EFEFEF url(../img/bg.jpg) repeat-y top center;*/
		background: #eee;
	}
	#hero {
		margin-top: 41px;
	}
	#hero .btn-large {
		font-size: 24.5px;
		padding: 18px 26px;
		margin-top: 20px;
	}
	.thumbnail:hover {
		-moz-transform:scale(1.1,1.1);
		-webkit-transform:scale(1.1,1.1);
		-o-transform:scale(1.1,1.1);
		transform:scale(1.1,1.1);
	}
}

/* Smaller than 980px (Tablet and mobile) */
@media only screen and (max-width: 979px) {
	.lead {
		margin-bottom: 20px;
		font-size: 19.5px;
		font-weight: 200;
		line-height: 30px;
	}
	#header .brand {
		padding: 20px 3%;
	}
	#hero h2 a {
		font-size: 60px;
		line-height:1em;
		opacity: 0.3;
		color: white;
		text-decoration:none;
	}
	#hero h2 a:hover {
		opacity: 0.8;
		color: white;
		text-decoration:none;
	}
	#header .nav {
		margin-top: 50px;
	}
	#header.navbar-fixed-top{
		margin-bottom: 0;
	}
	#header.navbar-fixed-top .navbar-inner {
		padding: 0 20px;
	}
	#hero .lead {
		font-size: inherit;
		line-height: inherit;
	}
}

/* Between 768px and 979px (Tablet portrait) */
@media only screen and (min-width: 768px) and (max-width: 979px) {}

/* Smaller than 767px (Mobile portrait and landscape) */
@media only screen and (max-width: 767px) {
	.lead {
		margin-bottom: 20px;
		font-size: 16px;
		font-weight: 200;
		line-height: 30px;
	}
	#hero {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}
	h2 {
 		font-size: 26px;
	}
	#header .brand {
		padding: 20px 3%;
	}
	#hero h2 a {
		display:none;
	}
	#hero h2 a:hover {
		display:none;
	}
	#linkit .featurebox {
		margin-top: 40px;
	}
	#linkit .featurebox:first-child {
		margin-top: 0;
	}
	#linkit img {
		width:380px;
	}
	#lisatietoa, #footer {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}
	#lisatietoa .row > div:first-child {
		margin-bottom: 40px;
	}
	#lisatietoa hr {
		margin-bottom: 35px;
	}
	#address {
		font-size:16px;
	}

	.dark_area {
		background:#222;
		color:#ccc;
		padding:20px;
		margin-left:-20px;
		margin-right:-20px;
		padding-top:2%;
		padding-bottom:2px;
	}
	
	.flex-control-nav {
		bottom: -30px;
	}
	
	.description {
		text-align:center;
	}
	.photo_wrapper { width: 100%; float:left; }
	.photo_wrapper .row .featurebox { text-align:left; }
	.photo_border { text-align:left; width:100%; }
	/*.photo_border img {	max-width: 900px; }*/

}

/* Between 480px and 767px (Mobile landscape) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.flexslider {
		max-width: 500px;
		text-align:center;
		margin-left:auto;
		margin-right:auto;
	}
	
	.description {
		text-align:center;
	}
	.photo_wrapper { width: 100%; float:left; }
	.photo_wrapper .row .featurebox { text-align:left; }
	.photo_border { text-align:left; }
	/*.photo_border img {	max-width: 900px; }*/
}

/* Smaller than 479px (Mobile portrait) */
@media only screen and (max-width: 479px) {
	#header .brand {
		padding: 20px 3%;
		max-width: 200px;
	}
	
	.description {
		text-align:center;
	}
	
	.photo_wrapper { width: 100%; float:left; }
	.photo_wrapper .row .featurebox { text-align:left; }
	.photo_border { text-align:left; }
	/*.photo_border img {	max-width: 600px; }*/
}