html{
	
	font-size:100%;
}

body {
   font-family: "proxima-nova",sans-serif;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: subpixel-antialiased;
	font-weight:400;
	color:#000000;

}

p {
	font-size: 1rem;
	line-height: 1.5em;
	margin: 0 0 1.75em 0;

}


h1 {
	font-size: 1.25rem;
	line-height: 1.4em;
	margin-top: 0em;
	margin-bottom: 0;
	text-transform: uppercase;
	font-weight: 800;
	color:#ffffff;
	letter-spacing: 1px;

}


h1 strong{
	color:#ffcc01;
	font-size:1.6em;
	letter-spacing:2px;
	line-height:1.4em;
	position:relative;
    display:inline-block;
}


h1 strong:after{
    content:'';
    display: block;
    margin-left:auto;
	margin-right:auto;

   height: 4px;
   margin-top: 15px;
   margin-bottom:18px;
   width: 75px;
    background:#ffcc01;
}



h2 {
	font-size: 1.4rem;
	line-height: 1em;
	margin-top: 0em;
	margin-bottom: 0.2em;
	text-transform: uppercase;
	letter-spacing: 1px;

	font-weight: 800;
}




.viiva-keltainen{
	 
    display: block;
    margin-left:auto;
	margin-right:auto;
   height: 4px;
   margin-top: 15px;
   margin-bottom:18px;
   width: 75px;
   background:#ffcc01;

	
}



   



h3 {
	font-size: 1.25rem;
	line-height: 1.2em;
	margin-top: 0em;
	margin-bottom: 0.2em;
	text-transform: uppercase;
		letter-spacing: 1px;
clear:none;
	font-weight: 800;
}



.uutinen-heading h3, .referenssi h3{
	text-transform:inherit;
	letter-spacing:inherit;
	margin-bottom:0;
}

#herate h3{
	margin-bottom:0.75em;
	text-align:center;
}






h4 {
	font-size: 0.95rem;
	line-height: 1.2em;
	margin-top: 0em;
	margin-bottom: 0.2em;
	text-transform: uppercase;
		letter-spacing: 1px;

	font-weight: 800;
}



.palvelunosto-sisalto h4, #palstoitus p:last-child, #social-media h4 {
	margin-bottom:0;
}


h5 {
	font-size: 1.1rem;
	line-height: 1.2em;
	margin-top: 0em;
	margin-bottom: 0em;
}

#main-image p{
	font-size: 1.2rem; 
	line-height: 1.5em; 
	max-width:900px;
	margin-left:auto;
	margin-right:auto;
	font-weight:500;
	margin-top:0em;
	margin-bottom:0.2em;
	 
}















 footer p{
	
		margin-bottom: 0em;

}


.small {
  font-size: 0.9rem; 

}





.text-right{
	
	
	text-align: right;
	
}


.text-left{
	
	text-align:left;
	
}


.center, .henkilo{
	
	text-align: center;
	
}


#navigation ul li a, .button, .palvelunosto-sisalto h4{
	
	font-weight:800;
	text-transform: uppercase;
	letter-spacing: 1px;
	
}


 .button, .palvelunosto-sisalto h4, h1 strong{
	
	font-weight:900;
	
	
}





p a{
	
	border-bottom: solid 2px #ffcc01;
	font-weight:700;
}


#main-image p, #main-image p a{
	color:#ffffff;

}

#main-image p a{
		border-bottom:0;
		font-weight:800;

}

.palvelunosto p, .palvelunosto p a{
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	
}


footer p{
	color:#f4f4f4;
	font-weight:600;
}

h1, #main-image p{
	text-shadow: 0 2px 2px rgba(0,0,0,0.25);	
}

h1, h2, h3, h4{
	overflow-wrap: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}


@media all and (min-width: 1000px) {

	body {
  font-size: 17px;
  
}




h1 {
	font-size: 1.55rem;
	line-height:1.2em;
	
}

h1 strong{
	line-height:1.2em;
	font-size:1.8em;

}


h2 {
	font-size: 1.8rem;
	
}



#herate h3{
	margin-bottom:0;
		text-align:left;

}



h4 {
	font-size: 1rem;
	
}

#main-image p{
	font-size: 1.55rem; 
	
}





}


@media all and (min-width: 1200px) {



p{
	
	font-size:1.1rem;
	
}

h1 {
	font-size: 1.65rem;
	
}


h2 {
	font-size: 1.8rem;
	
}




h3 {
	font-size: 1.325rem;

}






h4 {
	font-size: 1.05rem;
	
}

#main-image p{
	font-size: 1.6rem; 
	
}


}




@media all and (min-width: 1400px) {


h1 {
	font-size: 1.75rem;
	
}


h2 {
	font-size: 1.8rem;
	
}



h3 {
	font-size: 1.4rem;

}








}



