html,
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a,
.btn-link {
  color: #006bb7;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
  box-shadow: none;
}
.btn i.fa-solid {
  margin-right: .5rem;
}

.content {
  padding-top: 1.1rem;
}

h1:focus {
  outline: none;
}
h3 {
  font-size: 1.3rem;
}
.text-blue {
  color: #00458b;
}

.w-12 {
  width: 12.5% !important;
}

.font-small {
  font-size: 0.9em;
}

.page-section {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: .7rem 1rem;
  margin-bottom: 2rem;
}
.page-section .section-header {
  padding: .7rem 1rem;
  margin: -.7rem -1rem .7rem;
  background-color: rgba(45, 170, 221, .05);
  border-bottom: 1px solid rgba(0,0,0,.125);
  border-radius: .5rem .5rem 0 0;
}
.page-section .section-header h3 {
  margin: 0;
}
.page-section i.fa-solid {
  color: #00458b;
}
.page-section .btn i.fa-solid {
  color: #fff;
}

.dropdown-menu {
  box-shadow: 2px 2px 5px #999;
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.no-outline {
  outline: none !important;
}

.invalid {
  outline: 1px solid #e50000;
}

.validation-message {
  color: #e50000;
}

.check-inline .form-check {
  display: inline-block;
}

.form-group {
  position: relative;
}
.form-group > .text-danger {
  position: absolute;
  left: 10px;
  bottom: 8px;
  background: #fff;
  padding: 0 10px;
  border: 0px solid #ced4da;
  border-width: 0 1px;
  border-radius: 15px;
  transform: translateY(100%);
  z-index: 999;
  max-width: calc(100% - 1em);
  font-size: 0.9em;
  line-height: 1.4em;
  box-shadow: 1px 1px 4px #ccc;
}
.form-group.col-12 > .text-danger, .form-group.col-6 > .text-danger {
  margin-left: 15px;
}
.form-group.bigger-checkbox input[type="checkbox"] {
  width:1.3rem;
  height: 1.3rem;
}
.form-group.bigger-checkbox label {
  font-size: 1.4rem;
}

.modal-header {
  padding: .5rem 1rem;
  background-color: rgba(0,0,0,.03);
}
.modal-footer {
  padding: .5rem 1rem;
}
.sa-graph {
  --sa-graph-width: 300px;
  background: #f0f8ff; 
  width: 150px; 
  padding: 0 0; 
  text-align: center; 
  margin: 1rem auto;
  height: var(--sa-graph-width);
  border-left: 3px solid black;
}
.sa-graph .sa-value-bar {
  height: var(--sa-graph-value);
  background-color: #007d00;
  position: relative;
  top: calc(100% - var(--sa-graph-value));
  z-index: 1;
  margin-top: calc(-1 * var(--sa-graph-width));
}
.sa-graph .sa-value-bar.overfill {
  background-color: bisque;
}

.sa-marker {
  --sa-graph-marker-thickness: 4px;
  border-top: var(--sa-graph-marker-thickness) solid black;
  width: 10%;  
  height: 25%;
  z-index: 10;
  position: relative;
}
.sa-graph .sa-separate-marker-0 {
  --sa-graph-marker-thickness: 2px;
  width: 5%;  
}
.sa-graph .sa-separate-marker-1 {
  --sa-graph-marker-thickness: 2px;
  width: 5%;  
}
.sa-graph .sa-bottom-marker {
  height: 0;
  margin-top: calc(-1 * var(--sa-graph-marker-thickness));
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred."
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.darker-border-checkbox.form-check-input {
  border-color: #929292;
}

/*#region Dialog*/
.dialog-container {
  position: fixed;
  z-index: 2000;
  background: rgba(30, 30, 30, 0.5);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  opacity: 1;
  animation: fadeIn .5s;
  overflow: auto;
}
.dialog-container.dialog-top-level {
    z-index: 3000;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes slideDown {
  0% { transform: translateY(-10%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-10%); opacity: 0; }
}
.dialog-container .dialog {
    background: #fff;
    border: 1px solid #00458b;
    padding: 20px;
    margin: auto;
    text-align: left;
    min-width: 500px;
    max-width: 800px;
    border-radius: 10px;
}
.dialog-top-level.dialog-container .dialog {
    min-width: 450px !important;
}
.dialog-content {
  max-height: 50vh;
  overflow-y: auto;
}
.dialog-icon.ok {
    color: #28a745;
}
.dialog-icon.warning {
    color: #ffc107;
}
.dialog-icon.danger {
    color: #cb3234;
}
.dialog-container .bottom-buttons-container {
    display: flex;
    justify-content: center;
}
/*#endregion*/
@media (max-width: 640px) {
    .desktop {
      display: none;
  }
  .mobile {
      display: block;
  }
}

@media (min-width: 640.01px) {
  .desktop {
      display: block;
  }
  .mobile {
      display: none;
  }
}

.export-dialog .dialog-body .row {
  max-width: 300px;
}

.dialog-container .dialog.company-export {
  width: 600px;
}
.company-export  .feature-select input[type="checkbox"] {
  width: 1.3em;
  height: 1.3em;
  vertical-align: text-bottom;
}
.company-export .feature-select label, .company-export .export-bp-select label, .company-export .export-index-select label {
  cursor: pointer;
}
.company-export .expander {
  background-color: rgba(45, 170, 221, .05);
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .2em;
}

/* SIGN IN FORM */

.form-signin {
  max-width: 330px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
}

/*#region ******************************** TABLES ***********************************************/
.table {
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
}

    .table td, .table th {
        padding: 0.3rem;
    }

    .table tr.selectable-row:hover td {
        cursor: pointer;
        background-color: rgba(135, 159, 217, 0.3);
    }

.list-table .fas {
    color: #086795;
    margin: 0 5px;
}

    .list-table .fas:hover {
        cursor: pointer;
        color: #f37322;
    }

.list-table td.table-icon {
    width: 180px;
}

.calendar-table {
    width: auto;
}
td.nowrap {
  white-space:nowrap
}
/*#endregion*/

/*#region ******************************** TABLES SELECT ****************************************/
.editable-select-group {
    position: relative;
}

.ellipsis-input {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.editable-select-group input {
    width: 100%;
}

.chip-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
}

.editable-select-group ul {
    position: absolute;
    left: 0;
    width: 100%;
    list-style: none;
    margin: 0;
    padding-right: 15px;
    padding-left: 15px;
    z-index: 2;
    cursor: pointer;
}

    .editable-select-group ul li {
        border: 1px solid #ccc;
        padding: 0.5em 1em;
        margin: 0;
        background-color: white;
        margin-top: -1px;
    }

        .editable-select-group ul li:hover {
            background-color: #eee;
        }

.editable-select-group table {
    position: absolute;
    width: calc(100% - 30px);
    margin: 0;
    padding-right: 15px;
    padding-left: 15px;
    z-index: 2;
    cursor: pointer;
}

    .editable-select-group table tr {
        border: 1px solid #ccc;
        padding: 0.5em 1em;
        margin: 0;
        background-color: white;
        margin-top: -1px;
    }

        .editable-select-group table tr:hover {
            background-color: #eee;
        }

.editable-select-group i {
    position: absolute;
    bottom: 11px;
    right: 18px;
    z-index: 1;
}

.editable-select-group .fa {
    color: var(--app-main-color);
}

.editable-select-group .reset {
    cursor: pointer;
}

.table-select.table td, .table-select.table th {
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}
/*#endregion*/

/* TOPBAR */
.top-bar {
  background-color: #fff;
  border: none;
  justify-content: flex-end;
  height: 3.5rem;
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99;
  box-shadow: 0px -5px 20px #999;
}

.top-bar a,
.top-bar .btn-link {
  white-space: nowrap;
  text-decoration: none;
}

.top-bar .navbar-brand {
  margin: 0;
  padding-right: 2rem;
}

.navbar-brand img {
  height: 2.5rem;
}
.breadcrumb-item {
  display: inline-flex;
  max-width: 100%;
  text-overflow: ellipsis;
  font-size: 1.1em;
  position: relative;
}
.breadcrumb-item.active span {
  color: #212529;
  font-size: 1.2em;
}
.breadcrumb-item a {
  color: #212529;
  transition: .5s;
}
.breadcrumb-item a:hover {
  color: #006bb7;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "\f105";
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  margin: auto;
  padding-right: .75rem;
}
.breadcrumb-item + .breadcrumb-item {
  padding-left: 1rem;
}

.breadcrumb .breadcrumb-item small {
  color: #999;
  position: absolute;
  font-size: .75em;
  top: 6px;
  transform: translateY(-100%);
}
.breadcrumb .breadcrumb-item:not(.is-federation) small.federation-label {
  display: none;
}
.breadcrumb .breadcrumb-item:not(.is-company) small.company-label {
  display: none;
}
.breadcrumb .breadcrumb-item:first-child, .breadcrumb .breadcrumb-item:nth-child(2) {
  min-width: 60px;
}

.breadcrumb-item.is-company, .breadcrumb-item.is-federation {
  max-width: 450px;
}

.breadcrumb-item.is-company a, .breadcrumb-item.is-federation a {
  max-width: 100%;
  text-overflow: ellipsis;
  overflow-x: hidden;
}

.company-search {
  border-radius: 1rem;
}
.company-select {
  padding-right: 1rem;
}
.company-select select {
  width: 100%;
}

.dialog.command-palette {
  margin-left: 122px;
  margin-top: 55px;
  padding: 15px;
  border: 1px solid #0d6efd;
}
.command-item {
  line-height: 1.25em;
  cursor: pointer;
}
.command-item strong, .command-item small {
  transition: .5s;
}
.command-item.hovered strong {
  color: #006bb7;
}
.command-item small {
  color: #999;
}
.command-item.hovered small {
  color: #333;
}

.faq {
  font-size: 1.5em;
  margin-right: 1rem;
}

#dropdownUserButton {
  border-radius: 20px;
  padding-left: 45px;
  border: 3px solid #6c757d;
  background: #fff;
  color: #6c757d;
}
#dropdownUserButton i {
  position: absolute;
  line-height: 38px;
  top: 2px;
  left: 0px;
  font-size: 40px;
  color: #6c757d;
}
.user-menu .dropdown-toggle::after {
  margin-left: .5em;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .top-bar .navbar-brand {
    padding-right: 1rem;
  }
  #dropdownUserButton {
    border: none;
    vertical-align: unset;
    line-height: 38px;
    height: 38px;
    padding-left: 30px;
    border: none;
  }
  .user-menu .user-email {
    display: none;
  }
  .user-menu .dropdown-toggle::after {
    display: none;
  }
  .user-menu .dropdown-toggle {
    border-radius: 50%;
  }
}


/* SIDEBAR */
.sidebar {
  height: calc(100vh - 3.5rem);
  position: sticky;
  top: 3.5rem;
  background: #fff;
  z-index: 99;
  flex: 0 0 250px;
}
.sidebar:before {
  content: '';
  width: 25px;
  height: 25px;
  background: #fff;
  position: absolute;
  top: 0;
  right: -25px;
}
.sidebar:after {
  content: '';
  width: 25px;
  height: 25px;
  background: #ebecee;
  border-radius: 25px 0 0 0;
  position: absolute;
  top: 0;
  right: -25px;
  background-image: linear-gradient(to bottom,#999 -30px,#ebecee 12px);
}

#navbarMain {
  padding-top: 2rem;
  max-height: calc(100vh - 3.5rem);
  overflow-y: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#navbarMain::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.nav-item {
  padding: 0 0 .5rem 0.5rem;
}

.nav-item .nav-link {
  color: #000;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
  font-size: 0.9rem;
  padding: .5rem 2rem .5rem 1rem;
  margin: .25rem 0;
}
.nav-item .nav-link:hover {
  color: #00458b;
}
.nav-item .nav-link.active {
  color: #00458b;
  background: #fff;
  border-radius: 2rem;
  outline: 5px solid #ebecee;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item .nav-item {
  padding-bottom: 0;
}
.nav-item .nav-item .nav-link {
  margin: 0px !important;
}
.my-company, .my-federation{
  border-top: 1px solid #ebecee;
}
.nav-item.my-company > .nav-link .nav-label, .nav-item.my-federation > .nav-link .nav-label {
  background: #666;
  color: #fff;
  border-radius: 10px;
  padding: 2px 10px;
  position: relative;
}
.nav-item.my-company > .nav-link .nav-label:before, .nav-item.my-federation > .nav-link .nav-label:before {
content: '';
  width: 0;
  height: 0;
  line-height: 0;
  border-top: 8px solid #666;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  position: absolute;
  left: 8px;
  bottom: -7px;
}

.navbar-toggler {
  appearance: none;
  cursor: pointer;
  width: 3.5rem;
  height: 2.5rem;
  color: white;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(0, 0, 0, 1);
}
.navbar-toggler:checked {
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-link i {
  margin-right: 1rem;
}
.nav-menu-federation:before {
  content: 'FED';
}
.nav-menu-tag:before {
  content: 'Tag';
}
.nav-menu-users:before {
  content: '\f0c0';
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
}
.nav-menu-company:before {
  content: 'AZ';
}
.nav-menu-dashboard:before {
  content: 'Dash';
}
.nav-menu-balances:before {
  content: 'Bil';
}
.nav-menu-index:before {
  content: 'Ind';
}
.nav-menu-reports:before {
  content: 'Ren';
}
.nav-menu-riskcentral:before {
  content: 'CR';
}
.nav-menu-warrantyfund:before {
  content: 'FdG';
}
.nav-menu-businessplan:before {
  content: 'BP';
}
.nav-menu-checkup-facilitated:before {
  content: 'C-upA';
}
.nav-menu-qualitative:before {
  content: 'Ql';
}
.nav-link i:not(.fa-solid) {
  display: none;
}

.nav-menu-federation:before, .nav-menu-company:before{
  background: #666;
  color: #fff;
  border-radius: 10px;
  padding: 2px 10px;
  position: relative;
}

@media (max-width: 1200px) {
  .sidebar {
    flex: 0 0 60px;
  }
  .nav-item {
    padding: 0 0 .5rem;
  }
  .nav-item .nav-link {
    padding: .5rem .5rem;
    justify-content: center;
  }  
  .nav-link i:not(.fa-solid) {
    display: block;
  }
  .nav-link i {
    padding: 0;
    margin: 0;
  }
  .nav-link .nav-label {
    display: none;
  }
}

/* PAGE */
.page {
  position: relative;
  display: flex;
  flex-direction: row;
  padding-top: 3.5rem;
}

main {
  flex: 1;
  background: #ebecee;
  border-radius: 25px 0 0 0;
  min-height: calc(100vh - 3.5rem);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

article {
  flex: 1;
  overflow-x: hidden;
}

h1 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1.5rem;
}
.card-text {
    font-size: 0.9rem !important
}
.auth-title {
    padding: 0;
    font-size: 1.8em;
}

/* SIGNIN */
.signin-page main {
  height: 100vh;
  display: flex;
  border-radius: 0;
  flex-direction: column;
}
.signin-page .logo {
  max-width: 300px;
  margin: 150px auto 30px;
}
.form-signin {
  background: #fff;
  padding: 1rem 1rem;
  border-radius: 1rem;
  min-width: 350px;
  margin: 0 auto;
}
.form-signin h1 {
  margin-bottom: .5rem;
}
.btn-signin-azure {
  position: relative;
}
.btn-signin-azure:before {
  content: '';
  background-image: url('images/entra-id-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 10px;
}
.btn-signin-assolombarda {
  position: relative;
}
.btn-signin-assolombarda:before {
  content: '';
  background-image: url('images/bancopass-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 10px;
  top: 10px;
}

/* FEDERATION */
.federation {
  transition: .3s;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: .7rem 1rem;
  margin-bottom: 1rem;
}
.federation:hover {
  border-color: #1861ac;
  box-shadow: 0px 2px 3px rgba(24, 97, 172, .5);
}

.federation table {
  width: 100%;
}
.federation table td:last-child {
  text-align: right;
}
.federation i {
  color:#00458b;
}
.federation .content {
  padding: .5rem 0;
  border-top: 1px solid #00458b;
}

.federation-info i {
  color: #00458b;
  width: 20px;
  margin-right: .5rem;
  font-weight: bold;
  font-style: normal;
  display: inline-block;
}
.federation-info table td:last-child {
  text-align: right;
}

.header h6 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  max-width: 100%;
}


/* COMPANY */
.company {
  transition: .3s;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: .7rem 1rem;
  margin-bottom: 1rem;
}
.company:hover {
  border-color: #1861ac;
  box-shadow: 0px 2px 3px rgba(24, 97, 172, .5);
}

.company.locked {
    filter: grayscale(75%);
    opacity: .75;
    box-shadow: none !important;
    cursor: not-allowed;
}

.company.locked:hover {
    border-color: #dee2e6;
    box-shadow: none !important;
}

.company.locked .tooltip-container {
    pointer-events: none;
}

.company table {
  width: 100%;
  font-size: .9em;
}
.company table i {
  color:#00458b;
  font-weight: bold;
  font-style: normal;
}
.company i {
  color:#00458b;
}
.company .content {
  padding: .5rem 0;
  border-top: 1px solid #00458b;
  border-bottom: 1px solid #00458b;
}
.company .tag {
  border-radius: .3rem;
  color: #fff;
  padding: 0px 7px;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
.company .tag i {
  color: #444;
}
.company .fa-square-plus {
  font-size: 1.55em;
  vertical-align: middle;
}
.company .usage-stat .tooltip-container {
  margin-right: 1rem;
  margin-left: 0;
}
.company .usage-stat .tooltip-box {
  left: 10px;
  width: max-content;
}
.company .usage-stat .tooltip-container:first-child .tooltip-box {
  transform: translateX(-20%);
}
.company .usage-stat .tooltip-container:first-child .tooltip-arrow {
  left: 19%;
}
.company .usage-stat .tooltip-box table {
  border-spacing: 5px;
  border-collapse: separate;
}


/* FILTER */
.index-key-filter label {
  display: none;
}
.index-filter-table {
  background: #f9fbfb;
  border-radius: .25rem;
  border-collapse: separate;
  padding: 5px 10px;
  border: 1px solid #ced4da;
}
.index-filter-table th {
  font-weight: normal;
}
.index-filter-table i:hover {
  cursor: pointer;
}
.index-filter-table input, .index-filter-table select {
  background-color: transparent;
}

/* COMPANY USERS */
.user-role {
    border-radius: 5px;
    padding: 0 5px;
    color: #fff;
    float: right;
}

.user-role-admin {
    background: #00458b;
}

/* DASHBOARD */
.company-info i {
  color: #00458b;
  width: 40px;
  margin-right: .5rem;
  font-weight: bold;
  font-style: normal;
  display: inline-block;
}

.empty-widget {
  height: 400px;
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.dashboard-widget {
  height: 400px;
  margin-bottom: 1.5rem;
}
.dashboard-widget .section-header {
  cursor: pointer;
}
.dashboard-widget .section-header h3:after {
  content: "\f06e";
  color: #00458b;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  opacity: 0;
  transition: .5s;
  margin-left: 10px;
}
.dashboard-widget:hover .section-header h3:after {
  opacity: .5;
}


.widget-arrow-up {
  color: #27ab6e !important;
}
.widget-equals {
  color: #ffc107 !important;
}
.widget-arrow-down {
  color: #dc3545 !important;
}
.widget-icon-true {
  color: #27ab6e !important;
}
.widget-icon-false {
  color: #dc3545 !important;
}

.checkup-size {
  list-style: none;
  overflow: hidden;
  padding-left: 0;
  padding-right: 3.5rem;
  height: 56px;
}
.checkup-size li {
  background: none repeat scroll 0 0 #ccc;
  display: block;
  float: left;
  padding: 1rem 0rem 1rem 3.5rem;
  position: relative;
  color: #fff;
}
.checkup-size li:first-child {
  padding-left: 1rem;
}
.checkup-size li:before {
  border-bottom: 2rem solid transparent;
  border-left: 2.5rem solid #fff;
  border-top: 2rem solid transparent;
  content: " ";
  display: block;
  left: 100%;
  margin-left: 2px;
  margin-top: -2rem;
  position: absolute;
  top: 50%;
  z-index: 1;
}
.checkup-size li:after {
  border-bottom: 2rem solid transparent;
  border-left: 2.5rem solid #ccc;
  border-top: 2rem solid transparent;
  content: " ";
  display: block;
  left: 100%;
  margin-top: -2rem;
  position: absolute;
  top: 50%;
  z-index: 2;
}

.checkup-size li.selected {
  background-color: #27ab6e;
}
.checkup-size li.selected:after {
  border-left-color: #27ab6e;
}
li.selected-big {
  background-color: #ffc107;
  color: #212529;
}
.checkup-size li.selected-big:after {
  border-left: 2.5rem solid #ffc107;
}

.checkup-size.vertical {
  height: auto;
  overflow: visible;
  padding-right: 0;
}
.checkup-size.vertical li {
  float: none;
  padding: 2rem 3.5rem 0;
  text-align: center;
}
.checkup-size.vertical li:before {
  border-left: 5rem solid transparent;
  border-top: 1rem solid #fff;
  border-right: 5rem solid transparent;
  margin-top: 2px;
  margin-left: 0;
  top: 100%;
  left: 0;
  width: 100%;
  
}
.checkup-size.vertical li:after {
  border-left: 5rem solid transparent;
  border-top: 1rem solid #ccc;
  border-right: 5rem solid transparent;
  margin-top: 0;
  top: 100%;
  left: 0;
  width: 100%;
}
.checkup-size.vertical li.selected:after {
  border-top-color: #27ab6e;
}
.checkup-size.vertical li.selected-big:after {
  border-top-color: #ffc107;
}
.checkup-size.vertical li:first-child {
  padding-top: 1rem;
}

/* BALANCES */
.action-btn .dropdown {
  display: inline-block;
}
table {
  height: 1px; /*https://stackoverflow.com/questions/3542090/how-to-make-div-fill-td-height*/
}
td.balance-bar-chart {
    height: 100%;
    padding: 8px !important;
    max-width: calc(15px * 5 + 8px);
}
    .negative-row, .positive-row {
        height: calc(100% * var(--balance-bar-chart-row-height));
        display: flex;
        justify-content: center;
    }
    .positive-row {
        border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
        align-items: end;
    }
    .bar-value {
        width: 10px;
        display: inline-block;
        margin-right: 4px;
        height: calc(100% * var(--balance-bar-chart-value));
    }
    .bar-value.non-significant {
      opacity: 0.5;
    }
    .positive-row .bar-value.benign {
        background-color: #00458b;
    }
    .positive-row .bar-value.malign {
      background-color: #00458b;
    }
    .negative-row .bar-value.benign {
      background-color: #dc3545;
      background-color: #00458b;
    }
    .negative-row .bar-value.malign {
      background-color: #198754;
      background-color: #00458b;
    }

.balances-list h4 {
  text-align: center;
}
.balance {
  background: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  padding: .5rem .75rem;
  margin-bottom: 1rem;
}
.balance-type {
  background: #666;
  border-radius: 5px;
  padding: 0 5px;
  color: #fff;
}
.balance i {
  color:#00458b;
}
.balances-table {
  text-align: right;
  font-size: .9em;
}
.balances-table thead {
    z-index: 9;
}
.balances-table tr td:first-child, .balances-table tr th:first-child {
  text-align: left;
}
.balances-table td {
  padding: .5rem;
  border: none;
}
.balances-table tr {
  padding: .5rem;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.balance-row-value {
    max-width: 8em;
    vertical-align: middle;
}
.balance-row-value span {
    font-size: 12pt;
    margin-right: 7px;
}
.balances-table .balance-row-value {
    white-space: nowrap;
}
.balances-table .accordion-icon {
  margin-left: -31px;
  text-decoration: none;
  color: #000;
  padding: .5rem;
}
.balances-table .accordion-icon i {
  font-size: 1.2em;
}

.balance-row-category .accordion-icon {
  display: none;
}
.balances-table .collapse.indent-1 {
  display: table-row;
}
.balances-table a[aria-expanded="true"] i.fa-plus:before {
  content: "\f068"
}

.balances-table .indent-0 td:first-child {
  font-weight: bold;
}
.balances-table .indent-1 td:first-child {
  font-weight: bold;
}
.balances-table .indent-1 td:first-child {
  padding-left: 2em;
}
.balances-table .indent-2 td:first-child {
  padding-left: 2.8rem;
}
.balances-table .indent-3 td:first-child {
  padding-left: 3.6rem;
}
.balances-table .indent-4 td:first-child {
  padding-left: 4.4rem;
}
.balances-table .indent-5 td:first-child {
  padding-left: 5.2rem
}
.balance-row-missing-value {
  vertical-align: middle;
}
.balance-row-missing-value::after {
  font-style: italic;
  content: 'N.D.';
}
.balance-row-category {
  background: #ddd;
  color: #00458b;
}

.balances-table tr:not(.balance-row-category) td:not(:first-child) {
  border-left: 1px solid #000;
}
.balances-table thead {
  position: sticky;
  top: 3.5rem;
  /*box-shadow: 0px 5px 10px #999;
  clip-path: inset(0px 0px -15px 0px);*/
}
.balances-table th:not(:first-child) {
  padding: 1rem;
  border-left: 1px solid #fff;
  position: relative;
}
.balances-table th {
  background: #fff;
  background-clip: padding-box;
  outline: 1px solid #fff;
}
.balances-table th:before {
  pointer-events: none;
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: -1px;
  right: 0;
  border-top-left-radius: 10px;
  border-bottom: 3px solid #666;
}
.balances-table th:not(:first-child):before {
  left: -1px;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
}


/* BALANCE EDIT */
.balance-row-edit-input label {
    display: none;
}
.balance-row-edit-input {
    padding: 0 0.4rem;
    margin: 0;
    width: calc(100% - 24px);
    float: right;
    text-align: right;
    appearance: textfield;
    -moz-appearance: textfield;
}

    .balance-row-edit-input::-webkit-outer-spin-button,
    .balance-row-edit-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
    }

    .attention {
        background-color: #efe;
    }
.touched {
    background-color: #ffe;
}
.balance-row-input-icons {
    display: table;
    margin-left: auto;
}
.balance-row-input-icon.accept i {
    color: green;
}
.balance-row-input-icon.cancel i {
    color: red;
}
.balance-header-icon {
    float: left;
}
.balance-warning-icon {
    float: left;
    margin-top: 4px;
}
  .balance-row-value .balance-warning-icon i {
    color: red;
    font-size: 1.3em;
    cursor: help;
  }

.balance-retificate-row {
  color: red;
  margin-left: 0.25rem;
  font-weight: 800;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* INDEX */
.consolidated-toggle .btn {
  background: #006bb7;
  border: 1px solid #006bb7;
  color: #fff;
  line-height: 1;
  font-size: 1em;
  padding: .3rem .5rem;
  border-radius: 1rem;
  height: fit-content;
  margin-top: auto;
  margin-bottom: auto;
  opacity: .5;
  box-shadow: none !important;
  transition: .5s;
}
.consolidated-toggle .btn.active {
  opacity: 1;
  pointer-events: none;
}

.index-section {
  margin-bottom: 5em;
}

.index-table {
  font-size: .9em;
  text-align: right;
}
.index-table tr td:first-child, .index-table tr th:first-child {
  text-align: left;
}
.index-table tr.indent-0 {
  background: #ddd;
  color: #00458b;
  font-weight: bold;
}
.index-table th.index-chart-header {
  background: #1b6ec2;
  border-top-left-radius: 10px;
  color: #fff;
}
.index-table th.index-chart-header .legend-icon-container {
  float: left;
}
.index-table th.index-chart-header .legend-icon {
  color: #fff;
  font-size: 18px;
}

.index-table td {
  padding: .5rem;
}
.index-table a.accordion-icon {
  color: #00458b !important;
  text-decoration: none;
}
.index-table .accordion-icon i {
  color: #00458b;
  padding: 5px;
}
.index-table .formula-icon {
  margin-right: .5rem;
  font-size: 1.3em;
  padding: .5rem;
}
.formula-dropdown {
  display: inline-block;
  position: unset;
}
.formula-dropdown .dropdown-toggle::after {
  display: none;
}
.formula-dropdown .dropdown-menu:before {
  content: '';
  width: 0;
  height: 0;
  line-height: 0;
  border-bottom: 8px solid rgba(0,0,0,.15);
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  position: absolute;
  left: 8px;
  top: -8px;
}
.formula-dropdown .dropdown-menu:after {
  content: '';
  width: 0;
  height: 0;
  line-height: 0;
  border-bottom: 8px solid #fff;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  position: absolute;
  left: 8px;
  top: -7px;
}
.dropdown-menu {
    z-index: 100;
}
.formula-dropdown mjx-container {
  max-width: 1200px;
  overflow-x: auto;
  margin: 0 !important;
  padding: 1em 0;
}
@media (max-width: 1600px) {
  .formula-dropdown mjx-container {
    max-width: 600px;
  }
}

.index-table tr:not(.balance-row-category) td:not(:first-child) {
  border-left: 1px solid #000;
}
.index-table thead {
  position: sticky;
  top: 3.5rem;
  z-index: 9;
}
.index-table th:not(:first-child) {
  padding: 1rem;
  border-left: 1px solid #fff;
  position: relative;
}
.index-table th {
  background: #fff;
  background-clip: padding-box;
  outline: 1px solid #fff;
}
.index-table th:before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: -1px;
  right: 0;
  border-top-left-radius: 10px;
  border-bottom: 3px solid #666;
}
.index-table th:not(:first-child):before {
  left: -1px;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
}


/* REPORT */
.report-table .indent-0 {
  background: #ddd;
}
.report-table .indent-0 td:first-child {
  color: #00458b;
}
.report-table td:not(:first-child), .report-table th:not(:first-child) {
  text-align: right;
}
.report-table .report-row-value {
  padding-left: 1rem;
  padding-right: 1rem;
  white-space: nowrap;
}
.report-table {
  font-size: .9em;
  text-align: right;
}
.report-table tr td:first-child, .index-table tr th:first-child {
  text-align: left;
}

.report-table tr:not(.balance-row-category) td:not(:first-child) {
  border-left: 1px solid #000;
}
.report-table thead {
  position: sticky;
  top: 3.5rem;
  z-index: 9;
}
.report-table th:not(:first-child) {
  padding: 1rem;
  border-left: 1px solid #fff;
  position: relative;
}
.report-table th {
  background: #fff;
  background-clip: padding-box;
  outline: 1px solid #fff;
}
.report-table th:before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: -1px;
  right: 0;
  border-top-left-radius: 10px;
  border-bottom: 3px solid #666;
}
.report-table th:not(:first-child):before {
  left: -1px;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
}
.report-table .non-significant {
  opacity: .5;
}
.report-table th .tooltip-container {
  float: left;
  font-weight: normal;
}
.report-table th i.fas {
  color: #00458b;
}

/* TAGS */
.tag-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-swatch {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 2px solid transparent;
}

.color-swatch.selected {
  border: 2px solid black;
}

.tag-name {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px;
  cursor: pointer;
  min-height: 38px;
  max-width: 100%;
}
#company-tags-filter .control-label {
  position: absolute;
  opacity: .7;
  top: 7px;
  left: 24px;
  margin-top: 0 !important;
}

.tags-container.tags-selector {
  position: absolute;
  width: calc(100% - 24px);
}

.tag-item {
  background-color: white;
  border-radius: 3px;
  padding: 1px 8px;
  margin: 0 2px;
  color: white;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.tag-item:hover .tag-name {
  text-decoration: underline;
}

.color-options {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: flex-start;
}

/* CHECK UP */
#graph-pmic svg {
    width: 100%;
    height: 18vmax;
}
.graph-container {
    background: white;
    width: 100%;
    text-align: center;
    margin: 1rem auto;
    padding: 1.5rem 0.8rem;
    height: 20vmax;
}
.graph-container-pdf {
    background: white;
    width: 100%;
    text-align: center;
    margin: 1rem auto;
    padding: 1.5rem 0.8rem;
}

/*RISK CENTRAL TABLE */
.table-container {
  margin-right: 20px;
  max-width: 100%;
  position: relative;
  display: block;
}

.table-spacious {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.table-spacious th, .table-spacious td {
  padding: 8px;
  font-size: 0.9em;
}

.table-compact {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.9em;
}

.table-compact th, .table-compact td {
  padding: 4px;
  font-size: 0.9em;
}

.risk-central-table th, .risk-central-table td {
  border-right: none;
  border-left: none;
}

.risk-central-table thead th {
  white-space: nowrap;
  vertical-align: middle;
  font-weight: bold;
  padding: 2px !important;
  margin: 0 !important;
  line-height: 1.5;
  width: 140px;
  border-bottom: 1px solid #dee2e6;
  border-top: 1px solid #dee2e6;
  overflow: visible;
  text-align: end;
}

.risk-central-table tbody td {
  white-space: nowrap;
  vertical-align: middle;
  padding: 2px !important;
  margin: 0 !important;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  border-top: 1px solid #dee2e6;
}

/*LEGEND*/
.legend-icon-container {
  position: relative;
  display: inline-block;
}

.legend-icon {
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 0.1rem;
  vertical-align: middle;
}

.legend-tooltip {
  position: absolute;
  top: 30px;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  width: 250px;
  font-family: Arial, sans-serif;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  color: #212529;
  font-weight: normal;
  text-align: left;
}
.legend-header {
  background-color: #2c3e50;
  padding: 10px;
  color: white;
  border-radius: 6px 6px 0 0;
}

.legend-title {
  font-weight: bold;
}

.legend-description {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.legend-items {
  margin-top: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.legend-color {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.legend-text {
  font-size: 14px;
}

.hide-tooltip {
  display: none;
}

.legend-icon-container:hover .legend-tooltip {
  opacity: 1;
  pointer-events: auto;
}

/*TOOLTIP*/
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: 2px;
}

.tooltip-box {
  visibility: hidden;
  min-width: 150px;
  background-color: rgba(44, 62, 80, 0.8);
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  z-index: 10;
  top: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  opacity: 0;
  white-space: normal;
}

.tooltip-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgba(44, 62, 80, 0.8) transparent;
}

.tooltip-container:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
}

.tooltip-container.tooltip-right .tooltip-box {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 12px;
    white-space: normal;
}

.tooltip-container.tooltip-right .tooltip-arrow {
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(44, 62, 80, 0.8) transparent transparent;
    width: 0;
    height: 0;
}

/* BUSINESS PLAN */
.business-plan-action-button {
    position: relative;
    z-index: 99999999;
}
.bp-thead th::before {
  content: unset;
}
.bp-thead th:not(:first-child) {
  background: #1b6ec2;
  border-radius: 10px 10px 0 0;
  color: #fff;
  padding: 0.5rem 0.8rem;
}
.bp-thead th i.fa-solid {
  font-size: 22px;
}
.bp-select {
  width: 200px;
}
.bp-fast-select {
  width: 180px;
}
.bp-select select,
.bp-fast-select select {
  font-size: 0.85rem;
  padding: .25rem 1.3rem .25rem .5rem;
  background-position: right .25rem center;
}
.bp-input {
  width: 120px;
}
.bp-fast-input,
.bp-fast-single-input {
  width: 140px;
}
.bp-input input,
.bp-fast-input input,
.bp-fast-single-input input {
  font-size: 0.85rem;
  padding: .25rem .5rem;
}
td.bp-row-spacer {
  border-right: 1px solid #fff;
}
td.bp-edit {
  border-right: 1px solid #fff;
  position: relative;
  vertical-align: middle;
}
td.bp-edit:after {
  content: "\3d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  bottom: 0;
  align-content: center;
  right: -6px;
  font-size: .9em;
}
.bp-y-collassable {
  white-space: nowrap;
  cursor: zoom-out;
  text-align: center;
}
.bp-y-collassable.collapsed {
  width: 24px;
  padding: 3px 0 10px 0 !important;
  cursor: zoom-in;
}
.bp-y-collassable.collapsed.close {
  width: 24px;
  padding: 3px 0 10px 0 !important;
  cursor: unset;
}

.business-plan {
  transition: .3s;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: .7rem 1rem;
  margin-bottom: 1rem;
  position: relative;
}
.business-plan i {
  color: #00458b;
}
.business-plan:hover {
  border-color: #1861ac;
  box-shadow: 0px 2px 3px rgba(24, 97, 172, .5);
}
.business-plan table {
  width: 100%;
  font-size: .9em;
}
.business-plan table i {
  color:#00458b;
  font-weight: bold;
  font-style: normal;
}
.business-plan .content {
  padding: .5rem 0;
  border-top: 2px solid #E8F0F9;
}
.business-plan table td:last-child {
  text-align: right;
}
.business-plan .business-tag {
  background: rgba(27, 110, 194, .1);
  border-radius: 20px;
  padding: .2rem .5rem;
}
.bp-selection .form-group {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(27, 110, 194, .1);
  height: 45px;
  padding: 0 1rem;
  border-bottom: 2px solid #E8F0F9;
  align-items: center;
  display: flex;
  border-radius: 0 .5rem 0 0;
}
.bp-selection .form-group input {
  margin: 0 !important;
  width: 18px;
  height: 18px;
}

main, main article {
  overflow: clip;
}
.bp-comparison-year {
  position: sticky;
  top: 3.5rem;
  z-index: 999;
  background: #f9fbfb;
  border-radius: .25rem;
  padding: 5px 10px;
  border: 1px solid #ced4da;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
.bp-comparison-year label {
  margin-top: 0 !important;
}


/* WARRANTY FUND */
.financial-score-table .w-0 {
  width: 0;
}
.financial-score-table th {
  padding: 0 5px;
}
.financial-score-table .active {
  font-weight: bold;
  font-size: 120%;
  border: 4px solid #212529;
  outline: 3px solid #fff;
  line-height: 1em;
}

.coverage-table thead th {
  background: rgba(27, 110, 194, 0.5);
  color: #fff;
}
.coverage-table thead {
  background: rgba(27, 110, 194, 0.1);
  vertical-align: middle;
}
.coverage-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.coverage-table .active {
  border: 2px solid #212529;
  font-weight: bold;
}

.coverage-table-pdf {
    border: 1px solid #ccc;
    border-collapse: collapse;
}

.coverage-table-pdf thead th {
  background: rgba(27, 110, 194, 0.5);
  color: #fff;
}
.coverage-table-pdf thead {
  background: rgba(27, 110, 194, 0.1);
  vertical-align: middle;
}
.coverage-table-pdf ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.coverage-table-pdf tbody td {
    border: 1px solid #ccc;
    border-collapse: collapse;
    background: #fff;
}

.widget-warranty-table th {
  background: rgb(248, 249, 250);
  text-align: left;
  font-weight: normal;
}

/* HYPOTHESIS DIALOG */
.hypothesis-dialog-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  overflow: hidden;
}

.hypothesis-dialog {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 90%;
}

.hypothesis-dialog-header {
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hypothesis-dialog-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}

.hypothesis-dialog-body {
  padding: 15px;
  overflow-y: auto;
}

.hypothesis-dialog-footer {
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: flex-end;
}

.hypothesis-dialog-table-container {
  overflow-x: auto;
  max-height: calc(80vh - 120px);
}

.hypothesis-dialog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hypothesis-dialog-table th,
.hypothesis-dialog-table td {
  padding: 8px;
  border: 1px solid #dee2e6;
  text-align: right;
  overflow: hidden;
  min-width: 100px;
}
.hypothesis-dialog-table td:first-child {
  text-align: left;
}
.hypothesis-dialog-table th.w-0, .hypothesis-dialog-table td.w-0 {
  min-width: 0;
}

.hypothesis-dialog-table th {
  background-color: #5492d1;
  color :#fff;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  border-color: #fff;
  border-bottom: none;
}
.hypothesis-dialog-table thead th:first-child {
  background: transparent;
  border: none;
}
.hypothesis-dialog-table thead th:nth-child(2) {
    background: transparent;
    border: none;
}

.hypothesis-dialog-table .description-cell {
  max-width: 200px;
  text-overflow: ellipsis;
}

.hypothesis-dialog-table .value-cell {
  text-align: right;
}

.hypothesis-category-row {
  background-color: #f1f1f1;
  font-weight: bold;
  text-align: center;
  color: #1b6ec2;
}

.clickable {
  cursor: pointer;
}