/*****************************************************************
css-iisiWeb-layout.css copyright 2013-15 © Erkki O. Mäkelä Husky Picnic 2023
-sivuston layout-määrittelyt.
******************************************************************/

@charset "UTF-8";

body#iisi {
    background-color: #EEEEFF; 
    margin: 0;
    padding: 0;
    font-size: 12pt;
}

div#kontaineri {
    width: 100%;
    max-width: 900px;
    background-color: white;
    margin: 0 auto;
    padding: 0;
    border: 1px solid #000080;
    overflow: hidden;
}

main {
    padding: 0;
    margin: 0;
}

nav#vaaka {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.2em;
    color: #000080;
    letter-spacing: 2px;
    padding: 0;
    margin-bottom: 0;
    text-align: center;
    //border: 5px red solid;
}

ul#paavalikko {
    text-align: center;
    list-style-type: none;
    margin: 0;
    //padding: 6px;
}

li.paavalikko {
    display: inline-block;
    margin-right: 17px;
}

span.vaakavalikko {
    color: #EEEEFF;
    -moz-text-fill-color: #EEEEFF;
    -webkit-text-fill-color: #EEEEFF;
    -moz-text-stroke-color: #000080;
    -webkit-text-stroke-color: #000080;
    -moz-text-stroke-width: 1px;  
    -webkit-text-stroke-width: 1px;
}

.vaakavalikko {

}

a:link.paavalikko, a:visited.paavalikko {
    color: #000080;
    text-decoration: none;
    -moz-text-fill-color: #000080;
    -webkit-text-fill-color: #000080;
    -moz-text-stroke-color: #000080;
    -webkit-text-stroke-color: #000080;
    -moz-text-stroke-width: 1px;  
    -webkit-text-stroke-width: 1px;
}

a:hover.paavalikko {
    color: red;
    text-decoration: none;
    -moz-text-fill-color: red;
    -webkit-text-fill-color: red;
    -moz-text-stroke-color: #000080;
    -webkit-text-stroke-color: #000080;
    -moz-text-stroke-width: 1px;  
    -webkit-text-stroke-width: 1px;
}


footer {
    padding: 6px;
    font-family: Verdana, sans-serif;
    font-size: 1em;
    color: #000080;
    text-align: center;
}




div#nappulat {
    padding: 7px;
}
div {
    //border: red 1px solid;
}

h1.otsikko {
    text-align: center;
    margin: 0 0 10px 0;
    padding: 10px;
    color: #FFFFFF;
    background: #000080;
    font-family: Verdana, sans-serif;
    font-size: 2em;
    font-style: italic;
    font-weight: bold;
}

h2.alaotsikko {
    background-color: #000080;
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    color: #FFF;
    font-family: Verdana, sans-serif;
    font-size: 1.6em;
    font-style: italic;
    font-weight: bold;
}


.gegwen {
    font-family: 'Permanent Marker', cursive;
    font-size: 100%;
}


div.etusivu, div.perusteksti, p.kuvateksti {
    font-family: Verdana, sans-serif;
    font-size: 1.2em;
    font-style: normal;
    font-weight: normal;
    color: #333;
    background: inherit;
    text-align: left;
    padding: 0;
}

div.etusivu, div.perusteksti {
    margin: 0 6px;
}

p.kuvateksti {
    margin-top: 24px;
    margin-bottom: 0;
    padding: 0;
    font-family: "Arial Rounded MT", Arial, sans-serif;
    text-align: center;
    font-size: 1.5em;
    //border: 1px red solid;
    
}

.gegwenisompi {
    font-size: 1.4em;
    border-bottom: 2px solid #000080;
    padding-bottom: 0;
    margin-bottom: 5px;
    //text-shadow: 2px 2px red;
}


a.pdf, a.linkki {
    font-size: 1.5;
    font-weight: bold;
    text-decoration: underline;
}

a {
    color: #000080;
}

br {
  content: "";
  margin: 2em;
  display: block;
  font-size: 24%;
}

br.normal {
  content: initial;
  margin: initial;
  display: initial;
  font-size: initial;
}

img.peruskuva {
    margin: 4px 0;
    width: 100%;
    border-top: 1px solid #000080;
    border-bottom: 1px solid #000080;
    //border-radius: 3px;
}




img.lippuset {
    border: 1px #000080 solid;
    height: 22px;
    width: 35px;
    line-height: 22px;
}

a.korostettu { font-family: 'Permanent Marker', cursive; font-weight: bold; font-size: 1.4em;  color: #000080; display: block; margin: 6px 0 0 5px;}
a:visited { color: #000080; }
a:hover { color: red; }



.clearfloat {
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

div.loki {
    text-align: left;
}

table.grid {
    margin: 5px auto 0 auto;
    padding: 0;
}

td.grid {
    padding: 3px;
    margin: 0;
}



* {
  box-sizing: border-box;
}

span.nayta {
    display: none;
}

span.pieni {
    font-size: 0.75em;
    color: #EEEEFF;
}

.opasteteksti {
    width: 100%;
    text-align: center;
}

#yhteystiedot {
    display: flex;
    //border: 3px yellow solid;
}

#yhteystieto1 {
    padding-top: 10px;
    flex: 40%;
}

#yhteystieto2 {
    flex: 60%;
}

#musher-esittely {
    margin-top: 12px;
    clear: both;
    display: flex;
}

.musher {
    flex: 50%;
}

.piknikaika {
    color: #000080;
}

div#piknikkuvaus-asia, div#piknikkuvaus-bg {
  width: 100%;
  height: 350px;
  position: absolute;
  top: 0;
  left: 0;
}

div#piknikkuvaus-bg {
    background:url(piknik-bg/piknikbg1.jpg);
    background-position: center;
}

div#piknikkuvaus-asia {
    width: 100%;
    z-index: 10;
    display: flex;
}

div#piknik-vasen {
    flex: 30%;
}



div#piknik-oikea {
    flex: 70%;
    padding-left: 0 6px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 2.6em;
    text-align: center;
    color: white;
    -moz-text-fill-color: #FFF;
    -webkit-text-fill-color: #FFF;
    -moz-text-stroke-color: #000080;
    -webkit-text-stroke-color: #000080;
    -moz-text-stroke-width: 1px;  
    -webkit-text-stroke-width: 1px;
}


iframe#bg1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.esimerkki {
    width: 436px;
}

@media only screen and (max-width: 900px) {
    div.esimerkki {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    
    div#kontaineri {
        border-left: none;
        border-right: none;
    }

    div#piknik-vasen {
        display: none;
    }

    div#piknik-oikea {
        flex: 100%;
        font-size: 2em;
    }

    span.piilota {
        display: none;
    }

    span.nayta {
        display: inline;
    }

    
    #yhteystiedot {
        flex-direction: column;
        width: 100%;
    }

    #yhteystieto1 {
        flex: 40%;
    }

    #yhteystieto2 {
        margin-top: 12px;
        flex: 60%;
    }

    #musher-esittely {
        flex-direction: column-reverse;
    }
}

