
/*-----------------------------------------------
GLOBAL
-----------------------------------------------*/

html { font-size: 62.5%; }

body { 
 margin: 0;
 padding: 0;
 line-height: 1em;
 background: #333333;
}

* { outline: none; }

div#linkcopied {
 display: flex;
 align-items: center;
 background-color: #333333;
 position: fixed;
 left: 50%;
 z-index: 2999999;
 border-radius: 50px;
 padding: 15px;
 color: #ccc;
 opacity: 0.95;
 transform: translateX(-50%); 
 font-size: 0.9em;
 border: 1px solid #333333;
}

div#linkcopied span.material-icons { margin-right: 7px; }

h1 {
  margin: 0 0 0.3em 0;
  line-height: 1.3em;
  overflow: hidden;
  text-overflow: ellipsis;
}

h2 {
  margin: 1.5em 0 0.3em 0;
  line-height: 1.3em;
}

/* styles.inc */
h3 { 
 margin: 1.5em 0 1em 0;
 line-height: 1.3em;
}

div.liftbox h1 { margin-bottom: 0.3em; }

div.liftbox h2 {
 margin-top: 1.5em;
 margin-bottom: 0.3em;
}

div.liftbox h2:first-child { margin-top: 0; }

div.liftbox h3 {
 margin-top: 1.5em;
 margin-bottom: 1em;
}

div.liftbox h3:first-child { margin-top: 0; }

p { margin: 1.5em 0; }

ul, ol { margin: 1em 0; }

a { transition: all 300ms ease-in-out 0s; }

/* styles.inc */
a:focus,
a:hover {
  opacity: 1;
  transition: all 300ms ease-in-out 0s;
}

a:focus-visible {  
  outline-offset: 2px;
  outline: 3px solid #333333;
}

a.icon-link {
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
}

a.icon-link span { font-size: 32px; }

div,
textarea,
select,
option,
input[type="text"],
input[type="password"] {
 -webkit-box-sizing:border-box;
 -ms-box-sizing:border-box;
 -moz-box-sizing:border-box;
 box-sizing:border-box;
}

mark.large { line-height: 1.5em; }

form { margin: 0; }

/* styles.inc */
label { 
 text-transform: uppercase;
 font-weight: normal;
}

label b { font-weight: normal; }

/* styles.inc */
input, select { padding: 5px; }

input::placeholder { opacity: 0; }

/* styles.inc */
textarea, input[type="text"],input[type="textfield"],input[type="password"] {
  /* webkit-appearance ipadille ja iphonelle */
  -webkit-appearance: none;
}
 
/* styles.inc */
textarea, input[type="text"],input[type="textfield"],input[type="password"] {
  color: #000000;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  padding: 10px;
  max-width: 100%;
}
 
/* styles.inc */
select {
  background: #ffffff;
  color: #000000;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  padding: 9px 10px;
  max-width: 100%;
}
 
select option { padding: 3px 10px; }
 
select option:hover { background: #e2e2e2; }
 
select option:checked {  
  background: #e2e2e2;
  color: #000000;
}
 
select option:active {  
  background: #e2e2e2;
  color: #000000;
}
 
input[type=radio], input[type=checkbox] { margin: 5px 5px 5px 0; }
 
input[type=text]:focus,
input[type=radio]:focus,
input[type=checkbox]:focus,
input[type=password]:focus,
textarea:focus {
  border: 1px solid #000000;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  transition: initial;
  transition: box-shadow 300ms ease-in-out 0s;
}
 
select:focus { 
  border: 1px solid #000000;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  transition: initial;
  transition: box-shadow 300ms ease-in-out 0s;
}
 
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

/* styles.inc */
.button {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
  line-height: 1em;
  text-transform: uppercase;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

/* styles.inc */
div.button {
  cursor: pointer;
  display: inline-block;
  vertical-align: bottom;
}

/* styles.inc */
a.button {
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
}

a.button span.material-symbols-outlined { font-size: 32px; }

.button.major { text-transform: uppercase; }

button.copy_imageurl {
  color: #000000;
  background: transparent;
  border: 0;
  transition: color 300ms ease-in-out 0s;
  cursor: pointer;
}

button.copy_imageurl:hover,
button.copy_imageurl:focus { 
  color: #C76A68;
  transition: color 300ms ease-in-out 0s;
}

div#slider button.copy_imageurl {
  vertical-align: middle;
  margin-left: 8px;
}

div#slider.fullscreen button.copy_imageurl { color: #ffffff; }

div#slider.fullscreen button.copy_imageurl:hover { color: #da7329; }

div#tiptip_holder { z-index: 99999999; }

.clear { clear:both; }

.nowrap { white-space: nowrap; }

.admin-linkset { line-height: 1em; }

.top { vertical-align: top; }
.bottom { vertical-align: bottom; }
.right { text-align: right; }
.center { text-align: center; }
.absmiddle { vertical-align: middle; }

.table { display: table; }
.table-row { display: table-row; }
.table-cell { display: table-cell; }
.table-gap { display: table-cell; width: 50px; }

table td p:only-child { margin: 0; }

table td p:first-child { margin-top: 0; }

table td p:last-child { margin-bottom: 0; }

/* styles */
table th,
table thead { 
	font-weight: bold;
	text-transform: uppercase;
}

/* styles.inc */
td.data-header,
th.data-header { 
  border: 0;
  padding: 5px 8px;
  text-transform: uppercase;
}

.data { padding: 8px; }

table.muotoiltu { border-collapse: collapse; }

/* styles.inc */
table.muotoiltu th { 
	padding: 5px 8px;
	text-transform: uppercase;
}

table.muotoiltu td { padding: 8px; }

div.flex {
	display: flex;
  justify-content: flex-start;
}

div#pagemask-black { 
 top: 0;
 z-index: 11000;
}

/*-----------------------------------------------
LAYOUT
-----------------------------------------------*/

ul#skiplink-wrap, ul#skiplink-wrap li {
	display: inline;
	height: 0;
	line-height: 0;
	padding: 0 !important;
}
 
 ul#skiplink-wrap li a {
	display: inline;
	height: 0;
	left: -3000px;
	position: absolute;
	top: -2000px;
	width: 0;
}

div#container { background: #ffffff; } 

div#printHeader { display: none; }

/* div#header {} */

/* R */
div#headerWrap {
  display: table; 
  margin: auto;
}

/* R */
div#logo-wrap { 
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  padding: 25px 20px 25px 0;
}

div#logo-wrap img { 
  display: block;
  border: 1px solid transparent;
}

div#logo-wrap a:focus img {
  outline-offset: 2px;
  outline: 3px solid #333333;
}

div#nav-wrap {
  display: table-cell;
  vertical-align: middle;
}

/* R */
/* div#pageCont { } */

div#pageWrap,
div#pageWrap-sp { 
  margin: auto;
  line-height: 1.6em;
}

/* R */
div#pageWrap,
div#pageWrap-sp { padding: 56px 0 80px 0; }

/* R */
div.narrow-cont { margin: auto; }

/* R */
div#footer { 
  background: #333333;
  color: #ffffff;
  line-height: 1.4em;
}

div#footer h1,
div#footer h2,
div#footer h3,
div#footer a,
div#footer a:visited { color: #ffffff; }

div#footer a:focus {
  outline: 3px solid #ffffff;
}

div#footer a img { border: 1px solid transparent; }

div#footer a:focus img { 
  outline-offset: 2px;
  outline: 3px solid #ffffff;
}

div#footer p:first-of-type { margin-top: 0; }

div#footer p:last-of-type { margin-bottom: 0; }

/* R */
div#footerCont { 
  margin: auto;
  padding: 48px;
}

/* R */
div#footerWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

/* R */
div#footerWrap div.firstcol {
  width: 320px;
  text-align: right;
}

/* R */
div#footerWrap div.lastcol { width: 320px; }

div#netlandWrap img#netland_apprunnercms { margin: 0 auto 16px auto; }

/*-----------------------------------------------
NAVIGATION
-----------------------------------------------*/

nav#main-nav { text-align: right; }

/* styles.inc */
.sm-netland a, .sm-netland a:hover, .sm-netland a:focus, .sm-netland a:active, .sm-netland a.highlighted  {
  border-top: 1px solid transparent; 
  border-bottom: 1px solid transparent; 
  text-transform: uppercase;
}

/* styles.inc */
.sm-netland a:hover, .sm-netland a:focus, .sm-netland a:active, .sm-netland a.highlighted  {
  background: transparent;
  color: #da7329;
}

.sm-netland a.selected { background:#eeeeee; }

/* styles.inc */
.sm-netland ul a, .sm-netland ul a:hover, .sm-netland ul a:focus, .sm-netland ul a:active, .sm-netland ul a.highlighted { 
  border-top: 1px solid transparent !important; 
  border-bottom: 1px solid transparent !important; 
  text-transform: initial;
}

/*----- MOBINAV -----*/

div#smartnavi-toggler-cont { 
  background-color: #ffffff;
  border-bottom: 1px solid #ffffff;
  z-index: 2000020;   
}

div#smartnavi-logo img { height: 40px; }

div#smartnavi-toggle-button,
div#smartnavi-toggle-button:hover,
div#smartnavi-toggle-button:active { border: 1px solid #ffffff; }

div#smartnavi-bottom-container {
  background: #ffffff;
  border: 0;
}

div#smartnavi-bottom { color: #333333; }

div#smartnavi-bottom span#arrow-up { border-bottom: 8px solid #333333; }

/* R */
/* ul#main-menu.sm { } */

/*-----------------------------------------------
TOPIMAGES
-----------------------------------------------*/

.image-row {
  --offset: 32px;

  /* 70° kulma */
  --slant: calc(50vh / 2.747);

  /* image-2:n 32px pystysiirtymän vaakakorjaus */
  --offset-x: calc(var(--offset) / 2.747);

  /* image-2 / image-3 -rajan siirto oikealle */
  --right-adjust: 40px;

  /*
   * 12px väli mitattuna kohtisuoraan 70° reunaan.
   * 12 / sin(70°) ? 12.77px
   */
  --gap-x: 12.77px;
  --gap-half-x: calc(var(--gap-x) / 2);

  position: relative;
  width: 100%;
  height: 50vh;

  background: #fff;
  margin-top: 24px;
}

.image {
  position: absolute;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #eeeeee;
}


/* IMAGE 1 */

.image-1 {
  top: 0;
  left: 0;

  width: calc(
    33.333% - var(--gap-half-x)
  );

  background-image: url("/img/default1.jpg");

  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - var(--slant)) 100%,
    0 100%
  );
}


/* IMAGE 2 */

.image-2 {
  top: calc(-1 * var(--offset));

  left: calc(
    33.333%
    - var(--slant)
    + var(--offset-x)
    + var(--gap-half-x)
  );

  width: calc(
    33.333%
    + var(--right-adjust)
    + var(--slant)
    - var(--gap-x)
  );

  background-image: url("/img/default2.jpg");

  clip-path: polygon(
    var(--slant) 0,
    100% 0,
    calc(100% - var(--slant)) 100%,
    0 100%
  );
}


/* IMAGE 3 */

.image-3 {
  top: 0;

  left: calc(
    66.666%
    + var(--right-adjust)
    - var(--slant)
    + var(--gap-half-x)
  );

  right: 0;

  background-image: url("/img/default1.jpg");

  clip-path: polygon(
    var(--slant) 0,
    100% 0,
    100% 100%,
    0 100%
  );
}

/*-----------------------------------------------
STARTPAGE
-----------------------------------------------*/

/*--- STARTPAGE, RESPBOX  ----*/

div.liftbox.teksti p:first-child { margin-top: 0; } 

/* R */
div.liftarea-cont-wrap.rowfull .liftarea-cont,
div.liftarea-cont-wrap.rowfull.has_row_style .liftarea-cont {
	margin-top: 45px;
	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; }

/* R */
div.liftarea-cont-wrap2 { margin: auto; }

div.liftbox.kuva.haslink div.box_img img,
div.liftbox.kuva.haslink div.box_img h1 { cursor: pointer; }

div.liftbox.kuva div.box_img h1 {
 margin: 0;
 bottom: 4px;
}

/* styles.inc */
div.respbox-linkbox a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  min-height: 44px;
  line-height: 1em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 300ms ease-in-out 0s;
}

/* styles.inc */
/* div.respbox-linkbox a:hover {} */

/* styles.inc */
a.respbox-link-button { 
	padding: 9px 18px 11px 18px;
	text-decoration: none;
	line-height: 1.4em;
	transition: all 500ms ease-in-out 0s;
	-webkit-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

/* styles.inc */
a.respbox-link-button:hover { 
	opacity: 1;
	transition: background-color 500ms ease-in-out 0s; 
}

div.liftbox-1 a.respbox-link-button { width: 100%; }

/*--- STARTPAGE, EXHIBITION  ----*/

/* R */
div#sp-exhibition-cont {
  text-align: center;
  margin: 0 auto;
}

div#sp-exhibition-cont a,
div#sp-exhibition-cont a:visited { text-decoration: none; }

/* R */
a div#sp-exhib-wrap,
a.visited div#sp-exhib-wrap { 
  display: flex;
  align-items: center;
  margin-top: 50px;
  border: 1px solid #eeeeee;
  transition: all 250ms ease;
}

/* styles.inc */
a:hover div#sp-exhib-wrap { 
  box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.4);
 -webkit-box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.4);
 -moz-box-shadow: 0px 4px 16px -4px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

/* R */
div.sp-exhib-list-img img {
  width: 260px;
  display: block;
}

/* R */
div.sp-exhib-list-text {
  padding: 40px;
  text-align: left;
}

div.sp-exhib-list-text h3 { 
  text-transform: uppercase;
  margin-top: 0;
}

/*-----------------------------------------------
EXHIBITIONS
-----------------------------------------------*/

/* R */
div#exhib-list-cont { margin-top: 96px; }

div#exhib-list-cont a { text-decoration: none; }

a:hover div.exhib-list-item { 
  box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.4);
 -webkit-box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.4);
 -moz-box-shadow: 0px 4px 16px -4px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

/* R */
div.exhib-list-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border: 1px solid #dddddd;
  transition: all 250ms ease;
}

/* R */
div.exhib-list-img img {
  width: 260px;
  display: block;
}

/* R */
div.exhib-list-text { padding: 40px 40px 40px 40px; }

div.exhib-list-text h3 { 
  text-transform: uppercase;
  margin-top: 0;
}

h1#exhib-title { margin-top: 50px; }

/* R */
div#exhib-wrap {
  display: flex;
  align-items: flex-start;
  margin-top: 48px;
}

/* R */
div#exhib-img-wrap img {
  display: block;
  width: 360px;
  margin-right: 48px;
}

div#exhib-text-wrap { flex-grow: 2; }

div#exhib-text-wrap p:last-of-type { margin-bottom: 0; }

div.highlight-box {
  background: #eeeeee;
  padding: 32px;
}

div#exhib-wrap .highlight-box p:first-of-type { margin-top: 0; }

div#exhib-wrap .highlight-box p:last-child { margin-bottom: 0; }

div#images-cont { margin-top: 48px; }

/* R */
div#pager-wrap {
  display: flex;
  gap: 16px;
  margin-top: 80px;
  justify-content: center;
}

/*-----------------------------------------------
MISC
-----------------------------------------------*/

/*--- scroller ---*/

.mCSB_scrollTools .mCSB_buttonUp { background-position:-112px 0; }
.mCSB_scrollTools .mCSB_buttonDown { background-position:-112px -20px; }
.mCSB_scrollTools .mCSB_draggerRail { background:#EBE9DF; }
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; width: 10px; background:#D1C6B2; }
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background:#BBAB90; }
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background:#998D77; }

div.tipWrap {
 background: #ffffff 4px center no-repeat url(/common_ui/embed_ui/img/icons_silk/lightbulb_2.png);
 padding: 7px 10px 7px 27px;
 margin: 10px 0;
 line-height: 100%;
 -moz-border-radius: 5px;
 -webkit-border-radius: 5px;
 -khtml-border-radius: 5px;
 border-radius: 5px;
 -moz-box-shadow: 0px 0px 10px 0px #b4a08c;
 -webkit-box-shadow: 0px 0px 10px 0px #b4a08c;
 box-shadow: 0px 0px 10px 0px #b4a08c;
}

div#slider a#sliderZoom {
 left: 50%;
 top: calc(50% - 20px);
 transform: translate(-50%, -50%);
 position: absolute;
 color: #ffffff;
 cursor: pointer;
 opacity: 0.4;
 z-index: 199999;
}

div#slider a#sliderZoom:focus { 
  opacity: 1;
  border-top: 0;
  border-bottom: 0;
}

div#slider.fullscreen a#sliderZoom { display: none !important; }

div#slider:hover a#sliderZoom,
div#slider:focus a#sliderZoom {
 opacity: 0.9;
}

div#slider a#sliderZoom span { font-size: 4em; }

div#slider .flexslider-img-text-cont span.ottovuosi { 
 opacity: 0.7;
 font-style: italic;
 display: inline-block;
 margin-left: 10px;
}

/* R */
div#slider .flexslider-img-text-wrap {
 position: absolute;
 bottom: 0;
 width: 100%;
 background: #ffffff;
 color: #ffffff;
 font-size: 15px;
 line-height: 1.2em;
 text-align: center;
}

/* R */
div#slider .flexslider-img-text { padding: 15px 45px; }

div#slider .flexslider-img-text h1,
div#slider .flexslider-img-text a,
div#slider .flexslider-img-text a h1 {
 color: #ffffff;
 text-decoration: none;
}

div#slider .flexslider-img-text h1 { 
 font-size: 26px;
 margin: 0;
 display: inline-block;
}

div#slider div#slider-tabs {
 position: absolute;
 top: 0;
 display: flex;
 gap: 2px;
 left: 50%;
 transform: translateX(-50%);
}

div#slider div#slider-tabs div.slider-tab {
 background-color: #fff;
 border-bottom-left-radius: 5px;
 border-bottom-right-radius: 5px;
 color: black;
 cursor: pointer;
 padding: 8px;
 font-size: 1.5rem;
 line-height: 1rem;
}

div#slider div#slider-tabs div.slider-tab.selected {
 background-color: black;
 color: white;
 cursor: default;
}

div#carousel {
  border:0;
  margin-bottom: 0;
  border-radius: 0;
 -webkit-border-radius: 0;
 -moz-border-radius: 0;
 -o-border-radius: 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
}

div#carousel > a { 
 opacity: 0.5; 
 cursor: pointer;
}

div#carousel > a:hover { opacity: 1; }

/* R */
div#carousel a.carouselWrap {
  background: #ffffff;
  -moz-box-shadow: 0 0.2rem 2rem rgb(36 36 36 / 10%);
  -webkit-box-shadow: 0 0.2rem 2rem rgb(36 36 36 / 10%);
  box-shadow: 0 0.2rem 2rem rgb(36 36 36 / 10%);  
  border: 4px solid #ffffff;
  width: 89px;
  height: 89px;
  background-size: contain;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

div#carousel a.carouselWrap.selected { opacity: 1; }

div#carousel a.carouselWrap.selected { 
  background-color: #da7329;
  border: 4px solid #da7329;
}

#carousel .flex-viewport { height: initial !important; }

/* R */
div#images-cont {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* styles.inc */
div#images-cont::after {
  content: "";
  flex: 20 0 220px;
}

/* R */
div.kuva { 
  flex: 1 0 auto;
  height: 280px;
  overflow: hidden; 
}

div.kuva a {
  display: block;
  height: 100%;
}

div.kuva a:hover { cursor: pointer; }

/* R */
div.kuva img { 
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;  /* pehmeä animaatio */
}

div.kuva a:hover img,
div.kuva a:focus img {
  transform: scale(1.1);      /* suurennus hoverissa */
}

/* R */
a#closefullscreen {
  color: #ccc;
  top: 10px;
  right: 10px;
  position: absolute;
  cursor: pointer;
  width: 38px;
  height: 38px;
  overflow: hidden;
  line-height: 1em;
  display: none;
  z-index: 2000010;
  border: 1px solid transparent;
}

a#closefullscreen:hover,
a#closefullscreen:focus { color: #fff; }

a#closefullscreen:focus { 
  outline-offset: 2px;
  outline: 3px solid #ffffff;
}

div#slider a#sliderPrev {
 left: 4px;
 width: 44px;
 height: 44px;
 top: calc(50% - 20px);
 transform: translateY(-50%);
 position: absolute;
 background: #ffffff;
 cursor: pointer;
 opacity: 1;
 z-index: 199999;
}

div#slider a#sliderNext {
 right: 4px;
 width: 44px;
 height: 44px;
 top: calc(50% - 20px);
 transform: translateY(-50%);
 position: absolute;
 background: #ffffff;
 cursor: pointer;
 opacity: 1;
 line-height: 1em;
 z-index: 199999;
}

div#copied-to-clipboard { z-index: 3000000; }

button.copyToClipboard {
  color: #ffffff;
  background: transparent;
  border: 0;
  transition: color 300ms ease-in-out 0s;
  cursor: pointer;
}

button.copyToClipboard:hover,
button.copyToClipboard:focus { 
  color: #da7329;
  transition: color 300ms ease-in-out 0s;
}

div#slider button.copyToClipboard {
  vertical-align: middle;
  margin-left: 8px;
}

div#tiptip_holder { z-index: 99999999; }

div#slider {
  position: relative;
  background: #ffffff;
  border:1px solid #ffffff;
  border-radius: 0;
 -webkit-border-radius: 0;
 -moz-border-radius: 0;
 -o-border-radius: 0;
 -moz-box-shadow: 0 0.2rem 2rem rgb(36 36 36 / 10%);
 -webkit-box-shadow: 0 0.2rem 2rem rgb(36 36 36 / 10%);
  box-shadow: 0 0.2rem 2rem rgb(36 36 36 / 10%);
}

div#slider.fullscreen {
  background: initial;
  border: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000000;
}

/* R */
div#slider div.sliderWrap {
  position: relative;
  height: 580px;
  margin: 8px 8px 40px 8px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

div#slider div.sliderWrap.hidden { display: none; }

div#slider div.sliderWrap:hover { cursor:pointer; }

div#slider div.sliderWrap img {
 object-fit: contain;
 height: 100%;
 width: 100%;
}

div#slider.fullscreen div.sliderWrap {
 width: 100vw;
 height: calc(95vh - 40px);
 margin: 0;
 margin-top: calc((100vh - 95vh) / 2);
 margin-left: 50%;
 transform: translateX(-50%);
}

div#slider.fullscreen div.sliderWrap:hover { cursor:default; }

div#slider div#sliderMap {
 display: none;
 background-color: white;
 width: 100%;
 height: 100%;
 text-align: center;
 padding-top: 50px;
}

div#slider a#sliderPrev {
 left: 4px;
 width: 44px;
 height: 44px;
 top: calc(50% - 20px);
 transform: translateY(-50%);
 position: absolute;
 background: #ffffff;
 cursor: pointer;
 opacity: 1;
 z-index: 199999;
 display: none;
}

div#slider.fullscreen a#sliderPrev { left: 8px; }

div#slider a#sliderNext {
 right: 4px;
 width: 44px;
 height: 44px;
 top: calc(50% - 20px);
 transform: translateY(-50%);
 position: absolute;
 background: #ffffff;
 cursor: pointer;
 opacity: 1;
 line-height: 1em;
 z-index: 199999;
 display: none;
}

div#slider.fullscreen a#sliderNext { right: 8px; }

div#slider a#sliderPrev:hover,
div#slider a#sliderPrev:focus,
div#slider a#sliderNext:hover,
div#slider a#sliderNext:focus {
  opacity: 0.8;
  border: initial;
}

div#slider:hover a#sliderPrev,
div#slider:focus a#sliderPrev {
 display: block;
}

div#slider a#sliderPrev.forcehide,
div#slider a#sliderNext.forcehide {
 display: none !important;
}

div#slider:hover a#sliderNext,
div#slider:focus a#sliderNext {
 display: block;
}

div#slider a#sliderPrev span,
div#slider a#sliderNext span { font-size: 44px; }

/* R */
div#slider .flexslider-img-text-cont {
  width: 100%;
  position: absolute;
  bottom: -40px;
  left: 0;
  padding: 10px;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.4em;
  background-color: #fff;
  color: #000;
}

div#slider .flexslider-img-text-cont span.img-nimi { font-weight: bold; }

div#slider.fullscreen .flexslider-img-text-cont {
 position: fixed;
 bottom: calc(-2.5vh - 40px);
 width: 100%;
 left: 0;
 background-color: #1a1a1a;
 color: #fff;
 padding: 10px 15px 20px 15px;
}
