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

body {
	margin-top: 126px; 
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif; 
	background-color: #ffffff;
	font-size: 17px; 
	line-height: 24px; 
	color: #131313;
	font-weight: 400; 
}
a {
	color: #184fa3; 
	font-weight: 400; 
	font-style: normal;
}
a:focus, a:hover {
	color: #131313; 
	text-decoration: none;
}
p,li {
	font-size: 17px; 
	line-height: 24px; 

    margin: 0 0 15px;
}

hr {border-top: 1px solid #D5C9B4;}


h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
	font-weight: 400;
	color: #184fa3;
	line-height: normal;
}
h1 {
	margin-top: 0px;
	color: #184fa3;
	font-weight: 700;
	text-transform: uppercase;
}


.etusivu-otsikko {
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
	color: #ffffff; 
	font-weight: 400; 
	font-size: 32px;

}
.ingress {
	color: #2d2d2d; 
	font-weight: 300; 
	font-size: 22px; 
	line-height: 32px;
}
.white {
	color: #ffffff;
}
footer {
	background-color: #184fa3; 
	color: #ffffff;
}
footer a {
	color: #ffffff;
}
.padding-pieni {	
	padding-left: 9px;
	padding-right: 9px;
}
.soita-meille {	
	background-color: #184fa3; 
	padding-top: 25px; 
	padding-bottom: 25px;
}
.nettiajanvaraus {
	background-color: #e7e7e7; 
	padding-top: 20px; 
	padding-bottom: 20px;
	border-top: 4px solid #ffffff;
}


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

.navbar-default {
	background-color: #e7e7e7;
	text-align: center;
	text-transform: uppercase;
}
.navbar .navbar-nav {
	margin-top: 10px;
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
}
.nav > li > a {
	padding: 10px 10px;
}
.navbar-default .navbar-nav > li > a {
	color: #184fa3; 
	text-decoration: none; 
	font-size: 16px; 
	font-weight: 300; 
	padding-top: 12px; 
	padding-bottom: 10px;
	font-family: 'Exo 2', sans-serif;  
}
.navbar-default .navbar-nav > li > a:hover {
	background-color: #4b8cf0;
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a {
	background-color: #184fa3;
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a:hover {
	background-color: #4b8cf0; 
	color: #ffffff;
}
.navbar-toggle {
	background-color: transparent; 
	border: none; 
	padding: 7px 7px; 
	margin-top: 30px; 
	margin-left: 10px;
	border-radius: 0px;
}
.navbar-default .navbar-toggle {
	border-color: #184fa3;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background-color: #4b8cf0;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #184fa3; 
	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: #ffffff; 
	border: 0px solid rgba(0, 0, 0, 0.15); 
	border-radius: 0px; 
	box-shadow: none; 
	padding: 0px 0px; 
	box-shadow: 0px 3px 3px rgba(80, 71, 66, 0.2);
	font-size: 17px;
}
.dropdown-menu > li > a {
	padding: 6px 12px; 
	font-weight: 400; 
	color: #131313; 
	text-decoration: none;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #184fa3;
    color: #ffffff;
    outline: 0 none;
    text-decoration: none;
}
.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: 470px;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    background-color: #4b8cf0;
    color: #ffffff;
}

.navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    color: #ffffff;
    background-color: #4b8cf0;
}
.fa {
	padding: 0px 0px 0px 0px; 
}

/* HEADER KUVA
_____________________________________________ */

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


/* SLIDE VAIHTUMINEN
------------------------------------------------------------------------------------------*/

.carousel-indicators {
    bottom: 0px;
}
.carousel-caption {
	left: 0px;
	right: 0px;
	top: 40%;
	padding-top: 0px; 
	padding-bottom: 0px; 
	position: absolute; 
	z-index: 200; 
	text-align: center;
}
.carousel-caption p {
	display: inline; 
	font-weight: 500; 
	padding-top: 0px; 
	padding-bottom: 0px;
	color: #e2001a;
    	text-shadow: 1px 1px 10px #f4f4f4;
}

.slogan-01 {
	color: #ffffff;
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif; 
	text-align: center; 
	font-weight: 400; 
	padding-right: 15px; 
	text-transform: none;
	text-transform: uppercase;
}



.slide-text-content {
    left: 0px;
    right: 0px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 200;
}

.text-box-text{
    left: 0px;
    position: absolute;
	top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #FFF;
    z-index: 200;
    text-align: center;
}

.no-margin{ margin-right: 0px; margin-left: 0px;}
.no-padding{padding-left: 0 !important; padding-right: 0 !important;}
.container-fluid {padding-right: 0px; padding-left: 0px;}



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

.kuvalinkkiteksti {
    padding-bottom: 0px;
    padding-top: 0px;
	padding-left: 20px;
	padding-right: 20px;
}
.etusivu-pikalinkit {
	background: url('../images/bg_kuvalinkit.jpg') no-repeat top center #ffffff;
    padding-bottom: 20px;
    padding-top: 30px;
    border-top: solid 4px #ffffff;
}
.etusivu-pikalinkit .container {
    padding-left: 15px;
    padding-right: 15px;
}
.link-text {
    color: #184fa3;
    font-family: 'Open Sans', sans-serif; 
    font-weight: 400;
	font-size: 24px;
	text-transform: uppercase;
	text-align: center;

}
.img-link {
    display: block;
    overflow: hidden;
    text-align: center;
	border: solid 1px #d3d3d3;
	background-color: #ffffff;
	padding-bottom: 17px;
}
.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: 16px 10px 0px 10px;
    transition: all 0.5s ease-in-out 0s;
}
.img-link .img-content img {
    max-width: 100%;
    transform: scale(1.01);
    transition: all 0.5s ease-in-out 0s;
}
.no-margin {
    margin-left: 0;
    margin-right: 0;
}

/* PAINIKKEET
------------------------------------------------------------------------------------------*/
.painikkeet {background-color: #4b8cf0; padding-top: 30px; padding-bottom: 10px; }

.painikkeet-font {
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
 font-weight: 400; color: #ffffff; padding-bottom: 20px;
    font-size: 18px;
}





/* BUTTON
------------------------------------------------------------------------------------------*/
.btn-primary {
	background-color: #e2001a; 
	font-size: 16px; 
	color: #ffffff; 
	border-color: #e2001a; 
	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: #d3d3d3; 
	border-color: #d3d3d3; 
	color: #ffffff; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}

/* btn-info normaali
------------------------------------------------------------------------------------------*/
.btn-default {
	background-color: #d3d3d3; 
	font-size: 16px; 
	color: #ffffff; 
	border-color: #d3d3d3; 
	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: #ffffff; 
	border-color: #ffffff;
	color: #e2001a; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}

/* btn-info normaali nega
------------------------------------------------------------------------------------------*/
.btn-success { 
	background-color: #ffffff; 
	font-size: 16px; 
	color: #e2001a; 
	border-color: #e2001a; 
	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: #d3d3d3; 
	border-color: #d3d3d3; 
	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: #e2001a; 
	border-color: #e2001a; 
	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: #d3d3d3; 
	border-color: #d3d3d3; 
	color: #ffffff; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}
.btn {
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
	font-weight: 400; 
	text-align: center; 
	border: 0px solid transparent;
}

/* warning
------------------------------------------------------------------------------------------*/
.btn-warning {
	color: #ffffff; 
	background-color: #e2001a; 
	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: 16px;
}
.btn-warning:hover {
	background-color: #d3d3d3; 
	border-color: #d3d3d3; 
	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: #dfa900; 
	border-color: #dfa900; 
	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;
}

/* @FB
------------------------------------------------------------------------------------------*/

.fb-otsikko {
    color: #ffffff;
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
    font-size: 32px;
	font-weight: 400;
    margin-bottom: 0;
	text-transform: uppercase;
}

.fb-uutiset-main {
    background-color: #ffffff;
    margin-bottom: 15px;
	margin-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
}
.fb-uutiset-otsikko {
    background-color: #e2001a;
	padding-left: 26px;
	padding-right: 23px;
	padding-top: 13px;
	padding-bottom: 13px;
}
.fb-uutiset-sisalto {
    padding: 1em 1.6em;
	padding-top: 4px;
	background-color: #f4f4f4;
	min-height: 300px;
	overflow: hidden;
}


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

@media (max-width: 767px) {
body {
	margin-top: 93px; 
}
.navbar-header {
	height: 93px;
}
.navbar-brand {
	float: left;
	padding: 10px 10px 24.5px 7px; 
	width: 220px; 
	margin-top: 0px;
}	
.navbar .navbar-nav {
	margin-top: 0px;
}


.margin-bottom {
	margin-bottom: 20px;
}
h1 { 
	font-size: 26px;
	line-height: 36px;
}

.ingress {
	font-size: 21px; 
	line-height: 26px;
}
.link-margin-bottom {
	margin-bottom: 15px;
}
.text-box-text {
	font-size: 25px;
}
.link-text {
	font-size: 18px;
}

.etusivu-otsikko {
	font-size: 32px;
}




}
/* 768
------------------------------------------------------------------------------------------*/
@media (min-width: 768px) {
body {
	margin-top: 180px;
}
.navbar-header {
	height: 38px;
}
.header-pienempi {
	height: 372px; 
	background-size: 1200px 372px;
}
.navbar-brand {
	float: none;
	padding: 0px;
	height: auto;
}
.ylalogo {
	padding: 16px 15px 2px 15px; 
	width: 300px;
	transition: all 0.5s ease-in-out 0s;
}
.ylalogo2 {
	padding: 7px 15px 0px 15px; 
	width: 200px;
	transition: all 0.6s ease-in-out 0s;
}	

.navbar-default .navbar-nav > li > a {
	font-size: 16px;
	padding-left: 12px;
	padding-right: 12px;
}

.link-margin-bottom {
	margin-bottom: 30px;
}
.link-text {
	font-size: 18px;
}
.navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
	margin-top: 2px;
}

.etusivu-otsikko { 
	font-size: 40px;
}
.carousel-caption {
	top: 45%;
}

.slogan-tausta {
	text-align: center;
	margin-right: 10%;
	margin-left: 10%;
	background: url('../images/slide_slogan_bg.png') center top repeat scroll transparent;
}
.slogan-01 {
	color: #ffffff;
	font-size: 24px;
	line-height: 40px;
	padding-top: 0px;
}

}

/* 992
------------------------------------------------------------------------------------------*/
@media (min-width: 992px) {
body {
	margin-top: 200px; 
}
.navbar-header {
	height: 43px;
}
.ylalogo {
	padding: 15px 15px 5px 15px; 
	width: 350px;
	transition: all 0.5s ease-in-out 0s;
}
.ylalogo2 {
	padding: 7px 15px 0px 15px; 
	width: 250px;
	transition: all 0.6s ease-in-out 0s;
}	

.navbar-default .navbar-nav > li > a {
	font-size: 16px;
	padding-left: 20px;
	padding-right: 20px;
}
h1 {
	font-size: 30px;
}

.link-text {
	font-size: 18px;
}


.etusivu-otsikko { 
	font-size: 32px;
}
.carousel-caption {
	top: 45%;
}
.slogan-tausta {
	padding-left: 15px;
	padding-right: 15px;

	text-align: center;
	margin-right: 10%;
	margin-left: 10%;
	background: url('../images/slide_slogan_bg.png') center top repeat scroll transparent;
}
.slogan-01 {
	font-size: 29px;
	line-height: 40px;
	padding-top: 0px;
}
}
/* 1200
------------------------------------------------------------------------------------------*/
@media (min-width: 1200px) {
body {
	margin-top: 210px;
}

.ylalogo {
	padding: 15px 15px 15px 15px; 
	width: 350px;
	transition: all 0.5s ease-in-out 0s;
}
.ylalogo2 {
	padding: 7px 15px 10px 15px; 
	width: 250px;
	transition: all 0.6s ease-in-out 0s;
}

.navbar-default .navbar-nav > li > a {
	font-size: 17px;
	padding-left: 23px;
	padding-right: 23px;
}

.link-text {
	font-size: 18px;
}
.bg-1 {
	background-size: 100% auto;
}
.carousel-caption {
	top: 45%;
}

.slogan-tausta {
	padding-left: 17px;
	padding-right: 17px;
}

.slogan-01 {
	font-size: 35px;
	line-height: 50px;
	padding-top: 0px;
}

}