@charset "UTF-8";
/**
 *
 * Theme Name: Mediaani Bootstrap Theme
 * Theme URI: http://www.mediaani.fi/
 * Author: Mediaani - 
 * Author URI: http://www.mediaani.fi
 * Description: Mediaani Bootstrap Theme
 * Version: 1.0
 * License: GNU General Public License
 * License URI: license.txt
 *
 * TOC
 * 1. Sass elements
 * 2. Typograhpy
 * 3. Foundation
 * 4. Modules
 * 5. Widgets / Aside
 * 6. Forms
 * 7. Buttons
 * 8. WooCommerce overrides
 * 9. IE overrides
 * 10. Misc.
 *
 */
/*-----------------------------------------------------------------------------
   Sass elements
-----------------------------------------------------------------------------*/
/* Partials */
/* Variables */
/*-----------------------------------------------------------------------------
   Typography
-----------------------------------------------------------------------------*/
/* Body
-----------------------------------------------------------------------------*/
html {
  font-size: 18px;
  background: url("../images/bg-pattern.jpg") 0 0;
}

body {
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.45;
  font-weight: 400;
  color: #312925;
  padding-top: 0;
  background: none;
  min-width: 280px;
}

p, ul, ol, dl, .wp-block-image {
  margin-bottom: 1.5em;
}

@media (max-width: 991px) {
  html {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 420px) {
  html {
    font-size: 14px;
  }
}
/* Headings
-----------------------------------------------------------------------------*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 400;
  font-family: 'Russo One', sans-serif;
}

h1, .h1 {
  font-size: 2rem;
}

h2, .h2 {
  font-size: 1.5rem;
}

h3, .h3,
.widget-title {
  font-size: 1.15rem;
}

h4, .h4 {
  font-size: 1rem;
  line-height: 1.4;
}

h5, .h5 {
  font-size: 0.875rem;
  line-height: 1.4;
}

h6, .h6 {
  font-size: 0.75rem;
  line-height: 1.5;
}

h1, .h1,
h2, .h2,
h3, .h3,
.widget-title {
  margin: 1.45em 0 1.15em;
}

@media (max-width: 1240px) {
  h1, .h1 {
    font-size: 1.8rem;
  }

  h2, .h2 {
    font-size: 1.33rem;
  }

  h3, .h3,
  .widget-title {
    font-size: 1rem;
  }

  h4, .h4,
  h5, .h5,
  h6, .h6 {
    font-size: .9rem;
  }
}
@media (max-width: 420px) {
  h1, .h1 {
    font-size: 1.4rem;
  }

  h2, .h2 {
    font-size: 1.2rem;
  }
}
.dim {
  color: #888;
}

.pale {
  color: #fff;
}

.color-primary {
  color: #d22430;
}

.color-default {
  color: #312925 !important;
}

.weight-400 {
  font-weight: 400;
}

.weight-500 {
  font-weight: 600;
}

.weight-600 {
  font-weight: 600;
}

.weight-700 {
  font-weight: 700;
}

.font-open {
  font-family: 'Open Sans', sans-serif;
}

.font-russo {
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
}

@media (min-width: 768px) {
  .size-larger {
    font-size: 1.2142857143rem;
    line-height: 1.55;
  }

  .size-smaller {
    font-size: 0.8571428571rem;
  }
}
.size-tiny {
  font-size: 13px;
  font-style: italic;
}

.bordered-heading {
  width: auto;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.bordered-heading:after {
  display: block;
  content: "";
  width: 90px;
  height: 4px;
  background: #d22430;
  margin: auto;
  margin-top: 1.2rem;
}

.centered-textblock {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.centered-textblock-lg {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.centered-textblock-xl {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

blockquote {
  font-size: 1.5rem;
  color: #999;
  font-style: italic;
  margin: 2.5rem 0;
  border: 0;
  text-align: left;
}

blockquote:before {
  content: '\201d';
  display: block;
  float: left;
  margin-right: 0.25rem;
  font-size: 3rem;
  line-height: 1;
  color: #d22430;
  font-family: 'Gill Sans', serif;
  position: relative;
  top: -0.25rem;
}

legend {
  border: 0;
  text-transform: uppercase;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
  color: #d22430;
}

/* Links
-----------------------------------------------------------------------------*/
a {
  color: #d22430;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
  color: #312925;
}

a:hover,
a:focus,
a:active {
  outline: 0;
}

/*-----------------------------------------------------------------------------
   Foundation
-----------------------------------------------------------------------------*/
/* Body
-----------------------------------------------------------------------------*/
.wp-block-columns {
  margin: 0 -15px;
}

.wp-block-column {
  margin: 0 !important;
  padding: 0 15px;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1180px;
  }
}
@media (max-width: 1240px) and (min-width: 992px) {
  .container {
    max-width: 900px;
  }
}
@media (min-width: 1241px) {
  .container,
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .row,
  .wp-block-columns {
    margin-left: -20px;
    margin-right: -20px;
  }

  .col, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12, .col-12,
  .wp-block-column {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* Header
-----------------------------------------------------------------------------*/
.site-header {
  background: #fff;
  border-top: 8px solid #d22430;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.pre-scrolled .site-header {
  opacity: 0;
}

.site-header > .container {
  position: relative;
}

.logo {
  float: left;
}

.site-title {
  margin: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-title a {
  text-decoration: none !important;
  color: inherit !important;
}

.site-title img {
  height: 50px;
  width: auto;
  margin: 10px 18px 10px -5px;
  vertical-align: middle;
}

.site-desc {
  white-space:nowrap;
}

.scrolled {
  padding-top: 0;
}

.scrolled .site-header {
  position: fixed;
  height: 60px;
  background: #d22430;
  opacity: 1;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
}

.scrolled .logo {
  position: absolute;
  z-index: 2;
}

.scrolled .site-title img {
  height: 40px;
  margin-top: 10px;
}

@media (max-width: 991px) {
  .site-header {
    border-top: 5px solid #d22430;
  }

  .site-header > .container {
    padding: 0 !important;
    max-width: none;
  }

  .site-title img {
    height: 40px;
    margin: 10px 5px 10px 10px;
  }
}
@media (max-width: 575px) {
  .site-title img {
    height: 34px;
    margin-top: 13px;
    margin-left: 13px;
  }
}
@media (max-width: 420px) {
  .site-title img {
    height: 26px;
    margin-top: 17px;
    margin-bottom: 17px;
    margin-left: 10px;
  }
}
.header-dropdown .dropdown-toggle {
  position: relative;
  float: right;
  font-size: 17px;
  line-height: 24px;
  padding: 23px 20px;
  margin-right: 20px;
  color: inherit;
  text-decoration: none !important;
  -webkit-transition: background 0.25s ease;
  -moz-transition: background 0.25s ease;
  -o-transition: background 0.25s ease;
  -ms-transition: background 0.25s ease;
  transition: background 0.25s ease;
}

.header-dropdown .dropdown-toggle:hover,
.header-dropdown.show .dropdown-toggle {
  color: #d22430;
}

.header-dropdown .dropdown-menu {
  border: 0;
  background: #fff;
  z-index: 2 !important;
  min-width: 160px;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.header-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.header-dropdown ul li {
  padding: 10px 20px;
}

.header-dropdown ul li a {
  color: inherit;
}

.header-dropdown ul li a:hover,
.header-dropdown ul li a:focus {
  color:#d22430;
  text-decoration: none;
}

.site-header #Icos {
  line-height: 1;
  float: right;
  margin: 24px 40px 19px 0;
  font-size: 21px;
}

#Icos .list-inline-item:not(:last-child) {
  margin-right: 0.25rem;
}

#Icos a {
  color: inherit;
}

#Icos a:hover,
#Icos a:focus {
  color: #d22430;
}

.btn.btn-header {
  float: right;
  margin: 14px 0 !important;
}

@media (max-width: 991px) {
  .header-dropdown .dropdown-toggle {
    padding: 18px 15px;
    margin-right: 15px;
  }

  .site-header #Icos {
    font-size: 20px;
    margin: 20px 30px 19px 0;
  }
}
@media (max-width: 420px) {
  .header-dropdown .dropdown-toggle {
    font-size: 16px;
    margin-right: 5px;
  }

  .site-header #Icos {
    display: none;
  }
}
/*-----------------------------------------------------------------------------
   Navigation
-----------------------------------------------------------------------------*/
@media screen and (min-width: 992px) {
  .navbar {
    width: 100%;
    padding: 0;
    -webkit-transition: padding 0.25s ease;
    -moz-transition: padding 0.25s ease;
    -o-transition: padding 0.25s ease;
    -ms-transition: padding 0.25s ease;
    transition: padding 0.25s ease;
    background: none;
  }

  .scrolled .navbar {
    background: none;
  }

  .navbar-nav {
    width: 100%;
    justify-content: center;
  }

  .navbar .navbar-nav .nav-link {
    background: none;
    font-size: 17px;
    font-weight: 600;
    color: #312925 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    padding: 27px 0 10px;
    margin: 0 22px 17px;
    border-bottom: 4px solid transparent;
    -webkit-transition: border 0.25s ease;
    -moz-transition: border 0.25s ease;
    -o-transition: border 0.25s ease;
    -ms-transition: border 0.25s ease;
    transition: border 0.25s ease;
  }

  .navbar .navbar-nav > li > .nav-link:hover,
  .navbar .navbar-nav > li.show > .nav-link {
    text-decoration: none;
    background: none;
    border-color: #312925;
  }

  .navbar .navbar-nav > li.current-menu-item > .nav-link,
  .navbar .navbar-nav > li.current-menu-ancestor > .nav-link {
    background: none;
    border-color: #d22430;
  }

  .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    font-size: inherit;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  }

  .dropdown-item {
    color: #312925 !important;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
  }

  .scrolled .dropdown-item {
    padding: 8px 15px;
  }

  .dropdown-item.active {
    background: none !important;
    color: #d22430 !important;
  }

  .dropdown-item:hover,
  .dropdown-item:focus,
  .dropdown-item:active {
    background-color: #f0f0f0 !important;
  }

  .dropdown-item:focus,
  .dropdown-item:active {
    background-color: #e0e0e0 !important;
  }
}
@media screen and (max-width: 991px) {
  .navbar {
    clear: both;
    padding: 0;
    background: #312925;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    -ms-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  }

  .navbar > .container {
    max-width: none;
  }

  .navbar-nav {
    background: #312925;
    margin: 0;
  }

  .navbar .navbar-nav:first-of-type > li:first-of-type > a {
    border-top: 1px solid #42342d;
  }

  .navbar .navbar-nav li .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 600;
    border-top: 0;
    border-bottom: 1px solid #42342d;
    padding: 15px !important;
    font-size: 16px;
    line-height: 1;
    margin: 0;
  }

  .navbar .navbar-nav > li.current-menu-item > .nav-link,
  .navbar .navbar-nav > li.current-menu-ancestor > .nav-link {
    background-color: #d22430 !important;
    border-color: #ba1a25 !important;
  }

  .navbar .navbar-nav > li > .nav-link:hover,
  .navbar .navbar-nav > li > .nav-link:focus,
  .navbar .navbar-nav > li.show > .nav-link {
    background-color: #42342d;
    border-color: #42342d;
  }

  .dropdown-menu {
    padding: 0;
    margin: 0;
    color: #444;
    background: none;
    border: 0;
    border-radius: 0;
  }

  .dropdown-item {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #42342d;
    background-color: #312925;
    padding: 10px 15px 10px 30px;
  }

  .dropdown-item.active,
  .dropdown-item:active {
    background-color: #d22430 !important;
    border-color: #ba1a25 !important;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background-color: #42342d;
    border-color: #42342d;
  }

  .navbar .btn {
    margin: 15px -4px 15px 15px;
  }
}
.navbar-toggler {
  background-color: #312925;
  border: 0;
  margin: 0;
  padding: 15px;
  float: right;
  border-radius: 0;
  color: #fff;
  width: 60px;
  height: 60px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background-color: #d22430;
}

.navbar-toggler:active {
  background-color: #ba1a25;
}

.hamburger-box {
  width: 26px;
  height: 100%;
  display: inline-block;
}

.hamburger-inner {
  display: block;
  top: calc(50% - 2px);
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 26px;
  height: 4px;
  background-color: #fff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -9px;
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger-inner::after {
  bottom: -9px;
  transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.navbar-toggler:not(.collapsed) .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.navbar-toggler:not(.collapsed) .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.navbar-toggler:not(.collapsed) .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Footer
-----------------------------------------------------------------------------*/
.site-footer {
  position: relative;
  background: #312925;
  color: #fff;
  font-weight: 400;
  padding: 2rem 0 2.5rem;
  font-size: 13px;
  line-height: 1.7;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a:before {
  content: '» ';
}

.site-footer a {
  color: inherit;
}

@media (min-width: 992px) {
  .footer-nav > ul > li {
    display: inline-block;
    margin-right:80px;
    vertical-align:top;
  }
}
@media (max-width: 991px) {
  .footer-nav,
  .footer-nav-2,
  .footer-copy {
    text-align: center !important;
    margin-bottom: 1.5em;
  }
}
/* Page
-----------------------------------------------------------------------------*/
.page-id-146 #primary .embed-responsive.maps {
  padding-bottom: 29.1% !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  #primary > .entry-image {
    margin-top: 2.5rem;
  }
}
/* Archive
-----------------------------------------------------------------------------*/
.archive .post {
  margin-bottom: 1rem;
}

.archive .post:not(:last-of-type) {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1rem;
}

.archive .post .entry-meta,
.archive .post .entry-title {
  margin: 0 0 6px;
}

.archive .post .tax-links {
  font-size: 12px;
}

.archive .post .tax-links a {
  color: inherit;
}

.pagination-wrap {
  overflow: auto;
}

.pagination {
  float: left;
  margin-bottom: 1.5em;
}

.pagination-text {
  float: right;
  color: #888;
  font-size: 0.875rem;
  padding: 8px 0;
  margin-bottom: 3em;
}

.pagination > .page-item > .page-link, .pagination > .page-item > span {
  color: #888;
}

.pagination > .page-item > .page-link:hover,
.pagination > .page-item > span:hover,
.pagination > .page-item > .page-link:focus,
.pagination > .page-item > span:focus {
  color: #d22430;
}

.pagination > .active > .page-link,
.pagination > .active > span,
.pagination > .active > .page-link:hover,
.pagination > .active > span:hover,
.pagination > .active > .page-link:focus,
.pagination > .active > span:focus {
  background-color: #d22430;
  border-color: #ba1a25;
  color: #fff;
}

/* Single
-----------------------------------------------------------------------------*/
@media (max-width: 991px) {
  .single-post #main {
    margin-top: 2rem;
  }

  .single-post .banner-image {
    margin-bottom: 2.5rem;
  }

  .single-post #primary .entry-title {
    margin-top: 0;
  }
}
.single-post .entry-meta {
  font-size: 12px;
  margin-bottom: 2rem;
}

.single-post .entry-meta a {
  color: inherit;
}

/*-----------------------------------------------------------------------------
   Modules
-----------------------------------------------------------------------------*/
/* Slider
-----------------------------------------------------------------------------*/
/** RESET AND LAYOUT
===================================*/
.slider-wrap {
  overflow: hidden;
  position: relative;
}

/* LOADER */
.bx-loading {
  background: url(../images/spinner.gif) 50% 45% no-repeat #fff;
  position: relative;
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* PAGER */
.bx-wrapper .bx-pager {
  position: static;
  width: 100%;
  left: auto;
  right: auto;
  text-align: center;
  margin: 10px 0 3rem;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: #e0e0e0;
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 2px;
  outline: 0;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  text-decoration: none;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #d22430;
}

@media (max-width: 767px) {
  .bx-wrapper .bx-pager {
    margin-bottom: 2rem;
  }

  .bx-wrapper .bx-pager.bx-default-pager a {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 380px) {
  .bx-wrapper .bx-pager {
    width: 100%;
    right: auto;
    left: 0;
    float: none;
    text-align: center;
  }
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: -50px;
}

.bx-wrapper .bx-next {
  right: -50px;
}

.bx-wrapper .bx-controls-direction a {
  color: #e0e0e0;
  position: absolute;
  top: 110px;
  margin: 0;
  outline: 0;
  display: block;
  z-index: 2;
  font-size: 36px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.bx-wrapper .bx-controls-direction a:hover {
  color: #d22430;
}

.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

@media (max-width: 1240px) {
  .bx-wrapper .bx-prev {
    left: -40px;
  }

  .bx-wrapper .bx-next {
    right: -40px;
  }

  .bx-wrapper .bx-controls-direction a {
    font-size: 30px;
  }
}
@media (max-width: 991px) {
  .bx-wrapper .bx-prev {
    left: -30px;
  }

  .bx-wrapper .bx-next {
    right: -30px;
  }

  .bx-wrapper .bx-controls-direction a {
    font-size: 26px;
    top: 90px;
  }
}
@media (max-width: 767px) {
  .bx-wrapper .bx-controls-direction a {
    top: 100px;
  }
}
@media (max-width: 575px) {
  .bx-wrapper .bx-controls-direction {
    display: none;
  }
}
/* SLIDER CONTENT */
.bx-wrapper h2 {
  margin-top: 10px;
}

/* Esittely
-----------------------------------------------------------------------------*/
#Esittely .container {
  position: relative;
}

@media (min-width: 992px) {
  #Esittely .container-title {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  #Esittely .container-desc {
    min-height: 350px;
  }

  #Esittely .bg-red {
    min-height: 320px;
  }

  #Esittely .entry-title {
    /*font-size: 2rem;*/
    margin-bottom: 0.65em;
  }

  #Esittely .img-esittely {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 55%;
  }
}
@media (min-width: 1241px) {
  #Esittely .container-title {
    min-height: 350px;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  #Esittely .entry-title {
    /*font-size: 2.5556rem;*/
    margin-bottom: 0.65em;
  }

  #Esittely .img-esittely {
    position: absolute;
    right: 2rem;
    bottom: 0;
    max-width: 45%;
  }
}
@media (max-width: 991px) {
  #Esittely .container-title {
    padding-top: 0 !important;
    padding-bottom: 1rem !important;
  }

  #Esittely .max-40,
  #Esittely .max-50 {
    max-width: 100% !important;
    padding-top: 2rem !important;
    padding-bottom: 0 !important;
  }

  #Esittely .entry-title {
    margin-bottom: 0.65em;
  }

  #Esittely .img-esittely {
    width: 100%;
    height: auto;
    max-width: 480px;
    margin: auto;
    display: block;
  }
}
@media (max-width: 767px) {
  #Esittely .img-esittely {
    max-width: 400px;
  }
}
/* Yhteystiedot
-----------------------------------------------------------------------------*/
.contact-details #Icos {
  font-size: 21px;
}

/* Galleria
-----------------------------------------------------------------------------*/

.med-gallery {
	list-style:none;
	padding:0;
	margin:0 -5px 1.5em;
}

.med-gallery li {
	padding:5px;
	float:left;
}

.med-gallery img {
	width:80px;
	height:80px;
}

@media (max-width:575px) {
	.med-gallery {
		margin:0 -3px 1.5em;
	}
	.med-gallery li {
		padding:3px;
		width:16.6667%;
	}
	.med-gallery img {
		width:100%;
		height:auto;
	}
}

@media (max-width:480px) {
	.med-gallery li {
		width:20%;
	}
}

@media (max-width:370px) {
	.med-gallery li {
		width:25%;
	}
}

/* Accordion
-----------------------------------------------------------------------------*/
#accordion .card {
  margin-bottom: 6px;
}

#accordion .card-header {
  background: #f5f5f5;
  border-color: #e5e5e5;
  padding: 0.5rem 1.25rem;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
  cursor: pointer;
}

#accordion .card-header:hover,
#accordion .card-header.open {
  background: #e5e5e5;
  border-color: #c5c5c5;
}

#accordion .accordion-title {
  font-size: 1.1rem;
  margin: 0.5em 0;
}

#accordion .accordion-title:after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}

#accordion .accordion-title.collapsed:after {
  border-top: 0.3em solid;
  border-bottom: 0;
}

/* Mfp Popup Content
-----------------------------------------------------------------------------*/
.white-popup {
  position: relative;
  background: #fff;
  padding: 25px 40px;
  width: auto;
  max-width: 600px;
  margin: 20px auto;
}

/* Social Media - Simple Share Buttons Adder
-----------------------------------------------------------------------------*/
#st_gdpr_iframe {
  border: 0;
}

.ssba-wrap,
.ssbp-wrap {
  margin-bottom: 1.5rem;
}

.text-center .ssba {
  float:none !important;
  width:100% !important;
  margin-left:0 !important;
}

.text-center .ssba > div {
  text-align: center !important;
}

.ssba-share-text {
  display: none !important;
  font-weight: 400 !important;
  font-family: 'Russo One', sans-serif;
  margin-bottom: .5em;
  font-size: 1.15rem !important;
}

.ssba br {
  display: none;
}

.ssbp-list li {
  margin:0 !important;
  padding-left: 0 !important;
  padding-right: 8px !important;
}

.text-center .ssba .ssbp-list li {
  padding-left: 4px !important;
  padding-right: 4px !important;
}

@media (max-width: 1240px) {
  .ssba-share-text {
    font-size: 1rem !important;
  }
}
/*-----------------------------------------------------------------------------
   Widgets
-----------------------------------------------------------------------------*/
@media (min-width: 992px) {
  #secondary {
    margin-top: 1.5rem;
  }
}
#secondary .widget:not(:last-of-type) {
  margin-bottom: 2em;
  padding-bottom: 10px;
  border-bottom: 4px solid #ccc;
}

#secondary .widget ul:not(.ssbp-list) {
  list-style: none;
  padding: 0;
  margin-bottom: 1em;
}

#secondary ul:not(.ssbp-list) > li:not(:last-of-type) {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

#secondary .widget_data-sheets p {
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.4;
}

#secondary .widget_data-sheets .entry-title {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
}

#secondary .widget_data-sheets .entry-title svg {
  font-size: 26px;
  margin-right: 7px;
  color: #d22430 !important;
}

#secondary .widget_data-sheets .entry-title a:hover,
#secondary .widget_data-sheets .entry-title a:focus {
  text-decoration: none;
}

#secondary .widget .nice-select {
  float: none;
}

#secondary .widget .nice-select ul.list {
  width: 100%;
}

#secondary .widget .nice-select ul.list > li {
  padding-bottom: 10px;
  padding-top: 10px;
  margin-bottom: 0;
}

#secondary .widget_tag_cloud {
  padding-bottom: 1.5em;
}

#secondary .widget ul .post-date {
  display: block;
  font-size: 0.88888889em;
  color: #888;
}

@media screen and (max-width: 991px) {
  #secondary .widget:first-of-type {
    border-top: 4px solid #ccc;
  }

  #secondary .widget {
    margin-bottom: 0 !important;
  }

  #secondary .widget_data-sheets .entry-title {
    font-size: 16px;
  }

  #secondary .widget_data-sheets .entry-title svg {
    font-size: 22px;
  }
}
/*-----------------------------------------------------------------------------
   Forms
-----------------------------------------------------------------------------*/
span.wpcf7-not-valid-tip,
div.wpcf7-response-output { color:red; margin:1em 0; border:0; padding:3px 8px; font-size:0.85em; }
div.wpcf7-response-output { color:#312925; }
.wpcf7 form.sent .wpcf7-response-output {border:1px solid #398f14; color:#398f14 !important; }
span.wpcf7-not-valid-tip,
div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ng {border: 1px solid red;display:block;}

.wpcf7 {
  max-width: 500px;
}

.wpcf7 label {
  font-size: 0.8em;
  font-weight: 700;
  margin-bottom: 5px;
}

.wpcf7 .checkbox label {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 0;
}

.form-control,
.login-wrap .input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  -ms-border-radius: 0.25rem;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-shadow: none;
  height: 36px;
  background: #fff;
  color: #444;
  font-size: 13px;
  border: 1px solid #ccc;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: #d22430;
  box-shadow: 0 0 0 0.2rem rgba(76, 142, 238, 0.25);
}

.login-wrap .input:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(76, 142, 238, 0.25);
}

textarea {
  height: auto;
  min-height: 100px;
}

.wpcf7 .checkbox {
  overflow: auto;
}

.wpcf7 .wpcf7-list-item {
  display: block;
  float: left;
  width: 50%;
  padding-right: 10px;
  margin-left: 0;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  float:none;
  width:100%;
}

@media (max-width: 767px) {
  .wpcf7 .wpcf7-list-item {
    width: 100%;
  }
}
/*-----------------------------------------------------------------------------
   Buttons
-----------------------------------------------------------------------------*/
.btn {
  outline: 0;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  text-shadow: none !important;
  box-shadow: none !important;
  line-height: 1;
  margin-bottom: 1.5em;
  text-decoration: none;
  display: inline-block;
  border: none;
  letter-spacing: -0.02em;
  -webkit-transition: all 0.35s ease;
  -moz-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  -ms-transition: all 0.35s ease;
  transition: all 0.35s ease;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}

.btn-primary,
.btn-secondary {
  background-color: #d22430;
  color: #fff;
  text-transform: uppercase;
  padding: .91667em 1.28em;
}

.btn-secondary {
  background-color: #312925;
}

.btn-trans {
  background: transparent;
  border: 2px solid #d22430;
  color: #d22430;
}

.btn-lg {
  padding: 1em 2em;
  font-size: 1.2rem;
}

.btn-sm {
  font-size: 15px;
  padding: .9em 1em;
}

.btn-primary:hover,
.btn-trans:hover {
  background-color: #f63e4b !important;
  color: #fff !important;
}

.btn-primary:focus,
.btn-primary:active,
.btn-trans:focus,
.btn-trans:active {
  background-color: #a5121c !important;
  color: #fff !important;
}

.btn-secondary:hover {
  background: #d22430 !important;
  color: #fff !important;
}

.btn-secondary:focus,
.btn-secondary:active {
  background: #ba1a25 !important;
  color: #fff !important;
}

.btn-text {
  font-weight: 700;
  text-transform: uppercase;
  color: #d22430;
  display: inline-block;
  margin-bottom: 1.5em;
  line-height: 1;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.btn-text > .fa {
  font-size: 15px;
  margin-left: 5px;
}

.btn-primary:disabled {
  background-color:#d22430;
}

@media (max-width: 991px) {
  .btn-lg {
    padding: 15px 30px;
  }
}
/*-----------------------------------------------------------------------------
   IE overrides
-----------------------------------------------------------------------------*/
/* Sticky footer fix for
-----------------------------------------------------------------------------*/
.lte-ie7 #wrap {
  display: table;
}

/* Form fix for lte IE8
-----------------------------------------------------------------------------*/
.lt-ie8 input, .lt-ie8 textarea {
  width: 94%;
  padding: 0 2%;
}

.lt-ie8 textarea {
  width: 93%;
}

/*-----------------------------------------------------------------------------
  Misc
-----------------------------------------------------------------------------*/
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.img-404-error {
  width: 400px;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  margin-top: 10px;
  font-size: 0.8889rem;
}

.embed-responsive {
  margin-bottom: 0;
}

.embed-responsive.maps {
  padding-bottom: 30%;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .embed-responsive.maps {
    padding-bottom: 40%;
  }
}
@media (max-width: 575px) {
  .embed-responsive.maps {
    padding-bottom: 60%;
  }
}
img {
  max-width: 100%;
  height: auto;
}

hr {
  margin: 2em 0 3em;
}

.clear {
  clear: both;
}

.bg-grey,
.bg-gray {
  background-color: #f5f5f5;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.bg-white {
  background-color: #fff;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.bg-red {
  background-color: #d22430;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.max-300, .max-400, .max-500, .max-600 {
  margin-left: auto;
  margin-right: auto;
}

.max-300 {
  max-width: 300px;
}

.max-400 {
  max-width: 400px;
}

.max-500 {
  max-width: 500px;
}

.max-600 {
  max-width: 600px;
}

.max-33 {
  max-width: 33%;
}

.max-40 {
  max-width: 40%;
}

.max-50 {
  max-width: 50%;
}

.prepend-top {
  margin-top: 1.5em;
}

.append-bottom {
  margin-bottom: 1.5em;
}

.prepend-top-lg {
  margin-top: 3em;
}

.append-bottom-lg {
  margin-bottom: 3em;
}

.prepend-left {
  margin-left: 1em;
}

.prepend-left-sm {
  margin-left: 4px;
}

.prepend-right {
  margin-right: 1em;
}

.prepend-right-sm {
  margin-right: 4px;
}

.padded {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.padded-sm {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.padded-lg {
  padding-top: 6rem;
  padding-bottom: 5.5rem;
}

.padded-top {
  padding-top: 3.5rem;
}

.padded-top-sm {
  padding-top: 2rem;
}

.padded-top-lg {
  padding-top: 6rem;
}

.padded-bottom {
  padding-bottom: 3rem;
}

.padded-bottom-sm {
  padding-bottom: 1.5rem;
}

.padded-bottom-lg {
  padding-bottom: 5.5rem;
}

@media (max-width: 767px) {
  .prepend-top-lg {
    margin-top: 2em;
  }

  .append-bottom-lg {
    margin-bottom: 2em;
  }

  .padded {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .padded-sm {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .padded-lg {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .padded-top {
    padding-top: 2.5rem;
  }

  .padded-top-sm {
    padding-top: 1.5rem;
  }

  .padded-top-lg {
    padding-top: 4.5rem;
  }

  .padded-bottom {
    padding-bottom: 2rem;
  }

  .padded-bottom-sm {
    padding-bottom: 1rem;
  }

  .padded-bottom-lg {
    padding-bottom: 4rem;
  }
}
.grecaptcha-badge {
  display: none !important;
}

/*# sourceMappingURL=style.css.map */
