﻿/*ostylowanie navbara*/
#navbarCollapse a {
    color: #E8E8E8;
    font-size: 1.2em;
}
/*brak suwaka na dole*/
.row {
    width: 100%;
}

h1 {
    font-size: 35px;
    color: white;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10%;
    /*gradient pod h1*/
    background: -moz-linear-gradient(left, rgba(73,73,73,0.65) 43%, rgba(73,73,73,0.47) 59%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(43%,rgba(73,73,73,0.65)), color-stop(59%,rgba(73,73,73,0.47)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(73,73,73,0.65) 43%,rgba(73,73,73,0.47) 59%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(73,73,73,0.65) 43%,rgba(73,73,73,0.47) 59%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(73,73,73,0.65) 43%,rgba(73,73,73,0.47) 59%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(73,73,73,0.65) 43%,rgba(73,73,73,0.47) 59%,rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6494949', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
}

/*sekcje: dla kazdej potrojne tlo*/
section {
    height: auto;
    min-height: 100vh;
    padding-bottom: 50px;
}

    section:nth-child(1) {
        background: url("../img/separateline.png"), url("../img/ph1.png"), url("../img/bgg.jpg");
        background-size: auto, 80vh, cover;
        background-position: bottom, bottom right, left top;
        background-repeat: repeat-x, no-repeat, no-repeat;
        padding-top: 70px;
    }

    section:nth-child(2) {
        background: url("../img/separateline.png"), url("../img/ph2.png"), url("../img/bgg.jpg");
        background-size: auto, 80vh, cover;
        background-position: bottom, bottom left, left top;
        background-repeat: repeat-x, no-repeat, no-repeat;
    }

    section:nth-child(3) {
        background: url("../img/separateline.png"), url("../img/ph3.png"), url("../img/bgg.jpg");
        background-size: auto, 80vh, cover;
        background-position: bottom, bottom right, left top;
        background-repeat: repeat-x, no-repeat, no-repeat;
    }

    section:nth-child(4) {
        background: url("../img/separateline.png"), url("../img/ph4.png"), url("../img/bgg.jpg");
        background-size: auto, 80vh, cover;
        background-position: bottom, bottom left, left top;
        background-repeat: repeat-x, no-repeat, no-repeat;
    }

    section:nth-child(5) {
        background: url("../img/separateline.png"), url("../img/ph5.png"), url("../img/bgg.jpg");
        background-size: auto, 80vh, cover;
        background-position: bottom, bottom right, left top;
        background-repeat: repeat-x, no-repeat, no-repeat;
    }

        section:nth-child(5) a {
            color: black;
            font-weight: bold;
        }


.language-choser {
    float: right;
    margin-right: 50px;
    line-height: 50px;
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex;
    align-items: center;
    height: 40px;
    margin-top: 12px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 30px;
}

.flag {
    display: block;
    width: 30px;
    height: 15px;
    background: red;
    width: 100%;
}

    .flag.pl {
        margin-bottom: 5px;
        background: url(../img/pl.gif) no-repeat;
        background-size: contain;
    }

    .flag.en {
        background: url(../img/en.png) no-repeat;
        background-size: contain;
    }

.parkmaszynowy-lista {
    padding: 0;
    margin: 0;
}

    .parkmaszynowy-lista li {
        list-style-type: none;
        margin-bottom: 5px;
    }

#nazwa-firmy {
    font-size: 18px;
}

footer {
    height: 31px;
    background-color: #352C2F;
}

    footer p {
        color: #E6E6E6;
        text-align: center;
        font-size: 1.1em;
    }
/*dla wiekszych*/
@media (min-width: 768px) {
    .navbar {
        min-height: 70px !important;
    }

    .navbar-nav > li > a {
        padding-top: 23px !important;
    }

    .navbar-right {
        margin-right: 15px;
        margin-top: 8px;
    }

        .navbar-right img {
            height: 55px;
            position: absolute;
            right: 3px;
            top: 5px;
        }

    .navbar-inverse {
        background: black;
        background-color: rgba(0,0,0,0.8);
    }

        .navbar-inverse:after {
            content: '';
            position: absolute;
            top: 64px;
            width: 100%;
            height: 100%;
            border-bottom: 1px solid #FFEE2F;
            outline: 1px solid #7F701B;
        }

    #nit-lewy {
        height: 55px;
        margin: -10px 0 0 -10px;
    }

    .kotwica {
        height: 75px;
    }

    .gallery {
        max-width: 575px;
    }

        .gallery img {
            width: 100px;
            margin: 5px;
            padding: 0;
            border: 3px solid #999999;
        }
}
/*poprawka responsywnosci*/
@media(max-width: 850px) {
    /*usunięcie odnośników z menu po prawej stronie na ekranie mobilnym*/
    .navbar-right a {
        display: none;
    }
}
/*dla mobilnych*/
@media (max-width: 767px) {
    .navbar {
        min-height: 50px;
    }

    .navbar-right {
        display: none;
    }

    #nit-lewy {
        height: 40px;
        margin: -10px 0 0 -10px;
    }

    .logo {
        display: none;
    }

    .kotwica {
        height: 55px;
    }

    .gallery {
        text-align: center;
        width: 100vw;
        margin-left: 10px;
    }

        .gallery img {
            width: 25vw;
            margin: 1px;
            margin-top: 3px;
            // padding:0;
            border: 2px solid #999999;
        }

    .language-choser {
        position: absolute;
        top: 0;
        right: 30px;
        width:70px;
        height:25px;
        margin-right:30px;
    }
    .flag{
        width:49%;
    }
    .flag.pl{
        margin-bottom:0;
        margin-right:2%;
    }
}
