@charset "utf-8";
/*!
 * Bootstrap v4.4.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 The Bootstrap Authors
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * Piharati Oy maarittely 2023*/

/*Runko*/
body            
{
	font-family: 'Montserrat', sans-serif  ;
    margin:auto;
    max-width:98%;
	padding-top: 100px;
   
    background-color:#FFFFFF;
  }

/*Tekstin määritykset*/
@media screen and (min-width: 601px) {
  div.example {
    font-size: 100px;
  }
}

@media screen and (max-width: 600px) {
  div.example {
    font-size: 30px;
  }
}
h1 {
  font-family: "Montserrat";
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  color:black;
  font-weight: 900; /* black */
	font-size: 150%;
}

h2 {
  font-family: "Montserrat";
    padding-left: 1.2rem;
  padding-right: 1.2rem;
  font-weight: 500; /* black */
	font-size: 120%;
	
}
h5 {
  font-family: 'Montserrat', sans-serif;
  color:#F4F2F1;
  background:hsla(0,100%,0%,0.3);
  border-radius: 20px;
  text-shadow: 5px 5px 5px #000000;
  font-weight: 900; /* black */
	
}
h5b {
  font-family: 'Montserrat', sans-serif;
  color:#58E8A0;
  border-radius: 20px;
  text-shadow: 2px 2px 2px #000000;
  font-weight: 900; /* black */
	
}
h5c {
  font-family: 'Montserrat', sans-serif;
  color:#00C817;
  border-radius: 20px;
  text-shadow: 2px 2px 2px #000000;
  font-weight: 900; /* black */
	
}
h3, h4, h6 {
  font-family: "Montserrat";
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  font-weight: 400; /* black */
}

p {
   font-family: "Montserrat";
   padding-left: 1.2rem;
   padding-right: 1.2rem;;
   font-size: 125%;
   font-weight: 200; /* black */
   color: black; 
}
po {
   font-family: "Montserrat";
   padding-left: 1.2rem;
   padding-right: 1.2rem;
   font-size: 70%;
   font-weight: 200; /* black */
   color: black;
}
pyt {
   font-family: "Montserrat";
   padding-left: 1.2rem;
   padding-right: 1.2rem;
   font-size: 95%;
   font-weight: 200; /* black */
   color: black;
}
p7 {
   font-family: "Montserrat";
   padding-left: 1.2rem;
   padding-right: 1.2rem;
   font-size: 70%;
   font-weight: 200; /* black */
   color: black; 
}
p1 {
  font-family: "Montserrat";

  color: white;
    text-shadow: 
    -1px -1px 0 black,  
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  border-radius: 5px;
  margin:2px;
  font-weight: 650;
  padding: 5px 25px;
  width:100%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 10px;
  height: 2px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity 0.6s ease;
}
.val {
	background: white;
}
.linkkivari4 {
  color: #F4F2F1;
	background: #443E3B;
	text-align: center;
	font-size: 14px;
	padding: 10px;
	margin: 10px;
	border-radius: 10px;
}
.responsive-iframe {
	background: #F9D87A;
  position: absolute;
	padding:1rem;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.containeryt {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
.padlogo {
	padding:20%;
}
p3, p4, p5, p6 {
  font-family: "Montserrat";
  text-align: left;
  padding-left: 2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p2 {
  font-family: "Montserrat";
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding: 2rem;
}
.row2b {
  display: -ms-flexbox;
  display: flex;
  font-weight: 500; /* black */
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-radius: 15px;
  background: #443E3B;
	padding: 14px;
 
}
.valkoineno1 {
	
	align-content: center;
   color: white;
}
.valkoineno2 {

align-content: center;
color: white;
}
.valkoineno2b {
vertical-align: center;
align-content: center;
color: white;
}
.valkoineno3 {
vertical-align: center;
align-content: center;
color: white;
}
.Logotus {
	margin-left: 15px;
}
.raamit {
	border: 20px;
	border-color: white;
}
/* linkki */

.linkkivari {
  color: white;
}
.linkkivari2 {
  color: white;
	text-align: center;
}
.linkkivari3 {
  color: #F4F2F1;
	background: #443E3B;
	text-align: center;
	font-size: 12px;
	padding: 10px;
	border-radius: 10px;
}
.linkkivari4 {
 color: #EFD28A;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
}
.lteksti2 {
	text-align: center;
	margin-left:10%;
	margin-right: 10%;
	margin-top: 20px;
	margin-bottom: 20px;
}
.lteksti3 {
	text-align: center;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left:auto;
	margin-right: auto;
	width: auto;
	
}

	/* mouse over link */
a:hover {
  color:#DE9E00;
}

.otp {
 font-family: 'Montserrat', sans-serif;
  color:#F4F2F1;
  border-radius: 20px;
  text-shadow: 5px 5px 5px #000000;
  font-weight: 900; /* black */
}
.normal { 
	font-weight: normal;
}
.thick{ 
	font-weight: bold;
}
.thicker { 
	font-weight: 500;
}
.thicker2 { 
	font-weight: 700;
}
.thicker3 { 
	font-weight: 900;
}

.color1 {
	color: hsla(42,96%,45%,1.00);
}
strong { 
	font-weight: bold;
}
strong2 { 
	font-weight: 900;
	color: hsla(42,96%,45%,1.00);
}
strong3 { 
	font-weight: bold;
	color: hsla(42,96%,45%,1.00);
}

/* Valikko */
.navbar-collapse {
  -ms-flex-preferred-size: 100%;
  font-family: "montserrat";
  padding-top: 1.5rem;  /* Valikkoteksti padding ylareunasta */
  flex-basis: 100%;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-align: center;
  align-items: center;
	text-align: left; /* Valikkoteksti vasen/keskellä/oikea */
}



.footer {
	background-color: hsla(42,96%,45%,1.00);
	text-align-last: center;
	color:white;
	height: 300px;
}
.ylapalkki {
  margin-top: auto;
  border: 3px solid #D8A31D;
	border-radius: 10px;
  background: #D8A31D;
  height: 1px;
	}
.ylapalkkim {
  margin-top: auto;
  border: 3px solid #010000;
	border-radius: 10px;
  background: #010000;
  width: auto;
  height: 1px;
	}
.ltekstiv {
	text-align: left;
	margin-left:20px;
	margin-right: 20px;
	margin-top: 1%;
	margin-bottom: 2%;
	color: white;
	background: white;
}
.musta {
	color:black;
}
.valkoinen {
	color:#171717;
	font-weight: 400;
}
.valkoinenala {
	color:#F4F2F1;
	font-weight: 400;
}
.text-center2 {
  text-align: center;
  background-color: #F4F2F1;
  padding: 5px;
  font-size: 16px;
}
.pallo
{
  text-align: center !important;
}
.kuva {
	
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
}
#contact-button {
    position: fixed;
    bottom: 10px;
    right: 10px;
}
	.button3
	
	 {
  background-color:#0000CD;
  font-family: "Montserrat SemiBold";
  font-size: 12px;
  font-weight: 600;
  color: #F4F2F1;
  width: 110px; height: 110px;
  border-radius: 55px;
  border-width: 4px;

}
	.button3:hover {
	background-color:#32CD32;
	color: #F4F2F1;
}
img-A {
  width: 100%; /* or max-width: 100%; */
  height: auto;
}
.valkoinen2 {
	color:white;
	text-align: left;
	margin-left: 20px;
}

	table {
			
            width: 100%;
			margin: 0%;
            border-collapse: collapse;
        }

        td {
			padding: 1px;
            border: 0px solid white;
            text-align: center;
            vertical-align: middle;
			
        }
      
        td:hover img {
            transform: scale(1.2);
			border: 7px solid#DE9E00;
			border-radius: 5px;
        }
        .autotalli-text {
			text-align: center;
			font-family: "Montserrat";
            font-weight: bold;
			color: #D8A31D;
			font-size: 16pt;	
			padding: 0px;
  				text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
        }
		.autotalli-text2 {
				text-align: center;
			font-family: "Montserrat";
            font-weight: bold;
			font-size: 8pt;	
        }
		.hinta-text2 {
         	font-size: 12pt;
			color:red;
			font-weight: bold;
  			line-heigth: 1.5;
        }
		.hinta-text {
         	font-size: 12pt;
			
  			line-heigth: 1.5;
        }
		.kuva {
			padding: 10px;
 	 		box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
		}
		/* Säiliö, joka pitää elementit yhdessä */
		
		.autotalli-container {
		padding: 5px;
    	width: 240px; /* Tai kuvan leveys */
    	text-align: center;
    	vertical-align: top;
	}

/* Poistetaan img-thumbnailin alapuolinen marginaali, jotta painike liittyy siihen suoraan */
.autotalli-container .kuva {
    margin-bottom: 0;

    width: 100%; /* Täyttää säiliön */
	text-align: center;
    display: block;
}

/* Itse painikelaatikko */
.tutustu-painike {
    background-color: #f8f9fa; /* Vaalea tausta, voit muuttaa haluamallesi värille */
    border: 1px solid #dee2e6;
    border-top: none; /* Ei kaksoisreunaa kuvan ja laatikon väliin */
    padding: 8px 5px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}
.Tutustu-vari {
 background-color:;/* Vaalea tausta, voit muuttaa haluamallesi värille */
	border-radius: 10px;
} 

/* Efekti kun hiiri viedään päälle */
.tutustu-painike:hover {
    background-color: #e2e6ea;
    color: #000;
}
/* --- YLEISET TYYLIT (Tietokone) --- */
#contact-button {
    text-align: right; /* Kohdistaa sisällön oikealle */
    width: 100%;
  margin-top: 50px; /* Lisää tätä lukua, jos haluat painikkeen vielä alemmas */
    margin-bottom: -20px; /* Lisää tilaa myös painikkeen alapuolelle tarvittaessa */
	  margin-right: 50px; /* Lisää tilaa myös painikkeen alapuolelle tarvittaessa */
}

#contact-button img {
    max-width: 20%; /* Koko tietokoneella */
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Pehmeä hover-efekti */
    cursor: pointer;
}

#contact-button img:hover {
    transform: scale(1.05); /* Suurentaa 5% */
    opacity: 0.9;
}

/* --- MOBIILITYYLIT --- */
@media screen and (max-width: 768px) {

    #contact-button {
        text-align: center;
    }

    #contact-button img {
        max-width: 50% !important;
        margin: 0 auto;
        display: inline-block;
    }

    .navbar-nav .nav-link {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
}

/* Overlay ei estä klikkejä */
.carousel-item::after,
.carousel-item .overlay {
    pointer-events: none;
}

/* Karusellin nuolet */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 42px;
    height: 42px;
    background-size: 24px 24px;
    padding: 10px;
    border-radius: 50%;
    background-color: #ff5e00;
    box-shadow: 0 0 10px rgba(0,0,0,0.35);
}
.carousel-text {
  font-family: "Montserrat", sans-serif;
  color: #ffffff;

  text-shadow:
    0 2px 8px rgba(0,0,0,0.85);

  border-radius: 5px;
  margin: 2px;

  font-weight: 700;

  padding: 5px 25px;

  width: 100%;

  text-align: center;
  text-decoration: none;

  display: block;
}
.carousel-caption {
    width: 100%;
    left: 0;
    right: 0;
    bottom: 20px;
}

/* --- PIENET NÄYTÖT --- */
@media (max-width: 576px){

    .modern-carousel .carousel-indicators{
        justify-content: flex-end;
        padding-right: 12px;
    }

    .modern-carousel .carousel-item{
        overflow: hidden;
    }

    .modern-carousel .carousel-item img{
        height: 52vw;
        max-height: 340px;
        object-fit: cover;
        aspect-ratio: 16/9;
    }

    .modern-carousel .carousel-caption{
        left: 12px;
        bottom: 54px;
        max-width: calc(100% - 24px);

}
	/* Mallistotaulun yläosa */
	
	.mallisto-info {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
}

.mallisto-info .pallo {
  text-align: center;
}

.mallisto-info img {
  margin: 0.25rem;
}

.mallisto-table {
  width: 100%;
  border-spacing: 25px;
  border-collapse: separate;
}
	html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
}

	
}
