.bd {
    border: thin solid red;
}

body{
	font-family: Sarabun,sans-serif;
	font-size: 1.25em;	
}

a:hover{
    text-decoration: none;
    color:#1b489d;
}

img.search-image{
    width: 95%;
    height: 95%;
    border: thin solid #c6d9f7;
}

.gdlist{
    text-align: center;
    margin-left: 1%;
    margin-bottom: 3%;
    height: 280px;   
    vertical-align: bottom;
    position:relative; 
    bottom:0px;
    display: table-cell;
}

.dbottom { 
    position: relative;;                  
    vertical-align: bottom;                                            
} 
img.gd-image{
    width: auto;
    height: 200px; 
    vertical-align: bottom;
}




/* @import url('https://fonts.googleapis.com/css?family=Capriola|Comfortaa|Dosis|Molengo|Ubuntu|Lato|Montserrat|Roboto'); */

.box-login .logo-img {
    height: 70px;
}

.box-login .logo-detail {
    /* color: #a5d1ec; */
    color: white;
    text-align: right;
    font-size: 40px;
    top: 20px;
    /* position: absolute; */
    /* font-family: 'Montserrat'; */
    position: relative;
}

.box-login input {
    margin-bottom: 30px;
}

.box-login .panel-body {
    background: white;
    padding: 10px;
    border-radius: 5px;
}

.box-login label {
    color: #1f6696;
    /* font-weight: bold; */
}

.login-bgh {
    background-color: #1f6696;
    height: 250px;
    padding-top: 40px;
}

.login-fbox {
    float: none;
}

.logo-mini img,
.logo-lg img {
    height: 40px;
}

.box-login .btn-primary {
    background-color: #3c8dbc;
    /* border-color:#204d74; */
    border: none;
}

.box-login .btn-primary:hover,
.box-login .btn-primary:active,
.box-login .btn-primary.hover {
    background-color: #367fa9;
}

.msg-err,
.msg-error {
    color: #961919;
}

.msg-ok {
    color: #05812a;
}


/* topbar */

body {
    font-size: 14px;
}

.navbar {
    background-color: #1f6696;
}

.navbar img {
    height: 35px !important;
    margin-top: -15px !important;
}

.navbar .navbar-brand {
    color: white;
    font-size: 30px;
}

#menu .nav-item a {
    padding: 10px 2px 2px 2px;
    margin-left: 30px;
    font-size: 15px;
    color: #afc3d2;
}

#menu .nav-item.active a {
    /* border: thin solid pink; */
    border-bottom: thin solid #99d9fe;
    ;
}

#menu .dropdown-menu {
    margin-left: -20px;
    padding: 5px;
    max-width: 100px;
}

#menu .dropdown-menu a {
    font-size: 12px;
    color: #636363;
    padding: 2px;
    margin: 0px;
}

#menu .dropdown-menu a:hover {
    background-color: #fef5df;
}


/* p-search */

#btn-search {
    border-radius: 0px 3px 3px 0px;
}

.box-waiting {
    font-size: 20px;
    color: #1f6696;
    display: none;
}

.box-result {
    font-size: 14px;
    display: none;
}

.box-result #box-found {
    color: #3fa0bd;
}

.box-result .box-row {
    border-bottom: thin solid #e4e8ea;
    padding: 20px 10px 5px 10px;
}

.box-result .box-row label {
    color: #1251b0;
    margin-right: 10px;
}

.box-result .box-row .label-dindex {
    margin-top: -20px;
    float: right;
    background: #e6e6e6;
    padding: 0px 10px 3px 10px;
    border-radius: 3px 3px 0px 0px;
    color: #4b8e99;
}


/* p-dindex */

.tb-dindex tr td button {
    padding: 1px 7px;
}

.tb-dindex tr td button:nth-child(1) {
    margin-right: 5px;
}

.tb-dindex.table th,
.tb-dindex.table td {
    border-top: none;
    border-bottom: 1px solid #dee2e6;
}

iframe {
    display: none;
}

.modal-header {
    background: #7bb1ce;
    color: white;
    padding: 10px 15px;
}

.modal-footer {
    padding: 5px;
}


/*-----------------------*/

.box-admin {}

.box-date {
    padding: 0px 5px;
    margin-bottom: 3px;
    font-size: 15px;
}

.box-selectDate {
    /* background: #648da7; */
    border-bottom: thin solid #769ecb;
    background: #ffffff;
    /* background: #05508a; */
    /* overflow: auto; */
    white-space: nowrap;
    overflow-x: scroll;
    scrollbar-width: thin;
}


/*.box-selectDate a {
    display: inline-block;
    color: #a1bacb !important;
    text-align: center;
    padding: 3px 10px;
    text-decoration: none;
    cursor: pointer;
}*/

.box-selectDate .box-tab-date {
    display: inline-block;
    color: #a1bacb !important;
    text-align: center;
    padding: 3px 10px;
    text-decoration: none;
    cursor: pointer;
}

.box-selectDate a label {
    margin: 0px;
    font-weight: bold;
}


/*.box-selectDate a.active,
.box-selectDate a:hover {
    background: #769ecb !important;
    color: #10058e !important;
}*/

.box-selectDate .box-tab-date.active,
.box-selectDate .box-tab-date:hover {
    background: #769ecb !important;
    color: #10058e !important;
}


/* .box-selectDate a.active label{
    margin: 0px;
    color: #f8dae9;
}  
.box-selectDate a.active i{
    color: #f8dae9;
} */


/*.box-selectDate a:hover {
    background-color: #777;
}*/

.box-selectDate .box-tab-date .i-export {
    /* font-size: 18px; */
    color: #a1bacb;
}

.box-selectDate .box-tab-date:hover {
    background-color: #777;
}

.box-selectDate .box-tab-date:hover .i-export,
.box-selectDate .box-tab-date.active .i-export {
    color: #ffffff;
}

.box-selectDate .box-tab-date:hover .i-export:hover {
    color: #00e7ff;
}

.box-left,
.box-center,
.box-right {
    /* min-height: calc(100vh - 120px); */
    padding: 0px 5px;
}


/* .box-left,
.box-center{
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
} */

.box-center {
    /* border-left: thin solid #87a1b1; */
    border-right: thin solid #87a1b1;
    /* max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden; */
}

.box-intent .card-body {
    height: calc((100vh - 200px) / 2);
    overflow-y: auto;
    overflow-x: hidden;
}

.box-member .card-body {
    height: calc((100vh - 200px) / 2);
    overflow-y: auto;
    overflow-x: hidden;
}

/* .box-timeline .card-body {
    height: calc(100vh - 150px);
    overflow-y: auto;
    overflow-x: hidden;
} */
.box-timeline .card-body {
    height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
}

.box-reply .card-body,
.box-chat .card-body {
    /* height: calc(50vh - 100px); */
    height: calc(50vh - 134px);
    overflow-x: hidden;
    overflow-y: auto;
}

.box-reply .card-body,
.box-chat .chat-body-active .card-body,
.box-chat .chat-body-board .card-body {
    height: calc(50vh - 35px);
    overflow-x: hidden;
    overflow-y: auto;
}

.box-search .card-body {
    height: calc(45vh - 100px);
    vertical-align: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

.box-intent ul,
.box-member ul,
.box-timeline ul,
.box-search ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.box-member ul li {
    cursor: pointer;
}

.box-member ul li:hover {
    background: #ebf5f5;
}

.box-intent ul li {
    border-bottom: thin solid #f0f0f0;
    padding: 3px 10px;
    cursor: pointer;
    color: #1b489d;
}

.box-intent ul li:hover,
.box-intent ul li.active {
    /* background: #fffde6; */
    background: #d0fffd;
    /* background: #eff5f5; */
}

.box-intent ul li span {
    color: gray;
    float: right;
}

.card {
    border: none;
}

.card-header {
    padding: 5px 10px;
    font-size: 15px;
    /* background-color:#113e6f; */
    /* background: #b0e0ec;
    color: #000000; */
    background: #769ecb;
    color: white;
}

.card-body {
    padding: 5px 0px;
}

.box-member li img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: thin solid #dcdcdc;
    padding: 1px;
}

.box-member ul li {
    padding: 3px 10px;
    color: #0c6d96;
}

/* box-search */
.box-form-search{
    position: absolute;
    right: 3px;
    top: 3px;
    width: 98.3%;
}
.box-form-search form{
    display: none;
}
.box-form-search form input {
    color: blue !important;
    border-color: #7e96bb;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    height: 22px !important;
    font-size: 13px !important;
}
.box-form-search form button {
    background-color: #093e8d;
    padding: 0px 3px !important;
    font-size: 12px !important;
}
.btn-icon-search{
    background-color: #093e8d;
    padding: 0px 3px !important;
    font-size: 12px !important;
    position: absolute;
    right: 0px !important;
    top: 2px;
    border-radius: 100%;
}

.box-timeline .card-body {
    /* margin-top: -3px; */
}

.box-timeline-body-search {
    position: absolute;
    right: 5px;
    top: 3px;
    display: none;
    width: 98.5%;
    /* margin-bottom: 5px; */
    /* padding: 3px;
    background-color:rgba(0, 153, 255, 0.103); */
}

.box-timeline-body-search #form-search-timeline input {
    color: blue;
    border-color: #7e96bb;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    height: 22px;
    font-size: 13px;
}

/* #form-search input {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
} */

.box-timeline-body-search form button {
    background-color: #093e8d;
    padding: 0px 3px !important;
    font-size: 12px !important;
}
#btn-submit-search-timeline-icon{
    background-color: #093e8d;
    padding: 0px 3px !important;
    font-size: 12px !important;
    position: absolute;
    right: 5px !important;
    top: 3px;
    border-radius: 50px;
}

.box-timeline .v-intent {
    color: #00fff3;
}

.box-timeline .tl-u {
    color: #0c6d96;
}

.box-timeline .tl-u img {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    border: thin solid #dcdcdc;
    padding: 1px;
}

.box-timeline .tl-dtime {
    float: right;
    color: gray;
    font-size: 10px;
}

.box-timeline .tl-que {
    color: #cd5c5c;
}

.box-timeline .tl-que img,.box-timeline .tl-ans img {
    max-height: 55px;
    border-radius: 5px;
    border: thin solid #dbdbdb;
    padding: 2px;
    background-color: #fdfdfb;
    box-shadow: 0.5px 0.5px #cfcfcf;
}

.box-timeline .tl-que img.img,.box-timeline .tl-ans img.img {
    max-height: 125px;
    box-shadow: 1px 1px #cfcfcf;
}

.box-timeline ul li {
    border-bottom: thin solid #f0f0f0;
    padding: 4px 10px;
    cursor: pointer;
    /* color: #1b489d; */
    font-size: 13px;
    margin-bottom: 10px;
}

.box-timeline ul li:hover,
.box-timeline ul li.active {
    background: #fffde6;
}

.box-timeline ul li label {
    margin: 0px;
    color: #7799cc;
}

.box-timeline ul li.s-none {
    border-left: 3px solid #b5b5b5;
}

.box-timeline ul li.s-processing {
    border-left: 3px solid #ff5c2f;
}

.box-timeline ul li.s-finished {
    border-left: 3px solid #adff2f;
}

.modal-viewImage .modal-body {
    max-height: calc(85vh);
    overflow: auto;

}

.modal-viewImage .modal-body img {
    max-width: 750px;
    border-radius: 5px;
    border: thin solid #dcdcdc;
    padding: 1px;
}

/*-------- end (Box:Timeline) --------*/

.box-reply .card-header {
    background: #ffb7b2;
}

.box-reply .card-footer {
    background: #eac7c5;
}

.box-reply #btn-submit-favorite {
    background: #aeadad;
    border: thin solid #a5a5a5;
}

.box-reply #btn-submit-favorite:hover {
    background: #a5a5a5;
}

.box-reply #btn-submit-favorite.active {
    color: red;
}

.box-reply .card-body {
    border: 1px solid #ffb7b2;
    background-color: #fffdfd;
    vertical-align: auto;
    padding: 10px;
    /* min-height: 150px; */
}

.box-reply .card-footer {
    padding: 5px;
}

.box-reply .reply-view {
    display: none;
}

.box-reply .reply-que {
    border-bottom: thin solid #a9a9a9;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.box-reply .reply-que-u {
    color: #cd5c5c;
}

.box-reply .reply-que img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: thin solid #dcdcdc;
    padding: 1px;
    margin-top: -10px;
}

.box-reply .reply-que-content {
    margin-top: 5px;
    background-color: #fff1f0;
    position: relative;
    font-size: 13px;
    color: black;
    border-radius: 5px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.box-reply .reply-que-content:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 8px 8px;
    border-color: #fff1f0 transparent;
    display: block;
    width: 0;
    z-index: 1;
    top: -6px;
    left: 5px;
}

.box-reply .reply-ans-u {
    color: #0e67c6;
}

.box-reply .reply-ans img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: thin solid #dcdcdc;
    padding: 1px;
    margin-top: -10px;
}

.box-reply .reply-ans-content {
    margin-top: 5px;
    background-color: #e5eef1;
    position: relative;
    font-size: 13px;
    color: black;
    border-radius: 5px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.box-reply .reply-ans-content:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 8px 8px;
    border-color: #e5eef1 transparent;
    display: block;
    width: 0;
    z-index: 1;
    top: -6px;
    left: 5px;
}

.box-reply .reply-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.box-reply .reply-item.reply-b {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-right: 52%;
    padding-left: 40px;
    margin: 0 0;
}

.box-reply .reply-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #ffdedb;
    width: 30px;
    height: 30px;
    border-radius: 125px;
    padding: 5px;
}

.box-reply .reply-icon img {
    width: 15px;
}

.box-reply .reply-content {
    /* background: #e5eef1; */
    background-color: #fff1f0;
    position: relative;
    font-size: 13px;
    color: black;
    border-radius: 5px;
    padding: 5px 10px;
    margin-bottom: 10px;
    /* line-height: 1.4; */
    /* min-width: 150px; */
}

.box-reply .reply-b .reply-content::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 5 px;
    left: -8px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 10px solid #fff1f0;
}

.box-reply .reply-item.reply-u {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 52%;
}

.box-reply .reply-u .reply-content {
    background: #e5eef1;
}

.box-reply .reply-u .reply-content::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 5 px;
    right: -8px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid #e5eef1;
}

.box-chat .card-header {
    /* background: #ffb7b2; */
    background: #fceceb;
    padding: 5px 0px;
}

.box-chat .card-header a {
    /* background-color: #b7c68b; */
    border-radius: 4px 4px 0px 0px;
    padding: 5px 10px;
    color: silver;
    cursor: pointer;
}

.box-chat .card-header a.active,
.box-chat .card-header a:hover {
    background: #e8a5a0;
    color: white;
}

.chat-body-active,
.chat-body-chat {
    display: none;
}

.box-chat .card-footer {
    background: #eac7c5;
    padding: 5px;
}

.box-chat-kwQue {
    background-color: #ffffff;
    top: -5px;
}

.box-chat-kwQue .input-group-text {
    background-color: #c8dbd8;
    border: none;
    color: #4f6965;
    border-radius: 0px !important;
    padding: 0px 5px;
    font-size: 13px;
    width: 70px;
}

.box-chat-categoryQue {
    background-color: #ffffff;
    top: -2px;
}

.box-chat-categoryQue .input-group-text {
    background-color: #c4e3f5;
    border: none;
    color: #4f6965;
    border-radius: 0px !important;
    padding: 0px 5px;
    font-size: 13px;
    width: 70px;
}
.box-chat-categoryQue .badge-info{
    background-color: #68b4df !important;
}   

/* .box-chat-kwQue .input-group-prepend{
    background-color: #c8ccb1;
    position: relative;
    padding: 0px;
} 
.box-chat-kwQue .input-group-prepend:after{
    content:"";
    position:absolute;
    height:0;
    width:0;
    left:100%;
    top:0;
    border:16px solid transparent;
    border-left: 15px solid #c8ccb1;
}*/
.bootstrap-tagsinput {
    background: #ffffff;
    border: none;
    box-shadow: none;
    /* padding: 0px 5px; */
    padding-left: 7px;
    width: 80%;
    border-radius: 0px;
}

.bootstrap-tagsinput .badge.badge-info {
    background-color: #85a49f;
    color: #ffffff;
}

.bootstrap-tagsinput .badge {
    margin-right: 5px;
    padding: 3px 1px 4px 5px;
    font-size: 13px;
    font-weight: normal;
}

.bootstrap-tagsinput .badge [data-role="remove"] {
    margin-left: 6px;
    cursor: pointer;

}

.bootstrap-tagsinput .badge [data-role="remove"]::after {
    background: none;
    padding: 0px 3px;
}

.bootstrap-tagsinput input {}

.box-chat .card-body {
    border: 1px solid #ffb7b2;
    background-color: #fffdfd;
    vertical-align: auto;
    padding: 10px;
    /* min-height: 150px; */
    border-top: none;
    border-bottom: none;
}

.box-chat .chat-body-active .card-body,
.box-chat .chat-body-board .card-body {
    border-bottom: thin solid #ffb7b2;
}


.box-chat .chat-u-detail {
    font-size: 12px;
    color: #910707;
    background-color: #f2f2f2;
    border: 1px solid #ffb7b2;
    border-top: none;
    border-bottom: none;
    padding: 1px 1px;
    min-height: 36px;
    clear: both;
}

.box-chat .chat-u-detail img {
    width: 33px;
    height: 33px;
    padding: 1px;
    border: thin solid #dcdcdc;
    background: white;
    border-radius: 5px;
    margin-right: 5px;
    float: left;
    margin-top: 1px;
}

.box-chat .chat-u-detail span {
    font-size: 12px;
    position: relative;
    top: 7px;
}

.box-chat .chat-u-detail div {
    /* float: left; */
    font-size: 12px;
    /* line-height: 16px; */
}

.box-chat .chat-u-detail .btn-chat-close {
    font-size: 12px;
    padding: 2px 5px !important;
    background: #909090;
    border: thin solid #909090;
    cursor: pointer;
    display: inline;
    margin-top: -29px;
}

.box-chat .chat-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.box-chat .chat-item.chat-u {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /* padding-right: 52%; */
    /* padding-left: 40px; */
    margin: 0 0;
    padding-right: 10%;
}

.box-chat .chat-icon_v1 {
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #ffdedb;
    width: 30px;
    height: 30px;
    border-radius: 125px;
    padding: 5px;
}

.box-chat .chat-icon_v1 img {
    width: 15px;
}

.box-chat .chat-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* background-color: #ffdedb; */
    width: 30px;
    height: 30px;
    /* border-radius: 125px;
    padding: 5px; */
}

.box-chat .chat-icon img {
    /* width: 15px; */
    border-radius: 125px;
    width: 30px;
    height: 30px;
    padding: 1px;
    border: 1px solid #dedede;
}

.box-chat .chat-content {
    /* background: #e5eef1; */
    /* background-color: #fff1f0; */
    background-color: #faeeed;
    position: relative;
    font-size: 13px;
    color: black;
    border-radius: 5px;
    /* padding: 5px 10px; */
    margin-bottom: 10px;
    /* line-height: 1.4; */
    /* min-width: 150px; */
    padding: 5px 10px 16px;
    min-width: 100px;
}

.box-chat .chat-u .chat-content::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 5 px;
    left: -8px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    /* border-right: 10px solid #fff1f0; */
    border-right: 10px solid #faeeed;
}

.box-chat .chat-b .chat-content {
    min-width: 150px;
}

.box-chat .chat-u .chat-btn-reply {
    font-size: 8px;
    color: gray;
    margin-top: -10px;
    cursor: pointer;
    margin-left: 5px;
    text-align: center;
}

.box-chat .chat-u .chat-btn-reply:hover {
    color: #a70e58;
}

.box-chat .chat-u .chat-btn-reply i {}

.box-chat .chat-item.chat-b {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /* padding-left: 52%; */
    padding-left: 10%;
}

.box-chat .chat-b .chat-content {
    background: #e5eef1;
}

.box-chat .chat-b .chat-content::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 5 px;
    right: -8px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid #e5eef1;
}

.box-chat .chat-item {}

.box-chat .chat-item.chat-b .chat-content {
    min-width: 170px;
}

.box-chat .chat-item .chat-detail {
    position: absolute;
    right: 10px;
    bottom: 2px;
    font-size: 9px;
    color: #949494;
}

.chat-item .chat-dtime {
    font-size: 7.5px;
    /* position: absolute;
    left: 10px;
    bottom: 2px;
    font-size: 11px;
    color:#949494; */
}

.chat-item .chat-dtime i {
    margin-right: 2px;
}

.chat-item .chat-uby {
    color: #0d3fd1;
    margin-right: 3px;
}

.box-chat-reply-msg {
    font-size: 13px;
    position: absolute;
    border: thin solid #cbcbcb;
    /* margin-top: -40px; */
    margin-top: -100px;
    margin-left: -5px;
    background: #f2f2f2;
    /* text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;  */
    /* width: 10em; */
    padding: 5px 5px 0px;
}

/* .box-chat-reply-msg div:nth-child(1) { */
.box-chat-reply-msg .box-chat-reply-detail {
    width: 95%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    /* text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden; 
    width: 10em;
    position: relative; */
}

.box-chat-reply-msg label {
    /* font-weight: bold; */
    margin-right: 5px;
}

.box-chat-reply-msg .reply-msg {
    color: #6c6b6b;
}

.box-chat-reply-msg .btn-chat-reply-close {
    cursor: pointer;
}

.box-chat .chat-body-active .card-body div {
    padding: 5px 3px;
}

.box-chat .chat-body-active .card-body div:hover {
    background-color: #f2e6e6;
}

.box-chat .active-iq,
.box-chat .active-ia {
    font-size: 13px;
    margin-right: 3px;
}

.box-chat .active-tq {
    color: #910707;
}

.box-chat .active-iq {
    /* background-color: #faeeed; */
    color: #9f5858;
}

.box-chat .active-ta {
    color: #0d3fd1;
}

.box-chat .active-ia {
    /* background-color: #e5eef1; */
    color: #516cbd;
}

.box-chat .active-ic {
    color: #4f4646;
    margin: auto 15px;
}

.box-chat .active-bdel {
    font-size: 10px;
    padding: 2px 5px;
    /* margin-right: 10px; */
    /* margin-top: 1px; */
    border-radius: 3px;
    background-color: #909090;
    border-color: #909090;
    float: right;
}

.box-chat span.active-bdel {
    color: transparent;
    background-color: transparent;
    border-color: transparent;
}

.box-chat .chat-body-board .board-row {
    /* padding: 5px 3px; */
    /* border: thin solid #e8e8e8; */
    margin-bottom: 15px;
    /* background-color: #e6e6e6; */
}

.board-row .board-buser {
    display: inline-block;
    /* background-color: #ffffff; */
    width: 120px;
    text-align: right;
    border-radius: 0px 100px 100px 0px;
    text-transform: uppercase;
}

.board-row .board-bscore {
    background-color: #efefef;
    /* display: inline-block; */
    width: 80%;
    float: right;
    height: 25px;
    border-radius: 3px 0px 0px 3px;
}

.board-row .board-name {
    /* display: inline-block;
    position: absolute; */
    /* width: 100px; */
    /* text-align: right; */
    padding-right: 3px;
    position: relative;
    top: 1px;
}

.board-row img {
    height: 25px;
    position: relative;
    right: -2px;
}

.box-chat .chat-body-board .board-score {
    /* background-color: white; */
    border-radius: 0px 10px 10px 0px;
    /* width: 100px; */
    padding: 4.5px 3px;
    display: inline-block;
    /* margin-left: 100px; */
    font-size: 9px;
    color: white;
    text-align: right;
    /* position: absolute; */
    /* margin-top: 8px; */
}

.box-chat .chat-item img {
    max-height: 60px;
    border-radius: 5px;
    border: thin solid #dbdbdb;
    padding: 2px;
    background-color: #fdfdfb;
    box-shadow: 0.5px 0.5px #cfcfcf;
}

.box-chat .chat-item img.img {
    max-height: 150px;
    box-shadow: 1px 1px #cfcfcf;
}

.board-row.bgs-1 {
    /* color: #dab42f; */
}

.board-row .board-score {
    background-color: #efdfcb;
}

.bgs-1 .board-score {
    background-color: #f6c123;
}

.bgs-2 .board-score {
    background-color: #dde1e4;
}

.bgs-3 .board-score {
    background-color: #46a1c0;
}

.bgs-4 .board-score {
    background-color: #68b5ad;
}

.bgs-5 .board-score {
    background-color: #9b81ae;
}

.bgs-6 .board-score {
    background-color: #a4c43f;
}

.bgs-7 .board-score {
    background-color: #e96966;
}

.bgs-8 .board-score {
    background-color: #7ba1b8;
}

.bgs-9 .board-score {
    background-color: #e68e65;
}

.bgs-10 .board-score {
    background-color: #b84b81;
}

.sbubble {
    position: relative;
    width: 30px;
    height: 25px;
    padding: 0px;
    background: #48FFFF;
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;
}

.sbubble:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 4px 3px 0;
    border-color: #48FFFF transparent;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -4px;
    left: 12px;
}


/* box-search */

.box-search .card-header {
    /* background: #b7c68b; */
    background: #ecf2db;
    padding: 5px 0px;
}

.box-search .card-header a {
    /* background-color: #b7c68b; */
    border-radius: 4px 4px 0px 0px;
    padding: 5px 10px;
    color: silver;
    cursor: pointer;
}

.box-search .card-header a.active,
.box-search .card-header a:hover {
    background: #b7c68b;
    color: white;
}

.search-body-archive {
    display: none;
}

.box-search table {
    font-size: 12px !important;
    margin-top: 0px !important;
}

.box-search .dataTables_wrapper {
    font-size: 11px !important;
}

.box-search table thead th {
    padding: 5px 0px 5px 5px;
    background: #f2f4ee;
}

.box-search table tr td {
    padding: 5px;
}

.box-search table.search-body-archive tr td:nth-child(2),
.box-search table.search-body-archive tr th:nth-child(2) {
    text-align: center;
    vertical-align: middle;
}

.btn-exportArFile {
    background-color: #e9ecee;
    border-color: #e1e1e1;
    margin-top: 5px;
    font-size: 12px;
    cursor: pointer;
}

.box-search .search-body-faq ul li {
    border-bottom: thin solid #ebf2e6;
    padding: 4px 0px 4px 10px;
    cursor: pointer;
    /* color: #1b489d; */
    font-size: 13px;
    margin-bottom: 10px;
}

.box-search .dataTables_paginate ul li a {
    padding: 5px;
    color: #b7c68b;
}

.box-search .dataTables_paginate ul li.active a {
    background: #b7c68b;
    border-color: #b7c68b;
    /* border-color: #dee2e6; */
}

.box-search ul li label,
.box-search table tr td label {
    margin: 0px;
    color: #6f9b08;
}

.search-result ul li {
    border-bottom: thin dashed #c0c0c0;
    padding: 5px 0px;
}

.search-result ul li button {
    font-size: 11px;
    padding: 0px 3px;
    margin-left: 2px;
}

.search-body-archive td span {
    background-color: #dddddd;
    padding: 2px 4px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 11px;
    color: #6a6a6a;
    font-weight: normal;
}

.search-result .sres-que,
.search-body-archive .sar-que {
    /* color: #8f3e12; */
    color: #d05001;
}

.search-result .btn-sres-fav {
    background: #c1c1c1;
    border: thin solid #c1c1c1;
}

.search-result .btn-sres-fav.active {
    color: red !important;
    border: thin solid #c1c1c1 !important;
    background: #c1c1c1 !important;
}

.box-result {
    display: none;
}

.search-found {
    color: #6a961f;
}

.search-waiting {
    font-size: 20px;
    color: #6a961f;
    display: none;
}

.modal-conf-faqar .modal-body label {
    font-weight: bold;
    margin-right: 5px;
}

.modal-conf-faqar .modal-body div {
    padding-top: 10px;
}

#form-search {
    /* padding: 5px; */
}

#form-search.faqar {
    background: #fae992;
}

#form-search input {
    color: #11851a;
    border-color: #a4bba6;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

#form-search button {
    background-color: #117216;
}

.search-faqar {
    /* background: #f9fea0; */
    background: #fae992;
    padding: 5px;
    display: none;
}

.testdemo {
    background: #eaeaea;
}

.modal-loading .modal-content {
    background-color: transparent;
    border: none;
}

.modal-loading .i-loading {
    font-size: 50px;
    color: #ffffff;
    margin-left: 30%;
}

.modal-viewIssue .modal-header {
    background-color: #b7c68b;
}

.modal-viewIssue .modal-body {
    padding-bottom: 5px;
}

.modal-viewIssue .issue-dtime {
    border-top: thin solid #c8c8c8;
    margin-top: 20px;
    padding-top: 5px;
    color: #8f9f60;
}

.modal-viewIssue table {
    padding: 10px;
}


.modal-viewIssue table tr td:first-child {
    text-align: right;
    padding: 5px 10px 5px 5px;
    font-weight: bold;
    background-color: #f4f4f4;    
    width: 220px;
}

.modal-viewIssue table tr td:last-child {
    border-bottom: thin solid #e1e4d9;
}

.modal-viewIssue table tr:last-child td {
    border-bottom: none;
}

.box-drange {
    background: #fff;
    cursor: pointer;
    padding: 4px 5px;
    border: 1px solid #ccc;
    width: 200px;
    font-size: 12px;
    margin-top: 5px;
    float: left;
}
.daterangepicker .ranges li.active {
    background-color: #b7c68b;
}
.daterangepicker td.in-range.available, .daterangepicker td.available:hover, .daterangepicker th.available:hover {
    background-color: #ecf2db;
}
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #b7c68b !important;
}

.daterangepicker td.off.available, .daterangepicker td.ends.off.disabled  {
    visibility: hidden;
}
.daterangepicker .drp-calendar.left {
    padding: 0px;
}
.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    min-width: 30px;
    width: 30px;
    height: 24px;
    line-height: 22px;
}
.daterangepicker .drp-calendar.right {
    padding: 0px;
}

.box-ar-kw span {
    background-color: #c8dbd8 !important;
    color: #4f6965 !important;
}

.box-ar-cat span {
    background-color: #c4e3f5 !important;
    color: #4f6965 !important;
}

