html, body, p {
	height: 100%; /*annetaan korkeus, joka mahdollistaa .container-fluid:in minimipituuden, joka on vähintään ruudun korkeus*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000000;
}

html a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #545E9E;
}

h1, h3 {
	color: #545E9E;
}

#header {
	height: 500px;
	position: relative;
	color: white;
    text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
	background-image: url("kuvat/ulkoasu/niksi_logo.jpg");
	background-repeat: no-repeat;
	background-size: 95%;
	background-position: 0 0;
	padding: 0px;
	
}

#header h1 {
	position: absolute;
	bottom: 110px;
	font-weight: bold;
	text-align: center;
	font-size: 40px;
	
	width: 100%;
}

#header span {
	position: absolute;
	bottom: 10px;
	text-align: center;
	color: #000;
	width: 100%;
}

.container-fluid {
	width:60%; 
    margin-left:20%; 
    margin-right:20%;
	padding: 10px;
	min-height: 100%; /*selitetty kohdassa body, html*/
}

ul#niksinurkka {
	list-style-type: none;
	padding-left: 0px;
	text-align: center;
}

ul#niksinurkka li {
	width: 45%;
	display: inline-block;
	padding: 10px;
}

ul#niksinurkka li p {
	padding-top: 5px;
}

ul#niksinurkka li a img {
	max-height: 150px;
}

ul#muuttuotteet {
	list-style-type: none;
	padding-left: 0px;
	text-align: center;
}

ul#muuttuotteet li {
		width: 45%;
		display: inline-block;
		padding: 10px;
}

ul#muuttuotteet li p {
	padding-top: 5px;
}

#rakennukset {
	border-width:0; 
	border-collapse: collapse; 
	border-color:#111111; 
	height: 100%;
	text-align: center;
	margin: 0 auto;
}

 #yhteydenotto input[type="text"] {
	 padding: 12px 20px;
    margin: 8px 0;
	width: 250px;
 }
 
  #yhteydenotto textarea {
	 padding: 12px 20px;
    margin: 8px 0;
 }
 
 #yhteydenotto button {
	 border: 2px solid #545E9E;
	 background-color: white;
	 color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	width: 200px;
 }

 #yhteydenotto button:hover {
	 background-color: #545E9E; 
    color: white;
 }
 
 #yhteydenotto {
	 width: 90%;
	margin: 0 auto;
 }
 
 #yhteydenotto ul {
	 padding-left: 0px;
 }
 
 #yhteydenotto ul li {
	 list-style-type: none;
	padding-left: 0px; 
    margin: 8px 0;
 }
 
fieldset{
	display: block;
    margin-left: 2px;
    margin-right: 2px;
    border: 2px groove #545E9E;
	padding: 20px;
}

legend {
	border-bottom: 0px;
	color: #545E9E;
	background-color: #ffffff;
	text-align: center;
	width: 55%;
}
 
 #carouselcss {
	width: 100%;
	margin-left: 0px;
 }

#img_gallery {
	text-align: center;
} 

#img_gallery a img {
	max-width: 30%;
	max-height: 150px;
	padding: 10px;
	opacity: 0.5;
}

#img_gallery a img:hover {
	opacity: 1.0;
}
 
#menu .navbar-header {
	width: 100%;
}

.navbar-header img {
	width: 100%;
}

.page-header {
	margin: 0px;
	border: 0px;
	text-align: center;
	padding-bottom: 25px;
}

.page-header h1 {
	color: #545E9E;
	font-weight: bold;
	margin-top: 10px;
}

#maincontent {
	border: 1px solid #545E9E;
	padding: 40px;
}

.navbar-default {
	border: 0px;
	text-align: center;
	background-color: #ffffff;
}

ul.nav.navbar-nav {
}

ul.nav.navbar-nav li {
	display: block;
	float: none;
}

ul.nav.navbar-nav li a {
	color: #545E9E;
}

ul.nav.navbar-nav li ul{
	list-style-type: none;
	padding-left: 0px;
}

ul.nav.navbar-nav li ul li{
	margin: 0 auto;
	background-color: rgba(84, 94, 158, 0.1);
	border: 0px;
}

ul.nav.navbar-nav li ul li a {
	padding: 10px;
	display: block;
}

ul.nav.navbar-nav li ul li a:hover {
	text-decoration: none;
    color: #ffffff;
}

ul.nav.navbar-nav li.active a {
	color: #ffffff;
	background-color: #545E9E;
	 
}

ul.nav.navbar-nav li.active a:hover {
	color: #ffffff;
	background-color: #545E9E;
}

.btn-info, .btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus, .btn-info:hover  {
	background-color: rgba(84, 94, 158, 0.1);
	color: white;
}

ul.nav.navbar-nav li {
	border-width: 1px 1px 0px 1px;
	border-style: solid; 
	border-color: #545E9E;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	width: 100%;
 }
 
ul.nav.navbar-nav li a:hover {
	background-color: #545E9E; 
    color: #ffffff;
 }

 
#menu {
	width: 100%;
	margin: 0px;
	padding: 0px;
}

#myCarousel {
	height: 500px;
	width: 100%;
	text-align: right;
	margin-right: 0px;
	float: right;
}

.article-slide .carousel-indicators {
    bottom: 0px;
	left: 0;
    margin-left: 5px;
    width: 100%;
}

.article-slide .carousel-indicators li {
    border: medium none;
    border-radius: 0;
    height: 50px;
    margin-left: 0;
    margin-right: 5px !important;
    margin-top: 0;
    width: 100px;
}

.article-slide .carousel-indicators img {
    border: 1px solid #FFFFFF;
    float: left;
    height: 50px;
    left: 0;
    width: 100px;
	object-fit: cover; 
}

.article-slide .carousel-indicators .active img {
    opacity: 0.7;
}

.carousel-inner.cont-slider > .item > a > img {
	margin: 0 auto;
	max-width: 600px;
	max-height: 400px;
}

.carousel-control.left {color: black; background-image: none; width: 10%; }
.carousel-control.right {color: black; background-image: none; width: 10%; }
