@import url("fontawesome6/css/all.min.css");
html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  /*#background-color: #383838;*/
}

.my-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.login {
  width: 300px;
  height: 250px;
  padding: 10px;
  background: #eee;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  top: 300px;
}

.a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.mint-green {
  color: #58ffd5;
}
.btn-outline-mint-green {
  color: #58ffd5;
  border-color: #58ffd5;
}

.my-green {
  color: #28a745 !important;
}

.my-red {
  color: #b94d4d !important;
}
.btn-outline-my-red {
  color: #b94d4d;
  border-color: #b94d4d;
}

.btn-outline-danger {
  color: orange;
  border-color: orange;
}

.btn-outline-danger:hover {
  color: #fff;
  background-color: orange;
  border-color: orange;
}
.btn-outline-danger.focus,
.btn-outline-danger:focus {
  box-shadow: 0 0 0 0.2rem #ffa500;
}
.btn-outline-danger.disabled,
.btn-outline-danger:disabled {
  color: orange;
  background-color: transparent;
}
.btn-outline-danger:not(:disabled):not(.disabled).active,
.btn-outline-danger:not(:disabled):not(.disabled):active,
.show > .btn-outline-danger.dropdown-toggle {
  color: #fff;
  background-color: orange;
  border-color: orange;
}

.btn-outline-secondary {
  color: #00a6ff;
  border-color: #00a6ff;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #00a6ff;
  border-color: #00a6ff;
}
.btn-outline-secondary.focus,
.btn-outline-secondary:focus {
  box-shadow: 0 0 0 0.2rem #00a6ff;
}
.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
  color: #00a6ff;
  background-color: transparent;
}
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.show > .btn-outline-danger.dropdown-toggle {
  color: #fff;
  background-color: #00a6ff;
  border-color: #00a6ff;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.bg-dark {
  background-color: #312e2b !important;
}

.dark .table {
  color: lightgray;
}

.table-hover tbody tr:hover td {
  background: rgba(
    66,
    66,
    66,
    0.058823529411764705
  ) !important; /* # 312E2B, 383838*/
  color: lightgray;
}

.dark label {
  color: lightgray;
}

.dark {
  color: lightgray;
}

.dark .custom-select {
  color: lightgray;
  background: #2c2c2c;
  border: 1px solid #505050;
}

.border {
  border: 1px solid #505050 !important;
}

.sidebar {
  width: 250px;
}

/*
.content {
    padding-top: 1.1rem;
}
*/
.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid #b94d4d !important;
}

.validation-message {
  color: #b94d4d !important;
}

.topright {
  position: absolute;
  top: 10px;
  right: 30px;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.toast {
  position: fixed !important;
  display: flex;
  padding: 1.5rem;
  color: #fff;
  z-index: 0;
  position: absolute;
  width: 30vw;
  top: 10vh;
  border-radius: 1rem;
  left: 35%;
}

.impressum {
  display: none;
  padding: 1.5rem;
  background: #312e2b;
  z-index: 1;
  position: absolute;
  width: 100vw;
  top: 0;
  border-radius: 1rem;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

.modal-body {
  white-space: pre-line;
  height: 75vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

.modal-content {
  height: 90vh;
}

.toast-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
  font-size: 2.5rem;
}

.toast-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-left: 1rem;
}

.toast-body p {
  margin-bottom: 0;
}

.toast-visible {
  display: flex;
  flex-direction: row;
  z-index: 1000;
  animation: fadein 1.5s;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1000;
  top: 10%;
  left: 10px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

#fileInput {
  display: none;
}

#fileInput1 {
  display: none;
}

#fileInput2 {
  display: none;
}
#dialog{
    top: 30%;
    left: 30%;
    height: 40%;
    width: 40%;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-surface);
    border-radius: var(--mud-default-borderradius);
    border-color: transparent;
    -webkit-animation: mud-open-dialog-center .1s cubic-bezier(.39,.575,.565,1) both;
    animation: mud-open-dialog-center .1s cubic-bezier(.39,.575,.565,1) both;
    box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.mud-navmenu {
  width: max-content;
}

.mud-table-toolbar {
  background-color: #312e2b;
  margin-top: 10px;
  height: 50px !important;
}
.mud-table-head {
  font-weight: 1000;
}

.navbar {
  background-color: #312e2b;
  margin-top: 10px;
  margin-bottom: 10px;
}

.mud-appbar {
  background-color: #262521;
}
.mud-toolbar-appbar {
  background-color: #262521;
}

.clickable {
  cursor: pointer;
}

.pad5 {
  padding-right: 10px;
}




textarea {
  padding: 0;
  border: 0;
  color: #fff;
  outline: none;
  resize: none;
}
.parent {
  display: flex;
}

.left {
  flex: 1;
}

.parent::after {
  flex: 1;
  content: "";
}

.focus-edit-item:focus {
  text-decoration: underline;
  color: #e1e1e1;
}

.inf-template {
  height: 400px;
  width: 100%;
  background-color: #454545;
  border-radius: 5px;
  border: 1px solid #495057;
}

.margin-t-10 {
  margin-top: 10px;
}

.margin-b-10 {
  margin-bottom: 10px;
}

.margin-r-10 {
  margin-right: 10px;
}

.margin-r-20 {
  margin-right: 20px;
}

.margin-l-10 {
  margin-left: 10px;
}

.margin-t-20 {
  margin-top: 20px;
}

.margin-t-30 {
  margin-top: 30px;
}

.margin-t-40 {
  margin-top: 40px;
}
.margin-b-20 {
  margin-bottom: 20px;
}

.padding-b-10 {
  padding-bottom: 10px;
}

.padding-r-10 {
  padding-right: 10px;
}

.padding-r-20 {
  padding-right: 20px;
}

.w-33 {
  width: 33.3%;
}

.width-200 {
  width: 200px;
}

.editing, .highlighting{
  /* Both elements need the same text and space styling so they are directly on top of each other */
  /*margin: 15px;*/
  border: 0;
  width: calc(100% - 32px);
  height: 450px;
  position: absolute;
  top: 0;
}

.editing, .highlighting, .highlighting * {
  /* Also add text styles to highlighting tokens */
  font-size: 10pt;
  
  line-height: 15pt;
  letter-spacing: 0px;
  font-family: "Chivo Mono", monospace;
  font-weight: 400;
  font-style: normal; 
}

.editing {
  z-index: 1;
  color: transparent;
  background: transparent;
  caret-color: white; 
  left: 48px;
  width: calc(100% - 82px);
  text-wrap: nowrap;
  tab-size: 4;
}

.highlighting {
  z-index: 0;
  border: none;
  left: 0;
  background: black;
  padding: 0px;
  margin: 0px;
}

.highlighting-content {
  padding: 0;
  background: transparent;
}

.outer-edit{
  background:black;
  position:relative;
  border: 1px solid gray;
  height: 470px;
  left:25px;
  width: calc(100% - 22px);
}

code[class*="language-"],pre[class*="language-"] {
    padding: 0;
    margin: 0;
    font-size: 10pt;
    line-height: 15pt;
    letter-spacing: 0px;
    font-family: "Chivo Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-field {
  width: 100%;
  padding-right: 40px; /* Adjust the padding to prevent text overlap with the button */
  box-sizing: border-box;
}

.icon-button {
  position: absolute;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0 10px;
  cursor: pointer;
}

.icon-button i {
  font-size: 1.2em;
}
.textarea-field {
  line-height: 1.8;
  width: 100%;
  height: 2em; /* Adjust height to fit one line */
  resize: none;
  padding-right: 40px; /* Adjust the padding to prevent text overlap with the button */
  box-sizing: border-box;
  overflow-x: auto; /* Enable horizontal scrolling */
  white-space: nowrap;
  scrollbar-width: none;
  font-size: 0.8rem;
  letter-spacing: 0px;
  font-family: "Chivo Mono", monospace;
  font-weight: 400;
  font-style: normal;
}
.textarea-field::-webkit-scrollbar {
  height: 0; /* Hide horizontal scrollbar in WebKit browsers */
}

.preformated-area{
  Height:200px;
  Border:1px solid #ced4da;
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  color: #999;
}

.mud-popover .mud-list-item {
  color: #caffee !important;
}

input.mud-input-slot {
  color: #caffee !important;
}