@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow);
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table,
ul, dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,a, abbr,
acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset { margin: 0; padding: 0;}
img, fieldset { border: 0; }
* {margin: 0px;padding: 0px;}
html{	height:100%;}
body { font-family: 'PT Sans Narrow', sans-serif; background-color: #E6E7E8; background-position: left bottom; background-repeat: no-repeat; background-attachment: fixed; }
#wrapper {max-width:1400px; height:auto; margin-top: 0px; margin-right: auto; margin-left: auto; padding:20px; }


.header {margin-top:15px; background:#FFF; float:left; min-height:70px; width:100%;}
.logo { width:20%; float: left;  min-height:70px;}
.logo img {width:75%; height:auto; padding:10px 20px; }
.banner { float:left; width:100%; margin: 25px 0; background:#fff;}


.banner img, .nosto img { width:100%;}
.nostot { float:left; width:95%; padding: 2.5% 2.5%; background-color:#FFF; display: }
.nosto {float:left; width:28%; overflow:hidden; margin:2%; color:#333; display:inline-block; min-height:310px;}
.orange { background-color: #F7931D;}
.green { background-color: #D6DF23;}
.gray { background-color: #A7A9AB;}
.blue { background-color: #00C;}
.nosto h4 { padding: 5% 7% 2% 7%; font-size:28px;}
.nosto p { padding: 0% 7% 5% 7%; font-size:18px;}
.nosto a { font-size:18px; text-decoration:none; color:#333;}
.nosto a:hover {color:#000;}
.content { float:left; width:100%; margin: 25px 0%; background:#fff; padding-bottom:50px;}
.content img { width:100%;}
.content h1 { padding:5% 27% 2%; color:#1378BC; font-size:40px;}
.content h2 { padding:1% 27%;}
.content h3 { padding:1% 27% 0% 27%;}
.content p { padding:1% 27% 1% 27%;}
.content ul { padding:2% 30%;}
.content a { text-decoration:none; color: #000;}
.content a:hover {color:#666;}
.huom {text-align:center; font-size:22px; margin-bottom:55px; margin-top:25px;}
.footer-wrap { background-color: #808284; width:100%; float:left; margin-top:40px;}
.footer {max-width:1200px; height:auto; margin-top: 0px; margin-right: auto; margin-left: auto; text-align:center; color:#FFF; padding:3%; }
.footer h3 { font-weight:normal; font-size:20px;}
.footer p { padding:1%;}
.footer a {color:#FFF;}
/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
	width:80%; float:left;min-height:70px;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
	line-height:42px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #1378BC;
    color: black;
}

/* Add an active class to highlight the current page */
.active {
    background-color: #1378BC;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}
/* CSS Document */
.kirja { display:inline-block; width:115px !important; height:auto; padding:1%; }
/* 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: 1300px) {
.logo {text-align:center; width:100%;}
.logo img {max-width:300px;}
.topnav { width:100%;}
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
	font-size:40px;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1300px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 00;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 800px) {
.content h1 { padding:5% 5% 2%; color:#1378BC; font-size:40px;}
.content h2 { padding:0% 5%;}
.content p { padding:1% 5% ;}
.content ul { padding:2% 7%;}
.nosto {float:left; width:96%; overflow:hidden; margin:2%; color:#333; display:inline-block;}
}

.shadow {
  	position:relative;
	-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
}

.shadow:after
{
	content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 40px rgba(0,0,0,0.8);
    		box-shadow:0 0 40px rgba(0,0,0,0.8);
    bottom:0px;
	width:80%;
	height:50%;
    -moz-border-radius:100%;
    border-radius:100%;
	left:10%;
	right:10%;
}




