/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.12,
* Autoprefixer: v10.4.4
* Browsers: last 4 version
*/

        @font-face {
            font-family: 'AppleGothic';
            src: url('../fonts/applegothic.ttf') format('ttf'),
                url('../fonts/applegothic.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }
        * {
            overflow: hidden;
            -ms-scroll-chaining: none;
                overscroll-behavior: contain;
        }
        .cont {
            width: 100%;
            background-color: #F0F0F0;
        }
        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100vh;
            overflow-x: hidden;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background-color: #F0F0F0;
            background-repeat: repeat-y;
        }
        * {
            -webkit-box-sizing: inherit;
                    box-sizing: inherit;
        }
        #upper {
            height: calc(100vh / 1.618);
            height: -webkit-calc(100vh / 1.618);
            width: 95%;
            background-image: url(assets/grafika.svg);
            background-repeat: no-repeat;
            background-position: bottom 30px left 50px ;
            background-size: 200%;
            overflow: hidden;
            float: right;
            display: inline-block;
            background-color: #F0F0F0;
        }
        #lower {
            height: calc(100 vh - ( 100vh / 1.618 ) );
            height: -webkit-calc(100 vh - ( 100vh / 1.618 ) );
            background-color: none;
            display: inline-block;
            width: 100%;
            background-color: #F0F0F0;
        }
        #textcont {
            height: calc(100vh - ( 100vh / 1.618 ) - 95px);
            height: -webkit-calc(100vh - ( 100vh / 1.618 ) - 95px);
            display: block;
            padding-top: 15px;
            background-color: none;
        }
        #konfrontacje {
            font-family: Georgia;
            font-style: italic;
            padding-left: 5px;
            margin-left: 25px;
            font-size: 19pt;
            color: #231F20;
            margin-bottom: 20px;
            width: 100%;
            margin-top: -20px;
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            
        }
        #caption {
            font-family: Georgia;
            font-style: italic;
            margin-left: 33px;
            padding-left: 5px;
            font-size: 13pt;
            color: #231F20;
            position: relative;
            margin-bottom: 20px;
            opacity: 48%;
            overflow: visible;
        }
        #bar {
            height: 80px;
            background-color: rgba(0, 0, 0, 0);
            width: calc(100% - 60px);
            width: -webkit-calc(100% - 60px);
            margin-left: auto;
            margin-right: auto;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                    justify-content: space-between;
        }
        #arrows {
            background-image: url(assets/arrows.svg);
            background-repeat: no-repeat;
            background-position: center;
            height: 30px;
            width: 60px;
        }
        #langpick {
            height: 70px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            margin-right: -20px;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
        }
        .lang {
            font-family: Georgia;
            font-style: italic;
            width: 40px;
            font-size: 14pt;
            color: #808080;
        }
        a {
            text-decoration: none;
        }
        #scroll {
            background-color: white;
            color: #808080;
            width: 100%;
            font-family: AppleGothic;
            padding: 30px;
            line-height: 300%;
        }
        .scroll {
            background-color: none;
            color: #808080;
            width: 100%;
            font-family: AppleGothic;
            padding: 5px;
            text-decoration: none;
            -webkit-transition: 0.5s;
            -o-transition: 0.5s;
            transition: 0.5s;
        }
        .scroll:hover {
            background-color: none;
            color: #808080;
            width: 100%;
            font-family: AppleGothic;
            padding: 15px;
            text-decoration: none;
            -webkit-transition: 0.5s;
            -o-transition: 0.5s;
            transition: 0.5s;
            opacity: 80%;
        }
        #barkonfrontacje {
            font-family: Georgia;
            font-style: italic;
            font-size: 19pt;
            color: #231F20;
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
        }
        #topbar {
            padding: 35px;
            width: 100%;
            /*background-color: azure;*/
        }
        #subheader {
            background-color: none;
            color: #808080;
            width: 100%;
            font-family: AppleGothic;
            padding: 5px;
            text-decoration: none;
            margin-top: 20px;
            font-size: 20px;
            margin-bottom: 20px;
        }
        #current {
            margin: auto;
            background-color: white;
            width: calc(100% - 2 * 100px);
            height: 100%;
            padding: 40px;
            overflow: hidden;
        }
        #issueimg {
            width: 100%;
            margin: 0;
            padding: 0;
        }
        #body {
            height: 100%;
            width: 100%;
            overflow: hidden;
            position: absolute;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
        }
        #date {
            text-align: center;
            margin: 30px;
            font-family: Avenir;
            text-decoration: none;
            font-size: 20px;
            margin-bottom: 0;
            color: #808080;
        }
        .limiting {
            max-width: 318px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
            padding: 0;
            margin: auto
        }
        .current {
            width: 100%
        }
        #details {
            display: none
        }
        #DDcont {
            width: 100%;
            height: 100%;
        }
        #lgrad {
            position: fixed;
            bottom: 0;
            height: 80px;
            width: 100%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap-reverse;
                flex-wrap: wrap-reverse;
        }
        #scbar {
            height: 40px;
            width: 100%;
            background-color: #F0F0F0;
        }
        #grbar {
            height: 40px;
            width: 100%;
            background: rgb(240,240,240);
            background: -webkit-gradient(linear, left bottom, left top, from(rgba(240,240,240,1)), to(rgba(240,240,240,0)));
            background: -o-linear-gradient(bottom, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
            background: linear-gradient(0deg, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
        }
        #previous {
            margin: auto;
            background-color: rgba(0, 0, 0, 0);
            height: 100%;
            margin-bottom: 40px;
            width: calc(100% - 2 * 60px);
            overflow: auto;
            -ms-scroll-snap-type: y mandatory;
                scroll-snap-type: y mandatory;
            scroll-snap-align: center;
            padding-top: 40px;
        }
        .pissueimg {
            margin: 0;
            padding: 0;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
        }
        .pimg {
            max-height: 325px;
        }
        .issnum {
            width: calc(100% - 2 * 10px);
            text-align: center;
            margin: 10px;
            padding-top: 10px;
            padding-bottom: 10px;
            font-family: Avenir;
            text-decoration: none;
            font-size: 20px;
            color: #808080;
        }

        .pissue {
            background-color: white;
            padding: 40px;
            padding-bottom: 0px;
            height: auto;
            margin-bottom: 40px;
            scroll-snap-align: center;
        }
        #lgradl {
            position: absolute;
            height: 40px;
            width: calc(100% - 2*40px);
            z-index: 2;
            margin-top: -40px;
        }
        #scbarl {
            display: none
        }
        #grbarl {
            width: 100%;
            height: 40px;
            background: rgb(240,240,240);
            background: -webkit-gradient(linear, left top, left bottom, from(rgba(240,240,240,1)), to(rgba(240,240,240,0)));
            background: -o-linear-gradient(top, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
            background: linear-gradient(180deg, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
        }
        #topbar {
            z-index: 2;
            padding-bottom: 40px;

        }
        .ldistprev {
            margin-top: 40px;
            scroll-margin-top: 40px;
        }
        #lgradlower {
            position: absolute;
            height: 40px;
            width: calc(100% - 2*40px);
            z-index: 2;
            bottom: 40px;
        }
        #scbarlower {
            display: none
        }
        #grbarlower {
            width: 100%;
            height: 40px;
            background: rgb(240,240,240);
            background: -webkit-gradient(linear, left bottom, left top, from(rgba(240,240,240,1)), to(rgba(240,240,240,0)));
            background: -o-linear-gradient(bottom, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
            background: linear-gradient(0deg, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
        }
        #previous {
            height: 100%;
            width: calc(100vw - 2 * 50px);
            box-sizing: border-box;
            margin: 50px;
            margin-top: 0px;
            padding-top: 40px;
            overflow-x: hidden;
            white-space: wrap;
            scroll-snap-type: y mandatory;
        }
        .previous-issue {
            background-color: white;
            height: auto;
            width: calc(100vw - 2 * 50px);
            display: inline-block;
            padding: 40px;
            text-align: center;
            scroll-snap-align: center;
            margin-bottom: 40px;
            
        }
        .previous-issue > img {
            box-sizing: border-box;
            width: 100%;
            max-width: 210px;
            margin-bottom: 30px;
        }
        .previous-issue > div {
            width: auto;
            height: auto;
            box-sizing: border-box;
            text-align: center;
            font-family: Avenir;
            color: #808080;
            font-size: 16pt;
        }
        #previous-leftorupper-gradient {
            width: calc(100% - 2 * 50px);
            margin-top: -40.5px;
            position: absolute;
            height: 40px;
            background: rgb(240,240,240);
            background: linear-gradient(180deg, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
        }
        #previous-rightorlower-gradient {
            width: 100%;
            bottom: 50px;
            height: 40px;
            position: fixed;
            z-index: 2;
            background: rgb(240,240,240);
            background: linear-gradient(0deg, rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);
        }