body {
/* background-color: #231f20; 
background-image: url("tausta.jpg");
background-position: 0px 315px; */
background-repeat:no-repeat;
background-color: black;
font-family: times;
text-align: center;
z-index: 1;
margin: 0 auto;
max-width: 1500px;
}

#mainoskuvat {
margin: 0;
position:absolute;
left: 0px;
width: 269px;
height: 70px;
top: 160px;
z-index: -1;
}

#kuvaboksi_forever {
position: absolute;
margin-left: auto;
margin-right: auto;
width: auto;
height: auto;
margin: 0 auto;
top: 220px;
left: 0px;
z-index: 0;
}

.topspace {
position: relative;
margin-top: 50px;
}

#IdHair {
position: absolute;
margin-left: auto;
margin-right: auto;
width: auto;
height: auto;
margin: 0 auto;
top: 225px;
left: 0px;
z-index: -1;
}

#mainoskuvat2 {
margin: 0;
position:absolute;
left: 0px;
width: 200px;
height: 103px;
top: 339px;
z-index: -1;
}

#KCkuva {
position: absolute;
top: 0px;
left: 0px;
width: 230px;
height: 132px;
z-index: -1;
}

#paulmitchell{
position: absolute;
margin-left: auto;
margin-right: auto;
width: auto;
height: auto;
margin: 0 auto;
top: 385px;
left: 0px;
z-index: -1;
}

#ulko {
min-height: 100%;
width: 1200px;
z-index: -3;
}

#main {
min-height: 100%;
width: 700px;
margin-left: auto;
margin-right: auto;
height: auto;
z-index: -2;
background-color: transparent;
margin: 0 auto;
}

#logo {
/* height: 160;
left: 175px; */
margin-left: auto;
margin-right: auto;
width: 350px;
position: static;
z-index: 0;
margin-top: 0;
margin-bottom: 0px;
}

#logo img {
border-style: none;
}

.navipalkki {
margin-left: auto;
margin-right: auto;
margin-top: 0px;
margin-bottom: 0;
height: 42px;
background-image: url("navbar4.png");
/* left: 30px; */
width: 640px;
}

.navipalkki ul {
margin:0 0 0 0;
}

.navipalkki a:link {color: white; text-decoration: none; }
.navipalkki a:active {color: darkgray; text-decoration: none; }
.navipalkki a:visited {color: white; text-decoration: none; }
.navipalkki a:hover {color: gray; text-decoration: none; }

.navipalkki li {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
text-size-adjust: 100%;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
padding: 0px;
top: 10px;
float: left;
position: absolute;
font-family: "Verdana",sans-serif;
font-size: 15px;
list-style-type: none;
}

/* .naviteksti {
position: relative;
}
*/

#nav1 { 
margin-top: 0px;
left: 10px;
position: relative;
}

#nav2 {
margin-top: 0px;
left: 54px;
position: relative;
}

#nav3 {
margin-top: 0px;
left:95px;
position: relative;
}

#nav4 {
margin-top: 0px;
left: 137px;
position: relative;
}

#nav5 {
margin-top: 0px;
left: 185px;
position: relative;
}

#box1 {
margin-left: auto;
margin-right: auto;
padding-top: 5px;
width: 700px;
height: 695px;
background-image: url("box1.png");
background-repeat: no-repeat;
background-color: transparent;
z-index: 2
}

#boxgalleria {
margin-left: auto;
margin-right: auto;
padding-top: 5px;
width: 700px;
height: 2795px;
background-image: url("boxtrendit.png"); 
background-repeat: no-repeat; 
background-color: transparent;
z-index: 2
}

#box2 {
min-height: 100%;
margin-left: auto;
margin-right: auto;
padding-top: 5px;
margin: 0;
position: relative;
width: 700px;
height: 1445px;
background-image: url("box6.png");
background-repeat: no-repeat;
background-color: transparent;
z-index: 2;
overflow: auto;
}

#boxhinn {
min-height: 100%;
margin-left: auto;
margin-right: auto;
padding-top: 5px;
margin: 0;
width: 700px;
height: 1445px;
background-image: url("box6.png");
background-repeat: no-repeat;
z-index: 2
}

#boxessential {
min-height: 100%;
margin-left: auto;
margin-right: auto;
padding-top: 5px;
margin: 0;
width: 700px;
height: 895px;
background-image: url("boxessential.png");
background-repeat: no-repeat;
z-index: 2
}

#boxtuotteet {
min-height: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 0px;
padding-top: 5px;
margin: 0;
width: 700px;
height: 2795px;
background-image: url("boxtrendit.png");
background-repeat: no-repeat;
z-index: 2
}

#boxtrendit {
min-height: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 0px;
padding-top: 5px;
margin: 0;
width: 700px;
height: 1445px;
background-image: url("box6.png");
background-repeat: no-repeat;
z-index: 2
}

#boxtuotteet p {
margin-top: 0px;
}

#boxtuotteet h2 {
text-align: center;
margin-top: 0px;
}

#essentialtuotteet {
height: 90px;
width: 600px;
margin-left: auto;
margin-right: auto;
margin-bottom: 80px;
}

/*#essentialtuotteet img {
margin-left: auto;
margin-right: auto;
} */

#essentialtuotteet p {
text-align: center;
}

#essentialtuotteet a {
font-weight: bold;
}

#essentialtuotteet a:link {color: #d0078d; text-decoration: underline;}
#essentialtuotteet a:active {color: blue; text-decoration: underline;}
#essentialtuotteet a:visited {color: #d0078d; text-decoration: underline;}
#essentialtuotteet a:hover {color: blue; text-decoration: underline;}

.boxesse a:link {color: #d0078d; text-decoration: underline;}
.boxesse a:active {color: blue; text-decoration: underline;}
.boxesse a:visited {color: #d0078d; text-decoration: underline;}
.boxesse a:hover {color: blue; text-decoration: underline;}

#ajankohtaista a:link {color: #d0078d; text-decoration: underline;}
#ajankohtaista a:active {color: blue; text-decoration: underline;}
#ajankohtaista a:visited {color: #d0078d; text-decoration: underline;}
#ajankohtaista a:hover {color: blue; text-decoration: underline;}

#kcpro {
margin-top: 0px;
height: 380px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
width: 515px;
}

#multi {
margin-top: 0px;
height: 350px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
width: 300px;
}


#tuote0 {
margin-top: 80px;
height: 380px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
width: 600px;
}

#tuote1 {
margin-top: 0px;
height: 303px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
width: 402px;
}

#tuote1 p {
position: relative;
left: 20px;
}

#tuote2ja3 {
margin-top: 30px;
margin-bottom: 30px;
position: relative;
height: 420px;
width: 650px;
margin-left: auto;
margin-right: auto;
}

#tuote2 {
margin-top: 30px;
margin-bottom: 30px;
position: relative;
height: 420px;
width: 296px;
margin-left: auto;
margin-right: auto;
}

#tuote3 {
position: absolute;
top: 0px;
left: 325px;
height: 420px;
width: 325px;
}

#tuote3 p {
padding: 0;
margin: 0 0 0 0;
text-align: center;
}

#tuote4 {
width: 500px;
height: 237px;
margin-left: auto;
margin-right: auto;
margin-bottom: 40px;
text-align: left;
}

#tuote5 {
width: 450px;
height: 424px;
margin-left: auto;
margin-right: auto;
}

#tuote6 {
width: 468px;
height: 370px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
}

#tuote7 {
width: 600px;
height: 170px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
}

#tuote8 {
//* width: 700px;
height: 550px; *//
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
border: 1px solid;
}

#tuotea {
position: absolute;
left:0px;
top: 0px;
width: 305px;
height: 250px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
}

#tuoteajab{
margin-top: 30px;
margin-bottom: 30px;
position: relative;
height: 230px;
width: 650px;
margin-left: auto;
margin-right: auto;
}

#tuoteb{
position: absolute;
width: 600px;
height: 212px;
left:345px;
top: 0px;
width: 305px;
height: 250px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
}

#tuote8 {
width: 400px;
height: 303px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
}

#tuote9 {
width: 600px;
height: 212px;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
}

#tuote9 p {
margin: 0 0 0 0;
text-align: center;
}

.boxalenn {
position: absolute;
margin-top: 45px;
margin-left: 470px;
height: 200px;
width: 180px;
text-align: justify;
}

.boxalenn p {
font-weight: bold;
}

.boxalenn h3 {
margin: 0;
}

.boxalenn li {
list-style-type: square;
}

.boxesse {
position: absolute;
margin-top: 275px;
margin-left: 470px;
height: 200px;
width: 180px;
text-align: justify;
}

a.linkki:link {color: #d0078d; text-decoration: underline;}
a.linkki:active {color: blue; text-decoration: underline;}
a.linkki:visited {color: #d0078d; text-decoration: underline;}
a.linkki:hover {color: blue; text-decoration: underline;}

.centered {
text-align:center;
}

.center {
display: block;
margin-left: auto;
margin-right: auto;
}

.centered2 {
text-align:center;
}

.lisays {
margin-top: 20px;
}

#boxhinn table {
margin-bottom: 10px;
margin-left: 25px;
}

#boxhinn th {
padding-left: 5px;
font-size: 13pt;
background-color: #aa118e;
color: white;
}

#boxessential table {
margin-bottom: 10px;
margin-left: 25px;
}

#boxessential th {
padding-left: 5px;
font-size: 13pt;
background-color: #aa118e;
color: white;
}

table.hinnasto td.hinta1 {
padding-left: 5px;
padding-top: 5px;
padding-bottom: 5px;
background-color: #aa118e;
width: 100px;
color: white;
/* border: solid 1px white; */
}

table.hinnasto td.selite {
padding-left: 5px;
padding-top: 5px;
padding-bottom: 5px;
width: 250px;
background-color: #b9b4b7;
color: black;
/* border: solid 1px white; */
}

table.hinnasto td.hinta {
padding-left: 5px;
padding-top: 5px;
padding-bottom: 5px;
background-color: #e170d8;
width: 150px;
/* border: solid 1px white; */
}

.clear {
clear: both;
}

.leipis {
font-size: 11pt;
margin-left: 20px;
margin-top: 0px;
margin-right: 20px;
margin-bottom: 0px;
font-family: "Palatino Linotype", "Palatino", "Book Antiqua", serif;
color: black;
text-align: left;
text-align: justify;
float: none;
}

.strong {
font-weight: bold;
}

.alamargin {
width: 100%;
overflow: auto;
}

.alamargin2 {
margin-bottom: 10px;
width: 100%;
overflow: auto;
}

.alamargin3 {
margin-bottom: 100px;
width: 100%;
}

.floatright {
float: right;
margin: 0 0 5px 10px;
}

.floatright_noborder {
float: right;
margin: 0 0 5px 10px;
border: 0;
}

.floatleft_upmargin {
margin: 50px 0 5px 10px;
border: 0;
}

.floatleft {
float: left;
margin: 0 0 5px 10px;
border: 0px;
}

.nofloat {
float: none;
}

.leipis h1 {
margin-top: 0;
margin-bottom: 5px;
font-size: 1.5em;
}

.leipis h2 {
margin-top: 0px;
font-size: 1.0em;
font-weight: bold;
color: #d0078d;
}

p.ilmoitus {
color: #d0078d;
font-size: 1.2em;
font-weight: bold;
}

#ajankohtaista {
margin-top: 5px;
margin-bottom: 15px;
list-style-type: none;
overflow: auto;
width: auto;
}

.kuva { 
margin:0 0 0 0;
height:auto;
width:auto;
float:left;
text-align:center;
  }
  
 .kuvaboksi_etusivu1 {
 margin-top: 20px;
 height: 140px;
 }
 
 .kuvaboksi_etusivu2 {
 margin-top: 5px;
 height: 150px;
 }
 
 .kuvaboksi_etusivu_iso {
 margin-top: 20px;
 margin-bottom: 0px;
 height: 392px;
 padding: 0px;
 }
 
 .kuvaboksi_tuote {
 margin-top: 20px;
 height: 500px;
 border: 1px solid;
 }
  
.centered img {
margin-bottom: 10px;
}

.bordered {
border: solid 1px black;
}

.bordered_white {
border: solid 1px;
background-color: white;
}
  
.kuva img {
display:inline;
margin:3px;
border: 1px solid white;
}

.kuva a:hover img {
 border:1px solid #d0078d;
 }
 
.desc {
text-align:center;
font-weight:normal;
width:220px;
margin:2px;
 } 
 
 .desc_white {
text-align:center;
font-weight:normal;
color: white;
width:220px;
margin:2px;
 } 
 
a.white:link {color: white; text-decoration: none; }
a.white:active {color: dark-gray; text-decoration: none; }
a.white:visited {color: white; text-decoration: none; }
a.white:hover {color: gray; text-decoration: none; }
 
.kuvaboksi {
position: relative;
margin-left: auto;
margin-right: auto;
width: 690px;
height: auto;
margin: 0 auto;
}

.kuvaboksi2 {
position: relative;
margin-left: auto;
margin-right: auto;
width: 320px;
height: auto;
margin: 0 auto;
}

.footer {
/* background-image: url("footerborder.png");
background-repeat: repeat-y;
background-position: 55px 0px; */
background-image: url("footer.png");
background-repeat: no-repeat;
bottom: 0px;  
height: 50px; 
position: relative;
width: 700px;
z-index: 3;
margin-left: auto;
margin-right: auto;
}

.alaoikea {
float: right;
font-size: 11pt;
text-align: left;
font-family: "Palatino Linotype", "Palatino", "Book Antiqua", serif;
color: black;
position: relative;
width: 380px;
text-align: justify;
right: 20px;
margin-top: 0px;
}

.alaoikea p {
margin-top: 0;
}
.alavasen p {
margin-top: 0;
}

.alavasen{
margin-top: 0px;
float: left;
text-align: justify;
font-size: 11pt;
text-align: left;
font-family: "Palatino Linotype", "Palatino", "Book Antiqua", serif;
color: black;
position: relative;
width: 200px;
left: 20px;
}