*,
html {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --lightBlue: #1498cc;
  --dark-blue: #3f6889;
  --light-grey: #eee;
  --medium-grey: #999;
  --dark-grey: #444;
  --main-yellow: #ffbb00;
  --dark-red: #721c24;

  --margin-small: 0.5rem;
  --margin-medium: 1rem;
  --margin-large: 1.5rem;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: #444 !important;
}

H1,
H2,
H3,
H4,
H5,
H6 {
  font-family: "Bitter", serif;
}

a:hover {
  color: #ffbe00 !important;
}

p {
  margin-bottom: var(--margin-small);
}

/* UL LI - LISTAT */

UL {
  list-style-position: inside;
  margin-left: var(--margin-small);
}

LI {
  margin-bottom: 0.25rem;
}

UL.events-list {
  list-style: none;

  &.full {
    margin-top: var(--margin-large);
    margin-left: 0px;

    li {
      padding: var(--margin-small);

      &:hover {
        background-color: var(--light-grey);
      }
    }

    .event-title {
      font-size: 1.6rem;
      font-weight: bold;
    }
  }

  .footer & {
    .event-date {
      color: var(--lightBlue);
    }
  }

  .event-location {
    font-style: italic;
  }

  li {
    padding: var(--margin-small) 0;
  }
}

/* VARIABLES & MODIFIERS */

.-text-align {
  &.--align-right {
    text-align: right;
  }
  &.--align-left {
    text-align: left;
  }
  &.--align-center {
    text-align: center;
  }
}

.success {
  color: green;
}

.error {
  color: red;
}

/* EVENTS */

h3.event-location {
  margin: 0 0 var(--margin-large) 0;
  font-size: 1.5rem;
}

/* FLEX & GRID */

.-flex {
  display: flex;
  width: 100%;

  &.--row {
    flex-direction: row;
  }
  &.--column {
    flex-direction: column;
  }

  &.--space-between {
    justify-content: space-between;
  }

  &.--wrap {
    flex-wrap: wrap;
  }

  &.--no-wrap {
    flex-wrap: nowrap;
  }
}

.--flex-grow-1 {
  flex: 1;
}

.-grid {
  display: grid;
  row-gap: var(--margin-large);
  width: 100%;

  &.--col-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  &.--col-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  &.--col-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.--gap {
  gap: calc(var(--gap-amount, 1) * 1rem);
}

.payment-method-avarda-group {
  display: flex;
}

/* FORMS */

FORM.contact-form {
  input {
    display: block;
    width: 100%;
    height: 2.5rem;
  }
}

FORM.account-edit,
FORM.password-forgotten,
FORM.account-edit,
FORM.login {
  input[type="text"],
  input[type="password"],
  select {
    width: 100%;
    max-width: 360px;
    height: 2.6rem;
    margin-bottom: var(--margin-medium);
    display: block;
  }

  h4 {
    margin-top: var(--margin-large);
  }
}

.input-field-block {
  width: 100%;
  max-width: 360px;
  height: 2.6rem;
  margin-bottom: var(--margin-medium);
  display: block;
}

FORM.password-forgotten input[type="text"] {
  max-width: 100%;
}

INPUT#avarda-ssn-input {
  margin: var(--margin-medium) 0;
  height: 3rem;
  width: 100%;
  max-width: 230px;
}

/* TABLE */

TABLE {
  padding: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

#productQtyPriceModal TABLE.queryProducts {
  width: 100%;
}

TD {
  vertical-align: top;

  &.-vertical-align-top {
    vertical-align: top;
  }
  &.-vertical-align-middle {
    vertical-align: middle;
  }
  &.-vertical-align-bottom {
    vertical-align: bottom;
  }
}

td.centered-cell {
  text-align: center;
}

TABLE.contact-us-content-table,
TABLE.content-table {
  table-layout: fixed;
  max-width: 100%;

  H1,
  H2,
  H3 {
    margin-top: 0;
  }

  TD {
    vertical-align: top;
    padding: 1.5rem;
    border: 1px solid var(--lightBlue);
  }

  UL {
    margin-left: 1rem;
  }
}

hr.tiny {
  margin-bottom: 5px;
  margin-top: 5px;
}

@media screen and (max-width: 420px) {
  TABLE.contact-us-content-table,
  TABLE.content-table {
    H2 {
      font-size: 2.5rem;
    }

    H3 {
      font-size: 2rem;
    }
  }
}

/* BOOTSTRAP OVERWRITES */
@media (min-width: 400px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding-left: var(--margin-medium);
    padding-right: var(--margin-medium);
  }
}

@media (min-width: 768px) {
  .container {
    _width: 750px;
    _width: 970px;
  }
}

@media (max-width: 992px) {
  .container {
    width: 970px;
  }

  .containerFooter {
    width: 970px !important;
  }
}

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

/* HEADER */

header {
  background: #fff;
  height: 116px;
  padding-top: var(--margin-small);
  min-height: 124px; /* Säädetään korkeus, että varmasti kaikki näkyy aina */
}

.headerCenter {
  padding-left: 25px;
}

header div.containerRight {
  text-align: right;
}

header.container {
  height: auto;
}
header.container .headerCenter .pkpPopover font {
  display: none;
}

.containerHeaderCheckout {
  font-weight: 600;
  font-size: 16px;
  height: 60px;
  padding-right: 0;
  margin-top: 3px;
}

.header-top-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.headerLogo {
  .siteLogo {
    position: absolute;
    z-index: 900;
    margin-left: -21px;
    max-width: 100%;
  }
}

.search-container {
  display: flex;
  align-items: anchor-center;
  flex-direction: row-reverse;
}

/* HEADER SEARCH */
.btnSearch {
  -webkit-border-top-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-bottomleft: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

@media (max-width: 767px) {
  .containerHeaderCheckout,
  .containerRight .input-group,
  .containerRight .row:nth-child(3) {
    padding-right: 15px;
  }
  .containerHeaderCheckout {
    height: auto;
    margin-top: 0px;
    text-align: center;
  }
  .headerLogo {
    text-align: center;
    IMG {
      max-height: 60px;
    }
  }
  .headerCenter {
    text-align: center;
    width: 100%;
  }

  .search-container {
    width: 100%;
    justify-content: center;
  }

  .input-group {
    margin-top: var(--margin-small);
  }

  .advanced-search {
    text-align: center;
  }
}

#autocomplete-container {
  z-index: 10000;
}

#autocomplete-container * {
  text-align: left;
}

.containerTuoteryhmat {
  background: #000;
  color: #fff;
  border-top: 7px solid #ffbe00;
  margin-bottom: 20px;
}

.containerTuoteryhmat a {
  color: #fff;
}

.containerTuoteryhmat a:hover {
  color: #ffbe00;
}

hr.tuoteryhma {
  margin-top: 5px;
  margin-bottom: 5px;
}

.boxShadow {
  -webkit-box-shadow: 1px 1px 5px 0px rgba(51, 50, 50, 0.3);
  -moz-box-shadow: 1px 1px 5px 0px rgba(51, 50, 50, 0.3);
  box-shadow: 1px 1px 5px 0px rgba(51, 50, 50, 0.3);
}

.boxBlue {
  background: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: 7px solid #1498cc;
  padding-bottom: 10px;
}

.column-box IMG {
  width: 100%;
  height: auto;
}

.boxBlue .title {
  font-family: "Bitter", serif;
  font-size: 21px;
  padding: 8px;
  text-align: center;
  position: relative;
  top: 3px;
}

.boxBlue .titleostoskori {
  font-family: "Bitter", serif;
  font-size: 21px;
  padding: 0px;
  text-align: center;
  position: relative;
  top: 3px;
}

.boxBlue .title .glyphicon-play-circle {
  margin-left: 5px;
}

.boxBlue .title .centered {
  text-align: center;
}

.boxBlue .title span.glyphicon-play-circle {
  position: relative;
  top: 3px;
}

.onTop {
  margin-top: 0;
}

.boxPadding-10 {
  padding: 10px;
}

.boxNews {
  margin-bottom: 15px;
  font-size: 13px;
}

.boxNews .date {
  color: #1498cc;
  font-weight: bold;
}

.boxSpecials {
  text-align: center;

  .special-product {
    display: flex;
    flex-direction: column;
    gap: var(--margin-small);
  }

  .slideImg {
    text-align: center;
    IMG {
      height: clamp(100px, 200px, 300px);
      max-width: 100%;
    }
  }
}

.main {
  overflow: hidden;
}

/* CHECKOUT */

.payment-method-image-column IMG {
  max-width: 80px;
}

.pickup-point-table {
  border: 5px #ddf solid;
  border-width: 0px 0px 1px 0px;
  padding-top: 2px;
  padding-bottom: 2px;

  input {
    margin-right: var(--margin-small);
  }

  label {
    margin-right: var(--margin-medium);
  }
}

.checkout TD.main {
  vertical-align: middle;
}

/* ETUSIVUN KUVASLIDER */
.containerSlider {
  background: transparent;
}

.frontpage-slider {
  margin: 0;

  .slide {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;

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

.containerSlider .bx-wrapper .bx-next {
  right: -13px;
}

.containerSlider .bx-wrapper .bx-prev {
  left: -13px;
}

.containerSlider .bx-pager {
  overflow: hidden;
  margin-bottom: var(--margin-medium);
}

.containerSlider .bx-pager a {
  padding-left: 0;
  padding-right: 0;
}

/* HORISONTAALI KUVASLIDERI */
.slideImg {
  margin-bottom: var(--margin-small);
}

.slide h2.product-name {
  font-size: 1.4rem;
  margin: var(--margin-small) 0;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
}

.slide .product-manufacturer {
  font-size: 1.2rem;
  margin: var(--margin-small) 0;
}

.horizontalSlider .bx-wrapper .bx-next {
  right: -25px;
}

.horizontalSlider .bx-wrapper .bx-prev {
  left: -25px;
}

.horizontalSliderContainer {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  display: flex;
}

.horizontalSliderContainer .slide {
  border-right: 1px solid #ddd;
}

.horizontalSliderContainer .slide .slideImg {
  border: 1px solid #eee;
  aspect-ratio: 1/1;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.horizontalSliderContainer .slide .slideImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.horizontalSlider .slide .slideImg {
  aspect-ratio: 1/1;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.horizontalSlider .slide IMG {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.horizontalSlider .slide .slideImg IMG {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bx-wrapper .bx-viewport {
  height: auto !important;
}

@media (max-width: 768px) {
  .horizontalSliderContainer .slide .slideImg {
    min-width: 70px;
    min-height: 70px;
    border: 1px solid #eee;
  }
}

/* POPOVER OVERRIDES */
.containerPkpPopover {
  position: relative;
  top: 16px;
  z-index: 9999;
  div {
    max-width: 500px;
    width: 360px;
    font-size: 14px;
  }
}

/* SEKALAISIA TYYLEJä */
.commonPrice {
  font-size: 1.6rem;
  color: #1498cc;
  white-space: nowrap;
}

.commonPriceSpecial {
  color: #ff0000;
  white-space: nowrap;
}

.commonPriceSpecial s {
  color: #1498cc;
}

.commonPriceSpecial s.nonowrap:after {
  content: "\A";
  white-space: pre;
}

/* TUOTESIVU / PRODUCT INFO */

.boxBlue .product-title {
  text-align: left;
  margin: 0.2rem 0;
  font-size: 2.1rem;
  font-weight: 600;
}

.product-image-container {
  float: right;
  width: clamp(8vw, 16vw, 300px);
  margin-left: var(--margin-medium);
  display: flex;
  flex-direction: column;
  gap: var(--margin-medium);

  .product-main-image {
    width: 100%;
    text-align: center;
    aspect-ratio: 1/1;
    IMG {
      height: 100%;
      width: 100%;
      object-fit: contain;
    }
  }

  .product-images-slider {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    .product-slider-image {
      width: clamp(2vw, 5vw, 100px);
      aspect-ratio: 1/1;
      text-align: center;

      IMG {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }
}

.add-to-cart-button {
  b {
    font-size: 2rem;
  }

  .price-info-button {
    top: 1.5px;
  }
}

.previous-next-product-container {
  display: flex;
  align-content: center;
  flex-direction: row;
  align-items: anchor-center;
  clear: both;

  .previous-product,
  .next-product {
    flex-grow: 1;
    display: flex;
    align-items: anchor-center;
    color: var(--dark-grey);
  }

  .previous-product {
    justify-content: left;
  }
  .next-product {
    justify-content: right;
  }

  .product-name {
    margin-top: var(--margin-small);
    font-weight: bold;
  }
}

.previous-next-product {
  max-width: 150px;
  text-align: center;
  margin-top: var(--margin-medium);

  .product-image {
    aspect-ratio: 1/1;
    text-align: center;
    overflow: hidden;
    width: 100%;

    IMG {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
  }
}

.product-additional-info {
  margin: var(--margin-medium) 0;

  .additional-info-title {
    font-weight: bold;
  }
}

@media (max-width: 600px) {
  .previous-next-product-container {
    .previous-product,
    .next-product {
      flex-direction: column;
      align-items: center;
    }

    .previous-product {
      flex-direction: column-reverse;
    }
  }
}

/* KATEGORIASIVU */

.category-info {
  overflow: hidden;
  padding-bottom: var(--margin-medium);
  margin-bottom: var(--margin-medium);
}

.category-info-header {
  border-bottom: 1px solid var(--light-grey);
  padding-bottom: var(--margin-medium);
  margin-bottom: var(--margin-medium);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.category-heading-image {
  max-width: 300px;
}

.latest-category-products {
  margin-bottom: var(--margin-medium);
  padding-bottom: 0px;

  div {
    padding: var(--margin-small);
    border-top: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);

    a {
      display: inline-block;
      width: 100%;
    }
  }
}

.featured-products {
  text-align: center;

  .slideImg {
    aspect-ratio: 1/1;
    text-align: center;
    overflow: hidden;
    width: 100%;

    IMG {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
  }
}

.product-table {
  width: 100%;

  .product-price,
  .product-mobile-price {
    text-align: center;
    margin: var(--margin-small) 0;
  }

  .product-price .commonPrice {
    font-size: clamp(1.2rem, 1.5vw, 2.5rem);
  }

  .product-mobile-price {
    font-size: clamp(2rem, 2.2vw, 2.8rem);
  }

  TD.product-image {
    width: 35%;
    text-align: center;

    IMG {
      width: 100%;
      height: 100%;
      max-height: 200px;
      object-fit: contain;
    }

    .product-mobile-price b {
      font-size: clamp(1.8rem, 2vw, 3rem);
    }

    .price-info-button {
      top: 2px;
    }
  }

  TD.product-info {
    width: 65%;
    padding: var(--margin-medium);

    .product-name {
      font-size: clamp(2rem, 1.4vw, 2.6rem);
      line-height: 1.3;
      margin-top: 0px;
    }

    .product-name,
    .product-manufacturer,
    .product-added,
    .product-delivery-info {
      margin-bottom: var(--margin-small);
    }
  }

  TD.product-price {
    vertical-align: middle;

    .price-info-button {
      top: 1px;
    }
  }
}

.category-list {
  padding-bottom: var(--margin-medium);
  .category-list-item {
    text-align: center;

    IMG {
      width: 100%;
      height: auto;
    }

    h3 {
      font-size: 1.6rem;
    }
  }
}

.list-total-items {
  float: left;
}

.list-total-pages {
  float: right;
}

/* ACCOUNT */

.account-stars {
  margin: var(--margin-large) 0;

  i {
    font-size: clamp(1.5rem, 1rem + 3vw, 4rem);
    color: var(--dark-blue);
  }
}

/* TOP100 */
.box-top100 {
  /* ihan kamala hakki leveyteen, mutta tällä paskarakenteella ei parempaan pysty ihan helposti - olli 10/10/2025 */
  margin: 0 -8px 10px -8px;
}

.box-top100 .price-info-button {
  top: 3px;
}

.top100-left {
  float: left;
  width: clamp(40px, 80px, 100px);
  _height: 80px;
  _overflow: hidden;

  IMG {
    width: 100%;
    height: auto;
  }
}

.top100-right {
  float: left;
  width: 50%;
  margin-left: 10px;
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

.top100-right b.rowCount {
  font-weight: 600;
}

.top100-right b.price {
  font-size: 1.6rem;
  color: #1498cc;
}

/* /TOP100 */

/* HEADER CART */
#cartContent {
  min-width: 350px;
  display: none;
  position: relative;
  top: 2px;
  padding: 8px;
  min-height: 102px;
  background: white;
  float: right;
  z-index: 9999;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

/* NAVBAR */
.btnHomeIcon {
  position: absolute;
  left: 21px;
  top: 8px;
  color: #ffbb00;
  font-size: 24px;
}

.mainNav {
  margin-left: 190px;
  margin-top: -2px;
}

@media (max-width: 1200px) {
  .mainNav {
    margin-left: 140px;
  }
}

.navbar-pkp {
  background: #3f3f3f;
  /* Old browsers */
  background: -moz-linear-gradient(top, #3f3f3f 0%, #010101 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3f3f3f), color-stop(100%, #010101));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #3f3f3f 0%, #010101 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #3f3f3f 0%, #010101 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #3f3f3f 0%, #010101 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #3f3f3f 0%, #010101 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3f3f3f', endColorstr='#010101', GradientType=0);
  /* IE6-9 */

  border: 0;
  margin-bottom: 10px;
  border-bottom: 7px solid #ffbb00;
  border-radius: 0 !important;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 17px;
}

.navbar-pkp .navbar-brand {
  color: #999;
}

.navbar-pkp .navbar-brand:hover,
.navbar-pkp .navbar-brand:focus {
  color: #fff;
  background-color: transparent;
}

.navbar-pkp .navbar-text {
  color: #fff;
}

.navbar-pkp .navbar-nav > li > a {
  color: #fff;
  text-shadow: none;
  margin-top: 3px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-pkp .navbar-nav > li > a:hover,
.navbar-pkp .navbar-nav > li > a:focus {
  color: #ffbb00;
  background-color: transparent;
}

.navbar-pkp .navbar-nav > .active > a,
.navbar-pkp .navbar-nav > .active > a:hover,
.navbar-pkp .navbar-nav > .active > a:focus {
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: #000 !important;
  background-color: #ffbb00;
  margin-top: 6px;
}

.navbar-pkp .navbar-nav > .disabled > a,
.navbar-pkp .navbar-nav > .disabled > a:hover,
.navbar-pkp .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}

.navbar-pkp .navbar-toggle {
  border-color: #333;
}

.navbar-pkp .navbar-toggle:hover,
.navbar-pkp .navbar-toggle:focus {
  background-color: #333;
}

.navbar-pkp .navbar-toggle .icon-bar {
  background-color: #fff;
}

.navbar-pkp .navbar-collapse,
.navbar-pkp .navbar-form {
  border-color: #101010;
}

.navbar-pkp .navbar-nav > .open > a,
.navbar-pkp .navbar-nav > .open > a:hover,
.navbar-pkp .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #080808;
}

@media (max-width: 767px) {
  .navbar-pkp .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #080808;
  }

  .navbar-pkp .navbar-nav .open .dropdown-menu .divider {
    background-color: #080808;
  }

  .navbar-pkp .navbar-nav .open .dropdown-menu > li > a {
    color: #999;
  }

  .navbar-pkp .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-pkp .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #fff;
    background-color: transparent;
  }

  .navbar-pkp .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-pkp .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-pkp .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #080808;
  }

  .navbar-pkp .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-pkp .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-pkp .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444;
    background-color: transparent;
  }
}

.navbar-pkp .navbar-link {
  color: #999;
}

.navbar-pkp .navbar-link:hover {
  color: #fff;
}

/* /NAVBAR */

.containerBreadcrumb {
  margin-bottom: 9px;
  font-size: 14px;
}

/* CONTACT US NAVIGATION AND HEADER */

.contact-us-header {
  background-color: var(--dark-blue);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem 1.5rem 1rem;
  margin: 0 0 1rem 0;
}

.contact-us-header h2 {
  font-size: 2.5rem;
}

.contact-us-header a {
  color: white;

  &::after {
    content: " -";
  }

  &:last-child::after {
    content: "";
  }
}

/* FOOTER */
.container-footer-preorder {
  border-top: 7px solid #1498cc;
  text-align: center;
  margin: var(--margin-small) 0;
  padding: var(--margin-small) 0 var(--margin-small) 0;
}

.containerFooterLogos {
  height: 100px;
  border-top: 7px solid #1498cc;
  padding: var(--margin-small) 0 var(--margin-small) 0;
}

.containerFooter {
  background: #040507;
  border-top: 7px solid #ffbb00;
  border-bottom: 7px solid #ffbb00;
  color: #fff;
  font-size: 14px;
  padding: 30px 0 30px 0;
}

.containerFooter .container .row {
  padding-left: 0;
  padding-right: 0;
}

.containerFooter .row {
  margin-left: 0;
  margin-right: 0;
}

.containerFooter h4 {
  color: #ffbb00;
  font-weight: 600;
}

.containerFooter a {
  color: #fff;
}

/* /FOOTER */

td.productListing-data:hover {
  cursor: pointer;
}

#gr-screenshots {
  position: relative;
  left: 50%;
  margin-left: -235px;
}

.navdown {
  border: 0;
  border-top: 7px solid #ffbb00;
  border-radius: 0 !important;
  margin-bottom: 0px;
}

#text-tilaa-uutiskirje {
  text-align: center;
}

#jumpUp {
  visibility: hidden;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 40px;
  border: none;
  outline: none;
  background-color: #ffbe00;
  color: black;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  border-radius: 55px;
  transform: rotate(270deg);
  display: flex;

  &.active {
    visibility: visible;
  }
}

#jumpUp:hover {
  background-color: black;
  color: #ffbe00;
}

.glyphicon-jumptop {
  font-size: 35px;
}

/* HEIKKI 2025  */
@media (max-width: 500px) {
  #autocomplete-container {
    width: 420px !important;
    max-width: 420px !important;
  }

  .ui-autocomplete {
    max-width: 90% !important;
    left: 5% !important;
    right: auto !important;
  }
}

/* Product price modal  & price info button */

.product-price-info-button {
  color: var(--lightBlue);
  padding: 0 2px;
}

.modal-header {
  &.small-modal {
    border-bottom: 2px solid var(--lightBlue);
    padding-bottom: var(--margin-small);
    margin-bottom: var(--margin-small);
  }
  button.close {
    margin-top: -16px !important;
    font-size: 30px;
    opacity: 0.5;
  }
  a.close {
    font-size: 1rem;
  }
}
.modal-body {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.modal-footer {
  border-top: 1px solid var(--light-grey);
  padding: var(--margin-medium);
}

svg,
svg path {
  fill: var(--lightBlue);
}

svg.price-info-button {
  color: var(--lightBlue);
  position: relative;
}

svg.price-info-button path {
  fill-rule: "evenodd";
  fill: currentColor;
}

.modal-footer {
  .queryProdcts,
  .product-link {
    float: left;
  }
}

/* NEWS LIST & SINGLE NEWS */
.news-list {
  h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: var(--margin-small);
    font-weight: bold;
  }
  .news-list-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    gap: 1.5rem;
    margin-bottom: 3rem;

    h2 {
      font-size: 2.5rem;
      margin-top: 0;
    }

    .news-list-item-image {
      flex-basis: 40%;

      IMG {
        width: 100%;
      }
    }
    .news-list-item-content {
      flex-basis: 60%;
      display: flex;
      flex-direction: column;
    }
  }
}

.article {
  overflow: hidden;
  .article-image {
    width: 100%;
  }
}

/* JQUERY UI */

.ui-tabs {
  .ui-tabs-nav {
    background: transparent !important;
    border: none !important;

    li {
      float: left !important;
      border: none;
      background: transparent !important;
      padding: var(--margin-large);
      margin: 0;

      a {
        color: var(--dark-grey);
      }

      &.ui-tabs-active,
      &:hover {
        border-bottom: 4px solid var(--main-yellow);
      }
    }
  }

  .ui-widget-content {
    border: 1px solid var(--light-grey);
    padding: var(--margin-large);
  }
}

.container,
.containerFooter {
  max-width: 100%;
}

/* col-lg */
@media (min-width: 1200px) {
}
/* col-md */
@media (min-width: 992px) {
}
@media only screen and (max-width: 991px) {
  .boxText {
    min-height: 110px;
    display: block;
  }
  .boxText .top100-left {
    max-height: 110px;
    overflow: hidden;
  }
}
/* col-sm */
@media (min-width: 768px) and (max-width: 1200px) {
  nav.navbar {
    font-size: 14px;
  }
  .mainNav {
    position: absolute;
    margin-left: 0;
    left: 60px;
  }
  .navbar-right {
    position: absolute;
    right: 15px;
  }
}
/* col-xs */
@media (max-width: 767px) {
  .boxSubCategory {
    min-height: 85px;
  }
  .boxFeatured {
    min-height: 120px;
  }
  table {
    width: 100%;
  }
  .containerSlider .bx-controls {
    display: none;
  }

  .top100-right {
    margin-left: 5px;
  }
  .navbar-pkp {
    margin-bottom: 2px;
  }
  .navdown {
    margin-bottom: 0px;
  }
  .navbar-pkp,
  .containerTuoteryhmat {
    border-width: 0px;
  }
  nav.navbar {
    height: 33px;
  }
  nav.navbar.open {
    height: auto;
  }
  nav.navbar .mainNav,
  nav.navbar .navbar-right,
  .containerTuoteryhmat {
    display: none;
  }
  .toggleopen {
    display: block !important;
  }
  nav.navbar ul {
    margin-left: 0px;
    width: 100%;
  }
  nav.navbar ul li {
    width: 100%;
    float: left;
  }
  nav.navbar .navbar-right {
    float: left !important;
  }
  .navbar-toggler {
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    text-align: left;
    margin: 5px 0;
    line-height: 24px;
    height: 33px;
    margin-left: 20px;
  }
  .categories-toggler {
    height: 50px;
    background-color: #000;
    padding-top: 5px;
  }
  .navbar-pkp + div {
    margin-bottom: 5px;
  }
  .categories-toggler .title {
    position: absolute;
    left: 15px;
    font-size: 16px;
    padding: 5px 0;
    color: #fff;
    line-height: 35px;
    margin-left: 10px;
  }
  .navbar-toggler:hover,
  .categories-toggler:hover {
    cursor: pointer;
  }
  .menuicon {
    width: 33px;
    height: 33px;
    background: url(../includes/images/mobmenuicon.png);
    display: block;
    position: absolute;
    right: 15px;
  }
  .containerTuoteryhmat {
    width: 100%;
    margin: 0;
  }
  .containerTuoteryhmat ul {
    list-style-type: none;
  }
  .containerTuoteryhmat a {
    font-size: 17px;
    font-weight: 600;
  }
  .containerTuoteryhmat td {
    padding: 10px 2px;
  }
  .containerTuoteryhmat table > tbody > tr > td > br {
    display: none;
  }
  .bx-controls-direction .bx-next {
    right: 0px !important;
  }
  .bx-controls-direction .bx-prev {
    left: 0px !important;
  }
  .bx-wrapper .bx-controls-direction a {
    top: 30%;
  }
  .boxShadow img:not([src="images/pixel_trans.gif"]):not([src="images/pixel_silver.gif"]) {
    max-width: 100%;
    height: auto;
  }
  .resTable table tbody tr td:nth-child(4),
  .resTable table tbody tr td:nth-child(5) {
    display: none;
  }
  .resTable table tbody tr td[align="left"]:not(.boxText) {
    width: 50%;
  }
  .resTable table tbody tr td[align="center"] {
    width: 25%;
  }
  .resTable table tbody tr td[width="10"] {
    width: 25% !important;
  }
  .resTable table tbody tr td[class="main"] {
    width: 75%;
  }
  .resTable form[name="advanced_search"] select,
  .resTable form[name="kategoria"] select,
  .resTable form[name="toplist"] select {
    width: 100%;
    margin-bottom: 5px;
    padding: 5px;
  }
  .resTable table td[colspan="5"] > table td,
  .resTable table td.smallText {
    width: 100%;
    display: block;
    text-align: left !important;
  }
  .resTable .commonPriceSpecial s {
    display: block;
  }
  .footer .col-lg-12 {
    padding-left: 0px !important;
  }
  .footer .col-xs-12 {
    text-align: center;
  }
  .footer li {
    list-style-type: none !important;
  }
  .bx-wrapper .commonPriceSpecial s {
    float: left;
  }

  table.fixed table {
    table-layout: fixed;
  }
  table.fixed table tbody tr td:first-child {
    padding-right: 5px;
  }
  .shoppingCart table {
    table-layout: fixed;
  }
  .shoppingCart table.table tr td:nth-child(1) {
    width: 15%;
  }
  .shoppingCart table.table tr td:nth-child(2) {
    width: 20%;
  }
  .shoppingCart table.table tr td:nth-child(3) {
    width: 45%;
  }
  .shoppingCart table.table tr td:nth-child(4) {
    width: 20%;
  }
  .checkout table.fixed tr td:nth-child(1) {
    width: 15%;
  }
  .checkout table.fixed tr:nth-child(2) td:nth-child(1) {
    width: 85%;
  }
  .checkout table.fixed tr:nth-child(2) td:nth-child(4),
  .checkout table.fixed tr:nth-child(2) td:nth-child(5) {
    width: 1%;
  }
  .checkout table.fixed tr:nth-child(2) td:nth-child(2) {
    width: 10%;
  }
  .checkout table.fixed tr:nth-child(2) td:nth-child(3) {
    width: 5%;
  }
  .payment table.fixed tr:nth-child(2) table {
    table-layout: fixed;
  }

  .payment table.fixed tr:nth-child(2) table tr:first-child td:nth-child(1) {
    width: 1%;
  }
  .payment table.fixed tr:nth-child(2) table tr:first-child td:nth-child(2) {
    width: 30%;
  }
  .payment table.fixed tr:nth-child(2) table tr:first-child td:nth-child(3) {
    width: 5%;
  }
  .infoBoxContents.upper > td {
    width: 100%;
    float: left;
  }
  .infoBoxContents.upper > td:last-child {
    margin-top: 10px;
  }
  .billing td[align="right"] table tr td:nth-child(1) {
    width: 74%;
  }
  #gr-screenshots {
    width: 100% !important;
    left: 0;
    margin-left: 0;
  }
  .grvideo {
    left: inherit;
    margin-left: 0;
  }
}
@media (max-width: 500px) {
  .containerHeaderCheckout > div a:nth-child(2) {
    display: block;
  }
  .container.shoppingCart .btn-primary {
    width: 100%;
  }
  .container.shoppingCart table[style*="margin-top: 6px"] td {
    width: 100%;
    float: left;
    margin-bottom: 5px;
  }
}
@media (max-width: 460px) {
  form[name="quick_find"] div[style*="width:120px"] {
    width: 100px !important;
    margin-left: -10px;
  }
  .resTable table tbody tr td:nth-child(3) {
    display: none;
  }
  .visible-ltoe375 {
    display: block !important;
  }
  .containerRight #autocomplete-container .ui-autocomplete {
    left: 0 !important;
  }
}
