﻿@keyframes fadein {
    from {opacity:0;}
    to {opacity:1;}
}
@-moz-keyframes fadein { /* Firefox */
    from {opacity:0;}
    to {opacity:1;}
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {opacity:0;}
    to {opacity:1;}
}
@-o-keyframes fadein { /* Opera */
    from {opacity:0;}
    to {opacity: 1;}
}
.fadein{
	animation: fadein 2s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}
#slide-content{
	width: 100%;
	height: 150px;
	overflow: hidden;
	margin:  0;
	padding: 0;
}
#slide-content img{
	margin-right: 30px;
}
.slide {
  display: inline-block;
  white-space: nowrap;
  animation: floatText 40s infinite linear;
  padding-left: 100%; /*Initial offset*/
  width: 6800px;
}
@keyframes floatText {
  to {
    transform: translateX(-100%);
  }
}
body{
	background: #ffffff;
	margin: 0;
	padding: 0;
	font-family: Arial;
		font-size: 18px;
		letter-spacing: 0.5px;
	color: #686868;
}
html.sr .load-hidden {
    visibility: hidden;
}
/*navigation*/
.sidenav {
	background: #1d1d1d;
	height: 100%;
	width: 0;
	top: 0;
	left: 0;
	padding-top: 20px;
	position: fixed;
	z-index: 102;
	overflow: hidden;
	transition: 0.5s;
}
.sidenav img{
	margin: 0 0 30px 220px;
	cursor: pointer;
}
.sidenav a {
	height: 65px;
	color: #fff;
	margin-left: 30px;
	font-weight: normal;
	letter-spacing: 1px;
	display: block;
	font-family: Quicksand_Book;
	text-transform: uppercase;
	text-decoration: none;
}
.sidenav a:hover {
	color: #02ddce;
}
/*accordion*/
#tabi-wrap{
	width: 100%;
	max-width: 850px;
	margin: 0 auto 100px auto;
	border-bottom: 1px #bbb solid;
}
.tabi {
	width: 100%;
	overflow: hidden;
}
.tabi input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}
.tabi label {
	height: 10px;
	min-width: 350px;
	padding: 22px 0 28px 5px;
	background: url(images/plus.png) no-repeat #fff;
	background-position: right 18px;
	border-top: 1px #bbb solid;
	display: block;
	cursor: pointer;
	z-index:-1;
}
.tabi-content {
	max-height: 0;
	overflow: hidden;
	-webkit-transition: max-height 0.5s;
	-o-transition: max-height 0.5s;
	transition: max-height 0.5s;
	background: #f5f5f5;
}
.tabi-content p{
	margin: 10px 50px 10px 50px;
}
.tabi-content h3{
	margin: 0 0 20px 0;
}
.tabi input:checked ~ .tabi-content {
	max-height: 1500px;
}
:checked ~ label {
	transition-propertyxxx: background;
	transition-duration: 0.3s;
	transition-timing-function: linear;
	background: url(images/minus.png) no-repeat ;
	background-position: right 18px;
	color: #dadada;
}
@font-face {
	font-family: Quicksand_Book;
	src: url("font/Quicksand_Book.ttf") format("opentype"),
	url("font/Quicksand_Book.woff") format("opentype");
}
li {
	margin: 20px 40px;
	line-height: 28px;
}
a {
	text-decoration: none;
	color: #2db6ff;
	font-weight: bold;
}
p {
	line-height: 28px;
	margin:0 0 8px 0;
}
h1{
	font-size: 30px;
	line-height: 40px;
	margin: 0 0 30px 0;
	font-family: Arial;
	font-weight: normal;
	letter-spacing: 1px;
}
h2{
	font-size: 25px;
	line-height: 30px;
	font-weight: normal;
	margin: 0;
}
h3{
	font-size: 20px;
	line-height: 25px;
	margin: 0 0 5px 0;
	letter-spacing: 3px;
	font-family: Quicksand_Book;
	text-transform: uppercase;
}
.gray{background: #f5f5f5;box-shadow: inset 0 -80px 130px rgba(0,0,0,0.1);}
.gray-a{background: #f5f5f5;}
.center{text-align: center;}
.left{text-align: left;}
.red{color:#d90000;}
.right{text-align: right;}
.rgbg{background: rgba(0, 221, 206, 0.7);}
.rgbb{background: rgba(37, 204, 241, 0.7);}
.logo img{height: 48px;}
.spacer{background: #f5f5f5;}
.spacer2{background: #f5f5f5;width: 70px;}
.spacer3{background: #f5f5f5;width: 100px;}
.border-b{border-top: 20px #fff solid;}
.etusivu01 {background-image: url(backgrounds/etusivu01.jpg);}
.etusivu02 {background-image: url(backgrounds/etusivu02.jpg);}
.mattopesu01 {background-image: url(backgrounds/mattopesu01.jpg);}
.mattopesu03 {background-image: url(backgrounds/mattopesu03.jpg);}
.mattopesu04 {background-image: url(backgrounds/mattopesu04.jpg);}
.vaatepesu01 {background-image: url(backgrounds/vaatepesu01.jpg);}
.vaatepesu02 {background-image: url(backgrounds/vaatepesu02.jpg);}
.vaatepesu03 {background-image: url(backgrounds/vaatepesu03.jpg);}
.kodintekstiilit01 {background-image: url(backgrounds/kodintekstiilit01.jpg);}
.kodintekstiilit02 {background-image: url(backgrounds/kodintekstiilit02.jpg);}
.kodintekstiilit03 {background-image: url(backgrounds/kodintekstiilit03.jpg);}
.yrityspalvelut01 {background-image: url(backgrounds/yrityspalvelut01.jpg);}
.yrityspalvelut03 {background-image: url(backgrounds/yrityspalvelut03.jpg);}
.tekstiilipesuri01 {background-image: url(backgrounds/tekstiilipesuri01.jpg);}
.tekstiilipesuri02 {background-image: url(backgrounds/tekstiilipesuri02.jpg);}
.tekstiilipesuri03 {background-image: url(backgrounds/tekstiilipesuri03.jpg);}
.misc01 {background-image: url(backgrounds/misc01.jpg);}
.misc02 {background-image: url(backgrounds/misc02.jpg);}
.kuljetus01 {background-image: url(backgrounds/kuljetus01.jpg);}
.shadow{border-radius: 50%;box-shadow: 0px 30px 40px -24px rgba(0, 0, 0, 1.0);}
td{
	padding: 3px 5px 3px 20px;
	color: #797979;
	line-height: 25px;
}
#base-content{
	margin: auto;
	padding: 10px 20px 10px 20px;
	width: 100%;
	max-width: 1100px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#box{
	width: 100%;
	max-width: 900px;
	min-width: 0;
	margin-top: 30px;
	padding-top: 0;
}
#box img{
	width: 180px;
	height: 180px;
	margin: 0 30px 30px 5px;
	float:left;
}
#box p{
	margin: 18px 40px 20px 20px;
}
#box-content{
	width: 100%;
	padding: 0px;
}
#box-content h3{
	font-size: 20px;
	letter-spacing: 1px;
	line-height: 22px;
	margin-bottom: 3px;
}
#break{
	height: 50px;
	width: 150px;
	background: url(images/star.png) no-repeat;
	margin: 0px auto 50px auto;
}
.yritys{
	padding-bottom: 50px;
}
#break3{
	height: 100%;
	width: 10px;
	background: #fff;
	right: 50%;
	position: absolute;
}
#button{
	height: 10px;
	min-width: 120px;
	max-width: 250px;
	color: #fff;
	font-weight: normal;
	cursor: pointer;
	text-align: center;
	letter-spacing: 1px;
	text-shadow: 0 0 5px #989898;
}
.a{
	padding: 13px 40px 22px 40px;
	border: 1px #fff solid;
	margin: 40px auto;
}
.b{
	background: #00ddce;;
	padding: 15px 20px 25px 20px;
	margin: 8px 0 0 0;
}
#button-menu{
	width: 30px;
	height: 30px;
	background: url(images/menu.png) no-repeat;
	cursor: pointer;
}
#button-column{
	min-width: 49%;
	padding: 0;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#button-group{
	width: 100%;
	max-width: 1100px;
	margin: auto;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#cell-50{
	width: 50%;
	height: 600px;
	display: flex;
	align-items: center;
}
#contact-wrap{
	width: 90%;
	max-width: 500px;
	margin: auto;
}
#contact-wrap p{
	line-height: 25px;
	letter-spacing: 1px;
	margin-bottom: 15px;
}
#copyright{
	width: 100%;
	margin: 20px auto 0 auto;
	font-size: 16px;
	font-family: Arial;
	letter-spacing: 1px;
	color: #fff;
	text-align: center;
	line-height: 35px;
}
#dial, #dial-a{
	padding: 0;
	display: flex;
	align-items: center;
	background: #fff;
}
#dial{
	height: 44px;
	width: 260px;
	margin: 10px auto;
	box-shadow: 0px 20px 30px -18px rgba(0, 0, 0, 0.5);
}
#dial-a{
	height: 54px;
	width: 300px;
	margin: 25px auto;
	box-shadow: 0px 20px 30px -20px rgba(0, 0, 0, 1.0);
}
#dial p, #dial-a p{
	color: #474747;
	padding: 10px 30px 0 20px;
	font-weight: normal;	
}
#filler{
	width: 100%;
	height: 100%;
}
#footer{
	width: 100%;
	height: 200px;
	padding: 50px 0 50px 0;
	background: #303030;
}
#footer p{
	font-size: 15px;
	margin-top: 20px;
}
#header-block{
	width: 100%;
	height: 550px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
	display: flex;
    align-items: center;
	text-shadow: 0 0 12px #878787;
	text-align: center;
}
#header-content{
	width: 100%;
	max-width: 750px;
	margin: auto;
	padding: 20px;
}
#header-content p{
	font-size: 22px;
	max-width: 500px;
	letter-spacing: 1px;
	line-height: 28px;
	margin: 20px auto 0 auto;
	text-shadow: 0 0 4px #424242;
}
.small-font:{
	font-size: 18px;
}
#header-content h1{
	font-size: 45px;
	margin-bottom: 5px;
	letter-spacing: 5px;
	text-shadow: 0 0 7px #2a2a2a;
	font-family: Quicksand_Book;
	text-transform: uppercase;
}
#headline{
	width: 100%;
	text-align: center;
	margin: 0;
}
#hinnasto{
	width: 100%;
	max-width: 900px;
	background: #fff;
	padding: 0;
	margin: 0 auto 0 auto;
}
#icon{
	height: 30px;
	width: 30px;
	margin-left: 7px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#icon-a{
	height: 40px;
	width: 40px;
	margin-left: 7px;
}
.call{background: url(images/icons/call.png) no-repeat;}
.whatsapp{background: url(images/icons/whatsapp.png) no-repeat;}
.email{background: url(images/icons/email.png) no-repeat;}
.map{background: url(images/icons/map.png) no-repeat;}
.paita{background: url(images/icons/paita.png) no-repeat;}
#info-content{
	width: 100%;
	padding: 80px 20px 80px 20px;
	color: #fff;
	text-shadow: 0 0 12px #878787;
	text-align: center;
}
#info-content p{
	max-width: 450px;
	margin: 30px auto;
}
#info-wrap{
	width: 50%;
	min-height: 450px;
	display: flex;
	align-items: center;
}
#link-column{
	width: 30%;
	max-width: 430px;
	max-height: 430px;
	margin: 0 10px 40px 10px;
	color: #fff;
	position: relative;
	overflow: hidden;
}
#link-column img{
	max-width: 100%;
	transition: 0.5s ease;
}
#link-column img:hover{
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
	transition: 0.3s ease;
}
#link-column h2{
	font-weight: normal;
	top: 0px;
	padding: 10px 15px 7px 15px;
	font-size: 18px;
	line-height: 24px;
	position: absolute;
	letter-spacing: 2px;
	text-shadow: 0 0 6px #666;
	font-family: Quicksand_Book;
	text-transform: uppercase;
}
#link-column p{
	font-size: 16px;
	background: url(images/arrow.png) no-repeat;
	background-position: right top 4px;
	padding-right: 20px;
	bottom: 5px;
	right: 25px;
	position: absolute;
	letter-spacing: 2px;
	text-shadow: 0 0 5px #525252;
}
#link-row{
	max-width: 100%;
	margin: 30px auto 0 auto;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
#main-block{
	width: 100%;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	position: relative;
}
#main-content{
	width: 75%;
}
.normal{max-width: 850px;}
.small{max-width: 700px;margin: 100px 0 100px 0;}
.ukk{min-width: 100%;}

#main-content h1{
	max-width: 500px;
}
#main-img{
	width: 25%;
	max-width: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#main-menu{
	height: 100%;
	width: 25%;
	max-width: 250px;
	padding-bottom: 0px;
	position: -webkit-sticky;
	position: sticky;
	top: 10px;
	text-align: center;
}
#main-menu a{
	font-weight: normal;
}
#main-wrap{
	width: 100%;
	max-width: 1100px;
	margin: 0px auto 0px auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 20px;
}
#overlay-content{
	width: ;
	max-width: 90%;
	height: ;
	margin: auto;
	padding: 50px;
	background: #ededed;
	position: relative;
}
#overlay {
	height: 100%;
	width: 100%;
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	display: none;
	z-index: 101;
}
#overlay img{
	position: absolute;
	top: -20px;
	right: -20px;
	cursor: pointer;
}
#overlay-wrap {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
}
@media screen and (max-width: 1080px) {
.left, .right{
	text-align: center;
}
.reverse{
	flex-direction: column-reverse;
}
.small{
	max-width: 650px;
	text-align: center;
}
#break3{
	max-width: 0;
	max-height: 0;
}
#button-column{
	min-width: 100%;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
#cell-50{
	min-width: 100%;
}
#header-block{
	height: 350px;
}
#main-content{
	width: 100%;
	padding: 20px 0 20px 0;
}
#main-content h1{
	font-size: 30px;
	line-height: 40px;
	margin: 0 auto 20px auto;
}
#main-img{
	min-width: 100%;
	margin-top: 30px;
}
#main-menu{
	width: 100%;
}
#main-wrap{
	justify-content: center;
}
#info-wrap{
	min-width: 100%;
	border-bottom: 10px #fff solid;
}
#dial{
	min-height: 54px;
	width: 300px;
	margin: 10px auto 10px auto;
}
#dial p{
	color: #474747;
	padding: 15px 30px 5px 20px;
	font-weight: normal;	
}
#link-column{
	width: 44%;
}
}@media screen and (max-width: 760px) {
#box img{
	width: 150px;
	height: 150px;
	margin: 0 15px 10px 5px;
	float:left;
}
#box p{
	margin: 10px 0px 20px 0px;
}
#header-content h1{
	font-size: 35px;
	line-height: 40px;
	margin-bottom: 5px;
	letter-spacing: 3px;
}
#info-wrap{
	min-height: 0;	
}
#link-column{
	width: 70%;
	margin: 40px 0 0 0;
}
#link-row{
	margin: 0 auto 0 auto;
}
.small{margin: 50px 0 0 0;}

}
