.md-menu {
  z-index: 8;
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
    0px 8px 10px 1px rgba(0, 0, 0, 0.14),
    0px 3px 14px 2px rgba(0, 0, 0, 0.12);
  position: relative;
}

.md-app-bar {
  z-index: 4;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
    0px 4px 5px 0px rgba(0, 0, 0, 0.14),
    0px 1px 10px 0px rgba(0, 0, 0, 0.12);
  position: relative;
}

.md-has-divider+.md-has-divider {
  border-top: 1px solid rgba(0,0,0,0.12);
}

[data-olefa-object="trigger"] {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.md-app-bar {
  background-color: var(--mdc-theme-primary);
  color: var(--mdc-theme-on-primary);
  height: 56px;
}


/* Personalized content */

body {
	font-size: small;
	font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif;
	margin: 0;
	padding: 0;
}

a {
	color: var(--mdc-theme-primary);
	outline: none;
}

#loginpage-logo {
	display: block;
	margin: 0 auto;
	width: 400px;
        max-width: 90%;
}

#olefa-login.site-login {
	margin: 50px auto;
	display: block;
}

.olefa-login .olefa-login-form-password-forgot {
    color: var(--mdc-theme-on-primary) !important;
}

.md-app-bar {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.md-app-bar > div {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	flex-grow: 1;
	height: 100%;
	width: 100%;
	font-weight: 500;
}

.site-header-nav {
	padding: 16px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	cursor: pointer;
}

.site-header-nav > i.close, .site-header-nav[data-open="true"] > i.hamburger {
	display: none;
}

.site-header-nav[data-open="true"] > i.close {
	display: block;
}

.site-header-title-wrapper {
	font-weight: 500;
	font-size: calc(24px - 0.4em);
	overflow: hidden;
	flex-shrink: 1 !important;
	white-space: nowrap;
	padding: 16px;
	display: flex;
	align-items: center;
}

.site-header-title {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
}

#site-navigation {
	position: fixed;
	top: 0;
	left: 0;
	max-width: 320px;
	height: 100%;
	background: #eee;
	z-index: 2;
	width: calc(100vw - 56px);
	box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
    0px 4px 5px 0px rgba(0, 0, 0, 0.14),
    0px 1px 10px 0px rgba(0, 0, 0, 0.12);
	transform: translateX(-110%);
	
	transition-property: transform, opacity, z-index;
	transition-duration: var(--md-duration-general-appear), 0s, 0s;
	transition-timing-function: var(--md-easing-decel);
	transition-delay: 0s;
	
	height: calc(100% - 56px);
	margin-top: 56px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#site-navigation[data-expanded="true"] {
	transform: translateX(0);
}

#site-navigation ul.autonav {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
.autonav > li > a {
    position: relative;
    display: block;
    padding: 20px;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    background-color: rgba(0,0,0,0);
    transition: color 0.15s, background-color 0.15s;
    border-bottom: 1px #ccc solid;
}
.autonav > li > a.selected, .autonav > li > a:hover, .autonav > li > a:active {
    background-color: rgba(0,0,0,0.05);
    color: rgb(0, 0, 0);
}

.site-navigation-content-block {
	padding: 20px;
}

#site-navigation hr {
	border-top: 0;
	border-bottom: 1px #ccc solid;
}

#site-content {
	position: fixed;
	top: 0;
	left: 0;
	
	display: block;
	margin-left: 0;
	margin-top: 56px;

	padding: 35px 20px;
	box-sizing: border-box;

	width: 100%;
	height: calc(100% - 56px);
	
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	
	transition-property: margin-left, width;
	transition-duration: var(--md-duration-general-appear), 0s, 0s;
	transition-timing-function: var(--md-easing-decel);
	transition-delay: 0s;
}

#site-content.no-padding {
	padding: 0;
}

.site-bottom-spacer {
    height: 35px;
}

.site-account {
    display: flex;
}
.site-account-logo img {
    display: block;
    margin: auto 10px auto 0;
}
.site-accunt-details {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.site-account-details > * {
    display: block;
    margin: 0;
    padding: 2px 0;
    width: 100%;
    white-space: no-wrap
    text-overflow: elipsis;
}
.site-account-details > p {
    font-weight: bold;
    padding: 2px 0 6px 0;
}

span.explication {
    color: #999;
    font-size: smaller;
}

.responsive-list {
    display: block;
    position: relative;
}
.listline {
    display: flex;
    position: relative;
    flex-direction: row;
    width: 100%;
	margin: 0 0 2px 0;
}
.listline-col {
    display: block;
    position: relative;
    background-color: #eee;
    color: #000;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    transition: background-color 0.15s;
}
.listline-col.listline-allrow {
    width: 100%;
}
.listline:hover {
	text-decoration: none;
}
.listline:hover .listline-col {
    background-color: #ddd;
}

#dokumentationen_list_baselist .listline > .listline-col:nth-child(1) {
    width: 15%;
}
#dokumentationen_list_baselist .listline > .listline-col:nth-child(2) {
    width: 25%;
}
#dokumentationen_list_baselist .listline > .listline-col:nth-child(3) {
    width: 25%;
}
#dokumentationen_list_baselist .listline > .listline-col:nth-child(4) {
    width: 35%;
}

#personen_list_baselist .listline > .listline-col:nth-child(1) {
    width: 50%;
}
#personen_list_baselist .listline > .listline-col:nth-child(2) {
    width: 50%;
}



.lastname {
    text-transform: uppercase;
}




form.baseaddform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), form.baseaddform textarea, form.basesearchform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), form.baseaddform select, form.basesearchform select, form#stat-select input {
    padding: 5px 2px;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    border-radius: 0;
    border: 1px #eee solid;
}

form.baseaddform select, form.basesearchform select {
	background: url('/osr/icons/flat/bw/16/arrow_down.png') calc(100% - 10px) center no-repeat;
	background-size: 10px;
}

form.baseaddform label, form.basesearchform label {
    color: #333;
}

form#stat-select input#range_from, form#stat-select input#range_to {
    width: 130px;
    box-sizing: content-box;
}

.oljq-button, .oljq-button:hover {
    border: 0 !important;
    background: var(--mdc-theme-primary) !important;
    border-radius: 0 !important;
    color: var(--mdc-theme-on-primary) !important;
	-webkit-appearance: none;
}

form#stat-select .oljq-button {
    width: auto;
    margin-left: 10px;
    padding: 4px 10px;
}

#detailview-icons {
    text-align: right;
}
.detailview-label {
    color: #333;
}
.detailview-content {
    font-weight: bold;
}

#detailview-pics {
    display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

#detailview-pics > li > img {
    height: 150px;
    margin-right: 10px;
}

.selection-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
}

.selection-buttons > * {
    width: 50%;
    margin: 20px 0;
}

.person-item {
	margin-bottom: 10px;
}
.person-item .person-title {
	cursor: pointer;
	font-weight: bold;
}
.person-item .person-arrow {
    display: inline-block;
    vertical-align: top;
    transition: transform 0.2s;
}
.person-item.open .person-arrow {
    transform: rotate(90deg);
}
.person-item .person-text {
	position: relative;
	display: none;
	border-bottom: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-radius: 0 0 0 5px;
	padding-bottom: 10px;
	margin-top: 5px;
	padding-top: 5px;
	padding-left: 10px;
	margin-bottom: 10px;
	margin-left: 7px;
}


.site-statistics {
    width: 100%;
}

.site-statistics td:not(:first-child) {
    width: 50px;
    text-align: right;
}

.stat_comp_total {
    font-weight: bold;
}

table.site-calc-totals tfoot td {
    font-weight: bold;
}

.olefatitlebar > div > a > img[src="/osr/icons/flat/bw/24/previous.png"], 
.olefatitlebar > div > a > img[src="/osr/icons/flat/bw/24/next.png"],
.olefatitlebar form#switch, 
.olefatitlebar input[form="switch"] {
    display: none;
}

.logo_print_only {
    display: none;
}

.full-width {
    width: 100%;
}




@media only screen and (min-width: 950px) {
	#site-navigation {
		transform: translateX(0);
	}
	#site-content {
		margin-left: 320px;
		width: calc(100% - 320px);
		padding: 35px;
	}
	.site-header-nav {
		display: none;
	}
}

@media only screen and (min-width: 900px) {
	.two-cols {
		display: flex;
		justify-content: space-between;
	}
	.two-cols > * {
		width: 48%;
	}
}

@media only screen and (max-width: 625px) {
	.listline-col {
		width: auto !important;
		padding: 5px;
	}
	.listline {
	    flex-direction: column;
	}
}

@media print {
    #detailview-icons, 
    .site-header-title-wrapper, 
    .olefa-app-view-header,
    .oljq-button {
        display: none;
    }
    #site-content {
        margin: 0;
    }
    #site-content {
        position: relative;
    }
    .person-item .person-text {
        display: block;
    }
    .logo_print_only {
        display: block;
        width: 300px;
    }
}