/*!
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
-------------------------------------------------------------- */

/* Wordbreak */
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 shadow */
#masthead .item-at-start {transition: box-shadow ease-in-out 200ms;}
#masthead .item-is-stuck {box-shadow: 0 20px 40px -12px rgba(0,0,0,0.05); transition: all ease-in-out 200ms;}
#masthead .kadence-svg-iconset.svg-baseline svg {top: 0!important;}
#masthead .header-navigation[class*="header-navigation-dropdown-animation-fade"] #menu-item-80.kadence-menu-mega-enabled > .sub-menu {margin-left: 0!important; left: 0!important;}

/* Mobile menu */
.drawer-header {padding: 0 1rem 0!important;}
.popup-drawer .drawer-content {padding: 0 1rem 2rem!important;}

/* Links no underline */
a, p a {text-decoration: none!important;}

/* Fluent Forms */
.fluentform form {margin: 0!important;}
.fluentform input, .fluentform textarea , .fluentform select {padding: .5rem!important; border-radius: 0!important; font-size: .9rem!important;}
.fluentform .ff-el-group {margin-bottom: .75rem!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; font-size: 1rem!important;}
.fluentform .ff-el-form-control:focus {border-color: var(--global-palette1)!important;}

/* GDPR Cookie icon */
.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;}
.cky-switch input[type="checkbox"] {border-radius: 50px!important;}

/* Timeline */
.wp-block-getwid-content-timeline-item__card {filter: none!important;}
.wp-block-getwid-content-timeline-item__content-wrapper {padding: 2rem!important; background: var(--global-palette7);}
.wp-block-getwid-content-timeline-item__meta-content {font-size: clamp(1.2rem, 0.0268rem + 2.4474vw, 2rem);}