﻿.page-container {
    padding: 2px 2px;
}

@media (min-width: 769px) {
    .sidebar {
        width: 270px;
        padding-right: 2px;
    }

    .sidebar-xs .sidebar-main {
        width: 65px;
    }
}

@media (min-width: 769px) {
    .table_break_word {
        table-layout: fixed;
        word-wrap: break-word;
    }
}

.authorization-edit-lsbox-title {
    width:45%;
    float:left;
}

.authorization-edit-btnNav {
    width:10%;
    float:left;
    text-align:center;
    margin:110px 0 0 0;
}

.float-left {
    float:left;
}

.authorization-edit-wrapper-lsBox {
    width:100%;
    float:left;
    border:1px solid #cccccc;
    padding:10px;
    height:390px;
}

.scrollable-content {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 300px;
    padding-right: 0;
}

.navbar-inverse{background-color:#00aeef;border-color:#00aeef}
/*.navbar-inverse{background-color:#006fb7;border-color:#006fb7}*/

.aDelete{ display:none }

.rowCurrent {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
        margin-top: 12px;
}

.navbar-custom {
  background-color: #00ace9;
  border-color: #0094c8;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#1dc4ff), to(#00ace9));
  background-image: -webkit-linear-gradient(top, #1dc4ff, 0%, #00ace9, 100%);
  background-image: -moz-linear-gradient(top, #1dc4ff 0%, #00ace9 100%);
  background-image: linear-gradient(to bottom, #1dc4ff 0%, #00ace9 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1dc4ff', endColorstr='#ff00ace9', GradientType=0);
}
.navbar-custom .navbar-brand {
  color: #f6f6e8;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
  color: #e8e8c3;
  background-color: transparent;
}
.navbar-custom .navbar-text {
  color: #f6f6e8;
}
/*.navbar-custom .navbar-nav > li:last-child > a {
  border-right: 1px solid #0094c8;
}
.navbar-custom .navbar-nav > li > a {
  color: #f6f6e8;
  border-left: 1px solid #0094c8;
}*/
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
  color: #404040;
  background-color: transparent;
}
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
  color: #404040;
  background-color: #0094c8;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#0094c8), to(#00b9fb));
  background-image: -webkit-linear-gradient(top, #0094c8, 0%, #00b9fb, 100%);
  background-image: -moz-linear-gradient(top, #0094c8 0%, #00b9fb 100%);
  background-image: linear-gradient(to bottom, #0094c8 0%, #00b9fb 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0094c8', endColorstr='#ff00b9fb', GradientType=0);
}
.navbar-custom .navbar-nav > .disabled > a,
.navbar-custom .navbar-nav > .disabled > a:hover,
.navbar-custom .navbar-nav > .disabled > a:focus {
  color: #cccccc;
  background-color: transparent;
}
.navbar-custom .navbar-toggle {
  border-color: #dddddd;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
  background-color: #dddddd;
}
.navbar-custom .navbar-toggle .icon-bar {
  background-color: #cccccc;
}
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
  border-color: #0092c5;
}
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
.navbar-custom .navbar-nav > .dropdown > a:focus .caret {
  border-top-color: #404040;
  border-bottom-color: #404040;
}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
  background-color: #0094c8;
  color: #404040;
}
.navbar-custom .navbar-nav > .open > a .caret,
.navbar-custom .navbar-nav > .open > a:hover .caret,
.navbar-custom .navbar-nav > .open > a:focus .caret {
  border-top-color: #404040;
  border-bottom-color: #404040;
}
.navbar-custom .navbar-nav > .dropdown > a .caret {
  border-top-color: #f6f6e8;
  border-bottom-color: #f6f6e8;
}
@media (max-width: 767) {
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
    color: #f6f6e8;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #404040;
    background-color: transparent;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #404040;
    background-color: #0094c8;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }
}
.navbar-custom .navbar-link {
  color: #f6f6e8;
}
.navbar-custom .navbar-link:hover {
  color: #404040;
}
/*.rowCurrent .rowDetail {
     visibility: hidden;
    width: 160px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: relative;
    z-index: 1;
    white-space: pre-wrap;
}
.rowCurrent:hover .rowDetail {
    visibility: visible;
}*/

.form-control:focus {
  border-color: #6265e4 !important;
  box-shadow: 0 0 5px rgba(98, 101, 228, 1) !important;
}

.bootstrap-select .btn:focus {
  box-shadow: 0 0 5px rgba(28, 51, 228, 1) !important;
}

.nav-tabs>li>a:hover {
    border-color: transparent transparent #ddd;
    font-size: medium;
	font-weight: bold;
}

.nav-tabs.nav-tabs-highlight>li.active>a, .nav-tabs.nav-tabs-highlight>li.active>a:hover, .nav-tabs.nav-tabs-highlight>li.active>a:focus {
    border-top-color: #2196f3;
    border-top-left-radius: 10px 10px;
    border-top-right-radius: 10px 10px;
    background-color: #1080f110;
	font-size: medium;
	font-weight: bold;
}

.nav-tabs.nav-justified.nav-tabs-highlight>li>a, .nav-tabs.nav-justified.nav-tabs-highlight>li>a:hover, .nav-tabs.nav-justified.nav-tabs-highlight>li>a:focus {
    border-top-width: 3px;
}

.panel-message{padding:15px 20px 0px;border-top-right-radius:2px;border-top-left-radius:2px}

.panel-flat>.panel-heading {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #00aeef;
    color: white;
    text-transform: uppercase;
}

.color-approved {
  color: #97be0d;
}

.color-rejected {
  color: #ef413d;
}

.color-pending {
  color: #00aeef;
}

.color-returned {
    color: #FF9A0C;
}

.color-draft {
  color: #455a64;
}

.color-paid {
  color: #AB47BC;
}

.highlight-id {
  color: #ef413d;
  font-size: 22px;
  font-weight:bold;
}

.label-highlight-id {
  color: #ef413d;
  font-weight:bold;
}

.td-min-width-sub-code{
    min-width:130px;
}

.td-min-width-role-name{
    min-width:150px;
}

.td-min-width-country-name{
    min-width:50px;
}

.td-min-width-area-name{
    min-width:50px;
}

.td-min-width-user-name{
    min-width:150px;
}

.td-min-width-position{
    min-width:150px;
}

.td-min-width-position-approval{
    min-width:230px;
}

.td-min-width-date{
    min-width:150px;
}

.td-min-width-amount{
    min-width:150px;
}

.td-min-width-description{
    min-width:150px;
}

.td-min-width-action{
    min-width:80px;
}

.btn-approved {
  color: #ffffff;
  background-color: #97be0d;
  border-color: #97be0d;
}

.btn-approved:hover {
  color: #ffffff;
  background-color: #97be0d !important;
  border-color: #ff00bf !important;
  border-width: 3px;
}

.btn-rejected {
  color: #ffffff;
  background-color: #ef413d;
  border-color: #ef413d;
}

.btn-rejected:hover {
  color: #ffffff;
  background-color: #ef413d !important;
  border-color: #97be0d !important;
  border-width: 3px;
}

.btn-returned {
  color: #ffffff;
  background-color: #455a64;
  border-color: #455a64;
}

.btn-returned:hover {
  color: #ffffff;
  background-color: #455a64 !important;
  border-color: #ff00bf !important;
  border-width: 3px;
}

.btn-transfer {
  color: #ffffff;
  background-color: #006fb7;
  border-color: #006fb7;
}

.btn-transfer:hover {
  color: #ffffff;
  background-color: #006fb7 !important;
  border-color: #ff00bf !important;
  border-width: 3px;
}

.alignRight { text-align: right; }

.color-budget {
  color: #006fb7;
  font-weight:bold;
					 
					  
}

.color-spent {
  color: #ef413d;
  font-weight:bold;
}

.color-pending-approval {
  color: #ffcc00;
  font-weight:bold;
}

.color-remaining {
  color: #00b300;
  font-weight:bold;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.active,
.open .btn-primary {
  color: #ffffff;
  /*background-color: #ff00bf;*/
  border-color: #ff00bf;
  border-width: 3px;
}

h5.panel-title, .h5.panel-title {
    font-size: 17px;
    font-weight: bold;
    margin-left: 1em;
    margin-right: 1em;
}



.dh_panel-heading {
    /* padding: 15px 20px; */
    border-bottom: 1px solid transparent;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}


.dh_heading-elements2 {
    background-color: inherit;
    position: absolute;
    /*top: 50%;*/
    left: 280px;
    height: 36px;
    margin-top: -50px;
}

.dh_heading-elements3 {
    background-color: inherit;
    position: absolute;
    /*top: 50%;*/
    right: 10px;
    height: 36px;
    margin-top: -50px;
}


.icons-list > li {
    position: relative;
    display: inline-block;
    margin-top: -3px;
    font-size: 20px;
}


.dh_collapse:after {
    content: '\e9c1';
    font-family: 'icomoon';
}






th.dpass, td.dpass {
    display: none;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 12px 5px;
}

.dataTable thead .sorting, .dataTable thead .sorting_asc, .dataTable thead .sorting_desc, .dataTable thead .sorting_asc_disabled, .dataTable thead .sorting_desc_disabled {
    padding-right: 15px;
}

.dataTables_scroll .dataTables_scrollHead th, .dataTables_scroll .dataTables_scrollHead td {
     white-space: normal; 
}

.dataTable thead .sorting:before, .dataTable thead .sorting:after, .dataTable thead .sorting_asc:after, .dataTable thead .sorting_desc:after, .dataTable thead .sorting_asc_disabled:after, .dataTable thead .sorting_desc_disabled:after {
    right: 5px;
}

tr.row_selected td {
    background-color: #CADD83 !important;
}


[class^="icon-"], [class*=" icon-"] {
    display: unset !important;    
}
.bootstrap-select.btn-group.show-tick .dropdown-menu > li.active > a {
    background-color: #0d6efd !important; /* xanh Bootstrap */
    color: #fff !important;
}
@media (max-width: 768px) {
    .scroll-container {
        overflow-x: auto;
    }
}


.top_tru_1_px {
    top: -1px; 
}

.top_cong_8_px {
    top: 8px;
}


.a_isDisabled {
    color: currentColor;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
}
.bootstrap-select .dropdown-menu li a span.text {
    display: inline-block;
    padding-right: 25px; /* t?o kho?ng tr?ng cho d?u tick */
    white-space: normal; /* cho phép xu?ng dòng n?u c?n */
}
a.editable,
a.editable-type,
a.editable-province,
a.editable-district {
    color: inherit !important; /* dùng màu chữ bình thường */
    text-decoration: none !important; /* bỏ gạch chân */
    border-bottom: 1px dashed transparent !important; /* giữ layout ổn */
    cursor: pointer; /* vẫn hiển thị con trỏ khi hover */
}

    a.editable:hover,
    a.editable-type:hover,
    a.editable-province:hover,
    a.editable-district:hover {
        color: inherit !important;
        text-decoration: none !important;
        border-bottom-color: #aaa; /* thêm hiệu ứng hover nhẹ nếu muốn */
    }

@media (max-width: 767px) {
    .mobile-no-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.flag-icon {
    border: 1px solid #d0d0d0; /* viền nhẹ */
    border-radius: 0px !important; /* hơi bo */
    background: rgba(255,255,255,0.7); /* nền mờ nhẹ giúp tách khỏi màu nền */
    padding: 2px; /* để border không dính vào flag */
    box-shadow: 0 0 3px rgba(0,0,0,0.15); /* đổ bóng rất nhẹ */
    transition: .2s;
    margin-left:10px;
    padding:0px !important;
}

    .flag-icon:hover {
        box-shadow: 0 0 5px rgba(0,174,239,.35);
        border-color: #00aeef;
    }

