body {
	margin: 0px;
	padding: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	background: #fff;
}
h1 {
    font-size: 26px;
	font-weight: 700;
    margin-bottom: 20px;
}
.ad1{
	text-align: center;
    padding: 50px 20px;
}
.container-hero{
	position: relative;
	display: flex;
    align-items: center;
}
.herokuva{
	width: 100%;
	height: auto;
}
.hero-etusivu-yhteystiedot-pekka{
	position: absolute;
	top: auto;
	left: 4%;
	width: 250px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pekka img {
	border-radius: 50%;
	width: 100%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pekka .pekka-text {
	background: #fff;
	padding: 16px;
	margin-top: 20px;
	text-align: left;
	font-weight: 600;
	font-size: 18px;
}

.hero-etusivu-yhteystiedot-pertti{
	position: absolute;
	top: auto;
	left: 20%;
	width: 250px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pertti img {
	border-radius: 50%;
	width: 100%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pertti .pertti-text {
	background: #fff;
	padding: 16px;
	margin-top: 20px;
	text-align: left;
	font-weight: 600;
	font-size: 18px;
}


.hero-etusivu-header{
	position: absolute;
	top: auto;
	right: 7%;
	width: 50%;
	text-align: center;
}
.hero-etusivu-header h1{
	color: #fff;
	font-size: 4vw;
}
.hero-etusivu-header img{
	width: 20%;
}
.hero-katso-linkit {
	position: absolute;
	bottom: 0;
	right: 0;
	width: auto;
	text-align: right;
	border-top-left-radius: 50%;
	font-weight: bold;
	background: #2d5b98;
	color: #fff;
	padding: 20px 40px;
	font-size: 120%;
}
.hero-katso-linkit a:link, .hero-katso-linkit a:active, .hero-katso-linkit a:visited {
	color: #fff;
	text-decoration: none;
}
.hero-katso-linkit a:hover {
	color: #fff;
	text-decoration: underline;
}
.kohteet {
	max-width: 1000px;
	margin: auto;
	padding: 0px;
	
}
.kohde-container{
	width: 320px;
	background: #f6f6f6;
	margin: 5px;
	display: inline-block;
	text-align: left;
}
.tyyppi {
	padding: 10px;
	margin-bottom: 10px;
	margin-top: 10px;
	font-weight: bold;
	background: #2d5b98;
	color: #fff;
}
.otsikko {
	padding: 10px;
}
.valiviiva {
	height: 1px;
	background: #333;
}
.sijainti {
	font-weight: bold;
	padding: 10px;
	padding-bottom: 0px;
}
.kaupunginosa {
	margin: 0px;
	padding: 10px;
	padding-top: 0px;
}
.kuva {
	width: 100%;
	height: 200px;
	overflow: hidden;
}
.kuva img{
	width: 100%;
}
.hinta {
	display: inline-block;
	padding: 10px;
	width: 70%;
	float: left;
}
.asuinpintaala {
	display: inline-block;
	width: 30%;
	text-align: right;
	padding: 10px;
	float: right;
}
.kuvaus {
	padding: 10px;
	display: block;
	
}
.rakennusvuosi {
	padding: 10px;
	
}
.footer{
	margin-top: 10px;
	padding: 20px;
	padding-bottom: 300px;
	background-color: #C9CED2;
	margin-bottom: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 14px;
}
.kayntikortti {
	margin: auto;
	max-width: 600px;
	margin-bottom: 10px;
	margin-top: 10px;
}
.kayntikortti img {
	max-width: 100%;
}

iframe {
	width: 800px;
	border-bottom-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	border-top-width: 0px;
	border-right-width: 0px;
	border-left-width: 0px;
	background-color: #CCC;
}
a:link, a:active, a:visited {
	color: #990000;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	color: #990000;
	text-decoration: underline;
}
.otsikko2 {
	background: #2d5b98;
	padding: 10px;
	color: #fff;
	max-width: 1000px;
	margin: auto;
	font-size: 18px;
	font-weight: bold;
    margin-bottom: 20px;
}
.sisalto {
	padding: 10px;
}
.navbar-brand img{
	width: 40px;
}

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

.hero-etusivu-yhteystiedot-pekka{
	position: absolute;
	top: auto;
	left: 4%;
	width: 200px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pekka img {
	border-radius: 50%;
	width: 100%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pekka .pekka-text {
	background: #fff;
	padding: 16px;
	margin-top: 20px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
}

.hero-etusivu-yhteystiedot-pertti{
	position: absolute;
	top: auto;
	left: 20%;
	width: 200px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pertti img {
	border-radius: 50%;
	width: 100%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pertti .pertti-text {
	background: #fff;
	padding: 16px;
	margin-top: 20px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
}

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

.hero-etusivu-yhteystiedot-pekka{
	position: absolute;
	top: auto;
	left: 4%;
	width: 190px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pekka img {
	border-radius: 50%;
	width: 100%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pekka .pekka-text {
	background: #fff;
	padding: 12px;
	margin-top: 20px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
}

.hero-etusivu-yhteystiedot-pertti{
	position: absolute;
	top: auto;
	left: 20%;
	width: 190px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pertti img {
	border-radius: 50%;
	width: 100%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pertti .pertti-text {
	background: #fff;
	padding: 12px;
	margin-top: 20px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
}

}

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

.hero-etusivu-yhteystiedot-pekka{
	position: absolute;
	top: auto;
	left: 2%;
	width: 190px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pekka img {
	border-radius: 50%;
	width: 90%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pekka .pekka-text {
	background: #fff;
	padding: 12px;
	margin-top: 10px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
}

.hero-etusivu-yhteystiedot-pertti{
	position: absolute;
	top: auto;
	left: 20%;
	width: 190px;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pertti img {
	border-radius: 50%;
	width: 90%;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pertti .pertti-text {
	background: #fff;
	padding: 12px;
	margin-top: 10px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
}

}

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

/*
.hero {
  position: relative;
  height: 425px;
  background: #000;
  overflow: hidden;
}
.hero-case .hero-kuva-duo img{
  position: absolute;
  right: 0px;
}
.hero-etusivu .hero-kuva img{
  position: absolute;
  right: -30px;
  bottom: 0;
}
*/
.container-hero {
  position: relative;
  height: 900px;
  background: #000;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.herokuva{
  position: absolute;
  height: 100%;
  width: auto;
}

.hero-etusivu-yhteystiedot-pekka{
	position: absolute;
	top: 10px;
    right: auto;
	left: auto;
	width: 100%;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pekka img {
	border-radius: 50%;
	width: 150px;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pekka .pekka-text {
	background: #fff;
	padding: 20px 50px;
	margin: 10px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
}

.hero-etusivu-yhteystiedot-pertti{
	position: absolute;
	top: 300px;
	left: auto;
	right: auto;
	width: 100%;
	text-align: center;
}

.hero-etusivu-yhteystiedot-pertti img {
	border-radius: 50%;
	width: 150px;
	border: 4px solid #fff;
	height: auto;
}

.hero-etusivu-yhteystiedot-pertti .pertti-text {
	background: #fff;
	padding: 20px 50px;
	margin: 10px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
}
.hero-etusivu-header{
	position: absolute;
	top: auto;
	bottom: 80px;
	right: 20px;
	left: 20px;
	width: auto;
	text-align: center;
}
.hero-etusivu-header h1{
	color: #fff;
	font-size: 40px;
}
.hero-etusivu-header img{
	width: 20%;
}

}



