
.mdl-button--raised {
  color: rgb(255,255,255) !important;
  background-color: var(--main-text-color) !important;
}

/* overflow-x to prevent select2 horizontal scrollbar */
body{
	 overflow-x: hidden;
}

.main-text-color {
  color: var(--main-text-color);
}

.mdl-chip__text {
	cursor: pointer;
}

.vbo-workflow {
  height: 45px;
  border-radius: 16px 16px 0px 0px;
  margin: 25px 5px 0px 0;
  padding-top: 5px;
  cursor: pointer;
  
  box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.14), inset 0 3px 1px -2px rgba(0, 0, 0, 0.2), inset 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.mdl-data-table td {
    word-wrap: break-word; 
    overflow-wrap: break-word; 
}
  
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
  color: #ffffff !important;
}

.mdl-navigation__link {
  opacity: 0.8 !important; 
}
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover {
	background-color: #808080 !important; 
}
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link--current {
	background-color: #808080 !important;
}

.lbl-toggle:hover, .lbl-menu-toggle:hover{
  background: #808080 !important;
}

.mdl-layout__drawer {
  /*width: 350px !important;*/
  background-color: var(--main-text-color) !important;
  color: #e0e0e0 !important;
}

/* Grid mit 12 Spalten 
.grid12c{
	display: block;
	padding: 15px;
} */

.grid12c{
	display:grid;
	grid-template-columns: repeat(1, 1fr);
	grid-gap: 10px 10px;
	padding: 0px 0px;
}

@media(min-width: 640px){
	.grid12c{
		display:grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 10px 10px;
		padding: 0px 0px;
	}
}
@media(min-width: 1100px){
	.grid12c{
		display:grid;
		grid-template-columns: repeat(12, 1fr);
		grid-gap: 10px 10px;
		padding: 0px 0px;
	}
}

#id_PanelContent{
    padding: 10px 10px;
}

.mdl-textfield__label {
    color: rgba(0,0,0, 0.50) !important;
}

.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
.mdl-textfield--floating-label.is-focused .mdl-textfield__label{
	color: var(--main-text-color) !important;
}

.has-placeholder > label {
	color: var(--main-text-color) !important;
}

.mdl-textfield__input{
	background-color:#fafafa !important;
}

.mdl-textfield.is-disabled .mdl-textfield__input{
	background-color:#ffffff !important;
    color: rgba(0,0,0, 0.50) !important;
}

.dropdown-spacer{
	margin-bottom: 18px;
}

.mandatory{
	color:red;
	float: left;
}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.dashboard-button{
	width: 64px !important;
	height: 64px !important;
	min-width: initial !important;
}
.dashboard-button .material-icons{
	transform: translate(-24px, -12px) !important;
	font-size: 48px  !important;
}


.mdl-dropdown-label{
	font-size: 12px;
}
/**
 * Multiple Select2
 */
.select2-container--material {
  width: 100% !important;
  background-color: #fafafa;
  /**
   * Textbox
   */
  /**
   * Dropdown
   */
  /**
   * Options
   */
  /**
   * Focused textbox
   */
  /**
   * Disabled textbox
   */
}
.select2-container--material ::-webkit-input-placeholder {
  color: inherit;
}
.select2-container--material :-ms-input-placeholder {
  color: inherit;
}
.select2-container--material ::-ms-input-placeholder {
  color: inherit;
}
.select2-container--material ::placeholder {
  color: inherit;
}
.select2-container--material .select2-selection {
  /* @extend input */
  overflow: visible;
  font: inherit;
  touch-action: manipulation;
  margin: 0;
  line-height: inherit;
  border-radius: 0;
  box-sizing: inherit;
  /* @extend .form-control */
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0 0 0;
  font-size: 16px;
  line-height: 1.5;
  background-color: transparent;
  background-image: none;
  border-radius: 0;
  /* @extend input[type=text] */
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  outline: 0;
  width: 100%;
  box-shadow: none;
  transition: all .3s;
}

.select2-container--material .select2-selection--single .select2-selection__rendered{
	padding-right: 0px !important;
}
.select2-container--material .select2-selection .select2-selection__rendered {
  padding-left: 0;
  padding-top: 0;
}
.select2-container--material .select2-selection--single .select2-selection__rendered {
  float: left;
}
.select2-container--material .select2-selection--single .select2-selection__arrow {
  float: right;
}
.select2-container--material .select2-selection--single .select2-selection__clear {
  font-size: 32px;
  top: -12px;
  right: 20px;
  position: absolute;
}
.select2-container--material .select2-selection--multiple {
  /**
   * Multiple selected options
   */
  /**
   * Multiple selected option clear button
   */
   min-height: initial !important;
   line-height: 1.2;
}
.select2-container--material .select2-selection--multiple .select2-selection__rendered {
  width: 100%;
    margin: 0;
}
.select2-container--material .select2-selection--multiple .select2-selection__rendered li {
  list-style: none;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice {
  /* @extend .mdl-chip */
  height: 24px;
  line-height: 24px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  background-color: #dedede;
  display: inline-block;
  color: rgba(0, 0, 0, 0.87);
  font-size: 0;
  white-space: nowrap;
  /* @extend .mdl-chip__text */
  font-size: 13px;
  vertical-align: middle;
  display: inline-block;
  float: left;
  margin-right: 2px;
  margin-bottom: 0px;
  margin-top: 1px;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice__remove {
  /* Hide default content */
  font-size: 0;
  opacity: 0.38;
  cursor: pointer;
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  margin-left: 6px;
  transition: opacity;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice__remove::before {
  content: "cancel";
  /* @extend .material-icons */
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  color: #000;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice__remove:hover {
  opacity: 0.54;
}
.select2-container--material .select2-search--inline .select2-search__field {
  width: 100%;
  margin: 0;
  /* Match input[type=text] */
  height: 20px;
  line-height: 1;
  background-color: #fafafa;
}
.select2-container--material .select2-dropdown {
  border: 0;
}
.select2-container--material .select2-dropdown .select2-search__field {
  margin-bottom: 16px;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0, 0.12);
  transition: all .3s;
}
.select2-container--material .select2-dropdown .select2-search__field:focus {
  border-bottom: 2px solid var(--main-text-color);
  box-shadow: 0 1px 0 0 var(--main-text-color-50);
}
.select2-container--material .select2-results__options {
  /* @extend .zf-shadow-depth* */
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  /* @extend .dropdown-content */
  background-color: #fff;
  margin: 0;
  min-width: 100px;
  max-height: 650px;
  overflow-y: auto;
  z-index: 999;
  will-change: width,height;
  /* @extend .dropdown-content inline styles */
}
.select2-container--material .select2-results__option {
  /* @extend .dropdown-content li */
  cursor: pointer;
  clear: both;
  color: rgba(0, 0, 0, 0.87);
  /*
	line-height: 0.5rem;
  */
  text-align: left;
  text-transform: none;
  /* @extend .dropdown-content li>a, .dropdown-content li>span */
  /*font-size: 1.2rem;*/
  display: block;
  padding: 1rem;
  /**
   * Disabled options
   */
  /**
   * Selected option
   */
  /**
   * Active/hovered option
   */
}
.select2-container--material .select2-results__option[aria-disabled=true] {
  /* @extend .select-dropdown li.disabled */
  color: rgba(0, 0, 0, 0.3);
  background-color: transparent !important;
  cursor: context-menu;
  /* @extend .disabled */
  cursor: not-allowed;
}
.select2-container--material .select2-results__option[aria-selected=true] {
  /* @extend .dropdown-content li:active, .dropdow-content li:hover */
  color: var(--main-text-color);
  background-color: #eee;
}
.select2-container--material .select2-results__option--highlighted[aria-selected] {
  background-color: #ddd;
}
.select2-container--material.select2-container--focus .select2-selection {
  /* @extend input[type=text]:focus */
  border-bottom: 2px solid var(--main-text-color);
  box-shadow: 0 1px 0 0 var(--main-text-color-50);
}

.select2-container--material.select2-container--warning .select2-selection {
  /* @extend input[type=text]:focus */
  border-bottom: 2px solid #cc00dd;
  box-shadow: 0 1px 0 0 var(--main-text-color-50);
}

.select2-container--material.select2-container--disabled .select2-selection {
  /* @extend .select-wrapper input.select-dropdown:disabled */
  color: rgba(0, 0, 0, 0.3);
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  background-color: #ffffff !important;
}
.select2-container--material.select2-container--disabled.select2-container--focus .select2-selection {
  box-shadow: none;
}

.select2-selection-has-error{
  /* @extend input[type=text]:focus */
  border-bottom: 1px solid #ff0000 !important;
  box-shadow: 0 1px 0 0 #ff0000 !important;
}

.select2-container-has-error{
	background-color: rgba(255, 0, 0, 0.1) !important;
}

.selectcss {

  display: inline-block;
  font: inherit;
  line-height: 27px;

  /* reset */

  margin: 0;      
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  
  padding: 0.5em 3.5em 0.5em 1em;
  font-family: inherit;
  background-color: #f8f8f8;
  width: 100%;
  height:27px;
  padding: 2px;
  font-size: 16px;
  color: rgba(0,0,0,0.9);
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.26);
  background-image:
    linear-gradient(45deg, transparent 50%, gray 70%),
    linear-gradient(135deg, gray 70%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em - 3px),
    calc(100% - 15px) calc(1em - 3px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    0px 1.5em;
  background-repeat: no-repeat;

}

.selectcss::-ms-expand {
  display: none;
}

.selectcss option{
	border: none !important;
	background-color:white;
	box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
}

.selectcss:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}
.selectcss:focus {
  border-bottom: 2px solid #3f51b1;
  outline: none !important;
  outline:0 !important;
}


/* ----- Schriftart anpassen -----*/
html, body {
	font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}

.mdl-layout__drawer-button, .mdl-textfield__input{
	font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}

/* ----- space von Rand zu TitleToolbar ----- */
/* ----- Space von Rand zu StatusToolbat -----*/
#titleToolbar, #statusToolbar {
	padding-left: 14px;
}
@media(max-width: 639px){
	#titleToolbar, #statusToolbar {
		padding-left: 27px;
	}	
}

/* Abstand von Buttons */
.mdl-button{
	min-width: 24px;
	padding: 0 6px;	
}

/* ----- Karteikarten Variante für Tabelle im 1-Spalten-Layout ----- */
@media(max-width: 639px){
    .TBHeader tbody{
        display: none;
    }

    .TBBody, .TBBody>tbody, .TBBody tr, .TBBody td{
        display: block;
        width: 100%;
    }
    .TBBody tr{
		height: 100% !important;
		border-bottom: 2px solid #A4A4A4;
    }
    .TBBody td{
        text-align: left;
        padding-left: 50%;
        position: relative;
		border: none !important;
    }
    .TBBody td::before{
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
		color: #003366;
    }


	/* ----- setzt die weite der Tabelle im 1-Spalten-Layout ----- */
	.respLayoutTable{
		width: calc(100vw - 37px);
	}
	/* ----- 1-Spalte-Layout ----- */
	.layoutPanel{
		margin-right: 5px;
	}
	.field_in_table{
		padding: 0px !important;
	}
	.icon_field_in_table{
		bottom: 0px !important;
	}
	.mobile{
		display: none;
	}	
}

/* ---- Feldinhalte, Gruppenüberschrifte, Menüpunkte ---- */

/* ----- Roter Unterstrich des Feldes ----- */
.select2-selection-has-error{
	border-bottom: 1px solid rgb(213,0,0) !important;
}
.select2-container--focus .select2-selection-has-error{
	border-bottom: 2px solid rgb(213,0,0) !important;
}

/* ----- Dropdown anpassen -----*/
.select2-container--material.select2-container--focus .select2-selection{
	box-shadow: none;
}

/* Höhe der Felder an Höhe der Dropdownfelder angepasst*/
.mdl-textfield__input {
	padding-bottom: 6px !important;
}

/* Höhe des Labels eines Feldes an die Höhe des Labels eines Dropdownfeldes angepasst*/
.mdl-textfield--floating-label.is-focused .mdl-textfield__label,
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
	margin-top: -5px; 
}

/* --- Upload Maske FileField optik angepasst ---*/
.fieldFile {
	width:100%; 
	height: 26px; 
	border: none !important; 
	border-bottom: 1px solid rgba(0,0,0,0.12) !important; 
	background-color: #ffffff; 
	color:rgba(0,0,0, 0.50); 
	margin-bottom: 5px;
}
/* ----- Icons innerhalb von InputFields die eine Aktion ausführen ----- */
.iconInBtn{
	color: #ffffff;
	background-color: var(--main-text-color);
	border-radius: 15%;
}
.iconInBtnPosition{
	height: 29px;
	border-radius: 45%;
	padding: 0px;
}
.iconUpload{
	font-size: 22px;
	padding: 1px;
}
.iconUploadContainer{
	width: 32px;
	text-align: center;
}