/* ----- GENERAL ----- */
#mainheader {padding:1em 0}
#logo {margin:0 auto;}
#logo img {max-width: 200px;}
#mobilemenu-container {background:url(../img/header/navibg.jpg) center top no-repeat; background-size:cover}
.mean-bar::before {right: unset; left: 10px;}
#mobile-logo {top: 11px; left: 59px;}

@media only screen and (max-width:1024px) {header.content-col {position: absolute;right: 0.5em;top: 0;z-index: 2000;width: auto;width: 180px; background:none;}header.content-col div:empty{display:none}}

/* ----- SEARCH, SHOPPING CART ----- */
#cart {align-items:center;color: #fff;grid-template-columns: 1fr 4fr;background:rgba(255,255,255,0.05);padding: 0 3%;border-radius: 4px;}
#okfunctions{flex-direction: row;justify-content: center;align-items: center;position:relative;}
#okfunctions em {width:100%; font-size:1.5rem;color:#fff;padding:0 10px;}
#cart_maara {pointer-events: none;background-color: #91a73c;border-radius: 15px;font-size: 0.7rem;font-weight: 400;height: 16px;margin: -6px 0 0 22px;position: absolute;width: 16px;z-index: 2;padding: 0;text-align: center;color: #fff;line-height: 130%;}
#cart a {font-weight: 400;height: 100%;line-height: 100%;width: 100%;float: left;color: #fff;}
#cart_yhteensa a {display:flex; justify-content:center; align-items:center;}
#cart_yhteensa span {flex:1;}
#cart_yhteensa span.summa {font-size: 0.7rem;text-align: center;}
span.kassa-button {font-size: 0.6rem;font-weight: 700;text-transform: uppercase;background:#005321;color:#fff;margin-left: 0;float: right;text-align: center;width: 50%;padding: 5px 2%;box-sizing: border-box;margin: 10px 0;}
#searchtoggl {justify-self:center;margin-right: 10px;}
#searchbar{ background:#011A77}
#search{width: 100%;justify-content: center;padding:20px 0;display:none; position:relative;}
#search form{display: block;top: 86px;z-index: 300;width: 75vw;}
#search-mobile {margin:10px auto 0 auto; text-align: center;  padding: 20px 0;}
#search-mobile form {display: inline-block; margin: 0 auto; width:100%}
#search #verkkokauppatuotehaku{max-width: 70%;margin: 0 auto;left: 16%;}
#search table, #search tbody, #search tr, #search td,#search-mobile table, #search-mobile tbody, #search-mobile tr, #search-mobile td {display:block; width: 98%}
#search table tr td{display:flex;}
#search form > table {position: relative;max-width: 70%;margin: 0 auto;}
#search-mobile table tr td {display:grid;grid-template-columns: 3fr 1fr;}
#search .btn,#search-mobile .btn {display:none;}
#search {width: 70%; margin: 0 auto;}
#search-mobile {width: 100%; margin: 0 auto;padding:20px 10px; box-sizing:border-box}
#search input#pikahakusana,#search-mobile input#pikahakusana {padding:10px 20px;height:38px; max-width:unset}
#search input.verkkokauppahakupainike,#search-mobile input.verkkokauppahakupainike  {font-size: 0.85rem;}
#search-mobile input.verkkokauppahakupainike{max-width: unset;width: 100%;background:#3d93ce}
#search #verkkokauppatuotehaku ,#search-mobile #verkkokauppatuotehaku {text-align:left;z-index:5000 !important; width:100% !important}
#search #verkkokauppatuotehaku {padding:1em;}

fieldset.search {border: none;padding: 0;margin: 0;}
.verkkokauppapikahakutuoterivi a {font-size: 14px;color: #000;padding: 2px 10px;box-sizing: border-box;display: block;}
input#pikahakusana {width: 75%;border: none;padding: 10px 0px 10px 10px;border-radius:3px 0 0 3px;font-size: 0.9em;float: left;display: block;box-sizing: border-box; margin-bottom:0;height:40px}
input.verkkokauppahakupainike { background:#91a73c;border: none;border-radius:0 3px 3px 0;padding: 10px;color: #fff;display:block !important;font-weight: 700;text-transform: uppercase;font-size: 0.9em;box-sizing: border-box;float: left;width: 100px;}
input.verkkokauppahakupainike:hover {cursor:pointer;}
#searchtoggl, #ostoskoripaikka {margin-right: 20px;}
#vkicons {min-width: 100px;}
#hakutyhjenna{top: 43px !important; z-index: 400000000 !important;width: 25px;background: #000;display: flex;justify-content: center;border-radius: 50px;height: 22px;padding-bottom: 2px;padding-top: 2px;align-items: center;margin-left: unset !important;right: 10%;}
#hakutyhjenna a {color:#fff;font-size: 14px;}
.contract-customers {position: absolute;bottom: -85px; left:0;text-align: center;width: 100%;z-index:20}.contract-customers .webiolinkkipainike {width: 100% !important;height:58px;max-width: 75% !important;}.contract-customers img {width: 11px;height: 15px; margin-right:10px}
@media screen and (max-width:1280px) {.contract-customers .webiolinkkipainike {height:45px}.contract-customers {bottom: -74px;}.poistomyynti > a {font-size:11px}}
@media screen and (max-width:1024px) {#search{display:flex;}.contract-customers .webiolinkkipainike span{display:none;}.contract-customers {left:unset; bottom:unset;right:unset;top: -2px;width:auto;position:relative;margin-left: 20px;}.contract-customers .webiolinkkipainike {max-width: unset !important;display: flex;width: 35px !important;height: 35px !important;;padding: 0;}.contract-customers .webiolinkkipainike img {margin:0 auto;min-width: 11px;min-height: 15px;}}
@media only screen and (max-width:1024px) {#okfunctions {justify-content: flex-end;}#vkicons {display: flex;}#sidenavi {display:none}}
@media only screen and (max-width:1024px) {#sidenavi {display:none}#search #verkkokauppatuotehaku {max-width: 92%;margin: 0 auto;left: 8px;}#searchtoggl {min-width: 32px;}#search{padding: 10px 20px;box-sizing:border-box;width:100%; display:none;}#search form{display: block;position: relative;z-index: 300;width: 100%;top:0}#search-mobile{display:flex;}#search input#pikahakusana {max-width: unset;min-height: 40px;}#searchtoggl {margin-right: 10px;}#search form > table {position: relative;max-width: 98%;}#mainheader {padding: 0.7em 0 0 0;}}

@media only screen and (max-width:1660px) {header .center-col {width:96%}#navi-wrap {grid-template-columns:1fr}#ostoskoripaikka {display: flex;flex-direction: row;justify-content: center;align-items: center;}#okfunctions {flex-wrap: nowrap;}.contract-customers {position: relative;bottom: unset !important;margin-left: 20px;}.contract-customers .webiolinkkipainike {height: 39px !important;max-width: unset !important;padding: 0 20px;box-sizing: border-box;font-size: 11px;}#ostoskoripaikka {margin-right: 0px;}.oklinkki img, #searchtoggl img {min-height: 32px;min-width: 32px;}}



/*----- PRODUCT LISTING -----*/

/* Product category frontpage */
.tuoteryhmaetusivu_tuoteryhmapalkki {display: flex;border-radius: 6px;background: var(--primary-color);color: #fff;margin:1em 0}
.tuoteryhmaetusivu_tuoteryhmapalkki_tuoteryhmanimi {flex:4; padding:10px 0 10px 2%;font-weight: 700;}
.tuoteryhmaetusivu_tuoteryhmapalkki_linkki {flex:4; padding:10px 2% 10px 0;text-align: right;}
.tuoteryhmaetusivu_tuoteryhmapalkki_linkki a {color:#fff; font-size:0.9rem}
.tuoteryhmaetusivu_alapalkki a {display: inline-block;background: #000; color: #fff;outline: 1px solid #24bdff;padding: 8px 20px;border-radius: 60px;box-sizing: border-box;font-size: 0.9rem;font-weight: 700;outline-offset: 0px;}
.tuoteryhmaetusivu_alapalkki {text-align: center;padding: 1em 0 3em 0;}
.tuoteryhmaetusivu_alapalkki .webiolinkkipainike {margin: 0 auto;background: none !important;color: #000 !important; border: 1px solid #dedede;display: block !important;font-size: 0.9rem; padding: 8px 0 !important; width:80%}


/* Endordse product */
.endorse-product{padding: 2em;margin-bottom: 2em;background: #fff;border-radius: 20px;}
#endorse-product-desc{font-size:0.9rem;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;margin-bottom:2em;}
.endorse-product h2 {font-size: min(max(1.2rem, 1.375vw), 1.375rem);}
.endorse-product section:first-of-type{background:#fff;}
.endorse-price {font-size:1.2rem;font-weight:700;line-height: 100%;}
.endorse-link .webiolinkkipainike {font-size: 0.9rem;  padding: 10px 20px;}
.endorse-product .latka_tuotekortti_basic {font-size: 11px;padding: 10px;margin-bottom: 1em;}

@media only screen and (max-width:1024px) {.endorse-product .tuotekortti_paakuva {max-height: 200px;object-fit: contain;min-height: 200px;}}

/* Tuoteryhman etusivu karuselli containerit */
@media only screen and (max-width:1280px) {.tuoteryhmaetusivu_tuoteryhmapalkki_tuoteryhmanimi {flex:3;}}
@media only screen and (max-width:1024px) {.tuoteryhmaetusivu_tuoteryhmapalkki_tuoteryhmanimi, .tuoteryhmaetusivu_tuoteryhmapalkki_linkki {flex:2;}.tuoteryhmaetusivu_tuoteryhmapalkki_linkki{font-size:0.8rem; text-align:right; padding-right:5%}}
@media only screen and (max-width:860px) {#listaus {grid-template-columns: repeat(3,1fr);}}
@media only screen and (max-width:720px) {.tuoteryhmaetusivu_tuoteryhmapalkki, .tuoteryhmaetusivu_tuoteryhmapalkki_linkki a {font-size:0.8rem}}
@media only screen and (max-width:575px) {.tuoteryhmaetusivu_tuoteryhmapalkki {font-size: 1rem;}.tuoteryhmaetusivu_tuoteryhmapalkki_linkki {display:none;}.tuoteryhmaetusivu_tuoteryhmapalkki_tuoteryhmanimi {flex: 1 1 100%}.tuoteryhmaetusivu_alapalkki {display:block;}}
#other-categories-listing a:first-of-type {display: none;}
#product-listing-content .modulikuvausteksti {padding-bottom:2em;}

#vk-tuotelistaus .tuoteryhmaetusivu_tuotteet{max-width:1200px}
@media only screen and (max-width:1660px) {#vk-tuotelistaus .tuoteryhmaetusivu_tuotteet{max-width:950px}}@media only screen and (max-width:1440px) {#vk-tuotelistaus .tuoteryhmaetusivu_tuotteet{max-width:800px}}@media only screen and (max-width:1280px) {#vk-tuotelistaus .tuoteryhmaetusivu_tuotteet{max-width:100%; width:100%}#tuotelistaukset-sivu.vk-yleislistaus .dgrid-s-xl-cols {display:block;}}

/* Product rows */
#listaus, .plist .col-4-grid, .tuoteryhmaetusivu_tuotedivi,.vktlsdivi {display: grid !important;grid-template-columns: repeat(4,1fr); grid-gap: 1em 1em;}
#other-manufacturers .dgrid-2-cols {grid-gap:1em}
#other-manufacturers .dgrid-2-cols > section{border:1px solid #e7eceb; border-radius:8px;margin-top:1em; padding:2em;}
#other-manufacturers.plist .col-4-grid {grid-template-columns: repeat(2,1fr);}
#other-manufacturers-s .dgrid-4-cols {grid-template-columns: repeat(auto-fit,minmax(350px,1fr));grid-gap: 2em 10px;}
#other-manufacturers-s h2,#other-manufacturers-s h3,#other-manufacturers-s h4,#other-manufacturers-s h5,#other-manufacturers-s h6 {color:#000; font-size:min(max(1.1rem, 1.25vw), 1.33rem); text-transform:none}
#other-manufacturers-s img {border-radius:6px;}

.plist .selaus_wrapper {display: flex;}
@media only screen and (max-width:1024px) {#listaus, .plist .col-4-grid,.vktlsdivi {grid-template-columns: 1fr 1fr;}#other-manufacturers.plist .col-4-grid {grid-template-columns: 1fr;}}
@media only screen and (max-width:860px) {#other-manufacturers-s .dgrid-4-cols,.tuoteryhmaetusivu_tuotedivi {grid-template-columns: repeat(2,1fr);}}
@media only screen and (max-width:678px) {#other-manufacturers-s .dgrid-4-cols {grid-template-columns: 1fr;}#other-manufacturers .dgrid-2-cols > section {padding: 1em;}}

/* Product info */
.selaus_wrapper {width:100%;}
.selaus_iso, .selaus_pieni {position:relative;background:#fff; outline: 1px solid #e7eceb;padding: 2em;border-radius:6px; outline-offset:-2px; width:100%;box-sizing: border-box;}
.selaus_tuoteteksti_iso p{font-size:16px;}
@media only screen and (max-width:678px) {.selaus_tuoteteksti_iso p{font-size:14px;}.selaus_iso, .selaus_pieni {padding: 1em;}}

/* Product image */
.selaus_kuva_iso img, .selaus_kuva_pieni img{min-height: 220px;max-height: 220px;max-width: 100%;margin: 0 auto 10px auto;display: block;width: auto;object-fit: contain;padding: 0px 0 20px 0;}
@media only screen and (max-width:1280px) {.selaus_kuva_iso img, .selaus_kuva_pieni img{min-height: 140px;max-height: 140px;}}
@media only screen and (max-width:480px) {.selaus_kuva_iso img, .selaus_kuva_pieni img {min-height: 120px;max-height: 120px;padding: 5px 0;}}



/* Alternatives color, size */
.selaus_vaihtoehdot_iso {display:none;}

/* Manucaturer */
.selaus_valmistaja {background:#404040;font-size: 0.9rem; text-transform: uppercase;color: #fff;padding:5px 20px; box-sizing: border-box; border-radius: 6px; margin-bottom:10px; max-width:max-content;font-weight: 500;line-height: 100%;}

@media only screen and (max-width:678px) {.selaus_valmistaja {font-size: 0.7rem;}}

/* Product name */
.selaus_tuotenimi_iso a, .selaus_tuotenimi_pieni a {font-size:min(max(0.9rem, 1.4vw), 1.55rem);color: var(--primary-color) !important;line-height: 120%;display: flex;padding:0;overflow: hidden;min-height:70px;word-break:break-word;}
.selaus_tuotehinta {display: flex;align-items: baseline;flex-direction:column;}
.alviteksti {font-size: 10px;display:block;}
.alkaen {font-size: 11px;}

 @media only screen and (max-width:1024px) {.selaus_tuotenimi_iso a, .selaus_tuotenimi_pieni a{min-height:unset}}
 @media only screen and (max-width:1440px) {.selaus_tuotenimi_iso a, .selaus_tuotenimi_pieni a{height:auto; padding-bottom:10px}}

/* Product rows - textlisting */
.tuoteselaus_tekstilista {grid-column: 1 / -1;}
.tuoteselaus_tekstilista {display: flex;width: 100%;padding: 0 10px;}
.tuoteselaus_tekstilista:nth-of-type(2n+1) {background: #ececeb;padding: 10px;}
.tuoteselaus_tekstilista tbody {display:block; width: 100%;}
.tuoteselaus_tekstilista tr {display:flex; flex-wrap:wrap;}
.tuoteselaus_tekstilista tr > td {flex:1;}
.tuoteselaus_tekstilista tr > td.selaus_tuotenimi_tekstilista, .tuoteselaus_tekstilista tr > td.selaus_tuotetarkenne_tekstilista {flex:4}
.selaus_tuotetarkenne_tekstilista {display:none;}
.selaus_osto_tekstilista .ostapainike { background: #91a73c;color: #fff;display: inline-block;padding: 2px 15%;font-size: 0.9rem;border-radius: 4px;font-weight: 700;}
.selaus_tuotenimi_tekstilista a, .selaus_hinta_tekstilista {font-weight: 400;}
@media only screen and (max-width:575px) {.selaus_tuotenimi_tekstilista a, .selaus_hinta_tekstilista{font-size: 0.8rem;}.selaus_osto_tekstilista .ostapainike {font-size: 0.7rem;}}
@media only screen and (max-width:375px) {.tuoteselaus_tekstilista tr > td.selaus_tuotenimi_tekstilista, .tuoteselaus_tekstilista tr > td.selaus_tuotetarkenne_tekstilista {flex:1 0 100%}.tuoteselaus_tekstilista td, .tuoteselaus_tekstilista td a {text-align:left;}.selaus_osto_tekstilista a { text-align: center; margin: 1px 0 10px 0;}}

/* Product category banners, ADD WRAPPER!!! */

/*.pagenbr-190 > .col-full, .pagenbr-190 #CONTENT_1 .col-full {display:grid; grid-template-columns: repeat(4,1fr); grid-gap:2em}*/

.tuoteryhmakuvanosto {display: grid;grid-template-rows: 150px 1fr; border: 1px solid #cecece;}
.tuoteryhmakuvanosto, .tuoteryhmakuvanostokuva {width: 100% !important;height: 100% !important;float: none !important;margin-right:0 !important;}
.tuoteryhmakuvanostokuva img {max-height:100px; object-fit:contain; width:auto; margin:0 auto; display:block;}
.tuoteryhmakuvanostootsikko a {color:#fff;display:block; width:100%; box-sizing:border-box; padding:10px 20px;background: var(--primary-color);}
.tuoteryhmakuvanostootsikko a:after {content:"»"; padding-left:10px;}
.valikkokuva {display: flex;height: 100%;flex-direction: column;justify-content: center;align-items: center;}

/*
@media only screen and (max-width:1280px) {.pagenbr-190 > .col-full, .pagenbr-190 #CONTENT_1 .col-full {grid-template-columns: repeat(3,1fr);}}
@media only screen and (max-width:678px) {.pagenbr-190 > .col-full, .pagenbr-190 #CONTENT_1 .col-full {grid-template-columns: repeat(2,1fr);}}
@media only screen and (max-width:480px) {.pagenbr-190 > .col-full, .pagenbr-190 #CONTENT_1 .col-full {grid-template-columns: 1fr;}}*/

/* Stickers  */
.latka_selaus_basic, .latka_tuotekortti_basic{width: auto;padding: 10px 20px;left:0;color: var(--webshop-badge-default-color); background:var(--webshop-badge-default-bg);font-weight: 700;font-size: 0.8rem;top: 10%;line-height:100%;position: relative ;z-index: 30; pointer-events:none;display:inline-block;}
.tuotekortti_latka_ilmainentoimitus,.selaus_iso_latka_tuotepaketti, .tuotekortti_latka_tuotepaketti  {padding: 0;font-size: 0.8rem;top: 0;position: relative;margin-bottom: 5px;font-weight: 400;}
.latka_tuotekortti_basic {border-radius: 4px;top:0;bottom: 0px; position:relative;}
.selaus_iso_latka_uutuus, .tuotekortti_latka_uutuus {background:var(--webshop-badge-novelty-bg)}
.selaus_iso_latka_tarjous, .tuotekortti_latka_tarjous {background:var(--webshop-badge-discount-bg)}
.selaus_iso_latka_ilmainentoimitus, .tuotekortti_latka_ilmainentoimitus {background:var(--webshop-badge-freeshipping-bg)}
.selaus_iso_latka_tuotepaketti, .tuotekortti_latka_tuotepaketti {background:var(--webshop-badge-package-bg)}
.latka_selaus_basic {position: absolute;pointer-events: none; top:10%; }

@media only screen and (max-width:678px) {.latka_selaus_basic, .latka_tuotekortti_basic {font-size: 0.7rem;}}

/* Short desc*/
.short-desc{padding:1em 0 2em 0;  font-size:0.9rem; line-height:160%}
#tk-lisatietolinkki{font-weight:700;display: block;padding-top:10px}

/* Oheistuote, alennuslatka */
.liittyvatuote img {object-fit: cover;max-height: 200px;padding:0 !important}.liittyvatuote {padding:0 !important}
.kytky nobr {font-size: 13px;text-align: center;width: 100%;display: block;color: #fff !important;background: #185393;padding: 5px 0; margin-top: 20px;}
.liittyva_tuote_latka_oheisalennus {background: #5b740f;color:#fff;box-sizing: border-box;font-size: 11px;font-weight: 700; text-align:center;line-height: 100%;position: absolute;top: 1em;left: 5%; width:85%;pointer-events: none;padding: 0.5em}.liittyva_tuote_latka_oheisalennus_teksti {line-height: 120%;font-size: 0.7rem;font-weight: 400; }
.liittyva_tuote_latka_oheisalennus_alennus {line-height:100%; font-size:1.1rem;}

/* ----- ADD TO CART ALERTBOX ------ */
#tuotelisattykoriin_popup{width: 500px;height: auto;background-Color: #ffffff;border: 1px solid #e7e7e7;z-index: 20000;display: grid;padding: 2em;box-sizing: border-box;border-radius: 12px;box-shadow: 10px 20px 30px -20px rgba(0, 0, 0, 0.3);grid-template-columns: 20px 1fr 1fr 1fr 1fr;}
#tuotelisattykoriin_popup .ylaboksi {border-radius: 4px;grid-column: 1 / -1;background: #2a2a2a;}
#tuotelisattykoriin_popup .napit a::after {content: "›";padding-left: 5px;}
#tuotelisattykoriin_popup .otsikko {color: #fff;font-weight: bold;text-align: center;padding: 10px;font-size: 14px;}
#tuotelisattykoriin_popup .kuva { grid-row: 2 / span 3;grid-column:2;min-width: 160px;padding: 0 10px;}
#tuotelisattykoriin_popup .kuva img {max-height: 120px;width: auto;padding: 2em 0;}
#tuotelisattykoriin_popup .tuotekortti_tuotenimi.popup_tuotenimi{font-size: 1.2rem;padding-top: 66px;font-weight:700;}
#tuotelisattykoriin_popup .tuotekortti_hinta{font-size: 0.9rem; padding-bottom:20px;}
#tuotelisattykoriin_popup .tuotekortti_tuotenimi.popup_tuotenimi, #tuotelisattykoriin_popup .tuotekortti_hinta{grid-column: 3 / span 5;text-align:left;margin:0 !important}
#tuotelisattykoriin_popup.napit {display: flex;flex-direction: row;grid-column-gap: 5%;margin-top: 15px;height: auto;text-align: center;}
#tuotelisattykoriin_popup.napit a {flex: 1;}
#tuotelisattykoriin_popup .vk-button-vihrea, #tuotelisattykoriin_popup .vk-button-sininen {background: #78ad40;border-radius: 60px;padding: 10px;font-size: 12px;color: #fff;text-align: center;font-size: 12px;}
#tuotelisattykoriin_popup .vk-button-sininen {background:#dedede;color: #000;}

.napit {grid-column: 1 / -1;display: grid;grid-template-columns: 1fr 1fr;grid-gap: 1em;}
@media only screen and (max-width:678px) {#tuotelisattykoriin_popup {width: 90vw;}}
@media only screen and (max-width:575px) {#tuotelisattykoriin_popup{grid-template-columns: 1fr 1fr 1fr 1fr 1fr;}#tuotelisattykoriin_popup .kuva {min-width: 85px;padding:0 20px 0 0}#tuotelisattykoriin_popup .kuva {grid-column: 1;}#tuotelisattykoriin_popup .tuotekortti_tuotenimi.popup_tuotenimi, #tuotelisattykoriin_popup .tuotekortti_hinta {padding-top: 45px;grid-column: 2 / span 5;}#tuotelisattykoriin_popup .kuva img {max-height: 80px;}#tuotelisattykoriin_popup .tuotekortti_hinta {padding-top: 5px;}}
@media only screen and (max-width:420px) {.napit {grid-template-columns:1fr;grid-gap: 0;}#tuotelisattykoriin_popup .vk-button-sininen{margin:0; background:none;order: 2;}#tuotelisattykoriin_popup { padding: 1em;}#tuotelisattykoriin_popup .otsikko {padding: 5px 14px;font-size: 10px;}#tuotelisattykoriin_popup .tuotekortti_tuotenimi.popup_tuotenimi {font-size: 0.9rem;}#tuotelisattykoriin_popup .vk-button-vihrea{padding: 8px 12px;font-weight:700;}}

/* Product category banners */
.tuoteryhmakuvanosto {display: flex; justify-content: center;margin: 1% !important;height: auto !important;flex-direction: column;width: 23% !important;}
.tuoteryhmakuvanosto > div {height: auto !important;width: 100% !important;}
.tuoteryhmakuvanostootsikko a {background: var(--primary-color);padding: 10px 5%;color: #fff;display: block;text-align: center;box-sizing: border-box;}
@media only screen and (max-width:860px) {.tuoteryhmakuvanosto {width: 31.3% !important;}}
@media only screen and (max-width:575px) {.tuoteryhmakuvanosto {width: 48% !important;}.tuoteryhmakuvanostootsikko a {font-size: 0.8rem;}}

/*----- PRODUCT CARD -----*/

/* Main header(s)*/
.whitecol {background: #fff;}
#product-wrapper {width:100%; padding: 0;box-sizing: border-box;}
.basic-info {display:grid; grid-template-columns:1fr 1fr; grid-gap:2em; box-sizing: border-box;}
.narrow-tk {max-width:1280px;}
#product-info{background:#fafbfb;width:100%;padding: 4em;box-sizing: border-box;border: 1px solid #9aa2b1;border-radius: 6px;}
#product-info h1{color:var(--primary-color);margin:0; padding: 0;font-size:1.875rem; font-weight:700;}
.tuotetarkenne { color: #000;padding: 0 0 0px 0;margin: 0;font-size: 18px;font-weight: 700;line-height: 130%;}
#tlisatiedot {font-size:0.9rem; font-weight:700;}



@media only screen and (max-width:1280px) {#product-info {padding:2em}}
@media only screen and (max-width:1024px) {#product-info {max-width: 100%;}}
@media only screen and (max-width:575px) {#product-info h1{font-size:1.1rem}#product-info {padding:1em}}

/* Breadcrump  */
#breadcrump {color:#8d8d8d;width: 100%; margin-bottom:1em;box-sizing: border-box;grid-column: 1 / -1;}
#breadcrump a {color:#3f3f3f;font-weight: 300;padding: 0 3px 0 0;font-size:0.9rem;}
#breadcrump.tr-etusivu-polku{background:none;padding:5px 0;}
a#edellinen {font-weight: 700;font-size: 1rem;padding-right: 5%; color:#444;}
#breadcrump.tr-etusivu-polku {background: none;padding: 0px 0 5px 0;}
#breadcrump.tr-etusivu-polku a{padding: 0 7px 0 0;}
@media only screen and (max-width:1280px) {#tuotekortti .center-col {width: 100%;}}
@media only screen and (max-width:1024px) {#breadcrump {grid-column: unset;margin-bottom:0;}.basic-info {grid-template-columns: 1fr;}a#edellinen,#breadcrump a {font-size: 0.9rem;}}
@media only screen and (max-width:800px) {#product-info {max-width: 100%;}}
@media only screen and (max-width:575px) {#breadcrump{padding: 0 2% 15px 0;line-height: 100%;}#breadcrump a {font-size: 0.75rem;padding: 0 2px;}a#edellinen {color: #444;width: 100%;display: block;background: rgba(0,0,0,0.05);box-sizing: border-box;text-align: center;padding: 10px 0px; font-size:0.9rem; margin-bottom:10px;}#breadcrump { background: none;}}

/* Product card - images */
#main-img {position: relative;grid-gap: 0.5em ;}
.tuotekortti_paakuva{display: block;object-position: bottom center; object-fit: cover;max-height: 600px;width: auto;margin: 0 auto;}
.tuotekortti_lisatuotekuvat {display: grid;grid-gap: 0.5em;height: auto;grid-template-columns: repeat(auto-fill, minmax(100px,1fr));padding-top:1em;align-items: center;}
.tuotekortti_lisakuva {width:100%;max-width: 100px;}
@media only screen and (max-width:1024px) {#product-wrapper {grid-template-columns:1fr; }}
@media only screen and (max-width:575px) {.tuotekortti_paakuva { max-height: 300px;}.tuotekortti_lisatuotekuvat {grid-template-columns: repeat(auto-fill, minmax(70px,1fr));}}

/* Selectlists */
.tk-row-wrap {display: flex;width: auto; padding:5px 0; align-items: center;}
.tuotekortti_tuotetiedotteksti,.tk-row-header, select {font-size:1rem}
.tk-row-header {padding-right:20px;}
.tk-hiddenfield {display:none;}
.selectheader {min-width: 150px;max-width: 150px;}
select {width:100%;-webkit-appearance: none;-moz-appearance: none;-ms-appearance: none;appearance: none;outline: 0;box-shadow: none;border: 0 !important;background: #fff;background-image: none; margin:0; font-size:14px !important;padding: 0 20px 0 0;}/* Remove IE arrow */select::-ms-expand {display: none;}
.selectbox{position: relative;height: 2em;line-height: 2;background: #fff;overflow: hidden;color:#000;border-radius: .25em;border: 1px solid #dedede;float: left;min-width:80px; padding:0 10px}
.selectbox::after{content: '\203A'; position: absolute;top: 0;right: 0;padding: 0em 0.7em;color:#ff6600;cursor: pointer;pointer-events: none;-webkit-transition: .25s all ease;-o-transition: .25s all ease;transition: .25s all ease; font-size: 22px;transform: rotate(90deg); line-height:150%}
.selectbox:hover::after{color: #f39c12;}

@media only screen and (max-width:420px) {.selectheader {min-width: 80px;max-width: 80px;}}

/* Additional info - textarea_pois */
#tuotekortti_lisatietokentta {padding:2em 0 0 0}
#tuotekortti_lisatietokentta br {display:none;}
.lisatietokenttaotsikko {color:var(--primary-color); font-weight: 700; padding-bottom:10px; display:block;}
.lisatietokentta {width: 100%;min-height: 120px;border: 1px solid #ccc;border-radius: 6px;}
#tuotekortti_tarjoussaasto {color:#000 !important;display: block;font-size: 14px;box-sizing: border-box;padding: 0 0 10px 0;}
#tuotekortti_tarjoussaasto:empty {display: none;}

/* Product price */
.selaus_hinta_iso, .selaus_hinta_pieni {flex:3;}.selaus_suoraosto_iso {flex:1;}
.selaus_hinta_iso a, .selaus_hinta_pieni a {box-sizing: border-box;line-height: 100%;color:#000;padding: 10px 0px;display: flex;flex-wrap: wrap; text-transform:uppercase; font-weight:700; font-size:1.1rem}
.selaus_suoraosto_iso a{color:#24bdff;font-weight:400;text-decoration:underline}

#tuotekortti_hinta_wrapper { margin: 1em 0 2em 0;}
.tuotekortti_tuotehinta_normaali, .tuotekortti_tuotehinta_tarjous {font-weight:500; font-size:2.111rem;}
.tuotekortti_tuotehinta_tarjous{color:var(--primary-color);}
#tuotekortti_normaalihinta{font-size:14px; padding-top:5px;color:#959595}
.kampanjadiv-header{font-weight: 400;color:#000;padding-top: 0.5em;font-size: 11px;font-style: italic;}
.tuotekortti_maara input {height: 49px;width: 80%;border-radius: 3px;border: 1px solid #b3b3b3;text-align: center;font-size: 1rem;}

@media only screen and (max-width:678px) {.selaus_suoraosto_iso a {font-size: 14px;}}
@media only screen and (max-width:480px) {.tuotekortti_tuotehinta_normaali, .tuotekortti_tuotehinta_tarjous {font-size: 1.7rem;}}

/* Discount campaign */
.tuotekortti_paljousale .tuotekortti_tuotetiedototsikko {font-weight:700;padding-bottom:10px}

/* Add to cart */
.tuotekortti_ostolaatikko{display: flex;}
.tuotekortti_ostolaatikko > div {flex: 0 1 auto;}
.tuotekortti_ostolaatikko .tuotekortti_tuotetiedototsikko {display: none;}
.tuotekortti_maara{padding-right:10px;}
#ostoskorinappi,.tarjouspyyntolomake input[type=button] { background: #005321;color:#fff;font-size: 0.9rem;text-transform: uppercase;font-weight: 700;text-align:center; box-sizing: border-box;border-radius: 3px;height:50px;display: flex;justify-content: center;align-items: center;padding: 10px 5vw;}
#ostoskorinappi .fa-cart-plus {display:none;}

@media only screen and (max-width:480px) {#ostoskorinappi {font-size: 0.75rem;height: 40px;}.tuotekortti_maara input {height: 40px;}}
/* Make an offer */
.tuotekortti_ostolaatikko.tarjouspyyntolomake{display:none; }
.tarjouspyyntolomake{margin-top:2em;width:100%}
.tarjouspyyntolomake input {font-size: 0.9rem;padding: 0 10px; height:35px; width:100%;box-sizing: border-box;}
.tarjouspyyntolomake td {font-size:1rem; padding-bottom:10px;}
.tarjouspyyntolomake b{color:var(--primary-color);font-size:1.2rem;margin-bottom:1em;display:block}
.tarjouspyyntolomake input[type=button]{font-size:1rem;font-weight:400;text-transform:none;border:none;}

/* Stock info & estimate delivery cost*/
.stock-quantity {padding-bottom:0em; font-size:0.8rem; font-weight:700;color:#005321}
.accordion {cursor: pointer;width: 100%;border: none;text-align: left;outline: none;transition: 0.4s;box-sizing:border-box;padding:0;font-size:0.9rem; color:var(--primary-color)}.accordion:before {content: '›';font-weight: bold;float: left;margin-right: 5px;}.accordion.active:before {content: "-";}.panel {padding: 0;background-color: white;max-height: 0;overflow: hidden;transition: max-height 0.2s ease-out;box-sizing:border-box;font-size:14px;line-height:140%}
#delivery-costs {font-size: 12px; margin-bottom:0.2em;padding: 2em 0 0 0;}
#delivery-header {color:#5b740f;font-weight:700; padding:0 1em 0 0px}
.delivery-value{font-size:12px; padding:0 10px;}
.tkaotsrivi {display: none;}

/* 3 benefits */
#tuotekortti_promoblock {font-size:1rem; line-height:180%}

@media only screen and (max-width:575px) {#tuotekortti_promoblock {font-size: 14px;line-height: 240%;}}

/* Linked product alternatives */
.tuotekortti_linkitetyttuotteet {padding: 2em 0 0 0;}
.linkitettytuote-header {font-weight:700;padding-bottom:10px}
.linkitettytuote {margin-right: 10px;}

/* Klarna banner */
#klarna {box-sizing: border-box;display: flex;justify-content: center;align-items: baseline;padding: 20px 0;margin-bottom: 1em;}
#klarnaimg {max-width:70px; padding-right:10px}
#klarnatext {font-size:0.9rem}

/* Tiny slider carousel */
.tns-outer{padding:0 !important}.tns-outer [hidden]{display:none !important}.tns-outer [aria-controls],.tns-outer [data-action]{cursor:pointer}.tns-slider{-webkit-transition:all 0s;-moz-transition:all 0s;transition:all 0s}.tns-slider>.tns-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{content:'';display:table;clear:both}.tns-horizontal.tns-no-subpixel>.tns-item{float:left}.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item{margin-right:-100%}.tns-no-calc{position:relative;left:0}.tns-gallery{position:relative;left:0;min-height:1px}.tns-gallery>.tns-item{position:absolute;left:-100%;-webkit-transition:transform 0s, opacity 0s;-moz-transition:transform 0s, opacity 0s;transition:transform 0s, opacity 0s}.tns-gallery>.tns-slide-active{position:relative;left:auto !important}.tns-gallery>.tns-moving{-webkit-transition:all 0.25s;-moz-transition:all 0.25s;transition:all 0.25s}.tns-autowidth{display:inline-block}.tns-lazy-img{-webkit-transition:opacity 0.6s;-moz-transition:opacity 0.6s;transition:opacity 0.6s;opacity:0.6}.tns-lazy-img.tns-complete{opacity:1}.tns-ah{-webkit-transition:height 0s;-moz-transition:height 0s;transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{position:absolute;left:-10000em}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{opacity:1;filter:alpha(opacity=100);z-index:0}.tns-normal,.tns-fadeOut{opacity:0;filter:alpha(opacity=0);z-index:-1}.tns-vpfix{white-space:nowrap}.tns-vpfix>div,.tns-vpfix>li{display:inline-block}.tns-t-subp2{margin:0 auto;width:310px;position:relative;height:10px;overflow:hidden}.tns-t-ct{width:2333.3333333%;width:-webkit-calc(100% * 70 / 3);width:-moz-calc(100% * 70 / 3);width:calc(100% * 70 / 3);position:absolute;right:0}.tns-t-ct:after{content:'';display:table;clear:both}.tns-t-ct>div{width:1.4285714%;width:-webkit-calc(100% / 70);width:-moz-calc(100% / 70);width:calc(100% / 70);height:10px;float:left}.tns-nav {text-align:center; margin:10px 0}.tns-nav button, .tns-nav-active {width: 20px;height: 20px;border-radius: 100%;border: none;background: #d5d5d5;margin:0 2px}button.tns-nav-active {background: #c0010c;}


/* Other products */
#other-categories{display:none;}
#other-products .tuotekortti_tuotelistaus{margin-top: 2em;box-sizing: border-box;padding: 2em;}.liittyvatuote {display:flex;width:100%}.tuotekortti_valiotsikko {display:none;}.tuotekortti_tuotelistaus::before {font-weight: 700;font-size: 1.6rem;padding: 0 0 20px 0;color: var(--primary-color);content: "Saattaisit olla kiinnostunut myös näistä'";text-align: center; width: 100%;display: block;}
@media only screen and (max-width:575px) {.tuotekortti_tuotelistaus::before {font-size: 1.2rem;}}
@media only screen and (max-width:375px) {.tuotekortti_tuotelistaus::before {font-size: 1rem;}}

/* Normal price */
.hinta-wrapper {display:flex;}.selaus_normihinta_iso {display: flex;}.selaus_hinta_iso br {display:none;}.selaus_tarjoushinta_iso{display:block;padding-bottom:3px;}.selaus_normihinta_iso, .selaus_normihinta_iso nobr {color:#000 !important;font-size: 11px; width:100%}

/* Long decsription */
#additional-content {box-sizing: border-box;margin-top: 2em;display: grid;grid-template-columns: 2fr 1fr;grid-gap: 2em;background:#fff;border: 1px solid #e7eceb;}
#other-categories{border-left: 1px solid #dedede}
#other-categories-listing a {display: inline-block; background: var(--primary-color);color: #fff;padding: 8px 10px;margin: 10px 10px 0 0;font-size: 0.7rem;font-weight: 700; border-radius: 4px;}
.category-link {background:#e17d28;color:#fff;box-sizing: border-box;padding: 10px 10%;border-radius: 3px ;display:inline-block; margin-top:1em}
@media only screen and (max-width:1024px) {#additional-content {grid-gap:2em 0; width:100%; grid-template-columns:1fr}#other-categories {border:none;padding:0;}#other-categories-listing h5 {font-size:1.1rem}}
@media only screen and (max-width:575px) {#additional-content table tr { display: flex; flex-wrap:wrap;}#additional-content table td { flex:1}}
@media only screen and (max-width:480px) {#additional-content table tr {display: flex;flex-wrap: wrap;flex-direction: column;padding-bottom: 10px;}#additional-content table td{width: 100%;}}

/* Brand info */
#brand-info-wrapper{grid-column: 1 / -1;margin:2em 0}
#brand-info img {max-width:60px; height:auto; display:block; float:left; padding-right:5%; }
#brand-info-description {font-size: 0.7rem;padding-left: 20px;}
.manufacturer-description h2,.manufacturer-introduction h2,#other-manufacturers h2 {font-size:min(max(1.2rem, 1.4vw), 1.55rem); text-transform: none;color:#000}
.manufacturer-image img,#other-manufacturers img,.manufacturer-logo img {border-radius:6px;width: 100%; object-fit: cover;}
.manufacturer-link{font-size:11px;}

/* Reviews */
.svg-inline--fa.fa-w-16 {width: 1em;color:#5b740f}.product-reviews-link__recommendation-percentage {color:#5b740f; padding-bottom:2em; display:grid; grid-template-columns: repeat(2,1fr);grid-gap:2rem; font-weight:700;}.product-review {margin-bottom:2em;}.review-text{font-style:italic;line-height:160%} .product-reviews-link__recommendation-percentage .fa {color:#000}.fa.checked { color: orange;}
@media only screen and (max-width:800px) {#additional-content {padding:2em;}}
@media only screen and (max-width:575px) {#additional-content{padding:1em}#subpage-content {padding:2em}#brand-info-wrapper{grid-gap:0}#brand-info-wrapper .manufacturer-description {order: 2;padding: 1em;}}
@media only screen and (max-width:375px) {.product-reviews-link__recommendation-percentage {grid-template-columns:1fr;}}

/* ------ PRODUCT SORTING ------ */
#tr-header-wrapper {grid-gap: 0;grid-template-columns: 3fr 1fr !important;}
.tuotesuodatinpalkki{height:auto !important; padding:0 !important}.tuotejarjestys {font-size: 1rem;width: 100%;-webkit-appearance: none;-moz-appearance: none;-ms-appearance: none;appearance: none;outline: 0;box-shadow: none;border: 0 !important;background: #fff;background-image: none;background-image: none;margin: 0;}.tuotesuodatinpalkki_jarjestys form:after {content: '\203A';position: absolute;top: 0;right: 0;padding: 0em 0.7em;color: #ff6600;cursor: pointer;pointer-events: none;-webkit-transition: .25s all ease;-o-transition: .25s all ease; transition: .25s all ease; font-size:22px;transform: rotate(90deg);line-height: 200%;}.tuotesuodatinpalkki_jarjestys {position:relative;width: 100%;height: auto;padding:10px 1em 10px 0;line-height: 100%;background: #fff;overflow: hidden;color: #000;border: 1px solid #1d1d1b;float: left;}
@media only screen and (max-width:678px) {#tr-header-wrapper {grid-gap: 0;grid-template-columns: 2fr 1fr !important}}
@media only screen and (max-width:480px) {#tr-header-wrapper {grid-gap: 0;grid-template-columns: 1fr !important}#tuotejarjestin {padding: 1em 0;display: none;}}

/* ------ PRODUCT FILTERING ------ */
#tuotesuodatin form{display:flex;flex-wrap:wrap}#suodatin .suodatin_ominaisuudet,.ui-slider{margin-bottom:40px!important;width:100%!important;margin-bottom: 1em;}.sivuominaisuudet_mobiili_otsikko,.suodatinotsikko{display:block;color:#fff;font-weight:400;text-transform:uppercase;background:#000;padding:5px 5%;font-size:1rem; margin-bottom:1em;}form#suodatinm{display:none;grid-template-columns:1fr 1fr 1fr;grid-gap:1em .5em}.sivuominaisuudet_mobiili_select select{height:45px;font-size:14px;border-radius:0!important;border:1px solid #f2771a!important;width:100%;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;outline:0;box-shadow:none;background:#fff;background-image:none;background-image:none;margin:0}.sivuominaisuudet_mobiili_select::after{content:'\203A';position:absolute;display:flex;height:33px;top:0;right:0;padding:0 .7em;color:#f60;cursor:pointer;pointer-events:none;-webkit-transition:.25s all ease;-o-transition:.25s all ease;transition:.25s all ease;font-size:22px;transform:rotate(90deg);line-height:150%}.sivuominaisuudet_mobiili{width:100%}
@media only screen and (max-width:1024px) {form#suodatin {display: none;}form#suodatinm {display: grid;}}
@media only screen and (max-width:480px) {form#suodatinm {grid-template-columns: 1fr;grid-gap: 1em 0.5em;}.suodatinotsikko, .sivuominaisuudet_mobiili_otsikko {font-size: 0.8rem;}}

/* Omat tiedot valilehdet */
.omattiedot_valilehti_vasen, .omattiedot_valilehti_oikea, #ot1 input[type="submit"],#ot2 input[type="submit"]{ background-color: #e3e3e3;border-right:1px solid #fff;height: auto;float: left;width: 150px;text-align: center;padding-top:3px;}
#ot1 tr, #ot2 tr {display: grid;grid-template-columns: 1fr 1fr auto auto;grid-gap: 1em 2em;align-items: center;}
#ot1 input[type="submit"],#ot2 input[type="submit"]{border:none; background-color:#82c341;}
.omattiedot_valilehti_oikea a, .omattiedot_valilehti_vasen a {display:block; padding:10px;color:#000; font-weight:700; text-align: center}
#ot1 a,#ot2 a, #ot1 input[type="submit"],#ot2 input[type="submit"] {background:#82c341; color:#fff; padding:10px 15px;font-size:14px;margin-bottom:2px; display:block;  margin-top:1em; border-radius:4px;text-align: center; font-weight:700;}
#ot2 a{background:#000;}
#ot2 tr td:last-of-type a{background:#82c341}
#ot2 a {padding: 0px 15px;font-size: 13px;margin-top:0}
#ot1, #ot2 {padding-top:1em;width: 100%;}
#ot2 tr {grid-template-columns: 90px 160px 120px 250px;}

#vk_popup_naytatilaus_tilaus {width: 100% !important;background: #f6f6f6;padding: 2em;box-sizing: border-box;}
#vk_popup_naytatilaus_tilaus table td table tr {display: grid;grid-template-columns: 1fr 1fr;}
#popdupdivh {margin-bottom: 2em;}
#popdupdivh + table tr {display: grid;grid-template-columns: 1fr 2fr;}
#popdupdivh + table tr td {width: 100% !important;}
.vk-taulukko-ei-valistysta tr:nth-last-child(2) td {grid-column: 1 / -1;}

@media only screen and (max-width: 1024px) {#login {grid-template-columns: 1fr 1fr 1fr 1fr 1fr;}.verkkokauppanavi, #login{height:auto;}.verkkokauppanavi > .content-col {display: grid;grid-template-columns: 1fr;}#ostoskoripaikka {display:flex;}#vk_popup_naytatilaus_tilaus {width:80vw !important;overflow: hidden;overflow-x: scroll;}}
@media only screen and (max-width: 860px) {.tlinkki {font-size:10px;white-space: pre-wrap;height:48px;}.tlinkki span, .frstrowlink span{display: block;}#ot1 tr{display: grid;grid-template-columns: 1fr;grid-gap: 0em 2em;}#ot1 td, #ot2 td {font-size: 12px;}#ot2 tr {display: grid;grid-template-columns: 1fr 1fr; grid-gap:0 2em;}#ot2 tr td {display: flex;justify-content: center;}#ot2 tr td:last-of-type, #ot2 tr td:nth-last-child(2) {grid-column: 1 / -1;}#ot2 tr:first-of-type{grid-template-columns: 1fr 1fr}#ot2 tr:first-of-type td {grid-column: unset;}#ot2 a{max-width: max-content; background:#000;}#ot2 tr td:last-of-type a{background:#82c341}#ot2 a {padding: 5px 15px; max-width:unset; width:100%}#ot2 tr {padding: 10px;box-sizing: border-box;border-radius: 4px;}#ot2 tr:nth-of-type(even) {background: #f6f6f6;margin-bottom: 20px;}.omattiedot_valilehti_vasen, .omattiedot_valilehti_oikea {width: 49%;}.omattiedot_valilehti_oikea a, .omattiedot_valilehti_vasen a {font-size: 12px;}}
@media only screen and (max-width: 575px) {#cart {  grid-template-columns: 50px 200px;}#login > a {font-size: 14px;}#login img { max-width: 18px;}#ostoskoripaikka {margin-right: 0}}

/*------ LOGIN POP-UP -------*/
#colorbox, #cboxWrapper, #cboxContent, #cboxLoadedContent {z-index: 999999999998;height:450px !important;max-width:90vw;}
#cboxLoadedContent{border: 1px solid #e7e7e7;border-radius: 12px;}
#colorbox {box-shadow: 10px 20px 30px -20px rgba(0, 0, 0, 0.3);}
#popup_container {z-index:999999999999 !important}
/*#colorbox { padding-bottom: 0px !important;padding-right: 0px;display: block;position: absolute;width: 500px !important;top: 30vh !important;left: 30vw !important;}*/
#kirjautuminen-kirjautumislomake .kirjautuminen-inputkentta input {height: 45px !important;width: 100%;padding: 0 10px;border-radius: 4px;border: 1px solid #2a2a2a;font-style: italic;box-sizing: border-box;}
#cboxClose {right: 9px; top: 6px;color: #fff !important;border-radius: 60px;}
#tunnustilaus, #tunnustilaus p, #tunnustilaus a {font-size: 0.8rem !important;}
#cboxContent {margin-top: 0px !important;}
#cboxLoadedContent a {color:#1d1d1b !important; text-decoration:unerline !important;}
.kirjautuminen-kirjautumisotsikko {border-radius: 4px;padding: 10px 10px 0 10px;color: #2a2a2a;text-align: center;font-weight: 700;font-size: 20px;}
.kirjautuminen-inputkentta {padding-top: 10px;}
.kirjautuminen-kirjautumisohje {font-size:14px; margin-bottom: 1em; text-align:center; padding-top:5px}
#loglinks-regform{padding-top: 1em;text-align: center;}
#loglinks-regform a {text-decoration: underline;font-size: 16px;color: #17308d !important;}
#kirjautuminen-kirjautumislomake, #kirjautuminen-kirjautumistekstit {width:100%; box-sizing:border-box; padding:30px 50px; float:left; color:#1d1d1b;display: grid;}

#kirjautuminen-kirjautumisbutton {color: #fff;background: #1d1d1b;border: none; margin: 10px 0 0 0;padding: 0;width: 100%; font-weight: 700;height: 35px;font-size: 0.9rem;}
#cboxClose {background-position: -48px -23px !important;top: 10px !important; margin-right: 10px !important; width:28px !important; height:28px !important;}
#colorbox{z-index: 300000000 !important;}
#yhdistelmalomake input {width: auto !important;}

@media only screen and (max-width: 480px) {#kirjautuminen-kirjautumislomake, #kirjautuminen-kirjautumistekstit {padding: 2em;}#colorbox{left: 5vw !important;}.kirjautuminen-kirjautumisotsikko {font-size: 18px;}.kirjautuminen-kirjautumisohje {font-size: 12px;}#kirjautuminen-kirjautumislomake .kirjautuminen-inputkentta input,#kirjautuminen-kirjautumisbutton {height: 35px !important;}#loglinks-regform {font-size: 14px;}}

/* Login */
#logonblock {display:flex; align-items:center; justify-content:center;padding: 0px 20px; height:49px}
#login a {padding:10px 0px; height:30px}
#login a,#login .lgt-icon {display:flex;align-items:center; justify-content:flex-end}
.lgt-icon{padding:0 10px; color:#000;}
#login img {padding-right: 10px; max-width:25px}

@media only screen and (max-width: 860px) {#login a{padding:10px 0px;}}

/* Discount & offers page(s) -> Dont show order button if quantity is zero */
.maincatpage-4882 .tuotekortti_ostolaatikko + .orderproduct-info .stock-quantity,.maincatpage-529 .tuotekortti_ostolaatikko + .orderproduct-info .stock-quantity {display: none;}
.maincatpage-4882 .tuotekortti_ostolaatikko + .orderproduct-info::after,.maincatpage-529 .tuotekortti_ostolaatikko + .orderproduct-info::after {content: "Ei varastossa";}
.maincatpage-4882 .tuotekortti_ostolaatikko:has(+ .orderproduct-info),.maincatpage-529 .tuotekortti_ostolaatikko:has(+ .orderproduct-info) #add-to-cart {display: none;}