/* PÖYTÄNÄYTÖT */

@media screen and (min-width: 1367px) {
    .sivualue {
        width: 80%;
        margin: 3px 10% 8px;
        box-shadow: 0px 0px 15px rgb(0, 0, 0, .8);
        font-size: 1rem;
        line-height: 1.7rem;
	}
    
    .valikko .paanavi {
        height: 45px;
        padding-top: 16px;
        font-size: 1.3rem;
    }
    
    .header {
        margin-bottom: 60px;
    }
    
    .rollologo_header {
        width: 17%;
        height: auto;
        top: 30px;
        left: 30px;
    }
    
    h1 {
        font-size: 2.5rem;
        margin: 0 0 1.5em;
    }
    
    
    /* PÄÄSIVU*/
    .etusivu {
        width: 60%;
        margin: 0 auto 90px;
    }
    
    p, ul li {
        font-size: 19px;
        line-height: 27px;
    }

    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 900%;
        line-height: 108px;
        padding: 6px 3px 10px 0;
        margin: 0 6px 15px -8px;
        float: left;
    }

    #ohjelmistocontainer div {
        height: 585px;
    }

    h3.showpalikka {
        font-size: 1.6rem;
        line-height: 1.3em;
        text-transform: uppercase;
        margin-block-start: .8em;
        margin-block-end: .5em;
        padding: 0 15px;
        width: calc(100% - 30px);
    }

    .showpalikka p {
        font-size: 1.2rem;
        line-height: 1.9rem;
        padding: 0 25px;
    }
    
    
    /* ROLLO-SIVU */
    .ryhmakuva {
        width: 94%;
        height: auto;
        margin-left: 6%;
        margin-bottom: 0;
    }
    
    .esittely p, .henkilot, .yhteyshenkilot {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }
    
    .henkilot, .yhteyshenkilot {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    
    .esittely {
        width: calc(65% - 130px);
        padding: 0 30px 40px 90px;
	    border-right: 1px solid #999;
        margin: 0;
    }
    
    .henkilot {
        width: calc(35% - 31px);
        padding: 0 0 40px 20px;
	    border-left: none;
    }
    
    .yhteyshenkilot {
        padding: 9px 0 0 10px
    }
    
    .avustajalogot_pikkunaytot {
        display: none;
    }
    
    .helsinkilogo {
      width: 160px;
      height: calc(160px * .47);
    }
    
    .okm {
      width: 250px;
      height: auto;
    }
    
    
    /* BIISISIVUT */
    h1.biisisivut {
        font-size: 2vw;
    }
    
    h2.biisisivut {
        font-size: 1.8rem;
    }
    
    h2.biisisivut.onxtaaljoku {
        margin-bottom: 50px;
    }
    
    h2.ingressi {
        font-size: 1.5rem;
        line-height: 2.1rem;
    }
    
    h3.ingressi {
        margin-bottom: 40px;
    }
    
    h2.ingressi.umpimahka {
        margin: 0;
    }
    
    h2.ingressi.kahdenkeikka {
        font-size: 1.4em;
    }
    
    h3.biisisivut {
        font-size: 1.5rem;
        margin-top: 90px;
        margin-bottom: 25px;
    }
    
    .biisiheader.kopottajat {
        margin-bottom: -80px;
    }
    
    .biisiheader.kahdenkeikka {
        margin: 0 0 130px;
    }
    
    .biisiheader.umpimahka {
        margin-bottom: 90px;
    }
    
    .umpimahkalogo {
        top: 580px;
    }
    
    .luurilogo {
        display: none;
    }
    
    .sisalto.biisi {
      width: calc(60% - 165px);
      margin: 0 60px 70px 100px;
    }
    
    .sisalto.putkarit {
        margin-top: 40px;
    }
    
    /* TAIDEMUSEO */
    .sisalto.opetusaineisto {
        width: 100%;
        padding: 0 0 80px;
    }
    
    .teos {
        min-width: calc(45% - 70px);
        margin: 35px;
    }

    .teos.vaaka {
        min-width: 80%;
    }

    .teos.pysty {
        width: 46%;
    }

    .teostarina.oik.taistelevatmetsot, .teostarina.vas.sammonpuolustus {
        width: 150%;
        margin-top: 75%;
        left: -30%;
    }

    .teostarina.vas {
        left: -30vw;
    }

    .teostarina.levea {
        width: 95%;
    }

    .teostarina.vas.levea {
        left: -10vw;
    }

    .teostarina.oik {
        right: -30vw;
    }

    .teostarina.oik.levea {
        right: -33vw;
    }
    
    /*.teostarina.kuolemanpuutarha, .teostarina.toipilas, .teostarina.toipilas, .teos.pysty .teostarina {
        right: -38vw;
    }
    
    .teostarina.vas.raatajatrahanalaiset, .teostarina.vas.edelfelt, .teostarina.vas.haavoittunut_enkeli, .teostarina.vas.poikajapaakallo {
        margin-right: -110%;
    }*/

    .teostarina.vas.vaneyck {
        width: 150%;
        margin-top: 100%;
        left: -30%;
    }

    /* LAAJENTUVA TARINA*/
    .teostarina div {
        float: left;
        height: 450px;
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    }

    .teostarina.showContent div {
        height: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    /* LOPPU LAAJENTUVA TARINA*/
    
    .teostarina h1 {
        font-size: 1.7em;
    }
    
    
    /* KUOPPA */
    .sisalto.biisi.kuoppa {
        width: calc(60% - 240px);
        margin: 60px 120px 120px 100px;
    }
    
    .media.kuoppa {
        margin-top: 60px;
    }
	
	.hyvareissulogo {
		margin-bottom: 60px;
	}
    
     /* MEDIAPLAYER */
    #wrapper, #wrapper1, #wrapper2, #wrapper3 {
        float: left;
        width: 80%;
        height: 25px;
        margin-bottom: 20px;
    }
    
    audio {
        height: 25px;
        width: 100%; 
    }
    
    .julkku img.pysty {
        width: 50%;
        margin: 0 25%;
    }
    
    /* MEDIA */
    .thumbswrapper p {
        font-size: .9em;
        line-height: 1.5em;
    }
    
    /* JULKKU*/
    .julkku img.pysty {
        width: 200px;
        height: auto;
    }

    .julkku img.vaaka {
        height: 200px;
        width: auto;
    }
    
    
    /* KEIKKAKALENTERI */
    .header.keikkakalenteri {
        margin-bottom: 0;
    }
    
    .taulukkowrap {
        width: 70%;
        margin: 0 calc(15% - 5px) 50px;
    }
}




/* LÄPPÄRI 13" JA ISO PADI LANDSCAPE */
@media screen and (max-width: 1366px) and (max-height: 1024px) and (orientation:landscape){
	.valikko .paanavi {
        height: 40px;
        padding-top: 14px;
    }
	  
    img.paasivukuva_mobile {
        display: none;
    }
    
    .sivuwrapper {
        padding-bottom: 110px;
    }
    
    .etusivu {
        width: 70%;
        margin: 0 auto;
    }

    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 790%;
        padding: 43px 3px 10px 0;
        margin: 0 6px 15px -8px;
        float: left;
    }
    
    .showpalikka.arkisto {
        width: 40%;
        height: auto;
    }
    

    /* BIISISIVUT */
    .biisiheader.kopottajat {
        margin-bottom: -80px;
    }
    
    .biisiheader.kahdenkeikka {
        margin-bottom: 120px;
    }
    
    .biisiheader.umpimahka {
        margin-bottom: 90px;
    }
    
    .umpimahkalogo {
        top: 490px;
    }
	
	.hyvareissulogo {
		margin-bottom: 60px;
	}
    
    .sisalto.biisi {
      width: calc(60% - 165px);
      margin: 0 60px 70px 100px;
    }
    
    .sisalto.putkarit {
        margin-top: 40px;
    }
    
    h1.biisisivut {
        font-size: 2.5vw;
    }
    
    h2.biisisivut {
        margin-top: 20px;
    }

    h3.biisisivut {
        font-size: 1.4em;
        margin-top: 50px;
        margin-bottom: 25px;
    }
    
    .julkku img {
        width: 80%;
        margin: 0 10%;
    }
    
    .julkku img.pysty {
        width: 50%;
        margin: 0 25%;
    }
    
    /* TAIDEMUSEO */
    .teos {
    position: relative;
    min-width: calc(45% - 70px);
    margin: 35px;
    }

    .teos.vaaka {
        min-width: 80%;
    }

    .teos.pysty {
        width: 46%;
    }
    
    .teostarina h1 {
        font-size: 1.4em;
    }

    /* LAAJENTUVA TARINA*/
    .teostarina div {
        float: left;
        height: 450px;
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    }

    .teostarina.showContent div {
        height: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    /* LOPPU LAAJENTUVA TARINA*/
    

    .teostarina.oik.taistelevatmetsot, .teostarina.vas.sammonpuolustus {
        width: 150%;
        margin-top: 75%;
        left: -30%;
    }
    
    .teostarina.sammonpuolustus {
        left: -43vw;
    }

    .teostarina.vas {
        left: -37vw;
    }

    .teostarina.vas.levea {
        left: -50vw;
    }

    .teostarina.oik {
        right: -37vw;
    }

    .teostarina.oik.levea {
        right: -50vw;
    }

    .teostarina.vas.vaneyck {
        width: 150%;
        margin-top: 100%;
        left: -30%;
    }

    /* LAAJENTUVA TARINA*/
    .teostarina div {
        float: left;
        height: 450px;
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    }

    .teostarina.showContent div {
        height: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    /* LOPPU LAAJENTUVA TARINA*/
    
    
    /* KEIKKAKALENTERI */
    td b.leipis {
        font-size: 16px;
    }

    .taulukkowrap {
        width: 70%;
        margin: 0 15% 50px;
    }
    
    
    /* FOOTER */
    .footer .text {
        font-size: 16px;
        line-height: 25px;
    }
    
    .footer .varipalikat {
        position: absolute;
        right: 0;
        height: 100%;
        width: 45%;
        margin: 0;
    }
}





/* ISO PADI LANDSCAPE */
@media screen and (max-width: 1366px) and (orientation:landscape){
    .sivualue {
		width:100%;
        margin: 0 0 8px;
	}
    
    .header {
        margin-bottom: 60px;
    }
    
    .sisalto, .esittely, .henkilot, .yhteyshenkilot {
        font-size: 1.3rem;
        line-height: 1.9rem;
    }

    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 910%;
        padding: 56px 3px 10px 0;
        margin: 0 8px 30px -8px;
        float: left;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    #ohjelmistocontainer div {
        width: 450px;
        height: 635px;
        margin: 30px;
    }

    h3.showpalikka {
        font-size: 1.7em;
        line-height: 1.4em;
        text-transform: uppercase;
        margin-block-start: .8em;
        margin-block-end: .5em;
        padding: 0 15px;
        width: calc(100% - 30px);
    }

    .showpalikka p {
        font-size: 1.2em;
        line-height: 1.4em;
        padding: 0 25px;
    }

    /* ROLLOSIVU */
    .ryhmakuva {
        margin-left: 7%;
        width: 93%;
        height: auto;
    }
    
    .rollologo_header {
		width: 18%;
        top: 30px;
		height: auto;
	}
    
    .valikko .paanavi {
        height: 45px;
        padding-top: 18px;
        font-size: 1.3rem;
    }
    
    .esittely {
        width: 50%;
        padding: 0 3% 40px 6%;
        margin: 0;
        border-right: 1px solid #999;
    }
    
    .henkilot {
        width: 37%;
        padding: 0 0 40px 3%;
        border: 0;
    }

    .yhteyshenkilot {
        margin: 27px 0 0 20px;
    }
    
    .henkilot .vo {
        margin: 0 0 5px;
    }
    
    /* LOGOT */
    .avustajalogot_pikkunaytot {
        display: none;
    }
    
    .helsinkilogo {
        width: 160px;
        height: calc(160px * .472);
        margin: 35px 4% 30px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 460px;
        width: 100%;
        left: 0;
    }
    
    .luurilogo {
        display: none;
    }
    
    .biisilogo.rexijavaxi {
        top: 55%;
    }
    
    img.haloo {
        width: 55vw;
        height: auto;
        top: 10px;
    }
    
    .biisiheader.kopottajat {
        margin-bottom: -80px;
    }
    
    /* KEIKKAKALENTERI */
    .header.keikkakalenteri {
        margin-bottom: 0;
    }
}







/* 13" LÄPTÖP ja PIKKUPÄDIT LANDSCAPE */
@media screen and (max-width: 1366px) and (max-height: 768px) and (orientation:landscape){
    .sivualue {
		width: 80%;
        margin: 0 10% 8px;
	}

    .valikko .paanavi {
        height: 40px;
        padding-top: 17px;
        font-size: 18px;
    }
    
    .rollologo_header {
        height: 170px;
        width: auto;
    }
    
    .sisalto, .esittely {
        font-size: 1.05rem;
        line-height: 1.5rem;
    }
    
    .sisalto {
        width: 70%;
        margin: 0 auto 70px;
    }
    
    .etusivu {
        margin-top: 20px;
    }
    
    /* ROLLOSIVU */
    .aloitus {
        font-size: .9em;
    }

    #ohjelmistocontainer div {
        width: 350px;
        height: 500px;
    }
    
    .showpalikka {
        font-size: 18px;
    }
    
    h1 {
        font-size: 4vw;
        margin: 0 0 30px;
    }
    
    h3, h3.ingressi {
        font-size: 20px;
        line-height: 2rem;
    }
    
    h3.ingressi {
        margin-top: 0;
    }
    
    h3.showpalikka {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    
    /* BIISISIVUT */
    img.ruksi {
        height: 60px;
        width: 60px;
        top: 10px;
        left: 10px;
    }
    
    .biisiheader.harmaatpantterit {
        margin-bottom: 20px;
    }
    
    .biisiheader.kahdenkeikka {
        margin-bottom: 120px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 48vh;
    }
    
    .sisalto.biisi {
        margin-bottom: 90px;
    }
    
    h2.ingressi {
        text-align: left;
        margin-bottom: 30px;
    }

    h1.biisisivut {
        margin: 20px 0 0;
        font-size: 30px;
    }
    
    .thumbswrapper p {
        font-size: .85em;
    }
    
    ul.umpimahka {
        margin-top: 0;
    }
    
    /* MEDIA */
    .thumbswrapper {
        margin-bottom: 0;
    }

    .thumbswrapper p {
        margin-bottom:0px;
    }
    
    .julkku img {
        width: 80%;
        margin: 0 10%;
    }
    
    .julkku img.pysty {
        width: 50%;
        margin: 0 25%;
    }
    
    
    /* KEIKKAKALENTERI */
    .header.keikkakalenteri {
        margin-bottom: 10px;
    }
    
    h1.keikkakalenteri {
        font-size: 38px;
    }

    .taulukkowrap {
        float: left;
        width: 100%;
        margin: 0 0 30px;
        padding: 0;
    }
    

    /* ROLLOSIVU*/
    .esittely {
        width: 50%;
        margin: 20px 35px 40px 7%;
        border-right: 1px solid #999;
    }
    
    .esittely h1 {
        font-size: 1.8rem;
    }
    
    .henkilot, .yhteyshenkilot {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    
    .henkilot {
        padding: 16px 0 40px 30px;
        width: calc(40% - 31px);
    }
    
    .henkilot ul li, .yhteyshenkilot ul li {
        margin: 0 0 10px;
    }
    
    .caption {
        padding: 0;
        margin: 0;
    }

    .yhteyshenkilot {
        margin: 20px 0 0;
        padding: 0 0 40px;
        margin-left: 0;
    }

    .footer .text {
        font-size: 16px;
        line-height: 25px;
    }

    .footer .varipalikat {
        width: 45%;
    }
}







@media screen and (max-width: 1180px) and (max-height: 820px) and (orientation:landscape){
    .valikko .paanavi {
        height: 40px;
        padding-top: 12px;
        font-size: 16px;
    } 
    
    .biisiheader.umpimahka {
        margin-bottom: 70px;
    }
    
    .umpimahkalogo {
        top: 500px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 420px;
        width: 90vw;
        left: 5vw;
    }
    
    h2.biisisivut {
        margin-top: 20px;
    }
    
    /* FOOTER */
    .footer .text {
        font-size: .8rem;
        line-height: 1.5rem;
        margin: 5% 0 40px 5%;
    }
}






/* --- ISO IPAD PYSTY --- */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px) and (max-height: 1366px) and (orientation:portrait) {
    
	.sivualue {
		width:100%;
        line-height: 1.3rem;
        box-shadow: none;
	}
    
    .valikko .paanavi {
        height: 45px;
        padding-top: 22px;
        font-size: 18px;
    }
	
	.alanavi {
		padding-bottom: 0;
	}
	
	.alanavi.alin {
		padding-bottom: 10px;
	}
    
    .mobilevalikko {
	    visibility: hidden;
    }
    
    .rollologo_header {
		width: 19%;
        top: 20px;
		height: auto;
	}
    
    
    /* PÄÄSIVU */
    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 715%;
        padding: 34px 3px 10px 0;
        margin: 0 6px 10px -8px;
        float: left;
    }
    
    
    /* KEIKKAKALENTERI */
    .taulukkowrap {
        width: 100%;
        margin: 0;
    }
	
	h2 {
    	font-size: 1.4rem;
    	margin: 20px 0 15px;
	}
	
	h2.some {
    	font-size: 1.8rem;
	}
    
    h2.ingressi, h3, h3.ingressi {
        font-size: 1.9vw;
        line-height: normal;
    }
    
    .sisalto {
        width: 70vw;
        margin: 0 auto 40px;
    }
    
    .sisalto, .esittely, .henkilot, .yhteyshenkilot {
        font-size: 1.8vw;
        line-height: 1.5rem;
    }
    
    #ohjelmistocontainer div {
        width: 350px;
        height: 505px;
    }
    
    .showpalikka p {
        font-size: 1.1rem;
    }
    
    /* BIISISIVUT */
    /* TAIDEMUSEO */
    .teos {
        max-width: calc(45% - 70px);
        margin: 35px;
    }

    .teos.vaaka {
        min-width: 80%;
    }

    .teos.pysty {
        width: 46%;
    }
    
    /* TEOSTARINAT*/
    .teostarina h1 {
        font-size: 1.5em;
    }
    
    .teostarina.levea {
        width: 110%;
    }
    
    .teostarina.vas {
        left: -47vw;
    }
    
    .teostarina.vas.levea {
        left: -50vw;
    }
    
    .teostarina.oik {
        right: -55;
    }
    
    .teostarina.oik.levea {
        right: -50vw;
    }
    
    .teostarina.vas.vaneyck {
        left: -55vw;
    }

    .teostarina.sammonpuolustus {
        left: -45vw;
    }

    .teostarina.vas.vaneyck {
        width: 150%;
        margin-top: 100%;
        left: -30%;
    }
    
    .teostarina div {
        float: left;
        height: 450px;
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    }

    .teostarina.showContent div {
        height: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    /* LAAJENNUSNAPPI
   a.readmore-btn.taidemuseo {
        display: none;
       visibility: hidden;
    }
    /* LOPPU TAIDEMUSEO*/
    
    
   .biisiheader {
        margin: 0 0 70px;
    }
    
    .biisiheader.kopottajat {
        margin-bottom: -80px;
    }
    
    .biisiheader.kahdenkeikka {
        margin-bottom: 80px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 370px;
        width: 85vw;
        left: 7.5vw;
    }
    
    .umpimahkalogo {
        top: 450px;
    }
    
    .biisilogo.rexijavaxi {
      top: 60%;
    }
    
    img.haloo {
        width: 60vw;
        height: auto;
        top: 20px;
    }

    .sisalto.biisi {
        width: calc(60% - 120px);
        margin: 0 60px 70px;
    }
    
    h2.biisisivut {
        margin-top: 20px;
    }
    
    h3.ingressi.rexijavaxi {
        margin: 0 0 30px;
    }

    h3.biisisivut {
        font-size: 1.3em;
        margin-top: 50px;
        margin-bottom: 25px;
    }
    
    ul.umpimahka {
        margin-top: 0;
    }
	
    /* MEDIAT */
	.videoikkuna, .insta {
		margin: 10px 0 0;
	}
    
     /* MEDIAPLAYER */
    #wrapper, #wrapper1, #wrapper2, #wrapper3 {
        float: left;
        width: 95%;
        height: 25px;
        margin-bottom: 20px;
    }
    
    audio {
        height: 25px;
        width: 100%; 
    }
    
    .julkku img {
        width: 80%;
        margin: 0 10%;
    }
    
    .julkku img.pysty {
        width: 50%;
        margin: 0 25%;
    }
    
    
    /* ARKISTO */
    .showpalikka.arkisto {
        width: 40%;
        height: auto;
    }
    
    
    /* KEIKKAKALENTERI */
    .taulukkowrap {
        width: 90%;
        margin: 0 5% 30px;
        padding: 0;
    }
    
    /* ROLLO */
    .ryhmakuva {
        width: 90%;
        height: auto;
        margin-left: 10%;
    }
    
    .esittely {
        width: calc(70% - 100px);
        margin: 0 30px 40px 70px;
        border-right: 0;
    }
    
    .henkilot {
        width: calc(30% - 31px);
        padding: 5px 0 40px 30px;
	    border-left: 1px solid #999;;
    }
    
    .yhteyshenkilot {
        display: inline-block;
        margin-left: 0;
    }

    .henkilot h2, .yhteyshenkilot h2 {
        font-size: 1rem;
        margin: 34px 0 10px;
    }

    .yhteyshenkilot h2 {
        margin: 40px 0 10px;
    }
    
    .avustajalogot_pikkunaytot {
        display: none;
    }
    
    .helsinkilogo {
        width: 160px;
        height: calc(160px * .472);
        margin: 68px 4% 30px;
    }

    /* FOOTER */
    .footer .varipalikat {
        width: 35%;
    }
}






@media screen and (max-width: 1024px) and (max-height: 1180px) and (orientation:portrait) { 
    .biisilogo.kahdenkeikka {
        top: 290px;
        width: 85vw;
        left: 6.5vw;
    }

    .umpimahkalogo {
        top: 450px;
    }
}





/* 10,5" PIKKUPÄDIT LANDSCAPE */
@media screen and (max-width: 1024px) and (max-height: 768px) and (orientation:landscape){
    .sivualue {
        width: 100%;
        margin: 3px 0 8px;
    }
    
    .header.rollo {
        margin-bottom: 0;
    }
    
    .rollologo_header {
        height: 170px;
        width: auto;
    }
    
    .mobilevalikko {
	    visibility: hidden;
    }

    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 715%;
        padding: 33px 3px 10px 0;
        margin: 0 6px 10px -8px;
        float: left;
    }
    
    #ohjelmistocontainer div {
        width: 320px;
        margin: 30px;
        height: 445px;
    }
    
    h2 {
        font-size: 1.2rem;
        line-height: 1.4rem;
        margin: 20px 0 10px;
    }
    
    h2.some {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    h3.showpalikka {
        font-size: 1.4rem;
        margin-bottom: 7px;
    }

    .showpalikka p {
        font-size: .9rem;
        line-height: 1.5rem;
        padding: 0 15px;
    }
    
    
    /* ROLLOSIVU */
    .sisalto, .esittely {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    
    .henkilot, .yhteyshenkiloty {
        font-size: 1rem;
        line-height: 1.4rem;
    }
    
    .esittely {
        width: calc(75% - 110px);
        margin: 0;
        padding: 0 40px 40px 70px;
        border-right: 0;
    }
    
    .esittely h1 {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    
    .henkilot {
        padding: 0 0 0 20px;
        width: calc(25% - 61px);
        border-left: 1px solid #999;
    }
    
    .yhteyshenkilot {
        margin: 10px 0 0;
        padding: 0 0 40px;
        margin-left: 0;
    }
    
    .henkilot h2, .yhteyshenkilot h2 {
        font-size: 1rem;
        padding: 15px 0 5px;
    }
    
    .henkilot .vo {
        margin: 5px 0 5px;
    }
    
    /* LOGOT */
    .avustajalogot {
        width: 100%;
        margin: 60px 0 0;
    }
    
    .avustajalogot_pikkunaytot {
        display: none;
    }
    
    .helsinkilogo {
        width: 25%;
        height: calc(25% * .472);
        margin: 0 auto 30px;
    }
    
    .okm {
        width: 35%;
        height: auto;
        margin: 0 auto;
    }
    
    
    /* KEIKKAKALENTERI */
    .taulukkowrap {
        width: 100%;
        margin: 0 0 30px;
    }
    
    h1.keikkakalenteri {
        font-size: 33px;
    }
    
    
    /* BIISISIVUT */
    .biisiheader.umpimahka {
        margin-bottom: 40px;
    }
    
    .umpimahkalogo {
        top: 400px;
    }
    
    img.ruksi {
        top: 20px;
        left: 20px;
    }
    
    img.haloo {
        width: 60vw;
        height: auto;
        top: 20px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 45vh;
    }
    
    h1.biisisivut {
        font-size: 1.8rem;
    }
    
    h2.biisisivut {
        margin-top: 20px;
    }
    
    h2.ingressi {
        font-size: 1.3rem;
        line-height: 1.4rem;
    }
    
    h2.ingressi.kotiakohti {
        margin: 0 0 20px;
    }
    
    h3.biisisivut {
        font-size: 1.2rem;
    }
    
    .videoikkuna {
        margin-bottom: 0;
    }
    
     /* MEDIAPLAYER */
    #wrapper, #wrapper1, #wrapper2, #wrapper3 {
        float: left;
        width: 95%;
        height: 20px;
        margin-bottom: 10px;
    }
    
    audio {
        height: 20px;
        width: 100%; 
    }
    
    .thumb p {
        width: 100%;
    }
    
    .julkku img {
        width: 80%;
        margin: 0 10%;
    }
    
    .julkku img.pysty {
        width: 50%;
    }
    
    .thickborder img {
        border: 2px solid;
    }

    
    /* FOOTER*/
    .footer .text {
        font-size: .9rem;
        line-height: 1.5rem;
    }

    .footer .varipalikat {
        width: 45%;
    }
}






/* 13" LÄPTÖP */
@media screen and (max-width: 960px) and (max-height: 520px){
    .sivualue {
        width: 80%;
        margin: 0 10% 8px;
        box-shadow: 0px 0px 15px rgb(0, 0, 0, .8);
    }

    .valikko .paanavi {
        height: 35px;
        padding-top: 20px;
        font-size: 12px;
    }
    
	.rollologo_header {
		width: 105px;
		height: auto;
	}
    
    .sisalto {
        width: 70%;
        margin: 0 auto 70px;
        line-height: 20px;
    }
    
    .etusivu {
        margin-top: 20px;
    }
    
    .sisalto, .esittely, .sisalto li {
        font-size: .9rem;
        line-height: 1.5rem;
    }
    
    p {
        font-size: 14px;
        line-height: 20px;
    }
    
    p {
        margin: 0 0 15px;
    }
    
    
    /* OHJELMISTO */
    #ohjelmistocontainer {
        padding: 20px 0 0;
    }

    #ohjelmistocontainer div {
        width: 270px;
        height: 400px;
        margin: 20px;
    }
    
    .showpalikka {
        font-size: 14px;
        line-height: 22px;
    }
    
    .showpalikka p {
        padding: 0 10px;
        margin-bottom: 10px;
    }
    
    h3.showpalikka {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    
    /* TYPO */
    h1 {
        font-size: 3vw;
        margin: 0 0 30px;
    }
    
    h2.ingressi {
        text-align: left;
        margin: 0 0 20px;
        margin-top: 0px;
        font-size: .9rem;
        line-height: 1.5rem;
    }
    
    h2, h2.biisisivut {
        font-size: 1.1rem;
    }
    
    h3, h3.ingressi {
        font-size: 20px;
        line-height: 1.3rem;
    }
    
    h3.ingressi {
        margin-top: 0;
        margin-bottom: 20px;
    }
    

    /* ROLLOSIVU*/
    .esittely {
        width: calc(70% - 80px);
        margin: 20px 30px 40px 50px;
    }
    
    .esittely h1 {
        font-size: 1.7rem;
    }
    
    .henkilot, .yhteyshenkilot {
        font-size: 1rem;
    }
    
    .henkilot {
        line-height: 1.5rem;
        width: calc(30% - 41px);
        padding: 16px 0 40px 30px;
    }

    .yhteyshenkilot {
        margin: 20px 0 0;
    }
    
    .henkilot ul li, .yhteyshenkilot ul li {
        margin: 0 0 10px;
    }
    
    .caption {
        padding: 0;
        margin: 0;
    }
    
    .avustajalogot.smallscreen {
        width: 100%;
        margin: 50px 0 0;
    }
    
    
    /* BIISISIVUT */
    .ruksi {
        height: 60px;
        width: 60px;
        top: 10px;
        left: 10px;
    }
    
    .ruksi.pusu {
        left: calc(100% - 70px);
    }
    
    .biisiheader.harmaatpantterit {
        margin-bottom: 20px;
    }
    
    .biisiheader.kahdenkeikka {
        margin-bottom: 40px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 42vh;
    }
    
    .sisalto.biisi {
        width: calc(60% - 100px);
        margin: 0 30px 60px;
    }

    h1.biisisivut {
        margin: 20px 0 0;
        font-size: 20px;
    }
    
    h2.ingressi {
        text-align: center;
    }
    
    h3.biisisivut {
        margin-top: 50px;
        margin-bottom: 20px;
        font-size: .9rem;
        line-height: 1.4rem;
    }
    
    audio {
        width: 100%;
        height: 20px;
    }
    
    .thumbswrapper {
        margin-bottom: 0;
    }
    
    .thumb.thickborder img, .julkku.thickborder img {
        border: 2px solid;
    }

    .thumbswrapper p {
        font-size: .7rem;
    }
    
    
    /* KEIKKAKALENTERI */
    h1.keikkakalenteri {
        font-size: 30px;
        top: 80vh;
    }

    .taulukkowrap {
        float: left;
        width: 100%;
        margin: 0 0 20px;
        padding: 0;
    }
    
    td b.leipis {
        font-size: 13px;
    }
    
    /* FOOTER */
    .footer .varipalikat {
        width: 40%;
    }
}







/* 10,5" PIKKUPADIT PORTRAIT, iPAD AIR, HUAWEI HONOR 7, SAMSUNG GALAXY A3 */
@media screen and (max-width: 850px) {
    .sivualue {
        width: 100%;
        margin: 0;
        box-shadow: none;
    }
    
    .valikko .paanavi {
        height: 40px;
        padding-top: 12px;
        font-size: 14px;
    }
    
    .mobilevalikko {
	    visibility: hidden;
    }
    
    .header {
        margin-bottom: 20px;
    }
    
    .rollologo_header {
		width: 19%;
        top: 20px;
		height: auto;
	}
    
    .sivuwrapper {
        padding: 0 0 50px;
    }
    
    .etusivu {
        margin-top: 30px;
        width: 80%;
    }
    
    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 510%;
        line-height: 34px;
        padding: 16px 0 10px 0;
        margin-right: 7px;
        margin-left: -3px;
        float: left;
    }
    
    h1 {
        font-size: 2.2rem;
        margin: 0 0 30px;
    }
    
    p {
        font-size: 17px;
        line-height: 24px;
    }

    /*  OHJELMISTO */
    #ohjelmistocontainer div {
        width: 300px;
        height: 450px;
    }
    
    h3.showpalikka {
        font-size: 1.2em;
        line-height: 1.3em;
        text-transform: uppercase;
        margin-block-start: 0.4em;
        margin-block-end: 0.4em;
        padding: 0 15px;
        width: calc(100% - 30px);
    }
    
    .showpalikka p {
        font-size: .9em;
        line-height: 1.4em;
    }
    
    h2 {
        font-size: 1.7em;
    }
    
    strong {
        font-weight: 900;
    }
    
    /* ROLLOSIVU*/
    .ryhmakuva {
        margin-left: 9%;
        width: 91%;
        height: auto;
    }
    
    .esittely h1 {
        font-size: 1.6rem;
    }
    
    .esittely {
        width: calc(75% - 75px);
        margin: 0 20px 30px 55px;
        padding: 0;
    }
    
    .esittely h1 {
        font-size: 1.rem;
    }
    
    .henkilot {
        width: calc(25% - 21px);
        padding: 0 0 30px 20px;
        line-height: 1.3rem;
    }
    
    .henkilot .vo {
        margin-top: 10px;
    }
    
    .henkilot, .yhteyshenkilot {
        font-size: .9rem;
        line-height: 1.5rem;
    }

    .yhteyshenkilot {
        margin-top: 15px;
        padding: 0;
    }
    
    .henkilot .vo {
        margin-top: 0;
    }
    
    .henkilot ul li, .yhteyshenkilot ul li {
        margin: 0 0 7px;
    }
    
    .caption {
        padding: 0;
        margin: 0;
    }
    
    .avustajalogot {
        width: 100%;
        margin: 30px 0;
    }
    
    .avustajalogot_pikkunaytot {
        display: none;
    }
    
    .helsinkilogo {
        width: 23%;
        height: calc(25% * .472);
        margin: 20px auto 30px;
    }
    
    .okm {
        width: 35%;
        height: auto;
        margin: 0 auto;
    }
    
    img.ruksi {
        width: 60px;
        height: 60px;
        top: 15px;
        left: 15px;
    }
    
    img.biisiheader {
        margin-bottom: 20px;
    }
    
    .biisiheader.kahdenkeikka {
        margin-bottom: 50px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 260px;
        width: 85vw;
        left: 6.5vw;
    }
    
    .biisiheader.umpimahka {
        margin-bottom: 100px;
    }
    
    .umpimahkalogo {
        width: 98%;
        left: 1%;
        top: 370px;
    }
    
    .sisalto.biisi {
        width: calc(60% - 70px);
        margin: 0 30px 40px 40px;
        font-size: 17px;
        line-height: 24px;
    }
    
    .ingressi.umpimahka {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .ingressi.centered {
        text-align: left;
    }
    
    h2.ingressi {
        font-size: 1.1rem;
    }
    
    h3.ingressi {
        margin: 10px 0 0px;
    }
    
    .kotiakohti h3.ingressi {
        font-size: 1rem;
        margin: 0 0 25px;
    }

    h1.biisisivut {
        margin: 30px 0 0;
        font-size: 1.8rem;
    }
    
    h2.biisisivut {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    h3.biisisivut {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    /* MEDIA */
    .media {
        padding-bottom: 50px;
    }

     /* MEDIAPLAYER */
    #wrapper, #wrapper1, #wrapper2, #wrapper3 {
        float: left;
        width: 90%;
        height: 20px;
        margin-bottom: 10px;
    }
    
    audio {
        height: 20px;
        width: 100%; 
    }
    
    img.haloo {
        width: 60vw;
        height: auto;
        top: 20px;
    }
    
    .videoikkuna {
        margin-bottom: 0;
    }
    
    .thumbswrapper {
        margin-bottom: 0;
    }
    
    .thumbswrapper p {
        font-size: .8rem;
        line-height: 1.4rem;
        margin-bottom: 0;
    }
    
    .julkku img.vaaka {
        width: 70%;
        margin-bottom: 10px;
    }
    
    .julkku img.pysty {
        width: calc(80% * .7);
    }
    
    .kanavakuva {
        width: 100%;
        margin: 30px auto 0;
    }
    
    
    /* ARKISTOSIVU */
    .showpalikka.arkisto {
        width: 40%;
        height: auto;
        margin: 20px;
    }
    
    
    /* KEIKKAKALENTERI */
    .taulukkowrap {
        float: left;
        width: 100%;
        margin: 0 0 20px;
        padding: 0;
    }
    
    table {
        line-height: 1.1rem;
    }
    
    table td {
        padding: 8px;
    }
    
    
    /* FOOTER */
    .footer .text {
        font-size: .8rem;
        line-height: 1.5rem;
        margin: 5% 0 40px 5%;
    }

    .footer .varipalikat {
        width: 40%;
    }
}








/* LUURIT */
@media screen and (max-width: 600px) and (orientation:portrait){
    .sivualue {
        margin: 0;
        box-shadow: none;
    }
    
    .sivualue,.sisalto, .sisalto.biisi, .media, .julkku, .footer {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        float: left;
        width: 100%;
        text-align: center;
    }
    
    /*.logoheader, .logoheader .rollologo {
        visibility: visible;
        display: block;
    }

    .logoheader .rollologo {
        width: auto;
        height: 120px;
        margin: 15px calc(50% - 60px);
    }*/
	
    .rollologo_header {
        display: none;
    }
    
    
    /* NAVI */
    .mobilevalikko, .paanavi.mobile {
        visibility: visible;
        display: block;
    }
    
    .paanavi a {
        visibility: hidden;
    }
    
    .paanavi.mobile a {
        visibility: visible;
    }
    
    .valikko .paanavi {
        height: 24px;
        padding-top: 18px;
    }

    .paanavi.paasivu {
        width: 25%;
    }

    .paanavi.biisit {
        width: 20%;
    }

    .paanavi.mobile {
        width: 100%;
        float: left;
        margin-top: 0;
        padding: 0;
        text-align: left;
        font-size: 1rem;
    }
    
    .mobilevalikko {
	    visibility: visible;
        display: block;
        position: absolute;
        margin: 3px 18px 10px;
        width: 33px;
        height: 22px;
        bottom: 0;
        left: 0;
        background-image: url(../ikonit/nav-icon_black.png);
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 1600;
    }
    
    #pudotusvalikko {
        position: absolute;
        visibility: hidden;
        display: none;
        height: 0;
        width: calc(100vw - 16px);
        overflow: hidden;
        top: 28px;
        left: -18px;
        list-style: none;
        line-height: 1.4rem;
        text-align: left;
        z-index: 300;
        transition: max-height 0.6s ease-out;
    }

    #pudotusvalikko.show {
        visibility: visible;
        max-height: 400px;
    }
    
    .alanavi {
        font-size: 1rem;
        visibility: visible;
        display: block;
    }
    
    .alanavi a:hover, .alanavi a:target,.alanavi a:active {
        color: #FFFFFF;
    }

    .mobilevalikko:hover .pudotusvalikko, .mobilevalikko:active .pudotusvalikko, .mobilevalikko:target .pudotusvalikko {
        display:block;
        visibility: visible;
        color: #000000;
    }
    
    
    
    /* SISÄLLÖT */
    .header {
        margin-bottom: 10px;
    }
    
    .sivuwrapper {
        padding: 0 0 30px;
    }

	.sisalto, .etusivu {
		width: 90%;
	}
    
    .etusivu {
        margin-top: 20px;
    }
    
    p, ul, .esittely, .henkilot, .yhteyshenkilot {
        font-size: 1rem;
        line-height: 1.4rem;
        text-align: center;
    }
    
    .etusivu p {
        text-align: left;
        font-size: 16px;
        line-height: 22px;
    }
    
    
    
    /* INDEX */
    .somecontainer {
        padding: 0;
    }
    
    
    
    /* TYPO */
    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 500%;
        line-height: 40px;
        padding: 10px 0 0;
        margin-right: 7px;
        margin-left: -3px;
        float: left;
    }
    
    .showpalikka p {
        font-size: .9rem;
    }
    
    h1 {
        font-size: 7vw;
        margin: 0 0 15px;
    }
    
    h2 {
        font-size: 1rem;
        margin: 10px 0;
    }
    
    h2.some {
        font-size: 1.6rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    h3 {
        font-size: 5.5vw;
    }
    
    .sivualue {
        font-weight: 400;
    }
    
    .yhteystiedot li {
	font-size:1.3rem;
    }
    
    
    /* OHJELMISTO */
    #ohjelmistocontainer, .arkistocontainer {
        padding: 20px 0;
    }
    
    #ohjelmistocontainer div {
        float: left;
        width: 85vw;
        height: auto;
    }
    
    .biisi ul li {
        padding: 0;
        list-style: none;
    }
    
    .showpalikka {
        font-size: 16px;
        line-height: 1.3rem;
    }
    
    .showpalikka.arkisto {
        width: 80%;
        height: auto;
        margin: 15px;
    }
    
    h3.showpalikka {
        font-size: 1.25rem;
    }
    
    img.showpalikka.arkisto {
        width: 80vw;
    }
    
    .ryhmakuva {
        display: none;
    }
    
    
    
    /* BIISISIVUT */
    /* BIISIHEADER*/
    .biisiheader {
        margin: 0 0 20px;
    }
    
    .biisiheader.kopottajat {
        margin-bottom: 0;
    }
    
    .biisiheader.taidemuseo {
        margin: 0 0 40px;
    }
    
    .luurilogo {
        display: block;
        position: absolute;
    }
    
    .luurilogo.kopottajat {
        top: 55%;
        filter: drop-shadow(7px 7px #313759);
    }
    
    .luurikuva {
        display: block;
        width: 100%;
        height: auto;
    }
    
    .biisikuva, .kuoppaslider, .umpimahkalogo, .biisilogo, .biisilogo.kahdenkeikka {
        display: none;
    }
    
    .biisiheader.kahdenkeikka {
        height: auto;
        margin-bottom: 0px;
    }
    
    .ingressi.kahdenkeikka {
      font-size: 8vw;
    }
    
    .biisilogo.rexijavaxi {
        top: 55%;
    }
    
    .kuoppalogo {
        top: 80%;
    }
    
    .kotiakohti-logo {
        width: 96%;
        margin: 20px 2% 0;
    }
    
    h2.ingressi {
        text-align: center;
        font-size: 4.6vw;
        font-weight: 400;
        line-height: 1.5em;
        margin: 10px 0 20px;
    }
    
    .ingressi.kahdenkeikka {
        line-height: 1.3em;
    }
    
    h2.ingressi.kopottajat {
      margin: 10px 40px 30px;
      width: calc(100% - 80px);
    }
    
    .biisiheader.umpimahka {
        margin: 0 0 10px;
    }
    
    .umpimahkalogo {
        top: 230px;
    }
    
    img.haloo {
        width: 60vw;
        height: auto;
        top: 5px;
        left: 5px;
    }
    /* LOPPU BIISIHEADER*/
    
    
    .sisalto.biisi {
        width: calc(100% - 30px);
        margin: 0 15px 0;
        font-size: 16px;
        line-height: 23px;
    }
    
    .sisalto.putkarit {
        margin-top: 0;
    }

    .ingressi.centered {
        text-align: center;
    }
    
    h1.biisisivut {
        margin: 30px 0 0;
        font-size: 6.4vw;
    }
    
    h2.biisisivut {
        margin-top: 20px;
    }
    
    h3.biisisivut {
        font-size: 1.1rem;
        margin-top: 0;
        margin-block-start: 0;
    }
    
    h3.ingressi {
        font-size: 5vw;
        line-height: 1.4rem;
        margin-bottom: 20px;
    }
    
    h3.ingressi.kuoppa {
        text-align: center;
        margin: 10px 0 30px;
    }
    
    h3.ingressi.rexijavaxi {
        margin: 10px 0 30px;
	    font-weight:800;
        font-size: 1.1rem;
        line-height: 1.3rem;
        text-align: center;
    }
    
    ul.umpimahka {
      margin-top: 0;
    }
    
    .media h3 {
      margin: 50px 0 20px;
    }
    
    #wrapper {
      margin: 0 0 0 5%;
    }
    
    
    /* MEDIAT */
    .media {
        width: calc(100% - 30px);
        padding: 0 15px 40px;
    }
    
    .videoikkuna {
        margin-bottom: 20px;
    }
    
    /* PYSTYVIDEO */
    .videoikkuna.pysty {
        width: 50%;
        margin-left: 25%;
        padding-bottom: 89%; /* KUVASUHDE 16:9 */
    }
    
     /* MEDIAPLAYER */
    #wrapper, #wrapper1, #wrapper2, #wrapper3 {
        float: left;
        width: 80%;
        height: 20px;
        margin: 0 10% 10px;;
    }
    
    audio {
        height: 20px;
        width: 100%; 
    }
    
    .galleria {
        padding-bottom: 0;
    }
    
    .thumbswrapper {
      width: 100%;
      margin: 0;
    }
    
    div.thumb {
        margin: 0 5px 10px;
    }
    
    div.thumb p {
        margin: 0;
        width: 100%;
    }
    
    .thumbswrapper p {
        margin: 0 10px;
    }
    
    .julkku {
        float: left;
        width: 100%;
    }
    
    .julkku img {
        float: left;
    }
    
    .julkku a.pysty {
        width: calc(80% * .7);
        margin: 0 auto;
    }
    
    .julkku a.vaaka {
        width: 80%;
        margin: 0 auto;
    }
    
    .julkku img.pysty, .julkku img.vaaka {
        width: 100%;
        margin: 0;
    }
    
    .julkku img.vaaka {
        margin-bottom: 20px;
    }
    
    .media a.kanavakuva {
        position: relative;
        float: left;
        width: 100%;
        margin: 50px auto 0;
        padding: 0;
    }
    
    .media a.kanavakuva img {
        width: calc(100% - 2px);
        margin: 0;
    }
    
    .thickborder img {
        border: 3px solid;
    }
    
    /* TAIDEMUSEO */
    .opetusaineistologo {
        width: 90%;
    }
    
    .teos, .teos.vaaka {    
        min-width: calc(90% - 30px);
        margin: 15px;
    }

    .teos.pysty {
        width: 46%;
    }
    
    /* TEOSTARINAT*/
    .teostarina h1 {
        font-size: 1.2rem;
    }
    
    a.readmore-btn.taidemuseo {
        font-size: .9rem;
    }
    
    .teostarina.sammonpuolustus, .teostarina.levea, .teostarina.vas, .teostarina.vas.vaneyck, .teostarina.vas.levea, .teostarina.oik, .teostarina.oik.levea {
        width: 100%;
        margin-top: 75%;
        left: -11%; 
    }
    
    .teos.vaaka .teostarina {
        width: 100%;
        margin-top: 50%;
        left: -11%; 
    }
    
    
    /* ROLLO */
    .ryhmakuva {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
    
    .esittely h1 {
        font-size: 7vw;
        margin-top: 0;
    }

    .esittely {
        margin: 0 20px;
    }

    .esittely {
        width: calc(100% - 40px);
        padding: 0;
        border:0;
    }

    .henkilot {
        width: 100%;
        padding: 0;
        border:0;
    }
    
    .henkilot {
        margin: 0 0 30px;
    }
    
    .henkilot ul li.vasremmalta {
        display: none;
    }
    
    .henkilot h2, .yhteyshenkilot h2 {
        text-align: center;
        font-size: 5vw;
        margin: 20px 0 10px;
    }
    
    .yhteyshenkilot, .avustajalogot {
        width: 100%;
    }
    
    .caption {
        display: none;
    }
    
    .avustajalogot {
        display: none;
    }
    
    .avustajalogot_pikkunaytot {
        margin: 0 0 30px;
    }
    
    .helsinkilogo {
        width: 40%;
        height: calc(40% * .472);
        margin: 15px auto;
    }
    
    .okm {
        width: 40%;
        height: auto;
        margin: 30px auto;
    }
    
    
    /* KEIKKAKALENTERI */
    .header.keikkakalenteri {
        margin-bottom: 10px;
    }
    
    h1.keikkakalenteri {
        font-size: 7vw;
        letter-spacing: .1rem;
        top: 150px;
    }

    .taulukkowrap {
        float: left;
        width: 100%;
        margin: 20px 0 30px;
    }
    
    table {
        line-height: 1.1rem;
    }
    
    td b.leipis {
      font-size: 4.5vw;
    }
    
    table td {
        padding: 8px;
        font-size: 4vw;
    }
    
    
    /* FOOTER */
    .rollologo.footer {
        width: 27%;
        height: auto;
        margin: 40px auto 20px;
    }
    
    .footer .text {
        width: 100%;
        font-size: 15px;
        line-height: 23px;
        text-align: center;
        margin: 10px 0 30px;
    }
    
    .footer .varipalikat {
        display: none;
    }
}





/* PIKKULÄPPÄRIT */
@media screen and (max-width: 960px) and (max-height: 520px){
    .sivualue {
        width: 80%;
        margin: 0 10% 8px;
        box-shadow: 0px 0px 15px rgb(0, 0, 0, .8);
    }
    
    .valikko .paanavi {
        height: 30px;
        padding-top: 3px;
        font-size: 11px;
    }

    .paanavi.paasivu {
        width: 25%;
    }

    .paanavi.biisit {
        width: 20%;
    }
    
    .header {
        margin-bottom: 10px;
    }
    
    .rollologo_header {
        height: 100px;
        width: auto;
        top: 4%;
        left: 15px;
    }
    
    .sivuwrapper {
        padding: 0 0 50px;
    }
    
    .etusivu {
        margin-top: 40px;
        width: 70%;
    }
    
    h1 {
        font-size: 1.6rem;
        margin: 0 0 30px;
    }
    
    p, ul, .esittely, .henkilot, .yhteyshenkilot {
        font-size: .85rem;
        line-height: 1.2rem;
    }
    
    .etusivu p {
        font-size: 14px;
        line-height: 20px;
    }
    
    .etusivu div h1 + p::first-letter {
        font-family: Open Sans, sans-serif;
        font-weight: 800;
        font-size: 495%;
        line-height: 40px;
        padding: 8px 0 0;
        margin-right: 7px;
        margin-left: -3px;
        float: left;
    }
    
    #ohjelmistocontainer {
        width: 88%;
        padding: 30px 6%;
    }
    
    #ohjelmistocontainer a {
        width: 46%;
        margin: 10px auto;
    }
    
    #ohjelmistocontainer div {
        width: 100%;
        height: 345px;
        margin: 0;
    }
    
    h3.showpalikka {
        font-size: 1.2em;
        line-height: 1.3em;
    }
    
    h2.some {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    
    /* BIISISIVUT */
    /* HEADER, TYPO*/
    .biisiheader {
        margin: 0 0 20px;
    }

    h1.biisisivut {
        font-size: 1.3rem;
        margin: 10px 0 0;
    }
    
    h2.ingressi {
        margin: 0 0 20px;
        font-size: .95rem;
        line-height: 1.2rem;
    }
    
    h2.ingressi.kahdenkeikka {
        font-size: 1.1rem;
    }
    
    h2.biisisivut {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    h3.biisisivut {
        font-size: .9rem;
        line-height: 1.2rem;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    
    h3.ingressi.rexijavaxi {
        margin-top: 0;
        margin-bottom: 20px;
	    font-weight:800;
        font-size: 1.1rem;
        line-height: 1.3rem;
        text-align: center;
    }
    
    .ingressi.kahdenkeikka {
        text-align: center;
    }
    
    .biisiheader.umpimahka {
        margin-bottom: 120px;
    }
    
    .umpimahkalogo {
        top: 330px;
    }
    
    .biisilogo.kahdenkeikka {
        top: 65vh;
        width: 90%;
        left: 5%;
    }
    
    img.haloo {
        width: 60%;
        height: auto;
        top: 10px;
    }
    
    ul.umpimahka {
        line-height: 1.2em;
    }
        
    
    /* MEDIA */
    .media {
        width: calc(40% - 15px);
        margin: 0 15px 40px 0;
        padding-bottom: 0;
    }
    
     /* MEDIAPLAYER */
    #wrapper, #wrapper1, #wrapper2, #wrapper3 {
        float: left;
        width: 95%;
        height: 15px;
        margin-bottom: 10px;
    }
    
    audio {
        height: 15px;
        width: 100%; 
    }
    
    .thumbswrapper p {
        font-size: .7rem;
        line-height: 1rem;
    }
    
    div.thumb {
        margin: 0 1.5% 20px;
        width: calc(28% - 2px);
    }
    
    .thumb img {
        margin-bottom: 0;
        -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    
    .kotiakohti .thumb img {
        border: 1px solid #44737f;
        -moz-box-shadow: 2px 2px 4px rgba(68, 115, 127, .7);
        -webkit-box-shadow: 2px 2px 4px rgba(68,115,127,.7);
        box-shadow: 2px 2px 4px rgba(68,115,127,.7);
    }
    
    .julkku img {
        -moz-box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.3);
        box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.3);
    }
    
    .julkku.kotiakohti img {
        -moz-box-shadow: 7px 7px 10px rgba(68, 115, 127, .5);
        -webkit-box-shadow: 7px 7px 10px rgba(68,115,127,.5);
        box-shadow: 7px 7px 10px rgba(68,115,127,.5);
    }

    .julkku img.vaaka {
        width: 70%;
        margin: 0 auto 15px;
    }
    
    .julkku img.pysty {
        width: calc(70% * .7);
        margin: 0 auto 15px;;
    }
    
    .kanavakuva {
        width: 100%;
        margin: 20px auto 0;
        height: auto;
    }
    
    
    /* ROLOSIVU */
    p, .esittely, .henkilot, .yhteyshenkilot {
        font-size: .85rem;
    }
    
    p, .esittely {
        line-height: 1.15rem;
    }
    
    .henkilot, .yhteyshenkilot {
        line-height: .9rem;
    }
    
    .esittely {
        width: 53%;
        padding: 0 2% 40px 6%;
        margin: 0;
        border-right: 1px solid #999;
    }
    
    .esittely h1 {
        font-size: 1.3rem;
    }
    
    .henkilot {
        width: 35%;
        padding: 0 0 40px 2%;
        border: 0;
    }
    
    .yhteyshenkilot {
        margin-top: 16px;
    }
    
    .avustajalogot {
        width: 100%;
        margin: 30px 0;
    }
    
    .helsinkilogo {
        width: 70px;
        height: calc(70px * .472);
        margin: 10px auto;
    }
    
    .okm {
        width: 40%;
        height: auto;
        margin: 0 auto;
    }
    
    
    /* FOOTER */
    .rollologo.footer {
        width: 15%;
    }
    
   .footer .text {
        margin: 5% 0 40px 5%;
        font-size: .7rem;
        line-height: 1.1rem;
    }
    
    .footer .varipalikat {
        width: 40%;
    }
}




/* LUURIT VAAKA */
@media screen and (max-width: 935px) and (max-height: 430px) and (orientation: landscape){
    h2 {
        font-size: 1rem;
    }
    
    h2.biisisivut {
        font-size: .9rem;
    }
    
    .biisiheader.kahdenkeikka {
        margin-bottom: 40px;
    }
    
    /* TAIDEMUSEO */
    /* TEOSTARINAT*/
    .teostarina h1 {
        font-size: 1.4rem;
    }
    
    .teostarina p {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }
    
    a.readmore-btn.taidemuseo {
        font-size: 1rem;
    }
    
    .teostarina.sammonpuolustus, .teostarina.oik.taistelevatmetsot, .teostarina.levea, .teostarina.vas, .teostarina.vas.vaneyck, .teostarina.vas.levea, .teostarina.oik, .teostarina.oik.levea {
        width: 100%;
        margin-top: 75%;
        left: -5.8%; 
    }
    
    .teos.vaaka .teostarina {
        width: 100%;
        margin-top: 50%;
        left: -11%; 
    }
    

    /* KEIKKAKALENTERI */
    h1.keikkakalenteri {
        font-size: 1.8rem;
        letter-spacing: .1rem;
    }

    .taulukkowrap {
        float: left;
        width: 100%;
        margin: 0 0 30px;
    }
    
    table {
        line-height: 1.1rem;
    }
    
    table td {
      font-size: 1rem;
    }
}