body {
	font-family: 'Open Sans', sans-serif; 
	background-image: url(https://www.kultajousi.info/tausta/taustapaperi3.jpg); 
	background-size:100% auto; 
	background-attachment: fixed;
	}
img {
    max-width: 100%;
    height: auto;
}
/* Klarnavalinta piiloon tilauslomakkeelta*/
/*
label[for="payment_provider1"] {
	display: none !important;
}*/
.ylaosan-teksti {
	text-align: center;
}
.ylaosan-teksti a {
	color: #f1c400;
}
.ylaosan-teksti, .ylaosan-teksti span {
	color: #fff !important;
}
.ylaosan-teksti p {
	margin: 0;
}
input#ws12 {
background-color:#ffff01;
border:1px solid #000;
}
/*Poikkeusaukiolot*/
.poikkeus-aukiolo {
	max-width: 25rem;
	border-radius: 5px;
	color: #cc0066;
	margin: 1rem 0;
}
.webshopAdmin.wsadminDialogContainer {
	z-index: 10000 !important;
}
.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-draggable.ui-resizable {
	z-index: 1 !important;
}
.toimkuluinfo {
	font-size: 18px;	
	color: #dd1f3c;
}
/* Header */
#header-container {
    background: #4e4c51;
}
.header-first {
    padding-top:10px;
}
.header-first {
    background:#4e4c51;
}
.header-second {
background-color:#4e4c51;
}
.header-third {
    background:#4e4c51;
    border-bottom: 5px solid #fecc00;
}
ul.header-first-buttons {
  list-style:none;
  padding-left: 0;
}
ul.header-first-buttons li {
  float:left;
}
ul.header-first-buttons li a {
  display:inline-block;
  background-color:#797a7d;
  color:#fff;
  font-weight:700;
  padding:10px 15px;
  margin:26px 8px 16px 8px;
}
ul.header-first-buttons li a:hover {
  background-color:#fff;
  color:#797a7d;
  text-decoration:none;
}

ul.header-first-buttons li.cart-item a {
	background-color: transparent;
	color: inherit;
	padding: 0;
	position: relative;
	top: -16px;
	display: flex;
	align-items: center;
}
ul.header-first-buttons li.cart-item a img {
   
    vertical-align: middle;
}
.mobile-cart-button {
 float: right;
 
  }

a.slick-slide {
    padding: 0 4px;
}

#slick-small div.slick-slide a img {
	padding-left:4px;

}

#slick-small { margin-left: -10px;}
.product-info {
    margin-bottom: 22px;
}

.label.success {
  background-color: #46a546;
min-width: 156px;
display: block;
margin-top: 4px;
max-width: 232px;
padding: 6px;
text-align: left;
}


.alert-message.success {
	z-index: 300;
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
padding: 15px;
margin-bottom: 0px;
border: 1px solid transparent;
border-radius: 4px;
margin-top: 20px;

}

.alert-message.success p {
	margin: 0 5px;
}

.btn.primary {
	border-radius: 3px;
	background-color: #ffff01;
background-image: none;

color: black;
}

.btn.primary:hover {
  	background-color: #fecc00    
}
 .nosto_element  {
                 /*   border: 2px solid #4e4c51;
                    border-radius: 4px;
                    padding:0 0 6px 0;
                    margin-top: 20px;
*/

                }

  .nosto_element h3 {
                /*
                    margin-top: 0px;
                    padding: 8px;
                    font-size: 13px;
                    color: white;
                    background-color: #4e4c51;
                    display: block; font-weight:600;
                    */
                }


.breadcrumb a {
    color: #4e4c51;
}

.breadcrumb a:hover {
    color: black;
}
.alert-info { background-color: #f5f5f5;
  border-color: transparent;
  padding: 10px;
  color: black; }

  .alert .fa {margin-right: 10px;}


ul.share-buttons{
  list-style: none;
  padding: 0;
  float: right;
}

ul.share-buttons li{
  display: inline;
}

ul.share-buttons .sr-only {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

ul.share-buttons img{
  width: 28px;
}

@media (min-width: 768px) {
	ul li a.kj-dropdown-toggle.has-submenu:after {
	  content: "\f078"; color:#fecc00;
	  display: inline-block;
	  font: normal normal normal 14px/1 FontAwesome;
	  font-size: inherit;
	  text-rendering: auto;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	  line-height:16px;
      margin-left:5px;
	}
	ul li ul li a.kj-dropdown-toggle.has-submenu:after {content:none;}
}

h1 {font-size: 40px;

 border-left: 20px solid #fecc00;
padding-left: 16px;
padding-top: 14px;
padding-bottom: 14px;
}

/* Footer */
.pankkilogot {border-top:5px solid #fecc00; margin-top: 20px;text-align: center;}
.pankkilogot img {padding:16px 0px;}
.footer {
    padding-top:16px;
    background-color:#4e4c51; padding-bottom:50px;
}
.footer, .footer p, .footer a {
    color:#fff;
}

.cookie-huom-class {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 10001;
 }

.cookie-huom-container {
       width: 90%;
       margin: auto;
       padding-top: 6px;
       padding-bottom: 6px;
       min-height: 44px;
       display: flex;
       max-width: 1100px;
}

#cookie-huom-text {
	display:block;
	flex:1;
	float: left;
}

.cookie-set.button {
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	height: 30px;
	display: block;
	float: right;
	width: 60px;
	margin-bottom: 4px;
	line-height: 30px;
}

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


.sku_kj {color:#4e4c51;}
.hinta_kj {font-size:3rem; text-align:right;}
.sale-price {
	color: #cd4844;
	display: inline-block;
}
.pricefilter-row {
    display: block;
    margin-top: 15px;
}

.orig-price {
  font-size: 0.8em;
  text-decoration: line-through;
  display: inline-block;
}

.verkkokauppatuote {display:none;}

.frontpage-products {
    /*width: 100%;*/
    width: 1170px;
    max-width: 100%;
    /*padding-right: 15px;
padding-left: 15px;*/
margin-right: auto;
margin-left: auto;
    /*background-color: #4e4c51;*/
    background-color:#e2e1dd;
    /*padding: 2px 0 29px 0;*/
}
.frontpage-products .tuote {padding-top: 3px; padding-bottom: 3px;}

.frontpage-products .nosto_element {
background-color: transparent;
}



.img-thumbnail {border:0; padding-top:16px;}
.frontpage-products .productcontainer_kj h3 a {color:#4e4c51; font-size:2rem;}
.frontpage-products .productcontainer_kj .white-bg {position:relative; overflow:hidden; background:#fff;     -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; }



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

ul.subgrouplist li { 
	display: inline-block;
	margin: 10px;
}

.hinta {
    font-size: 2rem;
}

/* Hakulomake */
form.haku input[type='text'] {
    flex-grow: 1;
    min-width: 10%;
    height: 50px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;   
    padding:0 10px 0 20px;
    border:0;
}

    form.haku {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
          margin: 1% 0 1% 0;
    }


.button, button, input[type="submit"] {
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;

    padding: 0 20px;
    color: #fff;
    font-weight: 600;
    line-height: 40px;
    background-color: #fecc00;
    background-image: none;
    border: 1px solid #fecc00;
    /*
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    */
    -webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
text-align: center;
    text-decoration: none;
    text-shadow: 0 1px rgba(0,0,0,.15);
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: top;
}

.button {height:50px;}

/* Ostoskori */
.desktop-cart-button, .desktop-cart-button a {color:#fff; font-weight:700;}
.desktop-cart-button a:hover {color:#f9c312; text-decoration:none;}

.jatka_tilausta {
	font-size: 18px;
	max-width: none;
	margin-top: 10px;
	width: 100%;
	border-style: none;
	min-height: 60px;
	line-height: 60px;
	font-weight: 700;
	text-shadow: 0 1px rgba(0,0,0,.15);
	text-transform: uppercase;
}

.jatka_tilausta:after {
   content: "\f054";
   display: inline-block;
   font: normal normal normal 14px/1 FontAwesome;
       font-size: 14px;
   font-size: inherit;
   text-rendering: auto;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   margin-left:0.5rem;
}
.button.shoplink_kj {
	background-color: RGB(235, 235, 235);
	color: black;
	border: 1px solid;
	margin-top: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	line-height: unset;
}
.napit .option {
	font-weight: 600;
	margin-top: 10px;
}
.basic_form .clearfix {
	margin-bottom: 3px;
}
.clearfix.receiver-block {
	margin-top: 4rem;
}
.receiver-block label {
	font-size: 2rem;
}
.basic_form {
	margin-top: 4rem;
}
#confirm-button {
	font-size: 18px;
	max-width: none;
	margin-top: 10px;
	width: 100%;
	border-style: none;
	min-height: 60px;
	font-weight: 700;
	text-transform: uppercase;
	text-shadow: 0 1px rgba(0,0,0,.15);
}
#confirm-button::after {
	content: "\f00c";
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 14px;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-left: 0.5rem;
}
form .bordered-table {
	width: 100%;
	margin-bottom: 10px;
	
}


.bordered-table  td {
	padding: 1px;
	}

#largecart-form .bordered-table td {
	padding-bottom: 10px;
}
#largecart-form .bordered-table td input.span2 {
	max-width: 40px;
}


#largecart-form .bordered-table td img {
	display: none;
	}
#largecart-form a.btn.danger{
	
	}
img.cart-thumb {
	max-width: 40px;
}


#orderform {
	max-width: 700px;
	}
#orderform input, #orderform textarea, #orderform select {
	width: 90%;
font-size: 18px;
/*border-radius: 4px;
border-style: solid;*/
padding: 2px 4px 2px 4px;
}

#paymentmethodfieldset div {
    margin-top: 4px;
}


#paymentmethodfieldset input {
	max-width: 350px;
}
#paymentmethodfieldset label {
	display: inline;}
#orderform input[type="radio"], #orderform input[type="checkbox"] {
	max-width: 20px;
	display: inline;
}
#paymentmethodfieldset ul {
	list-style-type: none;
	padding-left: 0;
}


#orderform table {
 width: 100%}

.delivery-details {
  margin: 0 0 20px 40px;
}


.pick-up-store-selector select {
  margin-bottom: 10px;
}

/* Tuotekortti */

.tuotekuva {
  flex: 1;
}
.white-bg {background-color:#fff; -webkit-box-shadow:none !important; box-shadow:none !important; border:0 !important;
	
}
.white-background {background-color:#fff;}
.tuote .white-bg {-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
 display: flex;
 flex-direction: column;
 width: 100%;
}
.tuote a.textlink_kj, .cartlink_kj {
    background-color:#ffff01;
    color:#000;
    display:block;
    padding:8px;
    -webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
text-align:center;
text-transform:uppercase;
font-weight:700;
font-size:1.2rem;
}
.tuote a.textlink_kj:hover, .cartlink_kj:hover, .tuote a.textlink_kj:focus, .cartlink_kj:focus{
background-color:#fecb00;
text-decoration:none;
}

.tuotekortti {
    padding-top: 20px;
}
.tuotekortti .cartlink_kj { font-size:18px; max-width:none; margin-top: 10px; width: 100% ; border-style: none; min-height: 60px;}
.tuotekortti .cartlink_kj:before {content: "\f067"; margin-right:8px; display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;}
.tuotekortti .cartlink_kj:hover, .tuotekortti .cartlink_kj:focus {color:#000; }
.cartlink_kj {
    max-width: 200px;
}
.tuotekortti .hinta {text-align:right; font-size:48px; font-weight:600; margin-top: 20px;}
.metismenu .has-arrow::after {
    border-color: black;
    border-width: 0px 1px 1px 0;
}
.metismenu .active > .has-arrow::after, .metismenu .has-arrow[aria-expanded="true"]::after, .metismenu .open .has-arrow::after {
    transform: rotate( 45deg) translate(0, -50%);
}
/* Hintahaitari bootstrap slider overrides */
.slider-handle {background-color:#4e4c51 !important;
background-image:none !important;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
}
.slider-track-low, .slider-track-high {background:#fff !important;}

select.optio_select {width: 100%;}

@media (min-width: 768px) {
    .tuotteet {
        display: flex;
        flex-wrap: wrap;
    }

    .tuote {
        display: flex;
    }

    .frontpage-products .productcontainer_kj .white-bg {
        display: flex; flex-direction:column;
    }
    .product_list_texts h3 {
        min-height: 62px;
    }


       
                    ul#side-menu {
                        list-style: none;
                        padding-left: 10px;
                        margin-top: 20px;
                    }

                    ul#side-menu  ul {
                        list-style: none;
                        padding-left: 0px;
                        margin-bottom: 2px;
                    }

                  

                    ul#side-menu a {
                     background-color: #F7F7F7;
                     color: black;
                     padding: 8px 8px 8px 8px;
                     margin-bottom: 4px;
                     margin-top: 4px;
                     font-size: 1.8rem;
                    }

                    ul#side-menu a:hover, ul#side-menu a:focus {
                     background-color: #EBEBEB;
                     text-decoration: none;
                    }

                    ul#side-menu > li > a::first-child {
                      
                     display:inline-block;
                     width: 80%;
                    }

                   ul#side-menu li.hassub  a::first-child {
                      
                     display:inline-block;
                     width: 80%;
                     height: 100%;
                    }

                 .nav > li > a.side-menu-arrow {
                        display: inline-block;
                    }

                    ul#side-menu a i.fa {
                      font-size: 1.4rem;
                      width: 10%;
                      text-align: center;
                    }
                     ul#side-menu .groupTreeLevel2 {
                         width: 98%;
                      
                     }
             

                       ul#side-menu .groupTreeLevel2 a {
                           padding-left: 16px;
                           font-size: 1.6rem;
                           margin: 0;
                          

                       }
					   ul#side-menu .groupTreeLevel1 a {
                           padding-left: 16px;
                           font-size: 1.6rem;
                           margin: 0;

                       }
                   ul#side-menu li.hassub .groupTreeLevel3 a, ul#side-menu li .groupTreeLevel3 a {
                         padding-left: 66px;
                         width: 100%;
                     }
                     
                     

                    ul#side-menu li.active > a {
                          background-color: #EBEBEB;

                    }
                    
                    ul#side-menu .open > a {
                       background-color: #EBEBEB;

                    }  
                    
                    ul#side-menu .open.sel > a {
                       background-color: #F7F7F7;

                    }  
                    
                    #largecart-form .bordered-table td img {
	display: block;
	}
}
  
@media (max-width: 640px) {
    .product_list_texts h3 {
        min-height: 42px;
    }
}

/* megamenun tyylejä */


.sm-clean a, .sm-clean a:focus, .sm-clean a:active{ /*background:#4f4c50; */text-transform:uppercase;}

.sm-clean a span.sub-arrow { background:#477e2c;}

.sm-clean li {border-top: 1px solid rgba(226, 225, 221, 1.0);}

.groupTreeLevel0 li a {background-color: #fff; color:#4f4c50; text-transform:none; border-left:0px solid transparent;}

.groupTreeLevel0 li a:hover, .groupTreeLevel0 li a:focus {background-color: #e2e1dd; color:#4f4c50; text-transform:none; border-left:0px solid transparent;}

.groupTreeLevel0 li a span.sub-arrow { color:#FFFFFF;}

.sm-clean ul a { border-left:0px solid transparent;
  
  }

ul li.open.sel > a {
    font-weight: 600;
}
ul#side-menu li.groupTreeLevel1 a {
    padding-left: 2.4rem;
}
ul#side-menu li.groupTreeLevel2 a {
    padding-left: 4.8rem;
}
ul#side-menu li.groupTreeLevel3 a {
    padding-left: 6rem;
}


@media (min-width: 768px) {
  
.sm-clean ul {
  border-top-style: none;
  white-space: normal;
}
.sm-clean ul a, .sm-clean ul a:hover {
  padding-left:0;
}



.sm-clean a:active, .sm-clean a.highlighted, .sm-clean a:hover, sm-clean a  {
  background-color: white;
  padding-top:24px 24px 24px 24px !important; 
  
}



  .groupTreeLevel0 li a {background-color:transparent; color: black; text-transform:none; border-left:0px solid transparent;}

  .groupTreeLevel0 li a:hover, .groupTreeLevel0 li a:focus {background-color:transparent; color:black; text-transform:none; border-left:0px solid transparent;}
 
  .main-nav .main-nav li.groupTreeLevel1 {
     float:left; 
   width: 31%;
      background-color:white;
  
    margin: 1%;
     min-height: 40px;
     padding-top: 6px;
     line-height: 1;

  }

  li.groupTreeLevel2 {
    float: none;
  }

  .sm-clean li {
    border-top-style: none;
  }

.main-nav li.groupTreeLevel1 > a {
    font-weight: bold !important;
     white-space: normal !important;
    color:black;
 
}
.main-nav li.groupTreeLevel2  a {
 	padding-top: 4px;
        padding-bottom: 4px;
        white-space: normal !important;
}
.sub-arrow {
    display: none;
}

 .groupTreeLevel0 {
     position: static !important;
 }

  li.groupTreeLevel0 > ul.kj-dropdown-menu {
	  margin-left: 0 !important;
	  right: 0 !important;
	  width: auto !important;
	  max-width: none !important;
	  padding-left: 10px;
	  max-height: 1200px;
  }
 .main-nav li.groupTreeLevel2  a:hover {
 	color: #797a7d;
 }
  .main-nav .groupTreeLevel1 ul {
        position: static;
	  display: block;
	  margin: 2px 0;
	  border: 0;
	  padding: 0 0 0 0px;
	  width: auto;
	  background: transparent;
	  -moz-box-shadow: none;
	  -webkit-box-shadow: none;
	  box-shadow: none;
  
  }
  .main-nav .groupTreeLevel1 ul li {
         display: list-item;
      line-height: 1.6;
  border: 0;
  }

  .main-nav.groupTreeLevel1 a {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;

}
 ul.sm-nowrap > li > a {
    white-space: normal;
}

ul.paa, li.gid1141 > ul, li.gid1749 > ul {
   columns: 5 200px;
}



ul.paa li.groupTreeLevel1, li.gid1141 > ul li.groupTreeLevel1, li.gid1749 > ul li.groupTreeLevel1 {
  display: block;
  width: 98%;
  float: none;
}

ul.paa li.groupTreeLevel1 a {
 display: inline-block;
}





}

  .main-nav {
  position: relative;
  background: #4e4c51;
/*  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4f4e79), color-stop(100%, #4b4a73));
  background-image: -webkit-linear-gradient(top, #4f4e79, #4b4a73);
  background-image: -moz-linear-gradient(to bottom, #4f4e79, #4b4a73);
  background-image: -o-linear-gradient(to bottom, #4f4e79, #4b4a73);
  background-image: linear-gradient(to bottom, #4f4e79, #4b4a73);*/
  /*-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);*/
}

.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}
.nav-brand {
  float: left;
  margin: 0;
}

.nav-brand a {
  display: block;
  padding: 10px 10px 10px 20px;
  color: #fff;
  
  font-size: 22px;
  font-weight: normal;
  line-height: 29px;
  text-decoration: none;
}

#main-menu {
  clear: both;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

#main-menu li.groupTreeLevel2 ul {display: none;}

@media screen and (max-width: 767px) {
	.footer {margin-top:20px;}
}
@media (min-width: 768px) {

  /* Main navigation overriders */
.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
	padding-top: 12px; 
	padding-bottom:12px;}
.main-nav {background:#4e4c51 !important; box-shadow:none !important;}
.sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {color:#4e4c51;}


  #main-menu {
   width: 100%;
    clear: none;
  }

  .nosto-palsta {
    float: right;
    height: 100%;
    min-height: 460px;
    width: 210px;
    background-color:#d5e6b1;
    padding: 0 20px 20px 22px; 
    margin: -5px 0 -5px 0;
  }
  .nosto-palsta p {
    margin: 3px;
  }
  .nosto-palsta p a {
    padding: 4px 0 4px 0;
    
  }
   .nosto-palsta p a:hover {
     padding: 4px 0 4px 0;
     background-color: transparent;
   }
}

/* Mobile menu top separator */

#main-menu:before {
  content: '';
  display: block;
  height: 1px;
  font: 1px/1px sans-serif;
  overflow: hidden;
  background: #4b4a73;
}

@media (min-width: 768px) {
  #main-menu:before {
    display: none;
  }
}

/*.groupTreeLevel0 li a:hover {
  background-color: transparent;*/

/* Mobile menu toggle button */

.main-menu-btn {
  display: block;
  float: left;
  margin: 20px 10px 10px 10px;
  position: relative;

  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */

.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #fff;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}


/* x icon */

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* hide menu state checkbox (keep it visible to screen readers) */

#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}

@media (min-width: 768px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}

@media (min-width: 1024px) {
  .main-nav li.groupTreeLevel1 {
    width: 18%;
  }
}


/* alasivu, tuotelistaussivun tyylit */
.group-name{
	border-left: 20px solid #fecc00;
	padding-left: 16px;
	padding-top: 14px;
	padding-bottom: 14px;
}
  form.haku input[type='text'] {
                        flex-grow: 1;
                        min-width: 10%;
                    }
                    
                    form.haku {
                        display: flex;
                        flex-flow: row wrap;
                        justify-content: space-around;
                        margin: 1% 0 1% 0;
                    }
                    
                    .product_list_texts {
                        margin-top: 1rem;
                        flex:0 1 1;
                         -webkit-flex: 1;
                         -moz-box-flex: 1;
                        display: flex;
                        flex-direction: column;
                    }
                    
                    .product_list_texts p {
                        margin-bottom: 0;
                    }
                    
                    .productcontainer_kj h3 a {
                        color: #4e4c51;
                    }
                    
                    div.white-bg {
                        border: 1px groove #ddd;
                        position: relative;
                        -webkit-box-shadow: 0px 0px 0px 0px #000;
                        box-shadow: 0px 0px 0px 0px #000;
                        margin-top: 20px;
                        padding-bottom: 10px;
                    }
                    
                    .white-bg .huomio-teksti {
                        position: absolute;
                        left: 20px;
                        top: -10px;
                        z-index: 1000;
                        background-color: #ffff01;
                        text-transform: uppercase;
                        padding: 6px 12px 6px 12px;
                        -webkit-border-radius: 3px;
                        -moz-border-radius: 3px;
                        border-radius: 3px;
                        text-align: center;
                        font-weight: 700;
                        font-size: 1.2rem;
                    }
        .tuote.productcontainer_kj .myymalatuote {
		position: absolute;
		right: 0;
		z-index: 1;
		width: 0px;
		height: 0;
		border-style: solid;
		border-width: 64px 0 0px 64px;
		border-color: rgb(78, 76, 81) transparent transparent transparent;
	}
	.tuote.productcontainer_kj .vino {
		height: 43px;
		-ms-transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		transform: rotate(45deg);
		color: rgb(254, 204, 0);
		top: -60px;
		width: 130px;
		position: absolute;
		text-align: center;
		z-index: 99999;
		right: -39px;
		font-size: 10px;
		font-weight: 600;
	}
	.myymalatuote:hover, .vino:hover {
		z-index: 1001 !important;
	}
                    
                    #products-div, .nosto_element {
                        display: flex;
                        flex-wrap: wrap;
                        margin-bottom: 1px; padding-bottom:16px;
                        background-color:#EBEBEB; -webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
                    }
                    
                    
          .nosto_element.compact, #categoryViews.nosto_element {
	border: 2px solid #4e4c51;
	border-radius: 4px;
	padding: 0 0 6px 0;
	margin-top: 20px;
	background-color: white;
	margin-bottom: 20px;
}
                    
              .nosto_element.compact h3 {
    margin-top: 0px;
    padding: 8px;
    font-size: 13px;
    color: white;
    background-color: #4e4c51;
    display: block;
    font-weight: 600;
    
} 
/*
.nosto_element.compact {
    display: none!important;
} 
*/        
                    
                    .tuote {
                        display: flex;
                    }
                    .hinta_kj {
                        font-size: 2rem;
                    }
                    .tuote h3 {
                        font-size: 16px;
                        margin-top:0;
                        flex:1;
                    }
                    
                    #tuoterajaukset {
                        margin-top: 20px;
                        background-color:#EBEBEB; -webkit-border-top-left-radius: 5px; 
                        padding: 10px ;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
                    }
                    
                    #tuoterajaukset select {
                        /*background-color: #EBEBEB;*/
                        background-color:#fff;
                        padding: 1px 2px 1px 2px;
                        /*border: 1px solid #EBEBEB;*/
                        border:1px solid #fff;
                        border-radius: 4px;
                        margin-right: 4px;
                        margin-bottom: 5px;
                        height: 30px;
                    }
                    
                    #tuoterajaukset option {
                        font-size: 16px;
                    }
                    
                    #tuoterajaukset label {
                        margin-right: 6px;
                    }
                    
              
                    
                    label {
                        font-weight: normal;
                    }
                    
                    .slider.slider-horizontal {
                        width: 100%;
                        height: 20px;
                    }

                    
.paging {
     display: inline-block;
	padding-left: 0;
	margin: auto;
	border-radius: 4px;
                    }
 .paging a, .paging > span {
   position: relative;
	float: left;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.42857143;
	text-decoration: none;
	border: 1px solid #ddd;
	color: #000;
    background-color: #EBEBEB;
 }

.paging a:hover, .paging span.thisPage {
      color: #fff;
      background-color:  #4e4c51;
      border-color: #4e4c51;
}

.paging a:first-child, .paging span:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.paging a:last-child, .paging span:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
                    /*nav.pagination {
                        text-align: center;
                        width: 100%;
                        margin-top:0;
                        margin-bottom: 20px;
                        font-size:24px;
                    }
                     ul.pagination {
                         margin-top: 10px;
                     }
                    .pagination > li > a {
                        color: #000;
                        background-color: #EBEBEB;
                    }
                        .pagination > li > a:hover,   .pagination > li.active > a:hover  {
                        color: #fff;
                        background-color:  #4e4c51;
                        border-color: #4e4c51;
                    }

                        .pagination > li.active > a {
                        color: #fff;
                        background-color:  #4e4c51;
                         border-color: #4e4c51;
                    }*/

                    @media (min-width: 768px) {
                        .hinta_kj {
                            font-size: 22px;
                        }
                        .tuote h3 {
                            font-size: 20px;
                            flex:1;
                        }
                        #products-div, .nosto_element {
                            padding-left: 6px;
                            padding-right: 6px;
                        }
                        #products-div .productcontainer_kj, .nosto_element .productcontainer_kj {
                            padding-right: 6px;
                            padding-left: 6px;
                        }

                        /*nav.pagination {
                            font-size: 16px;
                        }*/
                    }
                
                    @media (max-width: 768px) {
                        #products-div .productcontainer_kj {
                        	padding-right: 8px !important;
                        	padding-left: 8px !important;
                    	}
                    	.frontpage-products .tuote {
                        	padding-right: 8px !important;
                        	padding-left: 8px !important;
                    	}
                    	
                    	.nosto_element div:nth-child(n+8) {display:none;}

                        ul.header-first-buttons li a {
                            margin:2px;
                            padding: 8px 12px;
                        }

                        ul.header-first-buttons {
                            margin:0;
                            padding:0;
                        }
                        /*.pagination > li > a {
                            padding: 6px 16px;
                        }*/
                    }



/* tuotesivun tyylit */

   table.tuote-data {
                        min-width: 200px;
                        margin-bottom: 12px;
                    }
                    
                    ul#side-menu > li > a:first-child {
                        display: block;
                        width: 100%;
                    }
                    
                    ul#side-menu li.hassub a:first-child {
                        display: block;
                        width: 100%;
                        height: 100%;
                    }
                    
                    ul#side-menu .groupTreeLevel2 {
                        width: 100%;
                    }

                    .nosto_element div {
                    
                    /*min-width: 80px; float: left; 
                    margin-bottom: 10px; 
                    margin-left: 10px;
                   */
                   
                    }

                    table.tuote-data {
                        width: 100%;
                    }

                    .tuote-data tr { border-bottom: 1px solid silver; }

                    .tuote-data tr:first-child {
                        border-top: 1px solid silver;

                    }
                    
                
                    
                    .optiot img {
                        max-height: 120px;
                        max-width: 31%;
                    }
                    
                    
                    
                    .breadcrumb {
                        margin-top: 20px;
                    }
                    
                    .productimagesthumbs {
                        margin: 20px 10px 20px 10px;
                        text-align: center;
                    }
                    
                    .productimagesthumbs img {
                        max-height: 120px;
                    }
                    .row.productimagesthumbs div {
			margin-bottom: 0.5rem;
		    }

                          .tuote-data td {
                        padding: 4px 20px 4px 0;

                        vertical-align: top;
                    }

                  @media (min-width: 768px) {
                       /* .nosto_element div:nth-child(n+5) {
                            display: none;
                        }*/
                    

                    table.tuote-data {
                        margin-top: 20px;
                      
                        width: 98%;
                    }

                    p.tuotenro {
                        margin-left:38px;
                    }
                    }

	/* Kampanja*/
	.row.kampanjat {
		margin: 0;
	}
    /* etusivun tyylit */

      .header img {
         width: 100%;
     }
      form.haku input[type='text'] {        
        flex-grow: 1;
        min-width: 10%;
    }

    form.haku {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        margin: 1% 0 1% 0;
    }

    .slick img {width: 100%;}

    .slick {
        margin: 20px 0 0 0;
    }

    #slick-small img {
        margin: 6px;
    }
    
    
    .slick-prev:before, .slick-next:before { 
    color: #ffcc01 !important;
    opacity: .90;
}

.slick-prev, .slick-next {
    z-index: 1000;
    font-size: 30px;
    width: 30px;
    height: 40px;
}

.slick-prev::before, .slick-next::before {
    
    font-size: 30px;
}
.slick-next {
    right: 10px;
}

.slick-prev{
    left: 10px;
}

.sidebar-left ul {

}
.right-nosto {  padding-bottom: 20px;}

.right-nosto img { margin-top: 20px; 
      }
      
.fossil-tagit {
	margin-bottom: 10px;
}
      
/* simplebox */

.cross {
  position: fixed;
  right: 0;
  top: 0;
  margin: 30px 55px 0 0;
  cursor: pointer;
  transition: 300ms all ease-in-out;
  z-index: 99;
  opacity: 1;
  will-change: transform; }

.cross::after,
.cross::before {
  position: absolute;
  content: '';
  width: 35px;
  height: 2px; }

.cross::after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg); }

.cross::before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg); }

.cross--light::after,
.cross--light::before {
  background-color: black; }

.cross--dark::after,
.cross--dark::before {
  background-color: white; }

.slb {
  box-shadow: 2px 2px 12px 1px rgba(0, 0, 0, 0.2);
  cursor: -webkit-zoom-in;
  cursor: zoom-in; }

.slb--invert {
  box-shadow: 2px 2px 12px 1px rgba(255, 255, 255, 0.3); }

.slb--opened {
  cursor: auto; }

.pop-in {
  -webkit-animation: pop-in 250ms;
  -moz-animation: pop-in 250ms;
  -ms-animation: pop-in 250ms; }

.pop-out {
  -webkit-animation: pop-out 250ms;
  -moz-animation: pop-out 250ms;
  -ms-animation: pop-out 250ms; }

#overlay {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  cursor: pointer;
  will-change: transform;
  z-index: 1; }

.center {
  max-height: 90%;
  max-width: 90%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto; }

@-webkit-keyframes pop-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); } }

@-webkit-keyframes pop-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); } }

@keyframes pop-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); } }

@-webkit-keyframes pop-out {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); }
  100% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); } }

@keyframes pop-out {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); }
  100% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); } }
.frontblocks img {
	padding-top: 15px;
}
#slick-frontblocks {
	margin: 0;
}
.oldblock{
	display:none;
}
/*
.newblock{
	display:none;
}*/
.row.frontblocks {
   margin-right: -10px;
   margin-left: -10px;
}
.frontblocks .col-lg-1, .frontblocks .col-lg-10, .frontblocks .col-lg-11, .frontblocks .col-lg-12, .frontblocks .col-lg-2, .frontblocks .col-lg-3, .frontblocks .col-lg-4, .frontblocks .col-lg-5, .frontblocks .col-lg-6, .frontblocks .col-lg-7, .frontblocks .col-lg-8, .frontblocks .col-lg-9, .frontblocks .col-md-1, .frontblocks .col-md-10, .frontblocks .col-md-11, .frontblocks .col-md-12, .frontblocks .col-md-2, .frontblocks .col-md-3, .frontblocks .col-md-4, .frontblocks .col-md-5, .frontblocks .col-md-6, .frontblocks .col-md-7, .frontblocks .col-md-8, .frontblocks .col-md-9, .frontblocks .col-sm-1, .frontblocks .col-sm-10, .frontblocks .col-sm-11, .frontblocks .col-sm-12, .frontblocks .col-sm-2, .frontblocks .col-sm-3, .frontblocks .col-sm-4, .frontblocks .col-sm-5, .frontblocks .col-sm-6, .frontblocks .col-sm-7, .frontblocks .col-sm-8, .frontblocks .col-sm-9, .frontblocks .col-xs-1, .frontblocks .col-xs-10, .frontblocks .col-xs-11, .frontblocks .col-xs-12, .frontblocks .col-xs-2, .frontblocks .col-xs-3, .frontblocks .col-xs-4, .frontblocks .col-xs-5, .frontblocks .col-xs-6, .frontblocks .col-xs-7, .frontblocks .col-xs-8, .frontblocks .col-xs-9 {
   padding-right: 10px;
   padding-left: 10px;
}

.mobile-cart-amount {
 position: relative;
    top: 6px;
    font-size: 27px;
    color: #fff;
    text-align: right;
    font-weight: bold;
    display: inline-block;
}

.mobile-cart-button a:hover {
   text-decoration: none;
}

/*yhteensopivat tuotteet*/
.yhteensopivat-tuotteet #yhteensop {
	/*display: flex;
	flex-wrap: wrap;
	justify-content: left;*/
}
.yhteensopivat-tuotteet .lohko {
	flex: 0;
	display: flex;
}
.yhteensopivat-tuotteet #yhsop-title h4 {
	font-weight: 600;
}
.ys-kuva img {
	max-width: 11rem;
}
.yhteensopivat-tuotteet .lohko a {
	text-decoration: none;
	color: black;
	/*margin: 0.5rem;*/
	/*border: 1px solid;*/
	display: block;
	padding: 0rem;
}

.yhteensopivat-tuotteet .lohko a:hover .ys-kuvaus,
.yhteensopivat-tuotteet .lohko a:active .ys-kuvaus,
.yhteensopivat-tuotteet .lohko a:focus .ys-kuvaus {
	text-decoration: underline;
}
.ys-price, .ys-kuvaus {
	text-align: center;
}
.yhteensopivat-tuotteet .viittaava,
.yhteensopivat-tuotteet .viittaava:focus,
.yhteensopivat-tuotteet .viittaava:hover,
.yhteensopivat-tuotteet .viittaava:active {
	outline: none;
}
.yhteensopivat-tuotteet .viittaava::before {
	content: '\270E';
	display: block;
	position: absolute;
	transform: rotate(56deg);
	background-color: yellow;
	border-radius: 50%;
	width: 29px;
	height: 29px;
	overflow: hidden;
	padding: 4px;
	text-align: center;
}
@media (max-width: 1124px) {
.yhteensopivat-tuotteet .lohko {
	width:50%;
}
.yhteensopivat-tuotteet .lohko a {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
}
@media (max-width: 400px) {
.yhteensopivat-tuotteet #yhteensop {
	display: block;
}
.yhteensopivat-tuotteet .lohko {
	width:100%;
}
.yhteensopivat-tuotteet .lohko a {
	width: 100%;
	display: block;
	text-align:center;
}
}
.before-search {
    color: #FFFF01;
    float: right;
    margin-top: -57px;
    margin-right: 20px;
    position:relative;
}
.before-search a {
	color: #FFFF01;
}
@media (max-width: 768px) {
   .before-search {
	margin-top: 0;
	margin-right: 0;
   }
   
   .before-search-content * {
	font-size: 17px;
}
}