@charset "utf-8";
* {
	margin: 0px;
	padding: 0px;
}
@font-face{
    font-family: Averta;
    src: url(../fonts/Averta-Regular.otf);
}
body {
	font-family:Averta;
	font-size:14px;
	letter-spacing: .5px;
	line-height:18px;
	color:#000;
    padding: 0 !important;
}
input, textarea, button, select, a {
	outline:none;
}
a {color:#000; text-decoration:none;}
a:hover, a:focus {color: #000; border: 0; outline: none;}
/*---------------------------------------*/
/*.navbar {min-height: 70px;}
ul.navbar-nav {margin-top: 10px;}
.navbar-header .navbar-brand img {width: 150px;}*/
input, select, textarea {border: 1px solid #ccc;}
.content {
	margin-top: 90px;
}
.content .panel {
	box-shadow: none !important;
	border-radius: 0;
}
.content .panel .panel-heading {
	font-size: 16px;
	font-weight: bold;
	text-transform: capitalize;
}
.content .panel .panel-body {
	border-top: 5px solid #009ACD;
}
.content .panel .panel-body select, .content .panel .panel-body input {
	width: 100%;
	height: 35px;
	padding: 0 10px;
}
.content .panel .panel-body input[type='checkbox'] {
  width: inherit;
  height: 12px;
  padding: 0;
}
.content .panel .panel-body  input[name=ma_sx]{
  text-transform: uppercase;
}
.content .panel .panel-body >.row .col-md-2 {
	margin-bottom: 30px;
}
.content .panel .panel-body >.row .col-md-2 >p {
	margin-bottom: 10px;
	font-weight: bold;
}
.content .panel .panel-body >.row ul {
	padding: 0 10px;
}
.content .panel .panel-body >.row ul.button_sub li {
	/*float: right;*/
	padding: 0;
	margin-left: 10px;
}
.content .panel .panel-body >.row ul li button {
	width: 150px;
	padding: 8px;
	border: none;
	background: #009ACD;
	color: #fff;
	font-weight: bold;
}
/*.content_detail table {border: 1px solid #ccc;}*/
.content_detail table thead th, .content_detail table tbody td {text-align: center; border: 1px solid #ccc;}
.content_detail table thead th {
	background: #EEC591;
	vertical-align: middle;
}
.content_detail table thead th a {
	text-decoration: underline;
	margin: 2.5px;
	color: #333;
}
tr.active_tr td {
  background: #00BFFF !important;
  color: #fff;
}
.content_detail table thead th a span.active {color: #009ACD;}
.content_detail .modal select, .content_detail .modal input[type='text'] {
	width: 100%;
	height: 30px;
}
.content_detail .modal .col-md-4 {
	margin-bottom: 15px;
}
.content_detail .modal select {margin-top: 3px;}
.content_detail .modal .col-md-6 {margin-bottom: 15px;}
.content_detail .modal .col-md-6 button {padding: 5px; margin-right: 5px;}
.content_detail .modal textarea {width: 100%; padding: 10px; margin-bottom: 10px;}
.content_detail .modal .modal-dialog {position: relative; height: 100%;}
.content_detail .modal .modal-dialog .modal-content {position: absolute; top: 50%; transform: translate(0, -50%);}






/*----------*/
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
	font-family:Averta !important;
  width: auto;
  line-height: 1;
  background: #f7f7f7;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #ccc;
    padding-top: 5px;
    padding-bottom: 5px;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  padding: 20px;
  font-size: 13px;
  letter-spacing: .5px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000000;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #009ae1;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 25px;
}
#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 21px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #009ae1;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}
#cssmenu ul li:hover > ul > li {
  height: 32px;
}
#cssmenu ul ul li a {
  padding: 10px 20px;
  width: 300px;
  font-size: 12px;
  background: #333333;
  text-decoration: none;
  color: #dddddd;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #ffffff;
}
#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}
#cssmenu ul {
	width: fit-content;
	width: -moz-fit-content;
	margin: auto;
}
#cssmenu .logo_ts {
	float: left;
	margin-left: 15px;
    margin-top: -45px;
}
#cssmenu .logo_ts img {
	width: 150px;
}
#cssmenu .pull-right {
	margin-top: -33px;
	margin-right: 15px;
}


/*-----LOGIN-----*/
.login_main {
	width: 400px;
	height: 400px;
	border: 1px solid #ccc;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -40%);
}

@media (max-width: 736px) {
	#cssmenu .logo_ts, #cssmenu .pull-right {display: none;}
	#cssmenu {
	    padding-bottom: 0px;
	}
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    width: 100%;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
  }
  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(120, 120, 120, 0.15);
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu ul ul li a {
    padding: 20px 20px 20px 30px;
    font-size: 12px;
    color: #000000;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #000000;
  }
  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
    padding: 20px;
    color: #000000;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
  }
  #cssmenu #menu-button::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 20px;
    display: block;
    width: 15px;
    height: 2px;
    background: #000000;
  }
  #cssmenu #menu-button::before {
    content: '';
    position: absolute;
    top: 23px;
    right: 20px;
    display: block;
    width: 15px;
    height: 8px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.15);
    height: 52px;
    width: 52px;
    cursor: pointer;
  }
  #cssmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 21px;
    left: 26px;
    display: block;
    width: 1px;
    height: 11px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 26px;
    display: block;
    width: 11px;
    height: 1px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}


/*----------LOGIN----------*/
#login .card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}

#login .btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

/*
 * Card component
 */
#login .card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

#login .profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/*
 * Form styles
 */
#login .profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

#login .reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#login .form-signin #inputEmail,
#login .form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

#login .form-signin input[type=email],
#login .form-signin input[type=password],
#login .form-signin input[type=text],
#login .form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#login .form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}

#login .btn.btn-signin{
    /*background-color: #4d90fe; */
    background-color: rgb(104, 145, 162);
    /* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));*/
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}

#login .btn.btn-forgotpass {
  /*background-color: #4d90fe; */
  /*background-color: rgb(104, 145, 162);*/
   background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));
  font-weight: 700;
  font-size: 14px;
  height: 36px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: none;
  -o-transition: all 0.218s;
  -moz-transition: all 0.218s;
  -webkit-transition: all 0.218s;
  transition: all 0.218s;
}

#login .btn.btn-signin:hover,
#login .btn.btn-signin:active,
#login .btn.btn-signin:focus {
    background-color: rgb(12, 97, 33);
}

#login .forgot-password {
    color: rgb(104, 145, 162);
}

#login .forgot-password:hover,
#login .forgot-password:active,
#login .forgot-password:focus{
    color: rgb(12, 97, 33);
}
#login button:hover {
	cursor:pointer;
}
.repmail_comment {
	display:none;
}
.show_repmail_comment:hover {
	cursor:pointer;
}
.repmail_comment >.row >form >input {
	height:35px;
	border:1px solid #ccc;
	border-bottom:0px;
	width:100%;
	padding:0 15px;
}
.repmail_comment >.row >form >textarea {
	width:100%;
	padding: 15px;
}
.repmail_comment >.row >form >button {
	width:100px;
	background:#000;
	color:#fff;
	height:30px;
	border:#000 1px solid;
	margin-top:10px;
	margin-bottom:15px;
}
.infoUser >.panel >.panel-body >.row >.col-md-2 {
	text-align:center;
}
#login button.btn-signin {
  background-color: #009ACD !important;
}

/* fixed header table */
.fixed{
  top:64px;
  position:fixed;
  width:100%;
  display:none;
  border:none;
}
@media (max-width: 736px) {
 .fixed{
   top:100px;
 }
}

#login .alert-warning {padding: 8px 15px; font-size: 12px;}
#login .alert-warning button {margin-top: -3px;}

/** css menu moi */
.logo_ts img {width: 150px;}

.dropdown-submenu {
  position: relative;
}
.open > .dropdown-menu {
  padding: 0 10px;
}
.dropdown-submenu>.dropdown-menu {
  position: relative;
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}
/*.navbar-default {
    background: url(images/white_bottom.png) repeat-x;
    background-size: contain;
}*/
.navbar-nav >li >.dropdown-menu > li > a {
  padding: 3px 0 !important;
}
.navbar-nav ul {box-shadow: none;}
.navbar-nav ul ul {border-radius: 0px !important;}
.navbar-nav ul ul >li {
  list-style: none;
}
.navbar-nav ul >li >a {
  font-weight: bold;
}
.navbar-nav >li >ul >li {
  list-style-type:decimal !important;
  padding-top: 10px;
}
.navbar-nav >li >ul >li >ul >li >a {
  display: block;
  padding: 3px 0px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
}
.navbar-nav >li >ul >li >ul >li {
  list-style-type: lower-alpha;
}
.navbar-default .navbar-toggle {
  float: right;
  border-color: #ddd;
  margin-top: 18px;
}
.navbar-nav > li >ul >li >a:after {display: none}
.navbar-default .navbar-nav > li > a {
  color: #000;
}
.navbar-nav >li >ul {padding-left: 30px !important}
.navbar-nav >li >ul >li >ul {margin-left: 15px;}
@media (min-width: 737px) {
  .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }
  .navbar-nav {padding-top: 10px;}
  .login_nav {
    padding: 15px;
    margin-top: 10px;
  }
  .navbar-nav {
    width: fit-content;
    margin: auto;
    float: inherit;
  }
}
@media (max-width: 736px) {
  .navbar-default .login_nav {
    position: absolute;
    right: 70px;
    top: 25px;
  }
  .content {
    margin-top: 87px !important;
  }
  .fixed {
    top: 72px !important;
  }
  .navbar-nav >li >ul >li >ul >li >a {
    white-space: inherit;
  }
  .navbar-default .navbar-nav a {
    font-size: 16px !important;
  }
  .navbar-nav >li >.dropdown-menu > li > a {
    text-transform: uppercase;
    color: #000 !important;
  }
  .navbar-default .navbar-nav > li > a {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 1px solid #666;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .navbar-default .navbar-nav > li:last-child > a {
    border: 0px;
  }
  .navbar-nav >li >ul >li >ul >li >a {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
  }
  .navbar-nav {
    margin: 0px -15px;
  }
}

.tablesorter-blue .header, .tablesorter-blue .tablesorter-header {white-space: nowrap;}

.text_red{color: red}

.modal_loading{display:none;position:fixed;top:0;left:0;bottom:0;right:0;z-index:9000;margin:auto;height:auto;background:url('../images/ajax-loader.gif') 50% 50% no-repeat;}

.row_bold{font-weight: bold}
.row_bold td{background-color: #f0ad4e !important;}
#table_list a, #table_list2 a{
  text-decoration: underline;
  font-size: 13px;
}

table th{
  background-color: #EEC591;
}

.table > thead > tr > th{
  padding: 5px !important;
  line-height: 1;
  font-size: 15px;
}

.tablesorter-blue tbody tr td, .tablesorter-blue tbody tr td a {
  font-size: 13px;
}

.list-phieu ul li{
  list-style-type: none;
  padding: 5px;
}

.sale-box-image{
  margin-bottom: 0px !important;
  border: #ccc 1px solid;
  padding: 10px;
  text-align: center
}
.sale-box-image a{
  text-decoration: none;
}


@media print {
  @page {
    margin-top: 0;
    margin-bottom: 0;
  }
  body  {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1200px)
  .container {
    width: 900px;
  }
@media (min-width: 992px)
  .container {
    width: 850px;
  }
@media (min-width: 768px)
  .container {
    width: 750px;
  }
.padding-bottom-10{
  padding-bottom: 10px;
}

