/*** 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#netland-wrap,
div.tipWrap,
div#prevnextWrap,
div#sliderContainer,
.visually-hidden {
 display:none !important;
}

body { 
  font-size: 11pt;
  line-height: 1.3em; 
}

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 1em 0;
  line-height: 1.3em;
  font-size: 20pt;
}

h2,
h2 a { 
  margin: 1.5em 0 1em 0;
  line-height: 1.3em;
  font-size: 17pt;
}

h3 { 
  margin: 1.5em 0 1em 0;
	line-height: 1.3em;
  font-size: 14pt;
}
 
p { margin: 1.5em 0; }

ul, ol { margin: 1em 0; }

small { font-size: 9pt; }

.extrasmall { font-size: 8pt; }

form { margin: 0; }

label { 
 text-transform: uppercase;
 font-weight: normal;
 font-size: 9pt;
}

label b { font-weight: normal; }

textarea, input[type="text"],input[type="textfield"],input[type="password"] {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  padding: 10px;
}
 
select { padding: 9px 10px; }
 
input.button {
  padding: 10px 15px;
  line-height: 1em;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  font-size: 10pt;
}

.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: 50px;
  padding-bottom: 10px;
  text-align: center;
}

div#footer {
  border-top: 1px solid #cccccc;
  margin-top: 50px;
  padding-top: 10px;
}

div#footerWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

div#footerWrap div.firstcol {
  width: 320px;
  text-align: right;
}

div#footerWrap div.lastcol { width: 320px; }



div#pageWrap-sp { padding-bottom: 50px; }

/*--- STARTPAGE ---*/

div.liftarea-cont { margin: auto; }

div.liftbox { 
  margin: 15px 0;
  background-color: #ffffff !important;
}

div.liftbox.teksti p:first-child { margin-top: 0; }

div.liftarea-cont-wrap.rowfull .liftarea-cont,
div.liftarea-cont-wrap.rowfull.has_row_style .liftarea-cont {
	margin-top: 30px;
	margin-bottom: 0;
}

div.liftarea-cont-wrap.rowfull.prevrowfull .liftarea-cont { margin-top: 0; }

div.liftarea-cont-wrap.has_row_style .liftarea-cont {	
	margin-top: 23px;
	margin-bottom: -23px;
}

div.liftarea-cont-wrap.has_row_style.nextrownostyle .liftarea-cont { margin-bottom: 0; }

div.liftarea-cont-wrap2 { margin: auto; }

div.liftbox.kuva div.box_img h1 {
 margin: 0;
 bottom: 4px;
}

div.liftbox.kuva div.box_img { position: relative; }

div.liftbox.kuva div.box_img h1, div.liftbox.kuva div.box_img h2, div.liftbox.kuva div.box_img h3 {
  position: absolute;
  bottom: 0px;
  padding: 5px 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}

div.respbox-linkbox a {
  color: black;
  background-color: white;
  border: 1px solid black;
  background-image: none;
  display: inline-block;
  padding: 10px 15px;
  line-height: 1em;
  text-align: center;
  text-decoration: none;
  font-size: 10pt;
}

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;
  transition: transform 0.4s ease;  /* pehmeä animaatio */
}


