@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold-webfont.svg') format('svg');
    font-weight: bold;
    font-style: normal;
}
*, *:after, *:before {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
}

.tarpeeton {
  display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    margin: 0px;
    text-rendering: optimizelegibility;
    font-weight: 400;
}
h2 {
    margin-bottom: 0.75em;
    font-size: 24px;
    line-height: 1.2;
}
h3 {
    margin-bottom: 1em;
    font-size: 21px;
    line-height: 1.3;
}


#main {
  padding-bottom:0;
}

a, a:hover, a:focus {
  color:rgb(225, 34, 66);
  text-decoration: none;
}

tbody tr:nth-child(2n+1) td {
    background-color: #F9F9F9;
}

.kayttotaulukko {
  float:left;
  width: 400px;
  line-height: 1.2;
}

.kayttotaulukko, .kayttotaulukko td{
  border: 1px solid black;
  vertical-align:middle;
  padding: 14px 10px;
  font-size: 14px;
}

#container {
  background-color: transparent;
}

h3 {
  color:rgb(225, 34, 66);
}

ul {
  padding: 0;
}

li {
  list-style: none;
  margin: 0 0 0 10px;
}

#bottom1 li a {
  font-weight: bold;
  font-size: 30px;
  line-height: 1.2;
  -moz-transition: all .3s; 
  -webkit-transition: all .3s;
  transition: all .3s;
  position: relative;
  color:rgb(225, 34, 66);
}


nav a {
	font-family: "Open Sans";
	font-weight: bold;
	font-size: 25px;
	line-height: 1.2;
	position: relative;
	color:rgb(225, 34, 66);
	z-index: 1;
}

nav a:first-child {
	margin-right: 0.5em;
	float:left;
}

nav a:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 3px;
	bottom: 0;
	left: 0;
	background: rgb(225, 34, 66);
	visibility: hidden;
	border-radius: 5px;
	transform: scaleX(0);
	transition: .25s linear;
}

nav a:hover:before,
nav a:focus:before {
  visibility: visible;
  transform: scaleX(1);
}

#menu .menu {
  width: 725px;
  margin: 1.6rem 0 0 5rem;
  float:none;
}

a.current {
  border-bottom: 10px solid rgb(225, 34, 66);
}

.caxon-video {
	float:left;
	margin-bottom: 1em;
}

.animaatio {
  margin: 0 0 70px 0;
  min-width: 325px;
}

.sivellin {
  background-image: url('../img/caxon-sivellin.png');
  width: 177px;
  height: 150px;
  position: relative;
  left: 88px;
  -moz-transition: left 3s; 
  -webkit-transition: left 3s;
  transition: left 3s;
}

.sivellin:hover {
  left:150px;
}

.kahva {
  background-image: url('../img/caxon-kahva.jpg');
  width: 121px;
  height:146px;
  position:relative;
  left:0;
  top:31px;
  float:left;
}

.maalauskuva {
  background-image: url('../img/seinan-maalaus1.jpg');
  background-size: 100% 100%;
  width: 254.5px;
  height: 157.5px;
  margin-top: 0.5em;
}

/*.infopallo {
  background-color: rgb(225, 34, 66);
  border-radius:50%;
  width:158px;
  height:158px;
  border: 3px solid #fff;
  position: relative;
  top: -75px;
  left: 620px;
  z-index: 2;
  float:left;
}

.infopallo p {
  color: #fff;
  font-family: "Open Sans";
  font-weight: bold;
}*/

#bottomRow article  {
  width: 100% !important;
}

.edut-container {
  max-width: 440px;
}

.edut {
  width: 220px;
  float:left;
}

.edut p {
  padding: 0 15px 0 0;
  font-size: 13px;
  /*font-size: 0.81rem;*/
  margin-bottom: .3rem;
  line-height: 1.2;
  -moz-hyphens: auto;
  hyphens: auto;
}

.vika {
  min-height: 200px;
}

.kayttotaulukko {
  margin: 0 0 50px 0;
}

.kayttohavainne {
  width: 434px;
  height: 670px;
  float:left;
}

.havainne-yleissivellin {
  background: url('../img/sivellin-yleis.jpg') no-repeat;
  width: 157px;
  height:200px;
  float:right;
  position:relative;
  top: -40px;
  z-index: -1;
}

.havainne-etusivellin {
  background: url('../img/sivellin-etu.jpg') no-repeat;
  width: 434px;
  height:308px;
  position:relative;
  top: -420px;
  z-index: -1;
}

.kayttohavainne p {
  font-family: "Open Sans";
  font-size: 12px;
  /*font-size: 1.2rem;*/
  line-height: 1;
}

p.havainneotsikko {
  font-size: 13px;
  /*font-size: 1.3rem;*/
  margin-bottom: .3rem;
  line-height: 1;
}

.laadukas-container {
  position: relative;
  left: 110px;
  top: 0;
  z-index: 1;
  width: 222px;
}

.laadukas {
  width:210px;
  height:300px;
  border-top: 2px solid rgb(225, 34, 66);
  border-left: 2px solid rgb(225, 34, 66);
  border-radius: 20px 0 0 0;
  padding: 5px 60px 0 8px;
  float:left;
}

.maalisaato-container {
  position: relative;
  left: 212px;
  top: -220px;
  z-index: 1;
  width: 222px;
}

.maalisaato {
  width:115px;
  height:100px;
  border-top: 2px solid rgb(225, 34, 66);
  border-left: 2px solid rgb(225, 34, 66);
  border-radius: 20px 0 0 0;
  padding: 5px 10px 0 12px;
  float:left;
}

.kaantosuutin-container {
  position: relative;
  left: 212px;
  top: -220px;
  z-index: 1;
  width: 222px;
}

.kaantosuutin {
  width:65px;
  height:185px;
  border-bottom: 2px solid rgb(225, 34, 66);
  border-right: 2px solid rgb(225, 34, 66);
  border-radius: 0 0 20px 0;
  float:left;
}

.kaantosuutin-tekstit {
  width: 150px;
  float:left;
}

.boltsi {
  background-color: rgb(225, 34, 66);
  border-radius:50%;
  width:7px;
  height:7px;
  position:relative;
}

.ala {
  right: 2.4px;
  bottom: 2px;
  clear:left;
}

.oikea {
  float:left;
  bottom: 2.7px;
  right: 1px;
}

.vasen {
  right: 2.2px;
  bottom: 4.8px;
  clear:left;
}

.yla {
  float:left;
  bottom: 2.7px;
  right: 4.7px;
}

p.triangle-right {
  font-size: 16px;
  /*font-size: 1.6rem;*/
  line-height: 1.25;
  text-align: justify;
  -moz-text-align-last: center;
  text-align-last: center;
  position:relative;
  top: -430px;
  left: 50px;
  padding:15px 30px;
  margin:1em 0 3em;
  color:#fff;
  background:rgb(226, 24, 75);
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  border-radius:10px;
  width: 370px;
  -webkit-transform: matrix(1,0,-0.297,1,0,0);
  -moz-transform: matrix(1,0,-0.297,1,0px,0px);
  -ms-transform: matrix(1,0,-0.297,1,0,0);
  -o-transform: matrix(1,0,-0.297,1,0,0);
  transform: matrix(1,0,-0.297,1,0,0);
  z-index: 1;
}


.triangle-right.top:after {
  content:"";
  position:absolute;
  top:-49px; /* value = - border-top-width - border-bottom-width */
  right:50px; /* controls horizontal position */
  bottom:auto;
  left:260px;
  border-width:50px 0 0 20px; /* vary these values to change the angle of the vertex */
  border-style:solid;
  border-color:transparent rgb(226, 24, 75);
  display:block; 
    width:0;
}

#login-form input {
  border-color: #000;
}

label {
  font-style: normal;
  color: #000;
}

.custom-kone-esittely {
  font-size: 21px;
  font-size: 2.1rem;
  line-height: 1.3;
}

#button_submit.button {
background: rgb(225, 34, 66);
background: -moz-linear-gradient(top, rgba(224, 154, 166,1) 0%, rgba(225, 34, 66,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224, 154, 166,1)), color-stop(100%,rgba(225, 34, 66,1)));
background: -webkit-linear-gradient(top, rgba(224, 154, 166,1) 0%,rgba(225, 34, 66,1) 100%);
background: -o-linear-gradient(top, rgba(224, 154, 166,1) 0%,rgba(225, 34, 66,1) 100%);
background: -ms-linear-gradient(top, rgba(224, 154, 166,1) 0%,rgba(225, 34, 66,1) 100%);
background: linear-gradient(top, rgba(224, 154, 166,1) 0%,rgba(225, 34, 66,1) 100%);
}


p {
    margin-bottom: 0;
	font-size: 14px;
}

.myyntipakkaus {
	width: 292.5px;
	height: 305.5px;
}

.konethumb {
	display: block;
}

.konekuva {
	margin: 1em;
}

.konecontainer {
	float: left;
	margin: 1em;
}

.yhteyslomake {
	width: 400px;
}

.button {
	background-color:rgb(225, 34, 66);
}

.button:hover, .button:focus {
	background-color:rgb(224, 8, 55);
}

.yritysinfo {
	width: 400px;
	margin: 1em;
}
.container {
	padding: 1em 0;
}
	
.container li {
	font-size: 14px;
}

.small-block-grid-2 > li {
    width: 45%;
}

.small-block-grid-2 {
	margin-top:1em;
}

h1 {
	margin-top:1em;
}

/* min-width 1025px, large screens */
@media only screen and (min-width: 64.063em) {


	nav a {
	font-size: 40px;
	}
	nav a:first-child {
		float:none;
		margin-left: 1em;
	}
	.container {
	width: 980px;
	border: 1px solid #DDD;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
	padding: 2em 2em 0 2em;
	}
	.edut-container {
		float:left;
		margin: 0 0 0 30px;
	}
	.maalauskuva {
	  width: 509px;
	  height: 315px;
	  float:right;
	}
	.kayttohavainne {
		padding: 40px 0 0 0;
		margin: -40px 0 0 0;
	}
	.kayttotaulukko {
	  margin: 0;
	}
	.myyntipakkaus {
	width: 585px;
	height: 611px;
	}
	.yhteyslomake {
		float:left;
	}
	.yritysinfo {
		float:left;
	}
	.footer {
		clear:both;
		background-color: #FCFCFC;		
		border-width: 0 1px 1px 1px; /* border shorthand doesn't accept this many width values */
		border-style: solid;
		border-color: #DDD;
		box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
		width: 980px;
		padding: 2em;
	}
	.row .header {
		margin-top: 2em;
		margin-bottom: 2em;
	}
	.logo {
		float:left;
	}
	.animaatio {
		float: right;		
	}
	.caxon-video {
		margin: 0;
	}
	.large-block-grid-3 > li {
    width: 25%;
	}

}
