:root {
  --color-principal: #fff;
  --color-principal2: #A7E92F;
  --color-principal3: #64faa3;
  --color-secundario: #fff;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}


.bg-body{
    background-image: url('../img/fondo.svg');
  background-position: center;
  background-repeat: no-repeat;
}


.bg-color{
  background-color: #A7E92F;
}


.bg-degraded{
background: rgb(167,233,47);
background: linear-gradient(90deg, rgba(167,233,47,1) 19%, rgba(100,250,163,1) 59%);
}


.bg-degraded2{
background: rgb(100,250,163);
background: linear-gradient(90deg, rgba(100,250,163,1) 19%, rgba(167,233,47,1) 59%);
}


::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
}

::-webkit-scrollbar-thumb {
  background: var(--color-principal);
}

.card {
  width: 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 12px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.icon-camera {
  cursor: pointer;
  position: absolute;
  top: 13%;
  right: 7%;
  font-size: 20px;
  z-index: 999;
  color: var(--color-principal);
}

.btn-cerrar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.2s;
  background-color: #332927;
  color: #fff;
}

.btn-compartir {
  display: flex;
  cursor: pointer;
  right: 0;
  font-size: 30px;
  margin: 1rem;
}

.btn-compartir button{
  margin-right: 1rem;
  align-items: center;
  font-size: 12px;
}


.btn-nuevo-top{
  cursor: pointer;
  right: 0;
  padding: 15px;
}

.url-base {
  margin-top: 1rem;
  text-align: center;
}

#tablatracking > thead {
  position: sticky;
  top: 0;
  background-color: var(--color-principal);
  color: #fff;
}

.bg-agml {
  background-color: var(--color-principal);
  color: #fff;
}

.mb-0 {
  margin-bottom: 0px;
}

.select-costo-paq {
  cursor: pointer;
  top: 30%;
  width: 18%;
  right: 3%;
  border: none;
  padding: 0;
  font-size: 12px;
}

.content-valor-paq {
  opacity: 0;
  display: none;
  transition: 0.5s all;
}

.content-valor-paq.active {
  opacity: 1;
  display: block;
}

.center-agml {
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.fs-xl {
  font-size: 25px;
}

.header-consultor {
  padding: 20px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.estruct-agml {
  padding: 0.5rem 0.75rem !important;
  border-radius: 25px !important;
  height: 50px !important;
  text-align: center;
}

.form-control:focus {
  border-color: var(--color-principal) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.1) !important;
}

.form-select:focus {
  border-color: none !important;
  box-shadow: none !important;
}

.btn-agml {
  background-color: var(--color-principal);
  color: var(--color-secundario);
  border-radius: 15px;
  padding: 9px 18px;
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--color-principal);
  position: relative;
  text-transform: capitalize;
  overflow: hidden;
  border-radius: 15px;
  font-size: 15px;
  font-weight: bold;
}

.btn-agml:hover {
  background-color: var(--color-secundario);
  color: var(--color-principal);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.fs-minimo {
  font-size: 12px;
}

.img-encomienda {
  width: 120px;
  height: 100px;
  border-radius: 15px;
  transition: 0.3s all;
  cursor: pointer;
}

.img-encomienda-medidas {
  width: 70px;
  height: 70px;
}

.img-encomienda:hover,
.img-encomienda.active {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-principal);
}

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

.content-paquetes,
.content-peso {
  opacity: 0 !important;
  display: none !important;
}

.content-paquetes.active,
.content-peso.active {
  opacity: 1 !important;
  display: flex !important;
}

.content-status-result-guia {
  font-size: 14px;
  padding: 1.5rem 2rem 1.5rem 1rem;
  height: 22rem;
  overflow-y: scroll;
}

.w-80 {
  width: 80%;
}

.w-95 {
  width: 95%;
}

.w-100 {
  width: 100%;
}

.color-primary {
  color: var(--color-principal);
}

.tab-header {
  border-radius: 37px;
  background-color: #f4f4f4;
  padding: 8px;
  width: 100%;
  max-width: 316px;
  margin-left: auto;
  margin-right: auto;
}

#iframeqragml {
  width: 100%;
  height: 400px;
  z-index: 999;
}

#lectoragml {
  position: relative;
  width: 100%;
}

.scan--agml {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-clip-path: polygon(
    0% 0%,
    0% 100%,
    25% 100%,
    25% 25%,
    75% 25%,
    75% 75%,
    25% 75%,
    25% 100%,
    100% 100%,
    100% 0%
  );
  clip-path: polygon(
    0% 0%,
    0% 100%,
    25% 100%,
    25% 25%,
    75% 25%,
    75% 75%,
    25% 75%,
    25% 100%,
    100% 100%,
    100% 0%
  );
}

.taeb-switch {
  position: relative;
}

.taeb-switch:after {
  content: "";
  position: absolute;
  width: 50%;
  top: 0;
  transition: left cubic-bezier(0.88, -0.35, 0.565, 1.35) 0.4s;
  border-radius: 27.5px;
  box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
  background-color: var(--color-principal);
  height: 100%;
  z-index: 0;
}

.taeb-switch.left:after {
  left: 0;
}

.taeb-switch.right:after {
  left: 50%;
}

.taeb-switch .taeb {
  display: inline-block;
  width: 48%;
  padding: 12px 0;
  z-index: 1;
  position: relative;
  cursor: pointer;
  transition: color 200ms;
  font-size: 16px;
  font-weight: bold;
  line-height: normal;
  user-select: none;
}

.taeb-switch .taeb.active {
  color: #ffffff;
}

.number-consult-guia {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  width: 30px;
  height: 35px;
  text-align: center;
  color: #fff;
  background-color: var(--color-principal3);
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.separador-number-guia {
  width: 1px;
  height: 100%;
  border: 2px dashed var(--color-principal);
  margin: auto;
}


.swal2-confirm{
  background-color: var(--color-principal2)!important;
}

.hr-border-bottom {
  border: 1px solid #000;
}

/********** Loader **************/

.loaderagml {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);
}

.preLoader {
  display: grid;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-secundario);
  z-index: 999;
  overflow: hidden;
}

.loader-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.loader {
  margin: 30px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--color-secundario-claro);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: loadagml 0.5s infinite linear;
  animation: loadagml 0.5s infinite linear;
  margin-top: 15rem;
}

@-webkit-keyframes loadagml {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loadagml {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*************************/

.wave {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 100%;
  z-index: -1;
}

.container {
  height: 100vh;
  display: grid;
}

.img {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.img-to-wave {
  width: 35rem;
  transform: rotateY(190deg);
  position: relative;
  right: 3rem;
  top: 5rem;
}

.agml-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.agml-content h2 {
  margin: 15px 0;
  color: #333;
  text-transform: uppercase;
  font-size: 2.9rem;
}

.agml-content .input-div {
  position: relative;
  display: grid;
  grid-template-columns: 7% 93%;
  margin: 25px 0;
  padding: 5px 0;
  border-bottom: 2px solid var(--color-principal);
}

.agml-content .input-div.one {
  margin-top: 0;
}

.agml-content.consultor-guias{
    margin: auto;
}

.i {
  color: var(--color-principal);
  display: flex;
  justify-content: center;
  align-items: center;
}

.i i {
  transition: 0.3s;
}

.input-div > div {
  position: relative;
  height: 45px;
}

.input-div > div > h5 {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  transition: 0.3s;
}

.input-div:before,
.input-div:after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: var(--color-principal);
  transition: 0.4s;
}

.input-div:before {
  right: 50%;
}

.input-div:after {
  left: 50%;
}

.input-div.focus:before,
.input-div.focus:after {
  width: 50%;
}

.input-div.focus > div > h5 {
  top: -5px;
  font-size: 15px;
}

.input-div.focus > .i > i {
  color: var(--color-principal);
}

.input-div > div > input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: none;
  padding: 0.5rem 0.7rem;
  font-size: 1.2rem;
  color: var(--color-principal);
  font-family: "poppins", sans-serif;
}

.input-div.pass {
  margin-bottom: 4px;
}

a {
  display: block;
  text-align: right;
  text-decoration: none;
  color: #999;
  font-size: 0.9rem;
  transition: 0.3s;
}

a:hover {
  color: var(--color-principal);
}

.btn {
  display: block;
  width: 100%;
  height: 50px;
  border-radius: 25px;
  outline: none;
  border: none;
  background-image: linear-gradient(
    to right,
    var(--color-principal),
    var(--color-verde),
    var(--color-principal)
  );
  background-size: 200%;
  font-size: 1.2rem;
  color: #fff;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  margin: 1rem 0;
  cursor: pointer;
  transition: 0.5s;
}

.btn:hover {
  background-position: right;
}


.btn-group-header{
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}


.buttons-actions-left button{
  margin: 1rem 0;
}

@media screen and (max-width: 1050px) {
  .container {
    grid-gap: 5rem;
  }
}

@media screen and (max-width: 1000px) {
  form {
    width: 290px;
  }
  .agml-content h2 {
    font-size: 2.4rem;
    margin: 8px 0;
  }
  .img img {
    width: 400px;
  }
}

@media screen and (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
  .img {
    display: none;
  }
  .wave {
    display: none;
  }
  .agml-content {
    display: block;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 991px) {
  .buttons-actions-left button{
    font-size: 12px;
  }

  .container{
    height: 100%;
  }
  .btn-movil-nconsulta{
    display: flex !important;
  }
  .agml-content.consultor-guias{
    width: 100%;
    margin: auto;
}
}


@media screen and (max-width: 500px) {
  .header-consultor > h4,
  .header-consultor > h5 {
    font-size: 1.5rem;
  }
  .btn-calcular {
    width: 100%;
  }

}
/*****************************/
