/*** mp:n omat printtityylit, kts. myös common -> /tyylit_print_common.css ***/

ul#skiplink-wrap,
div.toolbarWrapper,
div.admin-linkset,
div#debugInfo,
div.no-print,
div#header,
div#footer,
div#netland-wrap,
div.tipWrap,
div#prevnextWrap,
div#sliderContainer,
.visually-hidden {
 display:none !important;
}

body { 
  font-size: 11pt;
  line-height: 1.4em; 
}

div,
textarea,
select,
option,
input[type="text"],
input[type="textfield"],
input[type="password"],
input[type="submit"],
input[type="button"] {
 -webkit-box-sizing:border-box;
 -ms-box-sizing:border-box;
 -moz-box-sizing:border-box;
  box-sizing:border-box;
  margin-top: 0; 
}

h1 { 
  margin: 0 0 0.5em 0;
  line-height: 1.2em;
  font-size: 20pt;
}

h1 + p { margin-top: 0.5em; }

h2,
h2 a { 
  margin: 1.5em 0 0.5em 0;
  line-height: 1.2em;
  font-size: 17pt;
}

h2 + p { margin-top: 0.5em; }

h3 { 
  margin: 1.5em 0 1em 0;
	line-height: 1.2em;
  font-size: 14pt;
}

h3 + p { margin-top: 0.5em; }
 
p { margin: 1.5em 0; }

ul, ol { margin: 1em 0; }

small { font-size: 9pt; }

.extrasmall { font-size: 8pt; }

.data-header { padding: 8px; }
.data { padding: 8px; }

table td p:only-child { margin: 0; }

table td p:first-child { margin-top: 0; }

table td p:last-child { margin-bottom: 0; }

table th,
table thead { 
	font-weight: bold;
	text-transform: uppercase;
  font-size: 9pt;
}

table.muotoiltu { border-collapse: collapse; }

table.muotoiltu th,
table.muotoiltu thead td { 
  font-size: 9pt;
	padding: 8px;
	text-transform: uppercase;
}

table.muotoiltu td { padding: 8px; }

.absmiddle { vertical-align: middle; }

/*--- LAYOUT ---*/

div#printHeader {
  font-weight: bold;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 60px;
  padding-bottom: 10px;
  text-align: center;
}

div#section1-cont {
  padding-bottom: 60px;
  border-bottom: 1px solid #cccccc;
}

div#section1-right-wrap h2:first-of-type { margin-top: 0; }

div#section1-right-wrap table img { display: none; }

div#section2-cont { 
  padding: 60px 0px;
  border-bottom: 1px solid #cccccc;
}

div#section2-left-wrap h2:first-of-type { margin-top: 0; }

div#section2-left-wrap p:last-of-type { margin-bottom: 0; }

div#section2-right-wrap {
  padding-top: 60px;
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

div#section2-right-wrap img {
  height: 320px;
  max-height: 320px;
  width: auto;
  object-fit: contain;
  display: block;
}

div#section3-cont { 
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: left;
  padding: 80px 0;
  gap: 80px;
  line-height: 1.4em;
  flex-direction: column-reverse;
}

div#section3-left-wrap {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

div#section3-left-wrap img {
  height: 320px;
  max-height: 320px;
  width: auto;
  object-fit: contain;
  display: block;
}

div#section3-right-wrap { 
  flex-basis: 100%;
  align-items: center;
}

div#section3-right-wrap h2:first-of-type { margin-top: 0; }

div#section3-right-wrap p:last-of-type { margin-bottom: 0; }

div#section4-cont {
  padding-top: 80px;
  border-top: 1px solid #cccccc;
}

div#section4-cont h2:first-of-type { 
  margin-top: 0;
  margin-bottom: 40px;
}

div#images-cont {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

div#images-cont::after {
  content: "";
  flex: 20 0 220px;
}

div.kuva { 
  flex: 1 0 auto;
  height: 280px;
  overflow: hidden; 
}

div.kuva a {
  display: block;
  height: 100%;
}

div.kuva img { 
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}
