/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    /* font: 16px/26px 'Noto Serif', Helvetica, Helvetica Neue, Arial; */
    font: 16px/26px 'Didact Gothic', Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 1px #ccc solid;
    box-shadow: 0 0 0 #ddd;
    -webkit-transition: box-shadow .5s ease-out;
    -moz-transition: box-shadow .5s ease-out;
    -o-transition: box-shadow .5s ease-out;
    transition: box-shadow .5s ease-out;
}

.menu-shadow{
    box-shadow: 0 5px 10px #eee;
    -webkit-transition: box-shadow .5s ease-in;
    -moz-transition: box-shadow .5s ease-in;
    -o-transition: box-shadow .5s ease-in;
    transition: box-shadow .5s ease-in;
}

.footer-container,
.main aside {
}

.header-container,
.footer-container,
.main aside {
}

.title {
    /* color: white; */
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    font-family: 'Hammersmith One';
}

nav a {
    display: block;
    position: relative;
    margin-bottom: 10px;
    padding: 10px 0;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    font-size: 85%;
    font-weight: bold;

    color: black;
}

nav a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #255070;
}

nav a:hover:before {
    width: 100%;
    -webkit-transition: .25s width;
    -moz-transition: .25s width;
    -o-transition: .25s width;
    transition: .25s width;
}

nav a:hover,
nav a:visited {
    color: black;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 1.3em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}
.footer-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #255070;
}

.footer-container footer p {
    color: #ddd;
    font-size: 90%;
    margin: 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

p a {
    color: #255070;
}

/* h1, h2, h3, h4, h5, h6 { */
h1, h2 {
    font-family: 'Hammersmith One';
}


h1 > a, h2 > a, h3 > a {
    text-decoration: none;
}

h1 > a, h3 > a {
    color: #255070;
}

h3 > a {
    color: #888;
    border-left: 1px #ccc solid;
    padding-left: 10px;
    -webkit-transition: border-color .5s ease-out;
    -moz-transition: border-color .5s ease-out;
    -o-transition: border-color .5s ease-out;
    transition: border-color .5s ease-out;
}

h3 > a:hover {
    padding-left: 6px;
    border-left: 5px #255070 solid;
    -webkit-transition: border-color .5s ease-out;
    -moz-transition: border-color .5s ease-out;
    -o-transition: border-color .5s ease-out;
    transition: border-color .5s ease-out;
}

h2 {
    margin-top: 2em;
    font-size: 1.1em;
    border-bottom: 1px #eee solid;
}

h3 {
    /* margin-bottom: 0; */
    /* border-bottom: 1px #eee solid; */
    font-size: 1em;
    margin: 0.2em 0;
}

h3:hover {
    /* border-bottom: 1px #ccc solid; */
}

p, li {
    color: #555;
}

.herb-bg {
    position: fixed;
    width: 200%;
    top: -33.33%;
    right: -50%;
    opacity: 0.05;
}

.logo-herb {
    position: absolute;
    width: 80px;
    padding: 10px;
    background: #a21c1c;
}

.logo-napis {
    text-align: center;
    margin-top: 1.5em;
    padding: .5em 0;
}

    .logo-napis-upp {
        margin: 0;
        padding: 0;
        color: #255070;
        font-family: Lato, Helvetica, sans;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .logo-kancelaria {
        display: inline;
        padding: 0 0 .2em 0;
        border-bottom: 1px #ccc solid;
        font-size: 160%;
    }

    .logo-imiona {
        display: block;
        margin: 0.5em 0 0 0;
        border: none;
        font-size: 125%;
    }

    .logo-spolka {
        font-size: 80%;
    }

article {
    position: absolute;
    width: 100%;
}

.header-container {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 9999;
}

.wrapper {
}

.main-container {
    /* to powinno byc wyliczane precyzyjniej w jquery */
    margin-top: 125px;
    margin-bottom: 50px;
}

.main {
    /* position: relative; */
    overflow: hidden;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -o-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.title {
    font-family: 'EB Garamond';
    font-size: 2.5em;
}

.reveal {
    display: none;
    margin-top: 1px;
    border-top: 1px #ddd solid;
    border-bottom: 1px #ddd solid;
    background: #ededed; /* Old browsers */
    background-color: rgba(128, 128, 128, 0.1);
}

article {
    -webkit-transform: translate3d(100%,0,0);
    -moz-transform: translate3d(100%,0,0);
    -o-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
}

.kancelaria {
    z-index: 100;
}
    .notariusz-podpis {
        float: left;
        width: 50%;
        margin: 1em 0;
        font-size: 140%;
        text-align: center;
    }
    .podpis-zawod {
        font-size: 65%;
        font-family: "Hammersmith One";
        text-transform: uppercase;
        font-style: normal;
    }

.czynnosci {
    z-index: 100;
}

.dokumenty {
    z-index: 100;
}

.current {

    z-index: 1000;
}

.footer-copyright {
    float: left;
}
.footer-copyright a {
    color: #ddd;
    text-decoration: none;
}

.footer-contact {
    float: right;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 480px) {
    .logo-herb {
        width: 50px;
        padding: 5px;
    }

    .logo-napis {
        margin-top: 0.5em;
        margin-left: 40px;
    }

        .logo-kancelaria {
            padding: 0;
            font-size: 80%;
        }

        .logo-imiona {
            margin: 0;
            font-size: 90%;
            line-height: 110%;
        }

        .logo-spolka {
            font-size: 65%;
            line-height: 110%;
        }

    nav ul {
        margin-top: 0.5em;
    }

        nav a {
            margin: 0;
            padding: 0;
            line-height: 150%;
        }

    .main {
        padding: 0;
    }

    .footer-container {
        font-size: 70%;
        line-height: 100%;
    }
}

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 33%;
        margin: 1em 0 0 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .logo-herb {
        width: 60px;
        padding: 5px;
    }

    .logo-napis {
        margin-top: 0.2em;
        /* margin-left: 20%; */
    }
        .logo-kancelaria {
            padding: 0;
            font-size: 110%;
        }

        .logo-imiona {
            margin: 0;
            font-size: 115%;
        }

        .logo-spolka {
            font-size: 70%;
            line-height: 100%;
        }

    nav a {
        margin: 2em 0 0 0;
        padding: .5em 0;
        line-height: 120%;
    }

    .main {
        padding: 0;
    }

    .footer-container {
        font-size: 70%;
        line-height: 100%;
    }
}

@media only screen and (min-width: 768px) {

    .logo-herb {
        width: 80px;
        padding: 10px;
    }

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        text-align: center;
    }

    nav {
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        /* background: white; */
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 800px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
