@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}




html {
  scroll-behavior: smooth; 
  font-size:20px;
  color:#231F20; 
  
}
body {
  margin: 0;
  -webkit-font-smoothing: auto;
  
}

body.page-template, body.single {
  background-color: #fafafa;
}
a {
  background-color: transparent;
}
i {
  transition: .3s;
}
a:active,
a:hover {
  outline: 0;

}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
.row {
  /*margin-left:0px!important;
  margin-right:0px!important; */ 
}
.opensans {
  font-family:'Open Sans';
}
.sharp-bold {
  font-family:'Lato';
  font-weight:700;
}
.sharp-semibold {
  font-family:'Lato';
  font-weight:600;
}
.grey_bg {
  background-image:url('/wp-content/uploads/2021/02/background.jpg');
  background-repeat:repeat;
}
.wp-block-image img {
  height:auto;
}


@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 1340px!important;
  }
}



/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  transition: .3s;
}
h1 {
  
}
h2 {
 
}
h3 {

}
h4 {
 
}
h5 {
 
}
p, span, div {
  font-family:'Lato';
  font-size:0.7rem;
}
pre {
  font-size:1rem;
  font-family:'Lato'!important;
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 105%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {

}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {

  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/

@media only screen and (max-width: 576px) {

}

@media only screen and (max-width: 480px) { 

}





/* Buttons */
.wp-block-button__link {
  color: white;
  background-color: #0A8020;

}


/* nostolaatikko */ 
.highlight-item {
  background-color: #ffffff;
  border-radius: 20px;
  margin-bottom: 3em;
  min-height: 560px;
}

.highlight-item > img {
  object-fit: cover;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5em;  
  -webkit-border-top-left-radius: 20px;
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-topright: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%; 
  max-width: 100%;
}  

