html.narva {
  background: url(../img/narva2.jpg) no-repeat center center fixed;
}
html.ruotsi {
  background: url(../img/ruotsi.jpg) no-repeat center center fixed;
}
html.ruotsi2 {
  background: url(../img/tehdas2.jpg) no-repeat center center fixed;
}
html.laitos {
  background: url(../img/laitos.jpg) no-repeat center center fixed;
}
html.Reference_Background {
  background: url(../img/Reference_Background.jpg) no-repeat center center fixed;
}
body,
html {
  height: 100%;
}
.bg {
  background-size: cover !important;
  height: 100%;
}
div.paalaatikko {
  margin: 0 auto;
  margin-top: 50px;
  min-width: 648px;
  width: 58%;
  background-color: rgba(255, 255, 255, 0.85);
  -moz-box-shadow: 3px 3px 5px 6px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 3px 3px 5px 6px rgba(0, 0, 0, 0.4);
  box-shadow: 3px 3px 5px 6px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}
p.centered {
  text-align: center;
}
p.right {
  text-align: right;
  white-space: nowrap;
}
p.left {
  text-align: left;
}
h1.left {
  text-align: left;
}
p {
  font: 18px arial, sans-serif;
}
h1 {
  font: 28px arial, sans-serif;
  text-align: center;
}
h2 {
  font: 22px arial, sans-serif;
  text-align: center;
}
a.logo {
  margin: 0px;
}
a.logo img {
  position: absolute;
  z-index: 500;
}
div.ylin_palkki {
  height: 100px;
}
div.yla_palkki {
  height: 256px;
  background-image: url("../img/reunus_yla.png");
  background-position: center bottom;
  background-repeat: no-repeat;
}
div.highlight_palkki {
  background-image: url("../img/reunus_keski2.png");
  background-position: center top;
  background-repeat: no-repeat;
}
table.nav {
  margin: auto;
  border-collapse: collapse;
  border-style: hidden;
}
table.nav td {
  border: 1px solid #1a1a1a;
}
div.keski_palkki {
  padding-top: 8px;
  padding-bottom: 8px;
}
div.ala_palkki {
  background-image: url("../img/reunus_ala.png");
  background-position: center top;
  background-repeat: no-repeat;
  margin: 0 auto;
  height: 16px;
}
div.content {
  margin: 0 auto;
  padding: 15px;
  padding-top: 0px;
  padding-bottom: 5px;
}
div.keski_palkki a {
  color: #1a1a1a;
  padding-right: 10px;
  margin-left: 10px;
  margin-top: 4px;
  margin-bottom: 4px;
  border-right: 1px solid #1a1a1a;
  float: left;
  display: block;
  text-align: center;
  font: 24px arial, sans-serif;
  text-decoration: none;
}
div.keski_palkki a:hover {
  color: #666666;
}

div.keski_palkki a:last-child {
  border-right: 0px solid black;
}
table.yhteystiedot {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}
/*table.yhteystiedot td {
  width: 33.3%;
}*/
div.yhteystiedot {
  width: 100%;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
div.yhteystiedot div {
  display: table;
  background-color: rgba(255, 255, 255, 0.6);
  min-width: 260px;
  padding: 10px;
  margin: 8px;
}
table.videot {
  border-collapse: collapse;
  width: 100%;
}
table.videot tr {
  height: 300px;
}
table.referenssit {
  width: 100%;
  border-collapse: collapse;
}
table.referenssit th {
  width: 100%;
}
div.footer {
  display: flex;
  justify-content: space-between;
}
a.icon {
  float: right;
}
a.icon img{
  width: 52px;
  height: 52px;
}
h1.ref_year {
  margin-left: 20px;
  text-align: left;
}
span.expertise {
  line-height: 1.5;
  color: #666666;
  font-size: medium;
}

