html {
    font:12px sans-serif;
}
body {
	margin: 1px !important;
	}
.k-editor{
    border-radius: 5px;
}
.k-editor .k-emoji
{
    background: 50% 50% no-repeat url(smiley-16px.png);
}
.k-editor .k-saveChat
{
    background: 50% 50% no-repeat url(save.png);
}
.k-editor .k-editor-button:hover .k-emoji
{
    background-color: #ff6;
}
.chatBox{
    width:100%;
    display: table;
    margin: 0 auto;
    /*border-radius: 5px;
	 box-shadow: 0px 0px 10px 0px #ccc;*/
	 position: relative;
}
#agent-info{
    height:60px;
    text-align: left;
    padding-left: 12px;
}
#agent-info .agent-icon{
    position: relative;
    width: 60px;
    float: left;
    top: 3px;
}
#agent-info .agent-info-content{
    color:#585858;
}
#agent-info .fa{
    color:#cccccc;
    font-size: 14px;
    padding-right: 6px;
    padding-left: 0;
}
#agent-info .fa:hover{
    color:#585858;
    cursor:pointer;
}

#agent-info .fa-thumbs-up,
#agent-info .fa-envelope{
    /* border-width: 0 1px 0 0;
    border-style: solid;
    border-color:#cccccc; */
    padding-right: 0;
    /* margin-right: 5px; */
}

#agent-info .action-divider {
    height: 13px;
    width: 1px;
    display: inline-block;
    background: #ccc;
    position: relative;
    top: 2px;
    margin-right: 5px;
}

#agent-info .fa-thumbs-up.chat-col-dblue{
      color: #0000FF;     /*#4A6195;*/
   }

#agent-info .fa.fa-rotate-180{
    padding-right: 0;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color:#cccccc;
    padding-left: 8px;
    margin-right: 6px;
}
#agent-info .agent-info-content strong{
    font-size: 14px;
}
#agent-info .agent-info-content span{
    line-height: 20px;
}
#agent-info .agent-icon .chat-user-photo img{
    margin: -4px 8px 0 0;
    border-radius: 100%;
    border: 2px solid #FCFCFC;
    width: 50px;
    height: 50px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

/* Email button styles - START */
#agent-info .btn-group {
  position:relative;
}
#agent-info .btn-group .dropdown-menu {
    position: absolute;
    top: 100%;
    /* left: -120px; */
    z-index: 1000;
    display: none; 
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 13px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}
#agent-info .btn-group.open > .dropdown-menu {
  display: block; 
}
#agent-info .btn-group .dropdown-menu div{
    padding: 7px 5px 0px 10px;
    float: left;
    width: 370px;
}
#agent-info .btn-group .dropdown-menu div > input {
  width: 260px;
  float: left;
  height: 28px;
}
#agent-info .btn-group .dropdown-menu div > input:focus{
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  border-color: #cccccc;
}
#agent-info .btn-group .dropdown-menu div > button{
  float:none;
  width: 55px;
}
#agent-info .btn-group .dropdown-menu div > span {
    float: left;
    position: relative;
    top: 7px;
    margin-right: 6px;
}
/* Email button styles - END */

#system-notification-home{
    position: absolute;
    top: 75px;
    left: 25px;
    width: 365px;
    text-align: center;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
    display: none;
    z-index: 100;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80);
}
#system-notification-mess{
    position: absolute;
    background-color: #3c763d;
    border-color: #3c763d;
    color: #dff0d8;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80);
    top: 37px;
    left: 0;
    width: 96%;
    margin: 0 2%;
    border-width: 1px;
    border-style: solid;
    display: none;
    z-index: 100;
    border-radius:4px;
}
#system-notification-mess.danger{
    background-color: #D15847;
    border-color: #cc4633;
    color: #ffffff;
}
#system-notification-mess span{
    display: block;
    padding: 8px 0;
}
#system-notification-home {
    top: 85px;
    left: 29px;
}
#system-notification-home span {
    display: block;
    padding: 10px 0;
}

#messages{
    width:96%;
    /*min-height: 106px;*/
    /*height:210px;*/
    height: 160px !important;
    margin:0% 2% 2% 2%;
    border-radius: 4px;
    /*border-radius: 0;*/
    border: 1px solid #ccc;
	background: rgba(204, 204, 204, 0.05);
    text-align: left;
    overflow:hidden;
	overflow-y:auto;
    padding-top: 5px;
}
#messages.full-size {
    /*height: 349px;*/
    height: 265px !important;
}
#messages .sender{
    padding-bottom: 5px;
    padding-left: 10px;    
    color:#585858;
    position: relative;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-word-break: normal;
}
#messages .sender.left{
    padding-right: 60px;
}
#messages .sender.left::after{
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 0px;
    line-height: 0%;
    width: 0px;
    border-top: 6px solid transparent;
    border-right: 15px solid #f1f5fa;
    border-bottom: 6px solid transparent;
}
#messages .sender.left.system-notification::after{
    border-right-color:#dff0d8 !important;
}
#messages .sender.right{
    padding-left: 60px;
    text-align: right;
}
#messages .sender.right::before{
    content: "";
    position: absolute;
    top: 12px;
    right: -1px;
    font-size: 0px;
    line-height: 0%;
    width: 0px;
    border-top: 6px solid transparent;
    border-left: 15px solid #C6E2FF;
    border-bottom: 6px solid transparent;
}
#messages .sender.right .user-message{
    text-align: left;
    display: inline-block;
    width: 100%;
    position: relative;
}

#messages .sender .user-name{
    color: #4A6195;
    overflow: hidden;
    position: relative;
    display: inline-block;
    text-overflow: ellipsis;
}
#messages .sender .date-time {
    font-size: 11px;
    color:#4A6195;
}
#messages .sender > span {
    display:inline-block;    
    border-radius: 6px;
    padding:8px 12px;
    font-size: 13px;
}
#messages .sender.left > span{
    background-color: #f1f5fa;
}
#messages .sender.right > span{
    background-color: #C6E2FF;
    margin-right: 8px;
}
#messages .sender.system-notification > span{
    background-color: #dff0d8 !important;
    border-color: #d6e9c6;
    color: #3c763d;
}
#messages .sender .message-attachment {
    text-decoration: none;
    text-align: left;
    display: inline-block;
    width: 100%;
    position: relative;
    white-space: nowrap;
}
#messages .sender .message-attachment .fa{
	font-size:26px;
	color:#9ca8c5;
	margin-top:3px;
    margin-right:3px;
    float: left;
}
#messages .sender .message-attachment span{
	color:#585858;
	position:relative;
	top:0;
}
.k-editor .k-content {
    display: block;
    width: 100%;
    height: 40%;
    border: 0;
    margin: 0;
    padding: 0;
    background: #fff;
}
div#main {
	width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
#loadingRecreatedChat{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding-top: 43%;
	/*display:none;*/
}
input[type="text"] {
       display: block;
    width: 96%;
    padding: 5px 0px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    float: right;
    margin-bottom: 5px;
    margin-right: 7px;
}
.k-input, input.k-textbox, textarea.k-textbox, input.k-textbox:hover, textarea.k-textbox:hover, .k-textbox>input, .k-multiselect-wrap {
    background-color: #fff;
    color: #5f2200;
    border: none;
    border: 1px solid #ccc;
}
form.ng-pristine.ng-invalid.ng-invalid-required.ng-valid-email {
    width: 100% !important;
    text-align: center !important;
}
.k-input, input.k-textbox, textarea.k-textbox, input.k-textbox:hover, textarea.k-textbox:hover, .k-textbox>input, .k-multiselect-wrap {
       display: block;
    width: 96%;
    padding: 3px 0px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    float: right;
    margin-bottom: 5px;
    margin-right: 7px;
}
button.k-button{
    background: green;
    color: #fff;
    border: 1px solid green;
    width: 24%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 7px;
    position: relative;
    float: right;
}
 input.k-button {
    background: green;
    color: #fff;
    border: 1px solid green;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 2%;
    position: relative;
	padding: 5px 25px;
}
button.k-button:hover:not(:disabled), input.k-button:hover:not(:disabled) {
	background: #fff;
	border: 1px solid green;
	color: #000;
	transition: 0.3s;
}
.chat-header {
    width: 100%;
    overflow: hidden;
    z-index: 10;
    height: 24px;
    color: #fff;
    padding: 8px 0px 0px 0px;
    background: #78a400;
    border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-weight: bold;
}
.main-wrapper {
	padding-top: 10px;
    width: 100%;
    /*box-shadow: 0px 0px 10px 0px #ccc;*/
    color:#585858;
}
.main-wrapper.inner{
    box-shadow:none;
}
.main-wrapper .cht-title{
    margin: 15px 70px 25px;
    color: #585858;
}
.main-wrapper .cht-title strong{
    font-size: 13px;
}
.main-wrapper .user-fields{
    position:relative;
    width:100%;
    float:left;
    padding: 20px 20px 10px;
    box-sizing: border-box;
}
.main-wrapper .user-fields .department-label > label{
	width:86%;
}
.main-wrapper .user-fields .department-input{
	margin-bottom: 4px;
    padding-right: 1px;
    box-sizing: border-box;
}
.main-wrapper .user-fields .form-row{
    float:left;
    width:100%;
    position: relative;
}
.main-wrapper .user-fields .form-row .form-input{
    position: relative;
}
.main-wrapper .user-fields .form-row .form-input .required-symbol{
    color: #d15847;
    position: absolute;
    padding: 0 5px 0 0;
    right: -12px;
    font-size: 24px;
    top: 8px;
}
.main-wrapper .user-fields .form-row .form-input.department-input .required-symbol{
    right: -20px; 
    top: 8px;
}
.main-wrapper > input {
    margin: 15px 0 30px;
}
.main-wrapper .valid-alert{
    color:red;
    position:absolute;
    right:30px;
    line-height: 7px;
}
.main-wrapper p label{
    width:86%;
}
.main-wrapper p .k-textbox{
    width:88%;
    margin-right: 20px;
    margin-bottom: 10px;
    color: #585858;
}
.main-wrapper .user-fields .k-widget {
    width: 96%;
    display: block;
    float: right;
    margin-right: 6px;
}
.main-wrapper .customer-logo-container{
    width:49%;
    height: 56px;
}
.main-wrapper .customer-logo-container > img{
    max-width: 100%;
    max-height: 100%;
    width:100%;
}
.k-list-container.k-state-border-up {
    border-radius: 0 !important;
}
/*.k-list-container .k-list .k-item,
.k-list-container .k-list-optionlabel {
    border-radius: 0;
}*/
.k-list-container .k-list .k-item {
    color: #585858;
}
.k-list-container .k-list .k-item.k-state-selected{
	color:#fff;
}
.main-wrapper .k-dropdown {
    border: 1px solid #cccccc;
    /*border-radius: 0;*/
    background-color: #ffffff;

}
.main-wrapper .k-dropdown .k-dropdown-wrap {
    border: 0;
}
.main-wrapper .k-dropdown .k-dropdown-wrap .k-input {
    text-align: left;
    width: 100%;
    /*border-radius: 0;*/
    color: #585858;
    font-size:16px;
}
#wait-cursor-block {
    position: absolute;
    width: 100%;
    background-color: #fff;
    height: 58px;
    z-index: 1;
}
#wait-cursor-block > span {
    /*top: 35%;*/
    position: relative;
}
#wait-cursor-block > span > span {
    top: 10px;
    font-size: 12px;
    position: relative;
}
#wait-cursor-block .fa {
    color: #78a400;
}
#typing-notification {
    position:absolute;
    left: 20px;
    top: 265px;
}
.k-editor .k-editable-area {
    width: 100%;
    height: 25%;
    border-style: solid;
    border-width: 1px;
    outline: 0;
    overflow-y: hidden;
    padding:5px 0;
}
.k-webkit .k-editor-toolbar li, .k-safari .k-editor-toolbar li, .k-ff .k-editor-toolbar li, .k-ie9 .k-editor-toolbar li, .k-ie10 .k-editor-toolbar li {
    display: inline-block;
    padding: .1em 0;
    position: relative;
    top: 0px;
}
.k-editor iframe.k-content {
    /*height: 80px;*/
    height: 50px;
}
table.k-editor {
    width: 97%;
    height: auto;
    table-layout: fixed;
    border-style: solid;
    border-width: 1px;
    border-collapse: separate;
    border-spacing: 4px;
    font-size: 100%;
    vertical-align: top;
    position: relative;
    /*border-radius: 0;*/
    margin:2%;
}

.k-widget.k-window .k-window-content{
    padding-bottom: 20px;
}
input.k-textbox{
    font-size: 16px !important;
}
input.k-textbox[disabled]{
    opacity:0.5;
}
.k-editor-toolbar-wrap{
    height:25px;
}
.main-wrapper .user-fields p {
    margin: 0;
}
.main-wrapper .user-fields p.first-field {
    margin-top: 10px;
}
.main-wrapper .user-fields p > span {
    position: relative;
    display: inline-block;
    width: 100%;
}
.main-wrapper .user-fields .k-tooltip-validation {
    color: red;
    width: 135px;
    background-color: #ffffff;
    border: 0;
    box-shadow: none;
    position: absolute;
    right: 30px;
    white-space: nowrap;
    top: 7px;
    text-align: right;
}
.main-wrapper .user-fields .email-input .k-tooltip-validation{
	right:24px;
}
.main-wrapper .user-fields .k-widget .k-tooltip-validation {
    top: 6px;
}
.main-wrapper .user-fields .k-tooltip-validation .k-warning {
    display: none;
}
.main-wrapper .logo-upload-container.auto-hide{
    position: absolute;
    width: 99%;
    top: 70px;
    display: table;
    height: 200px;
    /*z-index: -1;*/
}
.main-wrapper .logo-upload-container.auto-hide .k-dropzone{
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
    opacity: 0;
    -moz-opacity: 0;
}
.main-wrapper.inner:hover .logo-upload-container.auto-hide{
	z-index:-1 !important;
}
.main-wrapper .k-upload{
    width:190px;
    float:left;
}
.main-wrapper .k-upload.k-header{
    border-width: 0;
    text-align: right;
    background: transparent !important;
    pointer-events: none;
    height: 200px;
    width: 100%;
}
.main-wrapper .k-upload.k-header .k-dropzone{
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-width: 0;
    text-align: center;
    padding: 127px 3px 150px 5px;
    position: absolute;
    width: 390px;
    left:8px;
    height: 83px;
}
.main-wrapper .k-upload.k-header .k-dropzone .k-button.k-upload-button{
    position: absolute;
    opacity: 0.0;
    -moz-opacity: 0.0;
    z-index: 1;
    top: 12px;
    width: 200px;
}
.main-wrapper .k-upload.k-header .k-dropzone em{
    font-style: normal;
    color: #4A6195;
}
.main-wrapper .k-upload.k-header .k-dropzone em:before{
    font-family: "FontAwesome";
    content: "\f0ee";
    margin: 0;
    vertical-align: middle;
    font-size: 5em;
    line-height: 1em;
    height: 0.95em;
    display: inline-block;
    width: 100%;
}

.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-active {
  /*background: #87B87F;*/
  background: #FFFFFF;
  z-index: 8;
  pointer-events: all;
  opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  border:1px solid #87B87F;
}
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-active em {
  /*color: #FFFFFF;*/
  color: #87B87F;
}
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-active em:before {
  /*color: #FFFFFF;*/
  color: #87B87F;
}
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-hovered,
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-active {
  opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  pointer-events: all;
  /*background: #87B87F;*/
  background: #FFFFFF;
  border:1px solid #87B87F;
}
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-hovered em,
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-active em {
  /*color: #FFFFFF;*/
  color: #87B87F;
  font-size: 14px;
}
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-hovered em:before,
.main-wrapper .logo-upload-container .k-dropzone.k-dropzone-active em:before {
  /*color: #FFFFFF;*/
  color: #87B87F;
}
.main-wrapper .logo-upload-container .k-upload-selected{
    display:none;
}
.main-wrapper .logo-upload-container .k-upload-files{
    display:none;
}
.main-wrapper .logo-upload-container .k-upload-status-total{
    display:none;
}

/*++++ TOOLTIP ++++*/

.tooltip {
  position: absolute;
  z-index: 1030;
  display: block;
  visibility: visible;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  filter: alpha(opacity=0);
  white-space: nowrap;
  z-index: 99999 !important;
}
.tooltip.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.tooltip.top {
  margin-top: -3px;
  padding: 5px 0;
}
.tooltip.right {
  margin-left: 3px;
  padding: 0 5px;
}
.tooltip.bottom {
  margin-top: 3px;
  padding: 5px 0;
}
.tooltip.left {
  margin-left: -3px;
  padding: 0 5px;
}
.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #000000;
  border-radius: 0;
}
.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #9CA8C5;
}
.tooltip.top-left .tooltip-arrow {
  bottom: 0;
  left: 5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}
.tooltip.top-right .tooltip-arrow {
  bottom: 0;
  right: 5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}
.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #9CA8C5;
}
.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #9CA8C5;
}
.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #9CA8C5;
}
.tooltip.bottom-left .tooltip-arrow {
  top: 0;
  left: 5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000000;
}
.tooltip.bottom-right .tooltip-arrow {
  top: 0;
  right: 5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000000;
}
.tooltip .tooltip-inner {
  background-color: #9CA8C5;
  max-width: 100%;
}
/*Iphone 5*/
@media only screen 
  and (device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: portrait) {
	  #divChatBox{
		width:320px;
		height:448px;
		overflow: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	#divChatBox iframe{
		height:400px;
    }
    .chatBox{
        width:320px;
        margin: 0;
    }
}
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: landscape) {
	#divChatBox{
		width:415px;
		height:284px;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
	}
	#divChatBox iframe{
		height:236px;
	}
    .chatBox{
        width:410px;
        margin: 0;
    }
}

/* @media only screen and (max-width:375px){
	.main-wrapper .user-fields .department-input{
		padding-left:6px;
	}
}
@media only screen and (max-width:360px){
	.main-wrapper .user-fields .department-input{
		padding-left:6px;
	}
}
@media only screen and (max-width:320px){
	.main-wrapper .user-fields .department-input{
		padding-left:6px;
	}
} */