/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.0.1.1714982057
Updated: 2024-05-06 10:54:17

*/




html, body {
    overflow-x: hidden;
}

body {
    position: relative;
    width: 100vw;
    overflow-x: hidden; 
}

* {
    box-sizing: border-box;
}


/* Varmista, että tavutus on käytössä kaikissa selaimissa */
html, h1, h2, h3, h4, h5, h6 {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
	
}


h1 {
	hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphenate-limit-chars: 6 3 2;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    hyphenate-limit-zone: 8%;
    word-wrap: break-word;
    overflow-wrap: break-word; 
}


p, div {
	word-break: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}













.custom-button-class {
    background-color: #1a237e; /* Esimerkkiväri */
    border-radius: 25px;
    padding: 15px 25px;
    color: white;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    transition: all 0.22s ease;
}

.custom-button-class:hover {
    background-color: #bccfff; /* Esimerkkiväri hover-tilassa */
	color: #000;
}

.custom-button-class .elementor-button-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
} 

.custom-button-class .elementor-button-text {
    padding: 0 10px;
}




.elementor-widget-tabs .elementor-tab-content {
    padding: 30px !important;
}



.elementor-accordion .elementor-accordion-item .elementor-tab-content {
    padding: 25px !important;
}







.elementor-location-footer li.menu-item a i,
header .elementor-nav-menu__container ul.sub-menu li a i { 
	margin-left: 7px;
	font-size: 0.8em;
}




.trp-language-switcher-container .trp-flag-image {
    display: none;  /* Piilottaa nykyisen kuvan */ 
}

/* Asettaa mukautetun taustakuvan elementille */
.trp-language-switcher-container a.elementor-item {
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: left center !important;
    padding-left: 19px !important; /* Tilaa taustakuvan vuoksi */
    display: inline-block !important;
    height: 18px !important; /* Mukautettu korkeus */
    line-height: 18px !important; /* Tekstin linjaus keskelle */
}

.trp-language-switcher-container a[href*="/"] {    
    background-image: url('https://korttipiste.fi/wp-content/plugins/translatepress-multilingual/assets/images/flags/fi.png') !important;
}

.trp-language-switcher-container a[href*="/sv/"] {
    background-image: url('https://korttipiste.fi/wp-content/themes/hello-elementor-child/img/sweden-flag-wide.png') !important;
}



.elementor-1714 .elementor-element.elementor-element-5dd8fc74 .elementor-nav-menu--main .elementor-item {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}



.grecaptcha-badge {
	
	display: none;
}


#sf-chat-form,
.sf-prem-bubble,
.sf-push  {
	/*margin-bottom: 75px;*/
}



.elementor-counter-title {
	text-align: center;
	font-size: 0.7em;
	margin-top: 12px;
}


/* Pienemmät näytöt (max-width: 768px) */
@media (max-width: 768px) {
    .trp-language-switcher-container a.elementor-item {
        padding-left: 5px !important;
        height: 10px !important;
        line-height: 12px !important;
        background-size: contain !important;
        margin-left: 20px;
        margin-bottom: 10px;
    }
	

.elementor-accordion .elementor-accordion-item .elementor-tab-content {
    padding: 20px !important;
}
.elementor-accordion .elementor-accordion-item .elementor-tab-content h2 {
    font-size: 24px;
}
.elementor-accordion .elementor-accordion-item .elementor-tab-content h3 {
    font-size: 20px;
}
.elementor-accordion .elementor-accordion-item .elementor-tab-content h4 {
    font-size: 18px;
}
.elementor-accordion .elementor-accordion-item .elementor-tab-content h5 {
    font-size: 16px;
}




	
}

/* Erittäin pienet näytöt (max-width: 480px) */
@media (max-width: 480px) {
    .trp-language-switcher-container a.elementor-item {
        
    }
}