.vertical-center {
  margin-top: 10%;
}

body {
  background-color: var(--color-pt-light-1);
  position: relative;
  overflow-x: hidden;
}

body,
html {
  height: 100%; }

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: transparent; }

/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/
#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease; }

#wrapper.toggled {
  padding-left: 119px; }

#sidebar-wrapper {
  z-index: 1000;
  left: 220px;
  width: 10px;
  height: 100%;
  margin-left: -220px;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--color-pt-light-3);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease; }

#sidebar-wrapper::-webkit-scrollbar {
  display: none; }

#wrapper.toggled #sidebar-wrapper {
  width: 200px; }

#page-content-wrapper {
  width: 100%; }

#wrapper.toggled #page-content-wrapper {
  position: absolute;
  margin-right: -220px; }

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/
.sidebar-nav {
  position: absolute;
  top: 0;
  width: 220px;
  margin: 0;
  padding: 0;
  list-style: none; }

.sidebar-nav li {
  position: relative;
  line-height: 20px;
  display: inline-block;
  width: 100%; }

.sidebar-nav li:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 3px;
  -webkit-transition: width .2s ease-in;
  -moz-transition: width .2s ease-in;
  -ms-transition: width .2s ease-in;
  transition: width .2s ease-in; }

.sidebar-nav li:first-child a {
  color: #fff;
  background-color: var(--color-pt-light-3);
  padding-right: 30px; }

.sidebar-nav li:hover:before,
.sidebar-nav li.open:hover:before {
  width: 100%;
  -webkit-transition: width .2s ease-in;
  -moz-transition: width .2s ease-in;
  -ms-transition: width .2s ease-in;
  transition: width .2s ease-in;
}

.sidebar-nav li a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px 10px 30px;
  font-weight: bold; }

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus {
  color: #fff;
  text-decoration: none;
  background-color: transparent; }

.sidebar-nav > .sidebar-brand {
  height: 65px;
  font-size: 20px;
  line-height: 44px;
  background-color: var(--color-pt-light-3); }

.sidebar-nav .dropdown-menu {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: none;
  background-color: #222;
  box-shadow: none; }

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/
.navbar-default {
  background-color: #fff; }

.brand {
  position: absolute;
  left: 50%;
  margin-left: -50px !important;
  display: block;
  padding-top: 30px;
  padding-bottom: 30px; }

.navbar-right {
  padding-top: 15px;
  padding-bottom: 15px; }

.submitted .ng-invalid {
  border: 1px solid red; }

.submitted .ng-invalid div.custom-match {
  border-bottom: 1px solid red; }

.red-label .ng-invalid {
  color: red; }

.red-text-custom {
  color: red !important; }

.form-control {
  border-radius: 0 !important;
}

.pacific-search-group {
  width: 280px; }

.pacific-search-caret {
  font-size: 13px;
  margin-left: 10px;
}

.checkbox-search {
  display: inline-block;
  max-width: 100%;
  font-weight: unset !important;
}

.search-checkboxes {
  padding-left: 0;
}

.edit-config-btn {
  color: var(--color-pt-icon);
}

.ui-grid-contents-wrapper {
  position: absolute;
}

.tag-main-container {
  padding-left: 15px;
}

.tag-main-container .tag-container {
    padding: 3px 6px;
    margin-right: 9px;
    margin-bottom: 15px;
    border-radius: 2px;
    background-color: #ededed;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.tag-main-container .tag-container i:hover {
    cursor: pointer;
    color: var(--color-pt-danger);
}

.loader-container {
  background-color: rgba(241, 241, 245, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 10000;
  display: none;
}
.htmx-request .loader-container{
  display: block;
}
.htmx-request.loader-container{
  display: block;
}

.loader-container .loader {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 16px solid #ece2e2;
    /* Light grey */
    border-top: 16px solid var(--color-pt-blue);
    /* Blue */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
    }
}

.version-number {
  display: inline-block;
  padding: 0 15px;
}

.navbar-fixed-bottom {
  width: 120px !important; }

@media all and (min-width: 1279px) and (max-width: 1500px) {
  .pacific-search-group {
    width: 255px; } }

@media all and (min-width: 1024px) and (max-width: 1123px) {
  .pacific-search-group {
    width: 200px; } }

@media all and (min-width: 1124px) and (max-width: 1279px) {
  .pacific-search-group {
    width: 230px; } }

@media all and (min-width: 768px) and (max-width: 1024px) {
  .pacific-search-group {
    width: 200px; } }

.account-details-manage-icon {
  margin-top: -17px; }

.disabled-link {
  color: var(--color-pt-border-default-hover) !important;
  text-decoration: none;
  cursor: not-allowed; }

.disabled-icon {
  color: var(--color-pt-border-default-hover) !important; }

.w-a {
  width: auto !important; }

.w-full {
  width: 100% !important; }

.d-b {
  display: block !important; }

.cust-container {
  display: inline-block;
  cursor: pointer; }

.visible {
  display: none !important; }

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: var(--color-pt-icon);
  margin: 6px 0;
  transition: 0.4s; }

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px); }

.change .bar2 {
  opacity: 0; }

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px); }

.footer.navbar-fixed-bottom {
  max-height: 70px; }

.navbar-fixed-bottom {
    position:absolute;
    bottom: 0;
    margin-bottom: 0;
    border-width: 1px 0 0;
}

.hiddenConfirm {
 display: none;
}
 .cl div.col-md-6{
    width:50%;
}
.cl .btn-default, .flex-xs-reverse .btn-default{
    border-color: var(--color-pt-border-default);
}

.invoice-table {
    border-collapse: collapse;
    position: inherit;
    width: 100%;
    padding: 0;
    overflow: auto;
    border-left:none;
    table-layout: fixed;
  }
.invoice-table thead{
    position:sticky;
    top: 0;
    z-index:1;
}

  .invoice-table th
  {
    border-left:1px solid var(--color-pt-border-default);
    border-right:1px solid var(--color-pt-border-default);
    background-color: var(--color-pt-table-header);
    color: #000000;
  }

  .cell-content,
  .cell-content-no-width
   {
    text-align: center;
    font-weight : 14px;
    font-weight: normal;
    padding: 5px;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 28px;
    text-align: left;
    position: relative;
  }

  .cell-content {
    /* default cell width */
    width: 105px;
  }

  .cell-content.xs {
    width: 45px;
  }
  .cell-content.sm {
    width: 70px;
  }
  .cell-content.md {
    width: 90px;
  }
  .cell-content.lg {
    width: 120px;
  }
  .cell-content.xl {
    width: 150px;
  }

  .invoice-table tr:nth-child(even) {
    background-color: var(--color-pt-table-shaded);
  }

.invoice-table td{
    vertical-align: top;
    border-bottom: none !important;
    border-top: none;
    border-left: 1px solid var(--color-pt-border-default);
    font-size: 12px !important;
    height:28px;
    border-radius: 0;
}
  .invoice-table tr:last-child{
    border-bottom: 1px solid var(--color-pt-border-default);
  }
  .stepper {
  display: inline;
  padding: 10px 0;
  }

  .stepper a {
    text-decoration: none;
    color: inherit;
  }

  .invoice-details {
          padding-left: 30px; padding-right: 30px; padding-top: 15px; margin-bottom: -15px; height:150px;
      }

.custom-action-btn {
  color: var(--color-pt-icon);
  background-color: white;
  border-color: var(--color-pt-border-default-hover);
  height: fit-content;
  max-height: 32px;
}
.custom-action-btn:hover {
 color: var(--color-pt-icon);
 background-color: var(--color-pt-fill-default-hover);
 text-decoration: none;
}
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: var(--color-pt-icon);
    background-color: #fff;
}

.custom-ul-dropdown {
    display: none;
    width: 95%;
    background: white;
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
    margin-top: -1px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 100;
}
.custom-ul-dropdown > li {
 cursor: pointer;
 display:block; 
 padding: 3px 20px;
 clear: both;
 font-weight: 400;
 line-height: 1.42857143;
 color: var(--color-pt-icon);
 white-space: normal;
}
.custom-ul-dropdown > li:hover {
  background: var(--color-pt-fill-light-hover);
}
 .custom-ul-dropdown > li.active {
  background: var(--color-pt-blue);
  color: white !important;
}
.custom-dropdown-search {
  width: 100%;
  box-sizing: border-box;
}
.custom-dropdown-search:hover {
  background: var(--color-pt-fill-default-hover);
  cursor: pointer;
  border-color: var(--color-pt-border-default-hover);
}
.custom-dropdown-search:click {
  background: #ffffff;
  border-color: var(--color-pt-fill-default-hover);
}
.error-message {
  position: fixed;
  bottom: 0 !important;
  right: 0 !important;
  width: 300px;
  height: auto;
  color: white;
  display: none;
}
.checkboxes th
{
    border: 1px solid var(--color-pt-border-default);
    background-color: var(--color-pt-table-header);
    color: #000000;
    border-right:none;
    border-left: 1px solid var(--color-pt-border-default);

}
.checkboxes thead th{
    position:sticky;
    top: 0;
    z-index:5;
    border-top:hidden;
}
.checkboxes tr:nth-child(even) {
    background-color: var(--color-pt-table-shaded);
}

.checkboxes td{
    vertical-align: top;
    border-bottom: none !important;
    border-top: none;
    font-size: 12px !important;
    height:28px;
    border-radius: 0;
}
.checkboxes tr:last-child{
    border-bottom: 1px solid var(--color-pt-border-default);
}
.checkboxes {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 2;
    border: 1px solid var(--color-pt-border-default);
    border-collapse:collapse;
    width: 19px;
}
.invoice-table tr th:first-child{
    border-left:none;

}
.invoice-table tr td:first-child{
    border-left:none;
}

.modal-placeholder-content {
    height: 500px;
    width: 500px;
    text-align: center;
    vertical-align:middle;
    line-height: 500px;
    font-size: 40px;
}

.modal-content {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

@font-face {
  font-family: ApercuMono;
  src: url('/fonts/ApercuMono-66402a7c202cc508cd52d7a7586938f2.otf');
}

.sidebarItemText {
    text-transform: capitalize;
}

.pt-spinner {
  color: var(--color-pt-blue);
  left: 50%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.advanced-filter {
  width: 300px;
  padding: 10px 20px 20px 15px !important;
}

i.dropdown-caret {
  height: 15px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  pointer-events: none;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--color-pt-blue);
}

input:focus + i.dropdown-caret {
    display: none;
}

.resizer {
    width: 10px;
    cursor: col-resize;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    user-select: none;
}

th {
    position: relative;
}

th:hover .resizer {
    background-color: var(--color-pt-table-header);
}

/* Workaround popper issue for now */
.sidebar-dropdown-popper-override {
    transform: translate(0px, 40px) !important;
}
th.cell-content{
  margin-left: 2px;
}

.account-table {
  border-collapse: collapse;
  position: inherit;
  width: 100%;
  padding: 0;
  overflow: auto;
  border-left:none;
  table-layout: fixed;
}
.account-table thead{
  position:sticky;
  top: 0;
  z-index:1;
  overflow: visible; /* Adjust overflow for sticky positioning */
}

.account-table th
{
  border-left:1px solid var(--color-pt-border-default);
  border-right:1px solid var(--color-pt-border-default);
  background-color: var(--color-pt-table-header);
  color: #000000;
}

.account-table tr:nth-child(even) {
  background-color: var(--color-pt-table-shaded);
}

.account-table td{
  vertical-align: top;
  border-bottom: none !important;
  border-top: none;
  border-left: 1px solid var(--color-pt-border-default);
  font-size: 12px !important;
  height:26px;
  border-radius: 0;
}

#notifications{
  z-index: 500000;
}

.form-switch{
  font-size: 1.2rem;
}

#progress,
#progress-container {
  position: relative;
  height: 76px;
}

#progress {
  background-color: #fff;
  width: 80%;
  box-shadow: 0 15px 15px 0 rgba(200, 200, 200, 0.1);
  border-radius: 5px 5px 5px 5px;
}

#progress-fragment {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#progress-container {
  height: 76px;
}

#progress-bar {
  width: 0;
  height: 5px;
  background-color: var(--color-pt-blue);
  transition: width 0.5s ease;
  border-radius: 5px 0 0 5px;
}

#progress-percentage::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 26px;
  transition: left 0.5s ease, display 0.5s ease;
  width: 10px;
  height: 10px;
  background: var(--color-pt-blue);
  transform: rotate(45deg);
}

#progress-percentage {
  position: absolute;
  left: 0;
  bottom: 20px;
  transform: translateX(-30%);
  background-color: var(--color-pt-blue);
  color: white;
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  width: 60px;
  text-align: center;
  font-weight: bold;
  z-index: 1;
  transition: left 0.5s ease, display 0.5s ease;
  display: none;
}

#progress-total {
  position: absolute;
  bottom: 0;
  width: 100%;
}

#progress-title {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

#progress-cancel {
  height: 100%;
  width: 76px;
  position: absolute;
  right: 13px;
  align-content: center;
  display: flex;
  justify-items: center;
  align-items: center;
  gap: 10px;
  flex-direction: column;
}

#progress-cancel:hover {
  background: var(--color-pt-light-1);
  cursor: pointer;
}

tr .dropdown-selector-caret {
  margin-left: 0 !important
}

li.current-choice > .dropdown-selector-item,
li.active > .dropdown-selector-item {
  background-color: var(--color-pt-blue);
  color: #fff;
}

.root-dropdown-selector {
  max-height: 200px;
}

.cursor-pointer:hover {
  cursor: pointer;
}

.hover-light:hover {
  background-color: var(--color-pt-fill-light-hover);
}
