﻿html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.jcarousel-pagination a.active {
background:#95C11C;
color: #95C11C;
opacity: 1;
display:none; /*tämä pois kun tulee enemmän kuvia*/
}

p {
margin:0px;
}

.nostokuva {
	border: thick solid #FFFFFF;
	position: relative;
	box-shadow: 1px 1px 3px 2px #999;
	width:196px;
}


.henkilosto.col-sm-12  {
	clear:both;
}
@media (min-width: 992px) {
.sub .henkilosto {


	clear:none;
	
}
}

.etusivunosto div {
	margin-bottom:15px;
}

.henk div {
	margin-bottom:25px;
}
.henk  {
	margin-left:10px;
	padding-top:35px;
}
@media (min-width: 992px) {
.henk  {
	margin-left:inherit;
}
}



.henkilosto .nostokuva {
	border: thick solid #FFFFFF;
	position: relative;
	box-shadow: 1px 1px 3px 2px #999;
	width:196px;
	float:left;
}

.henkilosto .henkilostoteksti {
	margin-left:15px;
	float:left;
}

.henkilosto h2 {
	color:#292254;
	margin-bottom:5px;
}


.nosto_corner {
	position:absolute;
	right: 0px;
	bottom: -16px;	
	z-index:9999;
}

.navbar .container  {
	position:relative;
}

.divider {
display:none;
}


@media (min-width: 768px) {
.divider {
	color: #FFF;
	display: block;
	padding: 15px 0px 15px 0px;
	float: left;
	display: block;
}
}

.breadcrumb .divider {
	padding:0px;
	}

.breadcrumb {
	margin-bottom:0px;
	padding-bottom:0px;
	background-color: #fff;
}


@media (max-width: 479px) { 
	.jcarousel-wrapper {
	display:none;
}
}


@media (min-width: 768px) {
.navbar-nav .etusivu {
	width:28px;
	height:22px;
	background-image:url('../images/home.png');
	background-repeat:no-repeat;
	margin-top:6px;
	text-indent:-99999px;
}
}

.navbar-nav .active .etusivu {
	background-position:0 -31px;
}

.divider_whole {
	height: 20px;
	background-image:url('../images/divider.png');
	background-repeat:repeat-x;
	background-position:center center;
	width: 100%;
}

.sub-page .divider_whole {
	height: 20px;
	margin-left:-15px;
	margin-right:-15px;
	background-image:url('../images/divider.png');
	background-repeat:repeat-x;
	background-position:center center;
	width: 103%;
}

.navbar-inverse {
	background-color:#95C11C;
	border-color:#95C11C;
}

footer {
	margin-top:10px;
	background-color:#666666;
	color:#FFF;
	 position: absolute;
	bottom: 0;
	width: 100%;
  /* Set the fixed height of the footer here */
  /* Set the fixed height of the footer here */
	height:50px;
	padding-left:15px;
	padding-top:15px;
	font-size:97%;
}

.container-fluid {
	padding:0px;
	margin-bottom:0px;
}

h1, h2 {
	font-family: 'Gafata' , Arial , Helvetica, sans-serif;
	
}

h1, h2 {
	font-size:2em;
	text-transform:uppercase;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {

color: #95C11C;
}

body {

}

@media (min-width: 768px) {
.navbar-header {
margin-top: 15px;
}
}

.etusivunosto a {
	color:inherit;
}
.etusivunosto a:hover {
	text-decoration:none;
}
.main_content .blue_area, .main_content .sub_nav {
	color:#FFF;
			background-color:#292254;
			margin-bottom:20px;
}

.main_content .blue_area {
		
			padding:16px;
			min-height:347px;
			
		
}

.main_content  h1, h2 {
	#color:inherit;
}

.main_content .sub_nav a {
	color:#FFF;
	display:block;
	float:left;
	padding-right:25px;
	background-image:url('../images/sub_nav/a_tag.png');
	background-repeat:no-repeat;
	background-position:right;
	
}

.main_content .refecarousel .sub_nav a {
	color:#FFF;
	display:block;
	float:left;
	padding-right:0px;
	background-image:none;
	background-repeat:no-repeat;
	background-position:right;
	
}

@media (min-width: 990px) {

.sub-page .divider_whole {
	width: 97%;
}

.main_content .sub_nav {
	background-repeat:no-repeat;
}

 .group-carousel {
	width:94%
 }


.sub_nav_holder {
	padding-top:150px;
	padding-right:35px;
	}
	
.refecarousel .sub_nav_holder {
	padding-top:0px;
	padding-right:0px;
}

.sub_nav {
	width:597px;
}

.refegal {
	
}

.main_content .blue_area {

		}
}


@media (min-width: 768px) {
.main_content .sub_nav {
	background-color:#FFF;
	background-repeat:no-repeat;
	/*background-position:right bottom;*/
}

.refegal {
	
}

.sub_nav_holder {
	padding-top:150px;
	padding-right:35px;
	}

.sub_nav {
	height:347px;
}




.bg_holder {
	height:100%;
	width:100%;
}


.main_content .sub_page {

	min-width:240px;
	min-height:347px;

}
}

