/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-bottom: 40px;
    color: #5a5a5a;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Flip around the padding for proper display in narrow viewports */
.container {
    padding-right: 0;
    padding-left: 0;
}

.navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
}

.navbar-wrapper .navbar .container {
    width: auto;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.navbar .divider-vertical {
    height: 50px;
    width: 1px;
    margin: 0 9px;
    background-color: #e5e5e5;
    overflow: hidden;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 30px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
}

footer.footer {
    width: auto;
    min-height: 50px;
    background-color: #f8f8f8;
    padding-right: 15px;
    padding-left: 15px;
    border-color: #e7e7e7;
    border-radius: 4px;
    margin-top: 30px;
}

ul.footer li {
    float: left;
    position: relative;
    display: block;
    list-style: none;
}

ul.footer li.active {
    color: #555;
    background-color: #e7e7e7;
}

ul.footer > li > a {
    color: #777;
    line-height: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

ul.footer > li > a:focus, ul.footer > li > a:hover {
    color: #333;
    background-color: transparent;
}

figure {
    margin-top: 20px;
    display: block;
}

figure img {
    margin-bottom: 5px;
}

figcaption {
    font-size: 12px;
}

div.indent {
    margin-left: 20px;
}

div.alert {
    margin-top: 10px;
    margin-bottom: 0px;
}

select ~ .form-control-feedback {
    margin-right: 15px;
}

@media (min-width: 768px) {
    .content {
        background-color: #f8f8f8;
        border-color: #e7e7e7;
        border-radius: 4px;
        padding-bottom: 20px;
        line-height: 20px;
    }

    .navbar-wrapper {
        position: absolute;
        top: 10px;
        right: 0;
        left: 0;
        z-index: 20;
    }

    .footer-wrapper .container {
        padding-left: 0px;
        padding-right: 0px;
    }

    div.content div[class^=hidden] img, div.content div[class^=col-] img {
        margin-top: 20px;
    }

    div.content div[class^=hidden].nowrap img, div.content div[class^=col-].nowrap img {
        margin-top: 0px;
    }

    div.anfrage, div.anfrageArt {
        max-width: 800px;
    }
}

@media (max-width: 767px) {
    .content {
        background-color: #fff;
        padding-top: 0px;
        padding-bottom: 10px;
        line-height: 20px;
    }

    footer.footer {
        margin-top: 15px;
    }

    .navbar-collapse .nav > .divider-vertical {
        display: none;
    }

    .navbar-wrapper {
        position: relative;
        top: 0px;
    }

    .footer-wrapper .container {
        padding-left: 0px;
        padding-right: 0px;
        border-radius: 0px;
    }

    .navbar {
        margin-bottom: 0px;
    }

    a.navbar-brand {
        padding-left: 15px;
    }

    .navbar-wrapper .navbar {
        padding-left: 0px;
        padding-right: 0px;
    }

    div.content-row {
        margin-top: 10px;
    }

    div.content div[class^=visible] img, div.content div[class^=col-] img {
        margin-top: 10px;
    }

    div.content div[class^=visible]:first-child img, div.content div[class^=col-]:first-child img {
        margin-top: 0px;
    }
}

input[type=radio]{
    margin-right: 10px;
}

div.container.ads {
    color: lightgray;
    padding: 20px 25px;
}

div.container.ads a {
    color: lightgray;
}

@media (min-width: 1200px) {
    .container {
        width: 90%;
    }
}