@charset "UTF-8";
@font-face {
  font-family: "countryhouse";
  font-display: optional;
  src: url("HouseGenCol-Countryhouse.eot");
  src: url("HouseGenCol-Countryhouse.eot?#iefix") format("embedded-opentype"), url("HouseGenCol-Countryhouse.woff") format("woff"), url("HouseGenCol-Countryhouse.ttf") format("truetype"), url("HouseGenCol-Countryhouse.otf") format("opentype"), url("HouseGenCol-Countryhouse#svgCountryhouse") format("svg");
}
@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.eot?v=4.2.0");
  src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff?v=4.2.0") format("woff"), url("../fonts/fontawesome-webfont.ttf?v=4.2.0") format("truetype"), url("../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular") format("svg");
  font-weight: normal;
  font-style: normal;
}
body {
  background-color: #f9f9f9;
  color: #4a4a4a;
  font-family: "MuseoSans-300", sans-serif;
}

hr {
  border-top: 1px solid rgba(0, 0, 0, 0.3);
}

a.dark:visited,
a.dark {
  color: #4a4a4a;
}

/* front */
.alignright {
  float: right;
}

.alignleft {
  float: left;
}

header#masthead,
body.home header#front_masthead {
  background-color: transparent;
  position: relative;
  padding: 0;
  box-shadow: none;
}

.xpage-header-wrap {
  position: fixed;
  width: 100%;
  top: 0;
  height: 120px;
}

.navbar-expand .navbar-nav {
  max-width: 100%;
}

.navbar .dropdown {
  position: static;
}

.dropdown-item:active {
  background-color: transparent;
}

.navbar .dropdown-menu {
  border: 0;
  border-radius: 0;
}

.navbar .collapsing {
  transition: height 0.01s ease;
}

#top-layer {
  width: 100%;
  color: #4a4a4a;
  background-color: white;
  line-height: 1.5;
  font-size: 0.8rem;
}

#site-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#site-tools .ideapark-selector {
  max-width: 130px;
  min-width: 120px;
}

#site-tools .other-tools {
  max-width: 130px;
  min-width: 120px;
  display: flex;
  justify-content: space-between;
}

#site-tools .sitetools-submit {
  padding-right: 0;
}

#front_slider {
  line-height: 0;
}

.nav-link {
  cursor: pointer;
}

.dropdown li {
  padding: 0.1rem 1rem;
}

.dropdown-item {
  width: auto;
  display: inline-block;
  padding: 0;
}

.dropdown-toggle::after {
  display: none;
}

.nav-link {
  padding: 0.4rem 1rem 0rem 1rem;
}

body.home #top-layer {
  background-color: transparent;
}

#top-layer .header-links {
  padding: 0.5rem 1rem 0.2rem 0;
}

#top-layer .header-links a {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#top-layer .header-links a:first-child {
  padding-left: 0;
}

#top-layer .navbar-expand .navbar-nav .nav-item {
  padding-left: 0;
  padding-right: 1.6rem;
}

#top-layer .navbar {
  padding: 0 1rem;
}

body.home #top-layer .navbar {
  margin-top: 2rem;
}

#top-layer .mobi-burger {
  display: none;
  width: 100%;
  text-align: right;
  font-size: 3em;
}

#top-layer .hamburger:before {
  content: "";
  font-family: "Font Awesome 5 Free";
}

#top-layer .menu-wrapper {
  position: relative;
  padding-left: 1em;
}

#top-layer .menu-wrapper navbar {
  position: relative;
  bottom: 0;
}

#top-layer li.dropdown ul {
  list-style-type: none;
  margin-before: 0;
  margin-after: 0;
  padding: 0;
}

#top-layer .dropdown-menu {
  min-width: 20rem;
  padding: 2rem 1rem 1rem 2rem;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.15);
}

#top-layer .dropdown-menu {
  font-size: 0.8rem;
}

#top-layer .has-mega-menu .dropdown-menu {
  min-width: 40rem;
}

#top-layer .columns-2 {
  column-count: 2;
}

#top-layer .has-mega-menu .columns-2 {
  width: 66%;
}

#top-layer .columns-2 .dropdown-item {
  white-space: unset;
}

#top-layer .megafeature {
  width: 33%;
  padding-right: 10px;
}

#top-layer .megafeature .megalinkwrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#top-layer .megafeature .megalinkwrap a {
  word-wrap: unset !important;
  white-space: unset !important;
  max-width: 100%;
}

#top-layer .megafeature .megalinkwrap .megalinkafter {
  display: inline-block;
  padding-left: 0.5em;
  color: #d0d0d0;
  font-size: 1.7em;
}

#top-layer .flex {
  display: flex;
}

#top-layer a:hover {
  text-decoration: none;
}

#top-layer .megafeature {
  text-align: right;
}

#top-layer .megafeature .megamenu-image {
  max-width: 100%;
}

#top-layer .megafeature a.megalink {
  text-decoration: underline;
}

body.home #top-layer {
  position: absolute;
  top: 0;
}

#matkat-nav a,
#info-nav a,
#top-layer a {
  color: #4a4a4a;
  font-size: 0.9em;
}

#top-layer #location-select {
  text-align: center;
}

#top-layer #location-select a {
  font-family: MuseoSans-900;
}

#offer-nav {
  flex-direction: column;
}

#offer-nav .nav-item {
  padding-right: 0.5em;
  padding-left: 0.5em;
}

#offer-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
  border-bottom: 0.2em solid transparent;
}

#matkat-nav .nav-item > a #offer-nav .nav-item > a,
#info-nav .menu-item > a,
#top-layer .menu-item > a {
  border-bottom: 0.2em solid transparent;
}

.om-innerframe {
  transition: box-shadow 0.3s ease-in-out;
}

.om-innerframe:hover {
  -webkit-box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.3);
  -box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease-in-out;
}

a.selected_language,
#top-layer .menu-item > a:hover,
#top-layer .current-menu-item > a,
#top-layer .current-menu-parent > a,
#offer-nav .nav-item > a:hover,
#offer-nav .current-listing > a,
#matkat-nav .current-menu-parent > a,
#matkat-nav .current-menu-item > a,
#info-nav .current-menu-parent > a,
#info-nav .current-menu-item > a {
  border-bottom: 0.2em solid #7eb735;
}

a.selected_language {
  font-family: MuseoSans-500;
}

body.home #top-layer,
body.home #top-layer a {
  color: white;
}

#matkat-nav ul.navbar-nav > li a,
#info-nav ul.navbar-nav > li a,
#top-layer ul.navbar-nav > li a {
  text-transform: uppercase;
  font-family: MuseoSans-900;
  white-space: nowrap;
}

#top-layer ul.navbar-nav > li .dropdown-menu a {
  text-transform: none;
  font-family: MuseoSans-500;
  font-weight: normal;
  font-size: 0.9em;
}

#matkat-nav,
#offer-nav, #info-nav {
  font-size: 0.9em;
}

ul.navbar-nav li.strong a {
  font-family: MuseoSans-900 !important;
  text-transform: uppercase !important;
}

body.home #top-layer ul.navbar-nav > li a {
  color: white;
}

body.home #top-layer ul.navbar-nav > li .dropdown-menu a {
  color: #144288;
}

#top-layer .megafeature a.megalink {
  display: inline-block;
  font-family: AbrilFatface-Italic, cursive !important;
  padding: 0.5em 0;
  color: #4a4a4a !important;
}

#site-tools .ideapark-selector {
  background-color: rgba(0, 0, 0, 0.5);
}

#site-tools .ideapark-selector i,
#site-tools .ideapark-selector a {
  color: white;
}

#site-tools .other-tools {
  padding: 0.5em 0 0.5em 0;
  text-align: right;
}

#site-tools .ideapark-selector {
  padding: 0.5em 1em;
}

#site-tools .sitetools-search {
  padding-left: 10px;
}

.sitetools-sbutton {
  text-transform: uppercase;
}

.ideapark-selector i {
  padding-right: 0.5em;
}

.ideapark-selector .empty-marker {
  padding-right: 1.5em;
}

header .sitetools-sbutton {
  font-weight: normal;
}

header .sitetools-sbutton i {
  padding-left: 0.2em;
}

header .sitetools-search form {
  display: flex;
  justify-content: flex-end;
}

.sitetools-term {
  flex-grow: 2;
  background-color: transparent;
  border: 1px solid #4a4a4a;
  display: inline-block;
  width: 100%;
  padding: 4px 6px;
  background-color: rgba(0, 0, 0, 0.2);
}

body.home .sitetools-term {
  color: white;
  border: 1px solid white;
}

.sitetools-submit {
  flex-grow: 1;
  display: inline-block;
}

header ::-webkit-input-placeholder {
  color: #4a4a4a;
}

body.home header ::-webkit-input-placeholder {
  color: white;
}

header ::-moz-placeholder {
  color: #4a4a4a;
  opacity: 1;
}

body.home header ::-moz-placeholder {
  color: white;
}

header ::-ms-placeholder {
  color: #4a4a4a;
}

body.home header ::-ms-placeholder {
  color: white;
}

header ::placeholder {
  color: white;
}

header .sitetools-submit {
  background-color: transparent;
  color: #4a4a4a;
  border: none;
}

body.home header .sitetools-submit {
  color: white;
}

header #top-layer .row:first-child {
  padding: 0;
}

header #logowrap {
  padding: 0;
}

header .logomask {
  display: inline-block;
  height: 100%;
  width: 100%;
  float: left;
}

body.home header #logowrap {
  padding: 0 15px;
}

body.home header .logomask {
  max-width: 320px;
}

#footer-widgets .logomask img,
header .logomask img {
  max-width: 90%;
  height: auto;
  min-width: 90px;
}

#footer-widgets .logomask img {
  min-width: 110px;
  margin-top: -1px;
}

#f_left {
  padding: 0 2em 0 0;
  text-align: center;
}

#enemman {
  margin: 1em -30px;
  letter-spacing: 0.14em;
  font-size: 0.9em;
}

#f_mid_left, #f_mid, #f_mid_right {
  text-transform: uppercase;
}

#f_mid_left, #f_mid, #f_mid_right, #f_right {
  padding-top: 0;
  padding-left: 3em;
  font-size: 0.7em;
  line-height: 1.2em;
  font-family: MuseoSans-900;
  margin-top: 4em;
}

#footer_right {
  min-width: 160px;
}

#f_mid_left, #f_mid, #f_mid_right {
  border-right: 1px solid #5c768b;
}

#f_right .seuraa {
  font-family: AbrilFatface-Italic, cursive;
  font-weight: normal;
  letter-spacing: 0.2em;
  font-size: 1.1em;
}

#f_right a img {
  max-width: 3em;
  margin-left: 1em;
}

#footer-widgets ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#footer-widgets ul li {
  margin: 0;
  padding-bottom: 1.2em;
  word-wrap: break-word;
}

#footer-widgets a {
  color: white;
  padding: 0;
}

#footer-widgets .nav-link:hover {
  text-decoration: underline;
}

#footer_bottom {
  font-family: MuseoSans-300;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  font-size: 0.75em;
}

#footer_bottom .widget_nav_menu .flex-column {
  flex-direction: row !important;
}

#footer_bottom .widget_nav_menu,
#footer_bottom .nav-link {
  padding: 0 1em;
}

#footer_bottom .widget_nav_menu a {
  color: white;
}

#front_slider .soliloquy-viewport {
  max-height: 670px;
}

#front_slider .soliloquy-image {
  max-height: 670px;
}

#front_slider_placeholder {
  height: 670px;
  width: 100%;
  background: #FFEFBA;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #f9f9f9, #E0E0E0);
  background: linear-gradient(to bottom, #f9f9f9, #E0E0E0);
}

#front_slider .soliloquy-caption-top {
  top: 30%;
  width: 1150px;
  max-width: 100%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

#front_slider .soliloquy-caption-inside {
  width: 40%;
  margin-left: 6%;
  position: relative;
}

#front_slider h2 a.soliloquy-fc-title-link,
#front_slider h2 {
  font-family: MuseoSans-900;
  font-weight: normal;
  font-size: 2em;
  line-height: 1;
  margin-bottom: 0.3em;
  text-transform: none;
  letter-spacing: 0.05em;
}

#front_slider h2 a.soliloquy-fc-title-link {
  font-size: 1em;
}

#front_slider .soliloquy-fc-content {
  font-size: 1irem;
  line-height: 1.2;
}

#front_slider .soliloquy-fc-read-more {
  position: absolute;
  left: 1em;
  bottom: -4em;
}

#bottom-layer {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 1.5;
}

#bottom-layer .row {
  margin-right: 0;
  margin-left: 0;
  flex-wrap: nowrap;
  align-items: stretch;
}

#bottom-layer .butt {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 8%;
  border-left: 1px solid white;
  border-top: 1px solid white;
  text-align: center;
  position: relative;
  display: inline-block;
  max-height: 130px;
  height: 130px;
}

#bottom-layer .butt .today-hours-link {
  position: absolute;
  width: 100%;
  bottom: 0;
}

#bottom-layer .butt .today-hours {
  position: absolute;
  text-align: center;
  width: 100%;
  top: 52%;
  transform: translateY(-50%);
  padding-bottom: 14px;
}

#bottom-layer .container .row a:last-child {
  border-right: 1px solid white;
}

#bottom-layer .butt:hover {
  background-color: rgba(96, 165, 149, 0.5);
}

#bottom-layer .butt img {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 28%;
}

#bottom-layer .butt img.icon-green {
  display: none;
}

#bottom-layer .butt-caption {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 3%;
  left: 0;
  color: white;
}

#bottom-layer #today {
  flex-basis: 38%;
  background-color: rgba(96, 165, 149, 0.5);
  flex-grow: 1;
  text-align: center;
}

#bottom-layer .today-title {
  font-family: MuseoSans-900;
  font-size: 1.3em;
  color: white;
  padding-top: 0.3em;
}

#bottom-layer .today-hours {
  font-size: 4em;
  line-height: 1;
  font-family: MuseoSans-900;
  color: white;
}

#bottom-layer .today-hours-link {
  display: block;
  background-color: #60a595;
  color: white;
  font-size: 0.9em;
  padding: 0.2em 0 0.2em 0;
}

#bottom-layer #nyt-link img {
  transform: scale(2);
}

#front_content .widget {
  padding: 0;
}

#front_content_1,
#front_content_2,
#front_events {
  width: 100%;
  margin-top: 2em;
  margin-bottom: 2em;
}

#front_banners,
#front_content_2,
#front_content_1 {
  display: flex;
  justify-content: center;
  padding: 8px 4px;
  border: 1px solid #a0a0a0;
  flex-wrap: wrap;
}

#front_banners {
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 16px 8px 16px 8px;
}

#front_banners .widget {
  display: inline-block;
  flex-grow: 1;
  flex: 0 0 50%;
  padding: 0 8px !important;
  margin: 0 !important;
}

#front_content_1 .widget {
  display: inline-block;
  flex-grow: 1;
  flex: 0 0 33%;
}

#front_content_1 .soliloquy-container,
#front_content_2 .soliloquy-container {
  line-height: 0;
  margin-bottom: 0 !important;
}

#front_content_1 .widget,
#front_content_2 .widget {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#front_content_1 .soliloquy-outer-container,
#front_content_2 .soliloquy-outer-container {
  background-color: transparent;
  padding: 4px 4px;
}

/* */
b, strong {
  font-family: MuseoSans-900;
}

.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: MuseoSans-900;
  font-size: 1em;
}

.morewrap {
  text-align: center;
  width: 100%;
}

.more {
  border: 1px solid #4a4a4a;
  border-radius: 2em;
  padding: 0.8em 1.4em;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: MuseoSans-900;
  font-size: 0.8em;
  color: #4a4a4a;
}

#front_content {
  padding-top: 2em;
  padding-bottom: 2em;
}

#footer_content,
#featured-news {
  padding-top: 2em;
  padding-bottom: 2em;
  background-color: #e9e9e9;
}

#footer-widgets,
footer#colophon {
  color: white;
  background-color: #384855;
}

body.home .soliloquy-container .soliloquy-caption.soliloquy-caption-top {
  top: 25%;
}

body.home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside {
  background-color: transparent;
  text-align: left;
}

body.home .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-title,
body.home .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-title-link {
  font-size: 2.5em;
}

body.home .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-read-more:before {
  content: "\a";
  display: block;
}

.more,
body.home .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-read-more {
  border-radius: 2em;
  padding: 10px 20px;
  display: inline-block;
  font-family: MuseoSans-900;
  letter-spacing: 0.16em;
  font-size: 0.6rem;
  text-transform: uppercase;
}

body.home .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-read-more {
  border: 1px solid white;
  font-size: 0.64em;
}

.more {
  border: 1px solid #4a4a4a;
}

.more:hover {
  text-decoration: none;
  background-color: rgba(96, 165, 149, 0.5);
  color: #4a4a4a;
}

body.search #main,
body.archive #main,
body.single #main,
body.error404 #main,
body.page #main {
  padding: 0 8%;
}

body.page.wide #main {
  padding: 0 0;
}

body.search .page-header,
body.archive .page-header {
  display: none;
}

article img {
  max-width: 100%;
}

body.search article,
body.archive article {
  margin-top: 2em;
  margin-bottom: 2em;
}

body.search article a,
body.archive article a {
  color: #4a4a4a;
}

body.error404 #main {
  margin-top: 2em;
  margin-bottom: 2em;
}

.heading {
  width: 100%;
  display: block;
  color: white;
  background-color: rgba(154, 201, 129, 0.8);
  background-position: center center;
  background-size: cover;
  padding: 4em 1em;
  text-align: center;
  position: relative;
}

.autoareena .heading {
  padding: 2em 1em;
}

.autoareena-banneri {
  background-color: #e7e7e7;
}

.sponsor-content {
  padding: 1em 2em;
}

.heading-post-with-image {
  background-position: center center;
  background-size: cover;
  text-shadow: 0 0 2rem rgba(0, 0, 0, 0.6);
}

.heading h1 {
  font-family: MuseoSans-900;
  color: white;
}

.heading-post {
  padding: 6em 1em;
  background-color: rgba(0, 0, 0, 0.5);
}

.heading-post-with-image {
  padding: 8em 1em;
}

.single-post article .post-thumbnail,
.single-post article header {
  display: none;
}

.single-post .entry-content {
  padding-top: 2rem;
}

body.page-template-default article .entry-title {
  display: none;
}

.heading-meta {
  font-size: 1.2em;
}

.heading-meta .row {
  justify-content: center;
}

.heading-post-cats {
  position: absolute;
  bottom: 0;
  background-color: #7eb735;
  padding: 0.2em 1em;
}

.heading-post-cats-wrap {
  padding: 0 8%;
}

.heading-post-with-image {
  background-size: cover;
}

.heading-post h1 {
  padding-left: 20%;
  padding-right: 20%;
  font-family: AbrilFatface-Regular, cursive;
}

body.page .entry-header {
  display: none;
}

body.page .entry-content {
  padding: 2em;
}

body.page.wide .entry-content {
  padding: 2em 0;
}

.entry-content iframe {
  width: 100%;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

#news_left .large_news {
  width: 55%;
  padding-right: 10px;
}

#news_left .widget h3,
#news_left .widget h4 {
  text-transform: none;
  letter-spacing: 0;
}

#news_left .small_news {
  width: 45%;
}

#news_left {
  display: flex;
}

#news_left .widget {
  display: inline-block;
}

#news_left .squareblocks-item-wrap-inner .squareblocks-title {
  padding-top: 3rem;
}

#news_left .squareblocks-featured-image img {
  width: 100%;
  height: auto;
}

#news_left .squareblocks-featured-image {
  position: relative;
}

#news_left .squareblocks-content-wrap {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 66%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 66%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 66%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#a6000000", endColorstr="#00000000",GradientType=0 );
  /* IE6-9 */
}

#news_left .squareblocks-item {
  margin-bottom: 10px;
}

#news_left .squareblocks-item-wrap {
  position: relative;
}

#news_left .squareblocks-content-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 1em;
  text-transform: none;
  font-size: 1.5em;
  letter-spacing: 0;
  width: 100%;
  height: 100%;
}

.sqb_cat_label {
  background-color: #394854;
  color: white;
  position: absolute;
  top: 2em;
  left: 0;
  font-size: 0.4em;
  letter-spacing: 0.05em;
  padding: 0.6em 2em 0.4em 2em;
  text-transform: uppercase;
}

.squareblocks-featured-image .sqb_cat_label {
  display: none;
}

#news_left .squareblocks-content-wrap .squareblocks-title a {
  color: white;
}

#news_left .squareblocks-excerpt {
  display: none;
}

#news_left .squareblocks-featured-image h3,
#news_right .squareblocks-excerpt,
#news_right .has-image .squareblocks-featured-image h3 {
  display: none;
}

#news_right .squareblocks-item-wrap {
  padding: 0.8em 0;
}

#news_right .squareblocks-item-wrap-inner {
  display: flex;
  align-items: stretch;
}

#news_right .squareblocks-item,
#news_right .squareblocks-content-wrap {
  display: inline-block;
}

#news_right .squareblocks-item {
  padding: 0;
  width: 25%;
}

#news_right .squareblocks-item-wrap {
  border-bottom: 1px solid #c0c0c0;
}

#news_right .squareblocks-item-wrap:first-child {
  border-top: 1px solid #c0c0c0;
}

#news_right .squareblocks-content-wrap {
  width: 70%;
}

#news_right .squareblocks-item img {
  width: 100%;
  height: auto;
}

#news_right .squareblocks-content-wrap h3 {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-weight: normal;
  font-family: MuseoSans-500;
  letter-spacing: 0;
}

#news_right .has-image .squareblocks-featured-image {
  padding-right: 0.8em;
}

#news_right h3 {
  text-transform: none;
  font-size: 1em;
}

#news_right h3.widget-title {
  font-family: AbrilFatface-Regular, cursive;
  font-size: 2em;
  font-weight: normal;
  letter-spacing: 0;
  margin-bottom: 0.6em;
}

#news_right a {
  color: #4a4a4a;
}

.page-menu-wrap {
  background-color: white;
  padding: 0 8%;
}

#matkat-nav,
#info-nav {
  width: 100%;
  text-align: center;
}

#matkat-nav a,
#info-nav a {
  white-space: nowrap;
}

#kaikki-uutiset img {
  max-width: 80%;
  padding: 1em;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: center;
}

.posts-navigation .nav-links div {
  padding: 0 1em;
}

.screen-reader-text {
  display: none;
}

#offers {
  position: relative;
  margin-top: 1em;
  margin-bottom: 2em;
}

h2.ideapark-category-title,
#offers .widget h3 {
  font-family: AbrilFatface-Regular, cursive;
  width: 100%;
  text-align: center;
  font-size: 2.6em;
  letter-spacing: 0.05em;
  font-weight: normal;
  text-transform: none;
}

#offer .widget h3 {
  text-align: center;
}

h2.ideapark-category-title {
  margin-top: 2rem;
  text-align: left;
  display: inline-block;
  width: auto;
}

a.ideapark-category-more {
  color: #4a4a4a;
  text-transform: uppercase;
  padding-left: 1em;
  letter-spacing: 0.1em;
  font-size: 0.9em;
}

a.ideapark-category-more:after {
  content: " »";
}

#offers .morewrap {
  margin-top: 2em;
}

#event_events {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

body.single-rtm_kauppa article.rtm_kauppa,
body.single-rtm_tapahtuma article.rtm_tapahtuma {
  margin-top: 2em;
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

article.rtm_tapahtuma .post-thumbnail {
  padding-right: 2em;
}

article.rtm_kauppa .post-thumbnail {
  padding-right: 1em;
  padding-top: 2em;
  padding-bottom: 2em;
}

article.post-media {
  position: relative;
}

article.rtm_kauppa .post-thumbnail {
  text-align: center;
}

article.rtm_kauppa h1,
article.rtm_tapatuma h1 {
  font-size: 1.8em;
  font-family: MuseoSans-500;
}

article.rtm_kauppa .entry-meta,
article.rtm_tapahtuma .entry-meta {
  font-size: 1.2em;
  margin-bottom: 1em;
}

article.rtm_kauppa .shop-content,
article.rtm_tapahtuma .event-content {
  padding-left: 2em;
  border-left: 1px solid #4a4a4a;
}

article.rtm_kauppa .entry-meta {
  text-transform: lowercase;
}

article.rtm_kauppa .shop-content h1 a {
  color: #4a4a4a;
}

.event-location-wrap,
.event-time-wrap {
  display: flex;
  align-items: center;
}

.event-icon img {
  max-width: 3rem;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.event-footer,
.event-footer a,
.shop-footer,
.shop-footer a {
  color: #7ca098;
}

.heading {
  background-image: url("/wp-content/themes/ideapark2018/headings/header_bg1.jpg");
  background-size: cover;
}

.heading-post {
  background-image: url("/wp-content/themes/ideapark2018/headings/header_bg4.jpg");
}

.heading-shops,
.heading-stores {
  background-image: url("/wp-content/themes/ideapark2018/headings/header_bg2.jpg");
  background-color: #6e90cf;
}

.heading a {
  color: white;
}

body.archive .post-thumbnail {
  margin-bottom: 1em;
}

body.archive .entry-header a,
body.archive .entry-content a {
  text-decoration: none;
}

body.archive #main article {
  border-bottom: 1px solid #c0c0c0;
  padding-top: 1em;
  padding-bottom: 1em;
}

body.archive #main article:last-child {
  border-bottom: none;
}

body.post-type-archive-rtm_tapahtuma #main {
  padding-top: 2em;
  padding-bottom: 2em;
}

.event-listing a {
  color: #4a4a4a;
}

.event-listing {
  display: flex;
  margin-bottom: 1em;
}

.event-listing .event-content-wrap {
  padding-left: 1em;
}

#offer-nav,
#shop-nav {
  padding: 0 10px;
  width: 100%;
}

.offer_cats,
.shop_cats {
  flex-wrap: wrap;
  flex-direction: row !important;
  justify-content: center;
  font-family: MuseoSans-900;
  text-transform: uppercase;
  font-size: 0.9em;
}

.offer_cats li.current-listing a,
.shop_cats li.current-listing a {
  border-bottom: 0.2em solid #7eb735;
}

.shop_cats li.other-listing a {
  border-bottom: 0.2em solid transparent;
}

.custom_shop_listing {
  padding-bottom: 2em;
}

.custom_shop_listing_columns {
  margin-top: 2em;
  columns: 3;
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
}

.custom_shop_listing_columns ul {
  list-style-type: none;
}

.shop-category-menu {
  background-color: white;
}

.offer_cats a,
.shop_cats a,
.custom_shop_listing_columns a {
  color: #4a4a4a;
}

.shop_listing_subheading {
  display: none;
}

.post-media .featured-videos {
  padding: 1rem 0 1rem 0;
}

#shop_recommends {
  width: 100%;
  padding: 0 8% 2rem 8%;
}

#shop_recommends .recommendations-wrap {
  padding: 0 15px;
}

.events-title,
#shop_recommends h3 {
  font-family: MuseoSans-900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.2em;
}

.divider {
  margin: 1em auto;
  width: 80%;
  display: inline-block;
}

.post-share {
  margin-top: 4em;
  margin-bottom: 2em;
  border-top: 0.2rem solid #83bed7;
}

.share-this {
  font-size: 1.8em;
  padding: 0.2em 0;
}

.share-icons {
  padding-top: 0.5rem;
  text-align: right;
  padding-right: 0;
}

.share-icons img {
  max-width: 2.5rem;
  margin-left: 0.5rem;
}

#events-calendar {
  padding-top: 2rem;
  bottom: 2rem;
}

.featured-event {
  position: relative;
}

.featured-events-wrap {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.eventslider,
.eventslider .container {
  padding-left: 0;
  padding-right: 0;
}

.eventslider {
  position: relative;
}

.featured-events-handle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  font-family: MuseoSans-900;
  color: #a0a0a0 !important;
}

.featured-events-handle-left {
  left: -2.5rem;
}

.featured-events-handle-right {
  right: -2.5rem;
}

.featured-events-handle.inactive {
  display: none;
}

.left-scroller-handle:before {
  content: "<";
}

.right-scroller-handle:before {
  content: ">";
}

.featured-events-wrap .event-title {
  margin: 0.5em 0;
}

.featured-events-wrap .event-time-label {
  position: absolute;
  top: 2.5rem;
  left: 0;
  padding: 0.2rem 1em 0.1rem 1em;
  background-color: #7eb735;
  font-size: 0.8em;
  color: white;
  display: none;
}

.featured-events-wrap .event-wrap {
  padding: 6%;
  height: 100%;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
  display: inline-block;
  text-decoration: none;
  color: #4a4a4a;
  max-width: 100%;
  position: relative;
}

.featured-events-wrap .event-location,
.featured-events-wrap .event-meta {
  text-transform: uppercase;
}

.featured-events-wrap .event-location {
  margin-top: 0.5rem;
}

.featured-events-wrap .event-description {
  display: none;
}

.featured-image-wrap {
  max-width: 100%;
}

.featured-image-wrap img {
  width: 100%;
  height: auto;
}

.featured-events-wrap .row .featured-event:nth-child(n+5) {
  display: none;
}

.featured-events-wrap .container .row {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.featured-events-wrap .featured-event {
  max-width: 25%;
  width: 25%;
  padding: 0.5rem;
  font-size: 0.8rem;
}

.event-calendar-table {
  width: 100%;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  text-align: center;
  color: #606060;
  padding: 0 10%;
}

.calendar-title-wrap {
  position: relative;
}

.calendar-title-wrap .previous_month,
.calendar-title-wrap .next_month {
  position: absolute;
}

.calendar-title-wrap .previous_month {
  left: 0;
  padding-left: 2rem;
  cursor: pointer;
}

.calendar-title-wrap .next_month {
  right: 0;
  padding-right: 2rem;
  cursor: pointer;
}

.calendar-title-wrap {
  width: 100%;
  border-bottom: 1px solid #606060;
  padding: 0.5em 0;
  margin-bottom: 0.5em;
  font-size: 1.3em;
  letter-spacing: 0.1em;
  font-family: MuseoSans-900;
  color: #808080;
}

.event-listing-month-title {
  display: block;
  width: 100%;
  padding: 0.5em 0;
  margin-bottom: 0.5em;
  margin-top: 1rem;
  font-size: 1.2em;
  letter-spacing: 0.1em;
  font-family: MuseoSans-900;
  text-transform: uppercase;
}

.calendar-title-year {
  font-family: MuseoSans-300;
  color: #c0c0c0;
}

.event-calendar-table .th,
.event-calendar-table .calendar-day,
.event-calendar-table .td {
  flex: 1 0 auto;
  height: auto;
  display: inline-block;
  flex-basis: 14.2857%;
  padding: 2px;
  position: relative;
  font-size: 1.6em;
}

.event-calendar-table .month-before,
.event-calendar-table .month-after,
.event-calendar-table .th {
  color: #b0b0b0;
}

.event-calendar-table .th-sun {
  color: #d0d0d0;
}

.event-calendar-table .th:before,
.event-calendar-table .td:before,
.event-calendar-table .calendar-day:before {
  content: "";
  float: left;
  padding-top: 100%;
}

.event-calendar-table .th span,
.event-calendar-table .calendar-day span {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
  height: 100%;
}

.event-calendar-table .month-current span a {
  cursor: pointer;
}

.event-calendar-table .calendar-day span {
  background-color: white;
}

.event-calendar-table span {
  background-color: transparent;
}

.event-calendar-table .has-event span {
  background-color: #e0e0e0;
}

.event-calendar-table span {
  background-color: transparent;
}

.event-calendar-table .today span {
  background-color: #7eb735 !important;
  color: white !important;
}

.event-calendar-table .selected span {
  background-color: #7eb735 !important;
  color: white !important;
}

.event-calendar-table .month-current span:hover {
  transform: scale(1.04);
  background-color: rgba(96, 165, 149, 0.5);
}

.shop-content {
  background-color: white;
}

.shop-recommendations-wrap {
  padding-top: 2rem;
}

.post-media {
  padding-right: 2rem;
}

.post-media .images {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.2rem;
  margin-right: -0.2rem;
}

.post-media .images a {
  flex: 0 1 33.3%;
  padding: 0.2rem;
}

.post-media .images a img {
  max-width: 100%;
}

.autoareena-logo {
  max-width: 400px;
  width: 33%;
  height: auto;
}

body.autoareena .article-title {
  display: none;
}

.autoareena-sponsorit {
  background-color: white;
}

.autoareena-sponsorit .row div {
  padding: 2rem 3%;
  position: relative;
  text-align: center;
  align-items: stretch;
  justify-content: center;
}

.autoareena-sponsorit .row div img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

body.autoareena #main img,
.autoareena-sponsorit img,
.autoareena-banneri img {
  max-width: 100%;
  height: auto;
}

.autoareena .site-content {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#logowrap {
  max-width: 160px;
  min-width: 120px;
}

#mobimenu {
  background-color: #f9f9f9;
}

#mobimenu .row {
  align-items: stretch;
}

#mobimenu .container {
  width: 100%;
  max-width: 100%;
}

#mobimenu .mobimenu-close {
  text-align: right;
  font-size: 3.2em;
  padding-right: 1rem;
}

#mobimenu .fa-close:before {
  content: "";
}

#mobimenu .megalinkafter {
  display: none;
}

#mobimenu .megafeature {
  text-align: right;
  padding: 1rem 1rem 1rem 2rem;
}

#mobimenu .megafeature img {
  max-width: 100%;
}

#mobimenu .nav-item {
  text-transform: uppercase;
  font-family: MuseoSans-900;
  font-size: 0.7em;
}

#mobimenu .dropdown-item {
  font-family: MuseoSans-500;
}

#mobimenu .strong .dropdown-item {
  font-family: MuseoSans-900;
}

#mobimenu .megalinkwrap a.megalink {
  font-family: AbrilFatface-Italic, cursive !important;
  text-transform: none;
}

#mobimenu .dropdown-menu {
  width: 100%;
}

.mobi-bar > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.mobimenu-container {
  height: 100vh;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  padding-right: 0;
  padding-left: 0;
  flex: 0 0 240px;
  background-color: white;
}

.mobisearch form {
  display: flex;
  padding: 1em 0.5em 1em 0;
}

.mobisearch .sitetools-term {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.2em 0.5em;
}

.mobisearch .sitetools-submit {
  border: none;
}

#mobimenu .other-tools {
  padding: 0.5em 0.5em 0.5em 1em;
}

.language-choices {
  margin-right: 1em;
}

#mobimenu .language-choices a {
  color: #4a4a4a;
  text-transform: uppercase;
  font-family: MuseoSans-900;
  font-size: 0.7em;
}

ul.mobi-bar {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  width: 100%;
}

#mobimenu ul {
  list-style-type: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  width: 100%;
}

ul.mobi-bar a {
  color: #4a4a4a;
}

ul.mobi-bar .caret {
  font-family: Font Awesome\ 5 Free;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  display: inline-block;
  font-weight: 900;
  margin-left: 1em;
}

ul.mobi-bar .caret:before {
  content: "";
}

ul.mobi-bar li.megamenu {
  display: none;
}

/* omamainos kampanjat */
@keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}
@-webkit-keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}
@-moz-keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}
@-ms-keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}
@keyframes move-clouds-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 0;
  }
}
@-webkit-keyframes move-clouds-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 0;
  }
}
@-moz-keyframes move-clouds-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 0;
  }
}
@-ms-keyframes move-clouds-back {
  from {
    background-position: 0;
  }
  to {
    background-position: 10000px 0;
  }
}
.stars, .twinkling, .clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);
  will-change: transform;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
}

.stars {
  background: #000 url(/wp-content/themes/ideapark2018/stars/stars.png) repeat top center;
  z-index: 0;
}

.twinkling {
  background: transparent url(/wp-content/themes/ideapark2018/stars/twinkling.png) repeat top center;
  z-index: 1;
  -moz-animation: move-twink-back 200s linear infinite;
  -ms-animation: move-twink-back 200s linear infinite;
  -o-animation: move-twink-back 200s linear infinite;
  -webkit-animation: move-twink-back 200s linear infinite;
  animation: move-twink-back 200s linear infinite;
}

.clouds {
  background: transparent url(/wp-content/themes/ideapark2018/stars/clouds2.png) repeat top center;
  z-index: 3;
  -moz-animation: move-clouds-back 200s linear infinite;
  -ms-animation: move-clouds-back 200s linear infinite;
  -o-animation: move-clouds-back 200s linear infinite;
  -webkit-animation: move-clouds-back 200s linear infinite;
  animation: move-clouds-back 200s linear infinite;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body.home .widget_custom_html .morewrap {
  margin-bottom: 2em;
}

.omamainos-more-wrap {
  width: 100%;
  text-align: center;
}

.omamainos-more {
  border: 1px solid white;
  margin-bottom: 60px;
}

#offers .container {
  z-index: 20;
  position: relative;
  padding-left: 0;
  padding-right: 0;
}

#offers .omamainos.omamainos-kampanja .omamainos-product-wrap,
#offers .rtm_omamainosoffers_widget.omamainos-kampanja {
  background-color: transparent;
  color: white;
  padding-top: 2rem;
}

#front_offers img {
  max-width: 100%;
}

#offers h3.widget-title {
  position: relative;
}

#offers h3 span.call-to-action {
  display: block;
  font-size: 1rem;
}

#offers .navbar-nav {
  flex-direction: row !important;
}

#offers .omamainos-products {
  padding: 15px;
  background-color: transparent;
}

#offers .omamainos.omamainos-kampanja .om-price {
  font-weight: 900;
}

#offers .omamainos.omamainos-kampanja .om-innerframe {
  border: 2px solid white;
  -webkit-animation: fadein 4s;
  -moz-animation: fadein 4s;
  -ms-animation: fadein 4s;
  -o-animation: fadein 4s;
  animation: fadein 4s;
}

#offers .omamainos.omamainos-kampanja .om-innerframe:hover {
  -webkit-box-shadow: 0px 0px 16px white;
  -moz-box-shadow: 0px 0px 16px white;
  -box-shadow: 0px 0px 16px white;
  box-shadow: 0px 0px 16px white;
  transition: box-shadow 0.3s ease-in-out;
}

#offers h3.widget-title {
  position: relative;
}

#offers h3 span.call-to-action {
  display: block;
  font-size: 1rem;
}

#offers .navbar-nav {
  flex-direction: row !important;
}

#offers .omamainos-products {
  padding: 15px;
  background-color: transparent;
}

#offers .omamainos.omamainos-kampanja .omamainos-product-wrap {
  padding: 10px;
}

#offers .widget.omamainos-kampanja h3.widget-title {
  font-family: "countryhouse";
}

#offers .omamainos.tasaus-kampanja .omamainos-product-wrap,
#offers .rtm_omamainosoffers_widget.tasaus-kampanja {
  background-color: #e3147e;
  color: white;
  padding-top: 2rem;
}

#offers .omamainos.tasaus-kampanja .om-price {
  color: #e3147e;
}

#offers .omamainos.blakfraidei-kampanja .om-price {
  color: black;
}

#offers .omamainos.joulu-kampanja .om-price {
  color: red;
}

#offers .blakfraidei-kampanja li.current-listing > a,
#offers .blakfraidei-kampanja li a:hover,
#offers .joulu-kampanja li.current-listing > a,
#offers .joulu-kampanja li a:hover {
  border-bottom: 2px solid white;
}

body.autoareena .iframe-wrap iframe {
  height: 1000px;
}

.events-wrap {
  margin-top: 1em;
  padding-top: 1em;
}

@media (min-width: 1000px) {
  .navbar-expand .navbar-nav {
    margin-right: -1rem;
    margin-left: -1rem;
  }

  .navbar-expand .navbar-nav .nav-item {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-expand .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (max-width: 1200px) {
  #bottom-layer .butt {
    max-height: 120px;
  }

  #bottom-layer {
    font-size: 0.9em;
  }

  .featured-events-wrap {
    font-size: 0.9em;
  }

  #top-layer .mobi-burger {
    display: inline-block;
  }

  #top-layer .navbar,
#top-layer .ideapark-selector,
#top-layer .other-tools {
    display: none;
  }

  #top-layer #site-tools {
    flex: 0 0 60px;
  }

  #mobimenu {
    padding-top: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.72);
    color: #4a4a4a;
    display: block;
  }

  .featured-events-handle-left {
    left: -1.5em;
  }

  .featured-events-handle-right {
    right: -1.5em;
  }
}
@media (max-width: 1090px) {
  #page .container {
    max-width: 96%;
  }

  #bottom-layer .butt {
    max-height: 110px;
  }

  #front_slider .soliloquy-caption-inside {
    margin-left: 8%;
  }

  body.search #main, body.archive #main, body.single #main, body.error404 #main, body.page #main {
    padding: 0 2%;
  }

  #bottom-layer {
    font-size: 0.85em;
  }

  #bottom-layer #today {
    font-size: 0.9em;
  }

  #bottom-layer .butt img {
    padding: 30%;
  }

  #front_slider .soliloquy-caption {
    font-size: 0.95em;
    top: 25%;
  }

  #front_slider .soliloquy-fc-read-more {
    transform-origin: top left;
    transform: scale(0.9);
  }

  header .container {
    max-width: 100%;
  }

  #site-tools {
    max-width: 100%;
    flex: 0 0 20%;
  }

  .featured-events-wrap {
    font-size: 0.8em;
  }

  .calendar-title-wrap,
.event-calendar-table .th,
.event-calendar-table .calendar-day,
.event-calendar-table .td {
    font-size: 1.4em;
  }

  .calendar-title-wrap .next_month {
    padding-right: 0;
  }

  .calendar-title-wrap .previous_month {
    padding-left: 0;
  }

  #featured-news {
    font-size: 0.8em;
  }

  #footer-widgets .row {
    flex-wrap: wrap;
  }

  #f_left, #f_right {
    width: 100%;
    flex-basis: 100%;
  }

  #f_mid_right {
    border-right: none;
  }

  #footer_left {
    max-width: 280px;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  #front_slider .soliloquy-caption-inside {
    margin-left: 4%;
  }

  #front_slider .soliloquy-caption-inside {
    width: 50%;
  }

  #front_slider h2 {
    font-size: 1.8em;
  }

  #featured-news {
    font-size: 0.9em;
  }

  #news_left .squareblocks-content-wrap .squareblocks-title {
    font-size: 0.8em;
    padding-top: 2.5rem;
  }

  #news_left {
    display: block;
  }

  #news_left .large_news,
#news_left .small_news {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    max-width: 100%;
  }

  .sqb_cat_label {
    top: 1em;
  }

  #featured-news .news-boxes {
    flex: 0 0 60%;
    max-width: 100%;
  }

  #featured-news .news-list {
    flex: 0 0 40%;
    max-width: 100%;
  }

  #front_slider .soliloquy-caption {
    font-size: 0.85em;
  }

  #bottom-layer #today {
    font-size: 0.8em;
  }

  #front_slider .soliloquy-fc-read-more {
    transform: scale(0.8);
    bottom: -3.2em;
  }

  #bottom-layer {
    padding: 0;
  }

  #bottom-layer .container {
    max-width: 100%;
  }

  #site-tools {
    flex: 0 0 25%;
  }

  .calendar-title-wrap,
.event-calendar-table .th,
.event-calendar-table .calendar-day,
.event-calendar-table .td {
    font-size: 1.2em;
  }

  .custom_shop_listing_columns {
    columns: 2;
  }

  .featured-events-wrap .row .featured-event:nth-child(n+4) {
    display: none;
  }

  .featured-events-wrap .featured-event {
    max-width: 33.33%;
    width: 33.33%;
  }
}
@media (max-width: 760px) {
  header .logomask img {
    max-width: 60px;
    min-width: 30px;
  }

  article.rtm_kauppa .post-media {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0 2rem 0;
  }

  article.rtm_kauppa .shop-content,
article.rtm_tapahtuma .event-content {
    padding-left: 0;
  }

  article.rtm_tapahtuma,
article.rtm_kauppa {
    flex-direction: column;
  }

  article.rtm_tapahtuma .post-thumbnail,
article.rtm_tapahtuma .event-content,
article.rtm_kauppa .post-thumbnail,
article.rtm_kauppa .shop-content {
    padding-right: 0;
    padding-left: 0;
    flex: 0 0 100%;
    max-width: 100%;
    border-left: none;
  }

  article.rtm_tapahtuma .post-thumbnail img,
article.rtm_kauppa .post-thumbnail img {
    position: static;
    transform: none;
    height: auto;
  }

  #bottom-layer .container .row {
    transform: none;
  }

  #bottom-layer {
    position: static;
    margin-top: -1.5em;
  }

  #bottom-layer .butt {
    border-bottom: 1px solid #66a9aa;
    border-left: 1px solid #66a9aa;
  }

  #bottom-layer .butt img.icon-light {
    display: none;
  }

  #bottom-layer .butt img.icon-green {
    display: inline-block;
  }

  #bottom-layer .butt:first-child {
    border-left: none;
  }

  #bottom-layer .butt {
    max-height: 100px;
  }

  #bottom-layer .butt-caption {
    color: #66a9aa;
  }

  #bottom-layer .container {
    padding: 0;
  }

  #bottom-layer .today-hours-link,
#bottom-layer #today {
    border: none;
    background-color: #66a9aa;
  }

  #bottom-layer #today {
    font-family: MuseoSans-500;
    font-size: 0.8em;
  }

  .autoareena-content .row {
    flex-direction: column-reverse;
  }

  .autoareena-content .row .col-6 {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  #site-tools {
    flex: 0 0 160px;
  }

  .calendar-title-wrap,
.event-calendar-table .th,
.event-calendar-table .calendar-day,
.event-calendar-table .td {
    font-size: 1em;
  }

  .calendar-title-wrap {
    font-size: 1.2em;
    color: #4a4a4a;
    margin-bottom: 2rem;
  }

  .events-listing-title-wrap {
    display: none;
  }

  #events-calendar .omamainos-calendar,
#events-calendar .omamainos-event-listing-wrap {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .event-calendar-table {
    padding: 0;
  }

  #events-calendar .calendar-day,
#events-calendar .th {
    display: none;
  }

  #bottom-layer .butt-caption {
    font-size: 0.8em;
  }

  .featured-events-handle {
    display: none;
  }

  .featured-events-wrap .row {
    flex-wrap: wrap;
  }

  .featured-events-wrap .row .featured-event:nth-child(n+5) {
    display: none;
  }

  .featured-events-wrap .featured-event {
    max-width: 50%;
    width: 50%;
  }

  #front_banners,
#front_content_2,
#front_content_1 {
    display: block;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.2rem;
  }

  #front_banners {
    padding-top: 10px;
  }

  #front_banners .widget {
    margin-bottom: 10px !important;
  }

  #front_content_1 {
    line-height: 0;
  }

  #front_slider .soliloquy-caption-top {
    left: 50%;
  }
}
@media (max-width: 600px) {
  .custom_shop_listing_columns {
    columns: 1;
  }

  #front_slider img.soliloquy-image {
    -mozilla-filter: brightness(80%);
    -webkit-filter: brightness(80%);
    filter: brightness(80%);
  }

  #featured-news .row {
    flex-direction: column;
  }

  #kaikki-uutiset {
    text-align: center;
  }

  #kaikki-uutiset img {
    max-width: 60%;
  }

  #bottom-layer #map-link {
    order: 2;
  }

  #bottom-layer #arrival-link {
    order: 3;
  }

  #bottom-layer #events-link {
    order: 4;
  }

  #bottom-layer #opening-hours-link {
    display: none;
  }

  #bottom-layer #today {
    order: 1;
    flex-basis: 100%;
    font-size: 1.2em;
  }

  #bottom-layer .today-title {
    font-family: MuseoSans-500;
  }

  #bottom-layer .today-hours-link {
    text-decoration: underline;
  }

  #bottom-layer .butt-caption {
    font-size: 1em;
    padding-bottom: 0.3em;
  }

  #bottom-layer .row {
    flex-wrap: wrap;
  }

  #bottom-layer .butt img {
    padding: 10%;
  }

  #bottom-layer #nyt-link img {
    padding: 0;
    transform: scale(1);
  }

  .featured-events-wrap .event-wrap {
    padding: 1rem;
  }

  .featured-events-wrap .event-time-label {
    font-size: 1.1em;
  }

  .featured-event .event-details {
    padding-top: 0.5em;
    font-size: 1.2em;
  }

  .featured-events-wrap .event-title {
    margin: 0.7em 0;
    font-size: 1.2em;
  }

  .featured-events-wrap .row {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .featured-events-wrap .container {
    padding-right: 0;
    padding-left: 0;
  }

  .featured-events-wrap .row .featured-event:nth-child(n+4) {
    display: none;
  }

  .featured-events-wrap .featured-event {
    max-width: 100%;
    width: 100%;
  }

  #front_content_2,
#front_content_1 {
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }

  #f_left {
    padding: 0;
  }

  #f_mid_left, #f_mid_right, #f_mid {
    flex-basis: 100%;
    width: 100%;
    border-right: none;
  }

  #f_mid_left, #f_mid {
    border-bottom: 1px solid #5c768b;
  }

  #f_mid_left, #f_mid {
    padding-bottom: 1em;
  }

  #f_mid, #f_mid_right {
    margin-top: 2em;
  }

  #f_right {
    font-size: 0.9em;
  }

  #footer_right {
    text-align: center;
  }

  #footer-widgets {
    padding: 0 8%;
  }

  #footer_bottom {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 3em 0;
  }

  #footer_bottom .widget_nav_menu {
    padding: 1em 0;
  }

  #footer_bottom .widget_nav_menu .flex-column {
    justify-content: center;
  }

  #front_slider .soliloquy-container .soliloquy-caption {
    padding: 0 8%;
    display: block;
    left: 0;
  }

  #front_slider .soliloquy-caption-inside {
    text-align: center;
    width: 100%;
    margin-left: 0;
  }

  #front_slider .soliloquy-fc-content p {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #front_slider .soliloquy-fc-read-more {
    margin-top: 1em;
    position: static;
  }

  #front_slider .soliloquy-caption-top {
    top: 65%;
    transform: translateY(-50%);
  }

  #front_slider .soliloquy-fc-content {
    font-size: 1em;
  }

  #bottom-layer .today-title {
    font-size: 1em;
  }

  #bottom-layer .butt .today-hours {
    font-size: 2em;
  }

  body.home .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-read-more {
    font-size: 0.8em;
  }

  #front_slider .soliloquy-viewport {
    height: auto !important;
  }

  #front_slider .soliloquy-container .soliloquy-image {
    width: 120%;
    max-width: 120%;
    margin-left: -10%;
  }

  #mobimenu .row {
    justify-content: right;
    flex-direction: row-reverse;
  }

  .mobimenu-left {
    display: none;
  }

  .mobimenu-container {
    flex: 0 0 240px;
    max-width: 100%;
  }
}
@media (max-width: 500px) {
  #bottom-layer .butt img {
    padding: 12%;
  }
}
@media (max-width: 460px) {
  #bottom-layer .butt-caption {
    padding-bottom: 0.1em;
  }

  #front_slider h2 {
    font-size: 2.2em;
  }

  header .logomask img {
    max-width: 50px;
    min-width: 30px;
  }

  #bottom-layer .butt img {
    padding: 12%;
  }
}
@media (max-width: 400px) {
  #front_slider h2 {
    font-size: 2em;
  }

  #bottom-layer .butt img {
    padding: 12%;
  }

  #bottom-layer .butt-caption {
    padding-bottom: 0;
  }

  #front_slider .soliloquy-viewport {
    transform: scale(0.9);
  }
}
@media (max-width: 380px) {
  #front_slider .soliloquy-viewport {
    transform: scale(0.8);
  }

  #front_slider .soliloquy-fc-content p {
    color: transparent;
    font-size: 0;
    line-height: 0;
  }

  #front_slider .soliloquy-fc-content p a {
    font-size: 1rem;
    line-height: 1.2em;
    width: 100vw;
    position: absolute;
  }
}
.prisma-wrap {
  display: inline-block;
}

.prisma {
  display: inline-block;
  margin-left: 1em;
}

body.home .prisma-wrap {
  display: block;
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: -1px;
  left: 0;
}

body.home .prisma {
  margin-left: 0;
  display: inline-block;
  font-size: 0.7rem;
  background-color: rgba(96, 165, 149, 0.3);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: normal;
}

/* omamainos kampanjat */
body.home .widget_custom_html .morewrap {
  margin-bottom: 2em;
}

#offers .container {
  padding-left: 0;
  padding-right: 0;
}

#offers .tasaus-kampanja h3 {
  font-family: "HouseGenCol-Countryhouse";
}

#offers .omamainos.tasaus-kampanja .omamainos-product-wrap,
#offers .rtm_omamainosoffers_widget.tasaus-kampanja {
  background-color: #e3147e;
  color: white;
  padding-top: 2rem;
}

#offers .omamainos.tasaus-kampanja .om-price {
  color: #e3147e;
}

#offers .omamainos.tasaus-kampanja .omamainos-product-wrap {
  padding: 10px;
}

#offers .tasaus-kampanja li.current-listing > a,
#offers .tasaus-kampanja li a:hover {
  border-bottom: 2px solid white;
}

#offers h3.widget-title {
  position: relative;
}

#offers h3 span.call-to-action {
  display: block;
  font-size: 1rem;
}

#offers .navbar-nav {
  flex-direction: row !important;
}

article .pwll_cover {
  width: 4rem;
  margin: 4px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

article .pwll_issue_listing,
article .pwll_current_wrap {
  max-width: 100%;
  margin-bottom: 2rem;
}

article .pwll_current_wrap.wide,
article .pwll_current_wrap.fullwidth {
  width: 100%;
}

article .pwll_current_wrap.mini,
article .pwll_current_wrap.small {
  display: inline-block;
  vertical-align: bottom;
  margin-right: 3rem;
  font-size: 80%;
}

article .pwll_current_wrap.small {
  width: 12rem;
}

article .pwll_current_wrap.mini {
  width: 8rem;
}

@media screen and (max-width: 768px) {
  article .pwll_current_wrap.small {
    display: block;
    margin-left: 1rem;
  }

  article .pwll_current_wrap.mini {
    margin-left: 1rem;
  }
}
article .pwll_row {
  display: flex;
}

article .pwll_current_wrap.mini .pwll_row,
article .pwll_current_wrap.small .pwll_row {
  flex-direction: column;
}

article .pwll_current_wrap.mini .pwll_details,
article .pwll_current_wrap.small .pwll_details {
  padding: 0.5rem 0;
}

article.pwll_issue_cover img {
  max-width: 100%;
}

article .pwll_details,
article .pwll_issue_cover {
  display: inline-block;
  width: 50%;
}

article .pwll_issue_cover {
  line-height: 0;
}

article .pwll_details {
  padding: 1rem;
}

article .pwll_issue_label {
  display: none;
}

article .pwll_issue_title {
  display: block;
  text-decoration: none;
  font-size: 1.6em;
  font-weight: bold;
  color: #808080 !important;
}

article .pwll_issue_link {
  display: inline-block;
  padding: 0.2rem;
  margin-bottom: 1rem;
}

article .pwll_issue_link .pwll_issue_details {
  width: 6rem;
}

article .pwll_issue_link img {
  width: 6rem;
  height: auto;
  margin: 0.2rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
}

article .pwll_issue_link:hover img {
  transform: scale(1.01);
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}

article .pwll_issue_listing .raquo,
article .pwll_issue_listing .pwll_monthly_issues {
  display: none;
}

.pwll_issue_cover,
.pwll_issue_link {
  position: relative;
}

.pwll_current_wrap .pwll_issue_cover {
  align-self: flex-end;
}

.pwll_item_avaa {
  color: white;
  padding: 0.2rem 0.6rem;
  background-color: #384855;
  font-size: 1.1em;
  line-height: 1.1em;
  position: absolute;
  bottom: 1rem;
  left: 0;
}

@media screen and (max-width: 768px) {
  .pwll_current_wrap {
    font-size: 0.8em;
  }
}
.pwll_img_wrapper {
  position: relative;
}

.pwll_issues_wrap {
  display: flex;
  flex-wrap: wrap;
}

.pwll_current_wrap .pwll_item_avaa {
  font-size: 1.8em;
}

.pwll_img_wrapper {
  position: relative;
}

.pwll_issues_wrap {
  display: flex;
  flex-wrap: wrap;
}

.pwll_issue_listing .pwll_issue_details {
  width: 100%;
  text-align: center;
  color: #a0a0a0;
  margin-top: 0;
  line-height: 1.1em;
  font-size: 0.9em;
}

.pwll_issue_listing .pwll_issue_details span {
  display: block;
}

.pwll_year_toggle {
  cursor: pointer;
}

article h5.pwll_month_label {
  font-size: 1.3rem;
}

.pwll_archive_button {
  color: white !important;
  background-color: rgba(0, 88, 155, 0.7) !important;
  border-radius: 0.2rem;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  padding: 0.2em 1em;
  font-size: 1em;
  font-weight: normal !important;
}

.fa,
.icon {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  text-rendering: auto;
}

.fa-2x,
.icon-2x {
  font-size: 2em;
}

.icon-times:before,
.fa-times:before {
  content: "";
}

.icon-window-close:before,
.fa-window-close:before {
  content: "";
}

.fa-heart:before {
  content: "";
}

.fa-heart-o:before {
  content: "";
}

.fa-info-circle:before {
  content: "";
}

.fa-arrow-circle-right:before {
  content: "";
}

.fa-map-marker:before,
.icon-map-marker:before {
  content: "";
}

.fa-phone-square:before,
.icon-phone:before {
  content: "";
}

.fa-print:before,
.icon-print:before {
  content: "";
}

.fa-chain-broken:before,
.icon-chain-broken:before {
  content: "";
}

.fa-envelope-o:before,
.icon-envelope-o:before {
  content: "";
}

.icon-search:before {
  content: "";
}

.icon-user:before {
  content: "";
}

.icon-sign-in:before {
  content: "";
}

.icon-sign-out:before {
  content: "";
}

.icon-gold:before {
  content: "";
}

.icon-diamond:before {
  content: "";
}

.icon-coffee:before {
  content: "";
}

.icon-edit:before {
  content: "";
}

.icon-home:before {
  content: "";
}

.icon-trash:before {
  content: "";
}

.icon-calendar:before {
  content: "";
}

.icon-download:before {
  content: "";
}

.icon-facebook:before {
  content: "";
}

.icon-facebook-square:before {
  content: "";
}

.icon-twitter:before {
  content: "";
}

.icon-twitter-square:before {
  content: "";
}

.icon-instagram:before {
  content: "";
}

.icon-rss-square:before {
  content: "";
}

.icon-chevron-right:before {
  content: "";
}

.icon-chevron-up:before {
  content: "";
}

.fa-chevron-circle-down:before,
.icon-chevron-circle-down:before {
  content: "";
}

.icon-circle:before {
  content: "";
}

.icon-bars:before {
  content: "";
}

.icon-times:before {
  content: "";
}

.icon-user:before {
  content: "";
}

.icon-user-o:before {
  content: "";
}

.icon-plus:before {
  content: "";
}

.icon-plus-circle:before {
  content: "";
}

/*
.icon-minus-circle:before {
	content:"\f056";
}
*/
.icon-circle-o:before {
  content: "";
}

.icon-minus:before {
  content: "";
}

.icon-inverse {
  color: #fff;
}

.icon-lg {
  font-size: 1.3333333em;
}

.icon-stack {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
}

.icon-stack-1x, .icon-stack-2x {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}

.icon-stack-1x {
  line-height: inherit;
}

.icon-stack-2x {
  font-size: 2em;
}

.icon-ul {
  list-style-type: none;
  list-style: none;
  margin-left: 1.875em;
  padding-left: 0;
}

.icon-li {
  position: absolute;
  left: -1.875em;
  width: 1.875em;
  top: 0.14285714em;
  text-align: center;
}

.icon-ul > li {
  position: relative;
}

#content .lounasalueet {
  display: flex;
  padding: 1rem 0.3rem;
  flex-wrap: wrap;
  max-width: 100%;
  font-size: 1rem;
}

.lounasalueet label {
  margin-right: 1rem;
  white-space: nowrap;
}

.lounasalueet input[type=checkbox] {
  transform: scale(1.8);
  margin-right: 1rem;
  margin-left: 0.4rem;
}

.lounasalueet > span {
  display: inline-block;
  margin: 0.5rem 0;
}

.lounasviikko {
  display: flex;
  align-items: stretch;
  justify-content: center;
  line-height: 0;
}

.lounaspaiva {
  line-height: 1.4;
  font-weight: bold;
}

.to-next-week {
  padding: 0 0 0.5rem 0;
}

.to-next-week.right {
  text-align: right;
}

.to-next-week.left {
  text-align: left;
}

.lounaspaiva {
  width: calc(100% / 7 + 2px);
  display: inline-block;
  padding: 0;
  cursor: pointer;
  font-weight: bold;
  margin-left: -2px;
  border: 2px solid #7eb735;
}

.lounaspaiva:first-child {
  width: calc(100% / 7);
  margin-left: 0;
}

.lounaspaiva:hover {
  background-color: #f0f0f0;
}

.lounaspaiva span.label {
  text-align: center;
  margin: 0 0.1rem;
  width: 100%;
  height: 100%;
  display: inline-block;
  padding: 0.5rem 0.2rem;
  font-size: 0.8rem;
}

.lounaspaiva.current {
  border: 2px solid #7eb735;
  background-color: #7eb735;
  color: white;
}

.lounaspaiva span.mobile-label {
  display: none;
}

@media screen and (max-width: 1019px) {
  .lounaspaiva span.desktop-label {
    display: none;
  }

  .lounaspaiva span.mobile-label {
    display: inline-block;
  }

  .lounaspaiva:first-child,
.lounaspaiva {
    position: relative;
  }

  .lounaspaiva:before {
    content: "";
    float: left;
    padding-top: 100%;
  }

  .lounaspaiva span.mobile-label {
    display: inline-block;
    font-size: 1.2rem;
    width: 100%;
    position: relative;
    display: inline-block;
  }

  .lounaspaiva span.mobile-label-inner {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
  }

  .lounaspaiva span.numeric-date {
    display: block;
  }
}
@media screen and (max-width: 1019px) {
  .lounaspaiva span.mobile-label {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 720px) {
  .lounaspaiva span.mobile-label {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 620px) {
  .lounaspaiva span.mobile-label {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 560px) {
  .lounaspaiva span.mobile-label {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 500px) {
  .lounaspaiva span.mobile-label {
    font-size: 1rem;
  }
}
@media screen and (max-width: 400px) {
  .lounaspaiva span.mobile-label {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 360px) {
  .lounaspaiva span.mobile-label {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 320px) {
  .lounaspaiva span.mobile-label {
    font-size: 0.6rem;
  }
}
@media screen and (max-width: 750px) {
  .lounasalueet {
    flex-direction: column;
  }
}
.lounasalueet label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.lounasalueet input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.lounasalueet label .alt-checkbox {
  position: absolute;
  top: -3px;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #7eb735;
  border-radius: 5px;
  border: 2px solid #7eb735;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
}

.lounasalueet label .alt-checkbox:after {
  position: absolute;
  top: 12px;
  left: 12px;
  content: "";
  height: 0;
  width: 0;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(0deg) scale(0);
  -ms-transform: rotate(0deg) scale(0);
  transform: rotate(0deg) scale(0);
  opacity: 1;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  cursor: pointer;
}

.lounasalueet label input:checked ~ .alt-checkbox:after {
  -webkit-transform: rotate(45deg) scale(1);
  -ms-transform: rotate(45deg) scale(1);
  transform: rotate(45deg) scale(1);
  opacity: 1;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  background-color: transparent;
  border-radius: 0;
}

.lounaat a {
  color: #7eb735;
}

body.home .event-meta-time {
  display: none;
}

.entry-content figure {
  max-width: 100%;
}

#aihesivun-nostot {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

body.vastuullisuus .content-area {
  font-family: "MuseoSans-300";
  font-size: 20px;
  line-height: 24px;
}

body.vastuullisuus .content-area h1 {
  font-family: "MuseoSans-900";
  font-size: 26px;
  line-height: 31px;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.aihesivusto-nostot-inner {
  padding: 0 8%;
}

.aihesivun-nostot-container {
  padding: 1rem 3rem;
}

.aihesivun-nostot-row {
  display: flex;
}

.aihesivunosto {
  width: 50%;
}

.aihesivunosto-inner {
  padding: 0.5rem;
}

.aihesivusto-content img,
.aihesivunosto-inner img {
  max-width: 100%;
  height: auto !important;
}

.aihesivusto-image {
  position: relative;
  margin-left: -15px;
  margin-right: -15px;
}

.aihesivu-title,
.aihesivun-nostot-title {
  font-family: "MuseoSans-900";
  font-size: 26px;
  line-height: 31px;
  margin: 1rem 0;
}

.aihesivun-ote {
  font-family: "MuseoSans-300";
  font-size: 20px;
  line-height: 24px;
}

.aihesivu-linkki {
  font-size: 18px;
  line-height: 22px;
  text-transform: uppercase;
}

.aihesivu-linkki,
.aihesivu-title,
.aihesivu-ote {
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

.aihesivu-linkki,
.aihesivu-linkki a {
  color: #328D2E;
}

.aihesivu-linkki a {
  display: inline-block;
  font-family: "MuseoSans-900";
  border-bottom: 3px solid #7eb735;
}

.aihesivu-linkki {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#aihesivusto-nav {
  font-family: "MuseoSans-900";
  font-size: 13px;
  line-height: 15px;
  text-transform: uppercase;
}

#aihesivusto-nav a {
  color: #4a4a4a;
}

#aihesivusto-nav .current-menu-item a {
  color: #c4c4c4;
}

#aihesivusto-nav .nav-link {
  white-space: nowrap;
  margin-right: 1rem;
}

#aihesivusto-nav .navbar-nav {
  flex-wrap: wrap;
}

.aihesivusto-content .wp-post-image {
  max-width: 100%;
  height: auto !important;
}

body.vastuullisuus.page-child .aihesivusto-content-body {
  padding-left: 10%;
  padding-top: 4rem;
}

body.vastuullisuus.page-child .aihesivusto-content-body h1,
body.vastuullisuus.page-child .aihesivusto-content-body p {
  max-width: 60%;
}

body.vastuullisuus.page-child .aihesivusto-content-body {
  padding-bottom: 6rem;
}

.hero-wrapper {
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 80px;
  width: 50%;
  margin-top: 1rem;
}

.hero-image img {
  padding-right: 80px;
  align-self: flex-end;
}

.hero-container {
  position: relative;
  top: 0;
  left: 0;
}

.hero-content > span {
  display: inline-block;
}

.hero-view {
  height: 100%;
  width: 100%;
  position: relative;
  font-family: "MuseoSans-300", sans-serif;
  font-size: 1rem;
}

.hero-bg, .hero-imag {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-bg {
  z-index: 9;
}

.hero-image {
  z-index: 10;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
}

#hero-title-view {
  font-family: "Abril Fatface", cursive;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-size: 2.5rem;
}

#hero-excerpt-view {
  line-height: 1.4;
  font-size: 1rem;
  margin-bottom: 1em;
  font-size: 1rem;
}

#hero-link-view {
  border: 1px solid #4a4a4a;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-family: MuseoSans-900;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: #4a4a4a;
}

.hero-cta-view-label {
  display: inline-block;
}

#hero-cta-wrapper {
  padding-bottom: 1rem;
  padding-top: 2rem;
}

.hero-image {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-image img {
  height: auto;
  width: 50%;
  max-height: 100%;
}

#hero-title-view img {
  display: none;
}

.mobile-hero-excerpt-box {
  padding: 2rem 0;
}

#mobile-hero-excerpt {
  display: none;
}

@media screen and (max-width: 800px) {
  .hero-image img {
    display: none;
  }

  #hero-title-view {
    min-height: 40vw;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 0;
  }

  #hero-title-text {
    display: inline-block;
    position: relative;
    z-index: 10;
    padding: 1rem;
    text-align: center;
  }

  #hero-title-view img {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    object-fit: contain;
    z-index: 5;
  }

  #hero-title-shade {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 8;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  }

  .dark-text #hero-title-shade {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
  }

  .hero-content {
    width: 100%;
    padding: 0;
  }

  #hero-excerpt-view,
#hero-cta-wrapper {
    padding-left: 8%;
    padding-right: 8%;
    margin: 0;
    text-align: center;
  }

  #hero-excerpt-view {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  #hero-cta-wrapper {
    padding-top: 0;
    padding-bottom: 2rem;
  }
}
@media screen and (min-width: 801px) {
  #hero-excerpt-view, #hero-cta-wrapper {
    background-color: transparent !important;
  }
}
