/*
 * Copyright 2021 UnityRealtimeGroup
 * © 2024-02-20
 * bbh AK REG TP
 */

:root {
  --font-family-sans-serif: Arial, "Helvetica Neue", sans-serif !important;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* START styling scrollbars */
html {
  /* --scrollbarBG: #005E3F; */ /* AOK dark green */
  /* --thumbBG: #91F549;     */ /* AOK light green */
  
  --scrollbarBG: #DC0C23; /* bbh ROT */
  --thumbBG: #F77585;     /* bbh light ROT */
  --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 {
  background: transparent;
  margin: 0;
  padding: 0;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  /* line-height: 1.15; */
  line-height: 22px;
  color: #1D1D1B;
  text-align: left;
  background: transparent;
  
  text-rendering: optimizeLegibility;     /* emphasizes in legibility over rendering speed */    
  -webkit-font-smoothing: antialiased;    /* apply font anti-aliasing */    
  -moz-osx-font-smoothing: grayscale;     /* optimize font rendering */

  -moz-font-feature-settings:"kern" 1;    /* turn on kerning, highly recomened */ 
  -ms-font-feature-settings:"kern" 1;     /* turn on kerning, highly recomened */ 
  -o-font-feature-settings:"kern" 1;      /* turn on kerning, highly recomened */
  -webkit-font-feature-settings:"kern" 1; /* turn on kerning, highly recomened */
  font-feature-settings:"kern" 1;         /* turn on kerning, highly recomened */
  font-kerning: normal;                   /* turn on kerning, highly recomened */

  font-feature-settings: "liga" on;       /* ligatures: on or off */
  font-feature-settings: "tnum" off;      /* tabular figures: on or off */        
  font-feature-settings: "ss01" off;      /* alternate glyphs (stylistic Set): on or off */
}

.hide {
  display: none;
}

.chat-layer-html {
  margin: 0;
  padding: 0;
  background: transparent;
}

.chat-layer-body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

#user-headline {
  display: none;
}

#user-chat-body {
  height: 100%;
}

/* Column Time ausblenden */
#user-chat-body tr td:first-child {
  display: none;
}

table.striped>tbody>tr:nth-child(odd) {
  /* Hintergrund-Farbe Chat-History ungerade Zeilen */
  background-color: #f2f2f2;
  background-color: rgba(255,255,255, 0.5);
  background-color: transparent;
}
table.striped>tbody>tr:nth-child(even) {
  /* Hintergrund-Farbe Chat-History ungerade Zeilen */
  background-color: #ffffff;
  background-color: rgba(255,255,255, 0.8);
  background-color: transparent;
}
table.striped>tbody>tr>td {
  margin: 0;
  padding: 0;
}



/* Nachricht in eigener Chat history */
.td-inner {
  padding: 13px 25px 13px 25px !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 */
  background-color: #FFD699;
  background-color: #00462F; /* AOK presseclub dunkelgruen */
  background-color: #dfe2e6; /* AOK onkologie hell-grau */
  background-color: #DC0C23; /* bbh ROT */
  color: #40474d;            /* AOK onkologie dunkel-grau */
  color: #fff;
  margin: 8px 0 8px 0;
  /* margin-bottom: 15px; */ /* bei Sortierung DESC */
}

#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;
}

.iframe-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  /* padding: 4px; */
  padding-left: 6px;
  padding-right:6px;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  
  /* Hintergrund-Farbe des Chats */
  background-color: #B2B2B2;
  background-color: rgba(178,178,178,0.9);
  background-color: transparent;
}

.chat-history {
  flex-grow: 11;
  /* flex-grow: 2; */
  /* margin: 8px 8px 0 8px; */
  margin: 0;
  padding: 0;
  padding-right: 15px;
  overflow-y: auto;
  border-radius: 5px;
  
  /* Hintergrund-Farbe der Chat-History */
  background: #EFEFEF;
  background: rgba(239,239,239,0.75);
  background: rgba(255,255,255,0.5);
  background: transparent;
}

#response-form {
  margin: 0;
  padding: 0;
}

.chat-bottom {
  flex-grow: 1;
  align-self: flex-end;
  width: auto;
  width: 100%;
  position: relative;
  /*
  margin: 8px;
  margin-bottom: 2px;
  */
  margin: 0;
  padding: 0;

  height: 128px;
  max-height: 128px;
  min-height: 128px;
  
  height: 137px;
  max-height: 137px;
  min-height: 137px;
  
  height: 142px;
  max-height: 142px;
  min-height: 142px;
  
  height: 154px;
  max-height: 154px;
  min-height: 154px;
  
  /* background: rgba(255,255,255,0.5); */
  background: transparent;
  overflow-y: hidden;
  /* border-top: 1px solid #333; */
}

.hr-aok {
  margin: 0;
  padding: 0;
  height: 2px;
  width: 100%;
  background: #5879AF;
  border-top: 1px solid #2CC4C7;
  border-bottom: 1px solid #2CC4C7;
  background: transparent;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-top: 0px solid transparent;
  border-bottom: 0px solid transparent;
}

.textarea-group {
  /* margin: 0 0 6px 0; */
  margin: 0 0 20px 0;
  padding: 0;
  overflow: hidden;
}

.response-text {
  /* overwrite some styles from main.css */
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  width: calc(100% - 3.3rem);
  height: 66px;
  height: 36px;
  height: 48px;
  margin: 0 !important;
  margin-top: 15px !important;
  /* padding: 4px !important;*/
  /* border-radius: 5px; */
  font-size: 16px;
  line-height: 22px;
  border: 1px solid #ddd;
  border: 1px solid #FF9900; /* aok outline normal */
  border: 1px solid #91F549; /* aok presseclub outline normal */
  border: 1px solid #005e3e; /* aok onkologie outline normal */
  border: 1px solid #DC0C23; /* bbh ROT */
  padding: 13px 25px 13px 25px !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: 1px solid #000;
  background: rgba(255,255,200,1); */
  color: #1D1D1B; /* AOK Font-Color */
  color: #005E3F; /* AOK presseclub font-color */
  color: #000000; /* AOK onkologie font-color */
}

.response-text:hover {
  border: 1px solid #91f549; /* aok onkologie outline hover */
  border: 1px solid #DC0C23; /* bbh ROT */
  color: #c6767b; /* aok onkologie color hover */
}

.response-text:focus {
  border: 1px solid #005e3e; /* aok onkologie outline focus */
  color: #000000; /* AOK onkologie font-color */
}

.response-text::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #A8A8A8 !important;
  color: #4A4A49 !important; /* AOK Eingabefeld „off“ */
  color: #6c767b !important; /* AOK onkologie placeholder */
  opacity: 1 !important; /* Firefox */
}
.response-text:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #A8A8A8 !important;
  color: #4A4A49 !important; /* AOK Eingabefeld „off“ */
  color: #6c767b !important; /* AOK onkologie placeholder */
}

.response-text::-ms-input-placeholder { /* Microsoft Edge */
  color: #A8A8A8 !important;
  color: #4A4A49 !important; /* AOK Eingabefeld „off“ */
  color: #6c767b !important; /* AOK onkologie placeholder */
}



/* ===== BUTTON ===== */
.btn-aok {
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  display: inline-block;
  height: 40px;
  line-height: 22px;
  /* width: 100vw; */
  border: 0;
  border: 2px solid #DC0C23; /* bbh ROT */
  outline: 0;
  padding: 0 25px;
  margin-bottom: 10px;
  /* text-transform: uppercase; */
  vertical-align: middle;
  box-shadow: none;
  background-color: transparent;
  background-color: #4569B1; /* URG dark-blue */
  background-color: #6A8DBD; /* AOK Button */
  background-color: #91F549; /* AOK Presseclub Button */
  background-color: #005e3e; /* AOK onkologie dunkelgruen Button */
  background-color: #fff;
  color: #00462F; /* AOK Presseclub Button - dunkelgruen */
  color: #ffffff; /* AOK onkologie */
  color: #DC0C23; /* bbh ROT */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-aok:hover {
  background-color: #007041; /* AOK onkologie gruen */
  background-color: #DC0C23; /* bbh ROT */
  color: #fff;
}

.btn-aok:active {
  background-color: #00462f; /* AOK onkologie gruen */
  background-color: #DC0C23; /* bbh ROT */
  color: #fff;
}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
  .btn-aok {
    /* max-width: 300px; */
  }
}

.btn-aok:active {
  /* background-color: #1D4276; */ /* AOK Click Button */
  /* background-color: #74D746; */ /* AOK Presseclub Click Button */
}

.btn-aok:hover {
  /* background-color: #385C8D; */ /* AOK Hover Button */
  /* background-color: #A7F76D; */ /* AOK Presseclub Hover Button */
}




/* ----- tablet ----- */
@media screen and (min-width: 576px) and (max-width: 1024px) {
  
  .iframe-content {
    /*
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-between;
    */
    
    /* Hintergrund-Farbe des Chats */
    /*
    background-color: #B2B2B2;
    background-color: rgba(178,178,178,0.9);
    background-color: transparent;
    */
  }
  
  .chat-history {
    /*
    flex-grow: 11;
    margin: 0;
    padding: 0;
    padding-right: 15px;
    width: 50%;
    height: 100vh;
    overflow-y: auto;
    border-radius: 5px;
    */
    
    /* Hintergrund-Farbe der Chat-History */
    /*
    background: #EFEFEF;
    background: rgba(239,239,239,0.75);
    background: rgba(255,255,255,0.5);
    background: transparent;
    */
  }

  .chat-bottom {
    /*
    flex-grow: 1;
    align-self: flex-end;
    width: auto;
    width: 50%;
    position: relative;

    margin: 0;
    padding: 0;
    padding-left: 35px;
  
    height: 142px;
    max-height: 142px;
    min-height: 142px;
  
    background: transparent;
    overflow-y: hidden;
    */
  }

}