body#potwierdzenie {
    background-image: url("../img/bg6.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

img {
    max-width: 100%;
    height: auto;
    width: auto;
}

.nav-collapse ul {
    padding: 0;
    width: 100%;
    display: block;
    list-style: none;
    margin: 0 auto;
    text-align: center;
}

.nav-collapse a {
    font-size: 18px;
    padding: 16px 0.8em;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    background: none;
    color: #58585a;
    width: 100%;
    float: left;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.nav-collapse li {
    width: 100%;
    display: block;
}

.js .nav-collapse {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
    zoom: 1;
}

.nav-collapse.opened {
    max-height: 9999px;
}

.disable-pointer-events {
    pointer-events: none !important;
}

.nav-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}


/* ------------------------------------------
  DEMO STYLES
--------------------------------------------- */

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    color: #000000;
    background-image: url("../img/bg6.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    font-family: Georgia, "Times new roman", Times;
}

header {
    background: #fff;
    position: fixed;
    z-index: 3;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
}


/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
    -webkit-transition: opacity 300ms;
    -moz-transition: opacity 300ms;
    transition: opacity 300ms;
    background: rgba(0, 0, 0, .5);
    visibility: hidden;
    position: fixed;
    opacity: 0;
    z-index: 2;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}

.android .mask {
    -webkit-transition: none;
    transition: none;
}

.js-nav-active .mask {
    visibility: visible;
    opacity: 1;
}


/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}

.nav-collapse,
.nav-collapse * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
    list-style: none;
    width: 100%;
    float: left;
}


/* ------------------------------------------
MINIATURA
--------------------------------------------- */

@font-face {
    font-family: "responsivenav";
    src: url("../icons/responsivenav.eot");
    src: url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"), url("../icons/responsivenav.ttf") format("truetype"), url("../icons/responsivenav.woff") format("woff"), url("../icons/responsivenav.svg#responsivenav") format("svg");
    font-weight: normal;
    font-style: normal;
}

.nav-toggle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    text-indent: -300px;
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 55px;
    float: right;
}

.nav-toggle:before {
    color: #9b825e;
    /* Edit this to change the icon color */
    font: normal 28px/55px "responsivenav";
    /* Edit font-size (28px) to change the icon size */
    text-transform: none;
    text-align: center;
    position: absolute;
    content: "\2261";
    /* Hamburger icon */
    text-indent: 0;
    speak: none;
    width: 100%;
    left: 0;
    top: 0;
}

.nav-toggle.active:before {
    font-size: 24px;
    content: "\78";
    /* Close icon */
}


/* -----------------------------------------
MINIATURA KONIEC
--------------------------------------------- */

.flag {
    top: 10px;
    left: 20px;
    z-index: 9999;
    position: fixed;
}


/* -----------------------------------------
SEKCJA HOME 
--------------------------------------------- */

section#home {
    text-align: center;
    padding: 70px 0 0;
    height: 620px;
    width: 100%;
    background: none;
    margin: 0;
    display: table;
}

#home-srodek {
    height: 90%;
    width: 90%;
    background: none;
    border: 2px solid #58585a;
    margin: auto;
    text-align: center;
    padding-bottom: 20px;
    display: table;
}

.logo {
    margin: auto;
}

.pasek {
    font-size: 22px;
    letter-spacing: 1px;
    width: 100%;
    background: none;
    color: #58585a;
    margin: 20px auto 10px auto;
    text-align: center;
    font-style: italic;
    font-weight: lighter;
}

.pasek p {
    font-size: 18px;
    color: #7e7e81;
}

.cudzy-gora {
    margin-left: 10px;
}

.cudzy-dol {
    margin-right: 10px;
}


/* -----------------------------------------
SEKCJA HOME KONIEC
--------------------------------------------- */


/* -----------------------------------------
SEKCJA KANCELARIA 
--------------------------------------------- */

section#kancelaria {
    padding: 40px 0 0 0;
    height: 600px;
    width: 100%;
    background: #fff;
    display: table;
    margin-top: -11px;
    border-bottom: 5px solid #9b825e;
}

section#kancelaria h1 {
    margin-left: 10%;
    font-size: 30px;
    font-weight: lighter;
    position: relative;
    margin-bottom: 30px;
    color: #58585a;
}

section#kancelaria h1:after {
    display: table;
    clear: both;
    margin: 0 auto;
    position: absolute;
    content: '';
    bottom: -23px;
    width: 100px;
    height: 3px;
    background-color: #58585a;
}

#kancelaria-opis {
    min-height: 220px;
    width: 100%;
    margin-top: 50px;
    background-image: url("../img/bg3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    text-align: justify;
    display: table;
    padding-top: 30px;
    background-size: cover;
}

#kancelaria-opis h2 {
    font-family: 'Lora', serif;
    color: #58585a;
    font-size: 15px;
    width: 74%;
    border-left: 5px solid #9b825e;
    padding-left: 25px;
    margin-left: 13%;
    margin-bottom: 30px;
    margin-top: 30px;
    text-align: justify;
    line-height: 23px;
    font-style: italic;
    font-weight: lighter;
}

#specjalizacje {
    height: 400px;
    width: 100%;
    background: #fff;
    display: table;
    text-align: center;
}

.logo-male {
    margin: 20px auto 0 auto;
}

hr.cienka {
    height: 5px;
    width: 50px;
    background: #9b825e;
    border: none;
    margin-top: 20px;
}

hr.bcienka {
    height: 1px;
    width: 50px;
    background: #9b825e;
    border: none;
    margin-top: 20px;
}

#specjalizacje h4 {
    font-size: 25px;
    color: #000;
    margin: 10px auto 10px auto;
    text-align: center;
    font-style: italic;
    font-weight: lighter;
}

.specjalizacja {
    height: 300px;
    width: 21%;
    margin: 20px 2%;
    float: left;
    background: #ffffff;
    display: table;
}

.specjalizacja h5 {
    font-size: 20px;
    color: #000;
    margin: 10px auto 10px auto;
    text-align: center;
    font-weight: lighter;
}

.specjalizacja h6 {
    font-size: 16px;
    color: #7d7d7d;
    margin: 10px auto 10px auto;
    text-align: justify;
    font-weight: lighter;
    padding: 10px 0;
    width: 100%;
    display: table;
    font-family: 'Lora', serif;
}

.ikona {
    margin: 10px auto;
}


/* -----------------------------------------
SEKCJA KANCELARIA KONIEC
--------------------------------------------- */


/* -----------------------------------------
SEKCJA O MNIE 
--------------------------------------------- */

section#about {
    padding: 40px 0 0 0;
    min-height: 540px;
    width: 100%;
    border-bottom: 1px solid #000;
    border-top: solid 5px #9b825e;
    display: table;
    margin-top: -10px;
    background: #ffffff;
    background-image: url("../img/suit.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 20px;
}

section#about h1 {
    margin-left: 10%;
    font-size: 30px;
    font-weight: lighter;
    position: relative;
    margin-bottom: 30px;
    color: #58585a;
}

section#about h1:after {
    display: table;
    clear: both;
    margin: 0 auto;
    position: absolute;
    content: '';
    bottom: -23px;
    width: 100px;
    height: 3px;
    background-color: #58585a;
}

#o_mnie_contener {
    min-height: 400px;
    width: 90%;
    text-align: center;
    margin: 20px auto 0 auto;
    display: table;
    background: #2b3f4d;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 5px solid #9b825e;
}

#o_mnie {
    min-height: 400px;
    width: 100%;
    text-align: center;
    margin: 20px auto 0 auto;
    display: table;
    background: #2b3f4d;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.photo {
    width: 50%;
    float: left;
}

.fotka {
    height: auto;
    margin:30px;
    max-width: 400px;
}

.opis_o_mnie {
    min-height: 400px;
    width: 50%;
    float: left;
}

.opis_o_mnie h2 {
    font-family: 'Lora', serif;
    color: #ffffff;
    font-size: 16px;
    width: 90%;
    padding-left: 25px;
    margin-left: 0;
    margin-bottom: 30px;
    margin-top: 30px;
    text-align: justify;
    line-height: 24px;
    font-weight: lighter;
}

.opis_o_mnie h4 {
    font-family: 'Lora', serif;
    color: #dadada;
    font-size: 22px;
    width: 100%;
    padding-left: 25px;
    margin-left: 0;
    text-align: left;
}

.pasek1 {
    height: 70px;
    font-size: 22px;
    letter-spacing: 1px;
    width: 100%;
    background: #2b3f4d;
    color: #fff;
    margin: 0 auto 0 auto;
    text-align: center;
    font-style: italic;
    font-weight: lighter;
    clear: both;
}


/* -----------------------------------------
SEKCJA O MNIE KONIEC
--------------------------------------------- */


/* -----------------------------------------
SEKCJA ZESPOL
--------------------------------------------- */

section#zespol {
    padding: 40px 0 0 0;
    height: auto;
    width: 100%;
    display: table;
    margin-top: -10px;
    background: #eaeaea;
    background: -moz-linear-gradient(top, #eaeaea 0%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #eaeaea 0%, #ffffff 100%);
    background: linear-gradient(to bottom, #eaeaea 0%, #ffffff 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#ffffff', GradientType=0);
}

#zespol-napis {
    height: 90px;
    width: 100%;
    padding-top: 30px;
    display: table;
}

#zespol-napis h1 {
    margin-left: 10%;
    font-size: 30px;
    font-weight: lighter;
    position: relative;
    margin-bottom: 50px;
    color: #58585a;
}

#zespol-napis h1:after {
    display: table;
    clear: both;
    margin: 0 auto;
    position: absolute;
    content: '';
    bottom: -23px;
    width: 100px;
    height: 3px;
    background-color: #58585a;
}

.team {
    width: 80%;
    height: 400px;
    text-align: center;
    margin-top: 40px;
    margin: 40px auto 0 auto;
    display: table;
}

.team_person {
    width: 46%;
    margin: 10px 2%;
    float: left;
}

.team_person a {
    text-decoration: none;
    color: #9b825e;
}

.team_person h2 {
    font-family: 'Lora', serif;
    font-weight: lighter;
    padding: 10px 2%;
    display: table;
    font-size: 16px;
    color: #7d7d7d;
    margin: 10px auto 10px auto;
    text-align: justify;
}

.team_person h4 {
    color: #58585a;
    padding: 0 10%;
    display: table;
    font-size: 25px;
    margin: 10px auto 10px auto;
    text-align: center;
    font-style: italic;
    font-weight: lighter;
}


/* -----------------------------------------
SEKCJA ZESPOL KONIEC
--------------------------------------------- */


/* -----------------------------------------
SEKCJA KONTAKT 
--------------------------------------------- */

section#kontakt {
    text-align: center;
    padding: 0 0;
    height: 600px;
    width: 100%;
    background-image: url("../img/kontakt.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    display: table;
    padding-bottom: 50px;
}

#pasek2 {
    width: 100%;
    background: #fff;
    text-align: left;
    height: 60px;
    padding-top: 60px;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 40px;
    border-bottom: 5px solid #9b825e;
}

#pasek2 h1 {
    margin-left: 10%;
    font-size: 30px;
    font-weight: lighter;
    position: relative;
    margin-bottom: 30px;
    color: #000000;
    margin-top: 0;
}

#pasek2 h1:after {
    display: table;
    clear: both;
    margin: 0 auto;
    position: absolute;
    content: '';
    bottom: -23px;
    width: 100px;
    height: 3px;
    background-color: #000000;
}

#kontakt-all {
    height: 400px;
    width: 100%;
    display: table;
}

.kontakt-left {
    height: auto;
    width: 40%;
    float: left;
    color: #58585a;
    font-size: 20px;
    border-right: 5px solid #2b3f4d;
    padding-right: 25px;
    margin-bottom: 30px;
    text-align: right;
    font-weight: lighter;
    background: none;
    display: table;
    min-height: 360px;
}

.kontakt-left p {
    font-family: 'Lora', serif;
    font-weight: lighter;
    color: #58585a;
    font-size: 16px;
    font-weight: lighter;
}

.kontakt-left a {
    padding: 10px 30px;
    background: #9b825e;
    color: #fff;
    font-weight: lighter;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-weight: lighter;
    font-size: 16px;
}

.kontakt-right {
    height: auto;
    width: 50%;
    float: left;
    margin-left: 5%;
}

.formularz {
    width: 100%;
    height: auto;
    margin: 0 auto;
    float: left;
}

.kontakt-pol {
    width: 90%;
    height: auto;
    background: none;
    float: left;
}

.kontakt-all {
    width: 100%;
    height: 20px;
}

.formularz textarea {
    padding: 20px;
    width: 100%;
    margin-top: 5px;
    height: 175px;
    background: #2b3f4d;
    color: #fff;
    font-family: 'Lora', serif;
    border-bottom: 5px solid #9b825e;
    border-top: none;
    border-left: none;
    border-right: none;
}

.formularz input#dane {
    padding: 20px;
    width: 100%;
    margin-bottom: 5px;
    background: #2b3f4d;
    color: #fff;
    font-family: 'Lora', serif;
    border-bottom: 5px solid #9b825e;
    border-top: none;
    border-left: none;
    border-right: none;
}

.formularz input#check {
    height: 20px;
    width: 20px;
    background: #2b3f4d;
    vertical-align: middle;
    margin-right: 20px;
    text-align: left;
    font-family: 'Lora', serif;
    border-bottom: 5px solid #9b825e;
    border-top: none;
    border-left: none;
    border-right: none;
}

.formularz input#submit {
    width: 200px;
    cursor: pointer;
    height: 50px;
    background: #2b3f4d;
    color: #fff;
    border: none;
    font-family: 'Lora', serif;
    border-bottom: 5px solid #9b825e;
    border-top: none;
    border-left: none;
    border-right: none;
}

.formularz input#checkbox {
    float: left;
    border: 5px solid #9b825e;
}

label {
    font-size: 17px;
    border: 2px solid #9b825e;
}

.wyslij {
    margin-top: 10px;
    height: auto;
    width: 200px;
    text-align: left;
}


/* -----------------------------------------
SEKCJA KONTAKT KONIEC
--------------------------------------------- */

footer {
    height: 150px;
    width: 100%;
    padding-top: 30px;
    background: #2b3f4d;
    color: #000;
    border-bottom: 10px solid #9b825e;
    text-align: center;
    color: #fff;
    font-weight: lighter;
    font-size: 14px;
    color: #ffffff;
    display: table;
    padding-bottom: 20px;
}

footer p {
    width: 80%;
    margin: 10px auto;
    font-weight: lighter;
}

footer a {
    color: #dadada;
    text-decoration: none;
}


/* -----------------------------------------
MOBILKI
--------------------------------------------- */

@media screen and (max-width: 1211px) {
    .nav-collapse a {
        font-size: 17px;
        padding: 16px 1px;
    }
}

@media screen and (max-width: 1176px) {
    #kancelaria-opis h2 {
        width: 70%;
        margin-left: 15%;
    }
    .pasek1 {
        font-size: 18px;
    }
}

@media screen and (max-width: 1050px) {
    .specjalizacja {
        height: auto;
        width: 40%;
        margin: 20px 5%;
        float: left;
    }
}

@media screen and (max-width: 850px) {
    #kancelaria-opis h2 {
        width: 90%;
        margin-left: 5%;
    }
    .photo {
        width: 100%;
    }
    .opis_o_mnie {
        width: 100%;
    }
    .opis_o_mnie h4 {
        text-align: center;
        padding-left: 0;
    }
    .opis_o_mnie h2 {
        text-align: justify;
    }
    .team_person {
        width: 100%;
    }
    .kontakt-left {
        width: 95%;
        text-align: center;
        padding: 0;
        border: none;
        margin-left: 5%;
    }
    .kontakt-right {
        height: auto;
        width: 95%;
        float: left;
    }
    .wyslij {
        width: 20%;
        margin: 15px auto;
    }
}

@media screen and (min-width: 768px) {
    .js .nav-collapse {
        position: relative;
    }
    .js .nav-collapse.closed {
        max-height: none;
    }
    .nav-toggle {
        display: none;
    }
    .mask {
        display: none !important;
        opacity: 0 !important;
    }
    .nav-collapse {
        width: 70%;
        margin: 0 auto 0 15%;
    }
    .nav-collapse li {
        width: 20%;
        float: left;
    }
    .nav-collapse a:active,
    .nav-collapse .active a {
        background: none;
        color: #9b825e;
        border-bottom: 3px solid #9b825e;
        text-transform: capitalize;
    }
    .nav-collapse ul ul a {
        background: #ca3716;
        padding-left: 2em;
    }
    .nav-collapse ul ul a {
        display: none;
    }
}

@media screen and (max-width: 715px) {
    .pasek {
        font-size: 18px
    }
    .pasek1 {
        font-size: 18px;
        height: 100px;
    }
    #kancelaria-opis {
        width: 100%;
        background: #fff;
    }
    #kancelaria-opis h2 {
        width: 90%;
        text-align: center;
        padding: 0;
        border: none;
        font-size: 14px;
        background: #fff;
        margin: 0 auto;
    }
    .cudzy-dol,
    .cudzy-gora {
        display: none;
    }
    .specjalizacja {
        width: 90%;
    }
}

.wysl {
    text-align: center;
}

.wysl p {
    font-size: 25px;
    color: #000;
    margin: 100px auto 10px auto;
    text-align: center;
    font-style: italic;
    font-weight: lighter;
}

.wysl a {
    font-size: 25px;
    background: #2b3f4d;
    color: #fff;
    border-bottom: 5px solid #9b825e;
    padding: 10px 20px;
    text-decoration: none;
    font-style: italic;
}