@charset "UTF-8";
/* CSS Document */

body {
	max-width: 1200px;
	margin: auto;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 0.95em;
}

/* FONTIT JA LINKIT */
h1 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2.75em;
	font-weight: 300;
	color: #4A4A4A;
	padding: 0em;
}

h2 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2.2em;
	font-weight: 300;
	color: #505050;
	padding: 0em;
}

h3 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.8em;
	font-weight: 300;
	color: #505050;
	padding: 0em;
}

h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.5em;
	font-weight: 300;
	color: #484848;
	padding: 0em;
}

.thumbnail h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2em;
	font-weight: 300;
	color: #505050;
}

.bigger-txt{
	font-size: 120%;
	font-weight: 500;
}

a {
  outline: none;
  text-decoration: none;
}
a:link {
	color: #D46800;
}
a:visited {
	color: #b75a00;
}
a:hover {
	color: #858585;
	text-decoration: underline;
}
a:active {
	text-decoration: underline;
}

nav ul li a {
	color: #303030 !important;
}

nav ul li a.location{
	font-weight: bolder;
	color: #000000;
	border-bottom: 1px dotted;
}
	
.logo {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 1.5em;
}

.logo img {
	width: 300px;
}

nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

nav ul li {
	display: inline;
	list-style-type: none;
	padding-right: 1.5em;
}

nav ul li a{
	text-decoration: none;
	font-family: 'Marvel', sans-serif;
	font-size: 1.2em;
	color: #000000;
}

/* HEROKUVA + TEKSTIT*/
.container {
	position: relative;
	text-align: left;
	color: #ffffff;
}

.container img{
	max-width: 100%;
	height: auto;
}

/* Bottom left text */
.bottom-left {
	position: absolute;
	bottom: 1.4em;
	left: 17em;
}

.bottom-left h2 {
	color: #ffffff;
	font-size: 1.3em;
	margin: 0em;
}

.bottom-left p {
	color: #ffffff;
	font-size: 0.9em;
	line-height: 1.5;
	margin: 0em;
}

/* Top left text */
.top-left {
	position: absolute;
	top: 30%;
	left: 10%;
}

.top-left h1 {
	color: #ffffff;
	font-size: 3em;
	margin: 0em;
}

.top-left p {
	color: #ffffff;
	font-size: 1.6em;
	line-height: 1.5;
	margin: 0em
}

/* Top right text */
.top-right {
	position: absolute;
	top: 10%;
	right: 5%;
}

.top-right h1 {
	color: #ffffff;
	font-size: 2.3em;
	margin: 0em;
}

.top-right p {
	color: #ffffff;
	font-size: 1.5em;
	line-height: 1.5;
	margin: 0em;
}

/* Bottom right text */
.bottom-right {
	position: absolute;
	bottom: 2em;
	right: 2.6em;
}

.bottom-right h1 {
	color: #ffffff;
	font-size: 1.8em;
	margin: 0em;
}

.bottom-right h2 {
	color: #ffffff;
	font-size: 1.3em;
	margin: 0em;
}

.bottom-right p {
	color: #ffffff;
	font-size: 0.9em;
	line-height: 1.5;
	margin: 0em;
}

/* Centered text */
.centered {
	position: absolute;
	top: 6%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.centered h1 {
	color: #ffffff;
	font-size: 2em;
	margin: 0em;
}

.centered p {
	color: #ffffff;
	font-size: 1.3em;
	line-height: 1.5;
	margin: 0em;
}

/* Centered näytösteksti */
.centered2 {
	position: absolute;
	top: 35%;
	left: 67%;
	transform: translate(-50%, -50%);
}

.centered2 h1 {
	color: #ffffff;
	font-size: 2.2em;
	margin: 0em;
}

.centered2 p {
	color: #ffffff;
	font-size: 1.4em;
	line-height: 1.5;
	margin: 0em;
}

/* 404 text (bottom right) */
.bottom-404 {
	position: absolute;
	bottom: 3.25em;
	right: 1.4em;
}

.bottom-404 h1 {
	color: #ffffff;
	font-size: 9em;
	line-height: 1em;
	margin: 0em;
}

.bottom-404 p {
	color: #ffffff;
	font-size: 1.3em;
	line-height: 1.2em;
	margin: 0em;
}


/*Nelipalsta*/

.gallery {
	clear: both;
	display: inline-block;
	width: 100%;
	padding-top: 0px;
	margin-top: -5px;
	margin-bottom: 0px;
}

.gallery {
	text-align: left;
}

.thumbnail {
	width: 23%;
	float: left;
	margin-top: 20px;
	padding-bottom: 10px;
	margin-left: 1%;
	margin-right: 1%;
}

.thumbnail h4 {
	margin-top: 10px;
	margin-bottom: 0px;
	padding-right: 10px;
}
.tag {
	font-family: 'Open Sans Condensed', sans-serif !important;;
	font-size: 1.35em !important;;
	font-weight: 300;
	padding-top: 5px;	
}
.thumbnail p {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	font-weight: 300;
	line-height: 1.6em;
	padding: 0px;
	margin: 0px;
}

/* More info */

.column {
	width: 50%;
	padding-top: 2.5em;
	float: left;
}

.column img {
	max-width: 100%;
	height: auto;
}

.column h3 {
	padding: 0em;
	margin: 1em 0em 0.7em 0em;
	line-height: 0em;
}

.column p {
	padding: 0px; margin: 0px;
	line-height: 1.5em;
}

.cards {
	width: 100%;
	height: auto;
}

/* Alemmat pari palstaa */

.column {
	float: left;
	width: 48%;
 	padding: 10px;
	height: auto;
	text-align: left;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

footer {
	margin-top: 1em;
	font-size: 0.9em;
	line-height: 1.6;
}
.footer-nav {
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	font-size: 0.95em;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-nav ul li {
	display: inline;
	list-style-type: none;
	padding-right: 6px;
}

.footer-nav ul li a{
	text-decoration: none;
	color: #000000;
	line-height: 2em;
	font-family: 'Marvel', sans-serif;
	font-size: 1.1em;
}

.contact a {
	color: #303030;
	text-decoration: none;
}

.contact a:hover {
	color: #303030;
	text-decoration: underline;
}

.contact {
	display: flex;
	flex-flow: column wrap;
	height: 150px;
	align-content: flex-start;
	margin: 10px;
}

.contact-item {
	flex: 0 0 auto;
	width: 360px;
	height: 50px;
	margin: 4px;
	font-family: 'Marvel', sans-serif;
	font-size: 1.1em;
}


/* TABLET */
@media (max-width : 960px ){
	
.logo {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 1.5em;
}

.logo img {
	width: 300px;
}

nav {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

nav ul li {
	display: inline;
	list-style-type: none;
	padding-right: 1.5em;
}

nav ul li a{
	text-decoration: none;
	font-family: 'Marvel', sans-serif;
	line-height: 1.8em;
	color: #000000;
}

.text_column {
	width: 100%;
	text-align: left;
	padding: 0;
}

.thumbnail {
	width: 47%;
}

.thumbnail h4{
	padding-top: 5px;
}

.tag {
	padding-top: 5px;	
}

.text_column {
	width: 90%;
	margin: 0;
	padding: 5px 0px 5px 20px;
}
	
.column {
	width: 96%;
	height: auto;
	margin-top: 0px;
	text-align: left;
}

.column img {
	width: 75%;
	height: auto;
	object-fit: cover;
	margin-left: auto;
	margin-right: auto;
}

.contact {
	display: flex;
	flex-flow: column wrap;
	height: 300px;
	align-content: flex-start;
}

.contact-item {
	flex: 0 0 auto;
	width: 360px;
	height: 50px;
	margin: 4px;
	font-size: 1.1em;
}

.centered h1 {
	color: #ffffff;
	font-size: 1.6em;
	margin: 0em;
}

.centered p {
	color: #ffffff;
	font-size: 1.2em;
	line-height: 1.5;
	margin: 0em;
}

.top-left {
	position: absolute;
	top: 30%;
	left: 6%;
}

.top-left h1 {
	color: #ffffff;
	font-size: 2.4em;
	margin: 0em;
}

.top-left p {
	color: #ffffff;
	font-size: 1.2em;
	line-height: 1.5;
	margin: 0em
}

.top-right {
	position: absolute;
	top: 25%;
	right: 4%;
}

.top-right h1 {
	color: #ffffff;
	font-size: 2.2em;
	margin: 0em;
}

.top-right p {
	color: #ffffff;
	font-size: 1.2em;
	line-height: 1.5;
	margin: 0em;
}

/* Bottom right text */
.bottom-right {
	position: absolute;
	bottom: 1.2em;
	right: 1.5em;
}

.bottom-right h2 {
	color: #ffffff;
	font-size: 1.1em;
	margin: 0em;
}

.bottom-right p {
	color: #ffffff;
	font-size: 0.9em;
	line-height: 1.5;
	margin: 0em;
}


/* 404 text (bottom right) */
.bottom-404 {
	position: absolute;
	bottom: 3.25em;
	right: 1.4em;
}

.bottom-404 h1 {
	color: #ffffff;
	font-size: 9em;
	line-height: 1em;
	margin: 0em;
}

.bottom-404 p {
	color: #ffffff;
	font-size: 1.3em;
	line-height: 1.2em;
	margin: 0em;
}

}

@media only screen and (min-width: 631px) {
	.mobnav { display: none;} 
}

/* MOBIILI */
@media (max-width: 630px){

.container img {
	height:300px;
	width:auto;
	object-fit: cover;
	}
	
.logo {
	float: none;
	margin-top: 0.5em;
}
.logo img {
	width: 200px;
}
nav { display: none; }
.footer-nav {
	border-top: 1px solid #dddddd;
	}
.footer-nav ul { display: none;}

.text_column {
	width: 100%;
	text-align: left;
	padding: 0;
}
.thumbnail {
	width: 96%;
	height: auto;
	padding: 0.5em;
}


.centered {
	position: absolute;
	top: 8%;
	left: 55%;
	transform: translate(-50%, -50%);
	 width: 350px;
}	

.centered h1 {
	color: #ffffff;
	font-size: 1.4em;
	margin: 0em;
}

.centered p {
	color: #ffffff;
	font-size: 1em;
	line-height: 1.3;
	margin: 0em;
}
	

.centered2 {
	position: absolute;
	top: 50%;
	left: 80%;
	transform: translate(-50%, -50%);
}	

.centered2 h1 {
	color: #ffffff;
	font-size: 1.8em;
	margin: 0em;
}

.centered2 p {
	color: #ffffff;
	font-size: 1em;
	line-height: 1.3;
	margin: 0em;
}

.top-left {
	position: absolute;
	top: 35%;
	left: 5%;
}

.top-left h1 {
	color: #ffffff;
	font-size: 1.65em;
	margin: 0em;
}

.top-left p {
	color: #ffffff;
	font-size: 1.1em;
	line-height: 1.4;
	margin: 0em
}
	
.top-right {
	position: absolute;
	top: 2%;
	right: 5%;
}

.top-right h1 {
	color: #ffffff;
	font-size: 1.5em;
	margin: 0em;
}

.top-right p {
	color: #ffffff;
	font-size: 0.9em;
	line-height: 1;
	margin: 0em;
}

/* Bottom right text */
.bottom-right {
	position: absolute;
	bottom: 1em;
	right: 1em;
}

.bottom-right h2 {
	color: #ffffff;
	font-size: 1em;
	margin: 0em;
}

.bottom-right p {
	color: #ffffff;
	font-size: 0.9em;
	line-height: 1.5;
	margin: 0em;
}

/* 404 text (bottom right) */
.bottom-404 {
	position: absolute;
	bottom: 10%;
	right: 10%;
}

.bottom-404 h1 {
	color: #ffffff;
	font-size: 8em;
	margin: 0em;
}

.bottom-404 p {
	color: #ffffff;
	font-size: 1.5em;
	line-height: 1.2em;
	margin: 0em;
}
	
.cards {
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.thumbnail h4{
	padding-top: 5px;
}
	
.tag {
	padding-top: 5px;	
}

.text_column {
	padding-left: 20px;
	padding-right: 20px;
	width: 90%;
}
	
.column {
	width: 96%;
	margin-left: 0px;
	margin-right: 0px;
}

.column h3 {
	padding: 0em;
	line-height: 1em;
}

.column p {
	padding: 0px; margin: 0px;
	line-height: 1.5em;
}

.column img {
	width: auto;
	height: 300px;
	object-fit: cover;
}

.contact {
	display: flex;
	flex-flow: row wrap;
	height: 150px;
	align-content: flex-start;
	margin: 1.1rem;
	padding-top: 1rem;
	}
	
/* MOBIILINAVI */
.mobnav {
	font-family: 'Marvel', sans-serif;
}
.multi-level, .item ul, .mobnav input[type="checkbox"] {
    display: none;
}
#menu:checked ~ .multi-level, .item input:checked ~ ul {
    display: block;
}

/*nuoli*/

.arrow {
    width: 8px;
    height: 8px;
    vertical-align: middle;
    float: left;
    z-index: 0;
    margin: 15px 0.7em 0 2em;
}
.item input + .arrow {
    transform: rotate(-90deg);
    transition: 0.1s;
}
.item input:checked + .arrow {
    transform: rotate(0deg);
    transition: 0.1s;
}

/*mob-navityylit*/
label:hover {
    cursor: pointer;
}
label {
    width: 100%;
    display: block;
    z-index: 3;
    position: relative;
}
.mobnav {
    width: 100%;
	font-size: 1.15em;
    background-color: #ffffff;
    overflow-x: hidden;
    border-top: 1px solid #A5B6BD;
	border-bottom: 1px solid #A5B6BD;
}

#mobnav-icon {
    font-size: 1.5em;
    line-height: 2em;
    padding-left: 1em;
    color: #2D2728;
    background-color: #ffffff; /*mob. nav.bar taustaväri*/
}

.mobnav ul, .mobnav li, label {
	line-height: 2.5em;
    margin: 0;
    padding: 0 1.5em;
    list-style: none;
    text-decoration: none;
    width: 100%;
}
.item ul {
    padding: 0 0.25em;
}
.mobnav li a {
    line-height: 2.5em;
    margin: 0;
    padding-left: 2em;
    list-style: none;
    text-decoration: none;
    display: block;
}

}



