.chat_mini_box {
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  width: 200px;
  margin: 0 auto;
  position: fixed;
  bottom: 0;
  right: 0;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.chat_mini_box img {
  background: #bfbfbf;
  width: 50px;
  color: #ffffff;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  float: left;
}
.chat_mini_box .title {
  padding: 15px;
  display: inline-block;
}
.chat_mini_box .title a {
  text-decoration: none;
  color: #666;
  font-size: 1.2em;
  font-weight: bold;
}

.chat {
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  width: 400px;
  margin: 0 auto;
  position: fixed;
  bottom: 0;
  right: 0;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.chat header {
  margin: 0;
  padding: 8px 14px 0;
  font-size: 14px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}
.chat header:before,
.chat header:after {
  display: block;
  content: '';
  clear: both;
}
.chat header div {
  font-size: 1.2em;
  font-weight: bold;
}
.chat header p {
  font-size: 0.9em;
}
.chat header p a {
  color: #999;
  text-decoration: none;
}
.chat header p a:hover {
  text-decoration: underline;
}
.chat header span.title span {
  color: #F08348;
}
.chat header h2,
.chat .body ul li .chat_content h3 {  
  letter-spacing: 0px;
  line-height: 20px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  float: left;
}
.chat header img {
  float: left;
}
.chat header h2 {
  color: #318ea2;
  font-weight: bold;
}
.chat header .tools {
  list-style: none;
  margin: 0;
  padding: 0;
  float: right;
}
.chat header .tools li {
  display: inline-block;
  margin-right: 6px;
}
.chat header .tools li:last-child {
  margin: 0;
}
.chat header .tools li a {
  color: #ffffff;
  text-decoration: none;
  -webkit-transition: all 0.3s linear 0s;
  -moz-transition: all 0.3s linear 0s;
  -ms-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}
.chat .body {
  position: relative;
  max-height: 360px;
  overflow-y: scroll;
  min-height: 300px;
}
.chat .body .search {
  display: none;
  width: 100%;
}
.chat .body .search.opened {
  display: block;
}
.chat .body .search input {
  width: 100%;
  margin: 0;
  padding: 10px 15px;
  border: none;
  -webkti-box-size: border-box;
  -moz-box-size: border-box;
  box-size: border-box;
}
.chat .body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f2f2f2;
}
.chat .body ul li {
  position: relative;
  background: #ffffff;
  display: block;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.chat .body ul li:before,
.chat .body ul li:after {
  display: block;
  content: '';
  clear: both;
}
.chat .body ul li:hover .thumbnail, .chat .body ul li .thumbnail.ema  {
  background: #c3d8dc;
}
.chat .body ul li:nth-child(2n) {
  background: #f2f2f2;
}
.chat .body ul li .thumbnail {
  display: inline-block;
  background: #bfbfbf;
  width: 50px;
  color: #ffffff;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: background 0.3s linear 0s;
  -moz-transition: background 0.3s linear 0s;
  -ms-transition: background 0.3s linear 0s;
  -o-transition: background 0.3s linear 0s;
  transition: background 0.3s linear 0s;
}
.chat .body ul li .thumbnail img {
  width: 100%;
}
.chat .body ul li .chat_content {
  display: inline-block;
  margin-left: 6px;
  vertical-align: top;
  line-height: 1;
}
.chat .body ul li .chat_content h3 {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  color: #808080;
}
.chat .body ul li .chat_content .preview {
  display: block;
  width: 100%;
  max-width: 300px;
  margin-bottom: 5px;
  color: #666;
  font-size: 13px;
}
.chat .body ul li .chat_content .meta {
  color: #b3b3b3;
  font-size: 12px;
}
.chat .body ul li .chat_content .meta a {
  color: #999999;
  text-decoration: none;
}
.chat .body ul li .chat_content .meta a:hover {
  text-decoration: underline;
}
.chat .body ul li .message {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  height: 100%;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.chat .body ul li .chat_content ol li {
  padding: 0px 0px 5px;
}
.chat .body ul li .chat_content ol li:nth-child(2n) {
  background: white;
}
.chat footer {
  padding: 0;
}
.chat footer a {
  background: #bd6982;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 15px;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.chat footer a:hover {
  background: #cd8ca0;
  -webkit-transition: background 0.3s linear 0s;
  -moz-transition: background 0.3s linear 0s;
  -ms-transition: background 0.3s linear 0s;
  -o-transition: background 0.3s linear 0s;
  transition: background 0.3s linear 0s;
}
.chat footer #chat_pitanje {
    -moz-border-radius:5px; /* Firefox */
    -webkit-border-radius: 5px; /* Safari, Chrome */
    -khtml-border-radius: 5px; /* KHTML */
    border-radius: 5px; /* CSS3 */
    behavior:url("border-radius.htc");
    border: 1px solid #CCC;
    width: 318px;
    padding: 5px 10px;
    font-size: 13px;  
    margin-right: 2px;
    -webkit-appearance: none;
}
.chat footer #chat_gumb {
  width: 50px;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 10px;
  line-height: 15px;
  margin-left: 0px;
}

.chat .answer_more_desc {color: #666;}