/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px 'Lato', Helvetica Neue, Arial;
}

h1 { font-size: 2.5em;
    letter-spacing: -0.02em;
    margin:3% 0 3% 0;
    text-align:center;
    color:#0b6e30;
    line-height: .97em;
    display: block;;
    position: static;
    z-index: 10;
    font-family: 'Roboto Slab', serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 20;
     -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
           -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
                box-shadow: 0 1px 4px rgba(0,0,0,.2);


}


.logo {
  width: 100%;
  height: 70px;
  margin: 28px auto;
}




/*.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}*/

.header-container,
.main aside {
    background: #fff;
}

.footer-container{
    background: #F26522
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
    
}

.valkonen{
	background: #fff;
}

.main-container{    margin-top: 390px;
                    background: #fff;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: #000;
    padding: 0px 3% 5% 10%;
    -webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
           -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
                box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.kuva {
    background: url(../img/header.jpg) no-repeat center top, url(../img/gradient.jpg) repeat-x;
    background-position: 50% 0%;
    height: 400px;
    width: 100%;
    position: fixed;
    display: block;
    z-index: -2000;
    top: 133px;  
        }


.main-container-harmaa {background: #f6f6f6;
            width: 100%;
            border-top: 1px dotted #ccc; }



p{color: #000;
	margin-top: 1%;
}

a[href^=tel]{
    color:white;
    text-decoration:none;
    background:#f26522 ;
    padding: 2px 5px;
    border-radius: 3px;
}

ul {
    list-style:none;
    padding: 0;
    margin: 0;
}

div ul li ul > li {
    padding-left:7%;
    font-weight:200;
    line-height: 1.5em;
    
}

div ul li:before {
    content: " ";
    display: inline-block;
    width: 12px;
    height: 12px;
    background:#e53012;
    border-radius:10px;
    margin:0 3% 0 0;}
    
div ul li ul > li:before {
    content: " ";
    display: inline-block;
    width: 8px;
    height: 8px;
    background:#ea5b0c;
    border-radius:10px;
    margin:0 2% 1% 0;
    
}

div ul li ul {
	margin-top: 0;
	margin-bottom: 1%;
}

em {color:#ea5b0c;
    font-weight: 800;
    font-style: normal;}


.footer-container p {
    text-align: center;
    color: white;
    font-size: .7em;
    margin: 0;
}

h2 {padding-top: 1em; font-family: 'Roboto Slab', serif;}
h3 {margin-bottom: 1%;
	font-weight: 400;
}

.puolet{
	  width: 100%;
	  float: left;
  }


/* ==========================================================================
   Media Queries
   ========================================================================== */
/* ========================================================================== 
    Retina displayS
   ========================================================================== */ 


@media
only screen and (-webkit-min-device-pixel-ratio: 2)      and (min-width: 700px),
only screen and (   min--moz-device-pixel-ratio: 2)      and (min-width: 700px),
only screen and (     -o-min-device-pixel-ratio: 2/1)    and (min-width: 700px),
only screen and (        min-device-pixel-ratio: 2)      and (min-width: 700px),
only screen and (                min-resolution: 192dpi) and (min-width: 700px),
only screen and (                min-resolution: 2dppx)  and (min-width: 700px) {
  /* Retina-specific stuff here */
h1{font-size: 3.1em;}
h3{font-size: 1em;}
.main aside {
        float: left;
        margin: 1%;
        padding: 1% 3% 5% 5%;
        min-height: 0;
    }
.logo {
  width: auto;
  }
  
  }


@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }
    .puolet{
	  width: 49%;
	  float: left;
  }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

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

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .main aside {
        padding: 0 5% 5%;
        -webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
           -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
                box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */


    .main aside {
        float: left;
        margin: 2%;
        min-height: 0;
    }

/* ===========
    WIDE: my styles
   =========== */
   h1 {font-size: 4em;}    


.logo {
  width: 200px;
  }
  
  .puolet{
	  width: 49%;
	  float: left;
  }


}
@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */
.puolet{
	  width: 49%;
	  float: left;
  }
    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }}





/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    
    .main-container{    margin-top: 0 !important;
                    
}
.kuva{display: none;
	visibility: hidden;
	
}}