/* ::-webkit-scrollbar, */
.main-panel ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* ::-webkit-scrollbar-track, */
.main-panel ::-webkit-scrollbar-track {
  background: #DADBE2;
  border-radius: 10px;
}
/* ::-webkit-scrollbar-track:hover, */
.main-panel ::-webkit-scrollbar-track:hover {
  background: #DADBE2;
}

/* ::-webkit-scrollbar-thumb, */
.main-panel ::-webkit-scrollbar-thumb {
  background: #BFC4CE;
  border-radius: 10px;
}

/* ::-webkit-scrollbar-thumb:hover, */
.main-panel ::-webkit-scrollbar-thumb:hover {
  background:#0f4345;
}
button:disabled {
  opacity: 0.5;
}

body .ui-tree .ui-tree-container .ui-treenode .ui-treenode-content:focus {
  box-shadow:unset !important;
}
body .ui-tree .ui-tree-container .ui-treenode .ui-treenode-content .ui-treenode-icon {
  margin: 4px 0.143em 0 0;
}
body .ui-tree .ui-tree-container .ui-treenode .ui-treenode-content {
  padding-bottom: 2px;
}


.main-panel {
  height: 100vh;
  /* padding-right: 255px; */
  padding-inline-start: 255px;
  background-color: #F9F9F9;
  /* background-image: url('/assets/img/background.png');
  background-position: center; */
}
.navbar{
  background-color: #fff;
  box-shadow: 0px 3px 12px #0b1e3829;
  left: 255px;
}
.side-menu{
  left: 0;
}

.main-panel.side-closed{
  padding-right: 78px !important;
  padding-left: 0 !important;
}
.main-panel.side-closed .navbar{
  left: 78px;
}
.main-panel.side-closed .side-menu{
  width: 78px;
  /* right: -260px; */
}
.main-panel.side-closed .side-menu {
  text-align: center;
}

.main-panel.side-closed .side-menu .nav-item .nav-link{
  justify-content: center;
}
.main-panel.side-closed .side-menu .side-header{
  padding-inline-start: 8px !important;
  padding-inline-end: 8px !important;
}
.main-panel.side-closed .side-header img:first-child{
  width: 60px;
}

.main-panel.side-closed .side-footer .dropdown-menu,
.main-panel.side-closed .accordion-collapse.collapse{
  display: none !important;
}
.main-panel.side-closed .side-header img:last-child,
.main-panel.side-closed .nav-link,
.main-panel.side-closed .side-footer .side-admin,
.main-panel.side-closed .side-footer .dropdown-toggle::after{
  flex: none !important;
  opacity: 0;
}
.main-panel .nav-link{
  white-space: nowrap;
}
.main-panel.side-closed .side-list .nav-item{
  min-height: 53.79px;
  display: flex;
  align-items: center;
}
.side-footer img,
.main-panel.side-closed .nav-item .main-link{
  margin-inline-start: 12px;
}

.main-panel.side-closed .side-menu:hover{
  width: 235px;
}
.side-menu ,.navbar ,.main-panel {
  transition: all .2s ease-in-out ;
}
.main-panel .side-menu:hover .nav-item .nav-link.has-sub::after ,
.main-panel:not(.side-closed) .side-menu .nav-item .nav-link.has-sub::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-inline-start: auto;
  content: "";
  /* background-image: url(/assets/icon/angle-down.svg);
   */
   background-image: url("../img/add-outline.png");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in;
}


.navbar-nav .nav-item{
  display: flex;
  align-items: center;
}
.navbar-nav .nav-link{
  padding: .375rem 1rem;
  color: #112A4E !important;
  font-weight: bold;
}
.main-page {
  overflow: visible;
  padding: 0;
  height: auto;
  min-height: calc(100vh - 64px);
}
.main-page .main-content{
  margin-top: 101px;
  width: 100%;
  flex: 1 1 auto;
}
.page {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-content,
.page .card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.card {
  border-radius: .5rem ;
  box-shadow: 0 6px 0 0 rgb(0 0 0 / 1%), 0 15px 32px 0 rgb(0 0 0 / 6%);
  border: none;
  background-color: transparent;
}


.card-header:first-child {
  border-radius: .5rem .5rem 0 0;
}
.card-footer{
  background-color: #fff;
  border-radius: .5rem .5rem 0 0;
}
.card-header{
  /* background-color: #fff; */
  min-height: 51.2px;
  border-bottom: none;
  background-color: transparent;
}
.card-content{
  padding: 1rem;
  min-height: 45px;
}
.card-content,
.page-card-content{
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.modal-body .card-content{
  max-height: calc(100vh - 230px);
}
.card-title {
  margin-bottom: 0;
  font-size: 16px;
  color: #0f4345;
  font-weight: bold;
}
.card-subtitle {
  font-size: 14px;
  color: #112a4e;
  font-weight: bold;
}
.form-section{
  padding-bottom: 12px;
  border-bottom: 1.5px solid #237b7f;
}
.icon-btn {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 12px;
  width: 1.4rem;
  height: 1.4rem;
  background-color: #0f4345;
  border-radius: 4px;
  color: #fff;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.icon-btn.edit-btn, .icon-btn.back-btn {
  color: #0f4345;
  font-weight: bold;
  font-size: 16px;
  margin-top: 6px;
  background-color: #fff;
}
.icon-btn.back-btn i{
  line-height: 1;
}

.upload-icon path{
  fill: #ccc;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.upload-icon:hover path{
  fill: #0f4345;
}
.btn{
  font-weight: bold;
}
.sm-btn{
  padding: 3px 8px 5px !important;
  font-size: 10px !important;
  border-radius: 12px !important;
}

.card-header .search-btn, .add-btn ,.export-btn,.btn-cancel,.btn-confirm{
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.attach-btn,.model-btn,.search-btn, .add-btn ,.export-btn ,.btn-confirm, .btn-cancel {
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}
.btn-confirm,
.add-btn{
  background-color: #0f4345;
}
.search-btn{
  background-color: #383838;
}
.attach-btn {
  padding-top: 0.25rem;
  padding-bottom: 0.4rem;
  background-color: #505050;
}
.model-btn {
  padding-top: 0.35rem;
  padding-bottom: 0.5rem;
  border: 1px solid;
  background-color: #fff;
  border-color: #ccc;
  color: #212529;
  border-radius: 4px;
}
.model-btn:hover,
.attach-btn:hover {
  background-color: #383838;
}
.export-btn{
  background-color: #104445ee;
}
.export-btn:hover{
  background-color: #104445;
}
.btn-link {
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: #707070;
  font-size: 15px;
  line-height: 0rem;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.btn-cancel {
  background-color: #CC324C;
}
.btn-confirm, .btn-cancel {
  min-width: 90px;
}
.btn-dropdown{
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background-color: #b2b2b260;
  display: flex;
  padding: 0;
}
.btn-dropdown:hover{
  background-color: #b2b2b2aa;
}
.confirm-message{
  font-size: 14px;
  margin-bottom: 1rem;
  font-weight: bold;
}
.form-group label{
  font-size: 12px;
  color: #525252;
  font-weight: bold;
  margin-bottom: 6px;
}
.form-check-label{
  margin-bottom: 0 !important;
}
.form-control {
  padding: .375rem .75rem;
  color: #212529;
  font-weight: bold;
  font-size: 11px;
  line-height: unset;
}
.input-group-text{
  padding: 0 .25rem;
  background-color: #0f4345;
}
.dropdown-menu {
  border: 2px solid #b2b2b260;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: -1px 1px 4px 0.5px #00000017;
}
.dropdown-item{
  font-weight: bold;
  color: #112a4e !important;
  font-size: 12px;
}
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
  color: #112a4e;
  background-color: #b2b2b260;
}
.ng-touched.ng-invalid, .ng-touched.ng-invalid ~ .input-group-text {
  border-color: #CC324C;
}
.validation-error-message{
  font-size: 12px;
  color: #CC324C;
  font-weight: bold;
}

.table-scroll {
  /* max-height: calc(100vh - 285px); */
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  border-radius: 8px;
  padding: 0 1px;
}
/* .table-scroll:not(.no-height) {
  min-height: 250px;
  border: 2px solid #0f4345;
} */
.table-scroll.no-height .table{
  margin-bottom: 0;
}
.table>:not(caption)>*>* {
  padding: 0;
  border-bottom-width: 0;
}
.table thead{
  background-color: #fff;
  color:#9a9a9a
}
.table thead td ,
.table thead th {
  font-weight: bold;
  position: sticky !important;
  top: -.5px;
  z-index: 9;
  background-color: #fff;
}
.table tbody td {
  /* border: 1px solid #E0E0E0; */
  vertical-align: middle;
}
.table tbody .btn-link,
.table tbody{
  color: #031e1e;
}
.table .last-acation-th{text-align: left;}
.table thead tr:last-child td,
.table thead tr:last-child th {
  position: sticky;
  z-index: 9;
  top: 37px;
  background-color: #104546;
  color: #fff;
}
.table thead tr:first-child td,
.table thead tr:first-child th {
  top: 0 !important;
}
.table tbody .btn-link {
  width: max-content;
}
.table tbody .btn-link .fa-print,
.table tbody .btn-link .fa-edit,
.table tbody .btn-link .fa-trash-o{
  color: #959595;
}
.table tbody .btn-link .fa-print:hover{
  color: #32cc3e;
}
.table tbody .btn-link .fa-edit:hover{
  color: #004366;
}
.table tbody .btn-link .fa-trash-o:hover{
  color: #CB0B0B;
}
.table .form-control.datetime{
  display: inline-block;
  height: 25px;
  width: 130px;
  padding: 0;
  text-align: center;
}
.table .form-control{
  margin: -4px 0;
  height: 26px;
  padding: 0 7px;
  min-width: 140px;
}
.table .form-control.input-lg{
  min-width: 240px;
}
.table .form-control.input-sm{
  min-width: 80px;
}
.table .ng-select .ng-select-container {
  height: 22.5px !important;
}
.table tbody .router-link{
  color: #004366;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'nova-bold';
}
.table tbody .router-link:hover{
  color: #CC324C;
}

.table th, .table td {
  font-size: 12px;
  padding: 11px 14px;
  vertical-align: inherit;
  border-top: 1px solid #dee2e6b8;
  font-weight: bold;
}
.table thead th:first-child{
  border-top-right-radius: .5rem;
}
.table thead th:last-child{
  border-top-left-radius: .5rem;
}

.table .tblHead tr:last-child td ,
.table .tblHead tr:last-child th {
  border-top: unset;
  background-color: #161616;
}
.table th[rowspan="2"],
.table td[rowspan="2"]{
  vertical-align: middle;
}
.panel-footer{
  margin-top: auto;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0,0,0,.125);
}
.card-content .panel-footer{
  padding: 0.75rem 0 0;
}
.panel-footer .total-items p{
  font-size: 12px;
}
.loading-img{
  width: 100px;
  height: auto;
  margin: auto;
}
.form-check {
  min-height: unset;
  margin-bottom: unset;
  padding-right: unset;
}
.form-check .form-check-input{
  font-size: 14px;
  margin-right: unset;
  background-size: cover;
}
/* .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
  padding: .375rem .5rem;
  border-radius: 2px;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option:hover {
  background-color: #97daff41;
}
ng-select.form-control {
  padding: 0;
}
.ng-select .ng-select-container {
  padding: .375rem .75rem;
}
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
  padding: .375rem .75rem;
  top: 0;
}
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input input {
  color: #112A4E;
  font-weight: bold;
  font-size: 11px;
  font-family: 'din-regular';
}
.ng-dropdown-panel{
  padding: .5rem;
} */

.ng-select-disabled.ng-select{
  background-color: #e9ecef;
}
ng-select.form-control {
  padding: 0 0 0 4px !important;
}

.ng-select .ng-select-container {
  border-radius: unset !important;
  border: unset !important;
  background-color: transparent !important;
  align-items: center;
}
.ng-select .ng-select-container, .ng-select-container {
  height: 28.5px !important;
  min-height: unset !important;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option,
.ng-select .ng-select-container {
  font-weight: bold;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option,
.ng-select .ng-select-container {
  color: #161616 !important;
}
.ng-select.ng-select-single .ng-select-container .ng-value-container,
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value {
  align-items: center;
}
.ng-select .ng-select-container .ng-value-container {
  padding-left: unset !important;
  padding-right: 10px !important;
}
.ng-value-container .ng-value{
  transition: unset;
}
.ng-select .ng-select-container .ng-value-container .ng-placeholder {
  color: #999;
}
.ng-select .ng-has-value .ng-placeholder {
  display: none;
}
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
  top: 5px;
}
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
  left: unset !important;
  right: 0 !important;
  padding-left: 50px !important;
  padding-right: 10px !important;
}
.ng-select .ng-arrow-wrapper {
  width: 25px;
  padding-right: 5px;
}
.ng-select.ng-select-opened>.ng-select-container .ng-arrow {
  top: -2px;
  border-color: transparent transparent #999;
  border-width: 0 5px 5px;
  margin-bottom: unset;
}
.ng-select .ng-arrow-wrapper .ng-arrow {
  border-color: #999 transparent transparent;
  border-style: solid;
  border-width: 5px 5px 2.5px;
  margin-bottom: -2px;
  transition: unset;
}
.ng-dropdown-panel.ng-select-top {
  bottom: 100%;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-color: #e6e6e6;
  margin-bottom: -1px;
}
.ng-dropdown-panel {
  z-index: 1060 !important;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 1px 0 rgb(0 0 0 / 6%);
  left: 0;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
  background-color: #fff;
  padding: 8px 10px;
  color: #161616;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked {
  background-color: #f5faff;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option, .ng-select .ng-select-container, .bold {
  font-weight: bold;
}



/* ////////////////////// */
.uploud-container{
  display: inline-block;
}
.uploud-container .uploud-container-header{
  font-size: 12px;
  color: #525252;
  font-weight: bold;
  margin-bottom: 6px;
}
.uploud-container .card {
  /* border: 1px solid #237b7f; */
  border-radius: 4px;
  background-color: #f4f4f5;
  border: 1.5px solid #f4f4f5;
  transition: 0.4s all ease-in;
}
.uploud-container .card.selected {
  border: 1.5px solid #237b7f;
}
.uploud-img-box{
  text-align: center;
  padding: 0.5rem 1rem 0;
  padding: 4px;

}
.uploud-img-box img{
  width: 110px;
  height: 110px;
  border-radius: 8px;
}
.upload-footer{
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: #0f4345;
}
.table .uploud-img-box img {
  width: 80px;
  height: 80px;
}
.table .upload-footer {
  padding: 0.125rem 1rem .5rem;
  background-color: #bdbdbd;
}



  /* **************************Print**************************************** */

  .print-only {
    display: none;
  }

  @media print {
    .navbar,
    .side-menu,
    .no-print {
      display: none !important;
    }
    .print-only {
      display: block;
    }
    .main-content{
        margin-top: 0 !important;
    }
    .table-scroll {
      max-height: unset;
      overflow-y: unset;
    }
    .table thead tr:last-child td, .table thead tr:last-child th {
      /* position: unset !important; */
      top: 0;
    }
    table { page-break-after:auto }
    tr    { page-break-inside:avoid; page-break-after:auto }
    td    { page-break-inside:avoid; page-break-after:auto }
    thead tr { display: table-row-group; }
    tfoot { display:table-footer-group }
    .p0-print{
      padding: 0 !important;
    }
    .main-panel {
      padding-inline-start: unset !important;
      padding-top: unset;
      overflow-y: unset;
      height: auto;
    }
  }

  .print-describe-box{
    border: 1px dashed #918c8c;
    padding: 0px 4px 2px;
    border-radius: 3px;
  }
  .print-details{
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 1.5px solid #0f4345;
  }
  .print-details p{
    font-size: 15px;
    font-weight: bold;
    border: 1px dashed #aaaaaa;
    border-radius: 4px;
    padding: 0 8px 4px;
    margin-bottom: 0;
  }
  .print-title{
    border: 1px solid #161616;
    padding: 1px 8px 5px;
    box-shadow: 0px 1px 5px 3px #10444529;
  }
  .card-info{
    padding: 8px 16px;
    box-shadow: 0px 1px 2px #33333333;
  }
  .card-info.selected{
    background-color: #e4f6f6 !important;
  }

  /****quick class**/
.fw-500{font-weight: 500;}
.fs-13{font-size: 13px;}
.border-left{ border-left: 1px solid #ddd;}





.page-content.with-action-list{
  padding-inline-end: 196px;
  position: relative;
}
.page-content.with-action-list.hide-actions-side {
  padding-inline-end:0;
}
.action-side{
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
}
.with-action-list.hide-actions-side .action-side{
  left: -200px;
}
.action-side{
  bottom: 0;
  left: 0;
  width: 180px;
  /* padding-top: 1rem; */
}
.action-list{
  flex: 1 1 auto;
  overflow-y: auto;
  padding-top: 0.5rem;
  padding-inline-end: 0.375rem;
  margin-inline-end: -0.375rem;
}

.action-side .btn{
  font-size: 12px;
  padding: 3px 0.75rem 8px;
  display: flex;
  align-items: center;
  text-align: start;
  background-color: #d6d6d8;
  margin-top: 4px;
}
.action-side i{
  margin-top: 4px;
  font-size: 14px;
  line-height: 1;
  margin-inline-start: auto;
}
.action-side .btn.btn-new{
  background-color: #0f4345;
  padding: 5px 0.75rem 10px;
}
.action-side .btn-action{
  color: #0f4345;
}

.action-side .btn-action:hover {
  color: #0f4345;
  background-color: #fff;
}


.ri-arrow-right-line:before {
  content: "\EA60";
}







