.logo {
  display: inline-block;
  vertical-align: middle;
  width: 70px;
  height: 70px;
  background:  url("/orderentry/javax.faces.resource/images/logo_bardahl_top.png.xhtml?ln=maroil_new") top left no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  z-index: 100;
}

.login-body {
  background-image: url(/orderentry/javax.faces.resource/images/order_entry_bg.jpg.xhtml?ln=maroil_b2b);
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

tr[aria-selected="true"].ui-datatable-selectable {
  background-color: #FFC107;
}

.ui-button {
  background-color: #000;
}

.md-inputfield input:-webkit-autofill ~ label {
  color: #000 !important;
}

.login-panel {
  border: 2px solid #FEDD00;
}

tr.ui-widget-content, td.ui-panelgrid-cell {
  border: 0 !important;
  border-width: 0 !important;
}

body .ui-dialog .ui-dialog-buttonpane .ui-button, body .ui-dialog .ui-dialog-footer .ui-button {
  color: #FFF;
  background-color: #000;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; /* Assicurati che sia superiore agli altri elementi della pagina */
}
.alert-message {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  width: 80%;
  max-width: 400px;
}

body .ui-datatable ui-column-title h5 {
  color: #212529;
}
body .ui-datatable a {
  color: #212529;
}
body .ui-widget-header {
  background-color: #ffdd00;
  color: #000;
  font-size: 16px;
  border: 1px solid #ffdd00
}
body .ui-widget-header .ui-icon {
    color: #000;
}

body .ui-button {
  background-color: #000;
  color: #fff;
}

body .ui-paginator .ui-paginator-page {
    border-radius: 50%;
    padding: 15px;
    width: 28px;
    height: 28px;
}

body .ui-paginator .ui-paginator-pages a{
    color: black;
    font-size: 1.15em;
}
body .ui-paginator .ui-paginator-pages a.ui-state-active {
  color: #FFFFFF;
  background-color: #000;
}

html, body
{
  height: 100%;
}


@media only screen and (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    margin-right: auto;
    margin-left: auto;
  }
  .search-area-inline .search-area-form {
    width: 100%;
    margin: 0;
  }
}
html {
  font-size: 14px;
}
body .ui-widget-content {
  font-size: 14px;
}
h1, .h1 {
  font-size: 2rem;
}
h2, .h2 {
  font-size: 1.6rem;
}

.pb-4, .py-4 {
  padding-bottom: 0.8rem !important;
}
.breadcrumb {
  padding: 0.8rem 0;
}
.pt-6, .py-6 {
  padding-top: 1.2rem !important;
}


@media only screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
  body .ui-widget-content {
    font-size: 12px;
  }
  h1, .h1 {
    font-size: 1.8rem;
  }
  h2, .h2 {
    font-size: 1.4rem;
  }
  .container {
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    margin-right: auto;
    margin-left: auto;
  }
  .search-area-inline .search-area-form {
    width: 100%;
    margin: 0;
  }
  .pb-4, .py-4 {
    padding-bottom: 0.6rem !important;
  }
  .breadcrumb {
    padding: 0.6rem 0;
  }
  .pt-6, .py-6 {
    padding-top: 1.0rem !important;
  }
}

@media only screen and (max-width: 320px) {
  html {
    font-size: 10px;
  }
  body .ui-widget-content {
    font-size: 10px;
  }
  h1, .h1 {
    font-size: 1.6rem;
  }
  h2, .h2 {
    font-size: 1.2rem;
  }
  .container {
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    margin-right: auto;
    margin-left: auto;
  }
  .search-area-inline .search-area-form {
    width: 100%;
    margin: 0;
  }
  .pb-4, .py-4 {
    padding-bottom: 0.4rem !important;
  }
  .breadcrumb {
    padding: 0.4rem 0;
  }
  .pt-6, .py-6 {
    padding-top: 0.8rem !important;
  }
}

.buttonPlusMinus {
  font-size: 2rem;
  line-height: 2rem;
  font-weight: bolder;
}
