

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


/* Eigene CSS-Deklarationen */

body {
    color:#444;
    font-family: open_sansregular, Helvetica, Arial, sans-serif;
}
div.container {
    border-left:  1px solid #d3d3d3;
    border-right:  1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
}
div.main {padding-bottom:15px;}
/* Header */
.navbar-brand > img {
    display: inline-block;
    max-width: 300px;
}
div.navbar-header {
	height:70px;
}
.navbar-default .navbar-toggle {
    border-radius: 0px;
    border: 1px solid #333;
    background-color:#ccc;
}
.navbar-default .navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 4px;
    border-radius: 0px;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: transparent;
}
.navbar-default .navbar-toggle .yellow {
    background-color: rgb(255,193,61);
}
.navbar-default .navbar-toggle .orange {
    background-color: rgb(255,120,28);
}
.navbar-default .navbar-toggle .red {
    background-color: rgb(255,11,11);
}
div.headerimage {
    width:100%;
    height: 96px;
    background-color:#ccc;
    margin: 0 0 36px 0;
    overflow:hidden;
}
div.headerimage img {
    position:relative;
    min-height: 96px;
    min-width:685px;
    float:right;
}
p.headertitle{
    position: absolute;
	color: #000;
	font-size: 1.5em;
	z-index: 100;
	padding: 19px;
	font-family: open_sansbold;
	text-indent: 2px;
	letter-spacing: 0.6px;
}
div.mask {
    position: absolute;
    z-index: 99;
    height: 96px;
    width:100%;
    max-width:1140px;
}

/* Navigation */
nav.navbar-default {
    background-color: #f3f3f3;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    min-height: 70px;
    margin:0;
    border-radius: 0px;
}
nav div.container {display:none;}
ul.nav li a, .navbar-default .navbar-nav > li > a {
    font-family: open_sansbold, Helvetica, Arial, sans-serif;
    font-weight: 500;
    color:#fff;
    font-size:1.3em;
    text-shadow: 1px 1px 1px #000;
    background-color:#dedede;
    border-left: 15px solid rgba(0,0,0,0.1);
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
}
ul.nav li a:hover, .navbar-default .navbar-nav > li > a:hover {
    color:#fff;
    text-shadow: 1px 1px 1px #000;
    background-color:#ccc;
    border-left: 15px solid rgba(0,0,0,0.5);
    border-top: 1px solid rgba(0,0,0,0.5);
    border-right: 1px solid rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(0,0,0,0.5);
}
ul.nav li a.current {
    color:#fff;
    text-shadow: 1px 1px 1px #000;
    border-left: 15px solid #000;
    border-top: 1px solid rgba(0,0,0,1);
    border-right: 1px solid rgba(0,0,0,1);
    border-bottom: 1px solid rgba(0,0,0,1);
}

/* SideBar */
aside.sidebar {
    border-left: 1px solid #d3d3d3;
    padding-left:15px;
    hyphens: auto;
	overflow: hidden;
}
nav.SideBarNav {
    display:block;
}
nav.SideBarNav li a {
    display:block;
    font-family: open_sansbold, Helvetica, Arial, sans-serif;
    font-weight: 500;
    color:#fff;
    font-size:1.16em;
    text-shadow: 1px 1px 1px #000;
    background-color:#dedede;
    border-left: 15px solid rgba(0,0,0,0.1);
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    letter-spacing:0.1px;
    padding: 4px;
}
nav.SideBarNav li a:hover {
    color:#fff;
    text-shadow: 1px 1px 1px #000;
    background-color:#ccc;
    border-left: 15px solid rgba(0,0,0,0.5);
    border-top: 1px solid rgba(0,0,0,0.5);
    border-right: 1px solid rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(0,0,0,0.5);
}
nav.SideBarNav li a.current {
    color:#fff;
    text-shadow: 1px 1px 1px #000;
    border-left: 15px solid #000;
    border-top: 1px solid rgba(0,0,0,1);
    border-right: 1px solid rgba(0,0,0,1);
    border-bottom: 1px solid rgba(0,0,0,1);
}
li.current ul.dropdown-menu, li.section ul.dropdown-menu {
    display: block;
    position: relative;
    width: 100%;
    margin: 0px 1px 12px 0px;
    padding: 0;
    border-radius: 0px;
    box-shadow: none;
    border: 0;
}
ul.dropdown-menu a {
    margin:0;
    padding:12px 2px 12px 15px;
    white-space: normal;
}
ul.subsub-menu {
    list-style-type:none;
    padding:0;
    margin:0;
}
/* Footer */
div.footer {
    background-color: #f3f3f3;
    border-top: 1px solid #d3d3d3;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    margin-top: 30px;
    padding: 30px;
}
.right > p > a > img {
    width:30px;
    height:auto;
}
.right > p > a > img:hover {
    opacity:0.5;
}

/* 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 {
    width:auto!important;
    height:auto!important;
    max-width: 100%;
}
img.left {
    float: left;
    margin: 5px 20px 10px 0;
}
img.right {
    float: right;
    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;
}
/* FORM ******************************************/
input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
}
input.action {margin-top:15px;}

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

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    div.mask {
        width:100%;
        max-width:940px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    div.mask {
        width:100%;
        max-width:720px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    div.headcontainer {
        margin: 0px -15px 0px -15px;
    }
    div.mask {
        max-width:706px;
    }
    nav div.container {display:block;}
    nav.SideBarNav {
        display:none;
    }
    .dropdown-menu {
        display: block;
        position: relative;
        width: 100%;
        margin: 0px 1px 12px 0px;
        padding: 0;
        border-radius: 0px;
        box-shadow: none;
        border: 0;
    }
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    div.mask {
        max-width:480px;
    }
}

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