.small
{
    font-size: 80%;
    padding: 20px 0px;
}
.ticket {
    font-size: 14px;
}
#demo-chat-body {
    max-height: 1000px; 
    overflow: auto;
    margin: 20px 0;
}
.message {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.message > .message-content {
    overflow-x: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.pad-all {
    /*padding: 15px;*/
}
.mar-btm {
    margin-bottom: 15px;
}
.media-block .media-left {
    display: block;
    float: left;
}
.img-sm {
    width: 46px;
    height: 46px;
}
.media-block .media-body {
    display: block;
    overflow: hidden;
    width: auto;
}
.pad-hor {
    /*    padding-left: 15px;
	padding-right: 15px;*/
}
.speech {
    position: relative;
    background: #e5f5e6;
    color: #555555;
    border-radius: 4px;
    padding: 12px 20px; 
    overflow: hidden;
}
.speech a{
    color: #23a1d1;
}

.speech .media-heading {
    font-size: 1.2em;
    color: #317787;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: 300;
}
.speech .media-heading > h3{
    margin-top: 0px;
    margin-bottom: 0px;
}
.speech .message-body {
    word-break: break-all;
    margin-bottom: 10px;
}
.speech .message-parent {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    font-style: oblique;
    text-align: left;
    padding: 5px 10px;
    margin-bottom: 10px;
}
.speech .massage-heading {
    margin-bottom: 10px;
}
.speech-name { 
    margin: 0;
}
.speech-download { 
    margin-bottom: 10px;
}
.speech-time {
    margin: 0;
    font-size: .8em;
    font-weight: 300;
    text-align: left;
}
.speech-action{
    margin: 0;
}
.speech-action a{
    padding:0 10px;
}
.speech-time .message-quote, .speech-time .message-edit  {
    margin-right: 10px;
}
.media-block .media-right {
    float: right;
}
.speech-right {
    text-align: right;
}
.pad-hor {
    /*    padding-left: 15px;
	padding-right: 15px;*/
}
.speech-right>.speech {
    background: #e5f4ff;
    color: #555555;
    text-align: left;
}
.speech-right>.speech .media-heading {
    color: #a07617;
}
.attachment {
    float: right;
    margin-left: 20px;
}


.ticket-info .attachment i{
    font-size: 32px;
}
.attachment-file {
    padding: 10px;
    text-align: right;
}
.rating-massage i{
    font-size: 20px;
    padding: 0 15px;
    cursor: pointer;
}
.rating-massage .active{
    color: #1e91cf;
}
.hr-row {
    border-top: 1px solid rgba(0,0,0,.05);
    margin: 10px 0px 0px 0px;
    padding-top: 10px;
}
.ticket-info .wrapper{
    border: solid 1px #ddd;
    border-radius: 4px;
}
.ticket-info .table-no-border td, .ticket-info .table-no-border th{
    border: 1px solid #ffffff;
}
.j-container h3{ 
    margin-bottom: 10px;
}
.j-container .label{
    padding: 2px 5px;
    color: #fff;
    border-radius: 4px;
}

.j-container .list-ticket .table{
    background: #ffffff;
    margin-bottom: 20px;
}
.j-container .list-ticket .table tr td{
    padding: 5px 10px 5px 5px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: rgb(244, 244, 244);
    text-align: center;
}
.j-container .ticket-info .wrapper {
    background: #ffffff;
}
.j-container .ticket-info .table tr td{
    padding: 5px 10px 5px 5px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #ffffff;
    text-align: center;
}
.j-container  .form-group {
    margin-bottom: 10px;
}
.j-container .attachment-file {
    background: #ffffff;
}
#table-order div div, #form-quick-popup-ticket .form-horizontal .form-group{
       overflow: hidden;
    margin-bottom: 5px;
   
   }
  
   .text-error {
   color: #f00
   }
  
textarea
{
    padding: 20px!important;
}

.user-info-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: -1px;
    padding-top: 90px;
    padding-bottom: 30px;
    border: 1px solid #e1e7ec;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    overflow: hidden
}

.user-info-wrapper .user-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-position: center;
    background-color: #f5f5f5;
    background-repeat: no-repeat;
    background-size: cover
}

.user-info-wrapper .user-cover .tooltip .tooltip-inner {
    width: 230px;
    max-width: 100%;
    padding: 10px 15px
}

.user-info-wrapper .info-label {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
    height: 26px;
    padding: 0 12px;
    border-radius: 13px;
    background-color: #fff;
    color: #606975;
    font-size: 12px;
    line-height: 26px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.18);
    cursor: pointer
}

.user-info-wrapper .info-label>i {
    display: inline-block;
    margin-right: 3px;
    font-size: 1.2em;
    vertical-align: middle
}

.user-info-wrapper .user-info {
    display: table;
    position: relative;
    width: 100%;
    padding: 0 18px;
    z-index: 5
}

.user-info-wrapper .user-info .user-avatar,
.user-info-wrapper .user-info .user-data {
    display: table-cell;
    vertical-align: top
}

.user-info-wrapper .user-info .user-avatar {
    position: relative;
    width: 115px
}

.user-info-wrapper .user-info .user-avatar>img {
    display: block;
    width: 100%;
    border: 5px solid #fff;
    border-radius: 50%
}

.user-info-wrapper .user-info .user-avatar .edit-avatar {
    display: block;
    position: absolute;
    top: -2px;
    right: 2px;
    width: 36px;
    height: 36px;
    transition: opacity .3s;
    border-radius: 50%;
    background-color: #fff;
    color: #606975;
    line-height: 34px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    text-align: center;
    text-decoration: none
}

.user-info-wrapper .user-info .user-avatar .edit-avatar::before {
    font-family: feather;
    font-size: 17px;
    content: '\e058'
}

.user-info-wrapper .user-info .user-avatar:hover .edit-avatar {
    opacity: 1
}

.user-info-wrapper .user-info .user-data {
    padding-top: 48px;
    padding-left: 12px
}

.user-info-wrapper .user-info .user-data h4 {
    margin-bottom: 2px
}

.user-info-wrapper .user-info .user-data span {
    display: block;
    color: #9da9b9;
    font-size: 13px
}

.user-info-wrapper+.list-group .list-group-item:first-child {
    border-radius: 0
}

.user-info-wrapper+.list-group .list-group-item:first-child {
    border-radius: 0;
}
.list-group-item:first-child {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}
.list-group-item:first-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
a.list-group-item {
    padding-top: .87rem;
    padding-bottom: .87rem;
}
a.list-group-item, .list-group-item-action {
    transition: all .25s;
    color: #606975;
    font-weight: 500;
}
.with-badge {
    position: relative;
    padding-right: 3.3rem;
}
.list-group-item {
    border-color: #e1e7ec;
    background-color: #fff;
    text-decoration: none;
}
.list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.125);
}

.badge.badge-primary {
    background-color: #0da9ef;
}
.with-badge .badge {
    position: absolute;
    top: 50%;
    right: 1.15rem;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.list-group-item i {
    margin-top: -4px;
    margin-right: 8px;
    font-size: 1.1em;
}
