/* major item changes */



body {
  margin: 0;
  font-family: var(--bs-font-sans-serif);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #f8f8f8;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

hr {
  margin: 1rem 0;
  color: inherit;
  background-color: currentColor;
  border: 0;
  opacity: 0.2; }

hr:not([size]) {
  height: 1px; }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2; }

h1, .h1 {
  font-size: calc(1.34375rem + 1.125vw); }
  @media (min-width: 1200px) {
    h1, .h1 {
      font-size: 2.1875rem; } }

h2, .h2 {
  font-size: calc(1.3rem + 0.6vw); }
  @media (min-width: 1200px) {
    h2, .h2 {
      font-size: 1.75rem; } }

h3, .h3 {
  font-size: calc(1.27812rem + 0.3375vw); }
  @media (min-width: 1200px) {
    h3, .h3 {
      font-size: 1.53125rem; } }

h4, .h4 {
  font-size: calc(1.25625rem + 0.075vw); }
  @media (min-width: 1200px) {
    h4, .h4 {
      font-size: 1.3125rem; } }

h5, .h5 {
  font-size: 1.09375rem; }

h6, .h6 {
  font-size: 0.875rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem; }

abbr[title],
abbr[data-bs-original-title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  cursor: help;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none; }

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit; }

ol,
ul {
  padding-left: 2rem; }

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem; }

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0; }

dt {
  font-weight: 600; }

dd {
  margin-bottom: .5rem;
  margin-left: 0; }

blockquote {
  margin: 0 0 1rem; }

b,
strong {
  font-weight: bolder; }

small, .small {
  font-size: 80%; }

mark, .mark {
  padding: 0.2em;
  background-color: #fcf8e3; }

sub,
sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline; }

sub {
  bottom: -.25em; }

sup {
  top: -.5em; }

a {
  color: #0576b9;
  text-decoration: none; }
  a:hover {
    color: #045e94;
    text-decoration: none; }

a:not([href]):not([class]), a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none; }



.no-padding {
  padding: 0 !important;
}
.no-borders {
  border: none !important;
}
.no-margins {
  margin: 0 !important;
}
.no-top-border {
  border-top: 0 !important;
}

.ibox {
  clear: both;
  margin-bottom: 25px;
  margin-top: 0;
  padding: 0;
}
.ibox.collapsed .ibox-content {
  display: none;
}
.ibox.collapsed .fa.fa-chevron-up:before {
  content: "\f078";
}
.ibox.collapsed .fa.fa-chevron-down:before {
  content: "\f077";
}
.ibox:after,
.ibox:before {
  display: table;
}
.ibox-title {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #ffffff;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 2px 0 0;
  color: inherit;
  margin-bottom: 0;
  padding: 15px 90px 8px 15px;
  min-height: 48px;
  position: relative;
  clear: both;
}
.ibox-content {
  background-color: #ffffff;
  color: inherit;
  /*padding: 15px 20px 20px 20px;*/
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 1px 0;
}
.ibox-footer {
  color: inherit;
  border-top: 1px solid #e7eaec;
  font-size: 90%;
  background: #ffffff;
  padding: 10px 15px;
}
table.table-mail tr td {
  padding: 12px;
}
.table-mail .check-mail {
  padding-left: 20px;
}
.table-mail .mail-date {
  padding-right: 20px;
}
.star-mail,
.check-mail {
  width: 40px;
}
.unread td a,
.unread td {
  font-weight: 600;
  color: inherit;
}
.read td a,
.read td {
  font-weight: normal;
  color: inherit;
}
.unread td {
  background-color: #f9f8f8;
}
.ibox-content {
  clear: both;
}
.ibox-heading {
  background-color: #f3f6fb;
  border-bottom: none;
}
.ibox-heading h3 {
  font-weight: 200;
  font-size: 24px;
}
.ibox-title h5 {
  display: inline-block;
  font-size: 14px;
  margin: 0 0 7px;
  padding: 0;
  text-overflow: ellipsis;
  float: none;
}
.ibox-title .label {
  margin-left: 4px;
}
.ibox-title .pull-right {
  position: absolute;
  right: 15px;
  top: 15px;
}
.ibox-tools {
  display: block;
  float: none;
  margin-top: 0;
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0;
  text-align: right;
}
.ibox-tools a {
  cursor: pointer;
  margin-left: 5px;
  color: #c4c4c4 !important;
}
.ibox-tools a.btn-primary {
  color: #fff !important;
}
.ibox-tools .dropdown-menu > li > a {
  padding: 4px 10px;
  font-size: 12px;
  color: #676a6c !important;
}
.ibox .ibox-tools.open > .dropdown-menu {
  left: auto;
  right: 0;
}
.ibox-tools .dropdown-toggle::after {
  display: none;
}

.medusa-background {
  background: url('/static/authentication/images/medusa_background.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  color: white;
}

.loginscreen.middle-box {
  width: 300px;
}

#tsg-login .card {


}

#tsg-login .card-header {
   background-color: black;
  opacity: 0.9;
}

#tsg-login .card-body {
  background-color: white;
   opacity: 0.9;
}






.tsg_navs {
    padding-top: 20px;
}

.tsg_navs .nav-tabs {
    margin-bottom: 10px;
    border-bottom: 3px solid #ffd011;
}

.tsg_navs .nav-link {
    color: black;
    border: transparent;
}
.tsg_navs .nav-link:hover {
    border: transparent;
    border-bottom: 3px solid #E50004;
    transition:  border-bottom .3s ease-in;

}

.tsg_navs .nav-link.active{
    border: none;
    border-bottom: 3px solid #E50004;
}

.tsg_navs.nav-pills .nav-link.active,
.tsg_navs.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #fff;
   border: 1px solid #E50004;;
  border-bottom: 3px solid #E50004;
}


.customer-details .card {
    font-size: 11px;
}

.fa-wizard {
  color: #E50004;
}

.btn-group-xs > .btn, .btn-xs
{
    padding: 1px 5px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    border-radius: 3px !important;
}

.icon_enabled {
  color: green;
}

.icon_disabled {
  color: grey;
}

.table-button-red{
  color: red;
}

#order_table table tr failedorder {
  background-color: red;
}

.layout-details .card {
    font-size: 11px;
}

.layout-details .card-header {
  font-size: 16px;
  background-color: white;
  font-weight: bold;
  padding: 2px 0px 2px 10px;
}

.order-details .card-header {
  font-size: 16px;
  background-color: white;
  font-weight: bold;
  padding: 2px 0px 2px 10px;
}

.order-details .order-total {
    font-size: 20px;
    font-weight: bold;
}

#navbar-orders .navbar {
  background-color: transparent; !important;
}

.flag-red {
  color: red;
}

.btn {
  padding: 0.47rem 0.75rem;
  font-size: 0.875rem;
}

.btn:hover {
    text-decoration: none; }


.btn-red,
.btn-red.disabled,
.btn-red:disabled {
    background-color: red;
    color: white;
}

.flag-amber {
  color: orange;
}

.btn-amber,
.btn-amber.disabled,
.btn-amber:disabled {
    background-color: orange;
    color: white;
    border-color: orange;
}

.btn-amber:hover,
.btn-amber:focus {
    background-color: #e69500; /* Slightly darker */
    border-color: #e69500;
    color: white;
}

.btn-amber:active,
.btn-amber.active,
.show > .btn-amber.dropdown-toggle {
    background-color: #cc8400; /* Even darker for active */
    border-color: #cc8400;
    color: white;
}

.btn-amber:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 165, 0, 0.5); /* subtle amber shadow */
}

.flag-green {
  color: #20de20;
}

.flag-darkgreen {
  color: #008800;
}

.btn-green,
.btn-green.disabled,
.btn-green:disabled {
    background-color: #20de20;
    color: white;
    border-color: #20de20;
}

.btn-green:hover,
.btn-green:focus {
    background-color: #1ab81a; /* Slightly darker green */
    border-color: #1ab81a;
    color: white;
}

.btn-green:active,
.btn-green.active,
.show > .btn-green.dropdown-toggle {
    background-color: #159c15; /* Even darker for active state */
    border-color: #159c15;
    color: white;
}

.btn-green:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(32, 222, 32, 0.5); /* soft glow */
}


.flag-grey {
  color: grey;

}

.btn-grey,
.btn-grey.disabled,
.btn-grey:disabled {
    background-color: grey;
    color: black;
    border-color: grey;
}

.btn-grey:hover,
.btn-grey:focus {
    background-color: #6e6e6e; /* Slightly darker grey */
    border-color: #6e6e6e;
    color: black;
}

.btn-grey:active,
.btn-grey.active,
.show > .btn-grey.dropdown-toggle {
    background-color: #5c5c5c; /* Even darker */
    border-color: #5c5c5c;
    color: black;
}

.btn-grey:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(128, 128, 128, 0.4);
}




#order_table tr {
        vertical-align: middle;
    }


.order-flags {
    flex-wrap: nowrap;
    margin-bottom: 0px;
}

.top_bar {
    margin-top: -20px;
    align-items: center;
}

.hidden_copy {
    position: absolute;
    left: -10000px;
}

/* Alternating row colors */
.dataTable > tbody > tr:nth-child(odd) > * {
    background-color: #C6DDF3;
}

.dataTable > tbody > tr:nth-child(even) > * {
    background-color: #FBFADD;
}

/* Selected row styling */
.dataTable > tbody > tr.selected > *,
.dataTable > tbody > tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px #6B8EC9 !important;
    background-color: #6B8EC9 !important;
    color: #fff !important;
}

table .order-total {
  font-weight: bold;
  font-size: 120%;
}

table .order-total td {
  border-top: 1px solid black;
  border-collapse: collapse;
}

table .order-total tr {
  border-top: 1px solid black;
  border-collapse: collapse;
}

.badge-soft-success {
  color: #2cb57e;
  background-color: rgba(44, 181, 126, 0.18); }
  .badge-soft-success[href]:hover, .badge-soft-success[href]:focus {
    color: #2cb57e;
    text-decoration: none;
    background-color: rgba(44, 181, 126, 0.4); }


  .badge-soft-danger {
  color: #f56e50;
  background-color: rgba(245, 110, 80, 0.18); }
  .badge-soft-danger[href]:hover, .badge-soft-danger[href]:focus {
    color: #f56e50;
    text-decoration: none;
    background-color: rgba(245, 110, 80, 0.4); }


table.dataTable .failed-order td {
  background-color: #f8c8c8;
  opacity: 50%;
}

table.dataTable .pending-order td {
  background-color: #ffd3a0;
}

table.dataTable .live-order td {
  background-color: #d3ffbe;
}

table.dataTable .complete-order td {
  background-color: #b3cffc;
}

table.dataTable .order-total {
  font-weight: bold;
  font-size: 120%;
}

table.dataTable .order-total td {
  border-top: 1px solid black;
  border-collapse: collapse;
}

table.dataTable td a.info-link {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: help;
}



table.dataTable .product-thumb {
            height: 30px;
        }
table.dataTable .product-thumb-lg {
            height: 50px;
        }

.dataTables_wrapper .dataTables_filter {
    float:left !important;

}

.dataTables_wrapper .dataTables_length {
    float:right !important;
}

div.dataTables_wrapper div.dataTables_filter
{
  width: auto;
}

div.dataTables_wrapper div.dataTables_filter input {
        width: 100%;
}

.list-unstyled {
  padding-left: 0;
  list-style: none; }

.list-inline {
  padding-left: 0;
  list-style: none; }

.top_bar .list-inline {
  padding-top: 10px;
}

.list-inline-item {
  display: inline-block; }
  .list-inline-item:not(:last-child) {
    margin-right: 0.5rem; }


  .dropdown-item:hover, .dropdown-item:focus {

    text-decoration: none;
  }

  .dropdown-item.active, .dropdown-item:active {

    text-decoration: none;
  }

.img-thumbnail.tsg-thumbnail {
    max-height: 150px;
    max-width: 400px;
  }

.img-responsive.tsg-thumbnail {
   max-height: 1em
}


.btn-group-xs > .btn, .btn-tsg-row
{
    padding: 1px 5px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    border-radius: 3px !important;
}

ul.chart_ul {
  list-style-type: disc;
  /*padding: 0;
  margin: 0;*/
}

ul.chart_ul li {
  display: block;
  margin-right: 10px;
}

#bespoke-order-product svg {
  width: 100%;
  height: 100%;
}

#tsg-login h1 {
    color: #495057;
}

#tsg-login p {
    color: white;
}

#tsg-login .card-footer {
    color: white;
}