@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700|Oswald:300,400|Droid+Serif|Taviraj:100,200,300,400,500,600,700);

body {
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
	background-color: #ffffff;
	color: #2d2d2d;
	font-weight: 400;
	font-size: 17px;
	line-height: 24px;
}
a {
	color: #b39a7b; 
	font-style: normal;
	font-weight: 700;
}
a:hover {
	color: #887155; 
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Taviraj', 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
	font-weight: 400;
	color: #4b321c;
	line-height: normal;
}
h1 { 
	text-transform: uppercase;
	margin-top: 0px;
	font-size: 38px;
	line-height: 46px;

}
h2 { 
	font-size: 28px;
	line-height: 36px;
}
h3 { 
	font-size: 24px;
	line-height: 28px;
	color: #b39a7b;

}
.ingress {
	color: #2d2d2d; 
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;
	font-size: 18px;
	line-height: 24px;
	font-weight: 300;
	margin-bottom: 20px;
}
a.class1 {
	color: #ffffff;
}
.white {
	color: #ffffff;
}
footer {
	background-color: #4b321c; 
	min-height: 177px;
	padding-top: 45px;
	padding-bottom: 35px;
	color: #ffffff;
}
footer a {
	color: #ffffff;
}
.content { 
	padding-left: 0px;
	padding-right: 0px; 
	padding-top: 30px; 
	padding-bottom: 30px; 
}
.padding-pieni {	
	padding-left: 9px;
	padding-right: 9px;
}

.etusivu-logot {
	background: #ffffff;
    padding-bottom: 45px;
    padding-top: 35px;
}
.etusivu-logot .container {
    padding-left: 21px;
    padding-right: 21px;
}


.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.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;
}


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

.navbar {
	margin-bottom: 0;
	border: 0;
	border-radius: 0;

}
.navbar-default {
	background-color: #ffffff;
}
.navbar .navbar-nav {
	font-family: 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;

}
.nav > li > a {
	padding: 10px 10px;
}
.navbar-default .navbar-nav > li > a {
	color: #2d2d2d; 
	text-decoration: none; 
	font-size: 18px; 
	font-weight: 400; 
	padding-top: 7px; 
	padding-bottom: 9px;
}
.navbar-default .navbar-nav > li > a:hover {
	background-color: #4b321c;
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a {
	background-color: #4b321c; 
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a:hover {
	background-color: #4b321c; 
	color: #ffffff;
}
.navbar-toggle {
	background-color: transparent;  
	border: none; 
	padding: 7px 7px; 
	margin-top: 20px; 
	margin-left: 10px;
	border-radius: 0px;
	margin-bottom: 14px;
}
.navbar-default .navbar-toggle {
	border-color: transparent;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background-color: #b39a7b;

}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #4b321c; 
	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(0, 0, 0, 0.08); 
	font-size: 16px;
}
.dropdown-menu > li > a {
	padding: 6px 10px; 
	font-weight: 400; 
	color: #1d232e; 
	text-decoration: none;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #1d232e;
    color: #ffffff;
    outline: 0 none;
    text-decoration: none;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    background-color: #ffffff;
    color: #1d232e;
}
.navbar-right .dropdown-menu {
    right: auto;
    left: 0;
}

/* LAATIKOT
------------------------------------------------------------------------------------------*/

.laatikko-kuva-01 {
	background: url("../images/laatikkokuva_01.jpg") no-repeat center center #4b321c;
	background-size: cover;
	border-right: solid 2px #ffffff;
}
.laatikko-kuva-02 {
	background: url("../images/laatikkokuva_02.jpg") no-repeat center center #4b321c;
	background-size: cover;
	border-right: solid 2px #ffffff;
}
.laatikko-oikea {
	border-left: solid 2px #ffffff;
	height: 394px;
}
.laatikko-vasen {
	border-right: solid 2px #ffffff;
	height: 394px;
}
.laatikko-txt {
    margin-bottom: 20px;
	padding-right: 30px;
	padding-left: 30px;
	color: #ffffff;
	font-weight: 300;
	font-size: 20px;
	line-height: 36px;
	position: relative;
  	top: 48%;
	-webkit-transform: translateY(-50%);
 	 -ms-transform: translateY(-50%);
  	transform: translateY(-50%);
}


/* SOITA
------------------------------------------------------------------------------------------*/

.soita {	
	background: url("../images/soita_bg.jpg") no-repeat center center #ffffff;
	height: 450px;
	padding-top: 10px; 
	padding-bottom: 10px;
	border-top: solid 1px #4b321c;
	border-bottom: solid 4px #ffffff;
	text-align: center;
}
.soita-txt {	
	background-color: rgba(255, 255, 255, 0.5);
	width: 50%;
	position: relative;
  	top: 50%;
	-webkit-transform: translateY(-50%);
 	 -ms-transform: translateY(-50%);
  	transform: translateY(-50%);
	margin-left: auto;
	margin-right: auto;
	padding-left: 34px;
	padding-right: 34px;
	padding-top: 30px;
	padding-bottom: 47px;
	color: #2d2d2d;
	font-size: 28px;
	line-height: 36px;
	font-weight: 400;
    border-radius: 3px;
	border: solid 1px #4b321c;
}

/* BANNERIT
------------------------------------------------------------------------------------------*/
.bannerit {	
	background-color: #ffffff; 
}

.bannerit-main {
	padding-top: 30px;
	padding-bottom: 30px;
	background-color: #fff;

}

.content img {
     max-width: 100%;
}
.content2 img {
     max-width: 100%;
}




/* EI MARGINAALEJA
------------------------------------------------------------------------------------------*/
.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;
}
.container-fluid {
	padding-right: 0px; 
	padding-left: 0px;
}

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

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

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

/* btn-info iso nega painike
------------------------------------------------------------------------------------------*/
.btn-info { 
	background-color: #887155; 
	font-size: 18px; 
	color: #ffffff;  
	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: #4b321c; 
	border: 1px solid #ffffff; 
	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: #25bb9d; 
	padding-top: 5px; 
	padding-bottom: 4px; 
	padding-right: 23px; 
	padding-left: 29px; 
	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', Arial, Helvetica, Trebuchet MS, sans-serif;

	text-transform: uppercase;
	font-size: 32px;
	font-weight: 300 !important;
}
.btn-warning:hover {
	background-color: #7adfdb; 
	border-color: #7adfdb; 
	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: #25bb9d; 
	border-color: #25bb9d; 
	color: #ffffff; 
	-webkit-transition: .3s ease-in; 
	transition: .3s ease-in;
}
.btn-transparent {
	color: #4b321c; 
	background-color: rgba(255, 255, 255, 1.0); 
	padding-top: 5px; 
	padding-bottom: 4px; 
	padding-right: 23px; 
	padding-left: 20px; 
	border: 1px solid #4b321c;
	-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', Arial, Helvetica, Trebuchet MS, sans-serif;

	text-transform: uppercase;
	font-size: 28px;
	font-weight: 400 !important;
}
.btn-transparent:hover {
	color: #b39a7b; 
	background-color: rgba(255, 255, 255, 0.4);
	-moz-transform: scale(1.08);
	-ms-transform:scale(1.08);
	-o-transform:scale(1.08);
	transform:scale(1.08);
}
.btn-transparent:focus {
	color: #383838; 
	background-color: rgba(255, 255, 255, 0.4);
	-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: 3px;
}
	
/* SLIDE VAIHTUMINEN
------------------------------------------------------------------------------------------*/

.carousel-indicators {
    bottom: 0px;
}
.carousel-caption {
	left: 0px; 
	right: 0px;
	top: 0%;
	padding-top: 0px; 
	padding-bottom: 0px; 
	position: absolute; 
	z-index: 200; 
	text-align: left;
	margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
}
.carousel-caption p {
	display: inline; 
	font-family: Ruda, 'Open Sans', Arial, Helvetica, Trebuchet MS, sans-serif;

	font-weight: 500; 
	padding-top: 0px; 
	padding-bottom: 0px;
    text-shadow: 0 0px 2px rgba(0,0,0,.1);

}
.slogan-01-bg {
	background-color: rgba(255, 255, 255, 0.58);
	margin-bottom: 10px;
	padding: 15px 10px 15px 21px;
	color: #303030;
}
.slogan-02-bg {
	background-color: #4b321c;
	margin-bottom: 12px;
	padding: 5px 10px 5px 21px;
	color: #ffffff;
}

/* @MEDIA
------------------------------------------------------------------------------------------*/
@media (max-width: 767px) {
body {
	margin-top: 75px;
}
.navbar-header {
	height: 75px;
}
.navbar-brand {
	padding: 15px 5px 5px 5px; 
	width: 270px; 
	margin-top: 0px;
}

.margin-bottom {
	margin-bottom: 20px;
}
h1 { 
	font-size: 30px;
	line-height: 38px;
}
h2 { 
	font-size: 21px;
	line-height: 28px;
}
h3 { 
	font-size: 21px;
	line-height: 28px;
}
	
footer {
	padding-left: 8px; 
	padding-right: 8px;
}

.otsikko {
	font-size: 25px;
}
.navbar .navbar-nav {
	margin-top: 8px;
}
.content { 
	padding-top: 35px; 
	padding-left: 8px;
	padding-right: 8px;
}
.ingress {
	font-size: 18px;
	line-height: 26px;
	font-weight: 300;
}
.etusivu-uutiset-vasen {
	background-size: cover;
	min-height: 370px;	
}
.uutiset-main {
    margin-bottom: 20px;
	margin-top: 40px;
	padding-right: 18px;
	padding-left: 18px;
}
.link-text {
	font-size: 28px;
}
.soita {	
	height: 300px;
}

.soita-txt {	
	width: 90%;
	font-size: 19px;
	line-height: 30px;
}
.btn-transparent {
	padding-right: 10px; 
	padding-left: 10px; 
	font-size: 26px;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
}
.laatikko-kuva-01 {
	border-right: solid 0px #ffffff;
	margin-bottom: -20px
}
.laatikko-kuva-02 {
	border-right: solid 0px #ffffff;
}
.laatikko-kuva-03 {
	border-right: solid 0px #ffffff;
}
.laatikko-oikea {
	border-left: solid 0px #ffffff;
	height: 390px;
}
.laatikko-vasen {
	border-right: solid 0px #ffffff;
	height: 360px;
	background-color: #4b321c;
}
.laatikko-txt {
	font-size: 18px;
	line-height: 25px;
	padding-right: 8px;
	padding-left: 8px;
}
}
/*768PX
------------------------------------------------------------------------------------------*/
@media (min-width: 768px) {
.navbar .navbar-nav {
	display: inline-block; 
	float: none; 
	vertical-align: top;
}
body {
	margin-top: 90px;
}


.navbar-header {
	height: 90px;
}
.navbar .navbar-nav {
	margin-top: 30px;
}
.navbar-brand {
	padding: 20px 0px; 
	width: 300px; 
	margin-top: 0px;
}	
.navbar-right {
	float: left;
}	
.navbar-default .navbar-nav > li > a {
	font-size: 16px;
	padding-left: 9px;
	padding-right: 9px;
}
.dropdown-menu {
	font-size: 14px;
}
.header-mobiilisoitto {
	padding: 20px 0px 0px 0px;
}
.ingress {
	font-size: 18px;
	line-height: 26px;
}
.carousel-caption {
	top: 55%;
	width: 720px;
}
.slogan-leveys {
	width: 71%;
}
.slogan-01 {
	font-size: 25px; 
	line-height: 35px;
	text-transform: uppercase;
}
.slogan-02 {
	font-size: 18px; 
	line-height: 30px;
	font-weight: 300 !important;

}
.soita-txt {	
	width: 55%;
	font-size: 21px;
	line-height: 30px;
}
.laatikko-txt {
	font-size: 17px;
	line-height: 25px;
}
.laatikko-oikea {
	border-left: solid 0px #ffffff;
	height: 420px;
}
.laatikko-vasen {
	border-right: solid 0px #ffffff;
	height: 420px;
	background-color: #4b321c;
}

}
/*992PX
------------------------------------------------------------------------------------------*/
@media (min-width: 992px) {
body {
	margin-top: 110px;
}


.navbar-header {
	height: 110px;
}
.navbar-brand {
	padding: 20px 0px 15px 0px; 
	width: 400px; 
	margin-top: 0px;
}
.navbar .navbar-nav {
	margin-top: 40px;
}
.navbar-right {
	float: right !important;
}	
.navbar-default .navbar-nav > li > a {
	font-size: 18px;
	padding-left: 13px;
	padding-right: 13px;
}
.dropdown-menu {
	font-size: 16px;
}
.header-mobiilisoitto {
	padding: 25px 0px 0px 0px;
}
.ingress {
	font-size: 18px;
	line-height: 26px;
}
.slogan-leveys {
	width: 58%;
}
.slogan-01 {
	font-size: 30px; 
	line-height: 35px;
	text-transform: uppercase;
}
.slogan-02 {
	font-size: 21px; 
	line-height: 30px;
	font-weight: 300;
}
.link-text {
	font-size: 21px;
}
.carousel-caption {
	top: 60%;
	width: 940px;
}
.soita-txt {	
	width: 45%;
	font-size: 21px;
	line-height: 30px;
}
.laatikko-txt {
	font-size: 18px;
	line-height: 28px;
}

}

/*1200PX
------------------------------------------------------------------------------------------*/
@media (min-width: 1200px) {
body {
	margin-top: 110px;
}
.navbar-header {
	height: 110px;
}
.navbar-brand {
	padding: 20px 0px 15px 0px; 
	width: 400px; 
	margin-top: 0px;
}
.navbar .navbar-nav {
	margin-top: 40px;
}
.text-padding {
	margin-top: 40px;
}
.navbar-default .navbar-nav > li > a {
	font-size: 18px;
	padding-left: 15px;
	padding-right: 15px;
}
.dropdown-menu {
	font-size: 16px;
}
.header-mobiilisoitto {
	padding: 25px 0px 0px 0px;
}
.text-padding {
	margin-top: 40px;
}

.ingress {
	font-size: 18px;
	line-height: 26px;
}
.slogan-leveys {
	width: 54%;
}
.slogan-01 {
	font-size: 37px; 
	line-height: 37px;
	text-transform: uppercase;
}
.slogan-02 {
	font-size: 24px; 
	line-height: 32px;
	font-weight: 300;
}
.link-text {
	font-size: 24px;
}
.carousel-caption {
	top: 65%;
	width: 1140px;
}
.soita-txt {	
	width: 40%;
}
.laatikko-txt {
	font-size: 18px;
	line-height: 28px;
}
}