body, html {
	font-family: 'Open Sans', sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #777;
	width: 100% !important;
	height: 100% !important;
}
h2 {
	margin: 0 0 20px 0;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 30px;
}
h3, h4 {
	color: #222;
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 1px;
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
.texti{
	color: rgb(0, 0, 0);
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 1px;
}
p.intro {
	font-size: 16px;
	margin: 12px 0 0;
	line-height: 24px;
}
a {
	color: rgb(110, 108, 108);
}
a:hover, a:focus {
	text-decoration: none;
	color: #000;
}
ul, ol {
	list-style: none;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
}
hr {
	height: 1px;
	width: 70px;
	text-align: center;
	position: relative;
	background: #666;
	margin: 0 auto;
	margin-bottom: 30px;
	border: 0;
}
/* Navigation */
#nav {
	z-index: 9999;
}
#nav.affix {
	position: fixed;
	top: 0;
	width: 100%
}
.navbar .navbar-nav {
	display: inline-block;
	float: none;
	vertical-align: top;
}
.navbar .navbar-collapse {
	text-align: center;
}
.navbar-custom {
	margin-bottom: 0;
	background-color: #f6f6f6;
	border-radius: 0px;
	padding: 10px 0;
	border-bottom: 2px solid #fff;
}
.navbar-custom a {
	color: #555;
}
.navbar-custom .nav li a {
	margin: 0 60px;
	text-transform: uppercase;
	letter-spacing: 2px;
	-webkit-transition: background .3s ease-in-out;
	-moz-transition: background .3s ease-in-out;
	transition: background .3s ease-in-out;
}
.navbar-custom .nav li a:hover {
	outline: 0;
	color: #000;
	background-color: transparent;
}
.navbar-custom .nav li a:focus, .navbar-custom .nav li a:active {
	outline: 0;
	background-color: transparent;
	color: #000;
}
.navbar-custom .nav li.active {
	outline: 0;
}
.navbar-custom .nav li.active a {
	background-color: rgba(255,255,255,.3);
}
.navbar-custom .nav li.active a:hover {
	color: #fff;
}

/* color muuttaa linkin värin  */
.btn-default {
	text-transform: uppercase;
	color: rgb(143, 140, 140);
	background-color: transparent;
	border-color: #777;
	padding: 14px 20px;
	margin: 0;
	font-size: 16px;
	border-radius: 0;
	margin-top: 20px;
}
.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active {
	color: #fff;
	background: rgba(44, 61, 47, 0.6);
	border-color: #121d1f;
}
/* Header Section */
.intro {
	display: table;
	width: 100%;
	padding: 0;
	text-align: center;
	color: #333;
	background: url(../img/image01.png) no-repeat center top;
	background-color: #e5e5e5;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}

.intro2 {
	display: table;
	width: 100%;
	padding: 0;
	text-align: center;
	color: #333;
	background: url(../img/image02.png) no-repeat center top;
	background-color: #e5e5e5;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}

.intro2 h3 {
	color: rgb(47, 47, 47);
	font-family: 'Crimson Text', serif;
	font-style:italic;
	font-size:23px;
	line-height:30px;
	padding-bottom:10px;
	font-weight:300;
	margin:0px;
}


.section-title.center {
	padding: 10px 0 40px 0;
}
.intro h1 {
	font-size: 60px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: rgb(118, 119, 113);
}


.intro h3 {
	color: rgb(90, 87, 87);
	font-family: 'Crimson Text', serif;
	font-style:italic;
	font-size:23px;
	line-height:30px;
	padding-bottom:10px;
	font-weight:300;
	margin:0px;
}

.intro p {
	font-size: 20px;
	margin-bottom: 40px;
	margin-top: 20px;
}
header .intro-text {
	padding-top: 200px;
	padding-bottom: 200px;
}

/* About Section  pohjan väri  */
#about {
	padding: 120px 0;
	background-color: rgb(53, 58, 53);
}

/* About Section  tekstin väri  */
#about .about-text {
	margin-left: 10px;
	text-align: center;
	color: rgb(209, 204, 204);
}

/* About Section  otsikon väri  */
#about h2{
	padding-top: 20px;
	font-size: 30px;
	font-weight: 400;
	color: rgb(189, 183, 183);	
}
/*about image pyöreä, omakuva*/
#about img {
	border-radius: 50%;
	width: 190px;
	height: 190px;
	display: inline-block;
}
/*about1 image pöyreälinkki*/
#about1 img {
	border-radius: 50%;
	width: 80px;
	height: 80px;
	display: inline-block;
}
#about p {
	margin-top: 40px;
	margin-bottom: 30px;
	line-height: 22px;
}
/* Portfolio Section */
#portfolio {
	padding: 120px 0;
	background: #f6f6f6;
}

.huomautus
{
color: #c2bebe;
 }


.categories {
	padding-bottom: 30px;
	text-align: center;
}
ul.cat li {
	display: inline-block;
}

/* määrittää categories linkkien välit  */
ol.type li {
	display: inline-block;
	margin: 15px 10px;
}
ol.type li a {
	border: 1px solid #777;
	color: #555;
	padding: 8px 20px;
}
ol.type li a.active {
	background: #222;
	border: 1px solid #222;
	color: #fff;
}
ol.type li a:hover {
	background: #222;
	border: 1px solid #222;
	color: #fff;
}
.isotope-item {
	z-index: 2
}
.isotope-hidden.isotope-item {
	z-index: 1
}
.isotope, .isotope .isotope-item {
	/* change duration value to whatever you like */
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}
.isotope-item {
	margin-right: -1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.isotope {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
}
.portfolio-item {
	margin: 15px 0;
	-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;
}
.portfolio-item:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}
.portfolio-item .hover-bg {
	height: 195px;
	overflow: hidden;
	position: relative;
}

/* background 4. arvo muuttaa thumpnails hover opasityn 0.6> tummenee */
.hover-bg .hover-text {
	position: absolute;
	text-align: center; 
	margin: 0 auto;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.2);
	padding: 30% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
	text-transform: uppercase;
	margin-top: -40px;
	opacity: 0;
	color: #fff;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all 0.3s;
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg .hover-text>i {
	opacity: 0;  /*0*/
	-webkit-transform: translateY(0);
	transform: translateY(0);
	transition: all 0.3s;
}
.hover-bg:hover .hover-text>i {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
}
.hover-bg:hover .hover-text {
	opacity: 1; 
	
}
#portfolio i.fa {
	font-size: 20px;
	padding: 5px;
	color: #E87E04;
}

/*
img { 
	opacity: 0.5;  
  }
  
  img:hover {
	opacity: 1.0;  
  }
*/





/* Contact Section */

/* Contact Section, pohjaväri */
#contact {
	padding: 120px 0 60px 0;
	background-color: rgb(224, 224, 224); 
}

/* Contact Section, otsikko */
#contact h2 {
	padding-top: 20px;
	font-size: 30px;
	font-weight: 400;
	color: rgb(138, 135, 135);
}

/* Contact Section, teksti */
#contact h3 {
	padding-top: 20px;
	font-size: 20px;
	font-weight: 400;
	color: #fff;
}
#contact form {
	padding: 30px 0;
}
#contact .text-danger {
	color: #E87E04;
	text-align: left;
}
label {
	font-size: 12px;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
	float: left;
}
#contact .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #2c3e50;
	background-color: rgba(255,255,255,0.8);
	background-image: none;
	border: 1px solid #999;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact .form-control:focus {
	border-color: inherit;
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
color: #2c3e50;
}
.form-control:-moz-placeholder {
color: #2c3e50;
}
.form-control::-moz-placeholder {
color: #2c3e50;
}
.form-control:-ms-input-placeholder {
color: #2c3e50;
}
#contact .social {
	margin-top: 80px;
}
#contact .social ul li {
	display: inline-block;
	margin: 0 20px;
}
#contact .social i.fa {
	font-size: 22px;
	padding: 4px;
	color: rgb(150, 148, 148);
	transition: all 0.5s;
}
#contact .social i.fa:hover {
	color: #000;
}

.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}




/* Footer Section*/
#footer {
	background: #f6f6f6;
	color: #777;
	padding: 30px 0 25px 0;
}
#footer p {
	font-size: 13px;
}
#footer a {
	color: #555;
}
#footer a:hover {
	color: #000;
}


img { 
	opacity: 0.5;  
  }
  
  img:hover {
	opacity: 1.0;  
  }

  /* Centered text */
 .text {
  position: absolute;
  padding: 1pt;
  opacity: 0.8; 
  z-index: 2;
  border: 1px solid rgba(78, 77, 77, 0.24);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(248, 248, 250, 0.363);
 }

 /*.text {
  position: absolute;
  padding: 2;
  color:black;
  opacity: 0.8; 
  z-index: 2;
  border: 1px solid rgba(78, 77, 77, 0.24);
  background-color: rgba(0, 0, 2, 0.082);
 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}*/

.text h4{
  font-size: 9pt;
  font-weight: 500;
  padding: 3pt;
  line-height: 9pt;
  padding:2;
  opacity: 1; 
  color: black;
  z-index: 2;
}

.text:hover,h4:hover{
  
  
  color:rgb(255, 255, 255);
  font-size: 9pt;
  font-weight: 500;
  padding: 6pt;
  line-height: 9pt; 
  padding: 1pt;
  opacity: 1;
  background-color: rgba(10, 0, 0, 0.253);
}
/*
.text:hover{
  color:black;
  font-size: 9pt;
  font-weight: 1000;
  padding: 6pt;
  line-height: 9pt; 
  padding:0;
  opacity: 1;
  background-color: rgba(240, 248, 255, 0.89);
}*/

/*
.text h5{
  margin-top:-10%;
  font-size: 8pt;
  font-weight: 500;
  padding: 6pt;
  line-height: 8pt;
  color:black; 
  z-index: 2; 
}*/