/*!
 * Start Bootstrap - Modern Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

html,
body {
    height: 100%;
}

/*
body {
    padding-top: 140px;  Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. 
}
*/

body {
    padding-top: 0px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}



.img-portfolio {
	margin-bottom: 15px;
}

.img-portfolio a{
	color:#a3c047;
}

.img-portfolio a:HOVER {
	color:#333;
}

.img-portfolio .text {
	font-size:15px;
	line-height: 16px;
	margin-top: 7px;
	margin-bottom: 10px;
	display: block;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
	height: 500px;
 }

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
	width: 100%;
	height: 100%;
	background-position: right center;
	background-size: cover;
	position: relative;
	max-height: 600px;
}

header.carousel .fill2 {
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	position: relative;
	max-height: 600px;
}

/* .karuselli {
	height: 51%;
 }

.karuselli .carousel {
	height: 51%;
 }

.karuselli .carousel .item,
.karuselli .carousel .item.active,
.karuselli .carousel .carousel-inner {
    height: 100%;
}

.karuselli .carousel .fill {
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	position: relative;
}*/

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

.carousel-kuva {
	z-index: 1;
	position: absolute;
	height: 400px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	right: 30px;
	display: block;
	top: 0px;
	float: right;
	background-position: right top;
	background-repeat: no-repeat;
	background-size: auto 400px;
}

/* Responsive Styles */

@media(max-width:991px) {
	
header.carousel {
	height: 350px;
 }
	
header.carousel .fill {
	width: 100%;
	height: 100%;
	background-position: right center;
	background-size: cover;
	position: relative;
	max-height: 350px;
}
	
.customer-img,
.img-related {
        margin-bottom: 30px;
    }

.carousel-kuva {
	z-index: 1;
	position: absolute;
	height: 450px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	right: 0px;
	display: block;
	top: 0px;
	float: right;
	background-position: right top;
	background-repeat: no-repeat;
	background-size: auto 350px;
}
}

@media(max-width:767px) {

header.carousel {
	height: 300px;
 }
	
header.carousel .fill {
	width: 100%;
	height: 100%;
	background-position: right center;
	background-size: cover;
	position: relative;
	max-height: 300px;
}
	
.carousel-kuva {
	z-index: 1;
	position: absolute;
	height: 350px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	right: 0px;
	display: block;
	top: 0px;
	float: none;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: auto 300px;
}
	
/*body {
    padding-top: 140px;
}*/

body {
    padding-top: 0px;
}
	
.img-portfolio .text {
	margin-top: 7px;
	margin-bottom: 30px;
}
	
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

@media(max-width:576px) {
header.carousel {
	height: 250px;
 }
	
header.carousel .fill {
	width: 100%;
	height: 100%;
	background-position: right center;
	background-size: cover;
	position: relative;
	max-height: 250px;
}
.carousel-kuva {
	z-index: 1;
	position: absolute;
	height: 250px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	right: 0px;
	display: block;
	top: 0px;
	float: none;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: auto 250px;
}
}
