/**
 *
 * 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. Layout
 * 4. Navigation
 * 5. Modules
 * 6. Widgets / Aside
 * 7. WooCommerce
 * 8. Forms
 * 9. Buttons
 * 10. IE overrides
 * 11. Misc.
 *
 */
/*-----------------------------------------------------------------------------
   Sass elements
-----------------------------------------------------------------------------*/
/* Partials */
/* Variables */
/* Mixins */
/*-----------------------------------------------------------------------------
   Typography
-----------------------------------------------------------------------------*/
/* Body
-----------------------------------------------------------------------------*/
html {
  font-size: 16px;
}

body {
  font-size: 1rem;
  font-family: 'Oswald', sans-serif;
  line-height: 1.45;
  font-weight: 300;
  color: #444444;
  padding-top: 120px;
}

p, ul, ol, dl {
  margin-bottom: 1.5em;
}

@media (max-width: 1440px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 991px) {
  body {
    padding-top: 60px;
  }
}
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
}
/* Headers
-----------------------------------------------------------------------------*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: #282828;
  font-weight: 600;
  text-transform: uppercase;
}

h1, .h1 {
  font-size: 3.375rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2, .h2 {
  font-size: 1.875rem;
  letter-spacing: -0.02em;
}

h3, .h3,
#secondary .widget-title {
  font-size: 1.3rem;
}

h4, .h4 {
  font-size: 1.125rem;
}

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

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

h1, .h1,
h2, .h2,
h3, .h3,
#secondary .widget-title {
  margin: 0.35em 0 0.75em;
}

.single-tapahtuma h1,
.single-product h1 {
  margin-bottom: 0.35em;
}

#primary .entry-content h2 {
  color: #f45314;
}

#primary .entry-content .h3 {
  color: #282828;
}

.page-id-155 #primary .entry-header .entry-title,
.post-144 {
  text-align: center;
}

@media screen and (max-width: 991px) {
  h1, .h1 {
    font-size: 2.75rem;
  }
}
@media screen and (max-width: 767px) {
  h1, .h1 {
    font-size: 1.875rem;
  }

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

  h3, .h3,
  #secondary .widget-title {
    font-size: 1.2rem;
  }

  h4, .h4,
  h5, .h5,
  h6, .h6 {
    font-size: 1rem;
  }
}
.padded .entry-title,
.padded-sm .entry-title,
.padded-lg .entry-title,
.padded .page-title,
.padded-sm .page-title,
.padded-lg .page-title {
  margin-top: 0;
}

.dim {
  color: #888;
}

.pale {
  color: #fff;
}

.primary-color {
  color: #f45314;
}

.white {
  background: #fff;
}

.grey,
.gray {
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

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

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

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

.size-larger {
  font-size: 1.15rem;
  line-height: 1.55;
}

.size-smaller {
  font-size: 0.88888889rem;
}

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

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

.centered-textblock,
.post-144 {
  max-width: 640px;
  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: #f45314;
  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: #f45314;
}

@media screen and (max-width: 767px) {
  .size-smaller {
    font-size: 0.94444444rem;
  }
}
/* Links
-----------------------------------------------------------------------------*/
a {
  color: #f45314;
  -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: #e74c0f;
}

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

/*-----------------------------------------------------------------------------
   Layout
-----------------------------------------------------------------------------*/
/* Body
-----------------------------------------------------------------------------*/
@media screen and (min-width: 1280px) {
  .container {
    max-width: 1220px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .row {
    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 {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 1441px) {
  .container {
    max-width: 1320px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
  }

  .row {
    margin-left: -25px;
    margin-right: -25px;
  }

  .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 {
    padding-left: 25px;
    padding-right: 25px;
  }
}
/* Header
-----------------------------------------------------------------------------*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: #111;
  z-index: 10003;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  -ms-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.site-title {
  font-size: 1rem;
  margin: 17px 0 16px;
}

.site-title img {
  height: 27px;
  width: auto;
  vertical-align: top;
  -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;
}

.map a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 15px;
  text-decoration: none !important;
}

.map a:hover {
  color: #e74c0f;
}

.map .fa-map-marker-alt {
  font-size: 24px;
  margin-right: 5px;
}

.icos {
	display:inline;
}

.icos ul {
  margin: 0;
}

.icos li {
  display: inline-block;
  vertical-align: top;
}

.icos a {
  display: inline-block;
  color: #fff;
  padding: 18px 3px;
  font-size: 20px;
  line-height: 24px;
  vertical-align: top;
}

.icos a:hover {
  opacity:0.8;
}

.icos img {
  width:24px;
  height:24px;
  vertical-align:top;
}

@media (max-width: 991px) {
  .site-header {
    height: 60px;
  }

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

  .icos ul {
    margin-right: 75px;
  }
}
@media (max-width: 767px) {
  .logo {
    padding: 0;
    min-width: 140px;
  }

  .site-title {
    font-size: 1rem;
    margin: 20px 0;
  }

  .site-title img {
    height: 20px;
  }

  .map .fa-map-marker-alt {
    font-size: 26px;
    margin-top: 2px;
  }

  .map span {
    display: none;
  }
}
/* Footer
-----------------------------------------------------------------------------*/
.site-footer {
  background: #111;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  padding: 3em 0;
  text-transform: uppercase;
}

.site-footer h2 {
  font-size: 26px;
  margin-top: 0;
  color: inherit;
  line-height: 28px;
  margin-bottom: 15px;
}

.site-footer p {
  margin-bottom: 15px;
}

.footer-col-1 {
  float: left;
  margin-right: 25px;
}

.footer-col-2 {
  float: right;
}

.footer-logo {
  line-height: 28px;
}

.footer-logo img {
  height: 24px;
  width: auto;
  vertical-align: middle;
}

.footer-logo-round img {
  max-width: 160px;
  height: auto;
  width: 100%;
}

.footer-nav .menu-item {
  float: left;
  width: 50%;
  padding-right: 15px;
}

.footer-nav a {
  color: inherit;
}

.site-footer .icos .list-inline {
  margin: 0;
  display: block !important;
}

@media (max-width: 1199px) {
  .footer-logo-round img {
    max-width: 140px;
  }
}
@media (max-width: 991px) {
  .site-footer {
    text-align: center !important;
  }

  .site-footer .row {
    display: block;
  }

  .site-footer .col {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .site-footer .footer-col-1,
  .site-footer .footer-col-2 {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 2.5em;
  }

  .footer-logo-round {
    margin-bottom: 2.5em;
  }

  .footer-nav {
    margin-bottom: 1.5em;
  }

  .footer-nav .menu-item {
    float: none;
    width: 100%;
    padding-right: 0;
  }
}
/*-----------------------------------------------------------------------------
   Navigation
-----------------------------------------------------------------------------*/

.wpml-ls {
	display:inline;
	border:0;
	clear:none;
	padding:0;
	margin-right:15px;
}

.site-header .container .wpml-ls ul {
	display:inline;
}

.wpml-ls a {
	line-height:18px;
	padding:18px 5px;
	text-transform:uppercase;
	color:#888;
	font-weight:bold;
	text-decoration:none;
}

.wpml-ls a:hover,
.wpml-ls-current-language a {
	color:#fff;
}

.site-header .container .wpml-ls span {
	display:none;
}

@media (max-width:767px) {
	.site-header .container .wpml-ls {
		display:none;
	}
}

.navbar .wpml-ls {
	display:block;
	background:#111;
	margin:0;
	padding:0 10px;
	text-align:center;
}

.navbar .wpml-ls a {
	line-height:1;
	padding:15px 5px;
	font-size:1.15rem;
}

@media (min-width:768px) {
	.navbar .wpml-ls {
		display:none;
	}
}


.navbar #menu-item-200,
.navbar #menu-item-12187 {
  display: none !important;
}

@media screen and (min-width: 992px) {
  .navbar-light {
    padding: 0;
    background: #fff;
  }

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

  .navbar-light .navbar-nav .nav-link {
    background: none !important;
    color: #282828;
    padding: 21px 20px 22px;
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    -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;
  }

  .scrolled .navbar-light .navbar-nav .nav-link {
    font-size: 17px;
  }

  .navbar-light .navbar-nav > li > .nav-link:hover,
  .navbar-light .navbar-nav > li > .nav-link:focus,
  .navbar-light .navbar-nav > li.current-menu-item > .nav-link,
  .navbar-light .navbar-nav > li.current-menu-ancestor > .nav-link {
    color: #f45314 !important;
    text-decoration: none;
  }

  .dropdown-item {
    color: #444;
  }

  .dropdown-item:hover,
  .dropdown-item:focus,
  .dropdown-item:active {
    background-color: #f5f5f5;
    color: #444;
  }

  .dropdown-item:focus,
  .dropdown-item:active {
    background-color: #e5e5e5;
  }

  .dropdown-item.active {
    background-color: #f45314;
    color: #fff;
  }
}
@media screen and (max-width: 991px) {
  .navbar-light {
    padding: 0;
    top: 0;
  }

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

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

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

  .navbar-light .navbar-nav > li.current-menu-item > .nav-link,
  .navbar-light .navbar-nav > li.current-menu-ancestor > .nav-link {
    background-color: #ff682d;
  }

  .navbar-light .navbar-nav > li > .nav-link:hover,
  .navbar-light .navbar-nav > li > .nav-link:focus {
    background-color: #e74c0f;
    border-color: #e74c0f;
  }

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

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

  .dropdown-item.active,
  .dropdown-item:active {
    background-color: #ff682d;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background-color: #e74c0f;
    border-color: #e74c0f;
  }
}
.navbar-toggler {
  background-color: none !important;
  border: 0;
  margin: 0;
  padding: 14px 15px 16px;
  position: absolute;
  top: 0;
  right: 0;
  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;
}

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

.hamburger-inner {
  display: block;
  top: calc(50% - 2px);
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 26px;
  height: 4px;
  background-color: #fff;
  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;
}

.hamburger-inner::after {
  bottom: -9px;
}

.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

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

.hamburger--squeeze .hamburger-inner::after {
  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);
}

/*-----------------------------------------------------------------------------
   Modules
-----------------------------------------------------------------------------*/
/* Featured Event
-----------------------------------------------------------------------------*/

#Featured *,
#Featured *:hover {
  cursor:pointer;
}

#Featured {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 33.3333%;
  margin-bottom: 4em;
}

#Featured .img-link {
  position: absolute;
  width: 100%;
  height: 100%;
}

#Featured .img-blanket:after {
  background: rgba(0, 0, 0, 0.25);
}

#Featured:hover .img-blanket:after {
  background: rgba(255, 255, 255, 0.1) !important;
}

#Featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#Featured .entry-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 25px;
  max-width: 960px;
  z-index: 2;
  color: #fff;
}

#Featured h1,
#Featured .date-info {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1200px) {
  #Featured h1 {
    font-size: 3rem;
    margin-bottom: 0.25em;
  }
}
#Featured a,
#Featured span {
  color: #fff !important;
}

#Featured .date-info {
  margin-bottom: 0.4em;
}

#Featured .fb-event {
  font-size: 2rem;
  margin-left: 10px;
  color: #fff !important;
}

#Featured .fb-event:hover,
#Featured .fb-event:focus {
  color: #ff682d !important;
}

#Featured .btn-tiketti {
  margin-top:10px;
  margin-bottom: 0 !important;
}

@media (max-width: 1199px) {
  #Featured h1 {
    font-size: 2.25rem;
    margin-bottom: 0.45em;
  }

  #Featured .date-info {
    font-size: 1.5rem;
  }

  #Featured .fb-event {
    font-size: 1.5rem;
  }
}
@media (max-width: 991px) {
  #Featured {
    padding-bottom: 45%;
  }
}
@media (max-width: 767px) {
  #Featured h1 {
    font-size: 1.75rem;
    margin-bottom: 0.35em;
  }

  #Featured .date-info {
    font-size: 1.25rem;
  }

  #Featured .fb-event {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  #Featured {
    padding-bottom: 66%;
  }

  #Featured h1 {
    font-size: 1.5rem;
  }

  #Featured .date-info {
    font-size: 1.125rem;
  }

  #Featured .fb-event {
    font-size: 1.125rem;
  }
}
@media (max-width: 400px) {
  #Featured {
    display: none;
  }
}
/* Tapahtumat
-----------------------------------------------------------------------------*/
.home #Tapahtumat {
  margin-top: -120px;
  padding-top: calc(4em + 120px);
}

#tapahtumat-container {
  position: relative;
  min-height: 200px;
}

#tapahtumat-container .row {
  margin: 0 -30px;
  clear: both;
}

.searchandfilter {
  float:left;
  width: 75%;
  text-align: left;
}

.searchandfilter ul {
  margin-bottom:2.5em;
}

.searchandfilter ul,
.searchandfilter li {
  padding:0 !important;
}

.searchandfilter li li {
  display:inline-block;
  margin-right:15px;
  margin-bottom:.5em;
}

.sf-input-radio {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.list-toggler {
  position: relative;
  z-index: 11;
  float: right;
}

.ajax-loader {
  background: url(../images/oval.svg) 50% 150px no-repeat;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.search-filter-scroll-loading {
    margin: 20px auto 10px;
    height: 30px;
    width: 30px;
    clear:both;
}

#Tapahtumat .products {
  display:flex;
  flex-wrap:wrap;
  clear:both;
  margin:0 -30px;
}

#Tapahtumat .content .tapahtuma,
#Tapahtumat .products .tapahtuma {
  position: relative;
  padding: 0 30px;
  text-align: left;
  margin:0;
  margin-bottom:3em;
  font-weight:400;
}

.img-link {
  position: relative;
  display: block;
  margin-bottom: 10px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.single-tapahtuma .img-link {
  display:inline-block;
}

.img-blanket:after {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  content: '';
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0);
  -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;
}

.img-link:hover .img-blanket:after {
  background: rgba(255, 255, 255, 0.25);
}

#Tapahtumat .img-link img {
  margin-bottom:0;
}

#Tapahtumat .tapahtuma-inner .entry-content {
  padding: 0 15px;
}

.tapahtumatila {
  display: block;
  color: #f45314;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

#Tapahtumat .tapahtuma-inner a {
  color: inherit;
  text-decoration: none !important;
}

#Tapahtumat .tapahtuma-inner a:hover,
#Tapahtumat .tapahtuma-inner a:focus {
  color: #e74c0f;
}

#Tapahtumat .tapahtuma-inner .h2 {
  margin-bottom: 10px;
}

#Tapahtumat .entry-details {
  display: block;
  color: #282828;
  margin-bottom: 10px;
  line-height: 26px;
}

#Tapahtumat .tapahtuma-inner .date-info {
  margin-right:5px;
}

.tapahtuma-inner .fb-event {
  display: inline-block;
  color: #f45314 !important;
  line-height: 26px;
  text-transform: uppercase;
}

.tapahtuma-inner .fb-event img {
  width:22px !important;
  height:22px !important;
  display:inline !important;
  margin:0 !important;
  vertical-align:top;
  position:relative;
  top:2px;
}

.tapahtuma-inner .fb-event:hover {
  opacity:0.8;
}

#Tapahtumat .tapahtuma-inner .ticket-info {
  padding-left: 15px;
  padding-right: 15px;
}

.lippujen-lisatieto {
  display: block;
  margin-bottom: 10px;
}

.ticket-info .fa-ticket-alt {
  margin-right:5px;
}

#Tapahtumat .tapahtuma-inner .btn-tiketti {
  margin-top: 5px;
}

#Tapahtumat .show-as-list .tapahtuma {
  width: 100%;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 24px;
}

#Tapahtumat .show-as-list .tapahtuma-inner {
  position: relative;
  height: 100%;
  border-bottom: 3px solid #ccc;
}

#Tapahtumat .show-as-list .tapahtuma:last-of-type {
  margin-bottom: 0;
}

#Tapahtumat .show-as-list .tapahtuma:last-of-type .tapahtuma-inner {
  border-bottom: 0;
}

#Tapahtumat .show-as-list .img-link {
  float: left;
  width: 120px;
  height: auto;
  margin-right: 90px;
  margin-bottom: 30px;
}

#Tapahtumat .show-as-list .tapahtumatila {
  position: absolute;
  display: inline;
  top: 2px;
  left: 135px;
}

#Tapahtumat .show-as-list .tapahtuma .entry-content {
  float: left;
  margin-right: 35px;
  margin-bottom: 15px;
  width: calc(100% - 395px);
}

#Tapahtumat .show-as-list .tapahtuma-inner .h2 {
    font-size:1.5rem;
}

#Tapahtumat .show-as-list .tapahtuma .ticket-info {
  float: right;
  padding-right: 0;
  padding-left: 0;
  text-align: right;
  width:150px;
}

#Tapahtumat .show-as-list .tapahtuma .lippujen-lisatieto {
  margin-bottom: 10px;
}

.show-all-events {
  border-top: 3px solid #ccc;
  padding-top: 4em;
}

.home .pagination-wrap {
  display: none !important;
}

.pagination-wrap {
  padding: 0 30px;
}

.pagination {
  clear: both;
  text-align: center;
  margin: 1em auto 1.5em;
  padding: 0;
}

.pagination li {
  display: inline;
}

.pagination a,
.pagination span {
  display: block;
  background: #fff;
  color: #777;
  border: 1px solid #ccc;
  border-right: 0;
  padding: 5px 0;
  width: 30px;
  text-decoration: none !important;
}

.pagination li:last-of-type a,
.pagination li:last-of-type span {
  border-right: 1px solid #ccc;
}

.pagination a:hover,
.pagination span:hover {
  background: #f5f5f5;
}

.pagination span.current {
  background: #f45314 !important;
  color: #fff !important;
  border-color: #f45314;
}

@media (min-width: 768px) {
  .tapahtuma .img-link:after,
  .product_cat-stream .woocommerce-product-gallery__image:after,
  .product_cat-stream-en .woocommerce-product-gallery__image:after {
    display: block;
    position: absolute;
    width: 76px;
    height: 76px;
    z-index: 3;
    content: '';
    top: 0;
    right: 0;
    background-position:0 0;
    background-repeat:no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
  }

  .tapahtumaluokka-soul-rnb .img-link:after,
  .tapahtumaluokka-soul-rnb-en .img-link:after {
    background-image: url("../images/label-soul-rnb.png");
  }

  .tapahtumaluokka-blues .img-link:after,
  .tapahtumaluokka-blues-en .img-link:after {
    background-image: url("../images/label-blues.png");
  }

  .tapahtumaluokka-cinema .img-link:after,
  .tapahtumaluokka-cinema-en .img-link:after {
    background-image: url("../images/label-cinema.png");
  }

  .tapahtumaluokka-country .img-link:after,
  .tapahtumaluokka-country-en .img-link:after {
    background-image: url("../images/label-country.png");
  }

  .tapahtumaluokka-dj .img-link:after,
  .tapahtumaluokka-dj-en .img-link:after {
    background-image: url("../images/label-dj.png");
  }

  .tapahtumaluokka-electro .img-link:after,
  .tapahtumaluokka-electro-en .img-link:after {
    background-image: url("../images/label-electro.png");
  }

  .tapahtumaluokka-expo .img-link:after,
  .tapahtumaluokka-expo-en .img-link:after {
    background-image: url("../images/label-expo.png");
  }

  .tapahtumaluokka-folk .img-link:after,
  .tapahtumaluokka-folk-en .img-link:after {
    background-image: url("../images/label-folk.png");
  }

  .tapahtumaluokka-gothic .img-link:after,
  .tapahtumaluokka-gothic-en .img-link:after,
  .tapahtumaluokka-cothic .img-link:after,
  .tapahtumaluokka-cothic-en .img-link:after {
    background-image: url("../images/label-gothic.png");
  }

  .tapahtumaluokka-hc .img-link:after,
  .tapahtumaluokka-hc-en .img-link:after {
    background-image: url("../images/label-hc.png");
  }

  .tapahtumaluokka-indie .img-link:after,
  .tapahtumaluokka-indie-en .img-link:after {
    background-image: url("../images/label-indie.png");
  }

  .tapahtumaluokka-industrial .img-link:after,
  .tapahtumaluokka-industrial-en .img-link:after {
    background-image: url("../images/label-industrial.png");
  }

  .tapahtumaluokka-iskelma .img-link:after,
  .tapahtumaluokka-iskelma-en .img-link:after {
    background-image: url("../images/label-iskelma.png");
  }

  .tapahtumaluokka-jazz .img-link:after,
  .tapahtumaluokka-jazz-en .img-link:after {
    background-image: url("../images/label-jazz.png");
  }

  .tapahtumaluokka-live .img-link:after,
  .tapahtumaluokka-live-en .img-link:after {
    background-image: url("../images/label-live.png");
  }

  .tapahtumaluokka-metal .img-link:after,
  .tapahtumaluokka-metal-en .img-link:after {
    background-image: url("../images/label-metal.png");
  }

  .tapahtumaluokka-other .img-link:after,
  .tapahtumaluokka-other-en .img-link:after {
    background-image: url("../images/label-other.png");
  }

  .tapahtumaluokka-pop .img-link:after,
  .tapahtumaluokka-pop-en .img-link:after {
    background-image: url("../images/label-pop.png");
  }

  .tapahtumaluokka-proge .img-link:after,
  .tapahtumaluokka-proge-en .img-link:after {
    background-image: url("../images/label-proge.png");
  }

  .tapahtumaluokka-punk .img-link:after,
  .tapahtumaluokka-punk-en .img-link:after {
    background-image: url("../images/label-punk.png");
  }

  .tapahtumaluokka-rap .img-link:after,
  .tapahtumaluokka-rap-en .img-link:after {
    background-image: url("../images/label-rap.png");
  }

  .tapahtumaluokka-rock .img-link:after,
  .tapahtumaluokka-rock-en .img-link:after {
    background-image: url("../images/label-rock.png");
  }

  .tapahtumaluokka-stand-up .img-link:after,
  .tapahtumaluokka-stand-up-en .img-link:after {
    background-image: url("../images/label-stand-up.png");
  }

  .tapahtumaluokka-stoner .img-link:after,
  .tapahtumaluokka-stoner-en .img-link:after {
    background-image: url("../images/label-stoner.png");
  }

  .product_tag-soul-rnb .img-link:after,
  .product_tag-soul-rnb-en .img-link:after {
    background-image: url("../images/label-soul-rnb.png");
  }

  .product_tag-blues .img-link:after,
  .product_tag-blues-en .img-link:after {
    background-image: url("../images/label-blues.png");
  }

  .product_tag-cinema .img-link:after,
  .product_tag-cinema-en .img-link:after {
    background-image: url("../images/label-cinema.png");
  }

  .product_tag-country .img-link:after,
  .product_tag-country-en .img-link:after {
    background-image: url("../images/label-country.png");
  }

  .product_tag-dj .img-link:after,
  .product_tag-dj-en .img-link:after {
    background-image: url("../images/label-dj.png");
  }

  .product_tag-electro .img-link:after,
  .product_tag-electro-en .img-link:after {
    background-image: url("../images/label-electro.png");
  }

  .product_tag-expo .img-link:after,
  .product_tag-expo-en .img-link:after {
    background-image: url("../images/label-expo.png");
  }

  .product_tag-folk .img-link:after,
  .product_tag-folk-en .img-link:after {
    background-image: url("../images/label-folk.png");
  }

  .product_tag-gothic .img-link:after,
  .product_tag-gothic-en .img-link:after,
  .product_tag-cothic .img-link:after,
  .product_tag-cothic-en .img-link:after {
    background-image: url("../images/label-gothic.png");
  }

  .product_tag-hc .img-link:after,
  .product_tag-hc-en .img-link:after {
    background-image: url("../images/label-hc.png");
  }

  .product_tag-indie .img-link:after,
  .product_tag-indie-en .img-link:after {
    background-image: url("../images/label-indie.png");
  }

  .product_tag-industrial .img-link:after,
  .product_tag-industrial-en .img-link:after {
    background-image: url("../images/label-industrial.png");
  }

  .product_tag-iskelma .img-link:after,
  .product_tag-iskelma-en .img-link:after {
    background-image: url("../images/label-iskelma.png");
  }

  .product_tag-jazz .img-link:after,
  .product_tag-jazz-en .img-link:after {
    background-image: url("../images/label-jazz.png");
  }

  .product_tag-live .img-link:after,
  .product_tag-live-en .img-link:after {
    background-image: url("../images/label-live.png");
  }

  .product_tag-metal .img-link:after,
  .product_tag-metal-en .img-link:after {
    background-image: url("../images/label-metal.png");
  }

  .product_tag-other .img-link:after,
  .product_tag-other-en .img-link:after {
    background-image: url("../images/label-other.png");
  }

  .product_tag-pop .img-link:after,
  .product_tag-pop-en .img-link:after {
    background-image: url("../images/label-pop.png");
  }

  .product_tag-proge .img-link:after,
  .product_tag-proge-en .img-link:after {
    background-image: url("../images/label-proge.png");
  }

  .product_tag-punk .img-link:after,
  .product_tag-punk-en .img-link:after {
    background-image: url("../images/label-punk.png");
  }

  .product_tag-rap .img-link:after,
  .product_tag-rap-en .img-link:after {
    background-image: url("../images/label-rap.png");
  }

  .product_tag-rock .img-link:after,
  .product_tag-rock-en .img-link:after {
    background-image: url("../images/label-rock.png");
  }

  .product_tag-stand-up .img-link:after,
  .product_tag-stand-up-en .img-link:after {
    background-image: url("../images/label-stand-up.png");
  }

  .product_tag-stoner .img-link:after,
  .product_tag-stoner-en .img-link:after {
    background-image: url("../images/label-stoner.png");
  }

  .show-as-list .tapahtuma .img-link:after {
    display:none !important;
  }
}
.widget .fb-event img {
  width:24px;
  height:24px;
  vertical-align:top;
  margin-right:5px;
  -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;
}
.widget .fb-event:hover img {
  opacity:0.8;
}
@media (max-width: 991px) {
  .widget .fb-event {
    display:block;
    margin-bottom: 1.5em;
  }
}
@media (max-width: 767px) {
  #tapahtumat-container .row,
  #Tapahtumat .products {
    margin: 0;
  }

  .searchandfilter {
    float: none;
    width:100%;
    text-align: center;
  }

  .searchandfilter li li {
    margin-right: 0;
    padding: 4px 3px !important;
    margin-bottom:0;
  }

  #Tapahtumat .content .tapahtuma,
  #Tapahtumat .products .tapahtuma {
    width: 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 0;
  }

  #Tapahtumat .tapahtuma-inner {
    position: relative;
    height: 100%;
    border-bottom: 3px solid #ccc;
  }

  #Tapahtumat .tapahtuma-inner .img-link {
    float: left;
    width: 80px;
    height: auto;
    margin-right: 60px;
    margin-bottom: 15px;
  }

  #Tapahtumat .tapahtuma-inner .tapahtumatila {
    position: absolute;
    display: inline;
    top: 0px;
    left: 90px;
    width:50px;
    line-height:1.2;
  }

  #Tapahtumat .tapahtuma-inner .entry-content {
    float: left;
    width: calc(100% - 280px) !important;
    margin-right: 0px !important;
    padding: 0;
  }

  #Tapahtumat .tapahtuma-inner .entry-details {
    margin-bottom: 25px;
  }

  #Tapahtumat .tapahtuma-inner .ticket-info {
    float: right;
    padding-right: 0;
    padding-left: 0;
    text-align:right;
    width:140px !important;
  }

  #Tapahtumat .tapahtuma-inner .lippujen-lisatieto {
    margin-bottom: 10px;
  }

  .show-all-events {
    margin-top: 0;
    border-top: 0;
    padding-top: 2em;
  }
}
@media (max-width: 480px) {
  #Tapahtumat .tapahtuma-inner .entry-content {
    width: calc(100% - 140px) !important;
  }

  #Tapahtumat .tapahtuma-inner .entry-details {
    margin-bottom: 10px;
  }
  #Tapahtumat .tapahtuma-inner .img-link {
    margin-bottom:0px;
  }

  #Tapahtumat .tapahtuma-inner .ticket-info {
    clear: both;
    float: left !important;
    margin-left: 140px;
    width:auto !important;
    text-align:left;
  }
}
@media (max-width: 350px) {
  #Tapahtumat .tapahtuma-inner .img-link {
    width: 80px;
    margin-right: 10px;
  }

  #Tapahtumat .tapahtuma-inner .entry-content {
    width: calc(100% - 90px) !important;
  }

  #Tapahtumat .tapahtuma-inner .tapahtumatila {
    left:0;
    top:68px;
    width:80px;
  }
  #Tapahtumat .tapahtuma-inner .ticket-info {
    margin-left: 90px;
  }
  #Tapahtumat .tapahtuma-inner .lippujen-lisatieto {
    margin-bottom:25px;
  }
  #Tapahtumat .tapahtuma-inner .btn-tiketti {
      margin-top:-10px;
  }

}

.single-tapahtuma .tapahtuma-linkit {
  font-weight:400;
}

/* Bannerit
-----------------------------------------------------------------------------*/
.banner {
  position: relative;
  overflow: hidden;
  padding:0;
  border-bottom:6px solid #fff;
}

@media (min-width:992px) {
  #banner-kallio {
    border-right:3px solid #fff;
  }
  #banner-lepis {
    border-left:3px solid #fff;
  }
}

.banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#banner-newsletter img {
  object-position:50% 0;
}

.banner-text {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 6em 15px 7em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.banner-text h1 {
  font-size: 2.5rem;
  color: inherit;
  margin: 0 0 15px;
}

.banner-text p {
  max-width: 680px;
  margin: 0 auto 25px;
  font-size: 1.125rem;
}

/* Yhteystiedot
-----------------------------------------------------------------------------*/
.contact-details .fa-envelope,
.contact-details .fa-phone {
  margin-right: 5px;
}

article#post-26 {
  text-align: center;
}

/* Uutiset
-----------------------------------------------------------------------------*/
.zoom-item {
  vertical-align: top;
}

.zoom-item .ImgWrap {
  position: relative;
  overflow: hidden;
}

.zoom-item .ImgWrap:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
}

.zoom-item .ImgWrap:after,
.zoom-item .zoom-link * {
  -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;
}

.zoom-item .zoom-link:hover .ImgWrap:after {
  background: rgba(255, 255, 255, 0.25);
}

.zoom-item .zoom-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.zoom-item .zoom-link:hover h2 {
  color: #f45314;
}

.horiz-item {
  overflow: auto;
}

.horiz-item article {
  border-bottom: 3px solid #ccc;
  margin-bottom: 2em;
  padding-bottom: 2em;
  clear: both;
  width: 100%;
  overflow: auto;
}

.horiz-item .ImgWrap {
  position: relative;
  overflow: hidden;
  margin: 0 30px 0 0;
  width: 190px;
  height: 190px;
  float: left;
}

.horiz-item .entry {
  float: left;
  width: 100%;
  margin-left: -220px;
  padding-left: 220px;
}

.horiz-item h2 {
  margin-bottom: 8px;
}

.horiz-item .entry-meta {
  margin-bottom: 5px;
}

.horiz-item article p {
  margin-bottom: 0;
}

.horiz-item .entry-title {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 992px) {
  .blog-item {
    padding-right: 2em;
    margin-right: 2em;
  }
}
@media (max-width: 991px) {
  .news,
  .feed {
    text-align: center;
  }

  .news .post {
    text-align: left;
  }
}
@media (max-width: 767px) {
  .horiz-item .ImgWrap {
    margin-right: 25px;
    width: 100px;
    height: 100px;
  }

  .horiz-item .entry {
    padding-left: 125px;
    margin-left: -125px;
  }

}
@media (max-width: 480px) {
  .horiz-item .excerpt {
    display: none;
  }
}
.entry-meta {
  margin-bottom: 1.5em;
  color: #f45314;
  font-weight: 600;
}

.pagination > li > a, .pagination > li > span {
  color: #888;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: #f45314;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: #f45314;
  border-color: #e74c0f;
  color: #fff;
}

/* Mfp Popup Content
-----------------------------------------------------------------------------*/

.mfp-wrap {
    z-index: 10004;
}

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

/* Social Media - Simple Share Buttons Adder
-----------------------------------------------------------------------------*/
.widget-ssba h2 {
  margin-top: 0;
}

.ssbp-wrap {
  margin-bottom: 1.5em;
}

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

.ssba br,
.ssba-share-text {
  display: none !important;
}

@media (max-width:991px) {
	.home .ssba div {
		text-align:center !important;
	}
}


/*-----------------------------------------------------------------------------
   Widgets / Aside
-----------------------------------------------------------------------------*/

#sb_instagram {
	max-width:356px;
	margin:0 -8px 3em;
}

.feed img.attachment-mobile {
  max-width: 340px;
  width: 100%;
  margin-bottom:1.5em;
}

@media (max-width: 991px) {
  .feed img.attachment-mobile {
    display: block;
    margin: 3em auto 1.5em;
  }
  #news-feed.padded-top-sm {
  	padding-top:0;
  }
}
.widget {
  margin-bottom: 2em;
  padding-bottom: 10px;
  border-bottom: 3px solid #ccc;
}

.widget p,
.widget ul {
  font-size: 1rem;
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget ul > li {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.widget ul > li:last-of-type {
  border-bottom: 0 !important;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.widget select {
  margin-bottom: 1.5em;
}

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

@media screen and (max-width: 991px) {
  .tapahtuma-linkit {
    border-bottom:0;
    margin-bottom:0;
    padding-bottom:0;
  }
}


/* Archive
-----------------------------------------------------------------------------*/
@media (min-width: 992px) {
  .archive .entry-header .entry-title {
    text-align: left;
  }

  .single-post #primary > .post {
    margin-right: 2em;
    padding-right: 2em;
  }
}
/* Gallery
-----------------------------------------------------------------------------*/
#primary .gallery {
  margin: 0 -10px 2em !important;
}

#primary .gallery .gallery-item {
  margin: 0 !important;
  width: 25% !important;
  height: auto;
  padding: 10px;
  float: none !important;
  display: inline-block;
  vertical-align: top;
}

#primary .gallery .gallery-item img {
  border: 0 !important;
  vertical-align: top;
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  max-width:none;
  top:0; left:0;
}

#primary .gallery .gallery-icon a {
  position: relative;
  display: block;
  width: 100%;
  height:0;
  padding-bottom:66.67%;
}

#primary .gallery .gallery-item img + .GalleryImgBlanket {
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  top: 0;
  left: 0;
  text-align: center;
  -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;
}

#primary .gallery .gallery-item a:hover > .GalleryImgBlanket {
  opacity: 1;
}

#primary .gallery .gallery-item img + .GalleryImgBlanket .fa-search-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #fff;
}

#primary .gallery .wp-caption-text {
  display: none;
}

#primary .gallery br {
  display: none !important;
}

@media (max-width: 567px) {
  #primary .gallery .gallery-item {
    width: 50% !important;
    clear: none;
  }
}


/*-----------------------------------------------------------------------------
   WooCommerce
-----------------------------------------------------------------------------*/

.single-product div.product.product_cat-stream div.images,
.single-product div.product.product_cat-stream div.summary,
.single-product div.product.product_cat-stream-en div.images,
.single-product div.product.product_cat-stream-en div.summary,
.single-tapahtuma .woocommerce div.product div.summary {
    float:none;
    width:100%;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #282828;
    font-weight:600;
    margin-bottom:10px;
    font-size:1.5em;
}

.woocommerce div.product .stock {
    color: #282828;
    font-weight:400;
    margin-bottom:15px;
}

.woocommerce div.product .stock svg {
	margin-right:5px;
}

.single-tapahtuma .woocommerce .single_add_to_cart_button,
.single-product .product_cat-stream .single_add_to_cart_button,
.single-product .product_cat-stream-en .single_add_to_cart_button {
    margin-top:5px;
    margin-bottom:0 !important;
}

.woofc-count.woofc-count-shake {
    animation:none;
    -webkit-transform:none;
    transform:none;
}

#woofc-count-number {
	background:#f45314;
}

.woofc-area.woofc-style-03 .woofc-no-item, .woofc-area.woofc-style-03 .woofc-error {
    color: #fff;
}

#coupon_code {
  height:34px;
}

.woocommerce-cart #coupon_code {
  width:150px;
}

@media (min-width:768px) {
	.woocommerce-checkout #primary > .row > section {
	    -webkit-box-flex: 0;
	    -ms-flex: 0 0 83.333333%;
	    flex: 0 0 83.333333%;
	    max-width: 83.333333%;
	}
}

form.woocommerce-checkout {
  overflow:auto;
}

.woocommerce-checkout #customer_details {
	float:left;
	width:48%;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
	float:right;
	width:48%;
}

.woocommerce .col-1,
.woocommerce .col-2 {
	float:none !important;
	width:100% !important;
	max-width:none;
	padding:0 !important;
}

.woocommerce-checkout .form-row {
	display:block !important;
}

.select2-container .select2-selection--single {
    height:40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height:40px;
}

#select2-billing_country-container {
	font-weight:700;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top:7px;
}

.woocommerce-checkout .woocommerce-additional-fields {
	margin-top:1.5em;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float:none;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
	display:block !important;
	margin-bottom:1.5em;
}

.woocommerce ul.order_details {
    padding:0;
}

table.wc-serial-numbers-order-items th,
table.wc-serial-numbers-order-items td {
  border:0 !important;
}

table.wc-serial-numbers-order-items td {
  border-top: 1px solid rgba(0,0,0,.1) !important;
}

p.order-again {
  display:none !important;
}

.woocommerce .form-row {
  display:block;
}


/*-----------------------------------------------------------------------------
   Forms
-----------------------------------------------------------------------------*/
/* Contact Form 7
-----------------------------------------------------------------------------*/
span.wpcf7-not-valid-tip,
div.wpcf7-response-output {
  color: red !important;
  margin: 1em 0;
  border: 0;
  padding: 3px 8px;
  font-size: 0.85em;
}

div.wpcf7-mail-sent-ok {
  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;
}

@media (min-width:481px) {
  .wpcf7 .col-narrow-first {
    width:48%;
    float:left;
  }
  .wpcf7 .col-narrow-last {
    width:48%;
    float:right;
  }
}

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

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

.form-group:not(.col-narrow-last):not(.col-narrow-first) {
  clear:both;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="date"],
textarea {
  box-shadow: none;
  height: 42px;
  background: #f4f7fa;
  border: 1px solid #cfd9e6;
  -webkit-appearance: none;
}

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

.wpcf7 .checkbox {
  overflow: auto;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}

.checkbox input.error {
  margin-bottom: 30px;
}

.checkbox label.error {
  position: absolute;
  top: 30px;
  left: 1em;
}

@media (min-width: 401px) {
	.wpcf7-recaptcha {
		margin-bottom:1.5em;
	}
}

@media (max-width: 400px) {
	.wpcf7-form-control-wrap {
		transform:scale(0.618);
		-webkit-transform:scale(0.618);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

/*-----------------------------------------------------------------------------
   Buttons
-----------------------------------------------------------------------------*/
.btn,
.sf-label-radio,
.woocommerce .button {
  outline: 0 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: 0 !important;
  line-height: 1 !important;
  margin-bottom: 1.5em !important;
  text-decoration: none;
  text-transform: uppercase !important;
  display: inline-block !important;
  -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-secondary,
.sf-label-radio,
.woocommerce .button {
  background-color: #bbb !important;
  color: #fff !important;
  font-size: 14px !important;
  padding: .7em 1em !important;
  min-width: 80px;
}

.btn-primary,
.woocommerce .button.alt,
.woocommerce .button.add_to_cart_button {
  background-color: #f45314 !important;
  color: #fff !important;
  font-size: 18px !important;
  padding: .7em 1.25em !important;
}

.woocommerce .button.add_to_cart_button {
  margin-top:5px !important;
}

.sf-label-radio {
  margin-bottom:0px !important;
  padding: .7em 1em !important;
  text-align:center;
  cursor:pointer;
}

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

.btn-lg {
  padding: 1em 2em;
  font-size: 21px;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 14px;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:active,
.btn-secondary.active,
.sf-label-radio:hover,
.sf-label-radio:focus,
.sf-label-radio:active,
.woocommerce .button:hover,
.woocommerce .button:focus,
.woocommerce .button:active {
  background: #888 !important;
}

.sf-option-active .sf-label-radio {
  background-color: #ff682d !important;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.active .btn-secondary,
.woocommerce .button:active {
  background: #f45314 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.btn-trans:hover,
.btn-trans:focus,
.btn-trans:active,
.woocommerce .button.alt:hover,
.woocommerce .button.alt:focus,
.woocommerce .button.alt:active,
.woocommerce .button.add_to_cart_button:hover,
.woocommerce .button.add_to_cart_button:focus,
.woocommerce .button.add_to_cart_button:active {
  background-color: #ff682d !important;
  border-color: #d9450a !important;
  color: #fff !important;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-trans:not(:disabled):not(.disabled):active,
.woocommerce .button.alt:active,
.woocommerce .button.add_to_cart_button:active {
  background-color: #d9450a !important;
  border-color: #d9450a !important;
  color: #fff !important;
}

.btn-primary:disabled {
  background: #aaa !important;
}

.loppuunmyyty,
.peruttu {
  color:#b40404;
  font-weight:600;
  margin-bottom:1.5em !important;
}

.btn-text {
  font-weight: 700;
  text-transform: uppercase;
  color: #f45314;
  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;
}

@media (max-width: 991px) {
  .btn-lg {
    padding: 15px 30px;
  }
}
@media (max-width: 767px) {
  .btn-primary {
    font-size: 16px;
  }
  .list-toggler {
    display: none !important;
  }
}
/*-----------------------------------------------------------------------------
   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
-----------------------------------------------------------------------------*/
.grecaptcha-badge {
	display:none !important;
}

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

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

.flex-container {
  display: flex;
  flex-wrap: wrap;
  clear: both;
}

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

.alignright {
  float: right;
  margin-left: 1rem;
  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: 2.5em;
}

.embed-responsive.maps {
  padding-bottom: 30%;
}

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

hr {
  border-top: 3px solid #ccc;
  margin: 2em 0 3em;
}

.clear {
  clear: both;
}

.padded {
  padding-top: 4em;
  padding-bottom: 3em;
}

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

.padded-lg {
  padding-top: 5em;
  padding-bottom: 5em;
}

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

.padded-bottom-lg {
  padding-bottom: 5em;
}

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

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

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

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