@import "../fonts/gotham.css";

html,
body {
  font-family: 'GothamPro', Helvetica, sans-serif;
  background-color: #f0f2f4;
  min-height: 100vh;
}

.page__content h1,
.page__content h2,
.page__content h3,
.page__content h4,
.page__content h5 {
  font-family: 'GothamPro', Helvetica, sans-serif;
}

ons-toolbar.toolbar {
  --bs-bg-opacity: 1;
  background-color: rgba(33, 37, 41, 1) !important;
  color: #FFF;
}

.zmdi-menu:before {
  color: #fff;
}

.login-pane img {
  width: 100%;
}

.preloader-anim {
  max-width: 60%;
}

.form-signin {
  width: 70%;
  max-width: 340px;
  padding: 15px 30px;
  margin: auto;
  background-color: #FFF;
  border-radius: 12px;
  box-shadow: 0px 0px 15px #ccc;
  margin-bottom: 50px;
  position: relative;
  top: -40px;
}

.title-gilsa {
  font-size: 21px !important;
  font-weight: 600;
}

input.text-input.natural-input {
  width: 100%;
  border: 1px solid #ddd;
  background-color: #d9d9de;
  font-weight: 400;
  border-radius: 4px;
  height: calc(3.5rem + 2px);
  line-height: 1.25;
  padding: 1rem .75rem;
}

.btn-primary {
  padding: .5rem 1rem;
  font-size: 1rem;
  border-radius: .3rem;
  background-color: #000;
  color: #FFF;
  font-weight: 400;
  display: block;
  margin: 20px 0px;
  text-decoration: none;
  text-align: center;
}

.user-info .list-item__center {
  padding: 3rem 0px;
}

.user-info span {
  background-color: rgb(240, 242, 244);
  font-size: 0.7rem;
  display: block;
  color: #333;
  padding: 2px 5px;
  margin-top: 5px;
  margin-left: 0px;
  border-radius: 12px;
  border: 1px solid rgb(216, 223, 227);
  display: block;
}

button.button--large--cta {
  background-color: #000;
}

button.button--large--cta:active {
  background-color: #555;
}

.center.toolbar__center.toolbar__title {
  color: #FFF;
}

.toolbar ons-icon.ons-icon {
  color: #FFF;
}

.header-nueva-cotizacion {
  background: #FFF;
  position: fixed;
  width: 100%;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-color: #FFF;
  padding: 20px 0px;
  border-top: 1px solid #333;
}

.header-nueva-cotizacion p {
  font-size: 0.8rem;
  text-align: right;
  color: rgb(84, 110, 122);
}

/*.form-cotizacion {
  padding: 10px 0px;
}*/
.form-cotizacion input {
  width: 100%;
  margin: 10px 0px;
  color: #000;
}

.form-cotizacion input.text-input.natural-input {
  height: 30px;
}


.card.obligatorio {
  border-left: 4px solid rgb(255, 0, 0);
}

.card.opcional {
  border-left: 4px solid rgb(255, 160, 0);
}

.card.sugerido {
  border-left: 4px solid rgb(0, 0, 255);
}

#card-products-container h4.card__title,
#pedidos-products-container h4.card__title {
  font-size: 0.9rem;
}

.preloader-search {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .1);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.button-buscar-qr {
  margin-top: 10px;
}

.button-buscar-qr button img {
  margin: 4px 0px -6px 0px;
  height: 25px;
}

.product-result-image {
  width: 70px;
  margin: 5px 10px 0px 0px;
}

.card__product_image {
  display: inline-block;
}

#card-products-container .card__content {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  color: #030303;
}

input.qty-input {
  width: 40px;
  text-align: right;
  margin-left: 5px;
}

div#login-progress {
  text-align: center;
  width: 100%;
}

p#error-message-login {
  color: #f00;
}

#qr-page .page__content {
  background-color: transparent;
}

#qr-page .page__background {
  background-color: transparent;
}

/*.button-save-cotizacion {
  margin: 10px 0px;
}*/
.eliminar-item-text {
  text-align: right;
}

.product-qty-input {
  top: -6px;
  width: 50px;
  border: 0px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

#container-add-prospecto {
  margin: 0px 14px;
}

#add-customer-btn {
  width: 93%;
  margin: 0 auto;
}

.card-full-width .card__content {
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

li.list-item.list-not-found {
  padding: 10px;
}

.button-nva-cotizacion {
  position: fixed;
  width: 100%;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-color: #FFF;
  padding: 20px 0px;
  border-top: 1px solid #333;
}

/*#homepage .page__content {
   margin-bottom: 85px;
 }*/

.list-item .product-result-info {
  max-width: 75%;
}

h1#dashboard-name {
  font-size: 25px;
}

.product-qty-input input {
  text-align: center;
  border-bottom: 1px solid #ccc !important;
  font-size: 12px;
  height: 23px;
}


.item-footer .button--quiet {
  font-size: 12px;
  margin: 0 auto;
  text-align: center;
  width: 90%;
  padding: 8px 0;
  line-height: 12px;
}

.item-footer ons-col {
  text-align: center;
}

#card-products-container .card {
  padding: 5px 5px;
}

.btn-start-search {
  align-items: center;
  display: flex;
  box-shadow: none;
  background: #fff;
  margin-top: 8px;
}

.btn-new-search {
  background: none;
  border: none;
}

/* Búsqueda avanzada */

#busquedaAvanzada .advanced-container {
  padding: 0 20px;
}

#busquedaAvanzada .search-container .bf-search-input-products {
  width: calc(100% - 40px);
}

#busquedaAvanzada .filter-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #D1DDE2;
  overflow-x: scroll;
}

#busquedaAvanzada .filter-container .clear-button {
  min-width: 160px;
  background: #37474F;
  margin: 25px 10px 25px 20px;
  font-weight: 600;
}

#busquedaAvanzada .filter-container .box-filter {
  background: #D8DFE3;
  padding: 0 0 0 10px;
  margin-right: 10px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

#busquedaAvanzada .filter-container .box-filter ons-button {
  background: none;
  box-shadow: none;
  padding: 0 10px 0 5px;
}

.menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.menu-content .btn-back-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
  color: #000000;
  cursor: pointer;
}

.menu-content .btn-back-menu img{
  margin-right: 7px;
}

.menu-items {
  height: 100%;
  width: 100%;
  padding: 0;
  margin-top: 0;
  list-style: none;
  transition: all 0.4s ease;
}

.submenu-active .menu-items {
  right: 0;
}

.submenu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid #D1DDE2;
  border-radius: 4px;
  cursor: pointer;
}

.submenu {
  position: absolute;
  width: 100%;
  top: 0;
  right: -100%;
  height: 100%;
  background: #ECEFF1;
  padding: 0;
}

.show-submenu~.submenu {
  display: block;
}

.category-title-list {
  width: 100%;
}

.menu-content .menu-items .item {
  border: none;
}

.menu-content .menu-items .item .submenu .item {
  border: 2px solid #D1DDE2;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  cursor: pointer;
}

.item a {
  text-decoration: none;
  color: #000;
}

.menu-title {
  border: 2px solid #D1DDE2;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  cursor: pointer;
}

.item img,
.menu-title img {
  vertical-align: middle;
  margin-right: 5px;
}

ons-fab img {
  width: 100%;
  height: 100%;
}

.dialog {
  height: 100%;
  width: 80%;
  left: 0;
  top: 0;
  transform: unset;
}

.filter-info {
  padding: 15px;
}

.filter-info .title-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #D8DFE3;
  padding-bottom: 10px;
}

.filter-info .title-clean .btn-clean-filters {
  color: #3C3C3C;
  font-size: 20px;
}

.filter-info .btn-primary {
  position: absolute;
  bottom: 30px;
  width: calc(100% - 30px);
  margin: 0 auto;
}

/* Estilos Dropdown */

.filter-info .dropdown {
  height: calc(100vh - 200px);
  overflow-y: scroll;
  overflow-x: hidden;
}

.dropdown {
  padding: 0;
  font-weight: 600;
}

.dropdown-menu {
  background: #E8EEF1;
  margin-bottom: 7px;
  border-radius: 4px;
  list-style: none;
}

.dropdown-input {
  display: flex;
  position: relative;
  color: #000000;
  padding: 1em .7em;
  text-decoration: none;
}

.dropdown-input::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-size: 15px;
  background-image: url(../img/drop-show.svg);
  background-repeat: no-repeat;
  background-position: center 1px;
  margin-right: 3px;
  transition: .3s all;
}

.dropdown-menu:has(:checked) {
  --rows: 1fr;
}

.dropdown-menu:has(:checked) .dropdown-input::before {
  background-image: url(../img/drop-hide.svg);
  background-position: center 7px;
}

.dropdown-check {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropdown-sub-container {
  display: grid;
  grid-template-rows: var(--rows, 0fr);
  transition: .3s grid-template-rows;
  background: #ffffff;
}

.dropdown-submenu {
  padding: 0;
  overflow: hidden;
}

.dropdown-list {
  display: flex;
  align-items: center;
  width: 97%;
  margin-left: auto;
  list-style: none;
}

.dropdown-list input {
  margin-top: 0;
}

.dropdown-sub-link {
  display: block;
  color: #000000;
  padding: 1em 0;
  margin-left: .3em;
  font-weight: 300;
  text-decoration: none;
}

/**/

.double-slider-box {
  padding: 0 5px;
}

.range-slider {
  position: relative;
  width: 100%;
  height: 8px;
  margin: 30px 0;
  background-color: #D8DFE3;
  border-radius: 4px;
}

.slider-track {
  height: 100%;
  position: absolute;
  background-color: #000000;
}

.range-slider input {
  position: absolute;
  width: 100%;
  background: none;
  appearance: none;
  pointer-events: none;
  z-index: 2;
  transform: translate(-5px, -10px);
}

input[type="range"]::-webkit-slider-thumb {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  border: 3px solid #FFF;
  background: #FFF;
  pointer-events: auto;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 .125rem .5625rem -0.125rem rgba(0, 0, 0, .25);
  position: relative;
  z-index: 3;
}

input[type="range"]::-moz-range-thumb {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  border: 3px solid #FFF;
  background: #FFF;
  pointer-events: auto;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: 0 .125rem .5625rem -0.125rem rgba(0, 0, 0, .25);
  padding: 10px;
  position: relative;
  z-index: 3;
}

.input-box {
  display: flex;
  margin-top: 15px;
}

.input-field {
  background: #E4EEF2;
  border: 1px solid #D1DDE2;
  border-radius: 4px;
  height: 40px;
  width: 100px;
  font-size: 15px;
  text-align: center;
}

.input-addon {
  margin-right: 10px;
}

.min-box,
.max-box {
  width: 50%;
}

.input-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.tooltip {
  position: absolute;
  padding: 22px 0 0 0;
  border-radius: 4px;
  font-size: 12px;
  padding: 5px;
}

.img-quote {
  width: 20px;
  margin: 0 8px 0 0;
}

.product-result-info .img-products {
  display: flex;
  align-items: center;
}

.product-result-info .img-products ons-button {
  display: flex;
  background: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  color: #3C3C3C;
}

.product-result-info .img-products span {
  margin: 0 15px 0 3px;
}

.btn-product {
  display: flex;
  align-items: center;
  justify-content: center;
  background: no-repeat;
  box-shadow: none;
  padding: 10px 0;
  color: #C8D1DB;
  width: 49%;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #C8D1DB;
}

.btn-product-quote {
  width: 100%;
  color: #000000;
  background: #E4EEF2;
  padding: 15px;
  box-shadow: none;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid #D1DDE2;
  font-family: 'GothamPro';
}

.bts-products-quote {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
  align-items: center;
}

.btns-products-info {
  width: 100%;
}

.btn-add-quote {
  display: flex;
  width: 100%;
  text-align: center;
}

.bf-search-input-products {
  padding: 12px;
  border: 1px solid #D8DFE3;
  border-radius: 4px 0 0 4px;
}

.bf-btn-adv-search {
  border: none;
  padding: 12px;
  background: #BDCAD0;
  border-radius: 0 4px 4px 0;
}

.advanced-container {
  height: 100%;
}

.advanced-container .search-container {
  display: flex;
}