body
{
  font-family: 'Hanuman', serif;
}
.font-koulen
{
  font-family: 'Koulen', cursive;
}
.font-bokor
{
  font-family: 'Bokor', cursive;
}
.font-siemreap
{
  font-family: 'Siemreap', cursive;
}
.font-hanuman
{
  font-family: 'Hanuman', serif;
}

.modal-custom
{
  background: red;
  color: #fff;
}
.box_message
{
  border: 1px solid #eee;
  border-radius: 5px;
  background: #f5f5f5;
  padding: 10px;
  /*height: 80px;*/
  margin-bottom: 10px;

}
.width-50-per
{
  width: 50%
}
.nav-custom
{
  background-color: #cc0000;
  border-color: #cc0000;
}
.navbar-inverse .navbar-nav>li>a
{
  color: #fff;
}
.navbar-inverse .navbar-nav>.active>a
{
  background-color: #b30000;
}
.navbar-nav>.active>a:hover
{
  background-color: #b30000 !important;
}
.navbar-inverse .navbar-nav>li>a:hover
{
  background-color: #b30000 !important;
}
.navbar-inverse .navbar-brand
{
  color: #ffffff;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0,0,0,.125);
    border-radius: .25rem;
}
.card {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
}
.card {
    margin-bottom: 1rem!important;
}
.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 0 solid rgba(0,0,0,.125);
}
.card-header {
    position: relative;
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,.125);
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
.card-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
}
.card-header>.card-tools {
    position: absolute;
    right: 1rem;
    top: .5rem;
}
.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}
.badge-primary {
    color: #fff;
    background-color: #007bff;
}
.card-header>.card-tools [data-toggle=tooltip] {
    position: relative;
}
.card-body {
    flex: 1 1 auto;
    /*padding: 1.25rem;*/
}
.card-footer {
    padding: .75rem 1.25rem;
    background-color: rgba(0,0,0,.03);
    border-top: 0 solid rgba(0,0,0,.125);
}
.direct-chat .card-body {
    position: relative;
    overflow-x: hidden;
    padding: 0;
}
.direct-chat-messages {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
    padding: 10px;
    height: 250px;
    overflow: auto;
}
.direct-chat-messages {
    transition: transform .5s ease-in-out;
}
.direct-chat-msg, .direct-chat-text {
    display: block;
}
.direct-chat-msg {
    margin-bottom: 10px;
}
.direct-chat-info {
    display: block;
    margin-bottom: 2px;
    /*font-size: .875rem;*/
}
.direct-chat-name {
    font-weight: 600;
}
.float-left {
    float: left!important;
}
.direct-chat-timestamp {
    color: #999;
}
.float-right {
    float: right!important;
}
.direct-chat-img {
    border-radius: 50%;
    float: left;
    width: 40px;
    height: 40px;
}
.right .direct-chat-img {
    float: right;
}

img {
    vertical-align: middle;
    border-style: none;
}
.direct-chat-text {
    border-radius: .3rem;
    position: relative;
    padding: 5px 10px;
    background: #d2d6de;
    border: 1px solid #d2d6de;
    margin: 5px 0 0 50px;
    color: #444;
}
.right .direct-chat-text {
    margin-right: 50px;
    margin-left: 0;
}
.direct-chat-primary .right>.direct-chat-text {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}
.direct-chat-text:after, .direct-chat-text:before {
    position: absolute;
    right: 100%;
    top: 15px;
    border: solid transparent;
    border-right-color: #d2d6de;
    content: ' ';
    height: 0;
    width: 0;
    pointer-events: none;
}
.direct-chat-text:before {
    border-width: 6px;
    margin-top: -6px;
}
.right .direct-chat-text:after, .right .direct-chat-text:before {
    right: auto;
    left: 100%;
    border-right-color: transparent;
    border-left-color: #d2d6de;
}
.direct-chat-primary .right>.direct-chat-text:after, .direct-chat-primary .right>.direct-chat-text:before {
    border-left-color: #007bff;
}
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.chat-no-mgs
{
  padding: 5px 10px;
  background: #d2d6de;
  border-radius: .3rem;
  font-size: 19px;
  text-align: center;
}
.box-upload
{
  border: 1px solid #ccc;
  padding: 16px;
  background-color: #fff;
  border-radius: 4px;
}
