.pages-body {
  height: 100vh;
}
.pages-body .layout-topbar {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  background-color: #1565C0;
  z-index: 100;
}
.pages-body .layout-topbar .layout-topbar-left img {
  height: 2rem;
}
.pages-body .layout-topbar .ui-button.ui-button-flat.ui-button-plain {
  color: #ffffff;
}
.pages-body .page-info-panel {
  z-index: 100;
}
.pages-body .page-code {
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: 70% !important;
}
.pages-body .login-landing-bg {
  position: absolute;
  height: 46%;
  width: 100%;
  background-size: 95% !important;
  bottom: 0;
}
.pages-body .error-div h1 {
  font-size: 9rem;
  line-height: 10rem;
  font-weight: 200;
  text-align: center;
}
.pages-body .error-div h2 {
  font-size: 1.5rem;
  font-weight: 200;
  text-align: center;
  margin-top: -2rem;
}
.pages-body .error-div h1, .pages-body .error-div h2 {
  -webkit-transition: opacity 0.5s linear, margin-top 0.5s linear; /* Safari */
  transition: opacity 0.5s linear, margin-top 0.5s linear;
}
.pages-body .error-div.loading h1, .pages-body .error-div.loading h2 {
  margin-top: 0;
  opacity: 0.01;
}
.pages-body .error-div .machine-container {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.pages-body .error-div .machine {
  width: 10vmin;
  fill: #db685e;
}
.pages-body .error-div .small-shadow, .pages-body .error-div .medium-shadow, .pages-body .error-div .large-shadow {
  fill: rgba(0, 0, 0, 0.05);
}
.pages-body .error-div .small {
  -webkit-animation: counter-rotation 2.5s infinite linear;
  -moz-animation: counter-rotation 2.5s infinite linear;
  -o-animation: counter-rotation 2.5s infinite linear;
  animation: counter-rotation 2.5s infinite linear;
  -webkit-transform-origin: 100.136px 225.345px;
  -ms-transform-origin: 100.136px 225.345px;
  transform-origin: 100.136px 225.345px;
}
.pages-body .error-div .small-shadow {
  -webkit-animation: counter-rotation 2.5s infinite linear;
  -moz-animation: counter-rotation 2.5s infinite linear;
  -o-animation: counter-rotation 2.5s infinite linear;
  animation: counter-rotation 2.5s infinite linear;
  -webkit-transform-origin: 110.136px 235.345px;
  -ms-transform-origin: 110.136px 235.345px;
  transform-origin: 110.136px 235.345px;
}
.pages-body .error-div .medium {
  -webkit-animation: rotation 3.75s infinite linear;
  -moz-animation: rotation 3.75s infinite linear;
  -o-animation: rotation 3.75s infinite linear;
  animation: rotation 3.75s infinite linear;
  -webkit-transform-origin: 254.675px 379.447px;
  -ms-transform-origin: 254.675px 379.447px;
  transform-origin: 254.675px 379.447px;
}
.pages-body .error-div .medium-shadow {
  -webkit-animation: rotation 3.75s infinite linear;
  -moz-animation: rotation 3.75s infinite linear;
  -o-animation: rotation 3.75s infinite linear;
  animation: rotation 3.75s infinite linear;
  -webkit-transform-origin: 264.675px 389.447px;
  -ms-transform-origin: 264.675px 389.447px;
  transform-origin: 264.675px 389.447px;
}
.pages-body .error-div .large {
  -webkit-animation: counter-rotation 5s infinite linear;
  -moz-animation: counter-rotation 5s infinite linear;
  -o-animation: counter-rotation 5s infinite linear;
  animation: counter-rotation 5s infinite linear;
  -webkit-transform-origin: 461.37px 173.694px;
  -ms-transform-origin: 461.37px 173.694px;
  transform-origin: 461.37px 173.694px;
}
.pages-body .error-div .large-shadow {
  -webkit-animation: counter-rotation 5s infinite linear;
  -moz-animation: counter-rotation 5s infinite linear;
  -o-animation: counter-rotation 5s infinite linear;
  animation: counter-rotation 5s infinite linear;
  -webkit-transform-origin: 471.37px 183.694px;
  -ms-transform-origin: 471.37px 183.694px;
  transform-origin: 471.37px 183.694px;
}
@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(359deg);
  }
}
@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@-webkit-keyframes counter-rotation {
  from {
    -webkit-transform: rotate(359deg);
  }
  to {
    -webkit-transform: rotate(0deg);
  }
}
@-moz-keyframes counter-rotation {
  from {
    -moz-transform: rotate(359deg);
  }
  to {
    -moz-transform: rotate(0deg);
  }
}
@-o-keyframes counter-rotation {
  from {
    -o-transform: rotate(359deg);
  }
  to {
    -o-transform: rotate(0deg);
  }
}
@keyframes counter-rotation {
  from {
    transform: rotate(359deg);
  }
  to {
    transform: rotate(0deg);
  }
}
.pages-body .pages-panel {
  text-align: center;
  z-index: 200;
}
.pages-body .pages-panel.ui-card {
  border: 1.5px solid var(--divider-color);
  border-radius: 6px;
}
.pages-body .pages-panel.ui-card img {
  width: 100%;
}
.pages-body .pages-panel.ui-card > .ui-card {
  background-color: var(--content-alt-bgcolor);
}
.pages-body .pages-panel .pages-header {
  color: var(--primary-color-text);
  border: 1.5px solid var(--divider-color);
  border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
}
.pages-body .pages-panel .pages-header h2 {
  color: #FFFFFF;
  margin: 0;
}
.pages-body .pages-panel .pages-detail {
  color: var(--text-secondary-color);
}

.order-badge {
  border-radius: 2px;
  padding: 0.25em 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.order-badge.order-delivered {
  background: #C8E6C9;
  color: #256029;
}
.order-badge.order-cancelled {
  background: #FFCDD2;
  color: #C63737;
}
.order-badge.order-pending {
  background: #FEEDAF;
  color: #8A5340;
}
.order-badge.order-returned {
  background: #ECCFFF;
  color: #694382;
}

.product-badge {
  border-radius: 2px;
  padding: 0.25em 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.product-badge.status-instock {
  background: #C8E6C9;
  color: #256029;
}
.product-badge.status-outofstock {
  background: #FFCDD2;
  color: #C63737;
}
.product-badge.status-lowstock {
  background: #FEEDAF;
  color: #8A5340;
}

.customer-badge {
  border-radius: 2px;
  padding: 0.25em 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.customer-badge.status-qualified {
  background: #C8E6C9;
  color: #256029;
}
.customer-badge.status-unqualified {
  background: #FFCDD2;
  color: #C63737;
}
.customer-badge.status-negotiation {
  background: #FEEDAF;
  color: #8A5340;
}
.customer-badge.status-new {
  background: #B3E5FC;
  color: #23547B;
}
.customer-badge.status-renewal {
  background: #ECCFFF;
  color: #694382;
}
.customer-badge.status-proposal {
  background: #FFD8B2;
  color: #805B36;
}

.filter-container .ui-inputtext {
  width: 400px;
}

.ui-selection-column {
  width: 2rem;
}

@media (max-width: 640px) {
  .filter-container {
    width: 100%;
    margin-top: 0.5rem;
  }
  .filter-container .ui-inputtext {
    width: 100%;
  }
  .ui-selection-column {
    width: auto;
    text-align: center;
  }
  .ui-selection-column .ui-column-title {
    display: none !important;
  }
}
.pages-body.accessdenied-page {
  background: linear-gradient(to bottom, #f7f7f7 40vh, #ebb167);
  background-size: cover;
}
.pages-body.accessdenied-page .page-code {
  background: url("/m2m-portal/jakarta.faces.resource/images/auth/403.svg.xhtml?ln=ultima-layout&con=ultima") no-repeat center;
}
.pages-body.accessdenied-page .error-div h1 {
  color: #9b7c56;
}
.pages-body.accessdenied-page .error-div .machine {
  width: 10vmin;
  fill: #d07707;
}
.pages-body.accessdenied-page .pages-panel .pages-header {
  background: #FB8C00;
}

.pages-body.error-page {
  background: linear-gradient(to bottom, #f7f7f7 40vh, #db685e);
  background-size: cover;
}
.pages-body.error-page .page-code {
  background: url("/m2m-portal/jakarta.faces.resource/images/auth/error.svg.xhtml?ln=ultima-layout&con=ultima") no-repeat center;
}
.pages-body.error-page .error-div h1 {
  color: #9d6560;
}
.pages-body.error-page .error-div .machine {
  width: 10vmin;
  fill: #db685e;
}
.pages-body.error-page .pages-panel .pages-header {
  background: #f44435;
}

:root {
  --main-template-color: #eaeaea;
  --template-stroke-color: black;
}

.pages-body.login-page {
  background: linear-gradient(to bottom, #f7f7f7 40vh, #328eb1);
  background-size: cover;
}
.pages-body.login-page .login-landing-bg {
  background: url("/m2m-portal/jakarta.faces.resource/images/auth/login-landing-bg.svg.xhtml?ln=ultima-layout&con=ultima") no-repeat center;
}
.pages-body.login-page .pages-panel .pages-header {
  background: -webkit-linear-gradient(top, #0a72a6 0%, #003659 100%);
}
.pages-body.login-page .pages-panel .pages-header h2 {
  color: white !important;
}
.pages-body.login-page .pages-panel .input-panel {
  width: 100%;
}
.pages-body.login-page .pages-panel .input-panel .ui-inputtext {
  width: 100%;
}
.pages-body.login-page .pages-panel .login-button > * {
  width: 100%;
}

.pages-body.notfound-page {
  background: linear-gradient(to bottom, #f7f7f7 40vh, #80b3c5);
  background-size: cover;
}
.pages-body.notfound-page .page-code {
  background: url("/m2m-portal/jakarta.faces.resource/images/notfound/404.svg.xhtml?ln=ultima-layout&con=ultima") no-repeat center;
}
.pages-body.notfound-page .pages-panel .pages-header {
  background: #455A64;
}
.pages-body.notfound-page .error-div h1 {
  color: #455A64;
}
.pages-body.notfound-page .error-div .machine {
  width: 10vmin;
  fill: #257fa8;
}
