body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

th.auslagen-header {
    text-align: center !important;
    vertical-align: middle !important;
}

th.auslagen-header-right-border {
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: lightgray;
}

th.auslagen-header-left-border {
    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: lightgray;
}

/*########################################################*/
/* LOGIN FORMS*/
/*########################################################*/
.panel,
.panel-heading,
.panel-body,
.btn,
input,
.form-control {
    border-radius: 0;
}

.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}



/*
 * Card component
 */
.card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    /*margin: 0 auto 25px;
    margin-top: 50px;*/
    margin: auto;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/*
 * Form styles
 */
.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #Username,
.form-signin #Password {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}

/*########################################################*/

/*Main Layout*/
#header .container-fluid {
    height: 100px;
}

.brand.navbar-brand {
    max-width: 145px;
    max-height:100px;
}


.navbar-collapse.collapse {
    margin-top: 50px;
    margin-right: 50px;
    margin-left: 256px;
}


.navbar-collapse.collapse .nav.navbar-nav {
    bottom: 0px;
}
    /*Traco Line*/
    .traco-hr {
        border-color: #1788b8;
        border-width: 2px;
    }

h2.m-title {
    margin-top:75px;
}

/*########################################################*/

.nav-pills > li.active > a,
.nav-pills > li.active > a:focus
{
    background-color: #1788b8!important;
    border-radius:0;
}

.nav-pills > li.active > a:hover 
{
    background-color: #1788b8 !important;
    border-radius: 0;
}

#header {
    background: black;
    padding: 16px;
    padding-bottom: 0px;
}

#header,
#header .nav > li,
#header .nav > li > a {
text-shadow: none !important;
color: white;
}

#header .nav > li > a:hover {
    color: #e24264;
    font-weight: 700;
}

#main-menu-admin {
    display: inline-block;
}

#header .navbar-inner {
    background: none;
    background-image: none;
    border: none;
    height: 100%;
    position: relative;
    padding: 0;
}

#header .navbar-menu {
    border-top: 1px solid white;
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
}

#header .btn-navbar {
    display: none;
}

#header .brand {
    float: none;
}

#header .nav.nav-right {
    float: right;
}

#header .navbar-search {
    float: left;
    display: inline-block;
}

#header .navbar-search {
    width: 20%;
}

#header .navbar-search input {
    width: 100%;
}

#header .navbar-lang {
    position: absolute;
    right: 0;
    top: 0;
}

#header #signout {
    float: right;
    padding: 10px 15px 10px;
}

#header #signout {
    text-decoration: none;
    color: white;
}

#header #signout:hover {
    text-shadow: none !important;
    text-decoration: none;
    color: #e24264;
}


#img-logo-big {
    max-height:75px;
}

@media screen and (max-width: 980px) {

    #img-logo-big {
        max-width: 100px;
    }



}


    /* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */

    #img-logo-big {
        margin-left:15px;
    }

    #header {
        height: 100px;
        padding-left:0;
        padding-right:0;
    }

    .navbar-collapse,
    div.navbar-collapse.collapse,
    ul.nav.navbar-nav {
        background-color: black;
        margin-left: 0;
        margin-top: 0;
        margin-right: 0;
    }

    .container-fluid > .navbar-collapse[aria-expanded="true"] {
        margin-left: -15px;
        margin-right: -15px;
    }

        
}

@media screen and (min-width:767px)
{
    div.container-fluid.body-content
    {
        margin-top:75px;
    }
}


@media (max-width:1200px)
{
    .navbar-right{
        position:absolute;
        top:0;
        right:0;
        margin-right:15px;
    }

    div.collapse.navbar-collapse> ul.nav.navbar-nav {
        position: absolute;
        right: 0;
        margin-right: 15px;
    }
}


#header {
    background-image: url('/images/rds_header_background.jpg');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-color: lightgray;
    border-color: #1788b8;
    border-bottom-color: #1788b8;
    border-bottom-width: 0;
  
    /*height:100%;*/
    /*overflow-y: hidden;*/
}

    #header,
    #header .nav > li,
    #header .nav > li > a {
        text-shadow: none !important;
        color: #1788b8;
        background-color: transparent !important;
    }

#header .nav > li > a:hover {
    color: #e24264;
    font-weight: 700;
}
#header .nav > li > a:focus {
    background-color: transparent!important;
}

.navbar-inverse .navbar-toggle {
    border-color: #1788b8;
    color: #1788b8;
}

    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #1788b8;
    }
        .navbar-inverse .navbar-toggle .icon-bar:hover,
        .navbar-inverse .navbar-toggle .icon-bar:focus {
            background-color: white;
        }

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #e24264;
    color: white;
}


.navbar-inverse .navbar-toggle:hover ,
.navbar-inverse .navbar-toggle:focus {
    background-color: #e24264;
    border-color:white;
}

    .navbar-inverse .navbar-toggle:hover > .icon-bar,
    .navbar-inverse .navbar-toggle:focus > .icon-bar {
        background-color: white;
    }