

/* Das Layout - Angaben die Bootstrap überschreiben! */


/* Eigene CSS-Deklarationen */

body {
    color:#333;
    font-family: open_sansregular, Helvetica, Arial, sans-serif;
}

div.background {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: transparent url(../images/background2.jpg) no-repeat bottom left;
    background-size: cover;
    background-repeat: no-repeat;
    overflow-x: auto;
    overflow-y: auto;
}
.container.content {
    max-width: 1170px;
    background-color: rgba(255,255,255,1);
    margin-top: -20px;
    padding-top: 20px;
	margin-bottom:60px;
}

h1, h2, h3, h4, h5, h6, p {
    color:#333;
}
h1, h2 {
  hyphens: auto;
}

div.content p {
    hyphens: auto;
}

/* WYSIWYG EDITOR ALIGNMENT CLASSES 
-------------------------------------------- */
.left {
    text-align: left
}
.center {
    text-align: center
}
.right {
    text-align: right
}
/* IMAGES 
-------------------------------------------- */
img {
    height: auto; /* resets the image height so that it maintains its aspect ratio when width is set */
    background: transparent url(../images/ajax-loader.gif) no-repeat center center;
}
img.left {
    float: left;
    max-width: 50%;
    margin: 5px 20px 10px 0;
}
img.right {
    float: right;
    max-width: 50%; /* Responsive width */
    margin: 5px 0 10px 20px;
}
img.leftAlone {
    float: left;
    margin-right: 100%;
    margin-bottom: 10px;
    clear: both;
}
img.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
    clear: both;
}

.navbar-brand {
    margin-top: -15px;
    margin-bottom: 30px;
}
.navbar-brand img {
    background:none;
}
/* Navigation Language *********************************/
a {outline : none!important;}
nav.lang {
    width:100%;
    display:flex;
    justify-content: flex-end;
}
nav.lang li {
    display:inline-block;
    padding-right:24px;
}
nav.lang li a {
    color:#666;
}
nav.lang li a:hover, nav.lang li a.current {
    color:#900;
}

/* Secondary Navigation */
#main-menu {
    margin: 0 0 0 -15px;
    padding: 0;
}
nav.secondary {
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
    margin-top: -21px;
    padding:12px;
}
nav.secondary ul {
    list-style-type: none;
    padding:0;
}
nav.secondary ul a {
    display:block;
    padding: 0 0 8px 4px;
    color:#666;
}
nav.collapsenav ul.nav li.dropdown:hover ul {
    display: block;
}

div.footer {
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
    padding:24px 12px;
}
nav.secondary ul a:hover, nav.secondary ul a.current {
    color:#900;
}
nav.collapsenav .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #666;
    white-space: nowrap;
}
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover, .navbar-nav > li > a.current,  .navbar-nav > li > a.section {
    color: #900!important;
    background-color: transparent;
}
nav.collapsenav > li > a:hover,
nav.collapsenav .dropdown-menu > li > a:hover,
nav.collapsenav > li > a.current,
nav.collapsenav .dropdown-menu > li > a.current{
    color: #900 !important;
}

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
	.container.content {
        background-color: rgba(255,255,255,1);
        margin: -20px 15px 40px 15px;
        padding-top: 20px;
    }
    nav.collapsenav {
        margin: 0 15px;
    }
    .dropdown-menu {
        display: inline-block;
        position: static;
        float: none;
        background-color: transparent;
        border: 0px;
        border-radius: 0px;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 769px) {
    /*.container.content {
        background-color: rgba(255,255,255,1);
        margin: -20px 15px;
        padding-top: 20px;
    }
    nav.collapsenav {
        margin: 0 15px;
    }
    .dropdown-menu {
        display: inline-block;
        position: static;
        float: none;
        background-color: transparent;
        border: 0px;
        border-radius: 0px;
        -webkit-box-shadow: none;
        box-shadow: none;
    }*/
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    nav.lang li {
        display: inline-block;
        padding-right: 6px;
    }
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {

}
