*{
	font-family: 'Open Sans', sans-serif;
}
html, body{
	width: 100%;
	height:100%;
	padding: 0;
	margin: 0;
	font-size: 18px;
}
.container{
	width: 100%;
	overflow-x: hidden;
}
.col-sm-12{
	padding: 0;
}
#HeaderRow{
	position: fixed;
	height: 2em;
	width: 100%;
	color: white;
	z-index:200;
	background: transparent;
}
.Content{
	position: reltive;
	min-height: 40vh;
	width: 100%;
}
.ContentInner{
	position: relative;
	width: 80%;
	left: 10%;
	border-top: 4px solid #FC9100;
	padding-bottom: 5em;
}
#WhyUs{
	background: #EEE;
}
#Services{
	background: #FFF;
}
#Machinery{
	background: #EEE;
}
#Personnel{
	background: #FFF;
}
#Contact{
	background: #EEE;
}
#Footer{
	position: relative;
	min-height: 200px;
	padding-top: 20px;
	background: #000;
	color: white;
	text-align: center;
	z-index:2;
}
#FooterInner{
	position: relative;
	width: 70%;
	left:15%;
}
#NoJs{
	position: relative;
	z-index: 10000;
	background: #333;
	color: white;
	padding: 20px 50px 20px 50px;
	font-size: 1.2em;
	border: 5px solid white;
}
#ServiceContent{
	margin-top: 8em;
	min-height: 70vh;
}
#ServiceContent .ContentInner{
	border: 0 !important;
	width: 60%;
	left: 20%;
}
/*********OTHER***********/
a, a:hover, a:focus{
	color: #FC9100;
}
a:focus{
	outline: none;
}
h2{
	width:100%;
	text-align:center;
	text-transform:uppercase;
}
#Message{
	position: fixed;
	height: 100px;
	left: 50%;
	top: calc(50% - 50px);
	transform: translateX(-50%);
	padding: 0px 20px 0px 20px;
	line-height: 100px;
	text-align: center;
	color: #333;
	background: white;
	border: 4px solid #FC9100;
	z-index: 2000;
}
.AButton{
	display: block;
	width: 400px;
	height: 50px;
	max-width: 100%;
	background: #FC9100;
	font-size: 1.5em;
	color: black;	
	text-align: center;
	margin-top: 30px;
	line-height: 50px;
	-webkit-transition: background 0.2s ease-in-out;
    -moz-transition: background 0.2s ease-in-out;
    -o-transition: background 0.2s ease-in-out;
    transition: background 0.2s ease-in-out;
}
.AButton:hover, .AButton:focus, .AButton2:hover, .AButton2:focus{
	cursor: pointer;
	background: #D57A00;
	text-decoration: none;
	color: white;
}
.AButton2{
	display: block;
	height: 30px;
	min-width: 250px;
	max-width: 350px;
	background: #FC9100;
	font-size: 1em;
	color: black;	
	text-align: center;
	margin-top: 20px;
	line-height: 30px;
	-webkit-transition: background 0.2s ease-in-out;
    -moz-transition: background 0.2s ease-in-out;
    -o-transition: background 0.2s ease-in-out;
    transition: background 0.2s ease-in-out;
	margin: auto;
}
#Slider{
	position: relative;
	width: 100vw;
	height: 100vh;
	left:0;
	top:0;
	bottom: 0; 
	right:0;
}
.Slide{
	position: absolute;
	display:none;
	width: 100%;
	height: 100%;
	margin-left:0;
	margin-top:0;
	background-color: #000;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 20;
}
.Slide:first-of-type{
	display: block;
}
.Slide.Out{
	margin-left:-100%;
	-webkit-transition: all 1.5s ease-in-out;
    -moz-transition: all 1.5s ease-in-out;
    -ms-transition: all 1.5s ease-in-out;
    -o-transition: all 1.5s ease-in-out;
    transition: all 1.5s ease-in-out;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-transition-timing-function: ease-in;
	-moz-transition-timing-function: ease-in;
	-ms-transition-timing-function: ease-in;
	-o-transition-timing-function: ease-in;
	transition-timing-function: ease-in;
}
.Slide.Top{
	z-index:89;
}
.Slide .Texts{
	position: absolute;
	width: 60%;
	height: 50%;
	left: 20%;
	top: 25%;
	z-index: 100;
}
.Slide.Out .Texts{
	left: -20%;
	-webkit-transition: all 1.5s ease-in-out;
    -moz-transition: all 1.5s ease-in-out;
    -ms-transition: all 1.5s ease-in-out;
    -o-transition: all 1.5s ease-in-out;
    transition: all 1.5s ease-in-out;
}
.Slide .Header{
	position: relative;
	display: block;
	font-size: 4.2vw;
	color: white;
	line-height: 1em;
	margin-bottom: 2vh;
}
.Slide .Text{
	position: relative;
	display: block;
	font-size: 1.8vw;
	color: white;
}
.Shadow{
	position: absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background: rgba(0,0,0,0.6);
	z-index:90;
}
#Circles{
	position: absolute;
	bottom: 20px;
	width: 100%;
	left: 0%;
	margin-left:0%;
	height: 15px;
	z-index:100;
	text-align: center;
}
#Circles:hover{
	cursor: default;
}
.Circle{
	position: relative;
	display: inline-block;
	width: 15px;
	height: 15px;
	border-radius: 15px;
	background: rgb(255,255,255);
	opacity: 0.7;
	margin-left: 10px;
}
.Circle.Active{
	background: rgb(252,145,0);
}
.Circle:hover{
	cursor: pointer;
	opacity: 1;
}
#WhyUs .ContentInner table{
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 40px 40px;
}
#WhyUs .ContentInner table td{
	padding: 1em 1em 1.5em 1em;
	text-align: center;
	vertical-align: top;
	background: #FFF;
	width: 45%;
}
#WhyUs .ContentInner table td b{
	display:block;
	text-transform: uppercase;
	margin-bottom:10px;
}
#Services table{
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 30px 30px;
	color: #333;
}
#Services .ContentInner table td{
	padding: 1em 1em 3em 1em;
	text-align: center;
	vertical-align: top;
	background: #EEE;
	position: relative;
	width:45%;
}
#Services .ContentInner table td b{
	display:block;
	text-transform: uppercase;
	margin-bottom:10px;
}
#Services .ContentInner table td .AButton2{
	position: absolute;
	bottom: 0.8em;
	right: 15%;
	left: 15%;
}
#Machinery table{
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 30px 30px;
	color: #333;
}
#Machinery .ContentInner table td{
	padding: 1em 1em 1em 1em;
	vertical-align: top;
	background: #FFF;
	width: 30%;
}
#Machinery .ContentInner table td b{
	display:block;
	text-transform: uppercase;
	margin-bottom:10px;
}
#Machinery .ContentInner table td .Image{
	position: relative;
	float: left;
	width: 150px;
	height: 150px;
	background-color: #888;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	margin-right: 35px;
	border-radius: 100px;
}
#Personnel table{
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 30px 30px;
	color: #333;
}
#Personnel .ContentInner table td{
	padding: 1em 1em 1em 1em;
	vertical-align: top;
	background: #FFF;
	width: 30%;
}
#Personnel .ContentInner table td b{
	text-transform: uppercase;
	margin-top:0px;
	display:block;
}
#Personnel .ContentInner table td i{
	display:block;
	color: #777;
	font-size: 0.9em;
	margin-bottom:10px;
}
#Personnel .ContentInner table td .Image{
	position: relative;
	float: left;
	width: 150px;
	height: 150px;
	background-color: #888;
	background-image: url("Images/User-White.png");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	margin-right: 35px;
	border-radius: 150px;
}
.ContentInner table td .AButton2 b{
	display: inline-flex !important; 
	visibility: hidden;
	margin-left: -20px;
	font-weight: normal;
	padding: 0;
	height: 30px;
	-webkit-transition: margin-left 0.2s ease-in-out,
						visibility 0.2s ease-in-out;
    -moz-transition: margin-left 0.2s ease-in-out,
					visibility 0.2s ease-in-out;
    -o-transition: margin-left 0.2s ease-in-out,
					visibility 0.2s ease-in-out;
    transition: margin-left 0.2s ease-in-out,
				visibility 0.2s ease-in-out;
}
.ContentInner table td .AButton2:hover b{
	visibility: visible;
	margin-left: 10px;
}
#Contact label{
	display:inline;
	font-size: 1.2em;
	font-weight: normal;
}
#Contact input:not([type="checkbox"]):not([type="submit"]){
	display: block;
	width: 500px;
	height: 50px;
	margin-bottom: 1em;
	padding: 5px 15px 5px 15px;
	font-size: 1.2em;
	line-height: 40px;
	color: #333;
	border: 1px solid #333;
	box-shadow: 0 0 5px rgba(255,255,255,1);
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#Contact input:not([type="checkbox"]):not([type="submit"]):focus, #Contact textarea:focus{
	box-shadow: 0 0 5px rgb(252,145,0);
	border: 1px solid rgb(252,145,0);
}
#Contact input[type="checkbox"]{
	display:inline;
	width: 20px;
	height: 20px;
	margin-right: 20px;
	margin-bottom: 1em;
}
#Contact textarea{
	display: block;
	width: 600px;
	height: 250px;
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 5px 15px 5px 15px;
	font-size: 1.2em;
	color: #333;
	border: 1px solid #333;
	box-shadow: 0 0 5px rgba(255,255,255,1);
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#Contact input[type="submit"]{
	outline: none;
	border: none;
}
#BackToTop{
	display:none;
	background: #FC9100;
	position: fixed;
	width: 50px;
	height: 50px;
	bottom: 50px;
	right:20px;
	font-size:3em;
	text-align: center;
	color: black;
	line-height: 60px;
	-webkit-transition: background 0.2s ease-in-out;
    -moz-transition: background 0.2s ease-in-out;
    -o-transition: background 0.2s ease-in-out;
    transition: background 0.2s ease-in-out;
	z-index:200;
	border-radius: 50px;
}
#BackToTop:hover{
	cursor: pointer;
	background: #D57A00;
	color: white;
}
#Call{
	position: fixed;
	height: 50px;
	width: 300px;
	bottom: 15px;
	left:20px;
	z-index:200;
}
#Call a{
	color: black;
	text-decoration: none;
}
#Call:hover a{
	color: white;
	text-decoration: none;
}
#FooterInner table{
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 30px 30px;
}
#FooterInner table td{
	width: 25%;
	text-align: left;
	vertical-align: top;
	line-height: 2em;
}
#FooterInner table td b{
	font-size: 1.2em;
}
#FooterInner a{
	color: white;
}
#FooterInner a:hover, #FooterInner a:focus{
	text-decoration:none;
	color: #FC9100;
}
#FooterInner img{
	margin-right: 10px;
}
#FooterInner .ArrowRight {
	display: inline-block;
	width: 0; 
	height: 0; 
	margin-right:30px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid white;
}

/***GALLERY***/
#Gallery{
	margin-top: 8em;
	min-height: 70vh;
}
#Gallery .ContentInner{
	border: 0 !important;
	width: 60%;
	left: 20%;
}
.Category{
	position: relative;
	display:inline-block;
	width: calc(50% - 20px);
	height: 400px;
	background: #EEE;
	margin-bottom: 20px;
}
.Category:nth-of-type(odd){
	margin-right: 20px;
}
.Category:nth-of-type(1+2n){
	display: block;
}
.CatImage{
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height:100%;
	background-position: center 100%;
	background-size: cover;
	background-repeat: no-repeat;
}
.CatHeader{
	position: absolute;
	top:0;
	width: 100%;
	height: 40px;
	background: rgba(24,24,24,0.8);
	z-index: 20;
	font-size: 1.1em;
	text-transform:uppercase;
	padding: 0 30px 0 30px;	
	font-weight: 300;
	color: #FFF;
	line-height: 40px;
}
.CatDescription{
	position: absolute;
	bottom:0;
	width: 100%;
	max-height: 200px;
	background: rgba(24,24,24,0.8);
	z-index: 20;
	font-size: 0.9em;
	padding: 10px 30px 10px 30px;	
	font-weight: 300;
	color: #FFF;
}
.CatHeader:hover{
	background: rgba(24,24,24,0.95);
	cursor: pointer;
	text-decoration: underline;
}
.Image{
	position: relative;
	display:inline-block;
	width: 200px;
	height: 200px;
	background: #333;
	margin-bottom: 20px;
	margin-right: 10px;
}
.ImageInner{
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height:100%;
	background-position: center 100%;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 1;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.ImageInner:hover{
	cursor: pointer;
	opacity: 0.7;
}
#BigImg{
	position: fixed;
	left:0;
	top:0;
	bottom:0;
	right:0;
	background: rgba(0,0,0,0.99);
	z-index: 2000;
}
#BigImg img{
	display: block;
	position: absolute;
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	left: 50%;
	top: 50%;
	-webkit-transform: translateX(-50%) translatey(-50%);
    -moz-transform: translateX(-50%) translatey(-50%);
    transform: translateX(-50%) translatey(-50%);
	background: #333;
}
#LeftArrow{
	position: absolute;
	top:10%;
	left:0;
	bottom:10%;
	width: 70px;
	background: rgba(0,0,0,0.7);
	color:white;
	font-size: 5em;
	line-height: 80vh;
	opacity: 0.1;
	z-index: 5;
	text-align: center;
}
#LeftArrow:hover, #RightArrow:hover{
	cursor: pointer;
	opacity: 1;
}
#RightArrow{
	position: absolute;
	top:10%;
	right:0;
	bottom:10%;
	width: 70px;
	background: rgba(0,0,0,0.7);
	color:white;
	font-size: 5em;
	line-height: 80vh;
	opacity: 0.1;
	z-index: 5;
	text-align: center;
}
#Caption{
	position: absolute;
	bottom:0;
	left:0;
	right: 0;
	max-height: 200px;
	text-align: center;
	background: rgba(0,0,0,0.7);
	font-size: 1.2em;
	color: white;
	padding: 10px;
}
#CloseBigImg{
	position: absolute;
	top: 5px;
	right:5px;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	border-radius: 40px;
	color: white;
	background: rgba(255,255,255,0.2);
	font-size: 1.2em;
	opacity: 0.5;
	z-index: 200;
}
#CloseBigImg:hover{
	cursor:pointer;
	opacity: 1;
}
#ImageIDs{
	display:none;
}
#BigImgJS{
	position: fixed;
	left:0;
	top:0;
	bottom:0;
	right:0;
	background: rgba(0,0,0,0.99);
	z-index: 2000;
	display:none;
}
#BigImgJS img{
	display: block;
	position: absolute;
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translatey(-50%);
    -moz-transform: translateX(-50%) translatey(-50%);
    transform: translateX(-50%) translatey(-50%);
	background: #333;
}
#ImgLoading{
	position: absolute;
	width: 100px;
	height: 100px;
	left: calc(50vw - 50px);
	top: calc(50vh - 50px);
	background-image: url("Images/Loading.gif");
	background-size: 100% auto;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.6
}

#Rahoitus p{
    width: 55vw;
    margin-left: 60px;
    margin-bottom: 30px;
}
#Rahoitus h2{
    margin-bottom: 60px;
    margin-top: 50px;
}
#EsimerkkiLaskelma{
    margin-top: 50px;
    font-size: 0.8em;
    color: #999;
}
#Rahoitus b{
    margin-left: 60px;
    margin-bottom: 10px;
    display: block;
}
#HaeLuottoa{
    display:inline-block;
    padding: 10px 30px;
    color: white;
    background: #FC9100;
    cursor: pointer;
    margin-left: 60px;
    border-radius: 10px;
}
#HaeLuottoa:hover{
    text-decoration: none;
}
#YleisetEhdot{
    display: block;
    margin-top: 40px;
    margin-left: 60px;
    font-size: 0.9em;
}
#Kayttoohjeet{
    margin-top: 20px;
    display: block;
    margin-left: 60px;
    font-size: 0.9em;
}
#JatkaHakemusta{
    margin-top: 20px;
    display: block;
    margin-left: 60px;
    font-size: 0.9em;
}
/***********NAVIGATION**************/
.navbar{
	padding-bottom: 0.5em;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
	font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif; 
	font-style: italic;
	color: #FC9100;
}
.navbar-nav{
	padding-right: 2%;
	text-align: right;
	position: absolute;
	right: 0;
	height: 3em;
	background: rgba(0,0,0,0.4);
}
.navbar .navbar-text{
	margin:0;
	margin-left: 15px;
	margin-top: 15px;
	font-size: 1.3em;
}
.navbar .navbar-text a{
	color: #FC9100;
	font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif; 
	font-style: italic;
}
.navbar-default{
	background: transparent;
	border: 0px;
}
.navbar-default .navbar-nav > li > a{
	color: #FC9100;
	font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif; 
	font-style: italic;
	font-size: 1.3em;
}
.navbar-default .navbar-nav > li > a:hover {
	color: #000;
}
.navbar-default .navbar-nav > li{
	height: 100%;
}
.navbar-default .navbar-nav > li:hover{
	background: rgba(255,255,255,1);
	/*background: rgba(0,0,0,0.6);*/
}