body {
    font-size: 16.67px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    min-width: 350px;
    line-height: 1.7em;
    padding-top: 20px;
    padding-bottom: 20px;
}

.header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;

}

.footer {
    margin-top: 20px;
    padding-top: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}

.header h1 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 40px;
    font-size: 2em !important;
}

#mapa {
    height: 400px;
    width: 100%;
    left: 0;
}

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery.masonry {
    margin: 0 auto;
}

.masonry-brick.gallery-item {
    margin-bottom: 10px;
}

.img-respons {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
}

img[style*="left"] {
    margin:0 15px 0 0;
}

img[style*="right"] {
    margin:0 0 0 15px;
}

.catalog:first-child {
    margin-top: 0 !important;
}

.catalogs-image img {
    margin-bottom: 20px;
}

.text-links .btn {
    margin-bottom: 5px;
}

.margin-top-10px {
    margin-top: 10px;
}

.margin-top-20px {
    margin-top: 20px;
}

.margin-top-50px {
    margin-top: 50px !important;
}

.margin-bottom-50px {
    margin-bottom: 50px;
}

.cke h1, .cke h2, .cke h3, .cke h4, .cke h5, .cke h6 {
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px
}

.cke h1 {
    font-size: 1.7em;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
    border: 0;
    padding-bottom: 10px;
}

.cke h2 {
    font-size: 1.5em;
    margin: 10px 0 20px 0;
    display: inline-block;
    min-width: 200px;
    position: relative;
    padding: 11px 0;
}

.cke h2 > .stripes {
    width: 2000px;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 2px;
    background: transparent url('../img/bg-stripes.png') bottom right repeat-x;
}

.cke h3 {
    font-size: 1.3em;
    font-weight: 500;
}

.cke h4 {
    font-size: 1.0em;
    margin-top: 16px;
}

.cke h5 {
    font-size: 0.85em;
    margin-top: 14px;
}

.cke h6 {
    font-size: 0.7em;
    margin-top: 12px;
}

.cke p {
    font-size: 1.1em;
}

div.images {
    margin-top: 20px;
}


/** MAIN CLASSES **/
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    padding-top: 220px;
}


header {
    min-height: 220px;
    background: transparent url('../img/bg-header.jpg') top center no-repeat;
    background-size: cover;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

header .logo {
    margin: 10px 0;
}

header .logo a{
    display: inline-block;
    height: 100%;
}
header .logo img{
    width: auto;
    height: 100%;
    max-height: 192px;
}

header .nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header .nav{
    background: transparent url('../img/bg-menu.png') top left repeat-y;
    padding-left: 35px;
}

header nav li a {
    display: flex;
    align-items: center;
    padding: 10px 12px 10px 14px;
    color: #000;
    height: 100%;
    font-size: 19px;
    font-weight: 400;
    text-decoration: none !important;
}

header nav li a.first {

}

header nav li.phone {
    background-color: white;
}

header nav li.phone a{
    background: transparent url('../img/ico-top-phone.png') left center no-repeat;
    background-position: 10px 50%;
    font-size: 1.4em;
    font-weight: 600;
    padding-left: 46px;
}

header nav li:hover, header nav li.active {
    background: #d8d8d8;
}

header nav li:hover > a, header nav li.active > a {
    color: #7e4608;
}

header .iks {
    width: 30px;
    height: 35px;
    padding: 3px 0;
    margin: 0 10px 0 0;
    cursor: pointer;
}

header .iks span {
    height: 4px;
    background-color: black;
    width: 100%;
    display: block;
    margin: 5px 0 0;
    border-radius: 2px;
    transition: all .4s;
    position: relative;
    top: 0;
}

header .iks span.active:first-child {
    transform: rotate(45deg);
    top: 13px;
}

header .iks span.active:nth-child(2) {
    opacity: 0;
}

header .iks span.active:last-child {
    transform: rotate(-45deg);
    top: -5px;
}

.oFirmieCont {
    background: white url('../img/bg-o-firmie.jpg') top center no-repeat;
    background-size: cover;
}

.ofertaCont {
    background: white url('../img/bg-oferta.jpg') top center no-repeat;
    background-size: cover;
}

.stripesBg {
    background: transparent url('../img/bg-stripes.png') bottom center repeat-x;
}

.stripesBgWhite {
    background: transparent url('../img/bg-white-stripes.png') center center repeat-x;
    height: 5px;
    margin: 10px 0;
}

.jakoscCont {
    background: white url('../img/bg-jakosc.jpg') bottom center no-repeat;
    background-size: 100% auto;
}
.formularzCont {
    background: white url('../img/bg-formularz.jpg') top center no-repeat;
    background-size: 100% auto;
    position: relative;
    z-index: 11;
}
.formularzCont form {
    background: rgba(193, 190, 195, .63);
    padding: 35px 55px;
}
.formularzCont .form-control {
    background: white;
    border-radius: 0;
    border: 1px solid black;
    color: #50351d;
    font-size: 14px;
}
.formularzCont button {
    border-radius: 0;
    background: black;
    border: black;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
}

.formularzCont ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #50351d;
    opacity: 1; /* Firefox */
}

.formularzCont :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #50351d;
}

.formularzCont ::-ms-input-placeholder { /* Microsoft Edge */
    color: #50351d;
}

footer {
    height: 276px;
    background: transparent url('../img/bg-footer.jpg') top center no-repeat;
    background-size: cover;
}

.bottom-logo {
    margin-right: 45px;
}

.bottom-contact a {
    font-size: 24px;
    color: white;
}

.map-container {
    margin-top: 10px;
}

.map-container .container {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.map-shadow {
    position: absolute;
    top: -87px;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 87px;
    box-shadow: 1px 19px 40px 0 rgba(0, 0, 0, 0.17);
}

.map-info {
    background: transparent url('../img/bg-map.png') top left no-repeat;
    background-size: cover;
    position: absolute;
    width: 891px;
    max-width: 50%;
    height: 294px;
    /*max-height: 50%;*/
    top: 0;
    right: 0;
    z-index: 11;
}

.map-info img {
    padding-left: 75px;
    padding-top: 30px;
}

.map-info .stripesBg {
    background-position: 20px 0px !important;
}

.map-info .phone{
    color: black;
}

.map-content {
    font-size: 16px;
    font-weight: 600;
    font-family: Lato, sans-serif;
    line-height: 20px;
    padding-top: 30px;
}

.map-content b {
    font-size: 17px;
    font-weight: 700;
}

footer a.phone,
footer a.mail {
    display: inline-flex;
    align-items: center;
}

footer a.phone {
    margin-bottom: 10px;
}

footer a.phone img {
    margin-right: 10px;
}

footer a.mail img {
    margin-right: 10px;
    margin-left: 1px;
}

/** QUERIES **/

@media(max-width: 1300px) {
    .map-content {
        font-size: 13px;
        line-height: 16px;
    }
    .map-content b {
        font-size: 14px;
    }
}
@media(max-width: 1200px) {
    .map-info img {
        width: 150px;
    }
    header .nav {
        padding-left: 5px
    }
    header .nav li a {
        padding: 8px 12px 8px 14px
    }
}
@media(max-width: 992px) {
    .map-info > div {
        flex-direction: column-reverse;
        padding-left: 90px;
    }

    .map-info img {
        width: 100px;
        padding-left: 0;
    }
}
@media(max-width: 767px) {
    body {
        padding-top: 120px;
    }
    header {
        min-height: 120px;
    }

    header .logo img {
        max-width: 72px;
        margin-left: 10px;
    }

    header #menu2 .nav {
        padding-left: 0;
    }

    .oFirmieCont {
        background-image: none;
    }

    .oFirmieCont  .container-fluid {
        min-height: 250px;
        background: transparent url('../img/img-o-firmie.jpg') bottom left no-repeat;
        background-size: cover;
    }

    .menu-container {
        display: block;
        position: absolute;
        top: 88px;
        border-top: 4px solid white;
        left: 0;
        z-index: 1;
        height: 100%;
    }

    #menu .nav {
        display: block;
        flex-direction: column;
        width: 100%;
        height: 100%;
        min-height: calc(100vh - 88px);
        background: rgb(200, 172, 133);
    }
    #menu li.phone {
        display: none;
    }
    .map-info {
        width: 100%;
        position: relative;
        max-height: 100%;
        max-width: 100%;
        background: transparent url('../img/bg-map-mobile.jpg') top center no-repeat;
        height: auto;
    }
    .map-info > div {
        padding: 0 20px 20px 20px;
    }
    .map-info > div > img{
        display: none;
    }
    .map-info .map-content > div, .map-info .map-content > div b {
        width: 50%;
        font-size: 17px;
        line-height: 1.3em;
        font-weight: 500;
    }
}
@media(max-width: 576px) {
    .formularzCont form {
        padding: 35px;
    }
}
@media(max-width: 450px) {
    header #menu2 .tel {
        font-size: 16px;
    }
}


@media screen and (min-width: 768px) {
    .header,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }

    .header {
        margin-bottom: 30px;
    }	
}

@media(max-width: 576px) {
    .contentCont {
        width: 540px;
    }
}

@media (min-width: 768px) {
    .contentCont {
        width: 720px;
    }
    div.images {
        margin-top: 20px;
    }

    .cke h1 {
        margin-bottom: 15px;
    }

    .catalog {
        margin-top: 15px;
    }
}

@media (min-width: 992px) {
    .contentCont {
        width: 960px;
    }
    div.images {
        margin-top: 30px;
    }

    .cke h1 {
        margin-bottom: 20px;
    }

    .catalog {
        margin-top: 30px;
    }
}

@media (min-width: 1200px) {
    .contentCont {
        width: 1140px;
    }
    div.images {
        margin-top: 50px;
    }

    .cke h1 {
        margin-bottom: 30px;
    }

    .catalog {
        margin-top: 50px;
    }
}