/*!
Theme Name: Helpotkotisivut
Theme URI: https://www.helpotkotisivut.fi/wordpress-kotisivut/
Template: kadence
Author: Helpotkotisivut
Author URI: https://www.helpotkotisivut.fi/
Description: Helppojen kotisivujen lapsiteema pohjautuen Kadence teemaan
Version: 0.3
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* Sanojen tavutuksen pakotus pois päältä*/
h1, h2, h3, h4, h5, h6, p, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {word-break: keep-all; hyphens: none; word-wrap: initial;}

/* Main Header varjostus */
#main-header .item-at-start {transition: box-shadow ease-in-out 200ms; box-shadow: 5px 5px 30px rgba(0,0,0,.05);}
#main-header .item-is-stuck {box-shadow: 0 20px 40px -12px rgba(0,0,0,0.05); transition: all ease-in-out 200ms;}

/* Linkkien underline pakotus pois päältä */
a, p a {text-decoration: none!important;}

/* Fluent Forms */
input, textarea {padding: .6rem!important; border-radius: 0!important;}
.fluentform .ff-el-group {margin-bottom: 1rem!important;}
.fluentform .ff-el-form-check-label .ff-el-form-check-input {top: 0!important; width: 1.2rem!important; height: 1.2rem!important; margin-right: .4rem!important;}
.fluentform .ff-el-tc {margin-top: -.8rem!important;}

.fluentform .ff-el-input--label label { font-weight: 500!important; font-size: 16px; }
.fluentform .ff-el-form-control {   border: 0;   box-shadow: 5px 5px 15px rgba(0,0,0,.02); border-radius:0!important; padding:.6rem!important; }
#ff_6_dropdown { height: 46px!important; }

/* GDPR Cookie ikoni */
.cky-revisit-bottom-left {bottom: .5rem!important; left: .5rem!important;}
.cky-btn-revisit-wrapper .cky-btn-revisit img {height: 1.8rem!important; width: 1.8rem!important;}
.cky-btn-revisit-wrapper {width: 2.5rem!important; height: 2.5rem!important;}

/* WP Social Ninja */
.wpsr-fm-chat-wrapper.wpsr-chat-icons-layout .wpsr-fm-chat-bubble.active .wpsr-fm-bubble-btn {-webkit-transform: none!important; transform: none!important;}
.wpsr-fm-chat-wrapper {right: .5rem!important; bottom: .5rem!important;}
.wpsr-fm-chat-wrapper .wpsr-fm-chat-bubble {right: 0!important;}
.wpsr-fm-chat-wrapper .wpsr-fm-chat-bubble .wpsr-fm-bubble-btn.wpsr-fm-bubble-btn-has-text {border-radius: 25px!important; padding: 0.6rem 1.2rem!important;}
.wpsr-fm-chat-wrapper .wpsr-fm-chat-bubble .wpsr-fm-bubble-btn.wpsr-fm-bubble-btn-has-text img {margin: 0 -0.3rem!important;}
.wpsr-fm-chat-wrapper.wpsr-chat-icons-layout .wpsr-fm-chat-box-display {bottom: -1.8rem!important; right: 0.5rem!important;}

/* WP Social Ninja Mobiili */
@media (max-width: 768px) {.wpsr-fm-chat-wrapper {right: .5rem!important; bottom: .5rem!important;} .wpsr-fm-chat-box {display: none!important;} .wpsr-fm-chat-wrapper .wpsr-fm-chat-bubble {right: 0!important;}}

/*BLOGI lue lisää-painike*/
a.post-more-link { text-transform:unset!important; letter-spacing:0!important; }

/*WOOCOMMERCE*/
/*Kauppa ja etusivun tuotteet*/
.wc-block-grid__product .wc-block-grid__product-title {   font-family: "Inter" !important;   color: var(--global-palette1)!important;   font-size: 1.1rem !important;   font-weight: 700!important; }


/*ostoskori ja kassa*/
#billing_country_field, .woocommerce-shipping-fields { display:none!important;}

.woocommerce-cart #primary, .woocommerce-checkout #primary { margin:2rem auto 4rem!important; padding: 3rem 2rem!important; background: #e1d4c3; }
@media only screen and (min-width:1300px){
.woocommerce-cart #primary, .woocommerce-checkout #primary { width: 1280px!important; }
}
@media only screen and (max-width:1299px){
.woocommerce-cart #primary, .woocommerce-checkout #primary {   width: 100%!important; }
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {   font-size: 16px;   border: 0;   box-shadow: 5px 5px 20px rgba(0,0,0,.05); }

.woocommerce-privacy-policy-text, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error, .woocommerce .woocommerce-info { font-size: 16px!important; line-height: 1.5rem !important; }

/*tuotesivu*/
.tabs.wc-tabs { display: none; }

.woocommerce-Tabs-panel h2 { color: var(--global-palette1); padding-bottom: 0rem; padding-top: 3rem!important; border-top: 1px solid var(--global-palette6); }
.woocommerce div.product form.cart .variations select { min-width: 50%!important; border: 2px solid #ececec!important; }

/*kauppa-sivu*/
.wc-block-product-categories ul {   padding-left: 0!important;   list-style: none!important;   margin: 0!important; }
.wc-block-product-categories ul li a {   text-transform: uppercase;   letter-spacing: 0.5px;   font-weight: 600; }

.wcrp-rental-products-rental-form .wcrp-rental-products-rental-totals .wcrp-rental-products-rental-return-within { display: none!important; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-error, .woocommerce .woocommerce-info { color:#000!important; }

/*mini ostoskori headerissa*/
.woocommerce.widget_shopping_cart .total, .woocommerce .widget_shopping_cart .total { color: #000; }

/*kassa tyylittely*/
.wc_payment_method.payment_method_visma_pay { background: #fff; }
.payment_box.payment_method_visma_pay { color: #353535 !important; padding: 0 1rem !important; background:#fff!important; }
.woocommerce form .form-row textarea { font-size: 16px!important; height: 6rem!important; }
#shipping_method li label {   font-weight: 500!important;   font-size: 13px!important; }

/*BLOGI*/
.single-post .entry { box-shadow: none!important; border-radius: 0!important; }


.wc-block-product-categories-list-item .wc-block-product-categories-list { padding-left: 1rem !important; font-size: 16px !important; }

/*TUOTE varasto loppu*/
.woocommerce div.product .out-of-stock { color:var(--global-palette1)!important; font-size: 0 !important; }
.stock.out-of-stock:lang(fi)::after { content: "Ota yhteyttä yhteydenottolomakkeella, jos kiinnostuit tästä tuotteesta";   font-size: 18px !important; }
.stock.out-of-stock:lang(en-GB)::after { content: "Contact us using the contact form if you are interested in this product";   font-size: 18px !important; }



.fin:lang(en), .eng:lang(fi) { display: none !important; }
.wp-admin .fin:lang(en), .wp-admin .eng:lang(fi) { display:block!important;}


.notes-eng:lang(fi), .notes-fin:lang(en-GB) { display:none; }
.info-eng:lang(fi), .info-fin:lang(en-GB) { display:none; }

.woocommerce td.product-name dl.variation {
  font-size: 13px;
  line-height: 1.15rem;
}

.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { line-height: 1.2em!important; }

@media only screen and (min-width:1025px) and (max-width:1250px){
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  padding-left: calc(1em / 2)!important; padding-right: calc(1em / 2)!important; font-size: 14px !important; }
}