body {
    font-family: 'Poppins', sans-serif;;
    font-weight: 400;
    font-size: 18px;
}

.menu button {
    display: none;
}

iframe {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}


header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 99;
    max-height: 120px;
}

header img {
    max-width: 250px;
    height: auto;
}

h1 {
    color: #fff;
    font-size: 5vw;
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 5%;
}

/*---------------------------menu gorne-------------------------*/
nav.navbar {
    border-radius: 0;
    margin: 0;
}

nav.navbar img {
    margin: 10px 0;
}

#header-nav.menu-affixed {
    background-color: black;
}

#header-nav.menu-affixed nav {
    margin-bottom: 5px;
}

#header-nav.menu-affixed ul.nav.navbar-nav li a {
    color: #c1c1c1;
}

#header-nav.menu-affixed ul.nav.navbar-nav li a:hover {
    color: #fff;
}

#header-nav .navbar.navbar-default {
    background-color: transparent;
    border: none;
}

.affix {
    top: 0;
    width: 100%;
    z-index: 99;
}

.tel:hover,
.email:hover {
    text-decoration: none;
}

.navbar img {
    max-width: 350px;
    height: auto;
}

nav.navbar.navbar-default {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
}

#mainMenu ul {
    margin-top: 2%;
}

#menuGlowne {
    width: 100%;
    border: none;
    margin: 0;
    padding-top: 5px;
}


#menuGlowne ul.nav.navbar-nav {
    padding-top: 20px;
}


ul.nav.navbar-nav li {
    text-transform: uppercase;

}

ul.nav.navbar-nav li a:hover {
    color: #f8l8f8 !important;
}

ul.nav.navbar-nav li a {
    color: #fff;
}

ul.nav.navbar-nav li.dropdown.open > a {
    color: #fff;
    background-color: #000;
}

ul.dropdown-menu {
    border-radius: 0;
    padding: 0;
}

li.dropdown.open ul.dropdown-menu > li > a {
    padding: 10px 20px;
}

.navbar .navbar-collapse.in {
    max-height: 60vh !important;
}

.navbar-collapse.collapse.in {
    background-color: rgba(255, 255, 255, 1);
}

.header-nav.menu-affixed ul.nav.navbar-nav li a:hover {
    color: #fff;
}

h2.art {
    color: #888f96;
    text-transform: uppercase;
    text-align: center;
    padding-top: 5%;
}

h3 {
    color: #3d362e;
    font-size: 3.2vw;
}

.naglowek {
    background-image: url('../img/naglowki.png');
    background-position: top center;
    background-repeat: no-repeat;
    margin: 5% 0 2% 0;
    background-size: contain;
}

#poziom-1 {
    position: relative;
    z-index: 2;
}

#poziom-2,
#poziom-3,
#poziom-4 {
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 360px;
    margin: 2% 0;
    margin-left: 30%;
    margin-right: 25%;
}

#banner-text {
    padding: 10vw 0 22vw 0;
}

#konsulat {
    margin-top: 5%;

}

.bialy {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
}

footer {
    background-color: #000;
    position: absolute;
    width: 100%;
}

footer p {
    color: #f2f2f2;
}

#article-2 {
    margin-bottom: 4%;;
}

.row.boksy {
    margin: 10% 0 5% 0;
    text-align: center;
}

.szary {
    background-color: #f1f1f1;
}

.szary img {
    margin: 5% 0;
}

.szary img:hover {
    transform: scale(1.1);
    transition-duration: .3s;
    transition-property: transform;
}

.boksy p {
    padding-top: 5%;
}

/* ----------------------------galeria-----------------------*/

.galeria img {
    margin-left: 0.2vw;
    margin-bottom: 0.2vw;
}

.galeria {
    margin-bottom: 5%;
    margin-top: 2%
}

.galeria ul li:hover {
    transform: scale(1.1);
    transition-duration: .3s;
    transition-property: transform;
}

#galeria .galeria {
    margin-top: 5%;
}

/*----------------------------------------------kontakt------------------*/
#kontakt .container-fluid {
    padding-top: 5%;
}

#kontakt .kontakt-info-ico,
#kontakt .kontakt-info-ico + div {
    float: left;
    padding: 5% 0 0 5%;
}

#kontakt > div:nth-of-type(1):after,
#kontakt > div:nth-of-type(2):after {
    content: "";
    display: block;
    clear: both;
}

#kontakt > div:nth-of-type(2) {
    margin-top: 20px;
}

#kontakt .kontakt-info-ico span {
    font-size: 32px;
    color: #333;
}
.navbar-default .navbar-toggle .icon-bar{
    background-color: #fff;
}
/*------------------------footer-----------------*/
footer .nav li a:hover {
    background-color: transparent;
}
footer .nav{
    display: flex;
    width: 100%;
    justify-content: center;
}
footer .logo{
    margin: 25px auto 25px auto;
}
#kontakt a{
    color: #333;
}
footer p{font-size:12px;}

/*----------------------------------------------media------------------------*/
@media (min-width: 992px) {
    #poziom-1 {
        background-image: url('../img/tlo1.jpg');
        background-attachment: fixed;
        background-size: cover;
        width: 100%;
        height: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }

    #poziom-5 {
        background-image: url('../img/tlo2.jpg');
        background-attachment: fixed;
        background-size: cover;
        width: 100%;
        height: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }

    #copyright-info {
        text-align: initial;
        margin-bottom: 0;
    }

    form#f1 {
        margin: 0;
    }
}
#nav-dodatkowe-info{
    margin-top: 23px;
    margin-left: 50px;
    float: left;
}
#nav-dodatkowe-info a{
    color: #fff;
}
@media (min-width: 768px) {
    #header-top div.ce_text > div {
        display: inline-block;
    }
    #header-top div.ce_text > div:nth-of-type(1) {
        border-right: 1px solid #fff;
    }
    #header-top div.ce_text > div:nth-of-type(3) {
        border-left: 1px solid #fff;
        float: right;
        padding-left: 5%;
    }
    #poziom-1 {
        background-image: url('../img/tlo1.jpg');
        background-attachment: fixed;
        background-size: cover;
        width: 100%;
        height: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }
    #poziom-5 {
        background-image: url('../img/tlo2.jpg');
        background-attachment: fixed;
        background-size: cover;
        width: 100%;
        height: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }
    #poziom1 {
        background-size: cover !important;
    }
    .menu{
        float: left;
    }
}

@media (max-width: 768px) {
    #poziom-1 {
        background-image: url('../img/tlo1.jpg');
        background-attachment: fixed;
        background-size: cover;
        width: 100%;
        height: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }
    #poziom-1 {
        background-size: cover !important;
    }
    header img {
        max-height: 50px;
    }
    .menu button {
        display: block !important;
    }
    #mainMenu{
        position: absolute;
        right: 25px;
        top: 50px;
        width: 180px;
    }
    ul.nav.navbar-nav li a{
        color: #000 !important;
    }
    h3{
        font-size: 5vw;
    }
    .ce_gallery > ul{
        display: grid;
        position: relative;
    }
    .ce_gallery li{
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
}
@media (max-width: 576px){
    #nav-dodatkowe-info{
        display: none;
    }
    #poziom-1 {
        background-image: url('../img/tlo1.jpg');
        background-attachment: scroll;
        background-size: cover;
        width: 100%;
        height: 100%;
        background-position: top center;
        background-position-x: 50%;
        background-position-y: 0%;
        background-repeat: no-repeat;
    }
}