html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Open Sans", Verdana;
    background: #fff;
    font-size: 16px;
    line-height: 2.6rem;
}

h1 {
    color: #fff;
    text-align: center;
    font-size: 4.8rem;
    line-height: 5rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.4rem;
    line-height: 3rem;
    margin-top: 0;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.8rem;
    line-height: 2.2rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

ul {
    margin-bottom: 40px;
}

ul li {
    padding-bottom: 10px;
}

ul li:last-child {
    padding-bottom: 0;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
}

a:hover {
    text-decoration: none;
}

p {
    margin: 0 0 1.625rem;
}

.h1-subheading {
    padding-bottom: 30px;
    line-height: 3.6rem;
    margin-bottom: 0;
}

.section {
    padding: 75px 0;
    position: relative;
}

.navbar-nav {
    padding: 20px 0 0 30px;
}

.navbar-nav li {
    padding-bottom: 0;
}

.navbar-nav > li > a {
    font-size: 1.6rem;
    text-decoration: none;
    padding: 15px 10px;
    height: 50px;
    vertical-align: bottom;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #fff;
    background: #533019;
}

.navbar-brand-wrapper {
    position: absolute;
    background: rgba(51, 51, 51, 0.4);
    height: 76px;
    padding: 7px 7px 7px 150px;
    display: block;
    top:35px;
    border-bottom-right-radius: 7px;
    border-top-right-radius: 7px;
}

.navbar-brand-wrapper a {
    display: block;
}
.navbar-brand {
    height: auto;
}

.navbar-brand img {
    border: 1px solid #533019;
    background: #fff;
    padding: 10px 12px;
    border-radius: 4px;
}

.navbar-default {
    background: none;
    border: none;
    border-radius: 0;
}

#banner {
    background: url('../img/header_banner.jpg') no-repeat center center #fff;
    min-height: 500px;
    border-top: 2px solid #533019;
    border-bottom: 1px solid #533019;
    background-size: cover;
    position: relative;
}

#banner p {
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-size: 1.6rem;
}

#banner .h1-subheading {
    color: #fff;
    text-align: center;
    font-size: 3.2rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    margin-top: 0
}

#malibu-c, #certifikaty {
    background: #E7E7EF;
}

#galerie {
    background: #5f504b;
    color: #fff;
}

#kontakt {
    color: #fff;
    background: #41424e;
}

table {
    width: 100%;
}

table tr:nth-child(even) {
    background: #E7E7EF;
}

table td {
    padding: 2px 10px;
    border: 1px solid #000;
}

table td:nth-child(2) {
    text-align: center;
}

#map {
    height: 550px;
    width: 100%;
}

.scroll-up-button {
    position: fixed;
    right: 10px;
    bottom: -51px;
    z-index: 100;
    transform: translateZ(0);
    transition: bottom .2s ease;
    background: #533019;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 3px #24150b;
}

.scroll-up-button--visible {
    bottom: 10px;
}

.scroll-up-button {
    cursor: pointer;
}

.scroll-up-button span {
    display: block;
    width: 15px;
    height: 15px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: rotate(45deg);
    margin: 22px 17px;
}

@media (max-width: 1500px) {
    .navbar-brand-wrapper {
        width: 100%;
        position: initial;
        background: rgba(51, 51, 51, 0.4);
        padding: 7px 15px;
        display: block;
        text-align: center;
        top:0;
        border-radius: 0;
        text-align: center;
    }

    #banner.section {
        padding-top:0px;
    }
}

/* mapa */
#mapa {
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    height: 550px;
    width: 100%;
}

#mapa:after {
    content: "";
    background-image: url('../img/chicas-locas-mapa.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

#mapa a.map-btn {
    text-decoration: none;
    display: flex;
    color: #fff;
    background: #533019;
    padding: 15px 25px;
    border: 1px solid #000;
    border-radius: 10px;
}
/* /mapa */

/* galerie */
.row.gallery {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    margin: 0;
}

/* Create four equal columns that sits next to each other */
.column.gallery {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}
.column.gallery figure { padding-bottom: 8px;}

.column.gallery img {
    vertical-align: middle;
    width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column.gallery {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column.gallery {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}
