/*
.logo {
	background-image: url("../images/phl_logo_small.jpg");
	background-repeat: no-repeat;
}

.sidebar-collapse .logo {
	background-image: url("../images/phl_logo_small.jpg") !important;
}

.skin-blue .main-header .logo {
    background-color: #367fa9;
    color: #ffffff;
    border-bottom: 0 solid transparent;
    border-right: 2px solid #296384;
}


*/
.input-group-go {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .175rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

body .txt-goto-page {
    border-radius: 4px!important;
    width: 50px!important;
    padding: 3px!important;
    text-align: center;
    border-color: #ced4da!Important;
}

.btn_login {
    background: #bd9d00;
}



.required:after {
    color: red !important; 
    font-size: 14px !important;
    content: " *" !important;
}

.input-group-sm .select2-container .selection .select2-selection--single {
    font-size: 12px;
    height: 30px;
    line-height: 1.5;
    padding: 5px 22px 5px 10px;
}

.form-group.has-error .select2-selection {
    border-color: #dd4b39;
    box-shadow: none;
}

table tbody tr td.text-center {
    text-align: center;
}

table tbody tr td.text-number {
    text-align: right;
}

table tbody tr td.text-left {
    text-align: left;
}

table tbody tr td.text-right {
    text-align: right;
}

table tbody tr.highlight {
    background: red none repeat scroll 0 0 !important;
}

table tbody tr.selected {
    background: #ddd none repeat scroll 0 0 !important;
}

.combo {
    height: 30px !important;
    width: 100% !important;    
}

.combo .textbox-text {
    color: #555;
    height: 100% !important;
    padding-left: 10px !important;
    width: 87% !important;
    font-size: 13px !important;
}

table.table tfoot.header  {
    display: table-header-group !important;
}

.form-group {
    margin-bottom: 5px !important;
}

.form-group > label:FIRST-CHILD {
/* 	margin-top: 6px; */
}

label.form-control {
    background: none;
    box-shadow: none;
    font-weight: normal;
}

.select2-container span.form-label {
    background: none;
    border: none;
    box-shadow: none;
    font-weight: normal;
    border-bottom: 1px dotted #ccc;
    padding: 0px;
    height: 28px;
}

.select2 {
	width: 100% !important;
}

.box-tools .select2 {
	width: auto !important;
}

.form-horizontal .control-label {
    text-align: left;
}

.modal-lg-md {
	max-width: 760px;
}

.modal-lg-max {
    width: 1300px;
}

.modal-custom .modal-header {
	background-color: #3c8dbc;
	border-bottom: 1px solid #d2d6de;
}

.modal-custom .modal-footer {
    border-top: 1px solid #d2d6de;
}

.modal-custom .modal-body {
    background-color: #ecf0f5;
}

.btn-circle {
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 15px;
}

.table tr th.action {
	width: 50px;
}

.highlight{
	color: red;
	font-weight: bold
}

.document-table .document-type {
	font-size: 100%;
	font-weight: normal;
}

.avatar {
	margin-bottom: 3px;
	float: left;
}

.avatar .avatar-lg {
	height: 150px;
    width: 150px;
}

.input-radius {
	border-radius: 4px;
}
.error {
	color: red;
}
label.error{
	position: absolute;
    background: #e71d1c;
    z-index: 10;
    padding: 2px 10px;
    border-radius: 0;
    color: #fff;
    font-size: 12px;
    top: -25px;
}
a:hover, a:active, a:focus {
    color: #424242;
}
label.error:before{
	content: "\f0d7";
    font-family: FontAwesome;
    right: 50%;
    position: absolute;
    color: #e71d1c;
    font-size: 16px;
    bottom: -13px;
}
/**
 * CSS resize textarea
 * 
 * @version 01-00
 * @since 01-00
 * @author VuHH
 */
 
.vresize {
	resize: vertical;
}

.hresize {
	resize: horizontal;
}

.noresize {
	resize: none;
}

/**
 * CSS button List, Create align Right
 * 
 * @version 01-00
 * @since 01-00
 * @author VuHH
 */
.button-right {
	float: right;
	background: transparent;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 12px;
	padding: 0px 5px;
	position: absolute;
	top: 7px;
	right: 10px;
	border-radius: 2px;
}

.button-right > li {
	float: left;
	list-style: none;
	margin: 0px 5px;
}

/**
 * CSS account page
 * 
 * @version 01-00
 * @since 01-00
 * @author VuHH
 */
 .arrow-button {
 	margin: 0px 10px;
 }
 
.group-control-inline label {
    float: left;
    text-align: left;
    font-weight: normal;
    margin-bottom: 5px;
    margin-right: 4px;
    margin-top: 4px;
}

.group-control-inline select {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.login-page {	
/*   	background: url('../images/landscape_33.jpg') no-repeat; */
	background-size: cover;
    background-repeat: no-repeat;
/* 	position: fixed; */
	background-attachment: scroll;
	background-position: 0% 0%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
}

.login-box-body {
	background: rgba(0, 0, 0, 0) url("../images/bg-login.png") repeat scroll center top;
    color: #666;
    padding: 20px;
}

.login-page h2, .login-page h3 {
	font-family: Arial, Helvetica, sans-serif;
}

.login-logo h2 {
	color: #bc952f;
    font-size: 1em;
}

.login-logo h3 {
    color: #fff;
    font-size: 47px;
}

.widget {
	width: 100%;
	float: left;
	border-radius:4px;
	text-align: center;
	color: #fff;
}

.widget .with-border {
	border-bottom: 1px solid #fff;
}

.widget .widget-header, .widget .widget-body {
	padding: 5px 0px;
}

.widget-aqua {
	background: #1486e6;
}

.widget-yellow {
	background: #eea32e;
}

.widget-blue {
	background: #1486E6;
}

.widget-green {
	background: #2B870B;
}

.widget-red {
	background: #dd4b39;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right), .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
    width: 215px;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
    left: 235px !important;
}

.main-sidebar .sidebar .user-panel .info p {
	white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* ancient Opera */
    white-space: -o-pre-wrap; /* newer Opera */
    white-space: pre-wrap; /* Chrome; W3C standard */
    word-wrap: break-word; /* IE */
}

.table-fixed {
  table-layout:fixed;
}

.table-fixed td.text-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table thead th.no {
	width: 2%;
}

a {
  text-decoration: none !important;
}

.input-group-addon {
	border: 1px solid #979797;
	padding: 4px 12px;
}

.pagination span {
    font-size: 14px !important;
}

.modal-dialog {
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    width: 600px
}

input[readonly], textarea[readonly], select[readonly] {
    background-color: #eee !important;
}

.no-bg input[readonly],
.no-bg textarea[readonly] {
    background-color: white !important; /* hoặc màu khác bạn muốn */
}
textarea.form-control {
    height: auto;
}

pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    white-space: pre-wrap;
}

.btn-close {
    font-size: 10px !important;
}

.btn-close:focus,
.btn-close:active {
  outline: none !important;
  box-shadow: none !important;
}

.custom-row {
  --bs-table-bg: lightgreen;
}

/* Khi select có class error */
select.error,input.error {
  color: red !important;  /* Màu chữ hiển thị trong ô select */
}

/* Và toàn bộ option trong dropdown */
select.error option {
  color: red;
}

/* .note-dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  z-index: 1051;
}

.note-dropdown-menu.show {
  display: block;
} */

.custom-xml-view {
  white-space: pre-wrap;         /* giữ định dạng dòng */
  word-break: break-word;        /* ngắt từ dài */
  background-color: #f8f9fa;     /* nền xám nhẹ */
  border-radius: 4px;
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 14px;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: auto;
}

.align-top-value {
  word-break: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  display: block;
}


