/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/



html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
 


.grecaptcha-badge {
	
	display: block !important;
	
}

.ast-scroll-to-top-right {
	right: 90px !important;
}


.ast-header-break-point .ast-mobile-menu-buttons-minimal.menu-toggle {
    color: #fff;
}

.ast-header-break-point .main-header-bar .main-header-bar-navigation .main-header-menu,
.ast-header-break-point .main-navigation ul .menu-item .menu-link {
    border-color: #1e1e1e;
	/*text-align: center;*/
}


.main-header-bar-navigation nav ul li a span .dashicons { 
	vertical-align: middle !important;
}

.elementor-widget-text-editor a {
	text-decoration: underline !important;
}
 



img.grayscale {
    filter: grayscale(100%);
}




sup {
    position: relative;
    /*top: 0.1em;*/ /* Adjust this value to move the trademark symbol down */
    font-size: 0.5em; /* Adjust this value to change the size of the trademark symbol */ 
}


.elementor-nav-menu--layout-horizontal ul li.buttoni a {
	background: #fff;
	color: #000 !important;
	-webkit-border-radius: 25px; /* Chrome <5, Safari <5 */
    -moz-border-radius: 25px;    /* Firefox <4 */
    border-radius: 25px;
	padding:10px 25px;
}
.elementor-nav-menu--layout-horizontal ul li.buttoni a:hover {
	background: #cbcbcb !important;
	color: #000;
	padding: 10px 25px !important;
}







/* Navigaatiopalkin perusasetukset */
#main-header-nav {
    background-color: transparent;
    transition: background-color 0.3s ease;
    /* Muita tyylejä, kuten padding, fontit jne. */
}

/* Navigaatiopalkki skrollatessa */
#main-header-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.90); /* Taustaväri skrollatessa */
	min-height: 55px;
}

/* Navigaatiopalkki skrollatessa */
#main-header-nav .emfit-logo {
    transition: all 0.25s ease;
}

/* Navigaatiopalkki skrollatessa */
#main-header-nav.scrolled .emfit-logo {
    max-width: 350px; 
}
 
/* Navigaatiolinkit */
#main-header-nav a {
    /* Valkoiset linkit läpinäkyvällä taustalla */
    transition: color 0.3s ease;
}

/* Navigaatiolinkit skrollatessa */
#main-header-nav.scrolled a {
    color: #000; /* Mustat linkit taustavärin kanssa */
}

/* Logo, jos sellainen on */
#main-header-nav .site-logo img {
    transition: filter 0.3s ease;
    /* Muita tyylejä tarvittaessa */
}

#main-header-nav.scrolled .site-logo img {
    /* Voit muuttaa logon tyyliä skrollatessa, esim. vaihtaa väriä */
}

#main-header-nav.scrolled .black-btn a {
    color: #fff;
}
 





#main-header-nav li.nofill {
	border: 1px solid #000;
	margin-right: 15px;
}

#main-header-nav li.fill {
	background: #000;
}
#main-header-nav li.fill a {
	color: #fff;
}

#main-header-nav li.rounded {
	border-radius: 50px;
	padding: 5px 20px; 
} 

#main-header-nav li.m-left {
	margin-left: 40px;
}


/* Yleinen hover-efekti */
.outlined-btn a,
.black-btn a {
	transition: all 0.15s ease !important;
}

/* Outlined-btn hover */
.outlined-btn a:hover { 
	background: black !important;
	color: #fff !important;
	border: 1px solid black;
}

/* Black-btn hover */
.black-btn a:hover {
	background: #17BD23 !important;
	color: #fff !important;
}


  








/* Muuttaa lomakekenttien tekstit mustaksi ja lisää välistystä */
.wpcf7 label {
  color: #fff;
  margin-bottom: 0.5em;
  display: block;
}
.wpcf7 label span {
	margin-top: 5px;
}



.wpcf7-not-valid-tip {
    color: #fff;
    font-size: 1em;
    font-weight: normal;
    display: block;
	border: 1px solid #fff;
	padding: 7px 15px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  color: #444 !important;
  margin-bottom: 1em; /* Lisää välistystä */
  border: 1px solid #fff !important; /* Lisää kevyt reunus */
  border-radius: 15px;
  padding: 10px; /* Lisää tilaa sisäpuolelle */
  background: #fff !important;
  transition: background-color 0.2s, color 0.2s;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  background-color: #ffffff;
  color: #eee;
}



/* Määrittelee lomakenappulan tyylit */
.wpcf7 input[type="submit"] {
  background-color: #000000;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 18px;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}


/* Määrittelee lomakenappulan tyylit hiiren ollessa päällä */ 
.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus {
  background-color: #ffffff;
  color: #000000;
}

/* Varmistaa, että GDPR-checkbox näkyy selkeästi */
.wpcf7 input[type="checkbox"] + span {
  color: #fff;
  padding-left: 5px;
}

/* Muuttaa GDPR-checkboxin rastin väriä */
.wpcf7 input[type="checkbox"]:checked + span::before {
  color: #000000;
}

/* Lisää välistystä GDPR-tekstin ja checkboxin väliin */
.wpcf7 .wpcf7-list-item {
  margin-bottom: 0.2em;
}

/* Jos käytät placeholder-tekstiä, voit muuttaa sen väriä seuraavasti */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #666666;
}










/* Muuttaa lomakekenttien tekstit mustaksi ja lisää välistystä */
#beigepohja .wpcf7 label {
  color: #000;
}
#beigepohja .wpcf7 label span {
	
}

#beigepohja .wpcf7 input[type="text"],
#beigepohja .wpcf7 input[type="email"],
#beigepohja .wpcf7 textarea {

}
#beigepohja .wpcf7 input[type="text"]:focus,
#beigepohja .wpcf7 input[type="email"]:focus,
#beigepohja .wpcf7 textarea:focus {
  
}

/* Määrittelee lomakenappulan tyylit */
#beigepohja .wpcf7 input[type="submit"] {
  
}

/* Määrittelee lomakenappulan tyylit hiiren ollessa päällä */ 
#beigepohja .wpcf7 input[type="submit"]:hover,
#beigepohja .wpcf7 input[type="submit"]:focus {
  background-color: #ffffff;
  color: #000000;
}

/* Varmistaa, että GDPR-checkbox näkyy selkeästi */
#beigepohja .wpcf7 input[type="checkbox"] + span {
  color: #000;
}

/* Muuttaa GDPR-checkboxin rastin väriä */
#beigepohja .wpcf7 input[type="checkbox"]:checked + span::before {
  color: #000000;
}

/* Lisää välistystä GDPR-tekstin ja checkboxin väliin */
#beigepohja.wpcf7 .wpcf7-list-item {
  
}

/* Jos käytät placeholder-tekstiä, voit muuttaa sen väriä seuraavasti */
#beigepohja .wpcf7 input::placeholder,
#beigepohja .wpcf7 textarea::placeholder {
  color: #444;
}









 


 


/* WRAPPER */
.request-quote-form {
  background: #efe9e2;
  border: 1px solid #d8cec2;
  border-radius: 28px;
  padding: 30px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  color: #1f2630;
}

.request-quote-form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.request-quote-form .form-field {
  margin: 0;
}

.request-quote-form .form-field p {
  margin-bottom: 10px;
}

.request-quote-form .form-field.full-width {
  grid-column: 1 / -1;
}

.request-quote-form label {
  display: block;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  color: #4b4036; /* tummempi, näkyy oikeasti */
  margin-bottom: 15px;
}

.request-quote-form input[type="text"],
.request-quote-form input[type="email"],
.request-quote-form input[type="tel"],
.request-quote-form input[type="number"],
.request-quote-form select,
.request-quote-form textarea {
  width: 100%;
  height: 40px;
  border: 1px solid #d6ccc1;
  background: #f9f6f2;
  border-radius: 16px;
  padding: 0 15px;
  font-size: 15px;
  line-height: 1.4;
  color: #1f2630;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.request-quote-form textarea {
  height: auto;
  min-height: 150px;
  padding: 16px;
  resize: vertical;
}

.request-quote-form select {
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #4b4036 50%),
    linear-gradient(135deg, #4b4036 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.request-quote-form input::placeholder,
.request-quote-form textarea::placeholder {
  color: #7d7368;
  opacity: 1;
}

.request-quote-form input:focus,
.request-quote-form select:focus,
.request-quote-form textarea:focus {
  border-color: #a8947d;
  background: #fffdfa;
  box-shadow: 0 0 0 4px rgba(168, 148, 125, 0.14);
}

.request-quote-form .wpcf7-form-control-wrap {
  display: block;
}

.request-quote-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #b42318;
}





.request-quote-form .wpcf7-acceptance {
  display: block;
  margin-top: 8px;
}

.request-quote-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.request-quote-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.request-quote-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: #5a5148;
}

.request-quote-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #4b4036;
}

.request-quote-form .wpcf7-acceptance label:hover {
  cursor: pointer;
  opacity: 0.9;
}






.request-quote-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  border: none;
  border-radius: 999px;
  background: #2f3b46;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(47, 59, 70, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.request-quote-form input[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: 0.97;
}

.request-quote-form input[type="submit"]:active {
  transform: translateY(0);
}

.request-quote-form .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.request-quote-form .wpcf7-spinner {
  margin: 10px 0 0 10px;
}





 
















/********  Yhteistyokumppanit  ******************
********************************************/
.kumppanit {
	text-align: center;
}
.kumppanit hr {
	margin-top:55px;
	margin-bottom:35px;
}

ul li.kumppani {
  margin: 25px 25px;
  display: inline-block;
  vertical-align: middle;
}

ul li.kumppani img {
	max-height: 90px;
	width: auto;
	max-width: 240px !important;
	margin-top: 0px;
	margin-bottom: 0px;
	filter: grayscale(0%) brightness(0%);
	/* Firefox 10+ */

	-webkit-filter: grayscale(0%) brightness(0%);
	/* Chrome 19+ & Safari 6+ */

	-webkit-transition: all .15s ease;
	/* Fade to color for Chrome and Safari */

	-webkit-backface-visibility: hidden;
	/* Fix for transition flickering */

}
ul li.kumppani img:hover {
  filter: grayscale(30%) brightness(30%);
  -webkit-filter: grayscale(30%) brightness(30%);
}
ul li.kumppani:nth-child(6n+2) {
  clear: both;
}













.kumppanit ul {
    list-style: none; 
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Keskittää sisällön */
}

.kumppani-item {
    flex: 1 1 200px; /* Leveys mukautuu, minimileveys 200px */
    margin: 10px;
}

.kumppani-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Jotta kontti täyttää koko listaelementin */
}

/* Tyylit, jotka sovelletaan vain kun with-background-luokka on käytössä */
.kumppani-logo-container.with-background {
    background-color: #f0f0f0; /* Vaalea harmaa tausta */
    border-radius: 10px; /* Pyöristetyt kulmat */
    padding: 30px 40px;
}

.kumppani-logo {
    max-width: 100%;
    max-height: 100px; /* Säädä tarvittaessa */
    height: auto;
    width: auto;
}




/* Kumppanit Uusi -tyylit */
.kumppanit-uusi ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
    flex-wrap: wrap;
    justify-content: flex-start; /* Tasaa vasemmalle */
}

.kumppani-item-uusi {
    flex: 0 0 calc(32.333% - 20px); /* 33.333% leveys miinus marginaalit */
    margin-right: 15px;
	margin-bottom: 15px;
    box-sizing: border-box;
}

ul li img.kumppani-logo-uusi {
	max-height: 90px;
	width: auto;
	max-width: 110px !important;
	margin-top: 0px;
	margin-bottom: 0px;
	filter: grayscale(0%) brightness(0%);
	/* Firefox 10+ */

	-webkit-filter: grayscale(0%) brightness(0%);
	/* Chrome 19+ & Safari 6+ */

	-webkit-transition: all .15s ease;
	/* Fade to color for Chrome and Safari */

	-webkit-backface-visibility: hidden;
	/* Fix for transition flickering */

}
ul li img.kumppani-logo-uusi:hover {
  filter: grayscale(30%) brightness(30%);
  -webkit-filter: grayscale(30%) brightness(30%);
}

.kumppani-logo-container-uusi {
    background-color: #ebebeb;; /* Vaalea harmaa tausta */
    border-radius: 10px;       /* Pyöristetyt kulmat */
    padding: 20px 35px;
    display: flex;
    justify-content: center;   /* Keskittää logon vaakasuunnassa */
    align-items: center;       /* Keskittää logon pystysuunnassa */
    height: 100%;
    box-sizing: border-box;
}

.kumppani-logo-uusi {

} 



 
@media screen and (max-width: 768px) {
    .kumppani-item-uusi {
        flex: 0 0 calc(50% - 20px); /* Kapeammilla näytöillä 2 logoa per rivi */
    }
}

@media screen and (max-width: 480px) {
    .kumppani-item-uusi {
        flex: 0 0 calc(100% - 20px); /* Pienillä näytöillä 1 logo per rivi */
    }
}










@media (max-width: 600px) {
 
 
 ul li.kumppani img {
	max-height: 65px;
	max-width: 170px !important;
}
 
 
}









.kumppanit-rulla {
    overflow: hidden;
    width: 100%;
}

.kumppanit-rulla-container {
    position: relative;
    width: 100%;
}

.kumppanit-rulla-track {
    display: flex;
    width: calc(200%); /* Koska kahdennetaan sisältö */
    animation: scroll-left 30s linear infinite;
	justify-content: center;   /* Keskittää logon vaakasuunnassa */
    align-items: center;       /* Keskittää logon pystysuunnassa */
}

.kumppani-item { 
    flex: 0 0 auto;
    margin: 0 25px;
}

.kumppani-logo {
	 
	transition: all 0.3s ease;
	
    max-height: 70px; 
	width: auto;
	max-width: 200px !important;
	margin-top: 0px; 
	margin-bottom: 0px;
	filter: grayscale(30%) brightness(30%);
	/* Firefox 10+ */

	-webkit-filter: grayscale(30%) brightness(30%);
	/* Chrome 19+ & Safari 6+ */

	-webkit-transition: all .15s ease;
	/* Fade to color for Chrome and Safari */

	-webkit-backface-visibility: hidden;
	/* Fix for transition flickering */
}

.kumppani-logo:hover {
  filter: grayscale(5%) brightness(5%);
  -webkit-filter: grayscale(5%) brightness(5%);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Lisätään hover-efekti (valinnainen) */
.kumppanit-rulla-container:hover .kumppanit-rulla-track {
    animation-play-state: paused;
}














.testimoniaali-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
	
	font-family: PT-serif;
	
}

.testimoniaali-slide {
    text-align: center;
    padding: 20px;
    background: transparent;
}
.quote-merkki {
	text-align: center;
}
.quote-merkki img {
    width: 75px;
	margin: 0 auto 50px;
}

.asiakkaan-quote {
    font-size: 28px;
	line-height: 1.5em;
    font-style: italic;
    margin-bottom: 45px;
	color: #111;
	
	font-family: poppins;
	 
}

.asiakkaan-nimi { 
    font-weight: normal;
	letter-spacing: 5px;
    font-size: 22px;
	text-transform: uppercase;
    margin-bottom: 18px;
	color: #222;
}

.asiakkaan-titteli {
    font-size: 18px;
    color: #222;
}

.slick-dots {
    bottom: -30px;
}

.slick-prev, .slick-next {
    width: 25px;
    height: 25px;
    z-index: 1;
}

.slick-prev:before, .slick-next:before {
    font-size: 50px;
    color: #ccc;
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: #333;
}
  
  
  
  
  
@media screen and (max-width: 768px) {
    
	.asiakkaan-quote {
		font-size: 22px;
		margin-bottom: 40px;		 
	}

	.asiakkaan-nimi { 
		font-size: 18px;
		margin-bottom: 15px;
	}

	.asiakkaan-titteli { 
		font-size: 16px;
	}
	
}

@media screen and (max-width: 480px) {
    
	
	
}

