@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700|Montserrat:400);

body {
	margin-top: 104px; 
	font-family: 'Lato', Arial, Helvetica, Trebuchet MS, sans-serif; 
	background-color: #ffffff; 
	font-size: 17px; 
	line-height: 27px; 
	color: #333333;
}
a {
	color: #e94e1a; 
	font-weight: 400; 
	font-style: normal;
}
a:focus, a:hover {
	color: #00303f; 
	text-decoration: none;
}

/* OTSIKOT
------------------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', Arial, Helvetica, Trebuchet MS, sans-serif;
	font-weight: 400;
	color: #009ee3;
	line-height: normal;
}
h1 {
	font-size: 38px;
}
h2 {
	font-size: 30px;
	color: #e94e1a;
}
h3 {
	font-size: 25px; 

}
h4 {
	font-size: 21px;
	color: #00587f;
}
h5 {
	font-size: 19px;
}
h6 {
	font-size: 18px;
}
.ingress {
	color: #009ee3; 
	font-weight: 400; 
	font-size: 22px; 
	line-height: 36px;
}
.white {
	color: #ffffff;
}
footer {
	background-color: #00587F; 
	color: #ffffff;
}
.footer-osoite {
 
	margin-top: -24px;
}
.etusivu-pikalinkit {
	background: url('../images/linkit_main_bg.png') center top repeat scroll #009ee3; 
	padding-top: 30px; 
	padding-bottom: 20px;
}

/* ETUSIVU LINKIT
_____________________________________________ */

.link-text {
    color: #ffffff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
	font-size: 36px;
}
.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.6s ease-in-out 0s;
}
.img-link:hover .img-content img {
    transform: scale(1.09);
}
.img-link:hover .img-content::after {
    bottom: 0;
    content: "";
    left: 15px;
    position: absolute;
    right: 15px;
    top: 0;
    z-index: 100;
}
.img-link .text-content {
    background-color: #00587f;
    color: #fff;
    left: 15;
    padding: 14px 26px 5px;
    position: absolute;
    bottom: 0;
    transition: all 0.3s ease-in-out 0s;
}
.img-link:hover .text-content {
    background-color: #009ee3;
    color: #fff;
    left: 15;
    padding: 14px 26px 5px 36px;
    position: absolute;
    bottom: 0;
    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;
}

/* HEADER KUVA
_____________________________________________ */

.divider {
	height: 50px;
}
section {
	height: 540px; 
	padding-top: 132px; 
	padding-bottom: 50px; 
	overflow: auto;
}
.bg-1 {
	background: url('../images/header_img.jpg') no-repeat top center fixed; 
	color: #ffffff;
}
.header-pienempi {
	background: url('../images/header_img2.jpg') no-repeat top center; 
	color: #ffffff;
}

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

nav {color: #ffffff;
	}
.navbar-default {
	background-color: #009ee3;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
	color: #ffffff; 
	text-decoration: none; 
	font-size: 18px;
}
.navbar-default .navbar-nav > li > a:hover {
	background-color: #00587f; 
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a {
	background-color: #00587f; 
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a:hover {
	background-color: #00587f; 
	color: #ffffff;
}
.navbar-default .navbar-toggle {
	border-color: #ffffff;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #ffffff;
}
.navbar .navbar-nav {
	margin-top: 45px;
}
.navbar-default .navbar-toggle {
	border-color: #ffffff;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: transparent;
}
.navbar-toggle {
	background-color: transparent; 
	border: none; 
	padding: 7px 7px;
	margin-top: 45px; 
	margin-left: 5px;
}
.navbar-default .navbar-toggle {
	border-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #ffffff; 
	width: 30px; 
	height: 3px;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    background-color: #e94e1a;
    color: #00303f;
}
.navbar-nav > li > .dropdown-menu {
	margin-top: 0px; 
	border-top-left-radius: 0px; 
	border-top-right-radius: 0px;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background-color: #009ee3;
}
.dropdown-menu {
	background-color: #ffffff; 
	border: 0px solid rgba(0, 0, 0, 0.15); 
	border-radius: 4px; 
	box-shadow: none; 
	padding: 0px 0px; 
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05); 
	font-size: 16px;
}
.dropdown-menu > li > a {
	padding: 6px 10px; 
	font-weight: 400; 
	color: #00303f; 
	text-decoration: none;
}

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

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

/* btn-info normaali nega
------------------------------------------------------------------------------------------*/
.btn-success { 
	background-color: #ffffff; 
	font-size: 16px; 
	color: #00b5f9; 
	border-color: #00303f; 
	padding-left: 17px; 
	padding-right: 17px; 
	padding-top: 17px; 
	padding-bottom: 17px; 
	border-radius: 5px; 
	-webkit-transition: .4s ease-out; 
	transition: .4s ease-out;
}
.btn-success:hover, .btn-success:focus {
	background-color: #00303f; 
	border-color: #00303f; 
	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: #00b5f9; 
	border-color: #00303f; 
	padding-left: 23px; 
	padding-right: 23px; 
	border-radius: 5px; 
	-webkit-transition: .4s ease-out; 
	transition: .4s ease-out;
}
.btn-info:hover, .btn-info:focus {
	background-color: #00303f; 
	border-color: #00303f; 
	color: #ffffff; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}
.btn {
	font-family: 'Lato', Verdana, Helvetica, Trebuchet MS, sans-serif; 
	font-weight: 400; 
	text-align: center; 
	border: 0px solid transparent;
}

/* @MEDIA
------------------------------------------------------------------------------------------*/

@media (max-width: 767px) {

.header-pienempi {
	height: 280px; 
	background: url('../images/header_img3.jpg') no-repeat top center;
}
.navbar-brand {
	padding: 24.5px 5px 24.5px 15px; 
	width: 245px; 
	margin-top: 2px;
}
.margin-bottom {
	margin-bottom: 20px;
}
h1 { 
	font-size: 28px;
}
.link-margin-bottom {
	margin-bottom: 15px;
}
.text-box-text {
	font-size: 25px;
}
.link-text {
	font-size: 23px;
}
.footer-osoite {
	padding-left: 0px; 
	margin-top: -24px;
}
}
/* 768
------------------------------------------------------------------------------------------*/
@media (min-width: 768px) {
.header-pienempi {
	height: 390px; 
	background-size: 1313px 390px;
}
.navbar-brand {
	padding: 24.5px 25px; 
	width: 200px; 
	margin-top: 18px;
}
.navbar-default .navbar-nav > li > a {
	font-size: 14px;
}
.link-margin-bottom {
	margin-bottom: 30px;
}
.link-text {
	font-size: 26px;
}
}

/* 992
------------------------------------------------------------------------------------------*/
@media (min-width: 992px) {
.navbar-brand {
	padding: 24.5px 25px; 
	width: 310px; 
	margin-top: -2px;
}
.header-pienempi {
	height: 390px; 
	background-size: 1313px 390px;
}
.navbar-default .navbar-nav > li > a {
	font-size: 18px;
}
.link-text {
	font-size: 30px;
}
}
/* 1200
------------------------------------------------------------------------------------------*/
@media (min-width: 1200px) {
.navbar-brand {
	padding: 24.5px 15px; 
	width: 370px; 
	margin-top: -10px;
}
.link-text {
	font-size: 36px;
}
}




