/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
  margin: 0;
}

/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
  font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}


/* Definición de las clases para aplicar los estilos */
.font-regular {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-bold,
strong {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-style: normal;
}

.font-italic {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: italic;
}

.font-bold-italic {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-style: italic;
}

.font-light {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: normal;
}

.font-light-italic {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: italic;
}

.text-thin {
  font-size: .7rem !important;
  line-height: 1rem !important;
}

.text-small {
  font-size: .85rem !important;
  line-height: 1.5rem !important;
}

.text-base {
  font-size: 1rem !important;
  line-height: 1.75rem !important;
}

.text-big {
  font-size: 1.25rem !important;
  line-height: 2rem !important;
}

.text-huge {
  font-size: 1.5rem !important;
  line-height: 2.5rem !important;
}

:root {
  --color-base: #023266;
  --color-base-2: #4983c0;
  --gradient-blue: linear-gradient(0deg, #034586 0%, #023266 100%);
  --gradient-gray: linear-gradient(0deg, #111 0%, #333 100%);
  --gradient-blue-radial: radial-gradient(circle, #2d6eaf 0%,  #023266 100%);
  --overlay: url("../img/layout/bg-overlay.png") 50% 50% repeat !important;
  --color-hover: #c5f6ff;
}

.color-base, .blue {
  color: var(--color-base) !important;
}

.color-base-2 {
  color: var(--color-base-2) !important;
}

.white {
  color: #fff !important;
}

.gray {
  color: #999 !important;
}

.black {
  color: #314141 !important;
}
.bg-gradient-gray {
  background-color: var(--gradient-gray);
}
.bg-gray {
  background-color: #f3f3f3;
}
.bg-gray-2 {
  background-color: #f1f1f1;
}
.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.m-top {
  margin-top: 80px;
}

.m-auto {
  margin: auto;
}

.clear {
  clear: both;
}

.underline {
  text-decoration: underline;
}


.content a,
.content a:visited,
.link,
.link:visited {
  text-decoration: none;
  transition: all .2s linear;
  color: var(--color-base)
}

.content a:hover,
.link:hover {
  color: var(--color-base);
}

.thin-scrollbar {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: var(--color-base) #eee;
  /* Firefox */
}

/* WebKit Browsers */
.thin-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.thin-scrollbar::-webkit-scrollbar-track {
  background: var(--color-base);
}

.thin-scrollbar::-webkit-scrollbar-thumb {
  background-color: #eee;
  border-radius: 10px;
}

.PaginadorContainer {
  gap: 10px;
  width: 100%;
  margin: 10px auto 30px auto;
  text-align: center;
  font-weight: 300;
  font-size: 14px;
}

.Paginador,
.Paginador:visited,
.PaginadorPagActual {
  display: inline-block;
  text-align: center;
  color: #777 !important;
  background: #fff;
  display: inline-block;
  margin: 0 4px;
  border-radius: 100%;
  transition: all .2s linear;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #ddd;
}

.Paginador:hover {
  color: #555;
  background: #f3f3f3;
}

.PaginadorPagActual {
  color: #333;
  background-color: #eaeaea;
  font-weight: 400;
}

hr {
  border: none;
  height: 1px;
  background-color: #eee;
  margin: 20px 0 40px 0;
}

.link,
.link:visited {
  color: var(--color-base) !important;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

#modal {
  z-index: 10000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

#modal-container {
  max-width: 1200px;
  max-height: 600px;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 11px;
  padding: 0;
  box-sizing: border-box;
  position: absolute;
  overflow: hidden;
}

#modal-title {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  width: 100%;
  position: relative;
  height: 60px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1;
  padding-left: 20px;
  background: #f8f8f8;
  font-size: 1.2rem;
}

#modal .content {
  width: 100%;
  height: calc(100% - 60px);
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow-y: auto;
}

.btn-pedido-detalle,
.close-modal-btn {
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: #111;
  background-image: url('../img/layout/btn-pedido-detalle.svg');
  background-size: 20px auto;
  background-repeat: no-repeat;
  background-position: center center;
  border: 2px solid var(--color-base);
  cursor: pointer;
  transition: all .2s linear;
}

.btn-pedido-detalle:hover,
#close-modal-btn:hover {
  background-color: var(--color-base);
  border-color: #555;
}

#close-modal-btn {
  position: absolute;
  right: 2px;
  top: 2px;
  background-image: url('../img/layout/close.svg');
}

.tbl-pedidos {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
}

.tbl-pedidos th {
  color: var(--color-base);
  padding: 20px 1%;
  background: #fcfaf5;
  font-size: 1.1rem;
  line-height: 1.3rem;
}

.tbl-pedidos td {
  padding: 20px 1%;
}

.tbl-pedidos .bg1 {
  background: #fff;
}

.tbl-pedidos .bg2 {
  background: #f7f7f7
}

@media (max-width: 500px) {
  #modal-title {
    font-size: 1rem;
  }
  .tbl-pedidos {
    font-size: .7rem;
    line-height: 1rem;
  }  
  
  .tbl-pedidos th {
    font-size: .8rem;
    line-height: 1rem;
  }
}
.mt-1{ 
  margin-top: 1rem !important;
}
.mt-2{ 
  margin-top: 2rem !important;
}
.mt-3{ 
  margin-top: 3rem !important;
}
.mt-4{ 
  margin-top: 4rem !important;
}
.mt-5{ 
  margin-top: 5rem !important;
}