#masthead {
 background: transparent !important;
}
.mobilenav-main-link img {
  max-height: 40px;
  max-width: 40px;
  margin-right: 10px;
}

body.responsive header#masthead.masthead-logo-in-menu .main-navigation .menu-mobilenav-container ul li a {
  font-size: 0px;
  background: #333333;
		padding-left: 13px;
padding-right: 0px;
		padding-bottom: 13px;
}

header#masthead .hgroup {
  display: none;
}

body.responsive.layout-full #page-wrapper .full-container {
  max-width: 1450px !important;
}

.main-navigation {
  position: relative;

  box-shadow: none !important;;

  padding-top: 0px;
  padding-bottom: 0px;
 background: rgb(138,30,30);
background: linear-gradient(0deg, rgba(138,30,30,0) 0%, rgba(106,24,24,0.8393558106836485) 100%); 
}

.main-navigation ul li a {
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 15px;
  text-shadow: 0 1px 1px rgba(0,0,0,.0);
  color: #ffffff;
  margin-top: -20px;
  margin-right: 15px;
  margin-bottom: 0px;
  margin-left: 15px;
  background-color: transparent;
  letter-spacing: 1px;
  border: none;
  font-weight: normal;
  text-transform: uppercase;
  padding-top: 40px;
  padding-right: 10px;
  padding-bottom: 40px;
  padding-left: 10px;
}

.main-navigation ul li:hover > a {
  color: #f1f1f1;
  background-color: #b52828;
}

.main-navigation ul {
  text-align: right;
  margin-right: 130px;
}

.main-navigation ul li {
  display: inline-block;
  float: none;
}

.main-navigation ul ul a {
  width: 260px;
  text-align: left;
}

.main-navigation ul ul li {
  background-color: #8a1e1e;
  margin: 0px;
  padding: 0px;
}

.main-navigation ul ul li a {
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 1px;
  border: none;
  background-color: #8a1e1e;
  box-shadow: 0 1px 1px 1px rgba(52, 52, 52, 0);
  padding-top: 10px;
  padding-right: 22px;
  padding-bottom: 10px;
  padding-left: 22px;
}

.main-navigation ul ul li:hover > a {
  color: #ffffff;
  background-color: #b52828;
}

.main-navigation.sticky {
  position: relative;
  max-width: 100%;
  box-shadow: none;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #8a1e1e;
  padding: 0px;
}

.main-navigation.sticky ul li a {
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 15px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.0);
  color: #ffffff;
  margin-top: 0px;
  margin-right: 10px;
  margin-bottom: 0px;
  margin-left: 10px;
  background-color: transparent;
  letter-spacing: 1px;
  border: none;
  padding: 20px 20px;
}

.main-navigation.sticky ul li:hover > a {
  color: #f1f1f1;
}

.main-navigation.sticky ul ul li a {
  color: #ffffff;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 1px;
  border: none;
  background-color: #8a1e1e;
  box-shadow: 0 1px 1px 1px rgba(52, 52, 52, 0.2);
  padding-top: 10px;
  padding-right: 22px;
  padding-bottom: 10px;
  padding-left: 22px;
}

.main-navigation.sticky ul ul li:hover > a {
  color: #ffffff;
  background-color: #b52828;
}

p {
  font-size: 17px;
  line-height: 1.55em;
  margin: 0 0 10px;
  color: #333333;
}

.entry-content a {
  text-decoration: none;
  line-height: 1em;
  color: #333333;
}

.entry-content a:hover {
  color: #000000;
}

a {
  text-decoration: none;
  color: #333333;
}

.entry-content ul li,
.entry-content ol li {
  color: #333333;
}

#main {
  padding-top: 0px;
  padding-right: 35px;
  padding-bottom: 35px;
  padding-left: 35px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  background: #f2f2f2;
  background-image: url();
  background-position: center;
  /* Center the image */
  background-repeat: no-repeat;
  /* Do not repeat the image */
  background-size: cover;
  /* Resize the background image to cover the entire container */
  background-attachment: fixed;
}

.siteorigin-panels-home .entry-content {
  background-color: transparent;
  padding: 0px;
}

.entry-content {
  line-height: 1.6em;
  zoom: 1;
  background-color: transparent;
  font-size: 17px;
  padding: 15px;
  margin-top: 0px;
}

.so-widget-sow-layout-slider-default-ed1c85f37d1b .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h1,
.so-widget-sow-layout-slider-default-ed1c85f37d1b .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h2,
.so-widget-sow-layout-slider-default-ed1c85f37d1b .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h3,
.so-widget-sow-layout-slider-default-ed1c85f37d1b .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h4,
.so-widget-sow-layout-slider-default-ed1c85f37d1b .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h5,
.so-widget-sow-layout-slider-default-ed1c85f37d1b .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h6 {
  text-shadow: 0 2px 2px
    rgba(0,0,0,.2);
  letter-spacing: 0px;
  font-style: normal;
}

.siteorigin-panels-home .entry-content h1 {
  font-size: 25px;
  line-height: normal;
  margin-bottom: 20px;
  text-transform: none;
  font-weight: normal;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  text-align: left;
  letter-spacing: 0px;
  font-style: normal;
  text-shadow: 0 1px 1px rgba(0,0,0,.0);
}

.siteorigin-panels-home .entry-content h2 {
  font-size: 23px;
  text-align: left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.0);
  margin-bottom: 30px;
  font-weight: normal;
  color: #333;
  line-height: normal;
}

.siteorigin-panels-home .entry-content h3 {
  font-size: 26px;
  text-align: left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.0);
  margin-bottom: 30px;
  font-weight: normal;
  color: #a42424;
}

.siteorigin-panels-home .entry-content h4 {
  font-size: 30px;
  text-align: left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.0);
  font-weight: normal;
  color: #333333;
  line-height: normal;
  margin-top: -13px;
}

.entry-content h1 {
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: normal;
  line-height: normal;
  font-weight: bold;
}

.entry-content h2 {
  font-size: 21px;
  text-align: left;
  text-shadow: none;
  margin-bottom: 15px;
  font-weight: normal;
  line-height: normal;
  margin-top: 5px;
}

.entry-content h3 {
  font-size: 23px;
  font-weight: normal;
  text-shadow: none;
  margin-bottom: 15px;
  line-height: normal;
  margin-top: 0px;
  color: #a42424;
  letter-spacing: 0px;
}

.entry-content ul {
  list-style-type: disc;
  font-size: 18px;
  line-height: 1.55em;
  margin: 0 0 10px;
}

li {
  padding: 2px;
}

#footer-widgets {
  margin-top: 60px;
  padding: 9px;
}
#footer-widgets .widget .widget-title {
  color: #999999;
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 20px;
}

#footer-widgets .widget p {
  color: #999999;
  font-size: 14px;
  letter-spacing: 1px;
}

#footer-widgets .widget a {
  color: #999999;
  font-size: 14px;
}

#colophon {
  background-color: #222222;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  text-align: center;
}

.layout-full #colophon {
  margin-bottom: 0;
  margin-top: -50px;
  padding-bottom: 130px;
  padding-top: 80px;
}

#colophon #theme-attribution,
#colophon #site-info {
  display: none;
}

/* Yleinen lomakkeen ulkoasu */
.wpcf7-form p {
  margin-bottom: 15px;
  color: #333;
  font-size: 16px;
}

/* Tekstikentät ja textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1.5px solid #a78049;
  background-color: #fff;
  opacity: 1;
}

/* Radiopainikkeet ja valintaruudut näkyville ja riveittäin */
.wpcf7-list-item {
  display: block;
  margin-bottom: 5px;
}

.wpcf7-form input[type="radio"],
.wpcf7-form input[type="checkbox"] {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* Submit-nappula näkyväksi ja selkeästi painettavaksi */



.wpcf7-submit:hover {
  background-color: #333;
}
input.wpcf7-form-control.wpcf7-submit {
  color: #ffffff;
  display: block;
  font-size: 18px;
  font-weight: normal;
  padding: 9px 55px;
  text-align: center;
  background-color: #333333;
  border: none;
  line-height: normal;
}

/* Poistetaan Vantage-teeman nappulatyylit kokonaan */
a.button,
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.post-navigation a,
#image-navigation a,
article.post .more-link,
article.page .more-link,
.paging-navigation a,
.woocommerce #page-wrapper .button,
.woocommerce a.button,
.woocommerce .checkout-button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
#infinite-handle span {
  all: unset;
}



.mobile-nav-frame [class^="fa fa-"] {
  display: inline-block;
  margin-right: 10px;
  min-width: 1em;
  color: #ffffff;
}

.mobile-nav-frame {
  background: #7d1d1d!important;
  opacity: 1;
}

.mobile-nav-frame .title h3 {
  display: none;
}

.mobile-nav-frame .title {
  background: transparent !important;
  border-bottom: none !important;
}

.mobile-nav-frame ul {
  background: #7d1d1d!important;
  border: none !important;
  box-shadow: none !important;
}

.mobile-nav-frame ul li {
  border-bottom: 0px solid rgba(47,35,23,1) !important;
}

.mobile-nav-frame ul li a.link {
  color: #ffffff !important;
  text-shadow: none;
  font-size: 20px;
}


@media (max-width: 1500px) {
  p {
    font-size: 16px;
    line-height: 1.35em;
    margin: 0 0 10px;
    color: #333333;
  }

  .entry-content ul {
    list-style-type: disc;
    font-size: 16px;
    line-height: 1.55em;
    margin: 0 0 10px;
  }

  li {
    padding: 2px;
  }

  .main-navigation ul li a {
    font-size: 13px;
  }

  .main-navigation ul li:hover > a {
    font-size: 13px;
  }
		 }
@media (max-width:800px) {
  #masthead.masthead-logo-in-menu .logo > img {
    max-height: 33px;
    width: auto;
    height: auto;
    max-width: 70%;
    margin-top: 0px;
  }
		.siteorigin-panels-home .entry-content h2 {
    font-size: 23px;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.0);
    margin-bottom: 30px;
    font-weight: normal;
    color: #333;
    line-height: normal;
  }

  .siteorigin-panels-home .entry-content h3 {
    font-size: 19px;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.0);
    margin-bottom: 30px;
    font-weight: normal;
    color: #a42424;
  }

  .entry-content h3 {
    font-size: 19px;
    line-height: normal;
  }

  .entry-content h2 {
    font-size: 18px;
  }
#footer-widgets .widget {
	width: 100% !important;
		margin-top: 30px;
}
}
@media (max-width: 768px) {
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    height: 45px;
    padding: 10px;
    margin: initial;
    width: 90%;
    white-space: nowrap;
    border-radius: var(--cmplz_button_border_radius);
    cursor: pointer;
    font-size: var(--cmplz_button_font_size);
    font-weight: 500;
    text-decoration: none;
    line-height: 20px;
    text-align: center;
    flex: initial;
  }
}