
/* #00a9e0 */ /* Amprion Offshore cyan */
/* #026487 */ /* Amprion Offshore dark-cyan */
/* #9e007e */ /* Amprion Offshore purple */
/* #480A3D */ /* Amprion Offshore dark-purple */
/* #323d48 */ /* Amprion Offshore font-color */

/* START styling scrollbars */
html {
  --scrollbarBG: #00a9e0;
  --thumbBG: #9e007e;
  --thumbBG: #fff;
}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-width: auto;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 20px;
  border: 3px solid var(--scrollbarBG);
}
/* END styling scrollbars */


/* Outlines bei Chrome & Firefox entfernen */
*:focus,
*:active {
  outline: none !important;
  outline: 0 !important;
}
input:focus,
input:active {
  outline: none !important;
  outline: 0 !important;
}


* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  
}

body {
  position: relative;
  color: #323d48;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 500;
  /* overflow-y: hidden; */
}

.hide {
  display: none;
}

.chat-layer-body {
  background: transparent;
  /* background: rgba(255, 128,0, 0.25) !important; */
}

#user-table {
  /* border:1px solid #aaa; */
}
#user-headline {
  display: none;
}
#user-chat-body {
  /* border:1px solid #f00; */
}
#user-chat-body tr {
  /* border:1px solid #00f; */
}

.iframe-content {
  height: 100%;
  min-height: 100%;
  padding: 4px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.iframe-content .chat-history {
  display: flex;
  align-items: stretch;
	flex-direction: column;
	flex-grow: 10;
	margin: 8px 8px 0 8px;
  padding: 0;
  margin-bottom: 6px;
  overflow-y: auto !important;
  border-radius: 5px;
  border-radius: 0;
}

.iframe-content .chat-history-inner {
  display: flex;
  align-items: stretch;
	flex-direction: column;
	flex-grow: 10;
	height:100%;
}

.iframe-content .chat-bottom {
  display: flex;
	flex-direction: column;
	flex-grow: 1;
	/* height: 220px; */
	margin: 8px 8px 2px 8px;
}
.iframe-content table {
  /* flex-grow: 10; */
  
}

.iframe-content tbody {
  height: 100%;
  /* background: rgba(0,0,0, 0.25); */
}



.textarea-group {
  display: block;
  margin: 0 0 6px 0;
  padding: 0;
  padding-left: 4px; /* Randabsatnd für Error-Border */
  padding-right: 4px; /* Randabsatnd für Error-Border */
  overflow: hidden;
}

#btn-send {
  margin-left: 4px; /* gleicher linker Abstand wie Input-Felder */
}

.cstm-text-input-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 8px;
}

.cstm-text-input {
  width: 100%;
  /* margin-bottom: 4px; */
  margin: 0;
  padding: 4px !important;
  border-radius: 5px;
  font-size: 15px;
  line-height: 18px;
  height: 30px;
  max-height: 30px;
  border: 1px solid #ddd;
  background-color: #f2f2f2;
}
.cstm-text-input.error {
  background-color: #fdd;
  color: #d66;
  border: 1px solid #d66;
}

.cstm-text-input-wrapper button {
  position: absolute;
  top: 3px;
  right: 3px;
  margin: 0;
  border: 0;
  background: none;
}
.del.icon-times-circle {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
}
.del.icon-times-circle:hover {
  color: #A8A8A8;
}

.del.icon-times-circle.error {
  color: #d66;
}


/* Nachricht in eigener Chat history */
.td-inner {
  padding: 13px 25px 13px 25px !important;
  padding: 12px 12px 12px 12px !important;
  /* border-radius: 25px 25px 0px 25px !important; */
  /* border-radius: 20px 20px 0px 20px !important; */ /* AOK presseclub */
  /* border-radius: 20px 20px 20px 0px !important; */ /* AOK onkologie */
  border-radius: 10px 0px 10px 0px !important; /* Offshore */
  background-color: #FFD699;
  background-color: #00462F; /* AOK presseclub dunkelgruen */
  background-color: #dfe2e6; /* AOK onkologie hell-grau */
  background-color: #9e007e; /* Offshore purple */
  color: #40474d;            /* AOK onkologie dunkel-grau */
  color: #fff;
  /* margin: 8px 0 8px 0; */
  margin: 2px 0 2px 0;
  /* margin-bottom: 15px; */ /* bei Sortierung DESC */
}

#user-chat-body td {
  padding: 4px 10px 4px 10px !important;
}

#user-chat-body tr:last-child .td-inner {
  margin: 8px 0 0 0;
}

/* START bei Sortierung ASC */
#user-chat-body tr {
  /* border-top: 15px solid transparent !important; */
}
#user-chat-body tr:first-child,
#user-chat-body tr:first-child td:first-child,
#user-chat-body tr:first-child td:nth-child(2) {
  border-top: 0px solid transparent !important;
}
#user-chat-body td {
  /* border-top: 15px solid transparent !important; */
  border-top: 0px solid transparent !important;
}
/* ENDE bei Sortierung ASC */

#user-table thead {
  display: none !important;
}
#user-headline {
  display: none !important;
}

.response-text {
  /* overwrite some styles from main.css */
  /*
  width: calc(100% - 0.6rem);
  height: 66px;
  margin: 0 !important;
  padding: 4px !important;
  border-radius: 5px;
  font-size: 15px;
  line-height: 18px;
  border: 1px solid #ddd;
  */
}

.response-text {
  /* overwrite some styles from main.css */
  /* font-family: Arial, "Helvetica Neue", sans-serif !important; */
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 500;
  width: calc(100% - 0.5rem);
  height: 66px;
  margin: 0 !important;
  margin-left: 2px;
  margin-right: 2px;
  margin-top: 15px !important;
  /* padding: 4px !important; */
  /* border-radius: 5px; */
  font-size: 15px !important;
  line-height: 18px;
  border: 1px solid #ddd;
  padding: 2px !important;
  border-radius: 0px 0px 15px 0px !important;
  /* border: 1px solid #000; */
  /* background: rgba(0,170,224,0.15); */
  color: #1D1D1B; /* AOK Font-Color */
  color: #005E3F; /* AOK presseclub font-color */
  color: #000000; /* AOK onkologie font-color */
  color: #323d48; /* Offshore font-color */
  background-color: #f2f2f2;
}

@media screen and (min-width: 640px) {
  .textarea-group {
    display: flex;
    flex-flow: row wrap;
    column-gap: 10px;
  }
  .cstm-text-input-wrapper {
    flex-grow: 1;
    width: 40%;
    margin: 0;
  }
  .response-text {
    flex-grow: 10;
    width: 100%;
  }
}


.cstm-text-input::placeholder,
.response-text::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  color: #A8A8A8 !important;
  color: #888 !important;
  opacity: 1 !important; /* Firefox */
}
.cstm-text-input:-ms-input-placeholder,
.response-text:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  color: #A8A8A8 !important;
  color: #888 !important;
}

.cstm-text-input::-ms-input-placeholder,
.response-text::-ms-input-placeholder { /* Microsoft Edge */
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  color: #A8A8A8 !important;
  color: #888 !important;
}