@char7setset "utf-8";
/* CSS Document */

html {
background: url(../images/grafiikka_tausta.jpg) no-repeat;
background-size: 100%;
background-color: rgba(255,255,255,1); 
background-attachment: fixed;
	}

body {
	color: #313131;
	line-height: 1.5em;
	font-family: 'Open Sans', Helvetica Neue, Sans-serif;
	font-size: 0.9em;
	margin: 0px;
	padding: 0px;
	
	}

h1 {
	color: #000;
	font-family: 'Roboto', sans-serif;
	margin: 0em 0em .5em 0em;
	font-size: 2em;
	line-height: 1em;
	font-weight: normal;
	}

h2 {
	color: #aab123;
	font-size: 1.7em;
	font-family: 'Open Sans', Helvetica Neue, Sans-serif;
	margin: 0em 0em 1em 0em;
	}

h3 {
	color: #aab123;
	font-size: 1.5em;
	font-family: 'Roboto', Sans-serif;
	font-weight: 300;
	margin: 1em 0em 1em 0em;
	}

p {
	margin: 0px 0px .75em 0px;
	}

a {
	color: #000;
	text-decoration: none;
	}


ul.topnav {
    top: 0px;
	list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
	
}

ul.topnav li {float: left;
}

ul.topnav li a {
    display: inline-block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
	
}

ul.topnav li a:hover {background-color: #555;}

ul.topnav li.icon {display: none;}

@media screen and (max-width:600px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
	
  }
}

@media screen and (max-width:600px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
	
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
	
  }
}
	
nav {
	width: 100%;
	top: 0px;
	padding-top: 20px;
	background-color: rgba(255, 255, 255, 1);
	height: 40px;
	text-align: right;
	position: fixed;

		
	}	
	
	
header {
	background: url(../images/logo.svg) no-repeat, url(../images/Postitie.jpg) no-repeat;
	background-size: 150px, cover;
	background-position: center;
	height: 700px;
	width: 100%;
	margin: 0px 0px;
	
	
}
.logo {
	background: url(../images/logo_tumma200.png) no-repeat;
	background-color: #fff;
	height: 100px;
	
	
	
}
.page {
	width: 100%;
	padding-bottom: 0px;
	

	}

article a {
	color: #aab123;
	
	}


	
article {
	
	background-color: #f7f8fa;
	width: 100%;
	margin: 0px 0px 0px 0px;
	padding: 60px 0px 60px 0px;
	
	}	
	
.article-black {
	
	background-color: #1d1e23;
	color: white;
	width: 100%;
	height: 200px;
	margin: 0px 0px 0px 0px;
	padding: 60px 0px 60px 0px;
	
	}		

.alakuva {
	background: url(../images/Postitie_kapeakuva.jpg) no-repeat;
	height: 700px;
	background-size: cover;
}
	
	
footer {
	font-size: .85em;
	background-color: #fff;
	color: #453535;
	margin: auto;
	text-align: center;
	padding: 40px 0px;

	}	

.gap {
	background-color: rgba(255,255,255,0);
	width: 100%;
	height: 350px;
	border: 0px solid gray;
	margin: auto;

}
	
.palvelut_container {
	padding: 20px 0px 20px 0px;
	}
	

//*	
.mainos_container .mainos {
	width: 31,5%; 
	float: left;
	background-position: 0px 3px;
	}*//
	
.content {
	
	padding: 0px 0px 0px 0px;}
	
.clear-fix {clear:both;}	
	
.one {
	box-sizing: border-box;
	background-color: #fff;
	margin: 0 1.25% 0 0;
	padding: 40px 10px 40px 10px;
	border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-bottom: 4px solid #eaeaea;
	width: 31.5%; 
	float: left;
	text-align: center;
	
	}
	
.one:hover {
	border-bottom: 4px solid #aab123;
}	
						  
.two {
	box-sizing: border-box;
	background-color: #fff;
	margin: 0 1.25% 0 0;
	padding: 40px 10px 40px 10px;
	border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-bottom: 4px solid #eaeaea;
	width: 31.5%; 
	float: left;
	text-align: center;
	
	}
	
.two:hover {
border-bottom: 4px solid #aab123;
}	
						  
.three {
	box-sizing: border-box;
	background-color: #fff;
	margin: 0 0 0 0;
	padding: 40px 10px 40px 10px;
	border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-bottom: 4px solid #eaeaea;
	width: 31.5%; 
	float: left;
	text-align: center;
	
	}
	
.three:hover {
	border-bottom: 4px solid #aab123;
}		

.portfolio-one {
	box-sizing: border-box;
	background-color: #fff;
	margin: 0 1.25% 10px 0;
	padding: 20px 5px 20px 5px;
	border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-bottom: 4px solid #eaeaea;
	width: 64.5%;
	min-width: 250px;	
	float: left;
	text-align: center;
	
	}
	
.portfolio-one:hover {
	border-bottom: 4px solid #aab123;
}	
						  
.portfolio-two {
	box-sizing: border-box;
	background-color: #1d1e23;
	font-size: 0.85em;
	color: #fff;
	margin: 0 1.25% 0 0;
	padding: 10px 10px 10px 10px;
	border-top: 0px solid #eaeaea;
    border-left: 0px solid #eaeaea;
    border-right: 0px solid #eaeaea;
    border-bottom: 0px solid #eaeaea;
	width: 31.5%;
	min-width: 200px;
	float: left;
	text-align: left;
	
	}
	
.portfolio-two:hover {
//*border-bottom: 4px solid #aab123;*//
}	

.kirjoitus {
	
	width: 80%;
	max-width: 1000px;
	//*float: left;*//
	box-sizing: border-box;
	margin: auto;
	
//*margin: 20px 40px 40px 200px;*//
padding: 20px 40px;

}

.colored-line-left {
	background-color: #aab123; 
	height: 2px;
    width: 80px;
	float: left;
	margin-bottom: 40px;
    display: block;
	}
	
.colored-line {
	background-color: #aab123; 
	height: 2px;
    width: 80px;
	margin: auto;
    display: block;
	}	

.black {
	background-color: #1d1e23;
	color: white;
	
}

.black h1 {
	color: #fff;
	font-family: 'Roboto', sans-serif;
}

.article-black h1 {
	color: #fff;
	
}

.black h3:hover {
	color: #fff;
	
}

.white-text {
	color: #fff;
	
}

.button {
    background-color: #aab123;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 20px 2px;
    cursor: pointer;
}

.head



nav {}
nav a {margin: 12px 20px 10px 20px;
text-align: center;
}

nav a:hover {
	color: #aab123;
}

/* Popup container - can be anything you want */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */
.popup .popuptext {
    visibility: hidden;
    min-width: 500px;
    background-color: #555;
    color: #fff;
    font-size: 1em;
    text-align: left;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 1;
    bottom: -50%;
    left: -100%;
    margin-left: 0px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}
	