/**
* Template Name: NiceAdmin
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Updated: Apr 20 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --body-bg: var(--p-surface-50);
  --body-text-color: var(--p-surface-900);
  --card-border: 1px solid var(--border-color);
  --card-bg: var(--p-surface-0);
  --border-color: var(--p-surface-200);
  --text-color: var(--p-surface-700);
  --overlay-background: #ffffff;  
  scroll-behavior: smooth;
  --font-size: 1rem;
}

:root[class='p-dark'] {
  --body-bg: var(--p-surface-950);
  --body-text-color: var(--p-surface-50);
  --card-border: 1px solid transparent;
  --card-bg: var(--p-surface-900);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-color: var(--p-surface-0);
  --overlay-background: var(--p-surface-900);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-weight: normal;
  font-family: "Open Sans", sans-serif;
  background-color: #e9e9e9;
  color: #444444;
  font-size: var(--font-size);
}

a {
  color: #1f1e99;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  padding: .5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #232f4f;
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 0px;
  cursor: pointer;
  color: #fff;
}

.header .logo-header a{
  display: block;
}

.header .logo-header a img{
  width: 100%;
  max-width: 65px;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #000;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #000;
}

.header .user-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header .user-tools .content {
  text-align: right;
  color: #fff;
}

.header .user-tools .content p {
  margin-bottom: 0;
}

.header .user-tools .dropdown .btn img {
  width: 100%;
  max-width: 40px;
}

.header .user-tools .dropdown .btn::after {
  border-top-color: #fff !important;
}

.header .user-tools .toggle-menu-btn {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
}

@media (min-width: 1199px) {

  .header .logo-header a img{
    max-width: 55px;
  }

  .header .user-tools .content {
    line-height: 1;
  }

  .header .user-tools .content p {
    margin-bottom: 0;
  }
  
  .header .user-tools .dropdown .btn img {
    max-width: 30px;
  }

  .header .user-tools .toggle-menu-btn {
    display: none;
  }

}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #000;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #000;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  padding: 5.7rem 1.25rem 1.25rem 1.25rem;
  transition: all 0.3s;
  min-height: 88vh;
}

@media (min-width: 1199px) {
  #main {
    padding: 4.5rem 1.875rem 1.25rem 13.4rem;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0;
  color: #000;
}

/*--------------------------------------------------------------
# Solutions
--------------------------------------------------------------*/

.container-categories {
  background-color: #fff;
  margin-bottom: 1rem;
  -webkit-transition: 0.5s ease-in-out all;
  -o-transition: 0.5s ease-in-out all;
  transition: 0.5s ease-in-out all;
}

.container-categories .cs-header {
  padding: 1rem 1rem 0 0.5rem;
}

.container-categories .cs-header div{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: .5rem;
}

.container-categories .cs-header div h2{
  color: #1f1e99;
  font-size: 1rem;
  text-transform: uppercase;
  margin-top: -16px;
  margin-bottom: 0;
}

.container-categories .list-category {
  margin: 0;
  padding: 0 0.5rem;
  height: 0vh;
  overflow: auto;
  -webkit-transition: 0.5s ease-in-out all;
  -o-transition: 0.5s ease-in-out all;
  transition: 0.5s ease-in-out all;
}

.container-categories.active{
  padding-bottom: 1rem;
}

.container-categories.active .cs-header div{
  border-bottom: 1px solid #232f4f;
  color: #1f1e99;
  text-transform: uppercase;  
}

.container-solutions.active .cs-header h2 {
  border-bottom: 1px solid #232f4f !important;
  color: #1f1e99;
  font-size: 1rem;
  text-transform: uppercase;
  padding-bottom: 4px;
  margin-bottom: 0;
}

.cs-header {
  margin-bottom: 0;
}
.container-categories.active .list-category {
  margin: 0;
  padding: 0;
  height: 41.1vh;
  overflow: auto;
}

@media (min-width: 768px) {
  .container-categories {
    padding-bottom: .5rem;
    margin-bottom: 0;
  }

  .container-categories .cs-header div{
    border-bottom: 1px solid #232f4f;
  }

  .container-categories .list-category {
    height: 41.1vh;
  }
}

.container-categories .list-category li {
  list-style: none;
}

.container-categories .list-category li .card.card-category {
  margin-bottom: 0;
  border-bottom: 1px solid #d1d1d1;
  box-shadow: none;
  cursor: pointer;
  /* background-color: #fff; */

  -webkit-transition: .2s ease-in-out all;
  -o-transition: .2s ease-in-out all;
  transition: .2s ease-in-out all;
}

.container-categories .list-category li .card.card-category:hover {
  background-color: #eff2fa;
}

.container-categories .list-category li .card.card-category .form-check-label {
  font-size: .85rem;
  cursor: pointer;
}

.container-solutions {
  background-color: #fff;
  padding: 1rem;
}

.container-solutions h2{
  font-size: 1.2rem;
  margin-bottom: 0;
  color: #232f4f;
}

.list-product {
  height: 33.1vh;
  overflow: auto;
  padding: 0;
  margin: 0;
  margin: 0 0 1rem 0;
}

.list-product li {
  list-style: none;
}

.card-solutions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d1d1d1;
  padding: .5rem;
  margin-bottom: .5rem;
}

.card-solutions .buttons button{
  background-color: transparent;
  border: none;
  color: #b1b1b1;
  -webkit-transition: .2s ease-in-out all;
  -o-transition: .2s ease-in-out all;
  transition: .2s ease-in-out all;
}

.card-solutions .buttons button:hover {
  color:#0b64e9;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #1f1e99;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Table */

.table.table-custom thead tr th,
.table.table-custom thead tr td{
  background-color: #1f1e99;
  color: #fff;
}


table tbody#lproductos tr.solutions__title{
  background-color: #fff;
  display: block;
  width: 100%;
  margin-top: 1rem;
}

table tbody#lproductos tr.solutions__title td{
  color: #1f1e99;
  padding: .775rem .5rem;
  display: block;
  width: 100%;
}

table tbody#lproductos tr.solutions__title td span{
  background-color: #1f1e99;
  color: #fff;
  border-radius: 50%;
  padding: 2px 5px;
  display: inline-block;
  width: 23px;
  height: 23px;
  text-align: center;
  font-size: .875rem;
  margin-right: .5rem;
}

table tbody#lproductos tr.solutions__content{
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

/* Tr */

table tbody#lproductos tr.solutions__content{
  background-color: #fff;
  border-bottom: 1px solid #d6d6d6;
  padding: 1rem .5rem;
}

/* Td */

table tbody#lproductos tr.solutions__content td{
  font-size: .8rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: none;
}

table tbody#lproductos tr.solutions__content td.ocultar-celda{
  display: none !important;
}
table tbody#lproductos tr.solutions__content td:first-child{
  width: 20%;
}
table tbody#lproductos tr.solutions__content td:nth-child(2){
  width: 80%;
  padding-top: 1.35rem;
}
table tbody#lproductos tr.solutions__content td:nth-child(3),
table tbody#lproductos tr.solutions__content td:nth-child(4),
table tbody#lproductos tr.solutions__content td:nth-child(5),
table tbody#lproductos tr.solutions__content td:nth-child(6),
table tbody#lproductos tr.solutions__content td:nth-child(11){
  width: 15.5%;
}

table tbody#lproductos tr.solutions__content td:last-child{
  position: absolute;
  right: 0;
  top: 47%;
  height: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Td Befores */

table tbody#lproductos tr.solutions__content td::before{
  display: block;
  font-size: .75rem;
  font-weight: bold;
}

table tbody#lproductos tr.solutions__content td:first-child::before{
  content: 'Nombre';
}

table tbody#lproductos tr.solutions__content td:nth-child(2)::before{
  content: '';
}

table tbody#lproductos tr.solutions__content td:nth-child(3)::before{
  content: 'Cant.';
}

table tbody#lproductos tr.solutions__content td:nth-child(4)::before{
  content: 'M2';
}

table tbody#lproductos tr.solutions__content td:nth-child(5)::before{
  content: 'ML';
}

table tbody#lproductos tr.solutions__content td:nth-child(6)::before{
  content: 'P. bruto';
}

table tbody#lproductos tr.solutions__content td:nth-child(11)::before{
  content: 'Subtotal';
}


@media (min-width: 768px) {
  /* Td */

  table tbody#lproductos tr.solutions__content td{
    font-size: .875rem;
  }

  table tbody#lproductos tr.solutions__content td:first-child{
    width: 10%;
  }

  table tbody#lproductos tr.solutions__content td:nth-child(2){
    width: 90%;
    padding-top: 1.5rem;
  }

  table tbody#lproductos tr.solutions__content td:nth-child(3),
  table tbody#lproductos tr.solutions__content td:nth-child(4),
  table tbody#lproductos tr.solutions__content td:nth-child(5),
  table tbody#lproductos tr.solutions__content td:nth-child(6),
  table tbody#lproductos tr.solutions__content td:nth-child(11){
    width: 17.5%;
  }

  /* Td Befores */

  table tbody#lproductos tr.solutions__content td::before{
    font-size: .8rem;
  }

  table tbody#lproductos tr.solutions__content td:first-child::before{
    content: 'Nombre';
  }

  table tbody#lproductos tr.solutions__content td:nth-child(2)::before{
    content: '';
  }

  table tbody#lproductos tr.solutions__content td:nth-child(3)::before{
    content: 'Cantidad';
  }

  table tbody#lproductos tr.solutions__content td:nth-child(4)::before{
    content: 'M2';
  }

  table tbody#lproductos tr.solutions__content td:nth-child(5)::before{
    content: 'ML';
  }

  table tbody#lproductos tr.solutions__content td:nth-child(6)::before{
    content: 'Precio bruto';
  }

  table tbody#lproductos tr.solutions__content td:nth-child(11)::before{
    content: 'Subtotal';
  }
}

/* Card */
.card {
  background: var(--card-bg);
  border: var(--card-border);
  padding: 0.5rem;
  border-radius: 0px;
  margin-bottom: 1rem;
  /*  */
  margin-bottom: 30px;
  border: none;
  border-radius: 0px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #4f6488;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 2px 2px 2px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button::after{
  background-color: #fff;
  border-radius: 50px;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #1f1e99;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #4f6488;
  font-weight: 600;
}

.breadcrumb a {
  color: #4f6488;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #4f6488;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #1f1e99;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #1f1e99;
  border-bottom: 2px solid #1f1e99;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 200px;
  z-index: 996;
  transition: all 0.3s;
  padding: 5px;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

.sidebar .toggle-sidebar-btn {
  display: none;
  background-color: #BE2B2E;
  color: #fff;
  border: transparent;
  border-radius: 50%;
  right: -15px;
  top: 20px;
}

.sidebar .logo-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.sidebar .logo-sidebar a {
  display: block;
}

.sidebar .logo-sidebar a img{
  width:100%;
  max-width: 80px;
}

@media (min-width: 1199px) {
  .sidebar {
    left: 0;
  }

  .sidebar .toggle-sidebar-btn {
    display: block;
    position: absolute;
  }

  .sidebar .logo-sidebar a img{
    max-width: 95px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {
  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    padding-left: 1rem;
  }

  .toggle-sidebar .sidebar {
    left: -200px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #4f6488;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #1f1e99;
  transition: 0.3;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #1f1e99;
  font-weight: normal;
}

.sidebar-nav .nav-link.collapsed {
  color: #4f6488;
  background: #fff;
  font-weight: normal;
}

.sidebar-nav .nav-link.collapsed i {
  color: #4f6488;
  font-weight: normal;
}

.sidebar-nav .nav-link:hover {
  color: #1f1e99;
  background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
  color: #1f1e99;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: normal;
  color: #4f6488;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #1f1e99;
}

.sidebar-nav .nav-content a.active i {
  background-color: #1f1e99;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #1f1e99;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #000;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #1f1e99;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #000;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #1f1e99;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #000;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #000;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #000;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #1f1e99;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #1f1e99;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #000;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #1f1e99;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #1f1e99;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #1f1e99;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 0px;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: left;
  color: #000;
}

.footer .credits {
  text-align: left;
  font-size: .875rem;
  color: #000;
}

@media (min-width: 1199px) {
  .footer {
    padding: 1rem 1rem 1rem 13.4rem;
  }
}

p.small {
  line-height: 0.1;
}

.form-label {
  margin-bottom: .5rem;
  color: #1f1e99;
}

/* Lista con clase 'pfotos' */
.pfotos {
  list-style-type: none; /* Eliminar puntos */
  padding: 0;
  margin: 0;
  display: grid; /* Usamos grid para las columnas */
  grid-template-columns: repeat(3, 1fr); /* 2 columnas de igual tamaño */
  gap: 5px; /* Espacio entre los elementos */
  text-align: center;
}

/* Añadir una X roja antes del texto */
/* Elementos de la lista con clase 'pfotos-item' */
.pfotos-item {
  background-color: #F6E3CA;
  border: #D7C8B6 2px solid;
  display: inline; 
}

/* Estilo opcional para los enlaces */
.pfotos-item a {
  color: black;
  padding: 0;
  text-decoration: none;
  margin-left: -10px;
  margin-right: 5px;
}

.pfotos-item:hover {
  background-color: white;
  color: rgb(220, 53, 69)
}

/*MULTIPLE SELECT*/
.container-mselect {
  max-width: 50vw;
  margin: 0 auto;
}

select[data-multi-select-plugin] {
  display: none !important;
}

.multi-select-component {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  width: 100%;
  padding: 3px 8px;
  font-size: 14px;
  line-height: 1.42857143;
  padding-bottom: 0px;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.autocomplete-list {
  border-radius: 4px 0px 0px 4px;
}

.multi-select-component:focus-within {
  box-shadow: inset 0px 0px 0px 2px #78ABFE;
}

.multi-select-component .btn-group {
  display: none !important;
}

.multiselect-native-select .multiselect-container {
  width: 100%;
}

.selected-wrapper {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid #d9d9d9;
  background-color: #ededed;
  white-space: nowrap;
  margin: 1px 5px 5px 0;
  height: 22px;
  vertical-align: top;
  cursor: default;
}

.selected-wrapper .selected-label {
  max-width: 514px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 4px;
  vertical-align: top;
}

.selected-wrapper .selected-close {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.49em;
  margin-left: 5px;
  padding-bottom: 10px;
  height: 100%;
  vertical-align: top;
  padding-right: 4px;
  opacity: 0.2;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  font-weight: 700;
}

.search-container {
  display: flex;
  flex-direction: row;
}

.search-container .selected-input {
  background: none;
  border: 0;
  height: 20px;
  width: 60px;
  padding: 0;
  margin-bottom: 6px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.search-container .selected-input:focus {
  outline: none;
}

.dropdown-icon.active {
  transform: rotateX(180deg)
}

.search-container .dropdown-icon {
  display: inline-block;
  padding: 10px 5px;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  border: 0 !important;
  /* needed */
  -webkit-appearance: none;
  -moz-appearance: none;
  /* SVG background image */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23818181%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23818181%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-position: center;
  background-size: 10px;
  background-repeat: no-repeat;
}

.search-container ul {
  position: absolute;
  list-style: none;
  padding: 0;
  z-index: 3;
  margin-top: 29px;
  width: 100%;
  right: 0px;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-bottom: none;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.search-container ul :focus {
  outline: none;
}

.search-container ul li {
  display: block;
  text-align: left;
  padding: 8px 29px 2px 12px;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  min-height: 31px;
}

.search-container ul li:first-child {
  border-top: 1px solid #ccc;
  border-radius: 4px 0px 0 0;
}

.search-container ul li:last-child {
  border-radius: 4px 0px 0 0;
}


.search-container ul li:hover.not-cursor {
  cursor: default;
}

.search-container ul li:hover {
  color: #333;
  background-color: rgb(251, 242, 152);
  border-color: #adadad;
  cursor: pointer;
}

/* Adding scrool to select options */
.autocomplete-list {
  max-height: 130px;
  overflow-y: auto;
}

/** autocmplete SEARCH **/

.autocomplete__container {
  position: relative;
  margin-top: "0.8rem";
  width: 100%;
  /* max-width: 350px; */
}

.autocomplete__results.visible {
  visibility: visible;
  background-color: white;
}

.autocomplete__input {
  display: block;
  width: 100%;
  padding: 0.4rem 0rem 0.4rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 5px;
}

.autocomplete__input:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.autocomplete__dropdown-arrow {
  position: absolute;
  right: 0;
  top: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  height: 100%;
  transition: transform 0.2s linear;
}

.autocomplete__dropdown-arrow.expanded {
  transform: rotate(-180deg);
}

.autocomplete__results {
  visibility: hidden;
  position: absolute;
  top: 100%;
  margin-top: 0;
  width: 100%;
  overflow-y: auto;
  border: 1px solid #999;
  padding: 0;
  max-height: 200px;
}

.autocomplete__results > li {
  list-style: none;
  padding: 0.4rem 1rem;
  cursor: pointer;
}

.autocomplete__results > li:hover {
  background: #0b64e9;
  color: white;
}

.autocomplete__results > li:focus {
  background: #0b64e9;
  color: white;
}

/*** SLIDERS PRODUCTOS ***/
#ptoggle img {
  vertical-align:middle;
}
#ptoggle {
  padding:0px;
  text-align: center;
  margin:0px;
  width: 110px;
  height:40px;
  background:rgb(220, 53, 69);
  z-index:15;
  -moz-transform:rotate(-90deg);
  -ms-transform:rotate(-90deg);
  -o-transform:rotate(-90deg);
  -webkit-transform:rotate(-90deg);
  transform-origin: bottom right;
  position: absolute;
  left: 164px;
  top: 174px;
}
#ptoggle p {
  color: rgb(255, 255, 255);
  display:inline-block;
  line-height:40px;
}

.modal .btn-close {
  background-color: #0c5adb;
  opacity: 1 !important;
  color: #fff !important;
  border-radius: 50% !important;
  background-image: url("../img/xmark-white-icon.svg") !important;
  background-size: 20px;
  padding: 0.3rem;
}

.modal .btn-close:hover {
  background-color: #023d9a;
}
.nav-tabs .nav-link.active {border-color: #fff;}

.right { text-align: right; } 

input[type=number] {
  -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.autocomplete-items {
  border: 1px solid #d4d4d4;
  left: 0;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  position: relative;
  background-color: #fff;
  max-height: 60%;
  max-width: 80.6%;
  width: 80.6%;
  overflow-y: auto;
}

.autocomplete-item {
  padding: 10px;
  cursor: pointer;
}
.autocomplete-item:hover {
  background-color: #e9e9e9;
}

/* Agrupar varios inputs-label  en una linea*/
input,
textarea {
  font: inherit;
}

.my-input-group {
  display: table;
  border-collapse: collapse;
  width: 100%;
}

.my-input-group > * {
  display: table-cell;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.my-input-group-icon {
  background-color: #eee;
  color: #777;
  padding: 0 12px;
}

.my-input-group-area {
  width: 100%;
}

.my-input-group input {
  border: 0;
  display: block;
  width: 100%;
  padding: 5px; 
}
/* Fin Agrupar varios inputs-label  en una linea*/

/* Para cotizacione campo total como un text sin marcos*/
.input-total {
  border: 0;
  border-bottom: double 3px #000;
  outline: 0 !important;
  font-weight: 700;
  background: transparent;
  padding-right: 10.5px;
  width: 100%;
}
.input-total:focus {outline:none!important;}

.fontpassword {
  font-size:20px;
  cursor: pointer;
  color:#c0c0c0;
}

.bg-dellorto {
  background-color: #2d3859 !important;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #232f4f;
  --bs-btn-border-color: #232f4f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #4e5573;
  --bs-btn-hover-border-color: #374163;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #374163;
  --bs-btn-active-border-color: #4e5573;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #9295a9;
  --bs-btn-disabled-border-color: #9295a9;
}

.btn-outline-danger {
  --bs-btn-color: #232f4f;
  --bs-btn-border-color: #232f4f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #232f4f;
  --bs-btn-hover-border-color: #232f4f;
  --bs-btn-focus-shadow-rgb: 220, 53, 69;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #232f4f;
  --bs-btn-active-border-color: #232f4f;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #232f4f;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #232f4f;
  --bs-gradient: none;
}

.text-primary {
  --bs-text-opacity: 1;
  color: #232f4f !important;
}

/* datalist */
datalist {
  position: absolute;
  max-height: 20em;
  border: 1px solid #ddd;
  overflow-x: hidden;
  overflow-y: auto;
}

datalist option {
  font-size: 1em;
  padding: 0.3em 1em;
  background-color: #fffefe;
  cursor: pointer;
}

/* option active styles */
datalist option:hover,
datalist option:focus {
  color: #fff;
  background-color: #036;
  outline: 0 none;
}

#browserdata option {
  font-size: 1.8em;
  padding: 0.3em 1em;
  background-color: #ccc;
  cursor: pointer;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1000;
  top: 60px;
  left: 200px;
  opacity: 0.9;
  background-color: #08011e5d;
  filter: alpha(opacity=1);
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #198754!important;
}

.valid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  color: #fff;
  background-color: var(--bs-success);
  border-radius: var(--bs-border-radius);
}

.was-validated :valid ~ .valid-feedback,
.was-validated :valid ~ .valid-tooltip,
.is-valid ~ .valid-feedback,
.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .form-control:valid, .form-control.is-valid {
  border-color: var(--bs-form-valid-border-color);
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
  border-color: var(--bs-form-valid-border-color);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);
}

.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
  padding-right: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .form-select:valid, .form-select.is-valid {
  border-color: var(--bs-form-valid-border-color);
}
.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] {
  --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  padding-right: 4.125rem;
  background-position: right 0.75rem center, center right 2.25rem;
  background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-select:valid:focus, .form-select.is-valid:focus {
  border-color: var(--bs-form-valid-border-color);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);
}

.was-validated .form-control-color:valid, .form-control-color.is-valid {
  width: calc(3rem + calc(1.5em + 0.75rem));
}

.was-validated .form-check-input:valid, .form-check-input.is-valid {
  border-color: var(--bs-form-valid-border-color);
}
.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked {
  background-color: var(--bs-form-valid-color);
}
.was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);
}
.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
  color: var(--bs-form-valid-color);
}

.form-check-inline .form-check-input ~ .valid-feedback {
  margin-left: 0.5em;
}

.was-validated .input-group > .form-control:not(:focus):valid, .input-group > .form-control:not(:focus).is-valid,
.was-validated .input-group > .form-select:not(:focus):valid,
.input-group > .form-select:not(:focus).is-valid,
.was-validated .input-group > .form-floating:not(:focus-within):valid,
.input-group > .form-floating:not(:focus-within).is-valid {
  z-index: 3;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545!important
}

.invalid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  color: #fff;
  background-color: var(--bs-danger);
  border-radius: var(--bs-border-radius);
}

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip,
.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
  border-color: var(--bs-form-invalid-border-color);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
}

.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
  padding-right: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .form-select:invalid, .form-select.is-invalid {
  border-color: #dc3545;
}
.was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] {
  --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  padding-right: 4.125rem;
  background-position: right 0.75rem center, center right 2.25rem;
  background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus {
  border-color: var(--bs-form-invalid-border-color);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
}

.was-validated .form-control-color:invalid, .form-control-color.is-invalid {
  width: calc(3rem + calc(1.5em + 0.75rem));
}

.was-validated .form-check-input:invalid, .form-check-input.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
}
.was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked {
  background-color: var(--bs-form-invalid-color);
}
.was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
}
.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
  color: var(--bs-form-invalid-color);
}

.form-check-inline .form-check-input ~ .invalid-feedback {
  margin-left: 0.5em;
}

.was-validated .input-group > .form-control:not(:focus):invalid, .input-group > .form-control:not(:focus).is-invalid,
.was-validated .input-group > .form-select:not(:focus):invalid,
.input-group > .form-select:not(:focus).is-invalid,
.was-validated .input-group > .form-floating:not(:focus-within):invalid,
.input-group > .form-floating:not(:focus-within).is-invalid {
  z-index: 4;
}

.input-group .btn{
  z-index: 1;
}

/*--------------------------------------------------------------
# Modals
--------------------------------------------------------------*/

.modal-xxl{
  max-width: 70%;
  width: 70%; 
  display: flex;
  align-items: center;
}
.modal-xxl .modal-content {
  height: 95vh;
  min-height: 95vh;
  display: flex;  
  flex-direction: column;
}
.modal-xxl .modal-body {
  flex-grow: 1;               /* Toma todo el espacio disponible */
  overflow-y: auto;      /* Scroll si el contenido es largo */
}
.modal-xxl .modal-header,
.modal-xxl .modal-footer {
  flex-shrink: 0; /* Evita que se encojan */
}

/* Modale ditar productos */
#procProd .form-label{
  font-size: .75rem;
}

#dt-procesos {
  max-height: 200px;
  overflow-y: auto;
}
.tabulator .tabulator-cell .badge {
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
  min-width: 70px;
  display: inline-block;
  text-align: center;
}
/* Para que los options muestren los colores */
#nuevoEstadoSelect option {
  padding: 8px;
  margin: 2px 0;
  border-radius: 4px;
}

/* Estilo cuando el select está enfocado */
#nuevoEstadoSelect:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.estado-container {
  display: block;
  position: relative;
}
.estado-label {
  display: block;
  margin-bottom: 0.25rem !important; /* Margen consistente */
}
.estado-badge-container {
  display: inline-block; /* Para que no ocupe ancho completo */
}


/*
-----------------------------------------------------------------
-----------------Estilos nuevos para corroborar------------------
-----------------------------------------------------------------
*/
.ocultar-celda {
  display: none !important;
}
.icono-grande {
  font-size: 5rem;
}
.pagetitle .titulo-principal {
  font-size: 3rem; /* O el tamaño deseado */
  font-weight: 900;
  color: #212529;
  text-shadow: none;
  line-height: 1.1;
  margin-top: 9rem;
  margin-bottom: 8rem;
}
/* Estilos para el efecto hover en las tarjetas */
.card-hover-effect {
  transition: background-color 0.3s ease, transform 0.2s ease; 
  display: block;
  border-radius: inherit; 
  height: 100%;
  text-decoration: none; 
  color: inherit;
}

.card-hover-effect:hover {
  background-color: #e2e6ea; 
  transform: translateY(-5px);
  cursor: pointer;
}

/* Para que el texto y el icono también cambien de color si el fondo es oscuro */
.card-hover-effect:hover h1,
.card-hover-effect:hover p {
  color: inherit;
}

.zoom {
  transform: scale(1); /* Default scale */
  transform-origin: top left;
  transition: transform 0.3s ease;
}

/* Contenedor principal para el scroll */
.table-container {
  width: 100%;
  overflow: hidden;
}

/* La tabla ocupa el 100% del ancho */
#detalles {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed !important; /* ¡Clave! Obliga a respetar los widths del thead */
}

/* Cabecera: ancho basado en los th (ya los tienes definidos) */
#detalles thead {
  display: table;
  width: 100%;
}

/* Cuerpo con scroll */
#detalles tbody {
  display: block;
  max-height: 420px; /* Altura deseada */
  overflow-y: auto;
  width: 100%;
}

/* Filas dinámicas: heredan el ancho de las columnas del thead */
#detalles tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed; /* Respeta los widths del thead */
}

/* Columnas ocultas */
.ocultar-celda {
  display: none;
}

/* Opcional: ajuste fino para el scrollbar (evita desplazamiento horizontal) */
#detalles tbody {
  scrollbar-width: thin;
}
#detalles tbody::-webkit-scrollbar {
  width: 8px;
}

.btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-bg: #810808;
  --bs-btn-border-color: #810808;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #bb2d3b;
  --bs-btn-hover-border-color: #b02a37;
  --bs-btn-focus-shadow-rgb: 225, 83, 97;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b02a37;
  --bs-btn-active-border-color: #a52834;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #810808;
  --bs-btn-disabled-border-color: #810808;
}
/* atributos de dvh y lam */
#dl-attrs table {
  width: 90%;
  border: 1px solid #ccc;
}

#dl-attrs th,
#dl-attrs td {
  border: 1px solid #ccc;
  padding: 0.1em;
  text-align: center;
}

#dl-attrs input {
  width: 80px;
}

#dl-attrs h3 {
  margin-top: 0em;
  font-weight: normal;
}
.scroll-x {
  overflow-x: auto;
  width: 100%;
}
.accordion {
  margin-bottom: 0 !important;
}
.accordion-item,
.accordion-button {
  margin-bottom: 0 !important;
  border-bottom: 1px solid #ddd;  
  border-radius: 0 !important;
  padding-left: 0 !important;
}
.accordion-button {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  min-height: 50px; 
  font-size: 1.1rem;
  font-weight: 600;
  padding-left: 0.5rem !important;
}
.accordion-body {
  padding: 0rem 0rem !important;
  background-color: rgb(248, 249, 250);
}
.accordion-body input,
.accordion-body select {
  padding: 0rem 0.1rem;
  margin-bottom: 0 !important;
  height: auto;
}
.accordion-button.bg-secondary::after,
.accordion-button.bg-dellorto::after {
  filter: brightness(0) invert(1);
}

/* Aplica flex solo en pantallas medianas en adelante */
@media (min-width: 768px) {
  .row.mb-4 {
    display: flex;
    align-items: stretch;
  }

  .container-categories,
  .container-solutions {
    margin-top: 5px !important;
    height: 100%;
    /* display: flex; */
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff; /* Si querés mantener el fondo claro */
    padding: 1rem;
    border-radius: 0; /* Bordes rectos */
  }
}
.grupo-campos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .grupo-campos {
    grid-template-columns: 1fr;
  }
}
.dropdown-menu.dropdown-contratistas {
  font-size: 14px;
  padding: 0px;
  transition: 0.2s ease-in-out;
  color: #333;
  box-shadow: none !important;
}
.dropdown-menu.dropdown-contratistas .dropdown-item {
  font-size: 14px;
  padding: 5px !important;
  transition: 0.2s ease-in-out;
  color: #333;
  box-shadow: none !important;
}