/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */

.img-firma {
    display: block;
    padding-left: 5%;
    height: auto;
    padding-top: 25px;
    padding-bottom: 10px;
    float: left;
}
.grayscale {
    /* Firefox 10+, Firefox on Android */
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
    /* IE 6-9 */
    filter: gray;
    /*
Chrome 19+,
Safari 6+,
Safari 6+ iOS,
Opera 15+
*/
    -webkit-filter: grayscale(100%);
}
.grayscale.grayscale-fade {
    -webkit-transition: -webkit-filter .5s;
}
.grayscale.grayscale-fade:hover {
    -webkit-filter: grayscale(0%);
    filter: none;
}
.grayscale-replaced.grayscale-fade svg {
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
}
.grayscale-replaced.grayscale-fade:hover svg {
    opacity: 0;
}
#kruszywa, #roboty, #uslugi, #kamienie {
    display: none;
}
.img-kontakt {
    display: block;
    max-width: 450px;
    padding-right: 5%;
    height: auto;
    padding-top: 25px;
    padding-bottom: 10px;
    float: right;
}
#map-canvas {
    width: 500px;
    height: 480px;
}
.nawi {
    margin-left: auto;
    margin-right: auto;
}
.text-firma {
    padding-top: 25px;
}
.text-kontakt {
    margin-left: 5%;
    padding-top: 25px;
    padding-right: 5%;
}
.text-kontaktl {
    width: 50%;
    float: left;
}
.text-kontaktlm {
    width: 40%;
    float: left;
}
.text-kontaktpd {
    width: 60%;
    float: right;
    text-align: right;
}
.text-kontaktp {
    width: 50%;
    float: right;
    text-align: right;
}
.tab-firma {
    overflow: hidden;
    box-shadow: 0 0 0px #91c11a;
    -webkit-box-shadow: 0 0 8px #91c11a;
    -moz-box-shadow: 0 0 8px #91c11a;
    border-bottom: 3px solid #91c11a;
    border-top: 3px solid #91c11a;
}
.tab-oferta {
    overflow: hidden;
    box-shadow: 0 0 0px #08b6d2;
    -webkit-box-shadow: 0 0 0px #08b6d2;
    -moz-box-shadow: 0 0 0px #08b6d2;
    border-bottom: 3px solid #08b6d2;
    border-top: 3px solid #08b6d2;
}
.tab-kontakt {
    overflow: visible;
    box-shadow: 0 0 0 #91c11a;
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    -moz-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    border-bottom: 3px solid #e1db00;
    border-top: 3px solid #e1db00;
    border-bottom-width: 50%;
}
.tab-galeria {
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    -moz-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    border-bottom: 3px solid #da0c00;
    border-top: 3px solid #da0c00;
}
.tab-referencje {
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    -moz-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    border-bottom: 3px solid #e0a202;
    border-top: 3px solid #e0a202;
}
.tab-projekt {
    p overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    -moz-box-shadow: 0 0 0 rgba(0, 0, 255, 1);
    border-bottom: 3px solid #d50684;
    border-top: 3px solid #d50684;
}
.tab-full {
    height: 100%;
    z-index: -1;
    width: 100%;
    border-left: 3px solid #eee;
    position: fixed;
    background-color: #eee;
    color: #eee;
}
.text-oferta {
    margin-left: 5%;
    padding-top: 25px;
    padding-right: 5%;
    text-align: center;
}
.text-oferta2 {
    margin-left: 5%;
    padding-right: 5%;
    text-align: center;
}
.carousel {
    padding-left: 5%;
    padding-right: 5%;
    height: 350px;
    margin-bottom: 5%;
}
/* Since positioning the image, we need to help out the caption */

#header {
    width: 100%;
    height: 100%;
    position: relative;
}
#fData {
    float: right;
    position: absolute;
    z-index: 1000;
    padding-left: 5%;
    top: 35%;
    right: 5%;
    color: #A7A7A7;
}
@media (max-width: 767px) {
    #fData {
        display: none;
    }
    #fCzas {
        display: none;
    }
}
#fCzas {
    float: right;
    position: absolute;
    padding-left: 5%;
    font-size: 30px;
    top: 45%;
    right: 5%;
    z-index: 1100;
    color: #A7A7A7;
}
.carousel-caption {
    z-index: 10;
}
.galeria {
    width: 100%;
    height: 100%;
}
.img-galeria {
    border-radius: 6px;
    padding-left: 5%;
    padding-top: 25px;
    padding-bottom: 10px;
}
/* Declare heights because of positioning of img element */

.carousel .item {
    height: 350px;
    background-color: #eee;
}
@media (min-width: 460px) {
    .carousel .item {
        max-height: 350px;
        background-color: #eee;
    }
    .carousel {
        padding-left: 5%;
        padding-right: 5%;
        height: auto;
        margin-bottom: 5%;
    }
    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 350px;
    }
    .nav-justified {
        z-index: 100;
        background-color: #353535;
        border-radius: 5px;
    }
    .nav-justified > li > a {
        padding-top: 0px;
        padding-bottom: 0px;
        margin-bottom: 0;
        font-weight: bold;
        color: #eee;
        text-align: center;
        background-color: #353535;
        /* Old browsers */
        z-index: 2;
    }
    .nav-justified > .active > a, .nav-justified > .active > a:hover, {
        background-color: #fff;
        background-image: none;
    }
    .nav-justified > .active > a:focus {
        background-color: #fff;
        background-image: none;
    }
    .nav-justified > li:first-child > a {
        border-bottom: 0;
        z-index: 2;
    }
    .nav-justified > li:last-child > a {
        border-bottom: 0;
    }
}
@media (min-width: 768px) {
    .nav-justified {
        max-height: 32px;
    }
    .nav-justified > li > a {
        border-left: 3px solid #eee;
    }
    .nav-justified > li:first-child > a {
        /*border-right: 3px solid #eee;*/
    }
    .nav-justified > li:last-child > a {
        border-right: 3px solid #eee;
    }
}
/* Responsive: Portrait tablets and up */

@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .masthead {
        background-color: #353535;
        z-index: 999;
    }
    .marketing, .footer {
        padding-right: 0;
        padding-left: 0;
    }
}
