.dynamic-template-th {
  word-break: break-word;
  min-width: 50px !important;
  text-align: center;
  padding: 2px;
  background: #98b5d6 !important;
  color: black;
  border: 1px solid #adc8e6 !important;
}

.dynamic-template-table td,
.dynamic-template-table th {
  border: 1px solid black !important;
  padding: 0 5px !important;
}

.dynamic-template-table-A5 td,
.dynamic-template-table-A5 th {
  border: 1px solid black !important;
  padding: 0 5px !important;
}

.dynamic-template-td,
.dynamic-template-td-no-data {
  word-break: break-word;
  padding: 2px;
  min-width: 50px !important;
}

.dynamic-template-table tr:nth-child(even) {
  background-color: #ffffff;
}

.dynamic-template-table tr:nth-child(odd) {
  background-color: #ffffff;
}

.dynamic-template-table-A5 tr:nth-child(even) {
  background-color: #ffffff;
}

.dynamic-template-table-A5 tr:nth-child(odd) {
  background-color: #ffffff;
}

.dynamic-template {
  min-width: 100% !important;
  margin: 0 !important;
  background: #cbdcf0;
}

.table-custom {
  text-align: left;
  border-collapse: collapse;
  page-break-inside: avoid;
  width: 100%;
}
.table-custom tr {
  border: 1px solid #100202;
}
.table-custom td {
  border: 1px solid #100202;
  padding: 0 5px !important;
}
.table-custom th {
  border: 1px solid #100202;
  padding: 5px;
}
.table-custom .td-border-first-last td {
  border: none;
}
.m-infor {
  width: 100%;
  margin: 5px 0;
}
.m-infor div {
  display: table-cell;
  padding: 0 5px;
}
.m-infor div span {
  display: table-cell;
}

.m-infor div:first-child span:first-child {
  max-width: 120px;
  min-width: 120px;
}
.nameTemplate {
  display: block;
  position: relative;
  font-weight: 600;
  font-size: 22px;
  font-family: 'Times New Roman', Times, serif;
}

.period-template {
  display: block;
  position: relative;
  font-size: 13px;
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
}

.headerSettingTemplate {
  text-align: left;
  font-size: 12px;
  font-family: 'Times New Roman', Times, serif;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.circulars-template {
  text-align: center !important;
  font-size: 12px;
  width: 40% !important;
  display: -webkit-box;
  -webkit-box-pack: end;
  font-family: Times new Roman, serif;
}

.circulars-template-A5-doc {
  text-align: center !important;
  font-size: 12px;
  width: 45% !important;
  display: -webkit-box;
  -webkit-box-pack: end;
  font-family: Times new Roman, serif;
}

.circulars-template-A5-doc-preview {
  text-align: center !important;
  font-size: 12px;
  width: 49% !important;
  display: -webkit-box;
  -webkit-box-pack: end;
  font-family: Times new Roman, serif;
}

.header-dynamic-template {
  padding: 5px 0px 10px 0px;
}

.header-dynamic-template-A5 {
  padding: 0px 0px 0px 0px;
}

.header-dynamic-template-noPrint {
  padding: 5px 0px 1px 0px;
}

.footer-dynamic-template {
  background: transparent;
  border: none;
  font-size: 12px;
  padding-top: 15px;
  font-family: 'Times New Roman', Times, serif;
}

.footer-dynamic-template-A5 {
  background: transparent;
  border: none;
  font-size: 12px;
  padding-top: 0px;
  font-family: 'Times New Roman', Times, serif;
}

.thead-group-template {
  display: table-header-group;
}

.tfoot-group-template {
  display: table-row-group;
}

.tr-group-template,
.footer-dynamic-template {
  page-break-inside: avoid;
}

.th-bd-bt-template {
  border-bottom: 1px solid #adc8e6;
}

.main-panel-preview {
  font-size: 12px !important;
}

/*tr { page-break-inside: avoid; }*/

.main-panel-preview-template {
  transition: width 0.25s ease, margin 0.25s ease;
  width: auto;
  min-height: calc(100vh - 40px);
  display: -webkit-flex;
  display: inline-table;
  -webkit-flex-direction: column;
  flex-direction: column;
}

@media {
  .sidebar .nav {
    width: 250px;
  }
}

.dynamic-template-table,
.dynamic-template-table > table {
  min-width: 100%;
}

.dynamic-template-table-A5,
.dynamic-template-table-A5 > table {
  min-width: 100%;
}

.fix-padding th {
  padding: 5px 5px !important;
}

.day {
  display: flex !important;
}

.previous .next {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
}

.previous:hover,
.next:hover {
  background-color: #ddd;
  color: black;
}

.previous {
  background-color: #f1f1f1;
  color: black;
  font-size: 14px;
}

.next {
  background-color: #04aa6d;
  color: white;
  font-size: 14px;
}

.round {
  border-radius: 20%;
}

.bg-template {
  /*min-height: 100% !important;*/
  height: 100% !important;
  background: white;
  border: 1px solid;
  margin: auto;
  page-break-inside: avoid;
}

.dynamic-template-td {
  word-break: break-word;
}

.header-dynamic-report-font {
  background: transparent;
  border: none;
}

.dynamic-td-no-data {
  min-height: 28px !important;
  height: 28px !important;
}

.input-table-detail-span {
  background: transparent;
  border: none;
  width: 100%;
  height: 100%;
  padding: 0px;
}

.row-template {
  font-weight: 400;
  font-size: 14px;
  font-family: 'Times New Roman', Times, serif;
  white-space: inherit;
  /*text-align: justify;*/
  /*word-spacing: 1px;*/
}

.row-template span {
  white-space: inherit;
}

.title-template {
  width: 75%;
}

.no-template {
  width: 25%;
}

.footer-signed {
  display: -webkit-box;
  text-align: center;
  padding-bottom: 15px;
}

.footer-signed-A5 {
  display: -webkit-box;
  text-align: center;
  padding-bottom: 0px;
}

.footer-dynamic-template {
  page-break-inside: avoid;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.clearfix::after {
  content: '';
  clear: both;
  display: table;
}
.text-bold {
  font-weight: bold !important;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

.text-bold {
  font-weight: bold !important;
}

.custom-btn {
  padding: 8px 5px 8px 8px;
  font-size: 0.8rem !important;
  margin-bottom: 0px;
  border-bottom: 1px dotted #adc6e5 !important;
  background: #ffffff;
}

.custom-btn:last-child {
  border-bottom: 0 !important;
  background: #ffffff;
}

.headerOrgLogo {
  width: 40%;
}

.headerOrg {
  width: 60%;
}

.headerOrgLogo-A5-doc {
  width: 42%;
}

.headerOrg-A5-doc {
  width: 52%;
}

.headerOrgLogo-A5-doc-preview {
  width: 36%;
}

.headerOrg-A5-doc-preview {
  width: 49%;
}

b {
  font-weight: bold !important;
}

.endPage {
  page-break-inside: avoid !important;
}

.headerCompany {
}

.logoCompany {
  padding: 5px;
}

.imgCompany {
  height: 40px;
  width: auto;
}

.container {
  min-width: 992px !important;
}

.col-lg-6 {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-lg-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
.nhapkho-infor {
  width: 100%;
  margin: 5px 0;
}
.nhapkho-infor div {
  display: table-cell;
  padding: 0 5px;
}
.nhapkho-infor div:first-child span:first-child {
  max-width: 660px;
  min-width: 100px;
}
.nhapkho-infor div span {
  display: table-cell;
}
.nhapkho-infor1 {
  width: 100%;
  margin: 5px 0;
}
.nhapkho-infor1 div {
  display: table-cell;
  padding: 0 5px;
}
.nhapkho-infor1 div:first-child span:first-child {
  max-width: 120px;
  min-width: 120px;
}
.nhapkho-infor1 div span {
  display: table-cell;
}

.logoByCompanyID {
  max-width: 100%;
  min-height: 75px;
  /*padding: 0px 10px 5px 5px;*/
  /*width: 100%;*/
}

.logoByCompanyIDPrint {
  max-width: 100%;
  min-height: 56.25px;
}

.logoOrg {
  padding: 0px 10px 0px 5px;
  max-width: 18%;
}

.watermark-template {
  position: absolute;
  text-align: center;
  height: 100%;
}

.image-company-opacity {
  width: 50%;
  opacity: 0.3 !important;
}

.btn-add-logo {
  background: white;
  border: 1px solid;
  padding: 5px;
  height: 40px !important;
  font-weight: 400;
  border-radius: 15%;
  margin-top: 5px;
}

.titleOfTemplate {
  display: -webkit-box;
}

.template-scroll {
  overflow-y: auto;
  max-height: 200px;
}

.hr {
  border-bottom: 2px dotted #141313;
  color: #fff;
  background-color: #fff;
  margin-bottom: 8px;
}

.css-phieuxkbh {
  word-break: break-word;
}
