
/* Text
``````````````````````````````````````````````````````````````````````````` */

    * {  outline: none; }

    a { text-decoration: none; color: #fff; outline: none; -moz-outline-style: none; border: 0; }
    a:hover { text-decoration: underline; }

    ::-moz-selection { background: #768f7f; text-shadow: none; }
    ::selection { background: #768f7f; text-shadow: none; }

/* layout default
 ``````````````````````````````````````````````````````````````````````````` */

    html { height: 100%; font-size: 62.5%; /* 10px */ }
    body { overflow: hidden; height: 100%; background: #fff; font-size: 10px; font-size: 1rem; line-height: 1.4; color: #fff; font-family: 'Flama', Arial, Tahoma, Verdana; }

/* structure
 ``````````````````````````````````````````````````````````````````````````` */

/* sidebar
 ``````````````````````````````````````````````````````````````````````````` */

    #sidebar { position: fixed; top: 0; left: 0; z-index: 2; width: 52px; height: 100%; background: #2e2e2e; }
    #sidebar .sidebar-wrapper { position: absolute; top: 0; left: 0; width: 100%; }

        .social { list-style: none; margin: 0; padding: 0; }
        .social li { border: 1px solid #434343; border-left: 0; border-right: 0; padding: 15px 0; margin-bottom: -1px; }
        .social a { display: block; margin: 0 auto; background: url("../img/social.png") no-repeat; text-indent: -7777em; overflow: hidden; }
        .social .item-facebook a { background-position: 0 0; width: 12px; height: 22px; }
        .social .item-facebook a:hover { background-position: -72px 0; }
        .social .item-pinterest a { background-position: 0 -50px; width: 19px; height: 24px; }
        .social .item-pinterest a:hover { background-position: -72px -49px; }
        .social .item-twitter a { background-position: -1px -106px; width: 22px; height: 19px; }
        .social .item-twitter a:hover { background-position: -73px -105px; }

        .pagination { list-style: none; margin: 0; padding: 20px 0; border-bottom: 1px solid #434343; position: relative; }
        .pagination li { cursor: pointer; text-indent: -777em; border-radius: 36px; background: #5d5d5d; height: 13px; width: 13px; margin: 0 auto 10px auto; position: relative; transition: background 300ms ease-in-out; -webkit-transition: background 300ms ease-in-out; -moz-transition: background 300ms ease-in-out; }
        .pagination li.selected,
        .pagination li:hover { background: #fff; }
        .pagination li:last-child { margin-bottom: 0; }
        .pagination li:after { position: absolute; top: 0; right: 0; width: 8px; height: 16px; background: url("../img/pagination-active.png") no-repeat; display: none; content: ''; }

/* sections
 ``````````````````````````````````````````````````````````````````````````` */

    .section { position: relative; overflow: hidden; width: 100%; height: 100%; min-height: 100%; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; background-attachment: fixed;}
    .section figure { position: absolute; }

    /*.touch .section {height: auto !important; min-height: 100px; !important}*/

/* footer
 ``````````````````````````````````````````````````````````````````````````` */

    footer { line-height: 100%; position: fixed; bottom: 10px; left: 0; width: 100%; padding: 0 10px 0 71px; }
    footer p { margin: 0; font-style: italic; font-size: 1.3rem}

/* icon info
 ``````````````````````````````````````````````````````````````````````````` */

    .icon-info { width: 28px; height: 28px; border-radius: 36px; background: #2e2e2e url("../img/icon-info.png") no-repeat 50% 50%; position: fixed; top: 10px; right: 10px; z-index: 20; display: inline-block; text-indent: -7777em; overflow: hidden; }
    .icon-fullscreen { width: 28px; height: 28px; border-radius: 36px; background: #2e2e2e url("../img/icon-fullscreen.png") no-repeat 50% 50%; position: fixed; top: 50px; right: 10px; z-index: 20; display: inline-block; text-indent: -7777em; overflow: hidden; }

/* fly box
 ``````````````````````````````````````````````````````````````````````````` */

    .fly-box-container { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; }
    .fly-box { width: 55.859375%; height: 60.875%; margin: 0 auto; background: #2e2e2e; padding: 20px; overflow: hidden; min-height: 350px; min-width: 670px; }
    .fly-box-content { border: 1px solid #434343; display: table; width: 100%; height: 100%; position: relative; }
    .fly-box-close { cursor: pointer; width: 16px; height: 15px; background: url("../img/fly-box-close.png") no-repeat; display: block; position: absolute; top: 12px; right: 12px; }

    .fly-box-information { display: table-cell; vertical-align: middle; text-align: center; padding: 0 2%; }
    .fly-box-information h2 { font-size: 60px; font-size: 5rem; margin: 0; line-height: 100%; }
    .fly-box-information p { font-size: 19px; font-size: 1.9rem; color: #c6c6c6; margin: 15px 0; line-height: 24px; }
    .fly-box-information .line { display: block; width: 43px; height: 1px; margin: 0 auto; background: #c6c6c6; }

    .fly-box figure { display: none; }

/* full screen
 ``````````````````````````````````````````````````````````````````````````` */

    #page { height: 100%; width: 100%; overflow: hidden; }
    #mobile {display: none;}
    #body-fullscreen { height: 100%; width: 100%; }

    #body-fullscreen:-webkit-full-screen  { width: 100% }
    #body-fullscreen:-moz-full-screen     { width: 100% }
    #body-fullscreen:-ms-full-screen      { width: 100% }
    #body-fullscreen:-o-full-screen       { width: 100% }
    #body-fullscreen:full-screen          { width: 100%;  }
/* langs
``````````````````````````````````````````````````````````````````````````` */
	ul.langs {margin: 0;padding: 0;text-align: center;padding-top: 17px;padding-bottom: 17px;border-bottom: 1px solid #434343;}
	ul.langs li{margin: 0;padding: 0;list-style-type: none;}
	ul.langs li a{color: #5d5d5d;}
	body.pl ul.langs .langPl a{color: #ffffff}
	body.en ul.langs .langEn a{color: #ffffff}
	ul.langs li:first-child{padding-bottom: 6px}

/* facebook like widget */

#facebook {
    background: white;
    display: block;
    max-width: 407px;
    position: fixed;
    right: -236px;
    top: 91px;
    z-index: 2147483647;
    height: 500px;
    width: 234px;
    border: 1px solid #ccc;
    max-height: 80%;
}

#facebook iframe {
    background: white;
    width: 234px !important;
}

#facebook .button {
    width: 45px;
    height: 45px;
    background: url("../img/facebook.png") repeat scroll 0 0 background;
    display: block;
    position: absolute;
    left: -46px;
    top: -1px;
}

/* gorzki  */
.fly-box {position: relative;}
a.gorzki {
    bottom: 0;
    display: block;
    height: 261px;
    max-height: 55%;
    max-width: 30%;
    position: absolute;
    right: 0;
    width: 247px;
}

.pl a.gorzki {
    background: url("../img/gorzki_pl.png") no-repeat scroll right bottom / contain  rgba(0, 0, 0, 0);

}

.en a.gorzki {
    background: url("../img/gorzki_en.png") no-repeat scroll right bottom / contain  rgba(0, 0, 0, 0);
}
/* /gorzki */

@media screen and (max-width: 1024px) {
    .fly-box {
        width: 80% !important;
    }
    .fly-box-information h2 {
        font-size: 5rem;
    }
}

#mobile img {
    width: 100%;
    max-width: 100%;
    display: block;
}

#mobile nav { top: 0; left: 0; z-index: 2; width: 100%; height: 42px; background: #2e2e2e; }
#mobile li {
    width: 30px;
    height: 30px;
    display: inline-block;
    padding: 10px 20px 0 20px;
    font-size: 1.2rem;
    vertical-align: middle;
    text-align: center;
}

#mobile ul {list-style-type: none; margin: 0; padding: 0; text-align: center;}
#mobile li.item a { display: block; margin: 0 auto; background: url("../img/social.png") no-repeat; }
#mobile li.item-facebook a { background-position: 0 0; width: 12px; height: 22px; }
#mobile li.item-facebook a:hover { background-position: -72px 0; }
#mobile li.item-pinterest a { background-position: 0 -50px; width: 19px; height: 24px; }
#mobile li.item-pinterest a:hover { background-position: -72px -49px; }
#mobile li.item-twitter a { background-position: -1px -106px; width: 22px; height: 19px; }
#mobile li.item-twitter a:hover { background-position: -73px -105px; }
#mobile li.langPl {margin-left: 30px; padding-top: 15px;}
#mobile li.langEn {padding-top: 15px;}

@media
only screen and (max-width: 840px) and (orientation: portrait),
/*only screen and (max-device-height: 480px) and (orientation: landscape),*/
only screen and (max-height: 840px) and (orientation: landscape)
/*only screen and (device-pixel-ratio: 2)*/
{
    body {height: auto !important; overflow: auto}
    #page {display: none;}
    #mobile {display: block;}
    #facebook {display: none;}
}
