.header {
  min-height: 64px;
}

.header .notification-panel .icon-vs-notification {
  font-size: 19px;
  color: #777;
}

.header .notification-panel .notification-badge {
  /* important is needed because default.css is overriding */
  background-color: #e64097 !important;
  font-size: 8px !important;
}

.header .navbar-brand {
  height: 45px;
}

.page-wrapper {
  /* Use this to force footer to always be bottom */
  min-height: calc(100vh - 146px);
}

.navbar-default {
  background: #ffffff;
  padding: 12px 0 12px 0;
}

.navbar-default .navbar-nav > .active > a {
  background: #f6f7fb;
  box-shadow: none;
  border-radius: 4px;
}

.navbar-default .navbar-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  color: #666;
}

@media (max-width: 1200px) {
  /* Override padding on very small screens to fix wrapping of user profile name  */
  .nav > li > a {
    padding: 10px 12px;
  }
}

.navbar-default .navbar-nav > li > a > [class*="icon-vs"] {
  font-size: 16px;
  margin: 0 6px 0 0;
}

.navbar-default .navbar-nav > li > a > [class="icon-vs-arrow-down"] {
  margin: 0 0 0 6px;
}

.nav .dropdown-menu {
  padding: 16px;
  border-radius: 3px;
  border: none;
}

.nav .dropdown-menu a {
  display: block;
  padding: 5px 16px 5px 26px;
  font-size: 14px;
  font-weight: 400;
  color: #545454;
  letter-spacing: -0.02em;
  position: relative;
  transition: all 0.4s;
}

.nav .dropdown-menu a:hover {
  background: #f3f3f3;
}

.nav .dropdown-menu a [class^="icon-vs"] {
  position: absolute;
  left: 4px;
  top: 6px;
}

.nav .menu-icon-spacing .material-symbols-outlined {
  font-size: 22px;
}

.nav a .material-symbols-outlined {
  font-weight: 300;
  font-size: 22px;
}

.nav .dropdown-menu a .material-symbols-outlined {
  position: absolute;
  font-size: 19px;
  top: 5px;
  left: 2px;
}

.nav .dropdown-header {
  padding: 3px 0 3px 0;
  text-transform: uppercase;
  color: #acacac;
}

.new-footer.navbar {
  color: #545454;
  margin-bottom: 0;
  min-height: auto;
}

.new-footer .navbar-footer {
  padding: 25px 0 8px;
  box-sizing: border-box;
  display: flex;
}

.new-footer a {
  color: #545454;
}

.new-footer__links {
  margin-left: auto;
}

.new-footer__spacer {
  padding: 0 14px;
}

body {
  background: #f0f0f1;
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 0;
}

.breadcrumb {
  padding-left: 0 !important;
}

.breadcrumb > li + li:before {
  color: #5f6470;
  content: ">";
}

.breadcrumb > li.active {
  color: #151619;
}

.breadcrumb > li a {
  color: #5f6470;
}

.btn {
  border-radius: 2px;
}

.btn-default {
  border: 1px solid #e6e9ee;
}

/* Panel styles */

.panel {
  border-radius: 2px;
  box-shadow: none;
  border: 1px solid #efefef;
}

.panel .panel {
  border: none;
}

.panel--v-align-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel--padded {
  padding: 15px;
}

/* Use this to override out styles safely for child panels */
.panel-reset .panel {
  box-shadow: none;
}

/* Cancel out borders of panels contained inside other panels */
.panel .panel-default {
  border: none;
}

.panel-reset .panel-heading {
  color: #131313;
  font-weight: 600;
  font-size: 16px;
  padding-top: 15px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.panel-reset .panel-heading,
.panel-reset .panel-footer {
  border: none;
  background-color: #fff !important;
}

.panel-reset .panel-footer {
  padding-bottom: 0;
  border-radius: 0 0 8px 8px;
}

.panel > .table-responsive {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Others */

.list-group-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.list-group-item:last-child {
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  /* important is needed because default.css is setting all tables to 4px padding */
  padding: 12px 14px 12px 14px !important;
}

.tab-content {
  background: #fff;
}

/* Quick Fix for order panel styles */
/* Done via classic BEM styles as component is not in vue and using tailwind causes lots of duplicated code blocks in sonar (will refactor to tw once ported to vue) */

.order-details__toggle {
  display: flex;
  padding: 10px 10px 10px;
  justify-content: center;
  transition: all 0.5s;
}

.order-details__toggle--closed .icon {
  transform: rotateX(0deg) !important;
}

.order-details__toggle:hover {
  cursor: pointer;
  background-color: #f5f5f5;
}

.order-details__toggle:hover .icon {
  background-color: #a9a9a9;
  color: #fff;
}

.order-details__title {
  font-size: 16px;
  font-weight: 600;
}

.order-details__toggle .icon {
  transform: rotateX(180deg);
  margin-left: auto;
  border-radius: 15px;
  width: 24px;
  height: 24px;
  padding: 5px;
  box-sizing: border-box;
  background-color: #f5f5f5;
  transition: all 0.5s;
}

@media (min-width: 768px) {
  .order-list {
    columns: 2;
  }
}

.order-list__item {
  display: flex;
  padding: 10px 12px;
  justify-content: space-between;
  font-size: 14px;
}

.order-list__item-field {
  text-align: left;
  color: #717171;
  padding-right: 20px;
}

.order-list__item-info {
  text-align: right;
}


/* Alerts - We have a vue component for these vs-alert.
Override Bootstrap styles that are hard to replace or test due to their number.
Any future ones seen or worked on in a template should be replaced when seen in the codebase until we fully refactor them out.
*/

.alert {
  line-height: 21px;
  padding: 16px 16px 16px 60px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-left: 5px solid transparent;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  display: flex;
  align-items: center;
  background-image: none;
  position: relative;
}

.alert::before {
  position: absolute;
  top: 13px;
  left: 16px;
  height: 28px;
  width: 28px;
  justify-content: center;
  letter-spacing: normal;
  line-height: 1;
  font-size: 20px;
  display: flex;
  align-items: center;
  content: "info";
  font-family: "Material Symbols Outlined";
  color: #5595fe;
}

.alert.alert-info {
  background-color: #e8f0fe;
  border-left-color: #5595fe;
}

.alert.alert-success {
  background-color: #ecfcf7;
  border-left-color: #30bc8b;
}

.alert.alert-success::before {
  content: "check_circle";
  color: #30bc8b;
}

.alert.alert-warning {
  background-color: #fffbed;
  border-left-color: #fca004;
}

.alert.alert-warning::before {
  color: #fca004;
  content: "warning";
}

.alert.alert-error,
.alert.alert-danger {
  background-color: #fff3f2;
  border-left-color: #de412f;
}

.alert.alert-danger::before,
.alert.alert-error::before {
  color: #de412f;
  content: "report";
}

.alert .glyphicon {
  display: none;
}

.alert .close {
  position: absolute;
  right: 16px;
  color: #000;
  text-shadow: none;
}

.dashboard .label {
  /* Fixes accessibility contrast issues */
  min-width: 25px;
  min-height: 20px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: bold;
}

.dashboard .label-default {
  background-color: #666;
}

/* Bootstrap4 breakpoints on legacy code without an upgrade (a new grid system will be implemented in vue so this is only temporary) */
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .col-xl-1 {
    width: 8.33333333%;
  }
  .col-xl-2 {
    width: 16.66666667%;
  }
  .col-xl-3 {
    width: 25%;
  }
  .col-xl-4 {
    width: 33.33333333%;
  }
  .col-xl-5 {
    width: 41.66666667%;
  }
  .col-xl-6 {
    width: 50%;
  }
  .col-xl-7 {
    width: 58.33333333%;
  }
  .col-xl-8 {
    width: 66.66666667%;
  }
  .col-xl-9 {
    width: 75%;
  }
  .col-xl-10 {
    width: 83.33333333%;
  }
  .col-xl-11 {
    width: 91.66666667%;
  }
  .col-xl-12 {
    width: 100%;
  }

  .col-xl-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-xl-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-xl-offset-3 {
    margin-left: 25%;
  }
  .col-xl-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-xl-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-xl-offset-6 {
    margin-left: 50%;
  }
  .col-xl-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-xl-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-xl-offset-9 {
    margin-left: 75%;
  }
  .col-xl-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-xl-offset-11 {
    margin-left: 91.66666667%;
  }
}

/* Extra extra large devices (1600px and up) */
@media (min-width: 1600px) {
  .col-xxl-1 {
    width: 8.33333333%;
  }
  .col-xxl-2 {
    width: 16.66666667%;
  }
  .col-xxl-3 {
    width: 25%;
  }
  .col-xxl-4 {
    width: 33.33333333%;
  }
  .col-xxl-5 {
    width: 41.66666667%;
  }
  .col-xxl-6 {
    width: 50%;
  }
  .col-xxl-7 {
    width: 58.33333333%;
  }
  .col-xxl-8 {
    width: 66.66666667%;
  }
  .col-xxl-9 {
    width: 75%;
  }
  .col-xxl-10 {
    width: 83.33333333%;
  }
  .col-xxl-11 {
    width: 91.66666667%;
  }
  .col-xxl-12 {
    width: 100%;
  }

  .col-xxl-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-xxl-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-xxl-offset-3 {
    margin-left: 25%;
  }
  .col-xxl-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-xxl-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-xxl-offset-6 {
    margin-left: 50%;
  }
  .col-xxl-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-xxl-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-xxl-offset-9 {
    margin-left: 75%;
  }
  .col-xxl-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-xxl-offset-11 {
    margin-left: 91.66666667%;
  }
}