body{
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    line-height: 1.6em;
    color: #585858;
    font-weight: 400;
	text-align: center;
}

.group:after {
	content: "";
	display: table;
	clear: both;
}

*{
	margin: 0;
	padding: 0;
	border: 0;
}

header, footer {
	display: block;
}

p{
    margin-top: 5px;
    margin-bottom: 20px;
}

header p {
	margin-bottom: 5px;
}
a{
	color: #585858;
}

a:hover{
	color: #33a2da;
}

h1 {
	font-weight: 700;
}

h2 {
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 20px;
}

ul {
	margin-left: 25px;
	list-style: none;
}

li::before {
	content: "•"; 
	color: #33a2da; 
	display: inline-block; 
	width: 1em; 
	margin-left: -1em
}

.piilota {
	display: none;
}

.grid2 img {
	display: block;
	width: 100%;
	height: auto;
	}

/* SISENNYKSET */

.sisennys {
padding: 0 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}


/* PAINIKKEET */

a.painike{
	display: inline-block;
	padding: 10px 15px;
	font-size: 0.85em;
	font-weight: 700;
	background: #d80c36;
	color: #fff;
	text-decoration: none;
	margin-right: 14px;
	text-transform: uppercase;
	margin-top: 20px;
	-webkit-transition: background 300ms ease;
	transition:         background 300ms ease;
}


a.painike:hover{
	background: #17aad0;
	color: #fff;
}

header {
	text-align: right;
	padding: 15px 0;
}

#ylapala {
	border-bottom: 5px solid #fcd532;
	background: url('images/ylakuvaMobiili.jpg') no-repeat;
	background-size: cover;
	text-align: center;
	color: #ffffff;
	padding: 50px 0;
}

#palvelu, #loota {
	padding: 50px 0;
}

#loota {
	font-weight: 500;
}
#kati {
	padding: 50px 0;
	background: #e7edf8;
}

#logo {
	width: 80%;
	display: block;
	margin: 0 auto;
	text-align: center;
}
#logo img {
	width: 100%;
	height: auto;
}

footer {
	background: #f4f5fb;
	text-align: center;
	padding: 50px 0 0 0;
}

#copyright {
	border-top: 5px solid #be1421;
	margin-top: 50px;
	padding: 20px 0;
	font-size: 0.8em;
}

@media (min-width: 768px){
	
	
body {
	text-align: left;
	}
	
.wrapper{
	margin: 0 5%;
}
	
header {
	text-align: center;
}
	
	
	header .puhelin p {
		display: inline-block;
		background: url('images/ikoni1.png') no-repeat center left;
		padding: 0 0 0 35px;
		background-size: 30px 30px;
		line-height: 30px;
		
	}
	
	header .maili p {
		display: inline-block;
		background: url('images/ikoni2.png') no-repeat center left;
		padding: 0 0 0 35px;
		background-size: 30px 30px;
		line-height: 30px;
		
	}
	
	header .kieli p {
		display: inline-block;
		background: url('images/ikoni3.png') no-repeat center left;
		padding: 0 0 0 35px;
		background-size: 30px 30px;
		line-height: 30px;
		
	}
	
#logo {
	width: 500px;
}
	
.grid2 {
	width: 50%;
	}	
	
	
.oikea {
	float: right;
	}
	
.vasen {
	float: left;
	}
	
.grid3 {
	width: 33.333333333%;
	float: left;
	
	}
	
.keskitys {
	display: flex;
    justify-content: center;
    align-items: center;
	}
	

.piilota {
	display: block;
}
	
}

@media (min-width: 992px){
	
#ylapala {
	border-bottom: 10px solid #fcd532;
	background: url('images/ylakuva1600x600.jpg') no-repeat;
	background-size: cover;
	padding: 150px 0;
		
}
	
}

@media (min-width: 1200px){
.wrapper{
	margin: 0 12%;
}
	
}

@media (min-width: 1440px){

}

@media (min-width: 1680px){

  	
}