@charset "UTF-8";
/* CSS Document */

*, body, html {
	margin: 0;
	padding: 0;
	max-width: 100%;
}

h1 {
	color: #145999;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 2.5em;
	text-align: center;
	padding-bottom: 30px;
	line-height: 45px;
}

h2 {
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.8em;
    text-align: center;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
	letter-spacing: 1px;
	padding: 30px;
	padding-top: 10px;
}

header {
	min-width: 100%;
	padding-top: 15px;
	text-align: center;
	position: fixed;
	background-color: #fff;
	z-index: 20;
}

header img {
	padding-bottom: 10px;
}


/* Nav */

nav {
	text-align: center;
}

nav a{
    list-style: none;
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 20px;
	background-color: #fff;
}

nav a {
    font-family: 'Cabin', sans-serif;
    text-decoration: none;
    text-transform: uppercase;	
	font-size: 1em;
	color: black;
	letter-spacing: 0.7px;
}

/* Footer */

footer {
	padding: 20px;
	font-family: Cabin, sans serif;
	font-size: 0.9em;
	position:static;
	margin: 0 auto;
	max-width: 100%;
	bottom: 0;
	letter-spacing: 1px;
	color: #fff;
	background-color: #145999;
	text-align: center;
}


/* Wave background */

.wave {
	bottom: 0;
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	z-index: 10;
	position: relative;
	display: block;
	left: 0;
	right: 0;
	font-size: 0;
	margin-top: -60px;
	margin-bottom: -2px;
	
}

/* Main */

main {
	height: auto;
	background-color: #145999;
	position: relative;
}

.b {
	height: auto;
	background-color: #145999;
	padding-top: 50px;
	padding-bottom: 110px;
}

.content {
	max-width: 800px;
	margin: 0 auto;
}

#etusivu, .a, .b, .c {
	margin: 0 auto;
	max-width: 700px;
}

/* Etusivu */

.vesi {
	margin: 0 auto;
	background-image: url("../img/vesi1.jpg");
	background-size: cover;
	color: white;
	font-family: Cabin, sans serif;
	text-align: center;
	line-height: 25px;
	height: auto;
	padding-top: 150px;
	padding-bottom: 80px;
}

.vesi p {
	padding: 20px;
	max-width: 70%;
	margin: 0 auto;
}

.vesi h1 {
	color: white;
padding-bottom: 0px;}

.ptext {
	max-width: 70%;
	display: inline-block;
	color: white;
	font-family: Cabin, sans serif;
	font-size: 1em;
	line-height: 23px;
}

.ptext-bottom {
	display: inline-block;
	color: white;
	font-size: 1.4em;
	font-style: italic;
	line-height: 30px;
	margin: 0 auto;
	padding: 20px;
	padding-bottom: 0;
	text-align: center;
}

button {
    background-color: transparent;
    border: 2px solid #fff;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    font-family: Roboto Condensed, sans serif;
    font-style: italic;
    border-radius: 10px;
	
}

.a {
	text-align: center;
}

/* Palvelut */

.video {
	margin-bottom: 30px;
}
.piersvg {
	float: right;
	margin-top: 20px;
}

.magnisvg {
	margin-top: 40px;
}

.boatsvg {
	margin-top: 40px;
}

.palvelut {
	width: 430px;
	margin: 0 auto;
	height: auto;
}

.palvelutext{
    border: 2px solid #FFFFFF;
    height: auto;
    max-width: 180px;
    color: white;
    padding: 15px;
    border-radius: 25px;
    font-family: Cabin, sans serif;
    line-height: 27px;
	float: right;
}

.yhteystiedotext{
    border: 2px solid #145999;
    height: auto;
    max-width: 160px;
    color: #145999;
    padding: 15px;
    border-radius: 25px;
    font-family: Cabin, sans serif;
    line-height: 27px;
	float: right;
}

main .palvelut img {
	max-height: 130px;
}

.palvelut img,
.text {
    width:50%;
}


.line {
	max-height: 60px;
	display: block;
	opacity: 0%;
}

/* Ota yhteyttä */

.c {
	background-color: #fff;
	height: auto;
	position: relative;
}

.yhteystiedot p{
	text-align: center;
    color: #000;
    font-family: Cabin, sans serif;
    line-height: 27px;
	padding-bottom: 50px;
}

.kari {
	margin-top: 7px;
}

.yhteystiedot, .yhteystiedot a, .yhteystiedot a:visited {
	width: 430px;
	margin: 0 auto;
	color: #145999;
}

.yhteystiedot img {
	width: 190px;
	padding-right: 10px;
}


/* Contact Form */

.contact {
	margin: 0 auto;
	text-align: center;
	margin-top: 40px;
	width: 400px;
}


form {
	transition: all 4s ease-in-out;
}

.form-control {
    background: transparent;
    border: 2px solid #145999;
    color: #145999;
    font-size: 0.9em;
    margin-bottom: 16px;
	padding: 10px;
    border-radius: 10px;
	font-family: Cabin, sans serif;
	letter-spacing: 1px;
}

input {
	width: 400px;
}

form .submit {
    border-radius: 30px;
    border: 2px solid #145999;
	background-color: #145999;
    padding: 13px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Roboto Condensed, sans serif;
    font-style: italic;
    letter-spacing: 2px;
}

input::placeholder { color: #145999; }
textarea::placeholder { color: #145999; }

textarea {
	resize: vertical;
	width: 400px;
}

form .submit:hover {
	background-color: white; 
	color: #145999;
	cursor: pointer;
}



.mobile-img {
	display: none;
}

.c h2 {
	color: #145999;
}



@media screen and (max-width:550px){

	.ptext-bottom {
		line-height: 100px !important; 
	}
	
	.line {
		max-height: 0px;
	}

	.wave {
			margin-top: -8%;
	}
	
	h1 {
		font-size: 1.5em;
		padding: 0;
		margin-bottom: 10px;
		line-height: 30px;

	}
	
	h2 {
		font-size: 1.5em;
		padding: 0;
	}
	
	p {
		font-size: 1em;
		text-align: center;
		line-height: 23px;
	}
	
nav {
		font-size: 0.8em;
		height: 15px;
	}
	
	header {
		padding: 10px;

	}
	
	header img{
		max-width: 90px;
		float: left;
		padding: 0px; 
	}
	
	
	main { padding-top: 30px;}
	.palvelut img {display: none}
	
	.palvelut {
		max-width: 100%;
	}
	
	.palvelutext {
		max-width: 70%;
		float: none;
		margin: 0 auto;
		text-align: center;
		border: 0px;
		padding: 15px;
	}
	
	.palvelutext img {
		margin: 0 auto;
		padding: 20px;
	}
	
	.mobile-piersvg {
		max-width: 110px;
	}
	
	.mobile-boatsvg {
		max-width: 90px;
	}
	
	.mobile-magnisvg {
		max-width: 70px;
	}
	
	.mobile-img {
		display:block !important;
	}
	
	.b {
		height: auto;
		text-align: center;}
	
	.ptext {
		max-width: 80%;
		line-height: 20px;
		padding-top: 20px;
	}
	
/*	.vesi p {
		padding: 0px;
	}
	
	.vesi {
		padding: 15px;
		padding-top: 70px;
		padding-bottom: 10px;
	}*/
	
	.b {
		padding-bottom: 110px;
	}
	
	p {
		font-size: 1em;
	}
	

	
	footer img {
		width: 100px;
	}
	

	
	button {
		padding: 9px;
		width: 130px;
		text-align: center;
	}
	
	.kari {
		margin: 0 auto;
		padding: 0;
		margin-bottom: 20px;
	}
	
	.yhteystiedotext {
		min-width: 80%;
		margin: 0 auto;
		float: none;
		font-size: 0.9em;
		padding: 8px;
	}
	
	.yhteystiedot {
		width: 80%;
		margin: 0 auto;
		text-align: center;
	}
	
	
	.contact {
	margin-top: 90px;
	width: 90%;
}

.form-control {
    font-size: 0.8em;
    margin-bottom: 16px;
	padding: 10px;
	letter-spacing: 1px;
}

input {
	width: 85%;
}

form .submit {
    font-size: 1em;
    letter-spacing: 2px;
}

textarea {
	resize: vertical;
	width: 85%;
}
	
	.vesi {
		padding-top: 60px;
		padding-bottom: 50px;
	}
	.vesi p {
		padding: 5px;
	}

}


/* Hide the link that should open and close the topnav on small screens */
.topnav, .topnav .icon {
display: none;
width:30px;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 550px) {
	
	.video { margin-top: 20px;}
	.menu {
		display:none;}
	
	.topnav {
		display: block;
		/*float:right;*/
		min-width: 100%;
		height: 20px;
		margin-top: -16px !important;
	}
	
  .topnav a {display: none;}
	
  .topnav a.icon {
    float: right;
    display: block;
	padding: 0;
	padding-right: 20px;
  }

  .topnav.responsive{position: relative;}
	
  .topnav.responsive a.icon {
    position: absolute;
    right: 0px;
    top: 0;
  }
  .topnav.responsive a {
    display: block;
    text-align: center;
  }

  nav a {
	padding:0;
	padding-top: 10px;
	padding-bottom: 10px;
  }

}

.error {
	color: red;
}

.success {
	color: limegreen;
	text-align: center;
	
}

.menu-items {
	min-width: 100%;
	height: 20px;
	margin-top:23px;
}

.menu-items a{
	min-width: 100%;
	float:left;
	padding-top: 10px;
}

