*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body,
html {
  font-size: 100%;
  padding: 0;
  margin: 0;
  height: 100%;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  clear: both;
}


body {
  font-family: 'Raleway', sans-serif;
}

/* 2019/12 muutokset */

#arvostelut {
  margin-top: 2em;
}

/* Typografia */

p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9em;
  line-height: 1.6em;
  font-weight: 400;
}

p.ingressi {
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-size: 1em;
  font-weight: 400;
}

p.ingressi-box {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 1em;
  font-weight: 400;
  background-color: rgba(248, 124, 2, 0.7);
  line-height: 1.6em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 2em;
  padding-right: 2em;
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 3.6em;
  font-weight: 400;
  line-height: 1.2em;
  margin-top: 20vh;

}

h1.box {
  background-color: rgba(248, 124, 2, 0.7);
  font-size: 2em;
  line-height: 1.2em;
  padding-top: .3em;
  padding-bottom: .3em;
  padding-left: .5em;
  padding-right: .5em;
  margin-top: 6em;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-family: 'Lato', sans-serif;
  font-size: 2.8em;
  font-weight: 400;
  padding-top: 2em;
  padding-bottom: 0.2em;
}

h2.paragraph {
  font-family: 'Lato', sans-serif;
  font-size: 2.6em;
  font-weight: 400;
  padding-top: 1em;
  padding-bottom: 0.2em;
}

h2.banner {
  font-family: 'Lato', sans-serif;
  font-size: 2.6em;
  font-weight: 400;
  padding-top: 1em;
  padding-bottom: 0.2em;
}

h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  padding-top: 0.6em;
  padding-bottom: 0.4em;
}

h3.pricetable {
  font-family: 'Lato', sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  padding-top: 0.6em;
  padding-bottom: 0em;
}

h3.index-paragraph {
  font-family: 'Lato', sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  padding-top: 4em;
  padding-bottom: 0em;
}

h3.contact {
  padding-top: 2em;
  padding-bottom: 0em;
}

h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  padding-top: 1.8em;
  padding-bottom: 0.4em;
}

a {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

a:link {
  color: #fff;
}

a:visited {
  color: #fff;
}

a:hover {
  color: #d6d6d6;
}

a:active {
  color: #d6d6d6;
}

li {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  list-style-type: none;
}

nav li a {
  margin-right: 1em;
}

nav li a.dropmenu {
  height: 3em;
  line-height: 1em;
  margin-right: 0em;
  padding: 0;
}

ul {
  margin-left: 0;
}

ul li {
  padding-left: 0;
}

ul li.bullet {
  list-style-type: disc;
  margin-left: 1em;
}

.btn-group {
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9em;
  font-weight: 400;
}

.nega {
  color: #fff;
}

a:link.link {

  color: #f87c02;
}

a:visited.link {
  color: #b2b2b2;
}

a:hover.link {
  color: #b2b2b2;
}

a:active.link {
  color: #b2b2b2;
}

p.banner-text {
  padding-left: 3em;
  padding-right: 3em;
}

/* Row */

.row {
  background-color: #fff;
  padding-bottom: 0em;
}

.row.dark {
  background-color: #2f313a;
}

.row.orange {
  background-color: #f87c02;
}

.row.text {
  padding-left: 10%;
  padding-right: 10%;
}

.row.high {
  padding-bottom: 4em;
}

.row.hr {
  border-top: 1px solid #d6d6d6;
}

.row.hr-top-bottom {
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
}

.row.hrmap {
  border-top: 1px solid #d6d6d6;
  margin-top: 3em;
  padding-top: 2em;
}

.row.hr2 {
  border-top: 1px solid #d6d6d6;
  margin-top: 3em;
  margin-bottom: 2em;
}

.columns.text {
  margin: 0;
  padding: 0;
}

.columns {
  padding: 0;
}

.banner-1 {
  text-align: center;
  background-image: url(../img/womanStretching.jpg);
  background-size: cover;
  background-position: center;
  background-color: #fff;
  min-height: 300px;
  padding-top: 3.5em;
  margin-bottom: 0.5em;

}

.banner-2 {
  text-align: center;
  background-image: url(../img/gymBannerBWSmall.jpg);
  background-size: cover;
  background-color: #fff;
  min-height: 450px;
  padding-top: 3em;
  margin-bottom: 0.5em;
}

.banner-3 {
  text-align: center;
  background-image: url(../img/womanArmsOpenBanner.jpg);
  background-size: cover;
  background-color: #ccc;
  background-position: bottom;
  min-height: 300px;
  padding-top: 3.5em;
  margin-bottom: 0.5em;
}

.row.full {
  width: 100%;
  max-width: 100%;
}

.row.full>.column:first-child,
.row.full>.columns:first-child {
  padding-left: 0;
}

.row.full>.column:last-child,
.row.full>.columns:last-child {
  padding-right: 0;
}

.footer {
  padding-bottom: 2em;
}

/* Image */

.big-bg-index {
  background-image: url(../img/weightsRowSmall.jpg);
  background-size: cover;
  background-color: #fff;
  background-position: top center;
  min-height: 100vh;
}

.big-bg-firstbeat {
  background-image: url(../img/womanArmsOpenSmall.jpg);
  background-size: cover;
  background-color: #fff;
  background-position: top center;
  min-height: 100vh;
}

.big-bg-physiotrainer {
  background-image: url(../img/gymColoredSmall.jpg);
  background-size: cover;
  background-color: #fff;
  background-position: bottom;
  min-height: 100vh;
}

.big-bg-palvelut {
  background-image: url(../img/massageBWSmall.jpg);
  background-size: cover;
  background-color: #fff;
  background-position: bottom;
  padding-bottom: 2em;
}

.big-bg-hinnasto {
  background-image: url(../img/womanKettleballBWSmall.jpg);
  background-size: cover;
  background-color: #fff;
  background-position: bottom;
  padding-bottom: 2em;
}

.img-centered {
  display: block;
  margin-bottom: 2em;
  margin-top: 4em;
  clear: both;
}

.block-img {
  max-height: 350px;
}

.logo {
  z-index: 1;
  /*  margin-left: 5%; */
  display: none;
}

.logo-physiotrainer {
  height: 200px;
}

.logo-physiotrainer-small {
  height: 140px;
  margin-bottom: -1em;
}


/* Button */

.btn-large {
  background-color: #2f313a;
  margin-top: 0.6em;
}

.btn-large:hover {
  background-color: #54565d;
  margin-top: 0.6em;
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.4);
  margin-right: .5em;
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Muut */

.form {
  padding-left: 3em;
  padding-right: 3em;
  margin-top: 5em;
}

.custom-title {
  color: #fff;
  font-size: 1.4em;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 10%;
  float: left;
}

a:link.mailto {
  color: #2f313a;
}

a:hover.mailto {
  color: #9b9a9a;
}

a:link.callto {
  color: #2f313a;
}

a:hover.callto {
  color: #9b9a9a;
}

a:link.mailto-contact {
  color: #f87c02;
}

a:hover.mailto-contact {
  color: #9b9a9a;
}

a:link.callto-contact {
  color: #f87c02;
}

a:hover.callto-contact {
  color: #9b9a9a;
}

.panel {
  margin-top: 2.2em;
}

.some {
  margin-right: 0.3em;
  margin-top: 2em;
}

.share {
  margin-bottom: 2em;
}

.google-maps {
  position: relative;
  padding-bottom: 75%;
  /* This is the aspect ratio */
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

#footer {
  width: 100%;
  border-top: 1px solid;
  border-color: #fff;
  position: static;
  bottom: 0;
  left: 0;
}

.small-top-border {
  border-top: 1px solid;
  border-color: #d6d6d6;
}

/* Media Queries */

/* Small Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {

  h1.box {
    font-size: 2em;
    line-height: 1.2em;
    margin-top: 2.5em;
  }


}

/* Medium */


@media only screen and (min-width: 40.063em) {

  h1.box {
    font-size: 3.6em;
    line-height: 1.2em;
    margin-top: 6em;
  }

  p.ingressi-box {
    font-size: 1.2em;
    line-height: 1.6em;
  }

  .logo {
    display: none;
  }

  .footer {
    border-top: 1px solid;
    border-color: #fff;
  }

  #footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

/* Medium Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 40.063em),
only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 40.063em),
only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 40.063em),
only screen and (min-device-pixel-ratio: 2) and (min-width: 40.063em),
only screen and (min-resolution: 192dpi) and (min-width: 40.063em),
only screen and (min-resolution: 2dppx) and (min-width: 40.063em) {

  h1.box {
    font-size: 3.6em;
    line-height: 1.2em;
    margin-top: 2.5em;
  }

  p.ingressi-box {
    font-size: 1.2em;
    line-height: 1.6em;
  }
}


/* Large */

/* @media only screen and (min-width: 64.063em) { */
@media only screen and (min-width: 74em) {

  h1.box {
    font-size: 4.6em;
    line-height: 1.1em;
    margin-top: 5em;
  }

  p.ingressi-box {
    font-size: 1.3em;
    line-height: 1.6em;
  }

  .btn-group {
    color: #000;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    font-weight: 400;
  }

  .columns.text {
    padding: 1em;
  }

  .logo {
    display: inline-block;
  }

  #footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .small-top-border {
    border-top: none;
  }

  .google-maps {
    position: relative;
    padding-bottom: 30%;
    /* This is the aspect ratio */
    height: 0;
    overflow: hidden;
  }

  .big-bg-index {
    background-image: url(../img/weightsRow.jpg);
    min-height: 80vh;
  }

  .big-bg-firstbeat {
    background-image: url(../img/womanArmsOpen.jpg);
    min-height: 80vh;
  }

  .big-bg-physiotrainer {
    background-image: url(../img/gymColored.jpg);
    min-height: 80vh;
  }

  .big-bg-palvelut {
    background-image: url(../img/massageBW.jpg);

  }

  .big-bg-hinnasto {
    background-image: url(../img/womanKettleballBW.jpg);

  }

  .banner-2 {
    background-image: url(../img/gymBannerBW.jpg);

  }

  .share {
    float: left;
    margin-right: 1em;
    vertical-align: middle;
    padding-top: 2em;
  }

}


/* Large Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 64.063em),
only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 64.063em),
only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 64.063em),
only screen and (min-device-pixel-ratio: 2) and (min-width: 64.063em),
only screen and (min-resolution: 192dpi) and (min-width: 64.063em),
only screen and (min-resolution: 2dppx) and (min-width: 64.063em) {

  h1.box {
    font-size: 4.6em;
    line-height: 1.1em;
    margin-top: 2.5em;
  }

  p.ingressi-box {
    font-size: 1.3em;
    line-height: 1.6em;
  }

}

/* Xlarge */

@media only screen and (min-width: 90.063em) {

  p {
    font-size: 1em;
    line-height: 1.6em;
  }

  h2.banner {
    font-size: 2.8em;
  }

  h3 {
    font-size: 1.8em;
  }

  h3.index-paragraph {
    font-size: 1.8em;
  }

  h1.box {
    font-size: 5em;
    line-height: 1.1em;
    margin-top: 5em;
  }

  p.ingressi-box {
    font-size: 1.4em;
    line-height: 1.6em;
  }


}

/* Xlarge Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 90.063em),
only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 90.063em),
only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 90.063em),
only screen and (min-device-pixel-ratio: 2) and (min-width: 90.063em),
only screen and (min-resolution: 192dpi) and (min-width: 90.063em),
only screen and (min-resolution: 2dppx) and (min-width: 90.063em) {

  h1.box {
    font-size: 4em;
    line-height: 1.1em;
    margin-top: 2em;
  }

  p.ingressi-box {
    font-size: 1.2em;
    line-height: 1.6em;
  }

}

/* korona-lisäykset */
.tingle-modal ul {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9em;
  line-height: 1.6em;
  font-weight: 400;
}

.tingle-modal li {
  list-style-type: disc;
}

.tingle-modal a {
  color: #f87c02 !important;
}

.tingle-modal a:hover {
  color: #c66302 !important;
  text-decoration: underline;
}

.tingle-modal img.etabio {
  border: 1px solid #ccc;
  float: right;
  max-width: 50%;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

#etavalmennus {
  margin-bottom: 0px !important;
}

#etavalmennus a.link {
  color: #f87c02 !important;
}

#etavalmennus a.link:hover {
  color: #c66302 !important;
  text-decoration: underline;
}

a.link.etavalmennus p.promo {
  margin-top: 2rem;
}

p.promo {
  margin-top: 0.5rem;
  margin-bottom: .5rem;
  padding-top: .25rem;
  padding-bottom: .25rem;
}

img.maksutapa {
  max-height: 4rem;
  margin: .5rem;
}