
* {
font-family: 'PT Sans', sans-serif;
}

html {
        min-height: 100%;
        position: relative;
    }

body {
	font-size:15px;
	color:#6b6666;
	line-height:24px;
	font-size:16px;
	 margin: 0 0 300px;
}

a {
	color:#1fae4b;
}

a:hover {
        color:#a4ad00;
}

h1 {
	font-family: 'PT Sans', sans-serif;
	font-size:38px;
	margin-bottom:20px;
	font-weight:800;
        background-color:#1fae4b;
        color:#fff;
        padding:10px 15px;
        -webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}

.valkoinen {
        color:#fff;
}

#etusivu-yla {
	background-color:#1fae4b;
	overflow:auto;
	padding:30px 30px;
	-webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        text-align: center;
}

#etusivu-yla h1{
        margin-top:0;
	color:#fff;
	font-size:50px;
	line-height:56px;
        margin-left:0;
        text-align:center;
        margin-bottom:0;
}

#etusivu-yla p {
	color:#fff;
	font-weight: bold;
	font-size:24px;
	line-height:30px;
        text-align:center;
        margin-top:0;
}

.error {
	color:#f00;
	font-size:11px;
	display: block;
	margin-top:0;
}

.paaotsikko {
        margin-top:0;
}

.paakuva {
        margin: 0 auto;
}


.etusivu-kolme {
	
	padding:20px;
	text-align: center;
	
}

.etusivu-kolme img {
	margin:20px auto;
}

.etusivu-kolme p {
	max-width:300px;
	margin:0 auto;
}

#section-yhteystiedot {
	
	padding:20px 0;
	margin:40px auto;
}

.yhteystiedot-inner {
	overflow:auto;
	background-color:#eee;
	padding:15px 25px 25px 25px;
	-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom:15px;
}

.yhteystiedot-inner p, .yhteystiedot-inner h3 {
	color:#000;
}

.googlemap {
        position: relative;
        padding-bottom: 75%; /* 4:3 ratio*/
        height: 0;
        overflow: hidden;
        border:5px solid #fff;
}

.googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    
}

.instagram-inner {
	overflow:hidden;
	padding:15px 25px 25px 25px;
	border:1px solid #1fae4b;
	-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom:15px;

}

.instagram-inner h1 {
	margin-top:10px;
	color:#1fae4b;
}

.uutinen {
	background-color:#eee;
        color:#000;
        font-size:18px;
        text-align:center;
        padding:20px;
}

.uutis-paivays {
	font-size:18px;
	font-weight: bold;
	color:#fff;
}

.luelisaa {
	color:#fff;
}


.kuvagalleria-kategoria-nimi p  a {
	color:#000;
	font-size:13px;
}

.otayhteytta-button {
        padding:10px 30px;
        border:1px solid #eee;
        background-color:#fff;
       -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        font-size:24px;
        font-weight: bold;
        margin:0 auto!important;
        color:#333;
       
}

a.otayhteytta-button:hover {
        text-decoration: none!important;
        background-color:#eee;
        color:#000;
}


#email-input {
	display: none;
}


#verhoilija-box {
        border:3px solid #1fae4b;
         -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        padding:20px 10px;
}

#verhoilija-linkit a {
        font-size:14px;
}

.yhteystiedot-button {
        background-color:#1fae4b!important;
        padding:10px 20px;
         -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
         color:#fff;
        font-size:19px;
        width: 100%;
        margin-bottom:10px;
        display: block;
}

a:hover.yhteystiedot-button {
        background-color:#2cc85c!important;
        text-decoration: none;
        color:#fff!important;
}

/* =================== FOOTER =========================== */

#footer {
	margin:30px 0 0 0;
	background-color:#1fae4b;
	padding:20px;
	text-align:center;
	color:#fff;

}

#footer a {
	color:#fff!important;
}	

ul#partners {
	list-style-type:none;
      
        text-align:left;
}

ul#partners li {
	display: inline-block;
    /* You can also add some margins here to make it look prettier */
    zoom:1;
    *display:inline;
    /* this fix is needed for IE7- */
	margin:0 10px;
}

ul#social-icons {
        
	list-style-type:none;
         text-align:left;
        padding-left:0;
       
}

ul#social-icons li {
        padding-left:0;
	display: inline-block;
    /* You can also add some margins here to make it look prettier */
    zoom:1;
    *display:inline;
    /* this fix is needed for IE7- */
	margin:12px 10px 0 0;
}

.copyright {
	color:#fff;
}

.copyright a {
	color:#666!important;
}


.item_box{
	
	margin:10px;
	overflow:auto;
}
 
.photo-thumb{
    
    float:left; 
}

.sisennys {
	padding:0 15px;
}


#footer-box {
     position: absolute;
    left: 0;
    bottom: 0;
    height: 262px;
    width: 100%;
    overflow: hidden;
   
    }

/* =================== NAVIGOINTI ========================= */

.navbar-default {
	margin-top:10px;
  background-color: #fff;
  margin-bottom:40px;
  
 

}
.navbar-default .navbar-brand {
  color: #ecf0f1;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #fdfdfd;
}
.navbar-default .navbar-text {
  color: #ecf0f1;
}

.navbar-nav {
         background-color:#1fae4b;
        margin-top:45px;
        padding:5px 8px!important;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
}



.navbar-default .navbar-nav > li > a {
	font-family: 'PT Sans', sans-serif;
	font-size:18px;
	 color:#fff;
	font-weight: bold;
       
         -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        margin-right:2px;
        padding:5px 10px!important;
	
	
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #000;
  background-color:#fff;
}



.dropdown-menu {
         background-color:#1fae4b;
}

.dropdown-menu>li>a {
    color: #fff;
    font-size:16px;
    font-weight: bold;
}

    /*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
    
    .paakuva {
        max-height:400px;
    }
	

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
    
	#etusivu-yla h1 {
		font-size:40px;
		line-height:44px;
	}
	
	.nav > li > a {
	
    font-size:15px;
  
	}
    
    .nav > li {
	padding:25px 0 0 0;
	
	}
	
	#footer-box {
        height: 332px;
        }
        
        .paaotsikko {
        margin-top:25px!important;
        }

        ul#social-icons,#seuraa_somessa,#seloste {
                text-align: center;
        }
        
        

    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
    
    .item_box{
	width:130px;
	height:130px;
	margin:15px;
	
	}
    	
    .navbar-default .navbar-nav  { background-color:#000; }
	
    .navbar-default .navbar-nav > li > a {
		padding-top:15px;
		text-align:right;
		padding-right:60px;
		border-bottom:1px solid #91552f;
	}
	
	#oikea-palsta {
		margin-top:25px;
	}
	
	body {
	 margin: 0 0 412px;
	}
	
	#footer-box {
    height: 412px;
    }
    
    
    

    }
	
	
	@media only screen and (max-width : 780px) {
	#tuoli {
		max-width:300px;
	}
	
	
	 body {
	 margin: 0 0 422px;
	}
	
	#footer-box {
    height: 422px;
    }
	
        ul#partners li p { font-size:16px}
        
        
	
	}
        
       

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
    body {
	 margin: 0 0 522px;
	}
	
	#footer-box {
        height: 432px;
        }
        
        #footer { padding:0;}
        
        .photo-thumb, .item_box{
    
        max-width:100px;
        }

        ul#partners {
        padding:0;
        margin:20px auto 0 auto;
        width:300px;
        }

ul#partners li p {
  font-size:13px!important;
  vertical-align: center;
  line-height:15px;
  padding-top:10px;
  
}
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
     
	 body {
	 margin: 0 0 622px;
	}
	
	#footer-box {
    height: 622px;
    }   
    }





@media (min-width: 1200px) {
    .container{
        max-width: 1000px;
    }
}


@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
 }




/* -------------------------- MOBIILINAVI ----------------------------- */

#mobiilinavi {
	background-color:#fff;
	padding:4px 10px;
	color:#000;
	
	margin:0;
}

#mobilenav {
  position:absolute;
  top:22px;
  right:25px;
}

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */    
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(31,174,75); /* Black fallback color */
    background-color: rgba(31,174,75, 0.95); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 10%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 10px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.overlay strong {
font-size: 34px;
color:#999;
}


/* The navigation links inside the overlay */
.overlay a {
	
    padding: 20px 0;
    text-decoration: none;
    font-size: 23px;
    color: #fff;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
    text-transform: uppercase;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}





#freeprivacypolicy-com---nb {
        max-width:600px;
        margin:0 auto;
}



