@charset "utf-8";
/* CSS Taulukko 1*/
body            
{
    margin:auto;
    max-width:98%;
    padding:10px;
    background-color:#443E3B;
	font-family:"Montserrat";
}

p {
	font-family: 'Montserrat';
	text-align: center;
	}

h1 {
	font-family: 'Montserrat';
  	text-align: center;
 	color: #DE9E00;
	}
/* Otsikko 2*/
h2 {
  	text-align: center;
 	color: #443E3B;
	}

/* A */
.img-fluid {
  max-width: 100%;
  height: auto;
}
/* B */
.img-fluidA {
  
  max-width: 1000px;
  display: block;
  margin-right: auto; 
  border-radius: 30px;
  border: 10px solid #F4F2F1;

	}

.content {
		max-width:1320px;
		height: auto;
		margin: 5px auto;
}

.resp {
	max-width: 100%;
	height: auto;
}
.Taustapaperi {
	padding: 2px;

	box-shadow: 4px 4px 5px rgba(0, 0, 0, .5);
	border-radius: 15px;
	border-color: #8C817B;
	border-width: 1px;
	border-style: solid;
 background: linear-gradient(to bottom, white, #ffcc66); 
	}

.HRotsikko {
	padding: 10px;
	text-align:center;
	font-size: 16px;

}

.teksti1 {
	text-align:center;
	font-family: 'Montserrat';
	font-style: normal;
	font-size: 20px;
	font-weight: normal;

	padding: auto;
	margin-left: 2px;
	margin-right: 2px;
	color: black;
}

.divider {
	margin-left: 0rem;
	margin-right: 0rem;
	text-align:center;
	font-family: 'Montserrat';
}

.divider hr {
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}

	.testi{
 border-right: 4px solid #DE9E00;
		border-bottom: 4px solid #DE9E00;;
	padding-bottom: 20px;
}

.testi
{
	margin: 0.2%;
}
/* Kuva koko, saada tasta myös taulukon marginaalit tasan */
.column {
	width: auto;
	float: left;
	margin-right:0px; /* Taulujen väli */
	margin-left: 2px;
	background-color: #FFFFFF;  /* Taulujen taustaväri */
	
}
.hs {
	
	text-align: center;
	margin-left:5%;
	margin-right: 5%;
	color: white;
	text-shadow: 2px 2px 2px black;
	font-size:20px;
	background: #2E8B57;
	border-radius:10px;
	padding: 10px;
	border: 1px solid #F9F9F9;
}
.hs2 {
	font-family: 'Montserrat';
	text-align: center !important;
	color: yellow;
	text-shadow: 2px 2px 2px black;
	font-size:25px;
	
	
}

/* The Modal (background) */

	.center4 {
	display: block;
	margin-left: auto;
	margin-right: auto;
	min-width: auto;
	max-width: auto;
	height:auto;
	
}

.close:hover,
.close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
}
/* Korjaus tästä alaspäin */

.active,
.demo:hover {
	opacity: 1;
}

.hover-shadow:hover {
	
	transition: all .7s ease-in-out;
	transform: scale(2);
	
	text-align: center;
	
	border: 2px solid #6FE479;
	}

.hover-shadow2:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	transition: all .3s ease-in-out;
	transform: scale(1.3);
	border: 2px solid #6FE479;
	}
div.desc {
	
	font-family: 'Montserrat';
	font-weight: 600;
	 text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	vertical-align: text-bottom;

	margin-bottom: auto;
	align-content: center;
	padding-top: 3px;
	padding-bottom: 3px;
	background-color: #705000;
	color: white;
	border-radius: 5px;
}
div.desc5 {
	font-family: 'Montserrat';
	font-weight: 500;
  	vertical-align: text-bottom;
  	align-content: center;
  	padding-top: 3px;
  	padding-bottom: 3px;
 	background-color: #443E3B;
  	color: white;
  	border-radius: 5px;
}
	div.desc2 {
	font-family: 'Montserrat';
	font-weight: 600;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
 	vertical-align: text-bottom;
	align-content: center;
  	padding-top: 3px;
  	padding-bottom: 3px;
  	background-color: #443E3B;
  	color: white;
  	border-radius: 5px;
}
/* Talli Tyypit*/
div.desc3 {
 font-family: 'Montserrat';
 text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
 text-align: center;
 font-weight: 600;
 padding-top: 3px;
 padding-bottom: 3px;
 background-color: #705000;
 color: white;
 border-radius: 5px;
}
/* Otsikkotekstit A B C ...  */
div.desc4 {
   font-family: 'Montserrat';
  font-weight: 710;
  table-layout: auto;
  font-size: 40px;
  width: auto;
  color: #443E3B;
	border-radius: 5px;
  
}


	.otsikko3 {
  padding: auto;
  text-align:center;
  font-size: 0.875em;
  background-color: white;
  color: black;
}
.button {
  background-color: #4CAF50; /* Green */
  border: 5px;
  color: white;
	width: 180px;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px 5px;
  cursor: pointer;
  -webkit-transition-duration: 0.6s; /* Safari */
  transition-duration: 0.6s;border-radius: 15px;
}

.button {
  padding: 10px;
  text-align:center;
  font-size: 16px;
  box-shadow: 0 5px 5px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  color: #FBF4F4;

}

.button2:hover {
  box-shadow: 0 5px 5px 0 rgba(0,0,0,0.24),0 5px 5px 0 rgba(0,0,0,0.19);
	background-color: #F3A752;
	color: #FC0A0A;
}
#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;
}
.kortti {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 40%;
  border-radius: 5px;
}
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.container {
  padding: 2px 16px;
}


/* Create four equal columns that sits next to each other */
.column2 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
	background-color: #FFFFFF;
}
/* H3 Jos koko on isompi 601px wide or more, set the font-size of <div> to 80px */
@media screen and (min-width: 601px){
.text-Iso3 {
    text-align: center !important;
	font-weight: bold;
	color: #443E3B;
	 text-shadow: 1px 1px #1C1C1C;
	padding: 5px 5px;
    font-size:16px;
	background-color:transparent;
	}
.text-Iso2 {
    text-align: center !important;
	font-weight: bold;
	color: #4CAF50;
	 text-shadow: 1px 1px 1px #1C1C1C;
	padding: 5px 5px;
    font-size:30px;
	background-color:transparent;
	
}.teksti1 {
		
	font-family: 'Montserrat';
	font-style: normal;
	font-size: 16px;
	font-weight: normal;
		
	padding: auto;
  	margin-left: 2px;
  	margin-right: 2px;
  	text-align:center;
  	color: black;
		


}}

/* H3 Jos koko pienempi 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 600px){
.text-Iso3 {
	text-align: center !important;
	font-weight: bold;
	color: #DBC393;
	 text-shadow: 1px 1px #1C1C1C;
	padding: 5px 5px;
    font-size:20px;
	background-color:transparent;
}.teksti1 {
		
	font-family: 'Montserrat';
	font-style: normal;
	font-size: 16px;
	font-weight: normal;
		
	padding: auto;
  	margin-left: 2px;
  	margin-right: 2px;
  	text-align:center;
  	color: black;
		}
.text-Iso2 {
    text-align: center !important;
	font-weight: bold;
		color: #4CAF50;
	 text-shadow: 1px 1px 1px #1C1C1C;
	padding: 5px 5px;
    font-size:28px;
	background-color:transparent;
	


}}
/* H3 Jos koko pienempi 380px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 290px){
.text-Iso3 {
    text-align: center !important;
	font-weight: bold;
	color: #4CAF50;
    text-shadow: 1px 1px #1C1C1C;
	padding: 1px 1px;
    font-size: 18px;
	}
	.text-Iso2 {
    text-align: center !important;
	font-weight: bold;
	color: #4CAF50;
	 text-shadow: 1px 1px 1px #1C1C1C;
	padding: 5px 5px;
    font-size:28px;
	background-color:transparent;
	



}}
.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  max-width: 100%;
  
}
/* Valikko painike*/
.dropbtn8 { 
  font-family: 'Montserrat';
  background-color: #DE9E01;
  width: 280px;
	 text-shadow: 1px 1px 1px #000000;
  border-radius: 20px;
  color: white;
  padding: 10px;
  font-size: 18px;
	font-weight: 600;
  border: none;
  cursor: pointer;
}

.dropdown8 {
	font-family: 'Montserrat';
  position: relative;
  display: inline-block;

}

.dropdown8-content {
	font-family: 'Montserrat';
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown8-content a {
	font-family: 'Montserrat';
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown8-content a:hover {background-color: #f1f1f1}

.dropdown8:hover .dropdown8-content {
	display: block;
	width: 280px;
}
.dropdown8:hover .dropbtn8 {
	background-color: #443E3B;
	width: 280px;

}

/* Tarjouspyyntö painike*/
.dropbtn9 { 
  font-family: 'Montserrat';
  background-color: #DE9E00;
	 text-shadow: 1px 1px 1px #000000;
  width: 280px;
  border-radius: 5px;
  color: white;
  padding: 10px;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

.dropdown9 {
	font-family: 'Montserrat';
  position: relative;
  display: inline-block;

}

.dropdown9-content {
	font-family: 'Montserrat';
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown9-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown9-content a:hover {background-color: #f1f1f1}

.dropdown9:hover .dropdown9-content {
	display: block;
	width: 280px;
}
.dropdown9:hover .dropbtn9 {
	background-color: #443E3B;
	width: 280px;

}
.raami { /* Kehys2 Mallisto taulu*/

	text-align: center !important;
	max-width: 900px;
	margin-left: auto; 
    margin-right: auto;
	background: #FFFFFF;
	border-radius: 15px;
	border: 10px solid #F4F2F1;
		}
.raami2 { /* Kehys2 Mallisto taulu*/

	text-align: center !important;
		}

table.center {
  margin-left: auto; 
  margin-right: auto;
}
.text-center2 {
  text-align: center !important;
	font-family: 'Montserrat';
	color: #000000;
	  background-color:#F4F2F1;
	padding: 5px 5px;
    font-size:16px;

}
.text-center3 {
	
	margin-left:5%;
	margin-right: 5%;
	padding: 15px;
	background: #FFFFFF;
	border-radius: 15px;
	}

.text-center3B {
	text-align: center !important;
	padding: 15px;
	background: #F9F5BC;
	border-radius: 15px;
	
}
.ltekstiv {
	text-align: left;
	margin-left:20px;
	margin-right: 20px;
	margin-top: 1%;
	margin-bottom: 2%;
	color: white;
	background: white;
}
.linkkivari3 {
  color: #F4F2F1;
	background: #443E3B;
	text-align: center;
	font-size: 12px;
	padding: 10px;
	margin: 10px;
	border-radius: 10px;
}
/* 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;
	}
.musta {
	color:black;
}
.Vali {
    margin: 2%;
	text-align: center !important;
	color: #000000;
    font-size:16pt;
	}

        td {
			padding: 1px;
            border: 0px solid white;
            text-align: center;
            vertical-align: middle;
			
        }
       
        .autotalli-text {
			text-align: center;
			font-family: "Montserrat";
            font-weight: bold;
			font-size: 14pt;
		  	color: #000000;
			padding: 2px;
  			
        }
		.autotalli-text2 {
        }
		.hinta-text2 {
         	font-size: 12pt;
			color:red;
			font-weight: bold;
  			line-heigth: 1.5;
        }
		.hinta-text {
         	font-size: 12pt;
			
  			line-heigth: 1.5;
        }
		.kuva {
 	 	
			
		}

	table {
			
            width: 100%;
			margin: 0%;
            border-collapse: collapse;
        }
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  
}
.row2 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-radius: 15px;
  
  background-color:#F4F2F1;
}
.row2 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-radius: 15px;
 
	
}
.row3 { /*musta*/
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-radius: 15px;

  background-color:#010000;
}
.row4{ /*tummaharmaa*/
  display: -ms-flexbox;
  display: flex;
  padding: 2px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-radius: 15px;

  background-color:#443E3B;
}
.row4b { /*tummaharmaa*/
  display: -ms-flexbox;
  display: flex;
	padding: 2px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-radius: 15px;

  background-color:#F4F2F1;
}
.row4c { /*tummaharmaa*/
  display: -ms-flexbox;
  display: flex;
	padding: 2px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
border-radius: 15px;

  background-color:#F4F2F1;
}
  .col-xl-6 {
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
  }
  .col-xl-6b {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
      max-width: 30%;
	  max-height: 200px;
  }
	  .col-xl-6c {
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 30%;
  }
  .col-xl-6d {
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
      max-width: 70%;
	 max-height: auto;
  }
	.valkoinen {
	color:#171717;
	font-weight: 400;
}
.valkoinenala {
	color:#F4F2F1;
	font-weight: 400;
}
.valkoineno3 {
vertical-align: center;
align-content: center;
color: white;
}

  .col-xl-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
	
  }
.Logotus {
	margin-left: 15px;
}

table {
  border-collapse: collapse;
	
}


.column {
	text-align: center;
  flex: 28%; /* Jaa tila kolmeen osaan */
  max-width: 100%;
	border: #FFFFFF;
	
  padding: 1%;
	margin: 0.4%;
	border-radius: 10px;
}
img {
  border: 2px solid transparent; /* Alustetaan reunus läpinäkyväksi */
}

.column img {
	text-align: center;
  width: 90%;
  height: auto; /* Säilytä kuvasuhteesi */
	border-radius: 5px;
}


img:hover {
  border-color: #DE9E00; /* Vaihdetaan reunuksen väri vihreäksi hiiren ollessa kuvan päällä */
	border-width: 15px;
}
