/*!
 * Start Bootstrap - Creative v3.3.7+1 (http://startbootstrap.com/template-overviews/creative)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

@media (min-width: 768px)
 {
	 .navbar-right
	 {
    float: right!important;
    margin-right: -15px;
    margin-top: 30px;
}
}



.navbar-default .navbar-toggle {

	border-color: #38439b;
		    margin-top: 20px;

}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #38439b;
}

.pohja
{
	
	background-color: #fff;
	
	border-radius: 5px;
	    box-shadow: 1px 2px 4px rgba(0, 0, 0, .1);
	
}

.navbar-default, a {
	-webkit-transition: all .35s;
	-moz-transition: all .35s
}
header, header .header-content {
	position: relative;
	width: 100%;
	text-align: center;

}
body, html {
	height: 100%;
	width: 100%
}
body {
	webkit-tap-highlight-color: #222
font-family: 'Alfa Slab One', cursive;
font-family: 'BioRhyme', serif;

font-family: 'Ultra', serif;

font-family: 'Open Sans', sans-serif;
color: #535353;
background:#f8f9f9;
/* ../img/tausta.png */

}
.btn, h1, h2, h3, h4, h5, h6 {
	
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
/* font-family: 'BioRhyme', serif; */

}

h1, h2 {
	


	font-family: 'Merriweather', serif;
font-weight: 700;
color: #000;

}



header h1 {
	color: #fff;
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
		text-transform: uppercase;
	font-weight: 100;
font-size: 9px;
font-size: 21px;
         
	}






hr {
	border-color: #008ec3;
	border-width: 2px;
	max-width: 70px
}
hr.light {
	border-color: #fff
}
a {
	transition: all .35s;
	color: #F05F40
}
a:focus, a:hover {
	color: #000;
}
p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 20px
}


#user{
	display: none;
	
	}


.bg-primary {
	
	color: #008ec3;

	background-color: #092937;

	background-color: #000;



}

.bg-primary h2
{
	color: #fff;
}
.bg-primary hr
{
border-color: #F05F40;
	border-width: 2px;
	max-width: 70px
}

.contact
{
		background-color: #092937;
		background-color: #008CA9;

	
	}


.bg-dark {
		background-color: #5B5B5B;

	
	color: #E0AE1A;
}
.bg-darker {
	background-color: #02080B;
	color: #fff;
	background-image: url(../img/tausta_puu.jpg);
/* min-height: 400px;	*/
	position: absolute;
    left: 0;
    right: 0;
}
	
.bg-darker h2
{
	color: #00A0B7;
	color: #337ab7;

}	
	
.bg-darker a
{
	color:#175D7E;
	}
	

.text-faded {
	color: rgba(255,255,255,.7)
}
section {
	padding: 100px 0
}
aside {
/*	padding: 50px 0 */

}
.no-padding {
	padding: 0
}




header {
	min-height: auto;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
	background-position: center;
/*	background-image: url(../img/header.jpg); */
	color: #fff
}
header .header-content {
	padding: 100px 15px
}
header .header-content .header-content-inner h1 {
	margin-top: 0;
	margin-bottom: 0;
}
header .header-content .header-content-inner hr {
	margin: 30px auto
}
header .header-content .header-content-inner p {
	font-weight: 300;
	color: rgba(255,255,255,.7);
	font-size: 19px; 
	margin-bottom: 50px
}

header {
    min-height: 119px;
}



@media (min-width:768px) {
header {
	min-height: 225px;
		
}
header .header-content {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	padding: 0 50px
}
header .header-content .header-content-inner {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto
}
header .header-content .header-content-inner h1 {
	font-size: 50px
}
header .header-content .header-content-inner p {
	font-size: 18px;
	max-width: 80%;
	margin-left: auto;
	margin-right: auto
}
}
.section-heading {
	margin-top: 0
}
.service-box {
	max-width: 400px;

	margin: 50px auto 0;
	overflow:hidden;
background-color: #fff;
border-radius: 5px;
	    box-shadow: 1px 2px 4px rgba(0, 0, 0, .1);
	padding: 7px;
	padding-top: 20px;
}

.bg-darker .service-box {
	background: rgba(0, 0, 0, .16);
	
}





@media (min-width:992px) {
.service-box {
	margin: 20px auto 0;
	min-height: 400px;
	/* max-height:400px; */
	overflow:hidden;

}

}
.service-box p {
	margin-bottom: 0
}
.portfolio-box {
	position: relative;
	display: block;
	max-width: 650px;
	margin: 0 auto
}
.portfolio-box .portfolio-box-caption {
	color: #fff;
	opacity: 0;
	display: block;
background: rgba(0,0,0,.79);

	
	position: absolute;
	bottom: 0;
	text-align: center;
	width: 100%;
	height: 100%;
	transition: all .35s
}
.btn-default.active, .btn-default:active, .btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-default, .open>.dropdown-toggle.btn-primary {
	background-image: none
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%)
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category, .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
	padding: 0 15px
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 14px
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
	font-size: 18px
}
.portfolio-box:hover .portfolio-box-caption {
	opacity: 1
}
.portfolio-box:focus {
	outline: 0
}

@media (min-width:768px) {
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
	font-size: 16px
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
	font-size: 22px
}
}
.call-to-action h2 {
	margin: 0 auto 20px
}
.text-primary {
		/* color: #000; */

}
.no-gutter>[class*=col-] {
	padding-right: 0;
	padding-left: 0
}
.btn-default {
	color: #222;
	background-color: #fff;
	border-color: #fff;
	transition: all .35s
}
.btn-default.active, .btn-default.focus, .btn-default:active, .btn-default:focus, .btn-default:hover, .open>.dropdown-toggle.btn-default {
	color: #222;
	background-color: #f2f2f2;
	border-color: #ededed
}
.btn-default.disabled, .btn-default.disabled.active, .btn-default.disabled.focus, .btn-default.disabled:active, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled], .btn-default[disabled].active, .btn-default[disabled].focus, .btn-default[disabled]:active, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default.active, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover {
	background-color: #fff;
	border-color: #fff
}
.btn-default .badge {
	color: #fff;
	background-color: #222
}
.btn-primary {
	color: #2F409F;
	background-color: #f8f9f9;
	
	border-color:#2F409F;
	-webkit-transition: all .35s;
	-moz-transition: all .35s;
	transition: all .35s
}
.btn-primary.active, .btn-primary.focus, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
	color: #fff;
	background-color: #ee4b28;
	border-color: #ed431f
}
.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
	background-color: #F05F40;
	border-color: #F05F40
}
.btn-primary .badge {
	color: #F05F40;
	background-color: #fff
}
.btn {
/* border: none; */
/*	font-weight: 700; */
	text-transform: uppercase;
}
.btn-xl {
	padding: 15px 30px
}
::-moz-selection {
color:#fff;
text-shadow:none;
background:#222
}
::selection {
	color: #fff;
	text-shadow: none;
	background: #222
}
img::selection {
	color: #fff;
	background: 0 0
}
img::-moz-selection {
color:#fff;
background:0 0
}

footer {
	
	background:#080808;
	
	
	}





/* Navi uusi*/


/**********************************
Responsive navbar-brand image CSS
- Remove navbar-brand padding for firefox bug workaround
- add 100% height and width auto ... similar to how bootstrap img-responsive class works
***********************************/

.navbar-brand {
  padding: 0px;
}

.navbar-brand {
    height: 80px;

}


.navbar-brand>img {
  height: 100%;
  padding: 15px;
  width: auto;
}

.active
{
	/* background:#2F409F; */
}

/*
.carousel-inner
{
	background-image: url(../img/slider_tausta.jpg);
  background-size: 100%;
background-repeat: no-repeat;


}
*/
.carousel-inner{
	background-color: #25303b;
}

.carousel-control{
	    width: 10%;
}

/*************************
EXAMPLES 2-7 BELOW 
**************************/

/* EXAMPLE 2 (larger logo) - simply adjust top bottom padding to make logo larger */

.example2 .navbar-brand>img {
  padding: 0px 0px;
}








/* alhaalla olevat linkit */



.puh_email {

position: fixed;;
display:block;
  float: left;
	  width:100%;

  text-align:left;

bottom: 0;
z-index: 101;
	/* background-image: linear-gradient(45deg, blue, red); */
background-image: url(../img/tausta_liuku.jpg);
}




.puhelin_no {
	text-align:center;
		background: #fff;
	color: #000;
	
	font-size: 21px;
	font-weight:400;
	width: 200px;
	paddin-left: 15px;
	float:left;
		width:50%;
			padding: 2px;

	}


.email_os {
	text-align:center;

	/* background: #38439b; */
	color: #fff;
	font-size: 21px;
	font-weight:400;
	width: 200px;
	/* margin-bottom: 10px; */
		float:left;
			width:100%;
			padding: 2px;

		


}


.header_ikonit
{
	
	 float: left;
	  width:33.33333%;
 text-align:right;
   margin-top:10px;

	}


.email_os .fa
{
	color:#fff;
}

.puhelin_no .fa 
{
		color: #000;


}


.navbar-default {
 /*   background-color: #fff; */
	    border-style: none;

/* background: url('../img/nav_bar.png');*/	
	/*	background-repeat: repeat-x; */

	
	
}


.navbar {
    position: relative;
margin-bottom: 0px;
margin-top: 0px;

/* font-family: 'Merriweather', serif; */

}


.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
background:#2F409F;
	color: #fff;
}

/* etusivun karuselli */

.carousel-caption h2
{
	background-color: #000; 
	color: #fff;
	padding: 4px;
}



.carousel-caption {
    position: absolute;
    right: 15%; 
    bottom: 39px;
    left: auto;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
}


.navbar-default .navbar-nav>li>a
{
    text-transform: uppercase;
}



.color-back {

	background-color: #8B8080;

}

.img_border { 
    border: 1px solid #777;	
}



.service-box img {
	margin:auto;
	width:90%;


}

.pienikuva img {
    width: 98%;
}
/*   */
.sijainti {

   
    -webkit-transition: width 2s, height 2s, -webkit-transform 2s; /* Safari */
    transition: width 2s, height 2s, transform 2s;
}
.sijainti:hover {
 
    -webkit-transform: scale(1.2); /* Safari */
    transform: scale(1.2);
}



.bg-image-full {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}


