/*
 * 2017-03-05 iPad (tablet) tweaks -ST
 * 2017-02-16 Add mobile tweaks -ST
 * 2017-02-21 Tweak logo display for tablets -ST
 * 2017-03-16 Remove padding above logo, search and shopping cart blocks on mobile -ST
 * 2017-03-22 Change font size in the shopping cart header to accommodate ipad mini (Roboto not loading?) -ST
 * 2017-12-13 Align the "kassalle kirjautumatta" and "luo tili" buttons along the bottom of the container -ST
 * 2017-12-19 Align ... take two -ST
 * 2017-12-19 Add hack to prevent anchor tag tagets being covered by the floating menu -ST
 * 2017-12-28 Hide add to cart button -ST 
 */

@import url(//fonts.googleapis.com/css?family=Roboto);
@import url(//fonts.googleapis.com/css?family=Roboto+Condensed);

body {
  
  /*background: #fff url(../img/tausta.jpg) top center repeat-y;*/
	background-image: url(../img/tausta.jpg);
    background-position: left top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;  
	font-family: 'Roboto Condensed', sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  /*font-family: 'Roboto', Arial,Helvetica,sans-serif;*/
  font-family: Arial,Helvetica,sans-serif;
}

@media (min-width: 1200px) {
	.container {
		max-width: 1230px;
	}
}

@media (max-width: 991px) {
	.container {
		max-width: 100%;
	}
}

#page {
  background: transparent;
}

.header-container {
/*  margin-top: 48px; */
  background: none;
}

#header .banner {
	background: transparent;
}

#header .banner a,
#header .banner a img {
	max-width: none;
}

#header .banner .row {
	margin-left: -15px;
	margin-right: -15px;
}

.header-container .container {
  padding-left: 15px;
  padding-right: 15px;
}

#header {
  padding-bottom: 0px;
  background: none;
}
#header .nav {
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.14);
  max-width: 1170px;
  margin: auto;
  font-family: 'Roboto', Arial, sans-serif;
}

header .row #header_logo {
  padding-top: 43px;
}
@media (min-width: 992px) {
  header .row #header_logo {
    padding-top: 10px;
    text-align: center;
    width: 100%;
  }
  header .row #header_logo > a {
    display: block;
  }
  header .row #header_logo img {
    margin: auto;
    width: 25%;
  }
}
#header > div {
  position: relative;
}
#header > .top > .container {
  box-shadow: 0 -15px 29px 0 rgba(0, 0, 0, 0.14);
}

#header .shop-phone {
  display: none;
}

#header #contact-link a,
#header #languages-block-top .current,
#header .nav .header_user_info a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
#header #contact-link a:hover,
#header .nav .header_user_info a:hover {
  color: #C73027;
}
@media (min-width: 991px) {
  #header .nav nav {
    position: absolute;
    top: 100px;
    width: 30%;
    z-index: 10;
  }
}

#header .nav .container a,
#languages-block-top div.current,
#currencies-block-top div.current {
  color: #333;
  text-shadow: none;
}
#contact-link a:hover,
#currencies-block-top div.current:hover,
#contact-link a:hover,
#currencies-block-top div.current.active,
.header_user_info a:hover, 
.header_user_info a.active {
  background: none;
}

#languages-block-top ul li.selected, 
#languages-block-top ul li:hover a {
  background: #333;
}

#languages-block-top ul li a:hover, 
#languages-block-top ul li > span,
#header .nav .container #first-languages li a:hover {
  color: #fe2a2a;
}
#header .nav .container #first-languages li a {
  color: #fff;
}

#header .nav .container #currencies-block-top ul li a {
  color: #fff;
}
#header .nav .container #currencies-block-top ul li.selected a,
#header .nav .container #currencies-block-top ul li a:hover {
  color: #fe2a2a;
}
#currencies-block-top ul li.selected, #currencies-block-top ul li:hover a {
  background: #333;
}

.header_user_info,
#contact-link,
#languages-block-top,
#currencies-block-top {
  border-left: none;
  border-right: none;
}

@media (min-width: 991px) {
  #header_logo img {
    width: 100%;
  }
}

.header-container .container {
  background: #fff;
  /*box-shadow: 0px 0px 10px #777;*/
}

#header .top {
  position: relative;
}
#header .top .container {
  padding-bottom: 40px;
}
#header .top .container,
#header .top .container .row {
  position: static;
}

/* used to be 991 */
@media (max-width: 767px) {
  #header .top .container {
    padding-bottom: 0px!important;
  }
}

/** Footer **/
.columns-container,
.footer-container {
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.14);
  max-width: 1230px;
  margin: auto;
}
.columns-container {
  background: none;
}

.footer-container {
  /*background: rgba(0, 0, 0, 0) url("../img/bg-shadow-footer.png") repeat-x scroll 0 0;*/
  background: #fff;
  position: relative;
  margin-bottom: 75px;
}

.columns-container .container {
  /*background: #fff;*/
  background: #e0e0e0;
  padding-left: 15px;
  padding-right: 15px;
}
.footer-container #footer h4 {
  color: #333;
  font: bold 16px/18px "Roboto",sans-serif;
  margin: 0 0 13px;
  padding-right: 20px;
  text-transform: uppercase;
}
.footer-container #footer ul li a {
  font-size: 11px;
  font-weight: bold;
  text-shadow: none;
  font-family: 'Arial', sans-serif;
}
.footer-container #footer a {
  color: #777777;
  transition: all 0.3s ease 0s;
  text-shadow: none;
  font-family: 'Arial', sans-serif;
}
.footer-container #footer a:hover {
  color: #fe2a2a;
  padding-left: 5px;
}
.footer-container #footer h4 a {
  color: #333;
}
.footer-container #footer #block_contact_infos > div ul li > span, 
.footer-container #footer #block_contact_infos > div ul li > span a {
  color: #777777;
  font-weight: normal;
}
.footer-container #footer #block_contact_infos > div ul li > span a:hover {
  color: #fe2a2a;
}

.footer-container #footer #social_block ul li a:hover {
  color: #fe2a2a;
}

.footer-container #footer .bottom-footer {
  bottom: -58px;
  left: 0;
  padding: 0;
  position: absolute;
}
.footer-container #footer .bottom-footer div {
  border-top: none;
  padding: 0;
  width: 100%;
}
.footer-container .container {
  padding-bottom: 25px;
}

/*#search_block_top #search_query_top {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-block;
  height: 37px;
  line-height: 20px;
  padding: 8px 0 9px;
}*/


/** Block title **/
.block .title_block, .block h4 {
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #ed1c24 0%, #c1171d 100%) repeat scroll 0 0;
  border: none;
  border-bottom: 1px solid #801212;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  margin-top: 0px;
}
.block .title_block a, .block h4 a {
  color: #fff;
}
.block .title_block a:hover, .block h4 a:hover {
  color: #FF8F89;
}

/**Shopping cart block **/
.block-shopping_cart {
    clear: right;
    float: right;
    min-width: 200px;
}
#header .shopping_cart {
  /*
    padding-top: 19px;
    position: relative;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
   */
}
@media (max-width: 767px) {
  #header .shopping_cart {
    padding-top: 15px;
  }
}
#header .shopping_cart > a:first-child::after {
    color: #fff;
    content: "";
    display: inline-block;
    float: right;
    font-family: "FontAwesome";
    font-size: 14px;
    font-weight: normal;
    padding: 10px 0 0 0;

	right: 25px; /* compensates for row */
}

#header .shopping_cart > a:first-child:hover::after {
	padding: 10px 0 0 0;
}

#header .shopping_cart > a:first-child::before {
  content: "";
}
#header .shopping_cart:hover > a:first-child {
    color: #fe2a2a;
}
#header .shopping_cart:hover > a:first-child::after {
    content: "";
}
#header .shopping_cart:hover > a:first-child b::before {
    left: 50%;
    margin-left: -16px;
}
#header .shopping_cart:hover > a:first-child b em {
    transform: translateX(300%);
}

/* #header for higher specificity */
#header .shopping_cart > a:first-child {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #444444 0%, #363535 100%) repeat scroll 0 0;
    color: #acabab;
    display: block;
    font-family: "Roboto Condensed",sans-serif;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
	height: 36px;
	padding-left: 0px;
}

#header .shopping_cart > a > * {
	margin: 0;
	padding: 0;
	width: auto;
}

/* a 16px font will be too wide on ipad mini causing the caret in the cart to move inappropriately
 * Changed to 14px -ST 2017-03-22
 */
 
.shopping_cart .ajax_cart_total {
    display: block;
} 
 
.shopping_cart > a:first-child b {
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #ed1c24 0%, #c1171d 100%) repeat scroll 0 0;
  color: white;
  display: inline-block;
  float: left;
  font: bold 14px/18px "Roboto",sans-serif;
  margin-right: 10px;
  overflow: hidden;
  padding: 9px 13px 10px;
  position: relative;
  top: -30px;  
}
.shopping_cart > a:first-child span {
    float: left;
    line-height: 10px;
    margin-right: 2px;
    position: relative;
    top: -8px;	
}
.shopping_cart > a:first-child b em {
    backface-visibility: hidden;
    display: inline-block;
    height: 100%;
    transition: all 0.3s ease 0s;
    width: 100%;
}
.shopping_cart > a:first-child b::before {
    color: #fff;
    content: "";
    font-family: "FontAwesome";
    font-size: 30px;
    height: 100%;
    left: -100%;
    line-height: 40px;
    position: absolute;
    top: 0;
    transition: all 0.3s ease 0s;
    width: 100%;
}

/** Home tabs **/
#home-page-tabs {
  background: #333;
}
#home-page-tabs > li {
  border-left: none;
}
#home-page-tabs > li a {
  border-right: none; /*1px solid #fff;*/
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
}
#home-page-tabs > li a, #home-page-tabs > li.active a, #home-page-tabs > li a:hover {
  background: none;
  padding: 14px 9px 14px 9px;
  margin: -9px 0;
}

/** Html content top **/
/*
.htmlcontent-home.row {
  margin-left: 0px;
  margin-right: 0px;
}
*/
#htmlcontent_top ul li.htmlcontent-item-1 {
  margin-right: 10px;
  padding-left: 0px;
  max-width: 388px;
}
#htmlcontent_top ul li.htmlcontent-item-4 {
  max-width: 802px;
}
@media (min-width: 768px) {
  #htmlcontent_top {
    float: none;
    max-width: 100%;
    padding-left: 0px;
    width: 100%;
  }

  #htmlcontent_top ul li {
    float: left;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    width: auto;
  }
  #htmlcontent_top ul li.col-xs-4 {
    padding-right: 0px;
    padding-left: 0px;
  }

  #htmlcontent_top ul li.htmlcontent-item-2 {
    margin-right: 10px;
  }
  
  #htmlcontent_top ul li.htmlcontent-item-3 {
    margin-right: 0px;
  }

  #htmlcontent_top ul li img {
      height: auto;
      max-width: 100%;
      opacity: 1;
      transform: scale(1, 1);
      transition: all 0.3s ease 0s;
  }
  #htmlcontent_top ul li a {
    background: #000 none repeat scroll 0 0;
    display: block;
    overflow: hidden;
  }

  #htmlcontent_top ul li a:hover img {
      opacity: 0.7;
      transform: scale(1.1, 1.1);
  }
  
  /** item html **/
  #htmlcontent_top ul li.htmlcontent-item-1 .item-html > div {
    background: rgba(0, 0, 0, 0.65) none repeat scroll 0 0;
    margin-top: -81px;
    padding: 17px 0 13px;
  }
  #htmlcontent_top ul li.htmlcontent-item-2 .item-html > div,
  #htmlcontent_top ul li.htmlcontent-item-3 .item-html > div  {
    background: rgba(0, 0, 0, 0.65) none repeat scroll 0 0;
    margin-top: -50px;
    padding: 7px 0 13px;
  }
  
  #htmlcontent_top ul li.htmlcontent-item-4 .item-html > div {
    margin-top: -60px;
    padding-left: 7%;
  }
  
  #htmlcontent_top ul li .item-html > div {
    left: 0;
    position: absolute;
    top: 50%;
    width: 100%;
  }
  
  #htmlcontent_top ul li.htmlcontent-item-1 h2 {
    margin-bottom: 5px;
  }
  
  #htmlcontent_top ul li .item-html div {
    color: #fe2a2a;
    font-family: "Roboto",sans-serif;
    font-size: 28px;
    font-weight: bold;
    line-height: 1em;
    margin: 0;
    text-transform: uppercase;
  }
  #htmlcontent_top ul li.htmlcontent-item-2 .item-html div,
  #htmlcontent_top ul li.htmlcontent-item-3 .item-html div {
    font-size: 20px;
  }
  #htmlcontent_top ul li.htmlcontent-item-4 .item-html div {
    text-align: left;
  }
  #htmlcontent_top ul li .item-html h2 {
    color: #fff;
    font-family: "Roboto",sans-serif;
    font-size: 42px;
    font-weight: bold;
    line-height: 1em;
    margin-top: 7px;
    text-transform: uppercase;
  }
  #htmlcontent_top ul li.htmlcontent-item-2 .item-html h2,
  #htmlcontent_top ul li.htmlcontent-item-3 .item-html h2 {
    font-size: 44px;
  }
  #htmlcontent_top ul li.htmlcontent-item-4 .item-html h2 {
    text-align: left;
    color: #333;
    font-size: 52px;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
  }
  #htmlcontent_top ul li.htmlcontent-item-4 .item-html > div span {
    background: #232323 none repeat scroll 0 0;
    color: #fff;
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    line-height: 1em;
    margin-bottom: 14px;
    padding: 6px;
    text-transform: uppercase;
  }
  #htmlcontent_top ul li.htmlcontent-item-4 .item-html > div span i {
    color: #fe2a2a;
    font-style: normal;
  }
  #htmlcontent_top ul li b {
    bottom: 140px;
    background-color: #333;
    color: #fff;
    display: block;
    font-family: "Roboto",sans-serif;
    font-size: 20px;
    font-weight: 700;
    left: 70px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    padding: 10px 20px;
  }
  #htmlcontent_top ul li .icon-double-angle-right {
    display: none;
  }
}

/** Footer **/
.footer-container #footer {
  padding-left: 35px;
  padding-right: 35px;
}

/** new stamps **/
.new-box, .sale-box {
  position: absolute;
  text-align: center;
  top: 10px;
  z-index: 1;
}
.buzz-out {
  box-shadow: 0 0 1px transparent;
  display: inline-block;
  transform: translateZ(0px);
}
.new-label, .sale-label {
  /*background: #f0f0f0 none repeat scroll 0 0;*/
  color: #fff;
  display: block;
  font: bold 11px/18px "Roboto",sans-serif;
  padding: 6px 20px;
  text-transform: uppercase;
  z-index: 1;
  height: auto;
  width: auto;
  text-shadow: none;
}
.new-box {
  left: 0px;
}
.new-label {
  /*	
  left: 0;
  position: absolute;
  */
  background: #f13340;
  text-align: center;
  text-transform: uppercase;
  top: 0;
  width: auto;
  transform: none;
}

.new-label::after, 
.new-label::before {
  display: none;
}

/* Buzz Out */
@-webkit-keyframes buzz-out {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg); }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg); }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg); }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg); }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg); }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg); }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg); }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg); }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0); }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0); } }
@keyframes buzz-out {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg); }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg); }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg); }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg); }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg); }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg); }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg); }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg); }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0); }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0); } }
.buzz-out {
  display: inline-block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px transparent; }

ul.product_list.grid > li .product-container:hover .buzz-out {
  -webkit-animation-name: buzz-out;
  animation-name: buzz-out;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1; }
  
/** Buttons **/
.btn.button {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #fe2a2a 0%, #e92020 100%) repeat scroll 0 0;
  border-color: -moz-use-text-color -moz-use-text-color #801212;
  border-image: none;
  border-style: none none solid;
  border-width: medium medium 1px;
  color: #fff;
  font: bold 14px/18px Arial,Helvetica,sans-serif;
  overflow: hidden;
  padding: 9px 13px;
  text-transform: uppercase;
  white-space: normal;
}
/*
.button.ajax_add_to_cart_button::before {
  color: #fff;
  content: "";
  font-family: "FontAwesome";
  font-size: 30px;
  height: 100%;
  left: 0;
  line-height: 36px;
  position: absolute;
  text-align: center;
  top: -100%;
  transition: all 0.3s ease 0s;
  width: 100%;
}
*/
.button.ajax_add_to_cart_button span {
  backface-visibility: hidden;
  display: inline-block;
  height: 100%;
  transition: all 0.3s ease 0s;
  width: 100%;
}
.button.open_combinations_button span, 
.button.ajax_add_to_cart_button span {
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #fe2a2a 0%, #e92020 100%) repeat scroll 0 0;
  border: none;
  display: block;
  padding: 0px;
}

.button.lnk_view::before {
  opacity: 0;
  position: absolute;
  right: 3px;
  top: 1px;
}
.button.lnk_view::after, .button.lnk_view::before {
  color: #fe2a2a;
  content: "";
  font-family: "FontAwesome";
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  margin-left: 5px;
  transition: all 0.3s ease 0s;
}
.button.lnk_view span {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  position: relative;
  transition: all 0.3s ease 0s;
  display: inline;
  padding: 0;
}
.button.lnk_view {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
  border: medium none;
  color: #333;
  font: bold 14px/18px "Roboto",sans-serif;
  padding: 0 10px 0 0;
  text-transform: uppercase;
  transition: all 0.3s ease 0s;
  padding-top: 0px;
}
.button.lnk_view:hover::before, .button.lnk_view:focus::before {
  opacity: 1;
  right: 2px;
}
.button.button-small span,
.button.button-medium span {
  border: none;
}

.button.stores:hover span, .button.open_combinations_button:hover span, .button.ajax_add_to_cart_button:hover span {
  background: #fe2a2a;
  filter: none;
}

.button.button-small span:hover {
  background: none;
  border: none;
  color: #fff;
}

.button.exclusive-medium span {
    background: none;
    border: none;
}
.button.exclusive-medium {
    text-shadow: none;
}
#layer_cart .layer_cart_cart .button-container span.exclusive-medium i {
    color: #fff;
}

/** Frontside blocks **/
/*
#facebook_block, 
#cmsinfo_block {
  background: #fff none repeat scroll 0 0;
  height: 394px;
  min-height: 344px;
  overflow: hidden;
  padding-left: 29px;
  padding-right: 29px;
  border-top: 1px solid #D3D3D3;
  border-bottom: 1px solid #D3D3D3;
}
#facebook_block {
  border-left: 1px solid #D3D3D3;
}
#cmsinfo_block > div + div {
  border-left: 1px solid #D3D3D3;
  min-height: 394px;
  padding-left: 29px;
}
#cmsinfo_block {
  border-right: 1px solid #D3D3D3;
}
*/

#facebook_block,
#cmsinfo_block > div {
	padding-left: 35px;
	padding-right: 35px;
}


#facebook_block,
#cmsinfo_block {
	height: 433px;
	background: #fff;
}

#facebook_block {
	border-right: 0px;
}

#cmsinfo_block {
	padding: 0px;
}

#facebook_block .facebook-fanbox {
	padding-bottom: 0px;
}

#cmsinfo_block > div {
	padding-bottom: 50px;
}

@media (max-width: 1199px) {
	#facebook_block {
		height: auto;
		padding-bottom: 20px;
		display: block;
		width: 100%;
	}
	#cmsinfo_block {
		height: auto;
		display: block;
		width: 100%;
	}
}

/** Piilotetaan alennusprosentti **/
ul.product_list.grid > li .product-container .price-percent-reduction,
ul.product_list.list > li .product-container .price-percent-reduction,
ul.product_list.list > li .right-block .right-block-content .content_price span.price-percent-reduction,
.price-percent-reduction {
  /*display: none;*/
}

#center_column .rte a {
	color: #f02424;
	text-decoration: underline;
}


/* Tweaks the mobile view
 *
 * I put these last to avoid overwrites from the styles above with equal specificity. -ST
 */

/* hide this by default */
.only_on_mobile {
	max-height: 0;
	overflow: hidden;
}

/* show this by default */
.only_on_desktop {
	max-height: initial;
	overflow: initial;
}

#block_top_menu {
	display: none;
}

/* restyle superifsh for top horizontal menu when it's in the sidebar */
#block_top_menu,
#block_top_menu .sf-menu,
#block_top_menu .sf-menu li {
	background-image: none;
	background: transparent;
	border-left: none;
}

/*
#block_top_menu .sf-menu li {
	border-bottom: 1px solid #ccc;
}
*/

#block_top_menu .sf-menu a {
	color: #333333;
}

#block_top_menu .sf-menu li.sfHover a {
	
}

#block_top_menu .sf-menu a:hover,
#block_top_menu .sf-menu a:active {
	background: #f9f9f9;
}

#layer_cart {
    width: 60%;
}

@media (max-width: 768px) {
	
	#layer_cart {
		width: 80%;
	}	
	
	/* show this */
	.only_on_mobile {
		max-height: initial;
	}

	/* hide this */
	.only_on_desktop {
		max-height: 0;
		overflow: hidden;
	}

	/* top menu transplanted to left column */

	#block_top_menu {
		display: block;
		position: static;
		box-shadow: none;
		float: none;
		clear: none;
		width: auto;
	}

	#block_top_menu {
		padding: 0;
		margin-bottom: 20px;
	}

	/*
	 * hide these for mobile:
	 * .informations_block_left: Lisätiedot
	 * #header .banner, #header .nav: header banner and navigation (contact, login)
	 * footer .item a[href$="controller=contact"]: footer contact link (but the item padding is still there)
	 * footer > .row > :nth-child(6): footer login block (6th child, no other selectors available)
	 */

	/* header logo */
	header .row #header_logo {
		padding: 1em;
		background: none;
	}

	/* search block spacing */
	#search_block_top {
		padding-top: 0.25em;
	}

	.informations_block_left,
	footer .item a[href$="controller=contact"],
/*	footer > .row > :nth-child(6), */ /* o.O */
	#header .banner,
	#header .nav {
		/*display: none !important;*/
	}

	/* move padding to the a inside li.item so that we can remove an item without leaving a gap,
	 * this makes the removal above of the contact link nicer
	 */
	#footer ul li {
		padding: 0 !important;
	}

	/* add some padding to help fat fingers */
	#footer ul li a {
		display: block;
		padding: 1em;
	}
}

@media screen and (max-width: 990px) {
	/* block_top menu styled like the categories list */
	#block_top_menu .cat-title,
	/* megamenu restyle sort of like the categories list */
	.ph_megamenu_mobile_toggle a.show_megamenu,
	.ph_megamenu_mobile_toggle a.hide_megamenu {
		color: #fff;
		background: linear-gradient(to bottom, #fe2a2a 0%, #e82020 100%);
		border-bottom: 1px solid #801212;

		font-size: 16px;
		font-family: 'Roboto', sans-serif;

		padding-left: 20px;
	}

	/* black megamenu for tablets */
	.ph_megamenu_mobile_toggle a.show_megamenu,
	.ph_megamenu_mobile_toggle a.hide_megamenu {
      background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #ed1c24 0%, #c1171d 100%) repeat scroll 0 0;
	}

	.ph_megamenu_mobile_toggle i.fa {
		display: none;
	}

	.ph_megamenu_mobile_toggle a {
		position: relative;
	}

	.ph_megamenu_mobile_toggle a:after {
		display: block;
		position: absolute;
		font-family: 'FontAwesome';
		font-size: 26px;
		font-weight: normal;

		right: 18px;
		top: 0px;
	}

	.ph_megamenu_mobile_toggle a.show_megamenu:after {
		content: '\f067';
	}

	.ph_megamenu_mobile_toggle a.hide_megamenu:after {
		content: '\f068';
	}

	.ph_megamenu_mobile_toggle a.show_megamenu:hover,
	.ph_megamenu_mobile_toggle a.hide_megamenu:hover {
		color: #fff;
	}
}

/* tablet tweaks */
@media screen and (min-width: 768px) and (max-width: 991px) {
	/* reset header blocks padding */
	#search_block_top,
	header .row #header_logo {
		padding: 10px 0;
	}
    #search_block_top,
    #header .shopping_cart {
      padding: 50px 0 0 0;
    }

	/* autosize search box */
	#search_block_top #searchbox {
      margin-left: 15px;
      width: calc(100% - 30px);
	}

	/* reform logo with a black background so that it appears taller
	 * this works for ipads, but because of the pixel values will
	 * break anywhere else. Hopefully nobody notices.
	 */
	header .row #header_logo a {
		display: block;
		background: none;
		margin: 0 15px;
		padding: 6px 0;
	}

	/* use a width-relative font size for tablets */
	#ph_megamenu_wrapper .ph_megamenu > li > a {
		font-size: 1.5vw;
		padding-right: 1.6vw;
		padding-left: 1.6vw;
		color: #000!important;
	}
}

/* align "kassalle kirjautumatta" and "luo tili" buttons */
@media screen and (min-width: 992px) {
	#opc_account_choice > * {
		position: relative;
		min-height: 200px;
	}

	#opc_account_choice .opc-button {
		position: absolute;
		bottom: 0;
	}
}

/* make th buttons green */
#opc_account_choice .button.button-medium.exclusive,
.layer_cart_cart .button.button-medium,
.layer_cart_cart .button.button-medium:hover {
	border-color: #36943e;
	background-color: #55c65e;
	background-image: linear-gradient(to bottom, #55c65e, #4db355);
}

#opc_account_choice .button.button-medium.exclusive span {
	border-color: #36943e;
	border-width: 0;
}

/* Hack to make the headers visible when clicking on the "options" link on a product page */
#center_column h3.page-product-heading + div:before {
	display: block;
	content: ' ';
	visibility: hidden;
	padding-top: 52px;
	margin-top: -52px;
}

/* this increases the padding so that the fixed menu bar does not cover the header */
@media screen and (min-width: 768px) {
	#center_column h3.page-product-heading + div:before {
		padding-top: 130px;
		margin-top: -130px;
	}
}

/* hide add to cart buttons in list */
/*
.product_list .product-container a[product_sku].button {
	display: none;
}*/

#category ul.product_list.list > li .product-image-container, 
#prices-drop ul.product_list.list > li .product-image-container,
#search ul.product_list.list > li .product-image-container{ 
    margin: 10px;
}

#category .combinations ,
#prices-drop .combinations, 
#search .combinations {
    padding: 10px;
}

#smartbloglatestnews .sds_inner { 
    padding-left: 0px;
	padding-right: 0px;
}

.alert {
    font-weight: normal;
}
.alert .alert-link {
    font-weight: normal;
}

#home-page-tabs > li a { 
    color: #bfbfbf;
}

.product-container .cart-controls {    
	padding-bottom:2px;
}

.new-label, .sale-label { 
    width: 150%;   
}


.new-box, .sale-box { 
    top: 0px;
}


.product-container .cart-controls input, .product-container .cart-controls button{
    width: 40px;
    height: 25px;
    line-height: 16px;
    margin-right: 0px;
}

.product-container .cart-controls {
    margin-left: 0px;
}

.dlsmartpost .selectCity {
    margin-top: 15px;
    margin-bottom: 5px;
    min-width: 90%;
    max-width: 90%;
    padding: 3px;
}

.dlsmartpost .selectPickUpPoint {
    min-width: 90%;
    max-width: 90%;
    padding: 3px;
}

#header .cart_block { 
    top: 60px;
}

#uniform-id_address_delivery{
  margin-bottom:5px;	
}

.combinations table .combination th, .combinations table .combination td {
    padding: 8px;
}

.product-container .cart-controls button.minus, .combinations .cart-controls button.minus, .product-container .cart-controls button.plus, .combinations .cart-controls button.plus {
    width: 30px;
    height: 30px;
}

.combinations .amount input {
    color: #000;
    border-left: 0px;
    border-right: 0px;
}

.product-container .cart-controls button, .combinations .cart-controls button, .product-container .cart-controls input, .combinations .cart-controls input {
    width: 30px;
    height: 30px;
}

.combinations .availability span {
    font-weight: normal;
	width: 100%;
}

.combinations .stock li { 
    color: #6f6f6f;
	text-align: left;
    /*padding-left: 40px;*/
}

.combinations .warehouses {
    padding: 10px;
}

.combinations .warehouses {
    margin: -40px;
}

.product_attributes  a.btn-warning{
	width:100%;
}

#index ul.product_list.grid > li .product-container .button-container {
 
    padding-top: 10px;
}

#center_column.col-sm-9 .col-md-3 .box-info-product .exclusive span {
    border-top: 1px solid #f56f6f;
}

.click_tab_contents { 
    border: 0px;
}

#center_column.col-sm-9 .col-md-3 .box-info-product .exclusive {
    width: 100%;
}

.box-info-product #reduction_percent {
    display: block !important;
}

.comb-saldo-div .wh-light.green {
    background-image: url(../img/traffic_green_circle.png);
}

.comb-saldo-div .wh-light {
    display: block;
    width: 10px;
    height: 10px;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-top: 4px;
}


.comb-saldo-div .wh-light.red {
    background-image: url(../img/traffic_red_circle.png);
}

#page  h1,#page  h2,#page  h3,#page h4 {
 margin-top:0px!important;	
}

.logout a.btn{
  width:100%;	
}

#facebook_block .facebook-fanbox {
    background: none;
    border: 0px;
}

#facebook_block, #cmsinfo_block {
    min-height: 344px;
    height: inherit;
}

#facebook_block, #cmsinfo_block {
    min-height: 344px;
    height: inherit;
}
#facebook_block, #cmsinfo_block {
    background: none;

}
#cmsinfo_block {
    border-left: 0px;
}


#header_logo {
 display:none;
}


.header_user_info {
    position: absolute; 
    top: 10px;
   /*background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #444444 0%, #363535 100%) repeat scroll 0 0;*/
}

.header_user_info  .logout{
  margin-left:150px;
}

#columns { 
    padding-top: 20px;
}

#cmsinfo_block > div.col-xs-6{
	width:100%;
}

.combinations .name ,.combinations .our_price { 
    font-weight: normal;
}

a.stock_details {
    border-bottom: 1px dotted #e22020;
    color: #de223a;
    font-size: 12px;
}

#availability_value, #last_quantities { 
    font-weight: normal;
	margin-left: 0px;
}

ul.product_list .availability span{
	font-weight: normal;
}


h3.page-product-heading {
	border:0px;
    border-top: 1px solid #d6d4d4;
    border-left: 1px solid #d6d4d4;
    border-bottom: none;
}

h3.page-product-heading:last-child {
	border-right: 1px solid #d6d4d4;
}

#categories_block_left li a {
    font-weight: normal;
}

.label {
    font-weight: normal;
}

#order-opc #opc_payment_methods p.warning {
    font-size: 16px;
}

/*
#idTab8, .clickable_tabs.h3:nth-child(2){{
 display:none!important;
}
*/

.product-box .product-image {
    min-height: 160px!important;;
}

.bx-viewport{
 height: auto!important;
}
/*
.button.ajax_add_to_cart_button::before {
  font-family: none!important;
}*/

.block .products-block .product-name {
    font-size: 13px;
    line-height: 18px;
}

.product_list li .product-ref {
   display: block;
}

#languages-block-top{
    position: absolute;
    top: -70px;
    margin-left: 250px;
}

.wh-saldo-div .wh-light.red {
    background-image: none;
	color: #ea2525;
}

.wh-saldo-div .wh-light.green {
    background-image: none;
	color: #50be0f;
}

ul.product_list.list > li .product-container { 
    background: #fff;
}

ul.product_list .product-image-container a {
    padding: 0px;
}

.content_sortPagiBar .display li a i, .content_sortPagiBar .display_m li a i { 
    color: #828282;
}

.content_sortPagiBar .display li a i:hover{
    color: #3a3939;
}



#freeintro-homepage{
	text-align: center;
}

#freeintro-homepage H3{
	margin-top:5px;
}

@media (max-width: 500px){

 #freeintro-homepage{
	height:90px!important; 
 }
 
 #freeintro-homepage H3{
	font-size:18px!important ;
 }
  
}


.box-info-product .exclusive:hover,
.box-info-product .exclusive {
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #fe2a2a 0%, #e92020 100%) repeat scroll 0 0!important;  
} 

.button.stores, .button.open_combinations_button, .button.ajax_add_to_cart_button {
 
    border-color: 1px solid  rgba(0, 0, 0, 0) linear-gradient(to bottom, #fe2a2a 0%, #e92020 100%) repeat scroll 0 0!important;
}

.box-info-product .exclusive, 
.box-info-product .exclusive span{
	border: 1px solid #fe2a2a !important;
}

.box-info-product .exclusive:after {
    background: none;
}

.box-info-product .exclusive::before {
    border-right: 1px solid #ffff!important;
}

.pb-left-column #image-block { 
    border: 0px; 
}












ul.product_list.list > li .right-block .right-block-content .button-container .btn {
    min-width: 130px;
}

.product-container .cart-controls {
    display: table-cell;
    padding-bottom: 2px;
}

.product-container .cart-controls button.minus, .combinations .cart-controls button.minus, .product-container .cart-controls button.plus, .combinations .cart-controls button.plus {
    color: #c0c0c0;
    text-shadow: 1px -1px rgba(0,0,0,0.05);
    padding: 0;
    border: 1px solid;
    border-radius: 0;
    border-color: #dedcdc #c1bfbf #b5b4b4 #dad8d8;
    background: linear-gradient(to bottom,#ffffff 0,#fbfbfb 100%);
}

.product-container .cart-controls button, .combinations .cart-controls button, .product-container .cart-controls input, .combinations .cart-controls input {
    width: 30px;
    height: 30px;
}

.product-container .cart-controls {
    margin-left: 0px;
}
.product-container .cart-controls {
    display: block;
    padding-bottom: 2px;
}

.cart_voucher fieldset #discount_name {
 margin-right:0px;	
}

#dlorderreference > label {
 font-weight:normal;		
}

#dlorderreference-input {
  width: 220px;
}

#voucher button{
	padding: 1px;
    width: 50px;
}

.ac_results{
 width: 320px!important;	
}
	
.ac_results li { 
    font-size: 12px;
}



/*27.3.2020*/

#product .pb-left-column #image-block img {    
	width: 100%;    
    height: auto;
	max-height: 500px;
}

#product .pb-center-column {
    margin-top: 20px;
}

#product  .wh-saldo-div .col-xs-8{
	width:20%;
}

/*email button, alert me 29.04.2020*/
#product #mailalert_link{
	margin-bottom: 20px!important;
	
	text-decoration: none;
	
	color: #fff;
    background-color: #989898;
    border-color: #888888;	
	
	
	display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.42857;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;	
	
	
}

#viewed-products_block_left .product-description{
	display:none;	
}


/*7.1.2021 modern header TLU*/

#modern-mobile-header .show_megamenu,
#modern-mobile-header .hide_megamenu{
 display:none!important;	
}

#modern-mobile-header  #ph_megamenu_wrapper{
	display:block!important;
}

#modern-mobile-header .modern-header-column > .inner .content {   
    border-left: 1px #bdbdbd solid;
	border-bottom: 1px #bdbdbd solid;
}

#modern-mobile-header .shopping_cart > a:first-child b {
   display:none;
}

#modern-mobile-header .shopping_cart > a:first-child span {   
    top: 0px;
}

#modern-mobile-header .header_user_info {
    position: inherit;
    top: 0px;    
}

#modern-mobile-header .header_user_info a {
    color: inherit;
}

#modern-mobile-header .modern-header-column > .inner a.absolute-middle {
    font-size: 6vw;
}

@media (max-width: 991px){
	.modern-header-layout #modern-mobile-header {
		position: inherit;
		top: 0px;
		z-index: 10;	
	}
	#index .main-content {
		margin-top: 50px;
	}
	#page .breadcrumb {
		padding-top: 30px;
	}
}

#htmlcontent_home ul li img {
    border: 1px solid #ecebeb;
}

#htmlcontent_home ul li img:hover {
    opacity:0.8;
}

/* 19.4 uudet*/

#center_column.col-sm-9 .col-md-3 .box-info-product .exclusive:before {    
    position: absolute;
}
	

@media (min-width: 769px) {
  .col-sm-9 {
    width: 100%;
  }

  #home-page-tabs {
    margin: 0 0 0 0px;
  }


}


@media (min-width: 1000px) {
 
  .container #search_block_top {
    display:none;
  }


}



@media (min-width: 769px){
  
 #left_column {
		position: absolute;
		top: 0px;
		display:none;
		border-right: 1px solid #737373;
		border-top: 1px solid #737373;
		z-index:10;
	}  
  
  #header #ph_megamenu{
	  opacity:0;
  }
  
  #header #ph_megamenu_wrapper {
    top: 0px;
  }
  #facebook_block, #cmsinfo_block {
    padding: 0px;
  }
  
 #header #ph_megamenu_wrapper nav, #header #ph_megamenu_wrapper #ph_megamenu {
    max-width: 1230px;
  }
  
}

#header .shopping_cart {
  padding-top: 11px;
}

#header .cart_block {
  top: 46px;
}

#search_block_top #searchbox {
  width: 300px;
}

#header .top .container {
  padding-bottom: 24px;
}

#info_contact_holder .contact_menu a,
#info_menu_holder .info_menu a,
#info_loan_holder .loan_menu a,
#info_service_holder .service_menu a
{
  border:0px;
}

#info_contact_holder,
#info_menu_holder,
#info_loan_holder,
#info_service_holder
{
  margin-bottom: 0px;
}
/*
@media (min-width: 768px){
	#modern-header-cart .col-sm-4 {
		width: 100%;
	}
}*/

#bonslick {
 display:none;	
}

#index #bonslick {
 display:block;	
}

@media (max-width: 768px){
	#top-area-wide .container {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	
}

@media (min-width: 1024px){
  #index #top_column{
	margin-left: 30px;
    margin-right: 30px;		
 }
}


#page .content_scene_cat_bg
{
	padding-top: 150px;
    min-height: 0px!important;
}

@media (max-width: 500px){
    #category  #center_column{
        padding-left: 0px;
        padding-right: 0px;    
    }
}

#category .af_filter{
  padding-left: 0px;    
  padding-right: 0px;
}


#columns .breadcrumb{
 display:none;	
}

#bonslick {
    padding-top: 1px;
}