@import 'spacing.css';
body {
  overflow: auto;
}
.p0{
	padding:0;
}
/*** LOGIN ***/
#login .container {
  max-width: 330px;
}
.login-form {
  padding: 20px 0;
}
.login-form .form-group {
  position: relative;
}
.login-form span {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 18px;
  color: #999;
}
.login-form input {
  padding-left: 40px;
}
.btn-primary {
	margin:0 5px;
}
/*** NAVBAR ***/
.navbar {
  margin-bottom: 0;
  border-radius: 0;
}
/*foter*/
#footer {
text-align: center;
display: block;
color: #ffffff;
padding: 3px;
}
#footer h2{
    margin: 0px;
  padding: 0px;
margin:10px 0 0px;
font-size:15px;
font-weight: bold;
color:#fff;
}

#footer h2 a{
margin-top:5px;
font-size:15px;
font-weight: bold;
color:#fff;
}
#footer p{
  padding:3px 0;
  margin: 0px;
}
#footer p strong{
font-size:11px;
color:#fff;
font-weight: 700;
}
/* SIDEBAR */
#sidebar-bg {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: -1;
  width: 200px;
  border-right: 1px solid #ddd;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  background: #f5f5f5;
}
#sidebar {
  float: left;
  width: 200px;
}
#sidebar .panel {
  border-radius: 0;
}
ul#menu .caret {
  position: absolute;
  top: 17px;right: 15px;
}
ul#menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}
ul#menu a:hover {
  color: #428BCA;
}
ul#menu li.active > a {
  color: #428BCA;
  font-weight: bold;
}
ul#menu li.active > ul a {
  font-weight: normal;
}
ul#menu li {
  padding: 0;
  background: #f9f9f9;
}
ul#menu > li:hover,
ul#menu > li.active {
  background: #fff;
  z-index: 2;
}
ul#menu > li > ul {
  display: none;
  margin-bottom: 0;
}
ul#menu > li.active > ul {
  display: block;
}
ul#menu > li > ul > li {
  border-top: 1px dotted #ddd;
  background: #fff;
}
ul#menu > li > ul > li:first-child {
  border-top: 1px solid #ddd;
}
ul#menu > li > ul > li .glyphicon {
  font-size: 6px;
  top: -1px;
  margin: 3px;
}

/*** MAIN ***/
#main {
  margin-left: 200px;
}
/*** BREADCRUMB ***/
.breadcrumb {
  padding: 10px 15px;
  border-radius: 0;
  border-bottom: 1px solid #ddd;
}
.breadcrumb>li+li:before {
  content: "\e080";
  font-family: 'Glyphicons Halflings';
  font-size: 8px;
  display: inline-block;
  padding-right: 8px;
  color: #999;
}
/*** PAGINATION ***/
.pagination {
  margin-top: 0;
}
.icon-user:before{ content: "\f007"; }
@media (max-width:991px){
  #sidebar {
    width: 48px;
  }
  #sidebar-bg {
    width: 48px;
  }  
  #main {
    margin-left: 48px;
  }
  #sidebar .panel-heading span {
    display: none;
  }
  ul#menu > li > a > span { 
    display: none;
  }
  ul#menu > li:hover > a > span {
    display: block;
    position: absolute;
    left: 46px; top: -1px;
    width: 150px;
    padding: 10px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    box-shadow: 5px -5px 5px rgba(0, 0, 0, 0.05);
  }
  ul#menu > li > ul {
    position: absolute;
    left: 46px; top: 38px;
    width: 150px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.05);
    display: none!important;
  }
  ul#menu > li.active > ul {
    display: none!important;
  }
  ul#menu > li:hover > ul {
    display: block!important;
  }
  ul#menu > li > ul > li {
    border: 1px solid #ddd;
  }
}
.pagination {
text-align: center;
margin: 10px 0 10px 0;
width: 100%;
}
.pagination a {
margin: 0 2px;
border: 1px solid #CCC;
border-radius: 3px;
padding: 3px 7px;
font-weight: bold;
text-decoration: none;
}
.pagination span {
margin: 0 2px;
border-radius: 3px;
}
.classunlink {
margin: 0 2px;
border: 1px solid #CCC;
border-radius: 3px;
padding: 3px 10px;
font-weight: bold;
text-decoration: none;
color: red;
}
.pagination a:hover{border:1px solid #0069ac;text-decoration:none}

.td_left{
  color: #153FA3;
  font-weight: 700;
  border:none !important;
  width:200px;
}
.td_left .cl-red{
	color: #ff5050;
}
.td_left small{
	color: #999;
}
.td_right{
  border:none !important;
}

.them_dt tr:hover td{
  background-color: none !important;
}
.width400{
  max-width: 500px;
}
.chkbox{
  width: 20px;
  height: 20px;
}

table.chitiet_sp th{
  border:1px solid #ccc;
  padding:7px 12px 7px 15px;
  text-align: left;
  background-color: #dce9f9;
  color:#333333;
}

table.chitiet_sp td{
  border:1px solid #ccc;
  padding:7px 12px 7px 15px;
  text-align: left;
}


table.chitiet_sp td input.soluong{
  border: 1px solid #ccc;
  width: 40px;
  border-radius: 4px;
}
.tooltip{
    display: none;
    position: absolute;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    padding:5px;
    text-align: left;
}
.chk_box{
    width: 16px !important;
    height: 16px !important;
}
th, td{
  text-align: center;
}

.them_dt th,.them_dt td{
   text-align: left;
}

.lb_nut{
  margin-left: 5px;
  margin-right: 15px;
  position: relative;
  top: -5px;
}
.nav-tabs>li>a{
      border-color: #eee #eee #ddd;
        background-color: #eee;
}
.table{
  margin-top: 10px;
}
.nav-tabs>li {   margin-right: 3px;}
.dv-img-ad{
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 5px;
    text-align: left;
    overflow: hidden;
    position: relative;
}



input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.a_stt{
	text-align:center;
	width:60px;
}









/*Super naughty Sir.CongHau*/
.clear{clear: both;display: block;}
.ar_admin.last{margin-bottom: 0px;border-bottom: none;border-radius: 5px 5px 0px 0px;}
.ar_admin{
  border: 1px solid #ddd;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 2px;
  margin-bottom: 10px;
  border-radius: 0px 5px 5px 5px;
}
.ar_admin .form-control{border: 1px solid #ddd;}
.ar_admin tr{border-bottom: 1px solid #e8e8e8;}
.ar_admin tr:last-child{border-bottom: none;}
.ar_admin .table td{padding: 10px 0px !important;line-height: 32px;}
.ar_admin .table td.table-input{padding: 10px 5px !important;}
.ar_admin .table td.table-input input {text-align: center;}

.nav-tabs{border-bottom: none !important;}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{background: #f9f9f9;}
.title_thongtinchung{
  font-family: 'arial';font-size: 14px;text-transform: uppercase;
  border-bottom: 1px solid #ddd;font-weight: 600;padding-bottom: 5px;
}
input[type="file"].form-control{padding: 4px;position: relative;}
input[type="file"].form-control:after{content: "";position: absolute;top: -1px;right: 0px;background: url(../images/add.png) no-repeat;width: 30px;height: 30px;border-radius: 0px 3px 3px 0px;}
.navbar-header{width: 219px;text-align: center;}
.navbar-brand{float: none !important;line-height: 40px !important;padding: 0px !important;text-align: center;}
.ar_admin .table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{vertical-align: inherit !important ;}
.img_addimage img{
    margin-right: 20px;
    width: auto;
    height: 95px;
}
.img_addimage{ position: relative; }
.icon_deleteimage{ position: absolute; top: 0px; right: 5px; }
.dv-img-ad .name_addimg{ position: absolute; top: 20px; line-height: 15px; left: 50%; max-width: 50%; }
a.delete-img{ display: inline-block; clear: both; padding: 3px 5px; background: #cb0606; color: #fff;
  position: absolute; bottom: 5px; right: 0; border-radius: 4px; }

.dv-img-ad a.delete-img {
  bottom: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

.fixed-bottom {
  position: fixed;
  bottom: 0;
  z-index: 1000;
  background-color: #e8e8e8;
  width: 100%;
  box-shadow: -3px -2px 3px 0px #00000040;
}
.modal-body img {
    max-width: 100%;
}
.toggle_image {
    position: absolute;
    top: 30px;
    right: 7px;
}
.tooltip-inner {
    width: 400px;
    max-width: unset;
}
.scroll-x {
  max-width: 100%;
  overflow-x: auto;
}
.scroll-y {
  max-height: 100%;
  overflow-y: auto;
}
.noi-dung-lien-he {
  max-height: 250px;
  overflow-y: auto;
  text-align: left;
}
.noi-dung-lien-he td img {
  max-height: 90px;
}
.noi-dung-lien-he h2:first-child {
  display: none;
}
.sticky-left {
  position: sticky;
  left: 0;
}
table.text-center td {
  text-align: center;
}
.nav-toggle-button {
  padding: 8px 15px 7px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 25px;
  display: flex;
}
.mt-10 {
  margin-top: 10px;
}
.btn-icon-sm {
  padding: 1px 5px;
  font-size: 10px;
}