
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');




* {box-sizing: border-box}

body {
  margin: 30px 0 30px 0;
  background: #d9d9d9 url(http://jodochus.net/y/k/will_tausta.png) fixed;
  font-family: Arial, Helvetica, sans-serif;
}

#main{
  width: 76%;
  border-radius: 25px;
  border: 5px solid #d1d1d1;
  margin: auto;
  background:#e2e2e2;
  box-shadow: 0 0 20pt #9a9a9a;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-size: 13pt;
  font-style:normal;
  color: #333333;

}

A:link{color:#771b00;text-decoration:underline;font-weight:bold;cursor:hand;}
A:visited{color:#771b00;text-decoration:underline;font-weight:bold;cursor:hand;}
A:active{color:#2b2b2b;text-decoration:underline;font-weight:bold;cursor:hand;}
A:hover{color:#2b2b2b;text-decoration:underline;font-weight:bold;cursor:hand;transition: all .3s linear;
}


.content {
  padding: 40px;
  box-shadow: 0 0 0pt #000000;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-size: 13pt;
  font-style:normal;
  color: #333333;

}

table {
	border: 0px solid #b0b0b0;
  	border-spacing: 8px;

}
td {
	padding: 0px;
	border-bottom: 1px solid #b0b0b0;
}
ol, li{
    color:#333333;
}

.otsikko{
  font-family: "Karla", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
 font-size: 40pt;
  padding: 0px 0px 0px 0px;
  letter-spacing: 0px;
  text-shadow: 1px 1px 1px #ffffff;
  color:#771b00;
  text-align: left;
}

.alaotsikko{
  font-family: "Karla", sans-serif;
  font-size: 14pt;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform:uppercase;
  text-decoration:none;
  text-shadow: 1px 1px 1px #ffffff;
  color: #333333;
  padding: 0px 0px 0px 0px;	
  text-align: left;
}
hr.yla {
  border: 1px solid #b0b0b0;
  margin: 10px 0px 10px 0px;
}

.teksti, .txt{
  font-family: "Karla", sans-serif;
  font-size: 13pt;
  font-style:normal;
  color: #333333;
  text-shadow: 1px 1px 1px #ffffff;
  font-weight:400;
  letter-spacing:0px;
  line-height:19pt;
}

.txtk{
  font-family: "Karla", sans-serif;
  font-size: 12pt;
  font-style:normal;
  color: #333333;
  text-shadow: 1px 1px 1px #ffffff;
  font-weight:400;
  line-height:14pt;
}
small{
color: #7b7b7b;
text-transform:none;
}
.copy{
color: #7b7b7b;
font-size:9pt;
text-align:center;
  font-family: "Karla", sans-serif;
}

.tieto0{
  font-family: "Karla", sans-serif;
  font-size: 11pt;
  text-align:left;
  font-style:normal;
  color: #7b7b7b;
  text-shadow: 1px 1px 1px #ffffff;
  font-weight:400;
  letter-spacing:0px;
}

.tieto1{
  font-family: "Karla", sans-serif;
  font-size: 13pt;
  text-align:left;
  font-style:normal;
  color: #333333;
  padding: 10px 0px 0px 0px;
  text-shadow: 1px 1px 1px #ffffff;
  font-weight:400;
  letter-spacing:0px;
  line-height:19pt;
}

.tieto2{
  font-family: "Karla", sans-serif;
  font-size: 12pt;
  text-align:left;
  font-style:normal;
  color: #333333;
  text-shadow: 1px 1px 1px #ffffff;
  font-weight:400;
  letter-spacing:0px;
  line-height:19pt;
}
.palk{
  font-family: "Karla", sans-serif;
  font-size: 14pt;
  font-weight:600;
  color: #333333;
  text-shadow: 1px 1px 1px #ffffff;
}



.h3{
  font-family: "Karla", sans-serif;
  color: #771b00;
  text-align:left;
  font-weight: 800;
  font-size: 20pt;

}

strong{
  font-family: "Karla", sans-serif;
  text-transform:uppercase;
}

.esi{
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-size: 13pt;
  letter-spacing:-1px;
  color: #333333;
  text-shadow: 1px 1px 1px #ffffff;
  line-height:16pt;
}

.img {
  max-width: 100%;
  padding:6px 6px 6px 6px;
  margin: 10px 10px 10px 10px;
  border-radius: 20px;
    border: 5px solid #d1d1d1;
  box-shadow: 0 0 15px #9e9e9e;
}

.img1 {
  max-width: 100%;
  padding:6px 6px 6px 6px;
  margin: 10px 10px 10px 10px;
}

.paikkyot {
  font-family: "Karla", sans-serif;
  font-weight: bold;
  color:#771b00;
  text-decoration:underline;
  cursor:pointer;
  font-style: normal;
  font-size: 15pt;
  
 
}
.paikkyot:hover {
	color:#2b2b2b;
        text-decoration:underline;
	  cursor:hand;
}
    
.piilodiv {
  display:none;
  text-decoration:none;
  font-family: Arial;
  font-weight: 400;
  font-size: 11pt;
  color: #771b00;
  line-height:16pt;
}



.tab {
  overflow: hidden;
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  padding: 20px 0px 20px 0px;
}

.tab button {

	border: none;
	outline: none;
	padding: 7px 20px;
	transition: 0.3s;
    	background-color: transparent;
	font-family: "Playfair", serif;
	text-shadow: 1px 1px #ffffff;
	font-weight: bold;
	text-transform:uppercase;
	font-size: 16pt;
	color: #684748;
  	text-shadow: 0px 0px 1px #FFFFFF;
	line-height: 26pt;
	text-align: center;
	cursor: default;
 
  
}

.tab button:hover {
	background-repeat: no-repeat;
	background-position: 0;
	color: #e2a998;
    	transition: all .3s linear;

}

.tabcontent {
	display: none;
	padding: 0px;
	border-top: none;
	animation: fadeEffect 1s;
}
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}


.column1 {
  float: left;
  width: 60%;
  font-family: "Karla", serif;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.column2 {
  float: left;
  width: 40%;
  font-family: "Karla", serif;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}


.columnkisa {
  float: left;
  width: 50%;
  color:#333333;
  font-family: "Karla", sans-serif;
  font-size: 12pt;
    line-height:19pt;
  padding: 0px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.text-wrapper {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    font-family: "Karla", sans-serif;
}

.text-container {
    max-height: 10.5em;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    line-height: 1.5em;
}

.text-container.expanded {
    max-height: 2000px; 
    transition: max-height 0.4s ease-in;
}

.fade-overlay {
    position: absolute;
    bottom: 40px; 
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #e2e2e2); 
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fade-overlay.hidden {
    opacity: 0;
}

#toggleBtn {
    display: block;
    margin-top: 10px;
    background-color: #e2e2e2;
    text-decoration:underline;
    font-weight:bold;
    color: #771b00;
    border: none;	
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Karla", sans-serif;
    font-size: 13pt;
}

#toggleBtn:hover {
    color: #2b2b2b;
}



@media screen and (max-width: 1024px) {
  #main{
    width: 95%;
}

.content {
  padding: 20px;
    }

  .column1 {
    width: 100%;
    padding: 5px;
    display: block;
}

.column2 {
    display: block;
    width: 100%;
    padding: 5px;
}


.txtk{
font-family: "Karla", sans-serif;
  font-size: 11pt;
  line-height:14px;
}

.img {
  max-width: 80%;
}

.img1 {
  max-width: 80%;
}



.esi{
  font-size: 14pt;
}


@media screen and (max-width: 768px) {
  #main{
    width: 100%;
}

.content {
  padding: 15px;
    }

  .column3 {
    display: block;
    width: 100%;
    padding: 5px;
      
}

.columnkisa {
    display: block;
    width: 100%;
    padding: 0px;
    font-size: 10pt;
}

.otsikko{

 font-size: 30pt;
}

.alaotsikko{
  font-size: 13pt;

}
.esi{
  font-size: 13pt;
}
.teksti, .txt{
  font-size: 12pt;
}

.txtk{
  font-size: 9pt;
}

.palk{
  font-size: 12pt;
}


.h3{

  font-size: 18pt;
}


@media screen and (max-width: 600px) {
  #main{
    width: 100%;
}

.content {
  padding: 8px;
    }
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: center; 
}



.otsikko{

 font-size: 28pt;
}

.alaotsikko{
  font-size: 11pt;

}

.teksti, .txt{
  font-size: 10.5pt;
}

.tieto1{
  font-size: 11pt;
}

.tieto2{
  font-size: 11pt;
}

.paikkyot {
  font-size: 12pt;
  
 
}
.esi{
  font-size: 11pt;
}