html {
    overflow-y: scroll;
}

html, body {
    height: 100%;
    margin: 0;
    background-color: #ffffff;
}

.hidden {
    visibility: hidden;
}

#banner {
    position: absolute;
    width: 1000px;
    height: 36px;
    background-color: #ffffff;
    z-index: 2;

    /*transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms;*/
}

#banner.tiny {
/*    visibility: hidden; */
position: fixed;
}

#banner > #logo {
    position: absolute;
    /*font-family: 'PFDinTextPro-Regular';*/
    font-family: 'GillSansMT';
    font-size: 25px;
    font-weight: bold;
    top: 5px;
    left: 348px;
    cursor: pointer;
    color: rgba(0,0,0,0.6);
    text-shadow: rgba(255,255,255,.1) -1px -1px 1px,rgba(0,0,0,.3) 1px 1px 1px;
    
    /*text-shadow: 1px 1px 2px #292929;*/
    letter-spacing: -2px;
    /*-webkit-text-stroke: 0.03em white;*/
    /*text-shadow: 0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 5px rgba(0,0,0,.1),
    0 1px 2px rgba(0,0,0,.3),
    0 2px 4px rgba(0,0,0,.2),
    0 4px 6px rgba(0,0,0,.25),
    0 6px 6px rgba(0,0,0,.2),
    0 20px 20px rgba(0,0,0,.15);*/

    /*transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms;*/
}

#banner > #coords {
    position: absolute;
    font-size: 14px;
    color: #000;
    font-family: 'GillSansMT';
    top: 5px;
    right: 5px;
}

#banner.tiny > #logo {
    visibility: hidden;
}

#banner.tiny > #coords {
    visibility: hidden;
}

.grayscale {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    opacity: 0.3;
}

#menubar {
    position: absolute;
    width: 1000px;
    height: 75px;/*35px;*/

    font-size: 20px;
    color: #7a7a7a;
    font-family: 'GillSansMT';
    text-transform: uppercase;

    /*transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms;*/

    z-index: 3;
}

#menubar > div {
    float: left;

    cursor: pointer;
}

.menu-button-home {
    background-image: url('../img/button_home.png');
    background-size: 100%;
    background-repeat: no-repeat;

    margin-top: 44px;

    width: 35px;
    height: 35px;
    margin-left: 4px;
}

.menu-button-home:hover {
    background-image: url('../img/button_home_over2.png');
}

#menu_home.selected {
    background-image: url('../img/button_home_selected.png');
}

.menu-button-page {
    background-color: rgba(0,0,0,0); /*#66ccff*/
    border: 1px solid #999999;

    margin-top: 44px;

    width: 286px;
    height: 35px;

    /*opacity: 0.6;*/

    text-align: center;
    margin-left: 4px;
}

.menu-button-language {
    background-size: 100%;
    background-repeat: no-repeat;

    margin-top: 44px;

    width: 44px;
    height: 35px;
    margin-left: 4px;
}

#menu_lang_swe {
    background-image: url('../img/flag_swe.png');
}

#menu_lang_fin {
    background-image: url('../img/flag_fin.png');
}

#menu_lang_eng {
    background-image: url('../img/flag_eng.png');
}

#menu_lang.swe {
    background-image: url('../img/flag3_swe.png');
}

#menu_lang.fin {
    background-image: url('../img/flag3_fin.png');
}

#menu_lang.eng {
    background-image: url('../img/flag2_eng.png');
}

.menu-text {
    padding-top: 5px;
}

#menubar.tiny {
    top: -44px;
position: fixed;
}

#menu_01.selected, #menu_02.selected, #menu_03.selected {
    color: #ffffff;
    /*opacity: 1;*/
/*    background-color: rgba(102,204,255,1);*/
    background-color: rgba(8,80,105,1);
}

#menubar > div:hover {
    color:#000000;
    background-color: rgba(102,204,255,1);
/*    background-color: rgba(102,204,255,0.5);*/
}

#menubar:hover > #menu_01.selected {
    color:#ffffff;
/*    background-color: rgba(102,204,255,1);*/
    background-color: rgba(8,80,105,1);
}

#menubar:hover > #menu_02.selected {
    color:#ffffff;
/*    background-color: rgba(102,204,255,1);*/
    background-color: rgba(8,80,105,1);
}

#menubar:hover > #menu_03.selected {
    color:#ffffff;
/*    background-color: rgba(102,204,255,1);*/
    background-color: rgba(8,80,105,1);
}

#menubar > .menu-button-language:hover {
    background-color: transparent;
}

#flyer {
    background-image: url('../img/logo_flyer2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 1000px;
    height: 155px;
    position: absolute;
    top: 85px;

    -webkit-transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms, opacity 200ms ease-in-out;
    -moz-transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms, opacity 200ms ease-in-out;
    -ms-transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms, opacity 200ms ease-in-out;
    -o-transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms, opacity 200ms ease-in-out;
    transition: height 200ms, width 200ms, font-size 200ms, left 200ms, top 200ms, opacity 200ms ease-in-out;

    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
}

#flyer.page1 {
    background-image: url('../img/flyer_about.jpg');
}

#flyer.page2 {
    background-image: url('../img/flyer_activity.jpg');
}

#flyer.page3 {
    background-image: url('../img/flyer_contact.jpg');
}

#flyer.tiny {
    
}

#flyer.fadeOut {
    filter: alpha(opacity=0);
    opacity: 0;
}

#flyer.fadeIn {
    filter: alpha(opacity=100);
    opacity: 1;
}

#main {
    background-color: rgba(255, 255, 255, 0.7);

    width: 100%;
    position: relative;
    top: 245px;
    left: 0;
    overflow-x: hidden;

    font-size: 18px;
    color: #000000;
    font-family: 'PFDinTextPro-Regular';
}

#main > p {
    margin-left: 15px;
    margin-right: 15px;
}

#main > div {
    margin-left: 15px;
    margin-right: 15px;
}

#main_content > p {
    margin-left: 15px;
    margin-right: 15px;
}

#footer {
    position: relative;
    width: 800px;
    height: 70px;

    background-color: rgba(0, 0, 0, 0.2);

    z-index: 5;
}

#footer > div {
    width: 800px;
    height: 50px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.4);
    font-family: 'PFDinTextPro-Regular';
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    padding-top: 20px;
}

.container {
    margin: 0 auto;
    position: relative;
    width: 100px;
    /*height: 100%;*/
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* ************************************************* */
/* ************************************************* */

@media (max-width: 359px) {
    #banner {
        width: 320px;
    }
    #banner > #logo {
        top: 7px;
        left: 10px;
        -webkit-transform: scale(0.7);
        -o-transform: scale(0.7);
        -moz-transform: scale(0.7);
        transform: scale(0.7);
    }
    #banner > #coords {
        font-size: 13px;
    }
    #menubar {
        width: 320px;
        font-size: 12px;
    }
    #flyer {
        /*width: 320px;*/
        -webkit-transform: scaleX(0.32) scaleY(0.32);
        -o-transform: scaleX(0.32) scaleY(0.32);
        -moz-transform: scaleX(0.32) scaleY(0.32);
        transform: scaleX(0.32) scaleY(0.32);
    }
    #main {
        top: 140px;
    }
    #footer {
        width: 320px;
    }
    #footer > div {
        width: 320px;
    }
    .container {
        width: 320px;
        box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }
    .menu-button-page {
        width: 84px;
    }
    #menu_01 {
        margin-left: -35px;
    }
    .menu-text {
        -webkit-transform: scaleY(1.7) translateY(2px);
        -o-transform: scaleY(1.7) translateY(2px);
        -moz-transform: scaleY(1.7) translateY(2px);
        transform: scaleY(1.7) translateY(2px);
    }
    .menu-button-home {
        margin-top: 4px;
    }
    .menu-button-language {
        margin-left: 2px;
    }
    #pic-contacts-1 {
        visibility: hidden;
    }
}

@media (min-width: 360px) {
    #banner {
        width: 360px;
    }
    #banner > #logo {
        top: 8px;
        left: 28px;
        -webkit-transform: scale(0.8);
        -o-transform: scale(0.8);
        -moz-transform: scale(0.8);
        transform: scale(0.8);
    }
    #banner > #coords {
        font-size: 14px;
    }
    #menubar {
        width: 360px;
        font-size: 14px;
    }
    #flyer {
        /*width: 360px;*/
        -webkit-transform: scaleX(0.36) scaleY(0.36);
        -o-transform: scaleX(0.36) scaleY(0.36);
        -moz-transform: scaleX(0.36) scaleY(0.36);
        transform: scaleX(0.36) scaleY(0.36);
    }
    #main {
        top: 146px;
    }
    #footer {
        width: 360px;
    }
    #footer > div {
        width: 360px;
    }
    .container {
        width: 360px;
        box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }
    .menu-button-page {
        width: 97px;
    }
    #menu_01 {
        margin-left: -35px;
    }
    .menu-text {
        -webkit-transform: scaleY(1.5) translateY(2px);
        -o-transform: scaleY(1.5) translateY(2px);
        -moz-transform: scaleY(1.5) translateY(2px);
        transform: scaleY(1.5) translateY(2px);
    }
    .menu-button-home {
        margin-top: 4px;
    }
    .menu-button-language {
        margin-left: 2px;
    }
    #pic-contacts-1 {
        visibility: hidden;
    }
}

@media (min-width: 400px) {
    #banner {
        width: 400px;
    }
    #banner > #logo {
        top: 5px;
        left: 44px;
    }
    #menubar {
        width: 400px;
        font-size: 15px;
    }
    #flyer {
        /*width: 400px;*/
        -webkit-transform: scaleX(0.4) scaleY(0.4);
        -o-transform: scaleX(0.4) scaleY(0.4);
        -moz-transform: scaleX(0.4) scaleY(0.4);
        transform: scaleX(0.4) scaleY(0.4);
    }
    #main {
        top: 152px;
    }
    #footer {
        width: 400px;
    }
    #footer > div {
        width: 400px;
    }
    .container {
        width: 400px;
        box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }
    .menu-button-page {
        width: 111px;
    }
    .menu-text {
        -webkit-transform: scaleY(1.5) translateY(1px);
        -o-transform: scaleY(1.5) translateY(1px);
        -moz-transform: scaleY(1.5) translateY(1px);
        transform: scaleY(1.5) translateY(1px);
    }
    #pic-contacts-1 {
        visibility: hidden;
    }
}

@media (min-width: 600px) {
    #banner {
        width: 600px;
    }
    #banner > #logo {
        top: 5px;
        left: 158px;
        -webkit-transform: scaleX(0.9) scaleY(0.9);
        -o-transform: scaleX(0.9) scaleY(0.9);
        -moz-transform: scaleX(0.9) scaleY(0.9);
        transform: scaleX(0.9) scaleY(0.9);
   }
    #menubar {
        width: 600px;
        font-size: 20px;
    }
    #flyer {
        /*width: 600px;*/
        -webkit-transform: scaleX(0.6) scaleY(0.6);
        -o-transform: scaleX(0.6) scaleY(0.6);
        -moz-transform: scaleX(0.6) scaleY(0.6);
        transform: scaleX(0.6) scaleY(0.6);
    }
    #main {
        top: 183px;
    }
    #footer {
        width: 600px;
    }
    #footer > div {
        width: 600px;
    }
    .container {
        width: 600px;
        box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }
    .menu-button-page {
        width: 165px;
    }
    #menu_01 {
        margin-left: 0;
    }
    .menu-text {
        -webkit-transform: scaleY(1);
        -o-transform: scaleY(1);
        -moz-transform: scaleY(1);
        transform: scaleY(1);
    }
    .menu-button-home {
        margin-top: 44px;
    }
    .menu-button-language {
        margin-left: 4px;
    }
    #pic-contacts-1 {
        visibility: visible;
        -webkit-transform: scaleX(0.8) scaleY(0.8);
        -o-transform: scaleX(0.8) scaleY(0.8);
        -moz-transform: scaleX(0.8) scaleY(0.8);
        transform: scaleX(0.8) scaleY(0.8);
    }
}

@media (min-width: 800px) {
    #banner {
        width: 800px;
    }
    #banner > #logo {
        top: 5px;
        left: 256px;
        -webkit-transform: scaleX(1.2) scaleY(1.1);
        -o-transform: scaleX(1.1) scaleY(1.1);
        -moz-transform: scaleX(1.1) scaleY(1.1);
        transform: scaleX(1.1) scaleY(1.1);
    }
    #menubar {
        width: 800px;
        font-size: 20px;
    }
    #flyer {
        /*width: 800px;*/
        -webkit-transform: scaleX(0.8) scaleY(0.8);
        -o-transform: scaleX(0.8) scaleY(0.8);
        -moz-transform: scaleX(0.8) scaleY(0.8);
        transform: scaleX(0.8) scaleY(0.8);
    }
    #main {
        top: 214px;
    }
    #footer {
        width: 800px;
    }
    #footer > div {
        width: 800px;
    }
    .container {
        width: 800px;
        box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }
    .menu-button-page {
        width: 231px;
    }
    .menu-text {
        -webkit-transform: scaleY(1);
        -o-transform: scaleY(1);
        -moz-transform: scaleY(1);
        transform: scaleY(1);
    }
    #pic-contacts-1 {
        -webkit-transform: scaleX(1) scaleY(1);
        -o-transform: scaleX(1) scaleY(1);
        -moz-transform: scaleX(1) scaleY(1);
        transform: scaleX(1) scaleY(1);
    }
}

@media (min-width: 1000px) {
    #banner {
        width: 1000px;
    }
    #banner > #logo {
        top: 5px;
        left: 354px;
        -webkit-transform: scaleX(1.2) scaleY(1.2);
        -o-transform: scaleX(1.2) scaleY(1.2);
        -moz-transform: scaleX(1.2) scaleY(1.2);
        transform: scaleX(1.2) scaleY(1.2);
    }
    #menubar {
        width: 1000px;
    }
    #flyer {
        /*width: 1000px;*/
        -webkit-transform: scaleX(1) scaleY(1);
        -o-transform: scaleX(1) scaleY(1);
        -moz-transform: scaleX(1) scaleY(1);
        transform: scaleX(1) scaleY(1);
    }
    #main {
        top: 245px;
    }
    #footer {
        width: 1000px;
    }
    #footer > div {
        width: 1000px;
    }
    .container {
        width: 1000px;
        box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }
    .menu-button-page {
        width: 297px;
    }
}
