﻿/* Standard-Formatierungen */
html {
    box-sizing: border-box;
    font-size: 14px;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.text-muted {
    color: #818a91 !important;
}

a.text-muted:focus, a.text-muted:hover {
    color: #687077;
}

@-ms-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-webkit-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

body {
    margin: 0;
    padding: 20px;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
        background: #ffffff url('/Content/images/bg_body_V2.jpg') center 120px no-repeat;
    -webkit-font-smoothing: antialiased;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: #2980b9;
    text-decoration: none;
}

    a:focus, a:hover {
        color: #1b557a;
        text-decoration: underline;
    }

    a:focus {
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    a:not([href]):not([tabindex]) {
        color: inherit;
        text-decoration: none;
    }

        a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
            color: inherit;
            text-decoration: none;
        }

        a:not([href]):not([tabindex]):focus {
            outline: none;
        }

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.container-fluid {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px; }

@media (min-width: 544px) {
    .container {
        max-width: 576px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 940px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}



h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.1;
    color: inherit;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.75rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1rem;
}

h6, .h6 {
    font-size: 1rem;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

table {
    border-collapse: collapse;
    background-color: transparent;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

    .table th,
    .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #eceeef;
    }

    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #eceeef;
    }

    .table tbody + tbody {
        border-top: 2px solid #eceeef;
    }

    .table .table {
        background-color: #fff;
    }

.table-sm th,
.table-sm td {
    padding: 0.3rem;
    text-align: left;
}

.btn {
    display: inline-block;
    font-weight: normal;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

    .btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .btn:focus, .btn:hover {
        text-decoration: none;
    }

    .btn.focus {
        text-decoration: none;
    }

    .btn:active, .btn.active {
        background-image: none;
        outline: 0;
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }

    .btn.disabled, .btn:disabled {
        cursor: not-allowed;
        opacity: .65;
        box-shadow: none;
    }

a.btn.disabled,
fieldset[disabled] a.btn {
    pointer-events: none;
}

.btn-primary {
    color: #fff;
    background-color: #2980b9;
    border-color: #2980b9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

    .btn-primary:hover {
        color: #fff;
        background-color: #20638f;
        border-color: #1e5d87;
    }

    .btn-primary:focus, .btn-primary.focus {
        color: #fff;
        background-color: #20638f;
        border-color: #1e5d87;
    }

    .btn-primary:active, .btn-primary.active,
    .open > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #20638f;
        border-color: #1e5d87;
        background-image: none;
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }

        .btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus,
        .open > .btn-primary.dropdown-toggle:hover,
        .open > .btn-primary.dropdown-toggle:focus,
        .open > .btn-primary.dropdown-toggle.focus {
            color: #fff;
            background-color: #194f72;
            border-color: #123851;
        }

    .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary:disabled:focus, .btn-primary:disabled.focus {
        background-color: #2980b9;
        border-color: #2980b9;
    }

    .btn-primary.disabled:hover, .btn-primary:disabled:hover {
        background-color: #2980b9;
        border-color: #2980b9;
    }

.btn-secondary {
    color: #373a3c;
    background-color: #eee;
    border-color: #ccc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

    .btn-secondary:hover {
        color: #373a3c;
        background-color: #d5d5d5;
        border-color: #adadad;
    }

    .btn-secondary:focus, .btn-secondary.focus {
        color: #373a3c;
        background-color: #d5d5d5;
        border-color: #adadad;
    }

    .btn-secondary:active, .btn-secondary.active,
    .open > .btn-secondary.dropdown-toggle {
        color: #373a3c;
        background-color: #d5d5d5;
        border-color: #adadad;
        background-image: none;
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }

        .btn-secondary:active:hover, .btn-secondary:active:focus, .btn-secondary:active.focus, .btn-secondary.active:hover, .btn-secondary.active:focus, .btn-secondary.active.focus,
        .open > .btn-secondary.dropdown-toggle:hover,
        .open > .btn-secondary.dropdown-toggle:focus,
        .open > .btn-secondary.dropdown-toggle.focus {
            color: #373a3c;
            background-color: #c3c3c3;
            border-color: #8c8c8c;
        }

    .btn-secondary.disabled:focus, .btn-secondary.disabled.focus, .btn-secondary:disabled:focus, .btn-secondary:disabled.focus {
        background-color: #eee;
        border-color: #ccc;
    }

    .btn-secondary.disabled:hover, .btn-secondary:disabled:hover {
        background-color: #eee;
        border-color: #ccc;
    }

.btn-group,
.btn-group-vertical {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

    .btn-group > .btn,
    .btn-group-vertical > .btn {
        position: relative;
        float: left;
    }

        .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,
        .btn-group-vertical > .btn:focus,
        .btn-group-vertical > .btn:active,
        .btn-group-vertical > .btn.active {
            z-index: 2;
        }

        .btn-group > .btn:hover,
        .btn-group-vertical > .btn:hover {
            z-index: 2;
        }

    .btn-group .btn + .btn,
    .btn-group .btn + .btn-group,
    .btn-group .btn-group + .btn,
    .btn-group .btn-group + .btn-group {
        margin-left: -1px;
    }

.btn-sm, .btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

img {
    vertical-align: middle;
    border-style: none;
}


ul {
    margin-top: 0;
    margin-bottom: 1rem;
}




/* mhBWeb spezifische Formatierungen */
#wrapper {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    padding: 0;
    background-color: #F0F0F0;
    box-shadow: 0 0 30px 0 rgba(0,0,0,0.25);
    padding-bottom: 10px;
    position: relative;
}

    #wrapper:after {
        content: 'erstellt mit mhbSuite';
        position: absolute;
        right: 2px;
        bottom: -15px;
        font-size: 11px;
    }

.titlebar {
    background-color: #4664aa;
    color: white;
    padding: 10px 15px;
}

.toolbar {
    padding: 10px 15px;
    box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    background-color: white;
    color: #4B637A;
}

    .toolbar h2 {
        margin: 0;
    }

.content {
    background-color: white;
    margin: 10px;
    padding: 5px;
    margin-bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.created {
    font-size: 18px;
    display: block;
    float: right;
}


.detailrow {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 0;
    z-index: 999;
    transition: all 0.5s ease;
    background-color: #fefefe;
}

.detailrow.col-0  {
    display: none;
}
.detailrow.col-1  {
    width: 30vw;
}
.detailrow.col-2  {
    width: 60vw;
}
.detailrow.col-3  {
    width: 90vw;
}

.detailwindow {
    background-color: #fefefe;
    padding: 10px 20px;
    height: 100%;
    width: 30vw;
    overflow: auto;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.15);
    transition: position 0.3s ease-in-out;
    z-index: 9999;
    font-size: 13px;
    float: left;
}

.detailwindow .detailblock {
    margin-bottom: 20px;
}

.letterbox {
    background-color: #ccc;
    line-height: 40px;
    font-size: 28px;
    text-align: center;
    color: white;
    height: 40px;
    width: 40px;
    display: block;
    margin-right: 5px;
}

.bricklist td:first-child {
    white-space: nowrap;
}

.metaboxes {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

    .metaboxes div {
        border-radius: 2px;
        box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.15);
        text-align: center;
        font-weight: 500;
        padding: 3px 10px;
    }

     .metaboxes.blue div {
        border: 1px solid #4664aa;
        background-color: #e3e8f2;
    }

    .metaboxes.green div {
        border: 1px solid #009682;
        background-color: #d9efec;
    }

    .metaboxes.violet div {
        border: 1px solid #9b59b6;
        background-color: #e9dbee;
    }
    .metaboxes.orange div {
         border: 1px solid #df9b1b;
        background-color: #faf0dd;
    }
.letterbox.green {
    background-color: #009682
;
}

.letterbox.blue {
    background-color: #4664aa;
}
.letterbox.orange {
    background-color: #df9b1b
}
.letterbox.violet {
    background-color: #9b59b6;
}

.bg-primary a, .bg-success a {
    color: white;
}

table {
    position: relative;
}

tr.active.green {
    background-color: #009682;
    color: white;
}

tr.active.blue {
    background-color: #4664aa;
    color: white;
}

tr.active.violet {
    background-color: #bb7fd5;
    color: white;
}

tr.active.orange {
    background-color: #df9b1b;
    color: white;
}

tr.active a {
    color: white;
}

tr.active.left:after {
    content: '\f053';
    font-family: 'FontAwesome';
    position: absolute;
    left: -15px;
    margin-top: 5px;
}

tr.active.right:after {
    content: '\f054 ';
    font-family: 'FontAwesome';
    position: absolute;
    right: -15px;
    margin-top: 5px;
}

tr.active.green:after {
    color: #009682;
}

tr.active.blue:after {
    color: #4664aa;
}

tr.active.violet:after {
    color: #9b59b6;
}
tr.active.orange:after {
    color: #df9b1b;
}
h4 {
    margin-bottom: 3px;
}

a[ng-click] {
    font-weight: 600;
}


.detailrow.full.col-1, .detailrow.full.col-2, .detailrow.full.col-3 {
        width: 100vw;
        left: 0;
    }
    .detailrow.full .detailwindow {
        width: 100vw;
        position: absolute;
		padding: 5px;
    }

@media screen and (max-width: 767px) {
    body {
        padding: 0;
    }
    .detailrow.col-1, .detailrow.col-2, .detailrow.col-3 {
        width: 100vw;
        left: 0;
    }
    .detailwindow {
        width: 100vw;
        position: absolute;
		padding: 5px;
    }
	h1 {
		font-size: 1.3rem;
	}
	treecontrol li {
		line-height: 26px;
	}
	treecontrol li .tree-label {
		font-size: 16px;
	}
}