/* Perusmuotoilut */
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,600,700');
body {
  background: #ffffff;
}
div {
}
body, p, .teksti, td, ul, li {
  font-family: 'Poppins', sans-serif;
  font-size: 100%;
  line-height: 120%;
}
body, p {
  margin: 0;
  padding: 0;
}
.kuva {
  cursor : pointer;
}
a {
  color: #8f114f;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* Classit */
.center-col {
  width: 94%;
  padding: 0 2%;
  margin-left: auto;
  margin-right: auto;
}
.content-col {
  clear: both;
  height: auto;
  width: 100%;
}
.dtable {
  display: table;
}
.elmcenter {
  text-align: center;
}
.col-33, .col-25, .col-50, .col-66, .col-75 {
  display: inline-block;
  float: left;
}
.col-33 {
  width: 33%;
}
.col-66 {
  width: 66%;
}
.col-25 {
  width: 25%;
}
.col-50 {
  width: 50%;
}
.col-75 {
  width: 75%;
}
/*Copyright*/
#semiowebio {
  text-align: center;
  padding-bottom: 30px;
}
#semiowebio img {
  opacity: 0.2;
  filter: alpha(opacity=20);
}
#semiowebio img:hover {
  opacity: 1.0;
  filter: alpha(opacity=100);
}
/* Paavalikko */
ul.main-navi {
  clear: both;
  width: 100%;
  list-style-type: none;
  margin: 0px;
  padding: 25px 0px;
}
ul.main-navi li {
  display: block;
  width: 100%;
}
ul.main-navi li a {
  background: url(../img/header/nav-arrow.jpg) right 16px no-repeat;
  font-size: 1em;
  color: #000;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  font-weight: 600;
  text-transform: uppercase;
}
ul.main-navi li a:hover {
  color: #8f114f;
  text-decoration: none;
}
/* Otsikkotyylit */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 105%;
}
h1 {
  color: #fff;
  font-size: 2.125em;
  font-weight: 700;
  padding: 10px 0px 30px 0px;
}
h2 {
  color: #828282;
  font-size: 2.45em;
  font-weight: 700;
  padding: 0px 0px 15px 0px;
}
h3 {
  color: #8f114f;
  font-size: 2.15em;
  font-weight: 700;
  padding: 0px 0px 15px 0px;
}
h4 {
  color: #828282;
  font-size: 2em;
  font-weight: 400;
  padding: 0px 0px 15px 0px;
}
h5 {
  color: #8f114f;
  font-size: 1.8em;
  font-weight: 700;
  padding: 0px 0px 15px 0px;
}
h6 {
  color: #828282;
  font-size: 1.5em;
  font-weight: 700;
  padding: 0px 0px 10px 0px;
}
/* Tapahtumakalenteri */
.tapahtumat {
  font-weight: bold;
}
.tapahtumakalenteri_otsikko {
  color: #8f114f;
  font-weight: bold;
}
.tapahtumakalenteri_valiotsikko {
  font-weight: bold;
}
/* Uutiset */
.uutis_otsikko {
  color: #8f114f;
  font-size: 1.8em;
  font-weight: normal;
}
.uutispaivays {
  display: block;
  font-size: 1em;
  font-weight: normal;
  padding-bottom: 10px;
}
.uutis_paivays {
  font-size: 0.75em;
  color: #000000;
}
a.nostouutis_otsikko {
  color: #8f114f;
  display: block;
  font-size: 1em;
  padding-bottom: 20px;
}
.nostouutis_paivays {
  font-size: 0.875em;
}
.uutispaivaysetusivu {
  font-size: 0.75em;
}
.nostettumoduli {
  color: #8f114f;
}
/* Lomakeotsikot */

.lomakeotsikko {
  color: #8f114f;
  font-weight: bold;
}
.lomaketekstiotsikko {
  color: #8f114f;
  font-weight: bold;
}
/* Lomakekentat */
input, .lkentta. select, .lpainike, textarea {
  color: #828282;
  border: 1px solid #b0b0b0;
  padding-left: 3px;
  border-radius: 3px;
}
input {
}
.lkentta {
}
select {
}
.lpainike {
  padding-left: 0;
}
textarea {
}
/* Webio alavalikon linkit */
.valikkolinkki-sel, .valikkolinkki, .valikkomodulilinkki, .valikkomodulilinkki-sel {
  text-decoration: none;
}
.valikkolinkki {
  color: #8f114f;
}
.valikkolinkki-sel {
  color: #8f114f;
  font-weight: bold;
}
.valikkomodulilinkki {
  color: #8f114f;
}
.valikkomodulilinkki-sel {
  color: #8f114f;
  font-weight: bold;
}
/* Piilosivun tyyli */

.valikkolinkki_piilosivu {
  color: #005600;
}
/* Muut */
a.takaisinuutisiin, a.webiolinkkipainike {
  background: #8f114f;
  color: #fff;
  font-weight: 600;
  display: inline-block;
  font-size: 1.15em;
  margin-top: 30px;
  padding: 20px 80px;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out 0s;
}
a.takaisinuutisiin:hover, a.webiolinkkipainike:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}
header#paakuva {
  background: url(../img/header/header.jpg) center top no-repeat;
  background-size: cover;
  height: 1000px;
}
a#siirryajanvaraukseen {
  display: block;
  width: 100%;
  padding: 15px 0px;
  background: #8f114f;
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 0;
  font-weight: 600;
}
#nav {
  float: left;
  width: 350px;
  height: 100%;
  background: #fff;
  position: fixed;
}
#navpadding {
  padding: 0 74px;
  width: 202px;
}
#navcontact {
  padding-top: 0px;
}
#navlogo img {
  width: 100%;
  height: auto;
}
#navcontact p {
  line-height: 160%;
}
#tunnus img {
  width: 510px;
  height: auto;
  padding-top: 176px;
}
#container {
  background: #000000;
  display: inline-block;
  float: left;
  width: 100%;
  padding-left: 350px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
#headerteksti {
  width: 20%;
  padding: 250px 40%;
}
#headerteksti p {
  color: #999999;
  font-weight: 600;
  line-height: 150%;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
#headerteksti a.webiolinkkipainike {
  padding: 25px 0px;
  width: 100%;
}
#bannerit-wrapper {
  padding-top: 50px;
}
a.banneri {
  display: block;
}
.arrow {
  padding-top: 35px;
  clear: both;
  animation: 0.8s ease-in-out 0.8s normal none infinite running swing;
  cursor: pointer;
  display: block;
  text-align: center;
  z-index: 9999;
  animation: swing 0.8s 0.8s ease-in-out infinite;
  -webkit-animation: swing 0.8s 0.8s ease-in-out infinite;
  -moz-animation: swing 0.8s 0.8s ease-in-out infinite;
  -ms-animation: swing 0.8s 0.8s ease-in-out infinite;
  -o-animation: swing 0.8s 0.8s ease-in-out infinite;
  cursor: pointer;
  width: 100%;
}
@keyframes swing {
  0% {
    transform:translate(0, -2px);
  }
  50% {
    transform:translate(0, 2px);
  }
  100% {
    transform:translate(0, -2px);
  }
}
@-webkit-keyframes swing {
  0% {
    -webkit-transform:translate(0, -2px);
  }
  50% {
    -webkit-transform:translate(0, 2px);
  }
  100% {
    -webkit-transform:translate(0, -2px);
  }
}
@-moz-keyframes swing {
  0% {
    -moz-transform:translate(0, -2px);
  }
  50% {
    -moz-transform:translate(0, 2px);
  }
  100% {
    -moz-transform:translate(0, -2px);
  }
}
@-o-keyframes swing {
  0% {
    -o-transform:translate(0, -2px);
  }
  50% {
    -o-transform:translate(0, 2px);
  }
  100% {
    -o-transform:translate(0, -2px);
  }
}
@-ms-keyframes swing {
  0% {
    -ms-transform:translate(0, -2px);
  }
  50% {
    -ms-transform:translate(0, 2px);
  }
  100% {
    -ms-transform:translate(0, -2px);
  }
}
.arrow i {
  color: #fff;
  font-size: 2em;
  opacity: 0.8;
}
.arrow i:hover {
  opacity: 1;
}
.banneriteksti {
  padding: 120px 15% 0 15%;
  width: 70%;
}
.banneriteksti p {
  color: #bababa;
  font-size: 0.9em;
  line-height: 140%;
}
.banneriteksti h2 {
  color: #fff;
  font-size: 2.250em;
}
.banneri {
  background-size: cover !important;
  width: 29%;
  margin: 0 2%;
}
a.banneri:hover {
  opacity: 0.8;
  text-decoration:none;
}
#navbanneri {
  width:80%;
  padding:0 10%;
}
#navbanneri img {
  width:100%;
  height:auto;
}
.bannerilinkki {
  width: 60%;
  margin: 0 20%;
  border-bottom: 20px solid #fff;
  display: inline-block;
  height: auto;
}
div.webiolinkkipainike {
  background: #8f114f;
  color: #fff;
  font-weight: 600;
  display: inline-block;
  font-size: 1.15em;
  margin: 50px 0;
  padding: 20px 0px;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out 0s;
  width: 100%;
}
div.webiolinkkipainike#blue {
  background: #243f42;
}
div.webiolinkkipainike#orange {
  background: #ea8a00;
}
div.webiolinkkipainike:hover {
  background: #000 !important;
  color: #fff;
  text-decoration: none;
}
#ajankohtaista-wrapper {
  margin: 90px 0px;
  background: url(../img/header/bg-ajankohtaista.jpg) center top no-repeat;
  background-size: cover;
  padding: 100px 0px;
}
#facebook-wrapper {
  padding-bottom: 90px;

}
#footer-wrapper {
  padding-top: 60px;
}
#footer-wrapper .col-33 {
  width: 30%;
  background: #333333;
  margin: 0 2.5%;
  padding: 60px 0px 0px 0px;
}
#footer-wrapper p {
  color: #999999;
  line-height: 160%;
}
#footer-wrapper h3 {
  color: #fff;
}
#footerteksti {
  width: 25% !important;
  padding: 100px 2.5% 0 2.5% !important;
  background: none !important;
  margin: 0 !important;
}
#footerteksti img {
  width: 270px;
  height: auto;
  padding: 60px 0px;
}
#ajankohtaista-wrapper img {
  float: none;
  display: inline-block;
  height: auto;
  margin: 0;
  max-width: 100%;
}
.banneritekstikappale {
  height: 155px;
}
.alasivu#nav {
  background: #000;
}
.alasivu ul.main-navi li a {
  background: url(../img/header/arrow.png) right 16px no-repeat;
  color: #fff;
}
.alasivu ul.main-navi li a:hover {
  color: #8f114f;
  text-decoration: none;
}
.alasivu #navcontact p, .alasivu #navcontact td {
  color: #fff;
}
#paakuva-alasivu {
  height: 653px;
  background-size: cover !important;
  position: relative;
}
#maski {
  background: url(../img/header/hairhouse-mask.png) left top no-repeat;
  position: absolute;
  height: 653px;
  overflow: hidden;
}
#content-wrapper {
  background: #fff;
  padding: 110px 0px;
}
#alasivu-otsikko {
  position: absolute;
  top: 270px;
  left: 227px;
  width: 597px;
}
#alasivu-otsikko h1 {
  font-size: 3em;
}
.rotate {
  /* Safari */
  -webkit-transform: rotate(30deg);
  /* Firefox */
  -moz-transform: rotate(30deg);
  /* IE */
  -ms-transform: rotate(30deg);
  /* Opera */
  -o-transform: rotate(30deg);

  /* Internet Explorer */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
#mobiabsolute {
  display: none;
}
.fb_lc i {
  font-size: 22px;
  padding-right: 5px;
}
.fb_lc i:nth-of-type(2) {
  padding-left: 10px;
}
.fb_text {
  background: rgba(23, 23, 23, 0.7) none repeat scroll 0 0;
  color: #fff;
  font-size: 1em;
  height: 100%;
  position: relative;
  text-align: left;
  font-weight: 700;
  width: 100%;
}
.fb_pub {
  color: #8f114f !important;
  font-size: 1em;
  font-weight:400;
}
.fb_text:hover {
  background: rgba(23, 23, 23, 0.9) none repeat scroll 0 0;
}
.fb_textfield {
  padding: 70px 8%;
  position: absolute;
  width: 84%;
}
div {
  display: block;
}
.fb_item {
  float: left;
  height: 225px;
  margin: 0px 1%;
  min-height: 200px;
  position: relative;
  width: 31.333%;
}
.fb_lc {
  padding-top: 15px;
  display:none;
}
.fb {
  overflow: hidden;
  padding: 2rem 0 1.5rem;
}
#fb {
  margin: 0 auto;
}
.fb_header {
  font-size: 3.125rem;
  margin-bottom: 3rem;
  text-align: center;
}
.fb_content {
  width: 100%;
}
#facebook-wrapper h6 {
  padding-bottom:50px;
}

.randbg.bg0 {
  background-image: url('/content/img/header/dia1.jpg') !important;
}
.randbg.bg1 {
  background-image: url('/content/img/header/dia2.jpg') !important;
}
.randbg.bg2 {
  background-image: url('/content/img/header/dia2.jpg') !important;
}
.randbg.bg3 {
  background-image: url('/content/img/header/dia4.jpg') !important;
}