@charset "UTF-8";
/*
Base CSS file for novomind iChat
Do NOT edit this file. Create a custom one.
*/

/*** globals ***/
html, body, table, form, img, div, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Arial;
  font-size: 13px;
  line-height: 1.4;
  color: #212121;
}

html {
  height: 100%;
}

table {
  table-layout: fixed;
  border-collapse: collapse;
}

table td {
  padding: 0;
}

.fl {
  float: left;
}

.clear {
  clear: both;
}

.avatar {
  margin-right: 10px;
}

.avatar img {
  width: 48px;
}


/*** page layout ***/
#agent_logo {
  background-color: #fff;
  background-image: url(../img/agent.png);
  background-position: 15px 15px;
  background-repeat: no-repeat;
  height: 102px;
}

#logo {
  background-image: url(../img/logo.gif);
  background-repeat: no-repeat;
  width: 150px;
  height: 40px;
  position: absolute;
  top: 31px;
  right: 0px;
}

#footer {
  font-size: x-small;
  font-weight: bolder; 
  text-align: right;
  position: absolute;
  bottom: 5px;
  right: 15px;
  z-index: -1;
}

#chat_ctr {
  top: 102px;
  bottom: 20px; 
  left: 15px; 
  right: 15px; 
  border: 1px solid #ff9900; 
  position: absolute;
  overflow: hidden;
}


/*** chat styles ***/
#nmchat td.tar {
  text-align: right;
}

#nmchat a {
  color: #666666;
  text-decoration: none;
  border-bottom: 1px dotted;
  font-weight: bold;
  outline: 0;
}

#nmchat a:hover {
  border-bottom: 1px solid;
}

#nmchat a.noborder {
  border: 0;
}

#nmchat a.button {
  display: block;
  background-color: #ff9900;
  margin: 1px;
  border: 1px solid #212121;
  color: #fff;
  font-weight: bold;
  padding: 1px 10px 1px 10px;
  white-space: nowrap;
  text-align: center;
}

#nmchat a.button:hover {
  text-decoration: none;
  margin: 0px;
  border-width: 2px;
}

#nmchat div.message {
  border: 2px solid #ff9900;
  padding: 15px;
  background-color: #fff;
}

#nmchat div.message:first-line{
  font-weight: bold;
}

#nmchat .status_ctr {
  margin: 3px;
  table-layout: fixed;
  border-spacing: 0px;
  width: 100%;
}

#nmchat .status_ctr td {
  vertical-align: middle;
  text-align: center;
}

#nmchat .status_ctr td.fc {
  width: 10px;
}

#nmchat_request_led, #nmchat_response_led {
  color: #ffddaa;
  width: 5px;
  height: 5px;
  line-height: 1px;
  overflow: hidden;
}
#nmchat_response_led {
  margin-top: 2px
}


/*** state: available ***/
#nmchat div.available {
  width: 230px;
  margin: 10px;
}

#nmchat div.available td {
  padding: 2px;
}

#nmchat div.available img {
  vertical-align: middle;
  margin-right: 15px;
}

#nmchat div.available a {
  border: 1px solid #000;
  display: block;
  padding: 3px;
  background-color: #ff9900;
  color: #fff;
  font-size: 12pt;
}
#nmchat div.available a:hover {
  text-decoration: none;
  padding: 2px;
  border-width: 2px;
}

/*** state: error ***/

#nmchat div.error {
  padding: 15px;
  background-color: #fff;
  width: 450px;
}

#chat_ctr #nmchat div.error {
  width: auto;
}

#nmchat div.error div.center {
  text-align: center;
  padding: 50px;
}

#nmchat div.error a.button {
  display: inline;
  text-decoration: none;
  padding: 2px 10px 3px 10px;
}


/*** state: unavailable ***/

#nmchat div.unavailable {
  background-color: #fff;
  margin: 15px;
  width: 450px;
}

#nmchat div.unavailable div.center {
  text-align: center;
  padding: 50px;
}

#nmchat div.unavailable a.button {
  display: inline;
  text-decoration: none;
  padding: 2px 10px 3px 10px;
}


/*** state: wait ***/
#nmchat .wait {
  background-color: #fff;
  padding: 15px;
  text-align: center;
  border: 1px solid #ff9900;
  margin: 10px;
  width: 450px;
}

#chat_ctr #nmchat .wait {
  padding: 15px;
  border-width: 0;
  margin: 0;
  width: auto;
}

#nmchat .wait .text {
  text-align: left;
}

#nmchat .wait .text:first-line {
  font-weight: bold;
}

#nmchat .wait img {
  margin: 50px;
}



/*** state: chat ***/

#nmchat .chat {
  padding: 15px;
  border: 1px solid #ff9900;
  margin: 10px;
  width: 450px;
  background-color: #ffddaa;
}

#chat_ctr #nmchat .chat {
  padding: 15px;
  border-width: 0;
  margin: 0;
  width: auto;
  height: 500px;
}

#nmchat #nmchat_history { /* auch für reloaded */
  background-color: #fff;
  border: 1px solid #ff9900;
  padding: 10px 10px 0 10px;
  height: 245px;
  overflow: auto;
  overflow-y: scroll;
  text-align: left;
  clear: both;
}

#nmchat #nmchat_history .userline {
  color: #666666;
  border-bottom: 1px dotted #999;
  padding-bottom: 5px;
  margin-bottom: 5px;
  page-break-inside: avoid;
  clear: both;
}

#nmchat #nmchat_history .userline .userprefix {
  font-weight: bold;
}

#nmchat #nmchat_history .userline .userprefix img {
  padding-left: 3px;
  padding-right: 3px;
  margin-bottom: -4px;
}
  
#nmchat #nmchat_history .userline_pre {
  color: #aaa;
}

#nmchat #nmchat_history .agentline {
  color: #666666;
  padding-bottom: 5px;
  margin-bottom: 5px;
  page-break-inside: avoid;
}
  
#nmchat #nmchat_history .agentline .agentprefix {
  color: #ff9900;
  font-weight: bold;
}

#nmchat #nmchat_history .agentline .agentprefix img {
  padding-left: 3px;
  padding-right: 3px;
  margin-bottom: -4px;
}

#nmchat #nmchat_history .iq_userline {
  color: #333 !important;
  font-size: 16px;
}

#nmchat #nmchat_history .iq_userline .iq_userprefix {
  font-weight: bold;
}

#nmchat #nmchat_history .iq_agentline {
  color: #333 !important;
  background-color: #7fbd3c;
  font-size: 16px;
}

#nmchat #nmchat_history .iq_agentline .iq_agentprefix {
  color: #FFD493;
  font-weight: bold;
}

#nmchat #nmchat_history span.cobrowseOptionFalse {
  text-decoration: line-through;
}

#nmchat #nmchat_history span.cobrowseOptionTrue {
  color: #ff9900;
  font-weight: bold;
}

#nmchat .input_ctr:first-line {
  font-weight: bold;
}
  
#nmchat .input_ctr textarea#nmchat_input {
  border: 1px solid #ff9900;
  width: 99.65%;
  height: 65px;
  overflow-y: scroll;
  white-space: pre;
  resize: none;
}

#nmchat table.button_ctr {
  width: 100%;
  margin-top: 15px;
}


/*** state: afterchat ***/

#nmchat .afterchat {
  padding: 15px;
  border: 1px solid #ff9900;
  margin: 10px;
  width: 450px;
  background-color: #ffddaa;
}

#chat_ctr #nmchat .afterchat {
  padding: 15px;
  border-width: 0;
  margin: 0;
  width: auto;
  background-color: transparent;
}

#nmchat .afterchat .message {
  text-align: left;
  margin-bottom: 15px;
}

#nmchat .afterchat table {
  width: 100%;
}

#nmchat .afterchat table.button_ctr td {
  padding-top: 5px;
  padding-bottom: 5px;
}

#nmchat .afterchat a.button {
  display: inline;
  padding: 2px 10px 3px 10px;
  margin: 1px;
  text-align: center;
}

#nmchat .afterchat a.button:hover {
  margin: 0px;
  text-decoration: none;
}


/*** state: rating ***/

#nmchat .rating {
  padding: 15px;
  border: 1px solid #ff9900;
  margin: 10px;
  width: 450px;
  background-color: #ffddaa;
}

#nmchat .rating .message {
  text-align: left;
  margin-bottom: 15px;
  /* border-radius: 5px; */
  border-width: 1px;
}

#nmchat .rating .bold {
  font-weight: bold; 
}

#nmchat .rating table.button_ctr td {
  padding-top: 5px;
  padding-bottom: 5px;
}

#nmchat .rating a.button {
  display: inline;
  padding: 2px 10px 3px 10px;
  margin: 1px;
  text-align: center;
}

#nmchat .rating a.button:hover {
  margin: 0px;
  text-decoration: none;
}

#nmchat .rating a.button.disabled {
  margin: 0px;
  border-width: 1px;
  background-color: #888;
  cursor: default;
}

#nmchat .rating img.star {
  cursor: pointer;
}

#nmchat .rating .input_ctr {
  border: 1px solid #ff9900;
  /* border-radius: 5px; */
  padding: 5px;
  background-color: #fff;
}

#nmchat .rating .input_ctr textarea {
  border: 0;
  width: 100%;
  height: 65px;
  white-space: pre;
  resize: none;
}

#nmchat .rating div#rating_error {
  display: none;
  margin-top: 10px;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ff9900;
  /* border-radius: 5px; */ 
}

#nmchat .rating div#rating_error:first-line{
  font-weight: bold;
}

/*** state: afterrating ***/

#nmchat .afterrating {
  padding: 15px;
  border: 1px solid #ff9900;
  margin: 10px;
  width: 450px;
  background-color: #ffddaa;
}

#nmchat .afterrating .message {
  text-align: left;
  margin-bottom: 15px;
}

#nmchat .afterrating table {
  width: 100%;
}

#nmchat .afterrating table.button_ctr td {
  padding-top: 5px;
  padding-bottom: 5px;
}

#nmchat .afterrating a.button {
  display: inline;
  padding: 2px 10px 3px 10px;
  margin: 1px;
  text-align: center;
}

#nmchat .afterrating a.button:hover {
  margin: 0px;
  text-decoration: none;
}


/*** state: reloaded ***/
#nmchat .reloaded {
  padding: 15px;
  text-align: center;
  background-color: #ffddaa;
  border: 1px solid #ff9900;
  margin: 10px;
  width: 450px;
}

#chat_ctr #nmchat .reloaded {
  padding: 15px;
  border-width: 0;
  margin: 0;
  width: auto;
  background-color: transparent;
}

#nmchat .reloaded table {
  width: 100%;
  text-align: left;
}

#nmchat .reloaded #nmchat_history {
  height: 350px;
  margin-bottom: 20px;
}

#chat_ctr #nmchat .reloaded #nmchat_history {
  height: 350px;
}

#nmchat .reloaded .button_ctr {
  margin-top: 0;
}

#nmchat .reloaded .button_ctr td {
  padding-top: 5px;
  padding-bottom: 5px;
}

#nmchat .reloaded a.button {
  display: inline;
  padding: 2px 10px 3px 10px;
}


@media print {
  * {
    color: #000;
    background-color: transparent;
  }
  
  #nmchat {
    border-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  #chat_ctr {
    border-width: 0;
    top: 0;
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  #footer {
    position: static !important;
  }
  
  #nmchat .reloaded {
    border-width: 0;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0;
    margin: 0;
    background-color: transparent;
  }
  
  #nmchat .reloaded #nmchat_history {
    border-width: 0;
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
    background-color: transparent;
  }
 
  #nmchat .reloaded > a.button {
    display: none;
    color: #fff;
    border: 0;
    height: 0;
    width: 0;
    overflow: hidden;
  }
  
}