body {
    background: whitesmoke;
    color: black;
    margin: 0;
    padding: 0;
}

h1 {
    display: block;
    font-size: unset;
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.transparent {
    opacity: 0;
}
.semitransparent {
    opacity: 0.6;
}
.ydd-footer, .max-w-cod, #block-yddrasil-local-tasks, .unpublished, .ydd-article-tags__details {
    display: none;
  }
.otsikko {
    font-size: 1.5em;
    font-weight: bold;
    color: #03080d;
}
.small {
    font-size: 14px;
    /* position: absolute; */
    /* bottom: 6vh; */
    /* transform: translate(50%); */
    font-family: sans-serif;
    /* left: 50%; */
    /* transform: translate(-50%, 0); */
    width: fit-content;
    line-height: 1.2;
    font-weight: 500;
    padding: 4px;
    /* background-color: rgba(0,0,0,0.5); */
    border-radius: 4px;
    color: black;
    text-shadow: none;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.9);
}
#parentWrapper {
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-size: cover;
    font-weight: 200;
    width: 100vw;
    height: 100vh;
    background: whitesmoke;
    box-sizing: initial;
    -webkit-font-smoothing: unset;
    position: relative;
}

#parentWrapper a {
    color: unset;
    text-decoration: unset;
}

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

#parentWrapper.tumma {
    background: rgb(24, 24, 24);
    color: floralwhite;
}

#parentWrapper {
    line-height: 0.9;
}

#parentWrapper .navi {
    box-sizing: content-box;
    height: auto;
    width: 4vh;
    min-width: 16px;
    min-height: 16px;
    margin: 1vh;
    cursor: pointer;
    -webkit-filter: drop-shadow( 0px 0px 3px rgba(255, 255, 255, .5));
    filter: drop-shadow( 0px 0px 3px rgba(255, 255, 255, .5));
}

#parentWrapper #prev {
    transform: rotate(180deg)
}

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

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

#backgroundImage.zoomin {
    transform: scale(1.5);
}

#backgroundImage.rotate {
    transform: scale(1.5) rotate(20deg);
}

#backgroundImage.tosihidas {
    transition-duration: 25s;
}

#backgroundImage.hidas {
    transition-duration: 15s;
}

#backgroundImage.nopea {
    transition-duration: 12s;
}

#headerWrapper {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    height: 8vh;
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
   
}



#play {
    display: flex;
    justify-content: center;
    position: relative;
    font-family: sans-serif;
}

#parentWrapper #play .playbutton {
    font-size: 16px;
    margin: 10px;
    width: fit-content;
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
}

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

#parentWrapper .nappi {
    font-family: sans-serif;
    border-radius: 999px;
    padding: 1.5vw 4vw;
    background: rgb(0, 0, 0);
    color: white;
    font-size: 3vw;
    width: fit-content;
    margin: 2vh auto;
    cursor: pointer;
    text-shadow: none;
    box-shadow: 0px 0px 10px rgba(255,255,255,0.2);
}




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

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

#parentWrapper .kuva img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    max-width: 400px;
    border: 2px solid rgb(49, 37, 19);
    display: block;
    margin: auto;
    border-radius: 50%;
    opacity: 0;
    -webkit-transition: opacity 1600ms ease-out;
    -moz-transition: opacity 1600ms ease-out;
    -o-transition: opacity 1600ms ease-out;
    transition: opacity 1600ms ease-out;
}

#parentWrapper .loppukuva img {
    width: 60%;
    max-width: 300px;
    opacity: 1;
    border-radius: 0;
    border: none;
}

#parentWrapper .kuva img.show {
    opacity: 1;
}

#mainWrapper {
    font-family: "Times New Roman", Georgia, serif;
    margin: 1vh 4vw;
}

#backgroundImage {
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    z-index: 0;
}

#media {
    font-size: 1.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    width: 100%;
}

#typed {
    font-size: 1.1em;
    display: flex;
    z-index: 10;
    width: 100%;
    line-height: 1;
}

#ingressi {
    font-size: 0.85em;
    z-index: 10;
    text-align: left;
    width: 100%;
}

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

#media img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#mediaWrapper {
    flex-direction: column;
    height: calc(92vh - 90px);
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: calc(24px + 0.2vw);
}

#parentWrapper.pieni #mediaWrapper {
    font-size: 3vh;
}

#parentWrapper.iso #mediaWrapper {
    font-size: 5.5vh;
}

#parentWrapper.bottom #mediaWrapper {
    justify-content: flex-end;
}

#parentWrapper.top #mediaWrapper {
    justify-content: flex-start;
}

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

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

#headerWrapper .plyr--full-ui {
    flex: 1;
    height: fit-content;
}

#headerWrapper .plyr__control {
    margin: 0.2vh;
}

#headerWrapper .plyr__controls {
    background: unset;
    color: rgba(0, 0, 0, 1);
}

#headerWrapper .plyr--full-ui input[type=range] {
    color: rgba(0, 0, 0, 1);
}

#headerWrapper .plyr--full-ui .plyr__progress.flash input[type=range] {
    color: rgba(0, 0, 0, 1);
    animation-name: flash;
    animation-duration: 1s;
    animation-timing-function: ease;
}

@keyframes flash {
    0% {
        color: rgba(255, 255, 255, 0.9);
    }
    100% {
        color: rgba(0, 0, 0, 1);
    }
}

#headerWrapper .plyr__progress {
    pointer-events: none;
}


:root {
    --plyr-range-thumb-height: 0px;
    --plyr-range-thumb-shadow: 0px;
    --plyr-range-track-height: 4px;
    --plyr-tooltip-padding: 0px;
    --plyr-range-thumb-background: rgb(0, 0, 0);
}

.plyr__controls__item.plyr__volume {
    --plyr-range-thumb-height: 10px;
    --plyr-range-thumb-shadow: 1px;
    --plyr-range-thumb-background: rgb(0, 0, 0);
}

.plyr__controls__item.plyr__progress__container {
    --plyr-range-thumb-radius: 0px;
}


   

#headerWrapper .plyr__control[type="button"]{
    display: block;
    text-indent: -9999px;
    box-sizing: content-box;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 0.9vh;
    width: 0.9vh;
}


.plyr--audio .plyr__control:hover {
    background-color: rgba(255, 255, 255, 0);
}
#headerWrapper [data-plyr="play"] {
    background-image: url(../sprite/plyr-play.svg);
}

#headerWrapper .plyr--playing [data-plyr="play"] {
    background-image:  url(../sprite/plyr-pause.svg);
    
}

#headerWrapper .plyr__control[data-plyr="mute"] {
    background-image:  url(../sprite/plyr-volume.svg);
    height: 0.8vh;
    width: 0.8vh;
  
}

#headerWrapper .plyr__control.plyr__control--pressed[data-plyr="mute"] {
    background-image: url(../sprite/plyr-muted.svg);
}


#parentWrapper #ingressi #shareWrapper {
    overflow: hidden;
}

#shareWrapper a {
    text-decoration: none;
}

#parentWrapper #ingressi #shareButtons {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: 0;
    padding-top: 8px;
    text-shadow: none;
}

#shareButtons a {
    text-decoration: none;
}

#shareButtons div {
    border: none;
    border-radius: 999px;
    background-color: #315b7d;
    outline: none;
    font-size: calc(16px + 1vh);
    height: calc(30px + 3vh);
    width: calc(30px + 3vh);
    text-decoration: none;
    margin: 0.2em 0.5em;
    color: #fff;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: -webkit-center;
    text-align: center;
    padding: 0;
}

#shareText {
    font-size: 16px;
    text-align: center;
    margin: 4px 0 0;
    /* border-top: rgba(49,91,125,0.2) solid 1px; */
    color: rgb(199, 199, 199);
}

#shareButtons div {
    color: white;
}

#shareButtons #fbShare {
    background: #3b5998;
}

#shareButtons #waShare {
    background: #4dc247;
}

#shareButtons #twShare {
    background: #00aced;
}

/*#headerWrapper .plyr--audio .plyr__control:hover {
    background: rgba(0, 0, 0, 1)!important;
}*/


@media only screen and (max-width: 600px) {
    #parentWrapper .nappi {
        padding: 12px 32px;
        font-size: 18px;
    }
    /*YDDRASIL*/
    #toolbar-bar {
        display: none;
    }

    .toolbar-vertical {
        padding-top:0!important;
    }
}
@media only screen and (max-width: 360px) {
    #ingressi {
        font-size: 0.75em;
    }
}



@media only screen and (min-width: 800px) {
    #parentWrapper .navi:hover, .info-slide:active {
        background: rgba(255, 255, 255, 0)!important;
        border-radius: 4px;
    }
    #mediaWrapper {
        margin: auto;
        width: 768px;

    }
    #ingressi {
        font-size: 0.95em;
    }
    #parentWrapper .nappi {
        padding: 12px 32px;
        font-size: 24px;
    }
}

/* 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;
}