/* From:
http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700
*/
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'),
  url(//fonts.gstatic.com/s/opensans/v9/DXI1ORHCpsQm3Vp6mXoaTRampu5_7CjHW5spxoeN3Vs.woff2) format('woff2'),
  url(//fonts.gstatic.com/s/opensans/v9/DXI1ORHCpsQm3Vp6mXoaTaRDOzjiPcYnFooOUGCOsRk.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'),
  url(//fonts.gstatic.com/s/opensans/v9/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2) format('woff2'),
  url(//fonts.gstatic.com/s/opensans/v9/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'),
  url(//fonts.gstatic.com/s/opensans/v9/MTP_ySUJH_bn48VBG8sNShampu5_7CjHW5spxoeN3Vs.woff2) format('woff2'),
  url(//fonts.gstatic.com/s/opensans/v9/MTP_ySUJH_bn48VBG8sNSqRDOzjiPcYnFooOUGCOsRk.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
  url(//fonts.gstatic.com/s/opensans/v9/k3k702ZOKiLJc3WVjuplzBampu5_7CjHW5spxoeN3Vs.woff2) format('woff2'),
  url(//fonts.gstatic.com/s/opensans/v9/k3k702ZOKiLJc3WVjuplzKRDOzjiPcYnFooOUGCOsRk.woff) format('woff');
}
body, html, td, th, div, span, input, textarea {
  /*font-family: 'Open Sans', arial, sans-serif;*/
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4em;
  font-weight: normal;
  color: #515151;
  -webkit-font-smoothing: antialiased;
}
body {
	background-color: #eff1f3;
	padding: 10px;
	min-width: 1200px;
}
body, html, .container-fluid.main {
	height: 100%;
}
::-webkit-input-placeholder {
   color: #ccc !important;
}
:-moz-placeholder { /* Firefox 18- */
   color: #ccc !important;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #ccc !important;
}
:-ms-input-placeholder {
   color: #ccc !important;
}
.ag-row {
	clear: both;
}
.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}
.strong {
	font-weight: bold;
}

/** ios1-ios6 bubbles **/
.bubble {
  box-sizing: border-box;
  float: left;
  width: auto;
  max-width: 80%;
  position: relative;
  clear: both;


  display: inline-block;
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.22);
  padding: 8px 12px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;

  /*border: solid 1px rgba(0,0,0,0.5);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;*/

  -webkit-box-shadow: inset 0 8px 5px rgba(255,255,255,0.65), 0 1px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: inset 0 8px 5px rgba(255,255,255,0.65), 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: inset 0 8px 5px rgba(255,255,255,0.65), 0 1px 2px rgba(0,0,0,0.2);
  margin-bottom: 20px;
  padding: 6px 20px;
  /*color: #fff;*/
  word-wrap: break-word;
}
.bubble:before/*, .bubble:after*/ {
  border-radius: 20px / 5px;
  content: '';
  display: block;
  position: absolute;
}
.bubble:before {
  border: 10px solid transparent;
  border-bottom-color: rgba(0,0,0,0.5);
  bottom: 0px;
  left: -7px;
  z-index: -2;
}
.bubble:after {
  border: 8px solid transparent;
  border-bottom-color: #aab2bd; /* arrow color */
  bottom: 1px;
  left: -5px;
}
.bubble-alt {
  /*float: right; */
  text-align: right;
}
.bubble-alt:before {
  left: auto;
  right: -7px;
}
.bubble-alt:after {
  left: auto;
  right: -5px;
}

.call-container {
	position: relative;
}
.call-container .remote {
  width: 100%;
  height: 234px;
  background-color: #ddd;
}
.call-container .local {
  width: 30%;
  position: absolute;
  bottom: 10px;
  right: 10px;
  border: 1px solid #ccc;
  z-index: 9;
  background: #ddd;
}
.visitors-container {
	overflow-y: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 200px;
}
.chat-container {
  border-bottom: solid 2px #eff1f3;
  overflow-y: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 140px;
  top: 0;
}
.short-chat .chat-container {
	top: 250px;
}
#sendMsgButton {
	margin-left: 20px;
}
.person-join {
	margin: 25px 15px;
	border-bottom: 1px solid #e8e8e8;
	font-size: 12px;
	color: #999;
}
.tab-content {
  margin: 20px 20px 0 20px;
}
.left-col, .middle-col, .right-col {
	padding: 8px;
	display: inline-block;
	vertical-align: top;
	height: 100%;
}
.left-col, .right-col {
	background-color: #f6f7f8;
	max-width: 300px;
}
.left-col {
	height: 100%;
	position: relative;
}
.middle-col {
	max-width: 500px;
	width: 500px;
	padding-top: 0;
	padding-bottom: 0;
}
.body-container {
	background-color: #fff;
	height: 100%;
	position: relative;
}
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
	background-color: #fa6f57;
	border: 0;
}
.list-group-item {
	padding: 5px 15px;
}
.fa-medium {
	font-size: 18px;
}
.color-primary {
	color: #a1d36e;
}
.color-primary.blocked {
	color: #ccc;
}
.color-primary.blocked i {
	cursor: default;
}
.btn-primary.blocked, .btn-primary.blocked:hover, .btn-primary.blocked:focus {
    background-color: #ccc;
    border: none;
    cursor: default;
}
.btn-submit {
	background-color: #a1d36e;
	border: 1px solid #a1d36e;
}
.call-buttons-container i {
	cursor: pointer;
	margin-right: 5px;
}
.actions-container {
	padding: 8px;
	float: right;
}
.actions-container select, .actions-container button {
	height: 30px;
	line-height: 30px;
	display: inline-block;
	background-color: #e8e8e8;
	color: #999;
	box-shadow: none;
	vertical-align: middle;
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
}
.actions-container select {
	width: 100px;
}
.actions-container button {

}
.avatar-user, .details-user {
	display: inline-block;
	vertical-align: top;
}
.details-user {
	padding-left: 10px;
}
.availability-label {
	color: #999;
	margin-left: 3px;
}
.avatar-user img {
	width: 100px;
}
.agent-name {
	color: #999;
	max-width: 160px;
	margin-top: 3px;
	margin-bottom: 5px;
	word-break: break-word;
}
.agent-presence-container .status, .agent-presence-container .text {
    display: block;
    padding: 4px;
}
.agent-presence-container {
	border: 1px solid #e6e9ed;
	background-color: #fff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	width: 160px;
	margin-top: 10px;
}
.agent-presence-container .status {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
}
.agent-presence-container .text {
	color: #c6ccd3;
    text-align: center;
}
.agent-presence-container .status.online {
	background-color: #a1d36e;
}
.agent-presence-container .status.offline {
	background-color: #ccc;
}
.agent-presence-container .status.away {
	background-color: #e7d34c;
}
.agent-presence-container .status.noDisturb {
	background-color: #ff0000;
}

.state-container{
    padding-top: 10px;
    text-align: center;
}

.inner-container {
	height: 100%;
	line-height: 100%;
	vertical-align: top;
	text-align: center !important;
}
.avatar-visitor {
	display: flex;
}
.avatar-visitor .image, .avatar-visitor .text {
	display: inline-block;
	vertical-align: top;
}
.avatar-visitor .image img {
	width: 68px;
}
.avatar-visitor .text {
	display: inline-block;
}
.avatar-visitor .text input {
	width: 88%;
	border: 0;
	float: right;
	border-top-left-radius: 0;
	-moz-border-top-left-radius: 0;
	-webkit-border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	-moz-border-bottom-left-radius: 0;
	-webkit-border-bottom-left-radius: 0;
}
.form-element {
	border: 0;
	width: 100%;
	margin: 10px 0;
}
.visitor-notes.form-element {
	min-height: 150px;
	resize: none;
	padding: 8px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
.convert-btn-container {
	text-align: center;
	margin-top: 10px;
}
.convert-btn-container button {
	width: 80%;
}
.btn-primary {
	background-color: #a1d36e;
	border: 1px solid #a1d36e;
	color: #fff;
}
.btn-primary:hover {
	background-color: #addf7a;
	border: 1px solid #addf7a;
}
.btn-primary:active, .btn-primary:focus {
	background-color: #93c560;
	border: 1px solid #93c560;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: pointer;
  display: block;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    background-color: #a1d36e;
    border: 1px solid #a1d36e;
    color: #fff;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
    background-color: #fa6f57;
    border: 1px solid #fa6f57;
    color: #fff;
}

.message-type-container textarea {
	min-height: 80px;
	resize: none;
	margin-top: 10px;
}

.message-type-container {
	position: absolute;
  	left: 0;
  	right: 0;
  	bottom: 0;
  	margin-bottom: 10px;
}
.bubble {
	border-radius: 5px;
	border: 0;
	padding: 8px 12px;
	/*box-shadow: none;*/
	/*background: #aab2bd;*/
	background: #f9f9f9;
	box-shadow: 0 1px 2px rgba(15, 15, 15, 0.22);
	/*border: 1px solid #aab2bd;*/
	margin: 6px 0;
}
.bubble.bubble-alt {
    float: right;
	display: inline-block;
	background: #ffffff;
    /*box-shadow: 0 1px 2px rgba(15, 15, 15, 0.22);*/
    border-radius: 4px;
}
.bubble:after {
	bottom: 7px;
	border-right-color: #aab2bd;
	border-bottom-color: transparent;
	border-radius: 0;
	left: -16px;
}
.bubble:before, .bubble.bubble-alt:before {
	border: 0;
}
.bubble.bubble-alt:after {
	left: auto;
	right: -8px;
	border-left-color: transparent;
	border-right-color: transparent;
	border-right-color: transparent;
	background-image: url("../img/arrow-right.png");
	background-repeat: no-repeat;
	width: 7px;
	height: 22px;
}
.bubble-container {
	padding-bottom: 15px;
}
.bubble-name, .bubble-time {
	clear: both;
}
.bubble-name {
	color: #aaa;
	font-size: 13px;
	font-weight: 500;
/*	text-transform: capitalize; */
}
.bubble-time {
	color: #ccc;
	font-size: 0.7em;
	font-style: italic;
}
.chats {
	font-weight: bold;
	padding-bottom: 10px;
	color: #434a54;
}
#chatList {
	padding: 8px;
}
.visitor-item {
	vertical-align: top;
	padding: 10px 8px;
	border: 1px solid #e8e8e8;
	cursor: pointer;
}
.visitor-item:hover {
	background-color: #e8e8e8;
}
.visitor-item span {
	border: 0;
	font-weight: bold;
	color: #666;
/*	text-transform: capitalize; */
}
.visitor-item .last-time, .visitor-item .last-msg {
	display: inline-block;
	font-size: 12px;
	padding-top: 3px;
}
.visitor-item .last-time {
	color: #ccc;
	font-style: italic;
	float: right;
}
.visitor-item .last-msg {
	max-width: 190px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #999;
}
.last-msg {
	max-width: 170px !important;
}
.visitor-item.active span {
	color: #fff;
}
.visitor-item.active .last-msg, .visitor-item.active .last-time {
	color: #fff;
}
.visitor-name {
	font-size: 16px;
}
.visitor-item .notification {
	position: absolute;
	width: 15px;
	height: 15px;
	line-height: 15px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	background-color: #a1d36e;
	font-weight: bold;
	right: 10px;
	top: 5px;
	font-size: 8px;

    display: none;
}
.short-chat .bubble {
	padding: 5px;
	margin: 4px 0;
}
.submit-container {
	padding-top: 8px;
}
/*
.submit-container button {
	height: 25px;
	line-height: 0.8em;
}
*/
.ticket-subject {
	margin-top: 0;
}
.form-control {
	border: 1px solid #e8e8e8 !important;
}
div {
	text-align: left;
}
hr {
	margin-top: 0px;
}
.btn-danger {
	background: #fa6f57;
/*	color: #fff; */
}
.call-status {
	position: relative;
	top: 8px;
}
.call-status span {
	color: #777;
}
.call-duration {
	bottom: 10px;
    font-weight: bold;
    position: absolute;
    right: 0;
    color: #000 !important;
}
.call-status .call-in-progress, .call-status .video-call-in-progress {
	position: relative;
    top: 10px;
}
.end-call.secondary {
	font-size: 15px;
	background: #fa6f57;
	border-radius: 6px;
	top: -1px;
}
.end-call.secondary i {
	color: #fff;
}
.end-call.secondary .end-call-drop {
	font-size: 1.2em;
	top: 8px;
}
.end-call.secondary .end-call-icon {
	top: -8px;
	left: 8px;
}
.end-call {
    font-size: 1.1em;
    top: 1px;
}
.end-call-icon {
    font-size: 0.7em;
    position: absolute;
	top: -10px;
	left: 10px;
}
.end-call-drop, .end-call-icon {
    color: #fa6f57;
}

.modal-backdrop {
    background-color: #000000;
}

.modal-backdrop.in {
    opacity: 0.95;
}

#auth_frame {
    width: 0px;
    height: 0px;
    position: absolute;
    background: #fff;
    border: 2px solid #aaa;
}

#auth_frame.visible {
    top: 0px;
    left: 200px;
    width: 800px;
    height: 530px;
    z-index: 100;
}

