body {
    position: absolute;
    margin: 0px;
    padding: 0px;
    font-family: Helvetica, Arial, sans-serif;
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    overflow: auto;
    width:100%;
    height:100%;
}

form{
	/* overflow-x: auto; */
}

fieldset{
	max-width: 100%;
	margin-top: 1em;
	margin-bottom: 1em;
}

table{
	width: 100%;
}

table.bordered{
	border-spacing: 5px;
}

table.bordered tr > td,
table.bordered tr > th{
	border: 1px dashed #ccc;
	padding: 10px 20px;
}


/*
Grundlegende Einstellungen für Formulare
*/

label{
	display: inline-block;
}

input, select, textarea, button {
    vertical-align: middle;
    margin: 0;
}

textarea{
	resize:vertical;
}

/*

button{
	
}

input[readonly],select[readonly],textarea[readonly]{
    
}

input[disabled],select[disabled],textarea[disabled]{
    
}

*/

.flex{
	display: flex;
	flex-wrap: wrap;
}

.flex-break{
	display: flex;
	width:100%;
}

.flex-items-center{
	align-items: center;
}

.flex-row{
	flex-direction: row;
}

.flex-col{
	flex-direction: column;
}

.flex-full{
	width: 100%;
}

.table-row{
	display: table-row;
}

.table-cell{
	display: table-cell;
}

.changed {
    font-style: italic;
}

.noWrap{
	white-space: nowrap;
}

/*

button { 
  
}

*/

h2{
    font-weight:bold;
    font-size:1.6em;
}

h3{
    font-weight:bold;
    font-size:1.0em;
}

p {
    padding: 0.5em;
}

a{
    text-decoration: none;
    font-family: Calibri, sans-serif;
    color: #333;
}

a:visited,
a:hover{
    color: #333;
}

a:hover{
    text-decoration: underline;
}

ul{
	/*
	list-style-position: inside;
	*/
	padding-left: 1.5em;
}

ul > li{
	text-align: left;
}

/* FORMS */

::-webkit-validation-bubble-icon {
    display: none;
}

::-webkit-validation-bubble-message:before {
    background: url(/img/error.png) no-repeat 0 1px;
    content: "";
    display: inline-block;
    margin-right: 5px;
    height: 17px;
    width: 17px;
}

::-webkit-validation-bubble-message {
    background-color: #62788d;
    background-image: -webkit-linear-gradient(#62788d 50%, #2c363f 100%);
    border: 1px solid #21292c;
    box-shadow: rgba(0, 0, 0, 0.5) 0 1px 6px, inset #839fb7 0 1px 0px;
    color: #ececec;
    font: 13px "Segoe UI", Arial, sans-serif;
    padding: 8px 8px 6px;
    text-shadow: #334d64 0 -1px 0;
    top: -4px;
}

::-webkit-validation-bubble-arrow {
    background-color: #62788d;
    border: 1px solid #21292c;
    border-right: none;
    border-bottom: none;
    display: inline-block;
    left: 30px;
    top: 3px;
    height: 13px;
    width: 13px;
}

::-webkit-validation-bubble-arrow-clipper {
    height: 17px;
}

legend {
    font-weight: bold;
    font-size: 0.8em;
    padding: 6px;
    color: black;
    background-color: #ffffff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #333333;
    border-style: inset;
    line-height: 1em;
    vertical-align: middle;
}

p.legendSelect {
    float: right;
}

div.legendSelect {
    float: right ;
}

fieldset div.fieldContainer.tableContainer{
	display: table;
	width: auto;
}

fieldset div.fieldContainer.tableContainer > div.input{
	display: table-row;
}

.tableRow{
	display: table-row;
}

fieldset div.fieldContainer.tableContainer > div.input > label,
fieldset div.fieldContainer.tableContainer > div.input > .formElement{
	display: table-cell;
	padding: 0.25em;
}

fieldset div.fieldContainer.tableContainer > div.input > label{
	vertical-align: top;
}

fieldset div.fieldContainer.tableContainer > div.input > .formElement{
	vertical-align: middle;
}

fieldset div.fieldContainer.tableContainer > div.input > label > *,
fieldset div.fieldContainer.tableContainer > div.input > .formElement > *:not(.ui-multiselect){
	display: inline-block;
}

fieldset div.fieldContainer.flex > div.input{
	display: flex;
	align-items: center;
	padding: 0.25em;
}

fieldset div.fieldContainer.flex > div.input > label,
fieldset div.fieldContainer.flex > div.input > .formElement{
	display: flex;
	align-items: center;
}

p.input {
    display: block;
    float: none;
    min-height: 2em;
    padding: 0.25em;
    margin: 0;
}

div.input {
    display: flex;
	align-items: center;
}

div.input > label{
   	line-height: 2em;
    display: flex;
	align-items: center;
}

label.label-200{
	width: 200px;
}

div.input label > span{
    margin-right: 5px;
    text-align: left; 
    /* float: right; */
}

div.input > .formElement{
    display: flex;
	align-items: center;
}

td > div.input > .formElement{
	width: 100%;
}

.formElement span.hint{
	display: block;
	font-size: smaller;
}


div.input button,
div.input input,
div.input select,
div.input textarea,
div.input output {
    display: inline-block;
}

div.input output {
    /*max-width:20em;*/
    padding-left: 2px;
	padding-right: 8px;
}


div.input input.datepicker{
	width: 7em;
	text-align: right;
}


input:-moz-placeholder {
    color: #e7e7e7;
}

button.textlink {
    border: none;
    margin: 0;
    background-color: transparent;
    color: #000077;
}

button.textlink:hover {
    text-decoration: underline;
}

button.deletebutton {
    background-color: transparent;
    background-image: url("/img/edit-delete.png");
    background-repeat: no-repeat;
    border: 0 none;
    cursor: pointer;
    height: 16px;
    left: 10em;
    position: absolute;
    text-align: left;
    top: 10px;
    width: 16px;
}

button.deletebutton:hover {
    border-color: #ff6600;
}

li.inpList {
    list-style-type: none;
    text-align: right;
    width: auto;
}

li.inpList button.deletebutton {
    float: right;
}

.form_highlight {
    border-color: red;
}

/* HEADER */

header {
    display: block;
    height: 50px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    border-bottom: 2px solid;
    background-color: #FFFFFF;
    z-index: 100;
}

/* SUCCESS BOX */

#success_box {
    display: none;
    position: absolute;
    top: 0px;
    left: 30%;
    right: 30%;
    height: 40px;
    text-align: center;
    background-color: #000000;
    color: #EFEFEF;
    font-weight: bold;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 200;
    padding-top: 10px;
    font-size: 18px;
}

/* ERROR BOX */

#error_box {
    display: none;
    position: absolute;
    top: 0px;
    left: 30%;
    right: 30%;
    height: 40px;
    text-align: center;
    background-color: #E21818;
    color: #EFEFEF;
    font-weight: bold;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 200;
    padding-top: 10px;
    font-size: 18px;
}

/* ERROR LIST */

.error {
    position: absolute;
    width: 200px;
    left: 20px;
    top: 10px;
    z-index: 200;
}

.error span.errorTitle {
    color: #b71a20;
    background-color: #ddd;
    cursor: pointer;
    padding: 5px;
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.error span.errorTitle:hover {
    color: #fff;
    background-color: #b71a20;
}

.error ul.errorList {
    display: block;
    background-color: #b71a20;
    width: 300px;
    padding: 1em;
    margin-top: 10px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.error ul.errorList li {
    color: #fff;
    list-style-type: none;
    width: 100%;
}

.error ul.errorList li:hover {
    background-color: #fff;
    color: #b71a20;
}

/* MENU */

nav.mainmenu {
    display: block;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 50px;
    width: 100%;
}

nav.mainmenu ul {
    margin: 0 auto;
    width: 1000px;
    list-style-type: none;
    text-align: center;
}

nav.mainmenu ul li {
    text-align: center;
    margin-top: 20px;
    float: left;
    height: 30px;
    min-width: 100px;
    background-color: #b71a20;
    color: #FFFFFF;
    font-weight: normal;
    margin-right: 5px;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

nav.mainmenu ul li:hover,nav.mainmenu ul li.active {
    background-color: #efefef;
}

nav.mainmenu ul li:hover a,nav.mainmenu ul li.active a {
    color: #000;
}

nav.mainmenu ul li a {
    padding: 7px;
    font-weight: normal;
    color: #ffffff;
    text-decoration: none;
    display: block;
}

/* LOGIN */

#login_div {
    position: relative;
    width: 340px;
    margin: auto;
    top: 50%;
    margin-top: -160px;
    text-align: center;
    -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 15px;
    background-color: #E7E7E7;
}

#login_div #progressbar {
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
	width: 100%;
}

/*

#login_div .ui-progressbar .ui-progressbar-value {
    #position: relative;
    #bottom: 18px;
}

*/

#login_div > span {
    display: inline;
    text-align: center;
    line-height: 35px;
    vertical-align: top;
}

/* SAVE */

#refresh_all {
    position: absolute;
    right: 134px;
    top: 10px;
    background-image: url(/img/reload.png);
    background-repeat: no-repeat;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

#save_all {
    position: absolute;
    right: 94px;
    top: 10px;
    background-image: url(/img/save.png);
    background-repeat: no-repeat;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

#export_all {
    position: absolute;
    right: 52px;
    top: 10px;
    background-image: url(/img/export.png);
    background-repeat: no-repeat;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

/* LOGOUT */

#logout {
    position: absolute;
    right: 10px;
    top: 10px;
    background-image: url(/img/log-out.png);
    background-repeat: no-repeat;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

#logout a {
    display: block;
}

/* OFFERS */

.vote-yes:hover,
.vote-no:hover,
.vote-delete:hover{
	text-decoration: none;
}

.vote-yes:before{
	content: "\f0fe";
	font-family: 'Font Awesome 5 Free';
	font-size: 1.3em;
	color: green;
	margin: 0px 3px;
}

.vote-no:before{
	content: "\f146";
	font-family: 'Font Awesome 5 Free';
	font-size: 1.3em;
	color: #f00;
	margin: 0px 3px;
}

.vote-delete:before{
	content: "\f057";
	font-family: 'Font Awesome 5 Free';
	font-size: 1.3em;
	color: #000;
	margin: 0px 3px;
}

/* CONTENT */

section#content {
    margin-right: 0px;
    margin-left: 360px;
    margin-top: 50px;
    margin-bottom: 0px;
}

section#content.notree {
    margin-left: 0px ;
}

.idle {
    visibility: hidden;
}

.working {
    visibility: visible;
}

.filter {
    display: block;
    position: fixed;
    top: 52px;
    left: 1%;
    right: 1%;
    padding: 10px;
    -webkit-border-bottom-left-radius: 15px;
    -webkit-border-bottom-right-radius: 15px;
    -moz-border-bottom-right-radius: 15px;
    -moz-border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: #e7e7e7;
    -moz-box-shadow: 1px 1px 2px #000;
    -webkit-box-shadow: 1px 1px 2px #000;
    box-shadow: 1px 1px 2px #000;
}

.filter fieldset {
    border: 0px;    
    margin: 0;
}

.filter div.input {
    float: left;
    margin: 5px;
    padding: 0px;
}

/* OVERLAYBOX */

#process_working {
    position: fixed;
    top: 50px;
    left: 0px;
    bottom: 0px;
    width: 100%;
    /* height: 100%; */
    background-color: #cccccc;
    opacity: 0.5;
    text-align: center;
    z-index: 20000;
}

#process_working img {
    position: relative;
    top: 50%;
    margin-top: -24px;
}

/* TREE */

#tree {
    position: fixed;
    top: 70px;
    bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    width: 19%;
    left: 1%;
    width: 320px;
    background-color: #e7e7e7;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 10px;
    -moz-box-shadow: 1px 1px 2px #000;
    -webkit-box-shadow: 1px 1px 2px #000;
    box-shadow: 1px 1px 2px #000;
    z-index: 1;
}

#tree.treeartikel{
    top: 195px;
}

section#content.notree #tree{
    display:none;
}

#tree .tree_type_odd {
    background-color: #e7e7e7;
    width: 100%;
    position: relative;
    left: 0px;
    right: 0px;
    display: block;
}

#tree .tree_type_even {
    background-color: #e7e7e7;
    width: 100%;
    position: relative;
    left: 0px;
    right: 0px;
    display: block;
}

#content>#content_right {
	padding: 1em;
    background-color: #e7e7e7;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -moz-box-shadow: 1px 1px 2px #000;
    -webkit-box-shadow: 1px 1px 2px #000;
    box-shadow: 1px 1px 2px #000;
    margin-bottom: 20px;
}

#content > #content_right.content_right_merkmal {
    margin-top: 100px;
    margin-right: 10px;
    margin-left: 15px;
}

#content > #content_right.content_right_artikellist{
	position: absolute;
    top: 245px;
    right: 20px;
	left: 370px;
    bottom: 50px;
    margin: 0px;
}

#content > #content_right.content_right_artikel {
    margin-top: 135px;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 50px;
}

#content > #content_right.content_right_missing {
    padding-bottom: 50px ;
    margin-left: 10px;
    margin-top: 15px;
    margin-right: 10px;
}

#content > #content_right.content_right_stammdaten,
#content > #content_right.content_right_auftraege {
    margin-top: 70px;
	margin-right: 10px;
	margin-left: 10px;
}

#content > #content_right.content_right_save {
    margin-left: 10px;
    margin-top: 15px;
    margin-right: 10px;
}
#content > #content_right.content_right_home {
    margin-top: 70px;
	margin-right: 10px;
	margin-left: 10px;
}

#content > #content_right.content_right_hersteller {
    margin-top: 110px;
	margin-right: 10px;
	margin-left: 20px;
}

#content > #content_right.content_right_merkmal fieldset {
    margin-bottom: 20px;
}

#content > #content_right.content_right_kategorie{
    margin-top: 100px;
    margin-right: 10px;
    margin-left: 15px;
}

#table_div {
    clear: both;
    display: block;
    height: 100%;
}

#table_div_property {
    clear: both;
    display: block;
}

.itemTable input:-moz-placeholder {
    color: #CCCCCC;
}

#itemTable {
    text-align:center;
    /* table-layout:fixed; */
}

#itemTable td div input,
.dataTable td div input {
    width:100%;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
}

#itemTable tbody tr td.itemImageCol img{
	max-width: 90%;
	max-height: 100px;
	margin: 0.2em;
}

#itemTable td.inp10w div {
    width:auto;
}

#itemTable td.inp25w div {
    width:3em;
    clear:none;
    float: left;
}

/*

#itemTable tbody tr td.itemAvailabilityCol{
	
}

*/

#itemTable tbody tr td.itemAvailabilityCol div.input {
    display: inline-flex;
	flex-wrap: nowrap;
}

#containerRequiredPropertygroups{
	display: flex;
	flex-wrap: wrap;
}


#containerRequiredPropertygroups .input .formElement, 
#containerRequiredPropertygroups .input .formElement select {
    width: 100%;
}

#containerRequiredPropertygroups .input {
    margin: 0.5em;
	flex: 1 1 225px;
	align-items: baseline;
	display: flex;
	flex-direction: column;
}

#containerRequiredPropertygroups .input label {
	margin: auto;
}

/* EDIT BUTTON */

div.buttonPanel{
	display: flex;
	justify-content: space-between;
	width: 80px;
}

.editBtn {
    display: inline-block;
    border: 0px;
    background-image: url(/img/edit2.png);
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    cursor: pointer;
    padding: 0;
}

/* NEW BUTTON */

table td .newBtn {
    border: 0px;
    background-image: url(/img/new_from_copy.png);
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    cursor: pointer;
    padding: 0;
}

/* DELETE BUTTON */

table td .delBtn {
    border: 0px;
    background-image: url(/img/edit_delete.png);
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    cursor: pointer;
    padding: 0;
}

/* ADD BUTTON */

.addDiv {
	padding-left: 20px;
	padding-top: 15px;
	width: 18%;
	position: fixed;
	left: 10px;
	top: 50px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.addButton {
	background-image: url('/img/edit-add-small.png');
	background-color: transparent;
	display: inline;
	width: 16px;
	height: 16px;
	border: 0px solid #000;
	margin-right: 0.5em;
}

/* HIDDEN; FLOAT AND CLEAR CLASSES */

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

.floatLeft {
    float: left !important;
}

.floatRight {
    float: right !important;
}

.floatNone {
    float: none !important;
}

.clearLeft {
    clear: left !important;
}

.clearRight {
    clear: right !important;
}

.clearBoth {
    clear: both !important;
}

.clearNone {
    clear: none !important;
}

.inlineBlock {
    display: inline-block !important;
}



/* TABLE STYLES */

.dataTables_paginate{
	display:flex;
}


.dataTables_paginate > span{
	display:flex;
}

.paginate_button {
	background-color: #fff;
	border: 1px solid #333;
	padding: 5px;
	margin-left: 5px;
	margin-right: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
	min-width: 21px;
	text-align: center;
}

span > .paginate_button {
	padding-right: 5px;
	padding-left: 5px;
}

.paginate_button:hover {
	background-color: #555;
	color: #fff;
}

/*
 *
 *
 * TOGGLE BUTTON
 *
 *
 *
 */
 
 .reorderStatus .toggleButton > label {
    white-space: nowrap;
}

.toggle {
  margin: 0.5rem 1rem;
  box-sizing: border-box;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: stretch;
}

.toggle .toggleButton {
	display: flex;
	flex-direction: column;
}

.toggle .toggleButton > .toggleContent {
	display: none;
}

.toggle .toggleButton > input:checked + label + .toggleContent {
	display: inline-block;
}

.toggle .toggleButton > input {
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
}

.toggle .toggleButton > input + label {
  margin: 0;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  border: 1px solid #ddd;
  background-color: #fff;
  font-size: 1rem;
  line-height: 140%;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
  /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
  /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
  /* ----- */
}

.toggle .toggleButton:first-of-type > input + label {
  border-radius: 6px 0 0 6px;
  border-right-color: transparent;
}

.toggle .toggleButton:last-of-type > input + label {
  border-radius: 0 6px 6px 0;
  border-left-color: transparent;
}

.toggle .toggleButton > input:hover + label {
  border-color: #213140;
}

.toggle .toggleButton > input:checked + label {
  background-color: #4b9dea;
  color: #fff;
  box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
  border-color: #4b9dea;
  z-index: 1;
}

.toggle .toggleButton > input:focus + label {
  outline: dotted 0px #ccc;
  outline-offset: 0.45rem;
}

@media (max-width: 800px) {
  .toggle input + label {
    padding: 0.75rem 0.25rem;
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


