
/*------------------------SECTION Variables-------------------------*/
:root {
  /*--bright : #F8FFF6;*/
  --bright: #f3f3f3;
  --dark : #13131a;
  --dark2: #333;
  --secondary: #2A5A9B;
  --accent_1: #DA4450;
  --accent_affirmative: #31ac5a;


  --border-radius: 5px;
  --shadow: 0px 0px 15px -5px #aaa;
  --default-animation-delay: .3s;
}

/*-----------!SECTION----------*/
* {
  /*---------------Firefox-------------*/
  scrollbar-width: thin;
  scrollbar-color: #555 #f1f1f1;

}
body.open{
  grid-template-columns: 300px 1fr;
}

.container-g h1, .container-g h2, .container-g h3, .container-g p {
  color: #303030;
}

#haupt_container h1, #haupt_container h2, #haupt_container h3, #haupt_container p {
  color: #303030;
}

input, textarea {
  border-radius: 5px;
}

#list i.material-icons {
  color: #333;
}

/*------------------------------------SECTION SUPPORT POPUP---------------------*/
#support_container {
  z-index: 9999;
}
#support_window {
  height: 400px;
  width: 600px;
  box-shadow: inherit;
  overflow:hidden;
  padding: 0;

  grid-template-rows: 50px 200px 1fr;
}

#support_check {
  color:white;
}

#support_contact{
  grid-template-columns: 50px 1fr;
  row-gap: 20px;
}




.divider{
  height: 2px;
  border-bottom: 1px solid #57575767;
}

.sidebar_divider {
  height: 3px;
  width: 100%;
  background-color: #ffffffaa;
  margin: auto;
}

.inventur {
  grid-template-columns: 60px 1fr 1fr !important;
}

.inventur span {
  text-align: left;
}

/*---------------!SECTION-----------*/
* {
  -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 

  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
}
html, body{
  font-family: 'Poppins', sans-serif;
}

body{
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-areas: 
      "options_bar haupt-container";
  grid-template-columns: 60px 1fr;
  grid-template-rows: 100%;
  background-color: white;
}

h2 {
  font-size: 1.4rem;
}

input, select, textarea{
  padding: 10px;
  border: 2px solid #c4c4c4;
}

header{
    background-color: crimson;
    height: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chip{
  background-color: var(--accent_1);
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  display: table;
}

.chip *{
  display: table-cell;
  vertical-align: middle;
  line-height: 1em;
  margin: 0px;
  padding: 0px;
}

header a{
    margin: 10px;
}

a{
    text-decoration: none;
}



#logo{
    font-weight: 900;
    margin: 10px;
    padding: 0;
    font-size: 2rem;
    color: white;
}

/*------------------------------------------SECTION BUTTONS---------------------------------------*/

button, .button{
    border: 1px solid var(--dark);
    padding: 10px;
    text-align: center;
    color: var(--dark);
    outline: 0;
    background-color: #fff0;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor:pointer;
    position:relative;
}

button:hover, .button:hover {
  filter: brightness(108%);
}

.accent_1_button {
  border: 0;
  color: white;
  background-color: var(--accent_1);
}

.secondary_button {
  border: 0;
  color: white;
  background-color: var(--secondary);
}

.accent_affirmative_button{
  border: 0;
  background-color: var(--accent_affirmative);
  color: white;
  padding: 5px;
}


.selected_button{
  color: var(--bright);
  background-color: var(--accent_1);
  border-color: var(--accent_1);
}



/*------------!SECTION---------------------*/

.card {
	background-color: #fff;
	border-radius: 10px;

}


/*----------------------Scrollbar------------------------------*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}


/*-------------------------------Fonts-------------------------------*/
@font-face {
  font-family: Visby;
  src: url(./fonts/Visby/VisbyCF-Bold.otf);
  font-weight: bold;
}

@font-face {
  font-family: Visby;
  src: url(./fonts/Visby/VisbyCF-DemiBold.otf);
  font-weight: demi-bold;
}

@font-face {
  font-family: Visby;
  src: url(./fonts/Visby/VisbyCF-Medium.otf);
  font-weight: normal;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 10, 2021 */



@font-face {
  font-family: 'visby_cfbold';
  src: url('./fonts/Visby/visbycf-bold-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cfdemi_bold';
  src: url('./fonts/Visby/visbycf-demibold-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-demibold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cfextra_bold';
  src: url('./fonts/Visby/visbycf-extrabold-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-extrabold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cfheavy';
  src: url('./fonts/Visby/visbycf-heavy-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-heavy-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cflight';
  src: url('./fonts/Visby/visbycf-light-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cflight_oblique';
  src: url('./fonts/Visby/visbycf-lightoblique-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-lightoblique-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cfmedium';
  src: url('./fonts/Visby/visbycf-medium-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cfregular';
  src: url('./fonts/Visby/visbycf-regular-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'visby_cfthin';
  src: url('./fonts/Visby/visbycf-thin-webfont.woff2') format('woff2'),
       url('./fonts/Visby/visbycf-thin-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    line-height: 26px;
    width: 50px;
    height: 26px;
    margin-left: 10px;
  }

  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }


.light-btn{
    background-color:rgb(17, 0, 116);
    color: #fff;
}

.light-btn:hover{
    background-color:rgb(9, 0, 61);
}

.dark-btn{
    color:rgb(17, 0, 116);
    background-color: #fff;
}

.dark-btn:hover{
    background-color:rgb(189, 189, 189);
}

.pagination-container{
    display: none;
    justify-content: center;
}

.pagination{
    display: block;
    margin: auto;
    padding: 0px;
}

.accent_1_background {
  background-color: var(--accent_1) !important;
  color: white;
}

.orange_background {
  background-color: orange !important;
  color:white;
}

.accent_affirmative_background {
  background-color: var(--accent_affirmative) !important;
  color: white;
}

.secondary_background {
  background-color: var(--secondary)
}

/* Pagination links */
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    cursor: pointer;
  }
  
  /* Style the active/current link */
  .pagination a.active {
    background-color: dodgerblue;
    color: white;
  }
  
  /* Add a grey background color on mouse-over */
  .pagination a:hover:not(.active) {background-color: #ddd;}

  /* ---------------------------------- checkbox --------------------------------------------

  /* Customize the label (the container) */
.container-checkbox {
    height: 100%;
    width: 100%;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    align-items: center;
  }
  
  /* Hide the browser's default checkbox */
  .container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ccc;
  }
  
  /* On mouse-over, add a grey background color */
  .container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container-checkbox input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }


  /*----------------------------------------------------------SECTION FADE IN ANIMATION---------------------------------------------------*/
  /* Animation */

@keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

@-webkit-keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
  opacity: 0
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}

.delayed {
  animation-delay: var(--default-animation-delay);
}
/*--------!SECTION---------*/


/*--------------------------------------------------------- SECTION SPINNER---------------------------------------------------*/
.lds-ellipsis {
  display: inline-block;
  position: fixed;
  top: 50%;
  left: 45%;
  z-index: 1000;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #000;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/*---------!SECTION-----------*/


.background_container {
  position:absolute;
    top: 0;


    height: 100%;
    width: 100%;

    background-color: #00000077;

    z-index: 10;
}



/*--------------------------SECTION Options Bar-----------------------*/
.options-bar{
  grid-area:"options_bar";
  background-color: var(--secondary);
  background: linear-gradient(45deg,var(--secondary), #477cc7);
  text-align: center;
  color: var(--bright);
  overflow: hidden;
  height: 100%;
}

.options-bar.closed{
  padding: 0px;
}



#controls {
  position: relative;
}


.th i.green{
  color: green;
}

.options-bar button{
  white-space: nowrap;
  background-color: none;
  color: var(--bright);
  margin-top: 10px;
  width: 100%;
  background: none;
  text-align: left;
  letter-spacing: 0.05em;
  padding: 12px 30px; /* Some padding */
  font-size: 16px;
  font-weight: normal;
  border: 0;
}

.options-bar button i{
  color: rgb(224, 224, 224);
}

.options-bar button:hover{
  background-color: white;
  color: var(--dark);
}

.options-bar h2{
  font-weight: 500;
  display: block;
  
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 32px;
  padding: 20px;
}

.options-bar #controls *{
  margin: 20px;
}


.options-bar-content {
  grid-template-rows: 240px 3fr 180px;
  grid-template-columns: 300px;
  height: calc(100vh - 100px);
  align-items: start;
}

.options-bar-content > div {
  height: 100%;
  overflow-y: auto;

  /*Firefox Scrollbar*/
  scrollbar-width: none;
}
.options-bar-content > div::-webkit-scrollbar {
  width: 0px;
}

.tools_navigation, #options_bar_header {
  background-color: #325b94;
}

.options-bar-header{
  width: 300px;
  height: 60px;
  display: grid;
  grid-template-columns: 60px 240px;
  grid-template-rows: 60px;
  justify-items: start;
}

.options-bar-header i{
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

.options-bar-header span{
  height: 60px;
  line-height: 60px;
}

.options-bar-header img {
  height: 80%;
  /* margin: 20px 0; */
}

/*-----------!SECTION--------------*/



.navigation_wrapper {
  height: 0px;
}

.table-wrapper {
  height: calc(100vh - 100px);
  overflow: hidden;
  justify-content: flex-start;
  }




.table_spinner {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-top: 50px;
    border: 4px solid rgba(0, 0, 0, 0);
    border-top: 4px solid black;
    animation: rotate 1.2s infinite cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.table_empty_text {
  background-color: #bbb;
  color: white;
  border-radius: var(--border-radius);

  padding: 15px;
  margin-top: 25vh;
}

.table_empty_text * {
  margin: 0 5px;
}




.color_secondary {
  color: var(--secondary)
}


/*-------------------SECTION Tooltips-------------------*/
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 240px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  font-size: .9rem;
  line-height: 1rem;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 9999;

  left: 105%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}
/*------------!SECTION---------------*/



/*---------------------Floating action Save Button------------*/
.floating_btn {
  z-index: 500;
  position: fixed;
  bottom: 50px;
  right: 100px;

  box-shadow: 0 0 5px #444444;
  border: 0;
  color: white;
  background-color: var(--accent_1);

  height: 70px;
  width: 70px;
  border-radius: 100%;
}