
#parentWrapper {
  font-family: "Yle Next", sans-serif;
  background-size: cover;
  font-weight: 200;
  box-sizing: initial;
  -webkit-font-smoothing: unset;
  max-width: 636px;
  margin: auto;
 }

#parentWrapper a {
  color: unset;
  text-decoration: unset;
}
#parentWrapper p {
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
}

#parentWrapper .small {
  font-size: 16px;
  position: absolute;
  bottom: 6vh;
  transform: translate(50%);
  font-family: "Yle Next", sans-serif;
  left: 50%;
  transform: translate(-50%, 0);
  width: fit-content;
  line-height: 1.2;
}

#parentWrapper .transparent {
  opacity: 0;
  display: inline-block;
}

#parentWrapper p.center {
  text-align: center;
  margin-block-start: 1em;
}

#parentWrapper .bold {
  font-weight: bold;
}
#parentWrapper .episodeTexts {
    font-size: 1.6em;
  position: relative;
}
#parentWrapper .textsParentDiv {
  /* position: relative;
  height: 100%; */

  position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    padding-bottom: 35%;
}

#parentWrapper .kuvat,
#parentWrapper .tekijat {
  /* font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; */
  font-family: "Yle Next", sans-serif;;
  font-size: 0.5em;
  text-align: left;
  font-weight: 400;
  margin-top: 1vh;
}

#parentWrapper .tumma {
  background: #37403e;
background: linear-gradient(179deg, rgba(55, 64, 62, 1) 0%, rgba(32, 41, 40, 1) 76%, rgba(2, 3, 3, 1) 100%);
  color: floralwhite;
}


#parentWrapper .vaalea .teksti,
#parentWrapper .vaalea #ingressi {
  text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.95);
 }

#parentWrapper .tumma .teksti,
#parentWrapper .tumma #ingressi {
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.95);
}


#parentWrapper.tumma #parentWrapper .playbutton {
  background: rgba(255, 255, 255, 0.2);
  color: black;
}

#parentWrapper .nappi, #parentWrapper .startButton {
    font-family: "Yle Next", sans-serif;
    border-radius: 999px;
    padding: 0.4em 1em;
    background: rgb(0, 0, 0);
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 1em;
    width: fit-content;
    margin: 1vh auto;
    cursor: pointer;
    text-shadow: none;
    text-transform: uppercase;
    font-weight: 400;
}

#parentWrapper .nappi .fas {
  padding-right: 10px;
}

#parentWrapper .kuva,
#parentWrapper .loppukuva {
  position: relative;
  text-shadow: none;
}

.background {
  background-size: contain;
  background-position: left;
  height: 33dvh;
  width: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  background-repeat: no-repeat;
}

.fullbackground .background {
  background-size: cover;
  background-position: bottom;
  height: 100%;
  width: 100%;
}
.fullbackground.iso .background{
  background-size: contain;
}

.episodeWindow.sub .episodeTexts {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* height: 70%; */
  overflow-y: auto;
  padding: 2vh 3vh;
  z-index: 10;
  text-align: center;
  /* font-family: "Times New Roman", Georgia, serif; */
  font-family: "Yle Next", sans-serif;
  font-size: 2.4em;
  font-style: italic;
}

#parentWrapper .episodeWindow.ingressi .episodeTexts {
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  text-align: center;
  font-style: normal;
  flex-direction: column;
  /* font-family: unset; */
  flex-wrap: nowrap;
  align-content: flex-start;
  margin: 1em;
}

.episodeTexts .name {
  font-style: normal;
  font-weight: 500;
  display: inline-block;
}

#ingressi {
  font-size: 0.5em;
  z-index: 10;
  text-align: left;
  width: 100%;
  background-color: #f0fdfc;
}

.episodeTexts .title {
  font-size: 1.3em;
  font-weight: 600;
}

#ingressi.center {
  text-align: center;
}

#parentWrapper .pieni {
  font-size: 1em;
}

#parentWrapper .iso .episodeTexts {
    font-size: 3.2em;
    font-weight: 500;
}

#parentWrapper .episodeWindow.bottom .episodeTexts {
  justify-content: flex-end;
  padding-bottom: 10vh;
}

#parentWrapper .episodeWindow.top .episodeTexts {
  justify-content: flex-start;
  padding-top: 8vh;
}

.kuvavarasto {
  position: absolute;
  height: 1px;
  width: 1px;
  opacity: 0.01;
  overflow: hidden;
  bottom: 0;
  right: 0;
  z-index: 2000;
}

.kuvavarasto img {
  height: 1px;
  width: 1px;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
}

.episodeWindow {
  height: 90dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 3vh 0;
  border: 1px solid rgb(208 208 208);
  box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  position: relative;
  background: #EDFEFB;
/* background: linear-gradient(179deg, rgba(237, 254, 251, 1) 0%, rgba(230, 250, 247, 1) 75%, rgba(190, 209, 204, 1) 100%); */
}

.episodePlayer {
  flex-shrink: 0;
  z-index: 200;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1vh;
  box-shadow: 1px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.seekBackward,
.seekForward {
  position: absolute;
  top: 5%;
  bottom: 5%;
  width: 50%;
  height: 90%;
  z-index: 5;
  pointer-events: none;
}

.seekBackward.playing,
.seekForward.playing {
  pointer-events: auto; /* Sallii klikkaukset kun playing-luokka on lisätty */
  cursor: pointer;
  z-index: 15;
  pointer-events: all;
}

.seekBackward {
  left: 0;
}

.seekForward {
  right: 0;
}

@media only screen and (max-width: 600px) {

.background {
  height: 32dvh;
}
 
#parentWrapper .startButton {
    padding: 0.6em 1.6em;
    background: rgb(0, 0, 0);
    font-size: 1em;
  }

  #parentWrapper {
    font-size: 1em;
  }

  #parentWrapper .episodeTexts {
    font-size: 1.2em;
  }
  #parentWrapper .iso .episodeTexts {
    font-size: 1.8em;
}

  #parentWrapper .episodeWindow.ingressi .episodeTexts {
    font-size: 0.8em;
  }
}

/* FYNDIN PALKIT PIILOON */

.node__status,
ul.tabs,
ul.tabs--primary,
.element-invisible,
#navbar-administration,
#ylefifooter,
.yle-header-ad,
.l-region.l-region--header {
  display: none !important;
}

.node-unpublished {
  background-color: unset;
}
