span {
  font-style: inherit;
  font-weight: inherit;
}

@media (max-width: 1099px) {
  #box-4 {
    height: 60vh;
    width: 100%;
    background-size: cover;
    background-color: #ece7e2;
    display: table;
    background-attachment: inherit;
  }
}

@media (min-width: 1100px) {
  #box-4 {
    height: 100vh;
    width: 100%;
    background-color: rgb(236,231,226);
    background-size: cover;
    display: table;
    background-attachment: fixed;
  }
}

@media (max-width: 1099px) {
  #box-3 {
    height: 70vh;
    width: 100%;
    background-size: cover;
    background-image: url("../../assets/img/liab_kp1.jpg");
    background-position: center;
    display: table;
    background-attachment: inherit;
  }
}

@media (max-width: 349px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 230px;
  }
}

@media (max-width: 399px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 140px;
  }
}

@media (min-width: 400px) {
  #logoasetus {
    width: 100%;
    margin-bottom: 0px;
    max-width: 160px;
  }
}

@media (max-width: 349px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 211px;
  }
}

@media (max-width: 300px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 218px;
  }
}

@media (min-width: 775px) {
  h4 {
    font-family: 'Montserrat';
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 700;
    font-size: 50px;
    margin: 0px;
    display: table-cell;
    vertical-align: middle;
  }
}

@media (max-width: 774px) {
  h4 {
    font-family: 'Montserrat';
    font-size: 26px;
    font-weight: 700;
    color: white;
    letter-spacing: 0px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
  }
}

@media (max-width: 767px) {
  #banneri-tausta {
    background-color: rgba(236,231,226,0.71);
    max-width: 300PX;
  }
}

@media (min-width: 768px) {
  #banneri-tausta {
    background-color: rgba(236,231,226,0.78);
    max-width: 877PX;
  }
}

ul {
  margin-left: -10px;
}

img {
}

td {
  font-family: 'Montserrat';
}

#ylanavi.active {
}

#ylanavi.active {
}

p {
  width: 100%;
  margin-top: 10px;
  line-height: 25.5px;
  color: #585858;
  font-weight: 400;
  font-size: 22px;
  padding-bottom: 10px;
  font-family: 'Cabin';
  width: 100%;
  margin-bottom: 5px;
}

