body {  
  min-width:320px; 
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
    cursor: pointer;
  }
.toast-top-center {
  top: 10%;
}
.bootbox.modal {z-index: 9999 !important;}
/*Preloader Website*/
.spinner {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-content: center;
}

.loader-wrapper {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999999;
  position: fixed;
  color: #323c47;
  background: #eff3f6;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% { 
  transform: scale(0.0);
  -webkit-transform: scale(0.0);
  } 50% { 
  transform: scale(1.0);
  -webkit-transform: scale(1.0);
  }
}

.page-loaderi {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  opacity: 0.9;
}

.loading--solid {
  background: #fff;
}

.loadingi>div {
  position: relative;
  width: 20px;
  height: 20px;
}

.loading--w-spinner>div .loading-spinner {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  animation: rotate .5s infinite linear;
}

.loading--w-spinner>div .loading-spinner:before {
  position: absolute;
  left: 3px;
  top: 3px;
  content: " ";
  width: 14px;
  height: 14px;
  border: 2px solid #323c47;
  border-right-color: transparent;
  border-radius: 7px;
}

.loading--text.loading--w-spinner>div {
  padding-left: 25px;
  width: auto;
}

.loading--text>div {
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
}

.nav-pills .nav-link:hover {
    background: #DFDFDF;
}

.nav-pills .nav-link.active,.nav-pills .show>.nav-link {
  background: #ff2d2d;
  color: #FFF;
}

.nav-tabs .nav-item.show .nav-linki,.nav-tabs .nav-linki.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.nav-pillsi .nav-linki {
  padding: 10px 15px;
  background: #ff2d2d;
  color: #FFF;
}

.nav-pillsi .nav-linki.disabled {
  color: #91969a;
}

.nav-pillsi .nav-linki.active,.nav-pillsi .show>.nav-linki {
  background: #ff2d2d;
  color: #FFF;
  border-bottom: 4px solid orange;
}

.nav-pillsi .nav-linki:hover {
    text-decoration: none;
}

.nav-pillsa .nav-linka {
  padding: 10px 15px;
  margin: 0.5px 0.5px;
  background: #F2F2F2;
  color: #404040;
  border: 1px solid #D3D3D3;
  font-weight: bold;
}

.nav-pillsa .nav-linka.disabled {
  color: #91969a;
}

.nav-pillsa .nav-linka.active,.nav-pillsa .show>.nav-linka {
  background: #FFFFFF;
  color: #404040;
  border-left: 4px solid red;
  padding-left: 12px;
}

.nav-pillsa .nav-linka:hover.active,.nav-pillsa .show>.nav-linka:hover {
  background: #FFFFFF;
  color: #404040;
  border-left: 4px solid red;
  padding-left: 12px;
}

.nav-pillsa .nav-linka:hover {
    text-decoration: none;
    background: orange;
}

.nav-pillsa-hor .nav-linka-hor {
  padding: 10px 15px;
  margin: 0.5px 0.5px;
  background: #F2F2F2;
  color: #404040;
  font-weight: bold;
}

.nav-pillsa-hor .nav-linka-hor.disabled {
  color: #91969a;
}

.nav-pillsa-hor .nav-linka-hor.active,.nav-pillsa-hor .show>.nav-linka-hor {
  background: #FFFFFF;
  color: #404040;
  border-bottom:  4px solid red;
}

.nav-pillsa-hor .nav-linka-hor:hover.active,.nav-pillsa-hor .show>.nav-linka-hor:hover {
  background: #FFFFFF;
  color: #404040;
  border-bottom: 4px solid red;
}

.nav-pillsa-hor .nav-linka-hor:hover {
    text-decoration: none;
    background: orange;
}

.switches {
  cursor: pointer;
  position: relative;
  height: 30px;
  line-height: 30px;
  margin: 5px 0;
}

.switches input {
  position: absolute;
  opacity: 0;
  filter: alpha(opacity=0);
}

.switches input:checked+span:after {
  left: 16px;
}

.switches input:checked+span {
  background-color: #428c01;
}

.switches input:disabled+span {
  opacity: .5;
}

.switches input:disabled+span:after {
  box-shadow: none;
  border: 1px solid #d7dde3;
}
.switches span {
  position: relative;
  width: 45px;
  height: 30px;
  border-radius: 30px;
  background-color: #DDD;
  border: 1px solid rgba(0,0,0,.1);
  display: inline-block;
  transition: all .2s ease-in-out;
  left: 0;
}

.switches span:before {
  content: "ON   OFF";
    white-space: pre;
  color : #FFF;
  left: 7px;
  position: absolute;
}

.switches span:after {
  content: "";
  position: absolute;
  background-color: #fff;
  width: 26px;
  top: 1px;
  bottom: 1px;
  left: 1px;
  box-shadow: 1px 1px 2px rgba(0,0,0,.1);
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.switches.switches-lg {
  height: 35px;
  line-height: 40px;
  margin: 0!important;
}

.switches.switches-lg input:checked+span:after {
  left: 32px;
}

.switches.switches-lg span {
  width: 65px;
  height: 40px;
  border-radius: 3px;
}

.switches.switches-lg span:after {
  width: 30px;
}

.navigation {
  padding: 10px;
  float: left;
  width: 100%;
  position: relative;
}

.navigation .icon {
  width: 20px;
  height: 20px;
  text-align: center;
  margin-right: 10px;
  float: left;
  color: #323c47;
}

.navigation .icon[class*=' li-'] {
  font-size: 20px;
}

.navigation .icon[class*=' fa-'] {
  font-size: 14px;
}

.navigation .icon:before {
  line-height: 20px;
}

.navigation .text {
  float: left;
  line-height: 18px;
  margin-top: 2px;
}

.navigation ul>li>a.no-icon {
  position: relative;
  padding-left: 40px;
}

.navigation ul>li>a.no-icon:after {
  content: " ";
  width: 3px;
  height: 3px;
  background: #323c47;
  position: absolute;
  left: 19px;
  top: 18px;
}

.navigation ul>li.active>a.no-icon:after {
  background: #ff2d2d;
}

.navigation ul>li.open>ul {
  max-height: 800px;
}

.navigation ul>li.openable {
  position: relative;
}

.navigation ul>li.openable:after {
  content: "";
  display: table;
  clear: both;
}

.navigation>ul>li ul>li>ul>li>a:after,.page__content .navigation--minimized .navigation>ul>li>a .text,.page__content .page-aside--minimized .navigation>ul>li>a .text {
  display: none;
}

.navigation ul>li.openable:before {
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 10px;
  font-family: FontAwesome;
  font-size: 14px;
  content: "\f107";
  line-height: 20px;
}

.navigation ul>li.openable.open:before {
  content: "\f106";
}

.navigation>ul {
  float: left;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigation>ul>li {
  float: left;
  width: 100%;
  padding-bottom: 1px;
}

.navigation>ul>li.title {
  padding: 10px 0 0 10px;
  font-size: 10px;
  line-height: 20px;
  font-weight: 400;
  margin-bottom: 5px;
  color: #91969a;
  text-transform: uppercase;
}

.navigation>ul>li ul>li>a,.navigation>ul>li>a {
  float: left;
  width: 100%;
  line-height: 20px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 400;
}

.navigation>ul>li.title:not(:first-child) {
  margin-top: 10px;
}

.navigation>ul>li>a {
  padding: 10px;
  color: #323c47;
  background: 0 0;
  border-radius: 3px;
  -moz-transition: all .2s ease-in-out,color .2s ease-in-out;
  -o-transition: all .2s ease-in-out,color .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out,color .2s ease-in-out;
  transition: all .2s ease-in-out,color .2s ease-in-out;
}

.file-tree ul>li>ul,.navigation>ul>li ul {
  max-height: 0;
  -moz-transition: max-height .2s ease-in-out;
  -o-transition: max-height .2s ease-in-out;
  -webkit-transition: max-height .2s ease-in-out;
}

.navigation>ul>li>a:hover {
  background: rgba(0,0,0,.03);
  color: #272f38;
}

.navigation>ul>li.active>a {
  background: rgba(0,0,0,.05);
  color: #1d2329;
}

.invert .navigation>ul>li.active>a .icon {
  /*color: #ff2d2d;*/
  color: yellow;
}

.navigation>ul>li ul>li>ul>li.active>a .text {
    text-decoration: none;
    color: yellow;
}

.invert .navigation ul>li>a.no-icon:after {
  background: #FFF;
}

.invert .navigation ul>li.active>a.no-icon:after {
  background: yellow;
}

.navigation>ul>li ul>li>a,.navigation>ul>li.open>a {
  color: #323c47;
  background: rgba(0,0,0,.05);
}

.navigation>ul>li ul {
  float: left;
  width: 100%;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: max-height .2s ease-in-out;
}

.horizontal-navigation>ul>li>a,.navigation>ul>li ul>li>a {
  -o-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
}

.navigation>ul>li ul>li {
  float: left;
  width: 100%;
}

.navigation>ul>li ul>li>a {
  padding: 10px;
  -moz-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.navigation>ul>li ul>li>a:hover {
  background: rgba(0,0,0,.05);
  color: #272f38;
}

.navigation>ul>li ul>li:last-child>a {
  border-radius: 0 0 3px 3px;
}

.navigation>ul>li ul>li.active>a,.navigation>ul>li ul>li.open>a,.navigation>ul>li ul>li>ul>li>a {
  background: rgba(0,0,0,.07);
}

.navigation>ul>li ul>li>ul>li>a:hover {
  background: rgba(0,0,0,.09);
}

.navigation>ul>li ul>li>ul>li.active>a .text {
  /*text-decoration: underline;*/
  text-decoration: bold;
}

.navigation>ul>li.open>a {
  border-radius: 3px 3px 0 0;
}

.navigation:first-child:last-child {
  margin-bottom: 0;
}

.navigation--condensed {
  padding: 0;
}

.navigation--condensed>ul>li>a {
  border-radius: 0!important;
}

.navigation--condensed>ul>li>ul>li>a {
  border-radius: 0;
}

.navigation--condensed ul>li.active>a {
  position: relative;
}

.navigation--condensed ul>li.active>a:before {
  position: absolute;
  content: " ";
  width: 2px;
  height: 100%;
  left: 0;
  top: 0;
  /*background: #ff2d2d;*/
  background: #FFC300;
}

.navigation--condensed ul>li:last-child>a {
  border-radius: 0!important;
}

div.dropdown-menu.open { width: 100%; } 
ul.dropdown-menu.inner>li>a { 
  white-space: inherit;
}

ul.dropdown-menu.inner>li.selected>a.dropdown-item.selected { 
  background: #ff2d2d;
  color: #FFF;
}

.dropdown-menu .dropdown-item {
  padding: 10px 15px 10px 15px;
  color: #323c47;
  outline: 0;
  position: relative;
  transition: all .2s ease-in-out;
}
.dropdown-menu .dropdown-item.active {
    background: #ff2d2d;
    color: #FFF;
}
.dropdown-menu .dropdown-item:after {
  width: 3px;
  background: #323c47;
  position: relative;
  left: 0px;
  top: 18px;
}
.dropdown-menu .dropdown-item:focus,.dropdown-menu .dropdown-item:hover {
  padding-left: 15px;
  background: rgba(0,0,0,.03);
}
.dropdown-menu .dropdown-item.active:hover {
  padding-left: 15px;
  background: #ff2d2d;
  color: #FFFFFF;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    padding-top: 5px;
}

/*Class Custom For CSS*/
.line-horizontal-grey {
  border: 0.5px solid grey; 
  height: 0px;
}

.width-200 {
  width: 200px
}

.width-150 {
  min-width: 150px;
}

.width-nowrap-150 {
  width: 150px;
  white-space: nowrap;
}

.padding-left-0 {
  padding-left: 0px;
}

.padding-right-0 {
  padding-right: 0px;
}

.padding-top-40 {
  padding-top: 40px;
}

.announcement-line {
  border-right: 1px solid black; height: auto;
}

.font-size-15 {
  font-size: 15px;
}

.timeline__history:before{
  margin-left: 60px;
}

.history{
  margin-left: 60px;
}

.timeline__date {
  position: absolute;
  left:0px;
  top: 5px;
  font-weight: bold;
}

.timeline__time {
  position: absolute;
  left:0px;
  top: 20px;
  font-weight: bold;
}

.table-hover-primary tbody tr:hover {
  background-color: #FFAAA4;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}
table.table.dataTable tbody tr:hover {
  background-color: #FFAAA4;
}

table.table.dataTable tbody tr td.btnActionTable button {
  display: none;
}

table.table.dataTable tbody tr:hover td.btnActionTable button {
  display: inline;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>th:first-child:before {
    top: auto;
    left: 10px;
    height: 18px;
    width: 18px;
    display: block;
    position: absolute;
    border-radius: 50%;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0!important;
    font-family: 'Courier New',Courier,monospace;
    line-height: 18px;
    font-size: 20px;
    content: '+';
    background: 0 0;
    border: 1px solid #ff2d2d;
    color: #ff2d2d;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
    content: '-';
}

@media screen and (max-width: 767px) {
    li.paginate_button.previous {
        display: inline;
    }
 
    li.paginate_button.next {
        display: inline;
    }
 
    li.paginate_button {
        display: none;
    }
}
/*table.table.dataTable tbody tr:hover > .sorting_1 {
  background-color: #ffa;
}*/

.custom-control-label {
    cursor: pointer;
}

.page-header-searching .form-control,.page-header-searching__icon:after {
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
}

.page-header-searching {
  position: relative;
}

.page-header-searching .form-control {
  padding-left: 40px;
  width: 250px;
  transition: all .2s ease-in-out;
}

.page-header-searching__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 39px;
}

.page-header-searching__icon:after {
  content: " ";
  position: absolute;
  width: 11px;
  height: 11px;
  left: 14px;
  top: 13px;
  border: 2px solid #323c47;
  border-radius: 50%;
  transition: all .2s ease-in-out;
}

.page-header-searching__icon:before {
  content: " ";
  position: absolute;
  width: 5px;
  height: 2px;
  background: #323c47;
  left: 22px;
  top: 23px;
  transform: rotate(45deg);
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.page-header-searching--focus .page-header-searching__icon {
  cursor: pointer;
}

.page-header-searching--focus .page-header-searching__icon:after {
  border: 0;
  height: 2px;
  background: #323c47;
  border-radius: 0;
  transform: rotate(-45deg);
  top: 19px;
  left: 16px;
}

.page-header-searching--focus .page-header-searching__icon:before {
  width: 11px;
  top: 19px;
  left: 16px;
}

@media (max-width:991.98px) {
  .page-header-searching .form-control {
    width: 40px;
    padding-right: 0;
  }

  .page-header-searching--focus .form-control {
    width: 150px;
  }
}

.section {
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.document-supplier-name {
  font-size: 18px;
  padding-top: 30px;
}

.document-vendor-code {
  font-size: 18px;
}

.address {
  margin-top: 10px;
  margin-bottom: 10px;
}

.colon {

  right: 0px;
  position: absolute;
}

.control-label {
    text-align: left;
    padding-top: 7px;
    padding-right: 0px;
}

.form-control-static {
    padding-top: 7px;
    padding-bottom: 7px;
    margin-bottom: 0;
    min-height: 34px;
    padding-right: 0px;
}

@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: right;
    margin-bottom: 0;
    padding-top: 7px;
  }
}


@media (min-width: 768px) {
    .control-label>.colon {
      top: 7px;
      display: block;
  }  
}

@media (max-width: 568px) {
    .control-label>.colon {
      position: absolute;
      right: 0;
      top: 0;
      display: none;
  } 
}

@media (max-width: 568px) {
    .tab-button-center {
      list-style-type:none;
      display:flex;
      justify-content: center;
  } 
}

@media (max-width:768px) {
  .card {
    margin-bottom: 200px;
  }
  .footer-listing-actions {
      position: fixed;
      width: calc(100% - 40px) ;
      transition: width .2s;
      text-align: center;
      padding: 8pt;
      bottom: 0;
      background-color: #fff;
      border-top: 1px solid #f9f9f9;
      box-shadow: 0 -2px 16px rgba(0,0,0,.1);
      z-index: 2;
  }
}

@media (min-width:768px) {
  .card {
    margin-bottom: 60px;
  }
  .footer-listing-actions {
      position: fixed;
      width: calc(100% - 290px);
      transition: width .2s;
      text-align: center;
      padding: 8pt;
      bottom: 0;
      background-color: #fff;
      border-top: 1px solid #f9f9f9;
      box-shadow: 0 -2px 16px rgba(0,0,0,.1);
      z-index: 2;
  }
}

.footer-hide--responsive {
  width: calc(100% - 40px);
}

.footer--responsive {
  width: calc(100% - 40px);
}

.document-line-items tfoot td, .document-line-items tfoot td {
    border: 0;
}

table tfoot>tr td, table tfoot>tr td {
    text-align: right;
    font-weight: 600;
}

table tfoot>tr.row-grand-total, table tfoot>tr.row-grand-total {
    font-size: 18px;
    text-transform: uppercase;
    border: 1px solid #dee2e6;
}

.btn.btn-light:not([disabled]):not(.disabled).active, .btn.btn-light:not([disabled]):not(.disabled):active {
    border-color: #ff2d2d;
    background: #fefeff;
    color: #20232a;
    box-shadow: 0 0 0 2px rgba(255,255,255,.2);
}

.bigdrop {
    width: 600px !important;
}

.select2-search__field {
  text-transform: uppercase;
}

.widget.active {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2), 0 10px 30px 0 rgba(0, 0, 0, 0.20);
}

div.widget>a:hover {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2), 0 10px 30px 0 rgba(0, 0, 0, 0.20);
  text-decoration: none;
}
.widget:hover {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2), 0 10px 30px 0 rgba(0, 0, 0, 0.20);
  /*text-decoration: none;*/
}