/* webfonts */

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on October 2, 2012 */


@font-face {
    font-family: 'quattrocentoregular';
    src: url('../_webfonts/quattrocento-regular-webfont.eot');
    src: url('../_webfonts/quattrocento-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../_webfonts/quattrocento-regular-webfont.woff') format('woff'),
         url('../_webfonts/quattrocento-regular-webfont.ttf') format('truetype'),
         url('../_webfonts/quattrocento-regular-webfont.svg#quattrocentoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'quattrocentobold';
    src: url('../_webfonts/quattrocento-bold-webfont.eot');
    src: url('../_webfonts/quattrocento-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../_webfonts/quattrocento-bold-webfont.woff') format('woff'),
         url('../_webfonts/quattrocento-bold-webfont.ttf') format('truetype'),
         url('../_webfonts/quattrocento-bold-webfont.svg#quattrocentobold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'rns_cameliaregular';
    src: url('../_webfonts/rns_camelia-webfont.eot');
    src: url('../_webfonts/rns_camelia-webfont.eot?#iefix') format('embedded-opentype'),
         url('../_webfonts/rns_camelia-webfont.woff') format('woff'),
         url('../_webfonts/rns_camelia-webfont.ttf') format('truetype'),
         url('../_webfonts/rns_camelia-webfont.svg#rns_cameliaregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'rns_camelia_mdregular';
    src: url('../_webfonts/rnscamelia-md-webfont.eot');
    src: url('../_webfonts/rnscamelia-md-webfont.eot?#iefix') format('embedded-opentype'),
         url('../_webfonts/rnscamelia-md-webfont.woff') format('woff'),
         url('../_webfonts/rnscamelia-md-webfont.ttf') format('truetype'),
         url('../_webfonts/rnscamelia-md-webfont.svg#rns_camelia_mdregular') format('svg');
    font-weight: normal;
    font-style: normal;

}






body {
    margin: 0 auto;
    text-align: center;
    font-size: 100%;
    font-family: 'rns_cameliaregular';
}

.container {
    max-width:1095px;
    padding: 0 2.667% 0 2.667%;
    margin:0 auto;
}


.content {
    width:auto;
    max-width:1125px;
    clear:both;
    margin:0 0 0 -2.667%; /* 30/1125 = 0.026666666... */
    list-style:none; /* So we can make grids out of lists. */
    overflow:hidden; /* Clear the floats */
}



#close {
    display: block;
    float: right;
    width: 30px;
    height: 30px;
    background: transparent;
    margin: -2.667% -2.667% 0 0;
    
    
}

#close:hover {
    opacity: 0.9;
    -moz-opacity: 0.9;
    filter:alpha(opacity=9);
    
}


.refeotsikko_container {
    width: 100%;
    height: 4%;
}

.refeotsikko {
    height: 4%;
    display: inline;
    float: left;
    text-align: left;
    
}

.safety {
        
    display: inline;
    float: left;
    margin: 0; padding: 0;
    border: 1px solid #000;

}

.controls-1, .controls-2, .controls-3, .controls-4, .controls-5, .controls-6, .controls-7, .controls-8, .controls-9, .controls-10 {
    width: 100%;
    height: auto;
    display: inline;
    float: right;
    text-align: right;
    margin-top: 1%;
    
}

.paaotsikko {
    width:97.333%; /*1095/1125 = 0.973333333... */
    display: inline;
    float: left;
    text-align: left;
    margin: 0 0 0 2.667%;  /* 30/1125 = 0.026666666... */
    
}



.clear {
    width: 100%;
    display: block;
    clear: both;
    height: 10px;
}

img {max-width: 100%;}

/* Rollover-kuvien tyylit: */


.rollover li {
	float: left;
	list-style-type: none;
	display: block;
	height: 100%;
	width: 100%;
	position: relative;
}

img.grey {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
}
 
img.color {
	position: absolute;
	left: 0; top: 0;
}

/* Rollover end */



[class^="grid-"]{
	float:left;
	margin:0 2.667% 0 0; /* 30/1125 = 0.026666666... */
}
.grids [class^="grid-"]{
	margin:0 0 2.667% 2.667%; /* 30/1125 = 0.026666666... */
}

.grid-header {
    width:97.333%; /*1095/1125 = 0.973333333... */
    height: 90px; 
    display: inline;
    float: left;
    text-align: left;
    margin: 0 0 5px 2.667%;  /* 30/1125 = 0.026666666... */
    
    

}

#header-logo {
    display: inline;
    float: left;
    height: 80px;
    width: 400px;
    background: transparent url('../_img/nurkanvaltaajat_logo.png') no-repeat left top;
    background-size: 400px 75px;
}

#navi {
    display: inline;
    float: right;
    height: 30px;
    width: 50%;
    margin-top: 20px;
    padding: 0;
    text-align: right;
    background: transparent;
    
}


.grid-1{
    width:30.667%; /* 345/1125 = 0.30666666... */
    display: inline;
    float: left;
    height: 0;
    padding-bottom: 30.667%; /* 345/1125 = 0.30666666... */
    }
    
.grid-2{
    width: 47.333%; /* 532,5/1125 = 0,47333333....*/
    display: inline;
    float: left;
    height: 0;
    padding-bottom: 47.333%;
    }
        
.grid-3{ width:97.333%; margin:0 0 0 2.667%; } /*1095/1125 = 0.973333333... */

.grid-4{ width:64%; margin:0 0 0 2.667%; } /* 720/1125 = 0.64... */ 

.grid-5 { width:30.667%; } /* 345/1125 = 0.30666666... */ 

.content-container {
    
    position: relative;
    width: 100%;
}



.otsikko {
    position: absolute;
    width: 95%;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    margin: 0;
    z-index: 15;
    padding: 0 0 6% 5%;
  
    
    
}
    


.highlight1 {
    background: #ddd;
    font-family: 'rns_camelia_mdregular', Georgia, serif;
}

.highlight2 {
    background: #222;
}

.highlight3 {
    background: #666;
}

/* Tekstityylit */


p {
    font-family: 'quattrocentoregular', Georgia, serif;
    color: rgba(128, 128, 128, 1);
    text-align: left;
    width: 85%;
    font-size: 100%;
    line-height: 1.3em;
    margin: 0 0 2.667% 2.667%;

}

strong {
    font-family: 'quattrocentobold';
}

.contact p { margin-left: 6%;}

.flexslider p { margin-left: 0;}

#navi p {
    text-align: right;
    font-size: 130%;
    margin: 0;
    
    letter-spacing: 0.05em;
    width: 100%;
}

h1 {
    color: rgba(128, 128, 128, 1);
    text-align: left;
    font-size: 200%;

}



h2 {
    color: rgba(255, 255, 255, 1);
    text-align: left;
    font-size: 140%;
    letter-spacing: 0.05em;
    font-weight: 100;
    font-style: normal;
    font-family: 'rns_camelia_mdregular';
}

/* Linkkityylit */

a {
    color: rgba(0, 174, 234, 1);
    text-decoration: underline;
}

a img {border: none; border-style: none; outline: none;}

img {border: none;}

#navi a {
    display: block;
    float: right;
    background: #000;
    padding: 5px 10px 5px 5px;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-family: 'rns_camelia_mdregular';
}

#navi a:hover{
    background: rgba(76, 194, 241, 1);
    color: rgba(255, 255, 255, 1);
}

.blue {
    color: rgba(0, 174, 234, 1);
    font-family: 'rns_camelia_mdregular', Georgia, serif;
}



.otsikko a {
    text-decoration: none;
    color: rgba(255,255,255,1);
}

.otsikko a:hover {
    color: rgba(0, 174, 234, 1);
}



/* media queries */

@media screen and (max-width: 980px) and (min-width: 640px) {
        
    body {
        font-size: 80%;
    }
    
    h1 {
        font-size: 250%;
    }
    
    h2 {
    font-size: 160%;
    letter-spacing: 0em;
    margin: 4% 0 0 0;
    
}


    
    grid-header {
        height: 160px;
        margin-bottom: 10px;
    
    }
    
    #close {
        display: block;
        float: right;
        width: 20px;
        height: 20px;
        background: #888;
        margin: -2.667% -2.667% 0 0;
        
        
    }
    
    #close span {
        font-family: 'rns_cameliaregular', Georgia, serif;
        color: rgba(255, 255, 255, 1);
        text-align: center;
        font-size: 15px;
        letter-spacing: 0em;
    }
    
    
    
    #header-logo {
        display: block;
        height: 60px;
        width: 400px;
        clear: both;
        background: transparent url('../_img/nurkanvaltaajat_logo.png') no-repeat left top;
        background-size: 100%;
        margin: 0 0 -15px 0;
    }
    

    #navi {
        display: inline;
        float: left;
        height: 20px;
        width: 100%;
        padding: 0
        margin: 0 0 10px 0 ;
        background: transparent;
    }
    
    #navi p {
        font-family: 'rns_cameliaregular';
        color: rgba(0, 0, 0, 1);
        text-align: left;
        font-size: 170%;
        margin: 0;
        letter-spacing: 0.05em;
        width: 100%;
    }
    
    .grid-1{
            width: 47.333%; /* 532,5/1125 = 0,47333333....*/
            display: inline;
            float: left;
            height: 0;
            padding-bottom: 47.333%;
            }
            
    .grid-2, .grid-3, .grid-4, .grid-5{ width:97.333%; margin:0; } /*1095/1125 = 0.973333333... */
        
    .otsikko {
    
        height: 35px;
        
    }
    
    .otsikko .2row {height: 60px;}
    
    .contact p { margin-left: 2.667%;}
        
    
    }

@media screen and (max-width: 640px) {
    
    body {
        font-size: 80%;
    }
    
    h1 {
        font-size: 180%;
    }
    
    h2 {
        font-size: 100%;
        letter-spacing: 0.05em;
        margin: 4% 0 0 0;
    }
    
    .otsikko {
    
        height: 20px;
        
    }
    
    .grid-header {
        width:97.333%; /*1095/1125 = 0.973333333... */
        height: 70px; 
        position: fixed;
        top: 0;
        left: 0;
        text-align: left;
        margin: 0 0 5px 2.667%;  /* 30/1125 = 0.026666666... */
        background: rgba(255,255,255,1);
        z-index: 20;
        padding: 0 0 20px 0;
        
        

    }
    
    
    .grids {
        margin-top: 100px;
    }
    

    
    #close {
        display: inline;
        float: right;
        width: 15px;
        height: 15px;
        background: #888;
        
    }
    
    #close span {
        font-family: 'rns_cameliaregular', Georgia, serif;
        color: rgba(255, 255, 255, 1);
        text-align: center;
        font-size: 12px;
        letter-spacing: 0em;
    }

    .grid-1{
        width: 47.333%; /* 532,5/1125 = 0,47333333....*/
        display: inline;
        float: left;
        height: 0;
        padding-bottom: 47.333%;
        }
        
    .grid-2, .grid-3, .grid-4, .grid-5{ width:97.333%; margin:0; } /*1095/1125 = 0.973333333... */
    

    #header-logo {
        display: block;
        height: 40px;
        width: 300px;
        clear: both;
        background: transparent url('../_img/nurkanvaltaajat_logo.png') no-repeat left top;
        background-size: 100%;
        margin: 0 0 -10px 0;
    }
    

    #navi {
        display: inline;
        float: left;
        height: 20px;
        width: 100%;
        padding: 0
        margin: 0 0 10px 0 ;
        background: transparent;
    }
    
    #navi p {
        font-family: 'rns_cameliaregular';
        color: rgba(0, 0, 0, 1);
        text-align: left;
        font-size: 140%;
        margin: 0;
        letter-spacing: 0.05em;
        width: 100%;
    }
    

}