/* Global Styles */

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

 body {
    background-color: #f8f8f8;
}

/* Wrappers */

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

 #wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
/*    min-height: 568px; */
    background-color: #fff;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 0 30px;
        min-height: 568px;
        border-left: 1px solid #e7e7e7;
    }
}
.content-label {
    word-break: break-word;   /* Cho phép ngắt giữa từ */
    white-space: normal;      /* Cho phép xuống dòng */
}
.user-list {
    height:87vh;
    overflow: auto;
}

.navbar-static-side ul li {
    border-bottom: 1px solid #e7e7e7;
}

/* Navigation */

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

/* Top Right Navigation Dropdown Styles */

 .navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

/* Sidebar Menu Styles */
#side-menu li i
{
    width:20px;
    text-align:left;
}

 .sidebar-search {
    padding: 15px;
}

.arrow {
    float: right;
}

.fa.arrow:before {
    content: "\f104";
}

.active > a > .fa.arrow:before {
    content: "\f107";
}

.nav-second-level li,
.nav-third-level li {
    border-bottom: none !important;
}

.nav-second-level li a {
    padding-left: 37px;
}

.nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .navbar-static-side {
        z-index: 1;
        position: absolute;
        width: 250px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

/* Buttons */

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

 .btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.btn-arrow {
  top:50%;
  right: 30px;
  width: 30px;
  height: 20px;
  line-height: 1;
  text-shadow: 0 -1px 0px rgba(0,0,0,.3);
  color: #1A6FEE;
}

.btn-primary-telephone {
	background-color: rgba(	90,75,130,0.9);
	border-color: rgba( 90,75,130,0.7);
}

.btn-primary-chat-request {
    color: #428bca;
    background-color: #ffffff;
    border-color: #428bca;
}

.btn-nonactive {
    color: #ffffff;
    background-color: #7F7F7F;
    border-color: #A6A6A6;

}

.btn-primary-gift {
    background-color: #FF80B7;
    border-color: #FF80B7;
}


/* Pages */

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

/* Dashboard Chat */

 .chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #B3A9A9;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.left .chat-img {
  width:60px;
  height:60px;
}


.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
    color: #777777;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 54vh;
    overflow-y: scroll;
}

.chat-panel .panel-body-sp {
    height: 50vh;
    overflow-y: scroll;
}

.chat-panel .on_bottom
{
	vertical-align:bottom;
}

.chat-panel .input_chat_config
{
    float:left;
}

.chat-panel .label_chat_config
{
	font-weight:normal;
	font-size: 12px;
	color:#777777;
    display:block;
}

/* Login Page */

 .login-panel {
    margin-top: 25%;
}

/* Flot Chart Containers */

 .flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* PrearrangedLoginedAt */
.mailToText {
  color:red;
}

.mailToText > a {
  color:red;
  text-decoration:underline;
}

.mailToText > a:link {
  color:red;
}

.mailToText > a:hover {
  color:#0000ff;
}

.mailToText > a:visited {
  color:red;
}


/* DataTables Overrides */

 table.dataTable thead .sorting,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: transparent;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

/* Circle Buttons */

 .btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^="col-"] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee !important;
}

.show-grid {
    margin: 15px 0;
}

.media-buttons button{
    margin-bottom:10px;
    margin-right:10px;
}

#unread_user_count {
    background-color: #FFA800;
}

#unread_mail_count {
    background-color: #FFA800;
}

.badge-orange
{
    background-color: #FFA800;
}

/* flipswitch */
.onoffswitch {
    position: relative; width: 60px;height: 25px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    height: 25px;margin-bottom:0px;
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid #EDEAEA; border-radius: 50px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 25px; padding: 0; line-height: 25px;
    font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ON";
    padding-left: 8px;
    background-color: #A3C8E0; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 8px;
    background-color: #EEEEEE; color: #737373;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 25px; height: 25px; margin: 0px;
    background: #FFFFFF;
    border: 2px solid #EDEAEA; border-radius: 50px;
    position: absolute; top: 0; bottom: 0; right: 40px;
    -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
.input-disabled {
    color: #cccccc;
    background-color: #cccccc;
    cursor: not-allowed;
}

/* userForm */
.form-group-userform_checkboxes .checkbox-inline {
    padding-right: 15px;
}

.form-group-userform_checkboxes .checkbox-inline + .checkbox-inline {
    margin-left: 0;
}

/* userForm SNS fieldset*/
.sns-textbox-1 {
    width: 300px;
}

.sns-textbox-2 {
    width: 500px;
}

@media(max-width:768px) {
    .form-group-userform-sns-field table tr td:last-child {
        width: 100%;
    }
    .sns-textbox-1 {
        width: calc(100% - 12px);
    }
    .sns-textbox-2 {
        width: 100%;
    }
}

/* Fortune User Profile side bar */

#directMessageBody {
    width: 100%;
    min-height: 166px;
    max-height: 500px;
    resize: vertical;
}

#tellerTelMemoBody, #ngUserMemoBody {
    width: 100%;
    min-height: 166px;
    max-height: 500px;
    resize: vertical;
}

/* ------------------------------- */
#ngUserMemoButton{
    width:100%;
    padding: 10px;
}
.directMessageEmoji {
    font-size:26px;
    cursor:pointer;
    position: relative;
    top: 5px;
}

.icon-delete {
    cursor: pointer;
}
