/*
Theme Name: Savikunto
Theme URI: https://haaja.com
Author: Haaja &amp; Arwo Design Oy
Author URI: http://www.haaja.com
Description: WordPress teema.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haaja
*/
* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box; 
     /* Opera/IE 8+ */
}
body {
  background-color: #fff;
  font-size: 100%;
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
    font-family: 'museo-sans', sans-serif;
}
h2 { 
  color: #066529;
}
.site-header {
  width: 100%;
  min-height: 64px;
  background-color: #066529;
  position: relative;
}
.site-header .container {
  max-width: 1450px;
}
.alasivu .site-header .container {
  max-width: 1450px;
}
.primary .ajanvaraus {
  background-color: #f97b3f;
  color: #fff;
}
.primary .ajanvaraus > a:hover {
  background-color: #e16422;
  color: #fff;
}
.ajanvaraus .ajanvaraus-nappi {
  position: relative;
  display: none;
  padding: 20px 10px;
  top: -10px;
  right: 0px;
  z-index: 100;
  background-color: #f97b3f;
  text-decoration: none;
  color: #fff;
}
.ajanvaraus .ajanvaraus-nappi:hover {
  background-color: #e16422;
}
.site-branding {
  width: 20%;
  height: auto;
  float: left;
}
.logo {
  width: 90%;
  height: 47px;
  display: flex;
  float: left;
  margin-top: 9px;
  margin-left: 18px;
}
.logo a {
  width: 175px;
  height: 47px;
  margin: 0 auto;
  padding-top: 47px;
  overflow: hidden;
  background: url("images/savikunto-logo-svg.svg") no-repeat;
  background-size: 100%;
}
.primary .menu-items {
  float: right;
}
.primary {
  width: 80%;
  float: right;
}
.primary ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.primary li {
  position: relative;
  float: left;
}
.primary li a {
  padding: 20px;
  font-size: 16px;
  color:#fff;
  display: block;
  font-family: 'museo-sans', sans-serif;
  text-decoration: none;
}
.primary li:hover > a {
  color: #f97b3f;
}
.primary li.current_page_item > a {
  color: #f97b3f;
}
.primary .ajanvaraus.current_page_item a {
  color: #fff;
}
.sub-nav-toggle,
.responsive-nav .language-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 42px;
}
.sub-nav-toggle span,
.responsive-nav .language-toggle span {
  position: absolute;
  right: 5px;
  top: 15px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #fff;
  transform: rotate(-90deg);
  transition: all 0.15s ease;
}
.active > .sub-nav-toggle span,
.responsive-nav .language-toggle.active span {
  transform: rotate(0deg);
}
.primary li ul {
  position: absolute;
  top: 100%;
  width: auto;
  background: #fff;
  padding: 0px 0px;
  height: 0;
  visibility: hidden;
  box-shadow: 0 0 5px rgba(0,0,0, .5);
  left: calc(100% + 5px);
}
.primary li:hover > ul {
  height: auto;
  visibility: visible;
}
.primary li ul:hover > a {
  background-color: #e9f1ec; 
}
.responsive-nav li ul:hover > a {
  background-color: #e9f1ec; 
}
.primary li ul li {
  float: none;
  margin: 0;
}
.primary ul ul {
  top: 100%;
  left: 0;
  box-shadow: 0 0 5px rgba(0,0,0, .5); 
}
.primary ul ul ul {
  top: 0;
  left: 100%;
  padding: 0;
  left: 100%;
  left: calc(100% + 2px);
}
.primary ul ul a {
  color: #066529;
  display: block;
  padding: 12px 30px 12px 30px;
  white-space: nowrap;
}
.primary ul ul a:hover {
  background-color: #e9f1ec;
  padding: 12px 30px 12px 30px;
}
.primary li ul li:hover > a {
  background-color: #e9f1ec;
}
.primary ul li ul li {
  color: #066529;
  background-color: #fff;
  z-index: 199;
}
.responsive-nav {
  font-size: 16px;
  width: 100%;
  display: none;
  text-align: left;
  z-index: 150;
  padding-top: 30px;
  padding-left: 10px;
  background-color: #fff;
  clear: both;
}
.responsive-nav ul {
  padding-inline-start: 0;
  padding-top: 0px;
  padding-left: 15px;
  list-style: none;
  text-decoration: none;
  margin: 0;
}
.responsive-nav a {
  text-decoration: none;
  list-style: none;
  display: block;
  padding-bottom: 20px;
  color: #066529;
}
.responsive-nav .current_page_item > a {
  color: #f97b3f;
}
.responsive-nav ul :hover > a {
  color: #f97b3f;
}
.responsive-nav ul ul {
  border-top: none;
  display: none;
}
.responsive-nav ul li {
  background-color: #fff;
  width: 100%;
  position: relative;
}
.sub-nav-toggle, 
.responsive-nav .language-toggle
 {
  position: absolute;
  top: 0;
  right: 0;
  width: 65px;
  height: 42px;
}
.sub-nav-toggle span, 
.responsive-nav .language-toggle span
 {
  position: absolute;
  right: 25px;
  top: 12px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #000;
  transform: rotate(-90deg);
  transition: all 0.15s ease;
  z-index: 100;
 }
 .breadcrumbs {
   padding: 20px;
   width: 100%;
   font-size: 13px;
 }
 .breadcrumbs__current {
   color: #f97b3f;
   
 }
 .breadcrumbs a {
   text-decoration: none;
   margin-top: 20px;
   padding-right: 10px;
   color:  #066529;
   font-size: 13px;
 }
 .sep {
   margin-right: 12px;
 }
.container {
  max-width: 1250px;
  margin: 0 auto;
}
.hero .container {
  max-width: 1310px;
  margin: 0 auto;
}
.alasivu .palsta .container {
  max-width: 1100px;
  margin: 0 auto;
}
.alasivu .container {
  max-width: 1250px;
  margin: 0 auto;
}
.hero {
  width: 100%;
  min-height: 600px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.alasivu .hero {
  width: 100%;
  min-height: 1px;
  background-color: #066529;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-inner {
  width: 30%;
  height: auto;
  position: absolute;
  text-align: left;
  top: 50%;
  transform: translateY(-50%);
}
.hero-inner h1 {
  font-size: 68px;
  color:  #f97b3f;
  line-height: 1;
  font-weight: 900;
}
.alasivu .hero-inner {
  width: 100%;
  text-align: center;
  color: #fff;
  position: relative;
  top: 0;
  transform: translateY(0);
  left: 0;
  right: 0;
}
.alasivu .hero-inner h1 {
  color: #fff;
  font-size: 60px;
}
.alasivu .hero .container {
  padding: 50px 0px;
  width: 50%;
}
.button_container {
  display: none;
  position: relative;
  height: 27px;
  width: 45px;
  right: 15px;
  float: right;
  cursor: pointer;
  z-index: 100;
  transition: opacity .25s ease;
  border: none;
  background: transparent;
}
.button_container:focus {
  outline: none;
}
.button_container.active .top-bar {
  transform: translateY(11px) translateX(0) rotate(45deg);
}
.button_container.active .middle {
  opacity: 0;
}
.button_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
}
.button_container span {
  background: #fff;
  border: none;
  height: 2px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition:  all .35s ease;
  cursor: pointer;
}
.button_container .middle {
  top: 11px;
}
.button_container .bottom {
  top: 22px;
}
.yla-nostot {
  text-align: center;
  width: 100%;
  display: block;
  overflow: hidden;
}
.yla-nostot .container {
	display: grid;
  	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.yla-nostot h2 {
  font-size: 38px;
  padding-top: 50px;
  margin: 0px auto;
}
.yla-nosto {
  padding: 15px 25px 40px 15px;
  
  display: block;
}
.yla-nosto img {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
  padding: 20px 0px;
  background-size: contain;
  background-position: 0 0;
}
.yla-nostoteksti h2{
  font-size: 28px;
  padding-top: 0px;
}
.yla-nostoteksti p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}
.akuuttihoito {
  background-color: #e9f1ec;
}
.akuuttihoito .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  max-width: 1450px;
}
.akuuttihoito .container .akuutti-kuva, .akuuttihoito .container .akuutti-teksti {
  width: 50%;
  position: relative;
}
.akuuttihoito .container .akuutti-kuva img {
  width: 100%;
  height: auto;
  padding: 35px 0px 35px 10px;
}

.akuuttihoito .container .akuutti-teksti .akuutti-inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: left;
  padding: 50px;
  width: 80%;
}
.akuuttihoito .container .akuutti-teksti .akuutti-inner h2 {
  font-size: 38px;
  font-weight: 900;
}
.palvelu-nostot {
  text-align: center;
  width: 100%;
  display: block;
  overflow: hidden;
}
.palvelu-nostot h2 {
  font-size: 38px;
  padding-top: 50px;
}
.palvelu-nosto {
  width: 33.3%;
  float: left;
  display: block;
  padding: 50px 20px;
}
.palvelu-nosto img {
  width: 100%;
  height: auto;
  display: flex;
  object-fit: cover;
  object-position: center;
}
.palvelu-teksti {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}
.palvelu-teksti p, .yla-nosto p, .akuutti-inner p, .tuotteet-inner p, .hemmottelu-inner p, .ala-teksti p {
	margin-bottom: 24px
}
.palvelu-teksti h2 {
  font-size: 28px;
  padding-top: 28px;
}
.tuotteita {
  background-color: #066529;
}
.tuotteita .container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1450px;
}
.tuotteita .container .tuotteet-kuva, .tuotteita .container .tuotteet-teksti {
  width: 50%;
  position: relative;
}
.tuotteita .container .tuotteet-kuva img {
  width: 100%;
  height: auto;
  padding: 35px 0px 35px 0px;
}

.tuotteita .container .tuotteet-teksti .tuotteet-inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: left;
  padding: 50px;
  color: #fff;
  width: 80%;
}
.tuotteita .container .tuotteet-teksti .tuotteet-inner h2 {
  font-size: 38px;
  color: #fff;
  font-weight: 900;
}

.hemmottelut {
  background-color: #e9f1ec;
}
.hemmottelut .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  max-width: 1450px;
}
.hemmottelut .container .hemmottelu-kuva, .hemmottelut .container .hemmottelu-teksti {
  width: 50%;
  position: relative;
}
.hemmottelut .container .hemmottelu-kuva img {
  width: 100%;
  height: auto;
  padding: 35px 0px 35px 10px;
}

.hemmottelut .container .hemmottelu-teksti .hemmottelu-inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: left;
  padding: 50px;
  width: 80%;
}
.hemmottelut .container .hemmottelu-teksti .hemmottelu-inner h2 {
  font-size: 38px;
  font-weight: 900;
}

/* ---Napit--- */
.yla-nostoteksti p a,
  .akuutti-inner p a,
   .tuotteet-inner p a,
    .hemmottelu-inner p a,
     .palvelu-nosto p a,
     .noston-nappi p  a,
     .ala-nosto p a{
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  padding: 12px 30px;
  background-color: #f97b3f;
}
.noston-nappi p a {
  display:inline-block; 
}
.yla-nostoteksti p a:hover,
  .akuutti-inner p a:hover,
   .tuotteet-inner p a:hover,
    .hemmottelu-inner p a:hover,
     .palvelu-nosto p a:hover,
     .noston-nappi p a:hover, 
     .ajanvaraus-nappi a:hover,
     .ala-nosto p a:hover {
    color: #fff;
    background-color: #e16422;
    
  }
/* -- */
.palveluja {
  text-align: center;
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto;
}
.palvelu {
  width: 100%;
  position: relative;
  margin: 45px auto;
  display: flex;
  
}
.palvelut-kuva {
  padding: 0px 50px 15px 15px;
  width: 50%;
  display: block;
  margin-top: 10px;
}
.palvelut-kuva ul {
	list-style: none;
  	padding: 0;
  	margin: 0;
}
.palvelut-kuva li {
	margin: 5px 0;
}
.palvelut-kuva img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0px 0px;
}
.palvelut-teksti {
  width: 50%;
  left: 0;
  right: 0;
  position: relative;
}
.palvelut-inner {
  position: absolute;
  text-align: left;
  left: 0;
  right: 0;
}
.palvelut-inner h3 {
  color: #066529;
}
.alasivu .palvelut-inner {
  position: unset;
  text-align: left;
  left: 0;
  right: 0;
}
.alasivu .palvelut-inner ul{
  padding-left: 15px;
}
.alasivu .palvelut-inner .palvelut-bullet p a {
  color: #f97b3f;
  text-decoration: none;
}
.alasivu .palvelut-inner .palvelut-bullet ul {
  padding-left: 10px;
}
.alasivu .palvelut-inner .palvelut-bullet li {
  padding: 5px 0px;
}
.alasivu .palvelut-inner .palvelut-bullet li a {
  color: #066529;
  text-decoration: none;
  padding-left: 8px;
}
.alasivu .palvelut-inner .palvelut-bullet li a:hover {
  color: #e16422;
}
.alasivu .palvelut-inner .palvelut-bullet ::marker {
  content: "»";
  color: #f97b3f;
}
.alasivu .palvelut-inner p a {
  color: #f97b3f;
  text-decoration: none;
}
.alasivu .palvelut-inner p a:hover {
  color: #066529;
}
.palvelut-inner h2 {
  font-size: 32px;
  font-weight: 900;
}
.kaksinostoa {
  width: 100%;
  margin: 60px auto;
  display: flex;
}
.nosto {
  width: 50%;
  float: left;
  display: flex;
  padding: 0px 25px 15px 15px;
  position: relative;
  margin: 0 auto;
}
.nosto img {
  width: 100%;
}
.nosto .noston-nappi {
  position: absolute;
  width: 50%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
}
.henkilokunta {
  text-align: center;
  width: 100%;
  overflow: hidden;
}
.henkilokunta .container {
  max-width: 1250px;
  margin: 0 auto;
}
.henkilo {
  width: 30%;
  display: inline-grid;
}
.henkilo-kuva {
  width: 100%;
  height: auto;
}
.henkilo-kuva img {
  width: 100%;
  display: block;
  padding: 40px 40px 20px 40px;;
}
.henkilo-teksti {
  
}
.ala-nostot {
  text-align: center;
  width: 100%;
  display: block;
  overflow: hidden;
}
.ala-nostot h2 {
  font-size: 38px;
  padding-top: 50px;
}
.ala-nosto {
  width: 33.3%;
  float: left;
  display: block;
  padding: 50px 20px;
}
.ala-nosto img {
  width: 100%;
  height: auto;
  display: flex;
  object-fit: cover;
  object-position: center;
}
.ala-teksti {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}
.ala-teksti h2 {
  font-size: 28px;
  padding-top: 28px;
}
.site-footer {
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  background-color: #066529;
}
.site-info {
  max-width: 1390px;
  margin: 0 auto;
}
.menu-footer-container {
  margin: 0 auto;
  width: 100%;
  height: auto;
}
.navi {
  width: 100%;
  margin: 70px auto;
  padding: 15px 20px;
}
.widget.widget_nav_menu, .widget_text {
  float: left;
  width: 25%;
}
.widget-title {
  text-align: left;
  color: #fff;
  padding-bottom: 25px;
  text-transform: uppercase;
}
.menu-fy-ja-hoidot-container ul,
 .menu-kuntokeskus-container ul,
 .menu-palvelut-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget.widget_nav_menu ul li a{
  text-decoration: none;
  color: #fff;
  display: block;
  padding-bottom: 8px;
  font-size: 18px;
	font-family: 'museo-sans', sans-serif;
}
.widget.widget_nav_menu ul li:hover a {
  color: #f97b3f;
}
.site-footer .textwidget p {
  margin: 0;
}
.site-footer .widget.widget_nav_menu p a,
.widget.widget_text p a {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer .textwidget p:hover a {
  color: #f97b3f;
}
.footer-inner p {
  margin: 5px;
  padding-top: 0px;
}
.footer-inner {
  padding: 20px;
  float: left;
  width: 100%;
  bottom: 0;
  text-align: center;
  background-color: #fff;
}
.footer-inner .design a {
  background-image: url("images/haaja-logo-black.png");
 background-image: url("images/haaja-logo-black.svg");
  background-repeat: no-repeat;
  display: inline-block;
  overflow: hidden;
  height: 20px;
  width: 60px;
  padding-top: 20px;
}
.somet {
  margin-top: 55px;
  right: 0;
  left: 0;
  display: block;
}
/*.somet .facebook a {
 float: left;
  margin: 0px 0px 0px 0px;
  display: block;
  z-index: 90;
  height: 70px;
  width: 70px;
  background: url("images/facebook-button-white-svg-2.svg") no-repeat;
}
.somet .facebook:hover {
  opacity: 0.5;
} */

.somet .facebook a, .somet .ig a {
	color: #fff;
  	font-weight: 600;
  	text-decoration: none;
}
.somet .facebook a:hover, .somet .ig a:hover {
	color: #f97b3f;
  	text-decoration: underline;
}
.somet .ig {
	margin-top: 1rem;
}
/* Taulukko-sivu */
.hinnasto {
  width: 100%;
  height: auto;
}
.hinnasto .container {
  max-width: 1350px;
}
.hinnasto .entry-header h1 {
  color: #066529;
}
.hinnasto .hinnasto-inner h2 {
  padding-bottom: 20px;
  font-weight: 900;
  font-size: 28px;
}
.hinnasto .sidebar {
  width: 20%;
  position: relative;
  margin-top: 65px;
}
.hinnasto .menu li {
  list-style: none;
  padding-bottom: 10px;
}
.hinnasto .menu :hover a {
  color: #f97b3f;
}
.hinnasto-inner p a {
color:#f97b3f;
  text-decoration: none;
}
.menu-sidebar {
  position: absolute;
  top: 50%;
}
.sidebar .menu-sidebar-container {
  text-decoration: none;
}
.sidebar .menu-sidebar-container a {
  color: #066529;
  text-decoration: none;
  font-size: 18px;
  font-family: 'museo-sans', sans-serif;
}
.hinnasto .widget_nav_menu {
  width: 100%;
  list-style: none;
  font-family: 'museo-sans', sans-serif;

}
.hinnasto .menu .current_page_item a {
  font-weight: 900;
}
.hinnasto-inner {
  width: 100%;
  max-width: 950px;
  float: right;
}.hinnasto-inner h3 {
  color: #066529;
}
.hinnasto .widget.widget_nav_menu ul li a {
  color: #066529;
}
.hinnasto .widget.widget_nav_menu ul li a:hover {
  color: #f97b3f;
}
figure {
  margin: 0;
}
table {
 
}
.thead tr{
  background-color: #fff;
}

.tablepress td, .tablepress th {
	border: 1px solid #000;
 padding: 15px 5px !important;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
  background-color: none !important;
}
.wp-block-table.is-style-stripes {
  background-color: #fef5eb;
  border-collapse: unset;
  margin-bottom: 50px;
}
.tablepress tbody td, .tablepress tfoot th {
	border-top: 1px solid #000 !important;
}
.wp-block-table.is-style-stripes td {
  padding: 14px;
}
.palsta .palsta-inner {
  text-align: left;
  padding: 40px;
}
.palsta .palsta-inner h2 {
  color: #066529;
}
.palsta .wp-block-image img {
  width: 100%;
  height: auto;
}
/* ----- */
.tablepress tfoot th, .tablepress thead th {
  background-color: #066529 !important;
  color: #fff !important;
}
.paginate_button:after, .paginate_button:before {
    color: #066529 !important; 
}
.tablepress .odd td {
    background-color: #06652917 !important;
}
.group:after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 1250px) {
  .site-branding {
    width: 15%;
  }
  .primary li a {
    padding: 20px 10px;
    font-size: 14px;
  }
  .hero-inner {
    width: 50%;
    padding: 20px; 
  }
  .hinnasto .container {
    padding: 25px;
  }
  
  .tablepress-responsive-tablet tbody tr td:not(:last-child) {
    border-bottom: none !important;
}
}
@media screen and (max-width: 960px) {
  .button_container {
    display: block;
    float: left;
    position: absolute;
    top: 20px;
    right: 0;
    left: 15px;
  }
  .primary {
    display: none;
  }
  .ajanvaraus .ajanvaraus-nappi {
    display: inline-block;
    top: 0;
    position: absolute;
  }
  .site-branding {
    width: 100%;
  }
  .logo {
    float: none;
    padding-top: 10px;
    padding-bottom: 54px;
    margin: 0 auto;
  }
  .logo a {
    margin: 0 auto;
  }
  .hero-inner {
    width: 50%;
  }
  .alasivu .hero .container {
    width: 80%;
  }
  .hero-inner h1 {
    font-size: 50px;
  }
  .yla-nostot .container {
  display: block;
  }
  .akuuttihoito .container .akuutti-teksti .akuutti-inner {
    padding: 0px 0px 0px 10px;
    width: 100%;
    font-size: 13px;
  }
  .tuotteita .container .tuotteet-teksti .tuotteet-inner {
  padding: 0px 0px 0px 10px;
  width: 100%;
  font-size: 13px;
  }
  .hemmottelut .container .hemmottelu-teksti .hemmottelu-inner {
    padding: 0px 0px 0px 10px;
    width: 100%;
    font-size: 13px;
  }
  .akuuttihoito .container .akuutti-teksti .akuutti-inner h2,
    .hemmottelut .container .hemmottelu-teksti .hemmottelu-inner h2,
      .tuotteita .container .tuotteet-teksti .tuotteet-inner h2 {
      font-size: 26px;
    } 
.yla-nostoteksti p a,
 .akuutti-inner p a,
  .tuotteet-inner p a,
   .hemmottelu-inner p a,
    .palvelu-nosto p a,
     .noston-nappi p a,
      .ala-nosto p a {
       font-size: 14px;
     }
  .alasivu .palvelu {
    flex-flow: column-reverse;
  }
  .alasivu .palvelut-kuva {
    margin: 0 auto;
    width: 70%;
    padding: 0;
  }
  .alasivu .palvelut-teksti {
    margin: 0 auto;
    width: 70%;
  }
  .alasivu .palvelut-inner {
    padding-top: 25px;
  }
  .alasivu .hinnasto {
    width: 95%;
    margin: 0 auto;
  }
  .alasivu .hinnasto-inner {
    float: none;
    margin-top: 25px;
  }
  .sidebar {
    float: none;
    width: 100%;
    margin-top: 20px;
  }
  .hinnasto .sidebar {
    width: 100%
  }
  .alasivu .widget_text {
    float: none;
    width: 100%;
  }

}
@media screen and (max-width: 640px) {
  .alasivu .hero-inner h1 {
    font-size: 38px; 
    }
  .logo {
    width: 170px;
    padding-top: 15px;
    padding-bottom: 49px;
  }
  .logo a {
    width: 140px;
    margin: 0;
    padding-top: 70px;
    padding-right: 0;
  }
  .breadcrumbs {
  display: none;
  }
  .alasivu .hero .container {
    padding: 50px 0px;
    width: 90%; 
  }
  .hero-inner, .alasivu .hero-inner {
    width: 100%;
    left: 0;
    padding: 15px;
  }
  .hero-inner h1{
    font-size: 38px;
  }
  .yla-nosto, .ala-nosto {
    padding: 0px 25px 15px 15px;
    width: 100%;
    float: none;
  }
  .yla-nosto h2, .ala-nosto h2 {
    margin: 10px auto;
  }
  .alasivu .palveluja, .alasivu .palvelu {
    margin: 0 auto;
  }
  .palvelu-nostot, .ala-nostot {
  padding: 0px 15px;
  margin-top: 30px;
  }
  .palvelu-nostot h2, .ala-nostot h2 {
  font-size: 26px;
  padding-top: 15px;
  margin: 10px auto;
  }
.palvelu-nosto, .ala-nosto {
  width: 100%;
  float: none;
  padding: 25px 15px;
  }
  .akuuttihoito .container .akuutti-kuva {
    width: 100%;
  }
  .akuuttihoito .container .akuutti-teksti {
    width: 100%;
  }
  .akuuttihoito .container .akuutti-kuva img {
    padding: 0;
  }
  .akuuttihoito .container .akuutti-teksti .akuutti-inner {
    position: unset;
    top: 0;
    transform: unset;
    text-align: center;
    padding: 15px;
  }
  .tuotteita .container .tuotteet-kuva {
  width: 100%;
  }
  .tuotteita .container .tuotteet-teksti {
    width: 100%;
  }
  .tuotteita .container .tuotteet-kuva img {
    padding: 0;
  }
  .tuotteita .container .tuotteet-teksti .tuotteet-inner {
    position: unset;
    top: 0;
    transform: unset;
    text-align: center;
    padding: 15px;
  }
  .hemmottelut .container .hemmottelu-kuva {
  width: 100%;
  }
  .hemmottelut .container .hemmottelu-teksti {
    width: 100%;
  }
  .hemmottelut .container .hemmottelu-kuva img {
    padding: 0;
  }
  .hemmottelut .container .hemmottelu-teksti .hemmottelu-inner {
    position: unset;
    top: 0;
    transform: unset;
    text-align: center;
    padding: 15px;
  }
  
  .alasivu .palvelut-kuva {
    width: 100%;
  }
  .alasivu .palvelut-teksti {
    width: 90%;
  }
  .alasivu .palvelut-inner {
    margin: 0px 0px;
  }
  .palvelut-inner h2 {
    font-size: 26px;
  }
  .alasivu .nosto {
    width: 100%;
    padding: 15px 15px 15px 15px;
  }
  .alasivu .henkilo {
    width: 100%;
    padding: 10px 20px;
  }
  .alasivu .hinnasto {
    width: 95%;
  }
  .hinnasto-inner h2 {
    font-size: 20px;
  }
  .navi {
    margin: 15px auto;
  }
  .widget-title {
    text-align: center;
    padding: 35px 0px 0px 0px;
  }
  .widget.widget_nav_menu, .widget_text {
    float: none;
    width: 100%;
  }
  .menu-fy-ja-hoidot-container ul,
  .menu-kuntokeskus-container,
  .menu-palvelut-container {
    text-align: center;
  }
  .textwidget {
    text-align: center;
    padding-top: 35px;
  }
  .somet {
    width: 100%;
    text-align: center;
  }
  .somet .facebook {
    margin: 5px auto;
  }
}