﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* width */
::-webkit-scrollbar {
  width: 10px;
  border-radius: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #131a33;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a5d4ee;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  /*word-break: break-all;*/
}

.navbar {
  max-height: 56px;
}

/*il tastino della navbar collassata*/
.custom-navbar-toggler.navbar-toggler {
  border-color: #fff;
}

.custom-navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

@font-face {
  font-family: "montserrat-variablefont_wght";
  src: url("../fonts/montserrat/montserrat-variablefont_wght.ttf")
    format("truetype");
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  /*il padding è per quando la navbar è fixed top, da 70 a 100 px..*/
  padding-top: 56px;
  background-color: #f1f1f1;
  font-family: "Montserrat", sans-serif;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  /* Vertically center the text there */
}

.cursorPointer {
  cursor: pointer;
}

.btn-logout {
  border-radius: 45px;
  width: 130px;
  color: black;
}

.dark-blue-bg-color {
  background-color: #131a33;
}

.dark-indigo-bg-color {
  background-color: #10406c;
}

.light-indigo-bg-color {
  background-color: #a5d4ee;
}

.light-blue-bg-color {
  background-color: #bec7f3;
}

.red-bg-color {
  background-color: #ff2e00;
}

.green-bg-color {
  background-color: #04D800;
}

.section-title {
  font-weight: bold;
  margin-bottom: 2rem;
}

.content {
  background-color: #fff;
  border-radius: 1vh;
  height: 100%;
}

.content .table-responsive {
  height: 59vh;
  overflow: auto;
}

.home-logo {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 4rem;
}

.home-logo img {
  width: 13rem;
}

.header-logo {
  display: flex;
  width: 6rem;
  margin-left: 2vw;
}

.company-logo {
  display: flex;
  width: 6rem;
  position: absolute;
  left: 4rem;
}

.header-logo img,
.company-logo img {
  width: inherit;
}

#app {
  background-color: #f1f1f1;
}

#app .container-fluid {
  height: 100%;
  /* background-color: #f1f1f1; */
}

.background-logo {
  background-color: #a5d4ee;
  background-image: url(../images/appBackground.png);
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: 35% 40%;
}

#app > div > div {
  background-color: #f1f1f1;
}

#modal-error .modal-body {
  color: red;
}

.list-group-item .btn-remove {
  position: absolute;
  right: 1vw;
  bottom: 0.5vh;
}

/* .list-group-item .btn-collapse {
  position: absolute;
  right: 1vw;
  bottom: 0.5vh;
} */

.list-group-scrollable {
  overflow: overlay;
}

#footer div.responsive-footer {
  padding-left: 1rem;
}

.sideNavbarWrapper .home-logo {
  position: relative;
  top: inherit;
  margin-top: 5rem;
}

div .container-border {
  border: 2px solid #e2e2e2;
  border-radius: 12px;
}

.section-title.detail {
  margin-bottom: 0;
  margin-left: 2rem;
}

@media (min-width: 1024px) {
  #footer.sidenav-open div.responsive-footer {
    margin-left: 20rem;
  }

  .background-logo {
    background-size: 50%;
    background-position: 43% 38%;
  }
}

.configurations-table {
  margin-top: 1rem;
}

.flex-1 {
  flex: 1;
}

.loader {
  width: 3rem; 
  height: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 99;
}

/*#region table thead border-radius */
/* .configurations-table > table > thead > tr > th:first-child {
  border-top-left-radius: 1rem;
}

.configurations-table > table > thead > tr > th:last-child {
  border-top-right-radius: 1rem;
}

.configurations-table > table > thead > tr > [aria-sort] {
  background-clip: padding-box;
} */
/*#endregion table thead border-radius */

/*#region table shadow rules */
.configurations-table > table {
  box-shadow: 0 0.5rem 0.5rem -0.5rem rgb(0 0 0 / 30%);
}

.configurations-table {
  padding-bottom: 0.5rem;
}
/*#endregion table shadow rules */

.commands,
.lang-commands {
  margin: 0.5rem 0;
}

.btn-cancel {
  background-color: #ffe6e6;
}

.btn-notification {
  background-color: transparent;
  border: none;
}

div.header {
  background-color: #131a33;
  color: #fff;
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  margin-bottom: 1rem
}

.danger {
  color: #ff0000;
}

.success {
  color: #3bff4f;
}

.modal-dialog .modal-footer .btn {
  width: 100%;
}

.bold {
  font-weight: bold;
}

.barcode-generator-output-area {
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .barcode-generator-output-area {
    margin-top: 0;
  }
}
