@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700|Raleway:400,500,600);

body {
	margin-top: 167px;
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
	background: url(../images/bg.jpg) repeat-x center top #ffffff;
	color: #373737;
	font-weight: 400;
	font-size: 16px;
	line-height: 27px;
}
a {
	color: #ef7951; 
	font-style: normal;
}
a:hover, a:focus {
	color: #e55220; 
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	color: #3cb093;
	line-height: normal;
}
h1, h2 { 
	margin-top: 0px;
	text-transform: uppercase;
}
h3 { 
	margin-top: 30px;
}
a.class1 {
	color: #ffffff;
}
.white {
	color: #ffffff;
}
footer {
	background-color: #828282; 
	min-height: 240px;
	padding-top: 45px;
	padding-bottom: 10px;
}
footer a {
	color: #373737;
}
.content { 
	background-color: #ffffff; 
	padding-left: 30px;
	padding-right: 30px; 
	padding-top: 30px; 
	padding-bottom: 30px; 
	margin-bottom: 15px; 
}
.content-2 { 
	background-color: #ededed; 
	padding-left: 30px;
	padding-right: 30px; 
	padding-top: 45px; 
	padding-bottom: 40px;
}
.padding-pieni {	
	padding-left: 9px;
	padding-right: 9px;
}

/* HEADER/NAVBAR
------------------------------------------------------------------------------------------*/

.navbar-default {
	background-color: #ffffff;
}
.navbar .navbar-nav {
	font-family: 'Raleway', sans-serif;
}
.nav > li > a {
	padding: 10px 10px;
}
.navbar-default .navbar-nav > li > a {
	color: #6d6d6d; 
	text-decoration: none; 
	font-size: 17px; 
	font-weight: 500; 
	padding-top: 7px; 
	padding-bottom: 9px;
}
.navbar-default .navbar-nav > li > a:hover {
	background-color: transparent;
	color: #56c6ab;
}
.navbar-default .navbar-nav > .active > a {
	background-color: #56c6ab; 
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	background-color: #56c6ab; 
	color: #ffffff;
}
.navbar-toggle {
	background-color: #a6a6a6; 
	border: 1px solid #a6a6a6; 
	padding: 7px 7px; 
	margin-top: 40px; 
	margin-left: 10px; 
	border-radius: 0px;
}
.navbar-default .navbar-toggle {
	border-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #ffffff; 
	width: 25px; 
	height: 3px;
}
.navbar-nav > li > .dropdown-menu {
	margin-top: 0px; 
	border-top-left-radius: 0px; 
	border-top-right-radius: 0px;
}
.dropdown-menu {
	background-color: #e6f2ee; 
	border: 0px solid rgba(0, 0, 0, 0.15); 
	border-radius: 0px; 
	box-shadow: none; 
	padding: 0px 0px; 
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.08); 
	font-size: 16px;
}
.dropdown-menu > li > a {
	padding: 6px 12px; 
	font-weight: 400; 
	color: #626262; 
	text-decoration: none;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #a1d3c1;
    color: #ffffff;
    outline: 0 none;
    text-decoration: none;
}

/* SLIDE
------------------------------------------------------------------------------------------*/
.slide_slogan_table {
	width: 100%; 
	display: table;
	background: url(../images/slide_slogan_bg.png) no-repeat left bottom #41b79a;
}
.slogan {
	color: #ffffff; 
	font-family: 'Raleway', sans-serif; 
	text-align: right; 
	font-weight: 400;
}

/* NO GUTTERS
------------------------------------------------------------------------------------------*/
.row.no-gutters {
	margin-right: 0; 
	margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
	padding-right: 0; 
	padding-left: 0;
}

/* KUVALINKKI
------------------------------------------------------------------------------------------*/

.kuvalinkkiteksti {
    padding-bottom: 10px;
    padding-top: 0px;
	padding-left: 20px;
	padding-right: 20px;
}
.etusivu-pikalinkit {
    padding-bottom: 18px;
    padding-top: 40px;
}
.etusivu-pikalinkit .container {
    padding-left: 21px;
    padding-right: 21px;
}
.link-text {
    color: #2f997f;
    font-family: 'Raleway', sans-serif; 
    font-weight: 400;
	font-size: 32px;
	text-align: center;
}
.link-text-2 {
    color: #ef7951;
    font-family: 'Raleway', sans-serif; 
    font-weight: 400;
	font-size: 32px;
	text-align: center;
}
.img-link {
    display: block;
    overflow: hidden;
    text-align: center;
}
.img-link .img-content {
    overflow: hidden;
}
.img-link .img-content img {
    transform: scale(1.01);
    transition: all 0.5s ease-in-out 0s;
}
.img-link:hover .img-content img {
    transform: scale(1.1);
}
.img-link .img-content::after {
    bottom: 0;
    content: "";
    left: 15px;
    right: 15px;
    top: 0;
}
.img-link .text-content {
    background-color: transparent;
	text-align: center;
    color: #ffffff;
    padding: 13px 6px 8px 6px;
    transition: all 0.3s ease-in-out 0s;
}
.img-link .img-content img {
    max-width: 100%;
    transform: scale(1.01);
    transition: all 0.3s ease-in-out 0s;
}
.no-margin {
    margin-left: 0;
    margin-right: 0;
}

/* UUTISET
------------------------------------------------------------------------------------------*/

.uutiset-fb {
    background: url(../images/uutiset_bg.jpg) no-repeat center bottom #e3f2ed;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 43px;
	padding-bottom: 40px;
}
li.media {
	padding-bottom: 10px;
}
.media-body em {
	color: #959595;
	font-style: normal;
}
.media-body p {
	margin-bottom: -3px;
	margin-top: -3px;
}
.media-body a {
	color: #ef7951;
}
.media-heading a {
	color: #31a387;
	font-size: 19px;
	font-weight: 600;
	font-family: 'Raleway',sans-serif;
}
.media-heading h4 {
	margin-top: -20px;
}
.media-list {
    list-style: outside none none;
    padding-left: 0;
}
.title {
	display: none;
}
.uutiset-main {
    margin-bottom: 10px;
}
.uutiset-otsikko {
    background-color: #2f997f;
	padding-left: 26px;
	padding-right: 23px;
	padding-top: 13px;
	padding-bottom: 13px;
}
.uutiset-sisalto {
    padding: 1em 1.6em;
	padding-top: 4px;
	background-color: #ffffff;
	min-height: 630px;
	overflow: hidden;
}
.otsikko {
    color: #ffffff;
    font-family: 'Raleway',sans-serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 0;
	text-transform: uppercase;
}
.hover figure {
    background: #fff none repeat scroll 0 0;
}
.hover figure img {
    opacity: 1;
    transition: all 0.3s ease-in-out 0s;
}
.hover figure:hover img {
    opacity: 0.5;
}

/* YHTEYSTIEDOT
------------------------------------------------------------------------------------------*/

.yhteystiedot {
    background-color: #a1d4c2;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 35px;
	padding-bottom: 27px;
}
.yhteystiedot-main {
    margin-bottom: 10px;
}
.yhteystiedot-otsikko {
    background-color: #757575;
	padding-left: 26px;
	padding-right: 23px;
	padding-top: 13px;
	padding-bottom: 13px;
}
.yhteystiedot-sisalto {
    padding: 30px 26px;
	min-height: 307px;
	overflow: hidden;
	background: url(../images/yhteystiedot_bg.png) no-repeat right bottom #d0eae1;
}
.kartta-sisalto {
    padding: 0px;
	overflow: hidden;
	margin-bottom: -6px;
}

/* BUTTON
------------------------------------------------------------------------------------------*/
.btn-primary {
	background-color: #41b79a; 
	font-size: 16px; 
	color: #ffffff; 
	border-color: #41b79a; 
	padding-left: 17px; 
	padding-right: 17px; 
	padding-top: 5px; 
	padding-bottom: 7px; 
	border-radius: 3px; 
	-webkit-transition: .4s ease-out; 
	transition: .4s ease-out;
}
.btn-primary:hover, .btn-primary:focus {
	background-color: #a1d3c1; 
	border-color: #a1d3c1; 
	color: #027559; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}

/* btn-info normaali
------------------------------------------------------------------------------------------*/
.btn-default {
	background-color:#41b79a; 
	font-size: 16px; 
	color: #ffffff; 
	border-color: #41b79a; 
	padding-left: 17px; 
	padding-right: 17px; 
	padding-top:5px; 
	padding-bottom:7px; 
	border-radius: 3px; 
	-webkit-transition: .4s ease-out; 
	transition: .4s ease-out;
}
.btn-default:hover, .btn-default:focus {
	background-color: #a1d3c1; 
	border-color: #a1d3c1; 
	color: #027559; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}

/* btn-info normaali nega
------------------------------------------------------------------------------------------*/
.btn-success { 
	background-color: #ffffff; 
	font-size: 16px; 
	color: #3cb093; 
	border-color: #a1d3c1; 
	padding-left: 17px; 
	padding-right: 17px; 
	padding-top: 17px; 
	padding-bottom: 17px; 
	border-radius: 3px; 
	-webkit-transition: .4s ease-out; 
	transition: .4s ease-out;
}
.btn-success:hover, .btn-success:focus {
	background-color: #41b79a; 
	border-color: #41b79a; 
	color: #ffffff;
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}

/* btn-info iso nega painike
------------------------------------------------------------------------------------------*/
.btn-info { 
	background-color: #ffffff; 
	font-size: 28px; 
	color: #3cb093; 
	border-color: #a1d3c1; 
	padding-left: 23px; 
	padding-right:23px; 
	border-radius: 3px; 
	-webkit-transition: .4s ease-out; 
	transition: .4s ease-out;
}
.btn-info:hover, .btn-info:focus {
	background-color: #41b79a; 
	border-color: #41b79a; 
	color: #ffffff; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}
.btn {
	font-family: 'Open Sans', Verdana, Helvetica, Trebuchet MS, sans-serif; 
	font-weight: 400; 
	text-align: center; 
	border: 0px solid transparent;
}

/* warning
------------------------------------------------------------------------------------------*/
.btn-warning {
	color: #ffffff; 
	background-color: #f99370; 
	padding-top: 8px; 
	padding-bottom: 10px; 
	padding-right: 18px; 
	padding-left: 18px; 
	border: 0px solid #ffffff;
	-webkit-transition:all 0.5s ease-out;
	-moz-transition:all 0.5s ease-out;
	-ms-transition:all 0.5s ease-out;
	-o-transition:all 0.5s ease-out;
	transition:all 0.5s ease-out;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-size: 22px;
}
.btn-warning:hover {
	background-color: #e07e5c; 
	border-color: #e07e5c; 
	color: #ffffff;
	-moz-transform: scale(1.08);
	-ms-transform: scale(1.08);
	-o-transform: scale(1.08);
	transform: scale(1.08);
}
.btn-warning:focus {
	background-color: #e07e5c; 
	border-color: #e07e5c; 
	color: #ffffff; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}
.btn-warning-2 {
	color: #ffffff; 
	background-color: #2f997f; 
	padding-top: 8px; 
	padding-bottom: 10px; 
	padding-right: 18px; 
	padding-left: 18px; 
	border: 0px solid #ffffff;
	-webkit-transition:all 0.5s ease-out;
	-moz-transition:all 0.5s ease-out;
	-ms-transition:all 0.5s ease-out;
	-o-transition:all 0.5s ease-out;
	transition:all 0.5s ease-out;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-size: 22px;
}
.btn-warning-2:hover {
	background-color: #267864; 
	border-color: #267864; 
	color: #ffffff;
	-moz-transform: scale(1.08);
	-ms-transform: scale(1.08);
	-o-transform: scale(1.08);
	transform: scale(1.08);
}
.btn-warning-2:focus {
	background-color: #267864; 
	border-color: #267864; 
	color: #ffffff; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}
.btn {
    margin-bottom: 0px;
    font-weight: 400;
    line-height: 1.42857;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -moz-user-select: none;
    background-image: none;
    border-radius: 0px;
}

	
/* SLIDE VAIHTUMINEN
------------------------------------------------------------------------------------------*/
.carousel-inner .item {
	opacity: 0 !IMPORTANT; 
	-webkit-transition-property: opacity !IMPORTANT; 
	-moz-transition-property: opacity !IMPORTANT; 
	-o-transition-property: opacity !IMPORTANT; 
	transition-property: opacity !IMPORTANT;
}
.carousel-inner .active {
	opacity: 1 !IMPORTANT;
}
.carousel-inner .active.left,
.carousel-inner .active.right {
	left: 0 !IMPORTANT;
	opacity: 0 !IMPORTANT;
	z-index: 1 !IMPORTANT;
}
.carousel-inner .next.left,
.carousel-inner .prev.right {
	opacity: 1 !IMPORTANT;
}
.carousel-control {
	z-index: 2 !IMPORTANT;
}
.carousel-indicators {
    bottom: 0px;
}

/* @MEDIA
------------------------------------------------------------------------------------------*/
@media (max-width: 767px) {
body {
	margin-top: 142px;
}
.navbar-header {
	height: 93px;
}
.slide_slogan_table_content {
	color: #ffffff; 
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}
.slide_slogan_table {
	padding-left: 30px; 
	padding-right: 30px; 
	padding-top: 30px; 
	padding-bottom: 30px;
}
.navbar-brand {
	padding: 24.5px 15px; 
	width: 250px; 
	margin-top: -7px;
}	
.margin-bottom {
	margin-bottom: 20px;
}
h1 {
	font-size: 30px;
}	
.slogan {
	font-size: 26px; 
	line-height: 34px; 
	text-align: center;
}
footer {
	padding-left: 30px; 
	padding-right: 30px;
}
.slide-frame {
	border: 0px solid #ffffff;
}
.navbar .navbar-nav {
	margin-top: 58px;
}
.otsikko {
	font-size: 22px;
}
.navbar .navbar-nav {
	margin-top: 8px;
}
}
/*768PX
------------------------------------------------------------------------------------------*/
@media (min-width: 768px) {
body {
	margin-top: 117px;
}
.navbar-header {
	height: 68px;
}
.navbar .navbar-nav {
	margin-top: 25px;
	display: inline-block; 
	float: none; 
	vertical-align: top;
}
.navbar .navbar-collapse {
	text-align: center;
}
.slide_slogan_table_content {
	background-color: #transparent;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.slide_slogan_table {
	padding-top: 30px; 
	padding-bottom: 24px;
}
.slogan {
	font-size: 36px; 
	line-height: 39px; 
	text-align: center;
}
.navbar-brand {
	padding: 24.5px 15px; 
	width: 180px; 
	margin-top: -15px;
}	
.navbar-right {
	float: left;
}	
.slide-frame {
	border: 0px solid #ffffff; 
	background-color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
	font-size: 13px;
}
.etusivu { 
	font-size: 28px;
}
}
/*992PX
------------------------------------------------------------------------------------------*/
@media (min-width: 992px) {
body {
	margin-top: 167px;
}
.navbar-header {
	height: 118px;
}
.navbar .navbar-nav {
	margin-top: 55px;
}
.slide_slogan_table_content {
	height: 343px;
}
.slide_slogan_table {
	padding-left: 10px; 
	padding-right: 35px; 
	padding-top: 0px; 
	padding-bottom: 0px;
}
.slogan {
	font-size: 28px; 
	line-height: 48px; 
	text-align: center;
}	
.navbar-brand {
	padding: 24.5px 15px; 
	width: 320px; 
	margin-top: -19px;
}	
.navbar-right {
	float: right !important;
}	
.slide-frame {
	border: 8px solid #ffffff;
}
.navbar-default .navbar-nav > li > a {
	font-size: 15px;
}
.aukioloajat {
	text-align: right;
	font-size: 18px;
	line-height: 30px;
}
.etusivu { 
	font-size: 30px;
}
}
/*1200PX
------------------------------------------------------------------------------------------*/
@media (min-width: 1200px) {
.slide_slogan_table_content {
	height: 417px;
}
.slide_slogan_table {
	padding-left: 35px; 
	padding-right: 50px;
}
.slogan {
	font-size: 40px; 
	line-height: 60px; 
	text-align: right;
}
.navbar-brand {
	padding: 24.5px 15px; 
	width: 340px; 
	margin-top: -25px;
}	
.text-padding {
	margin-top: 40px;
}
.navbar-default .navbar-nav > li > a {
	font-size: 17px;
}
.etusivu { 
	font-size: 36px;
}
}
