#logo_petroprix {
  width: 100%;
  height: 100%;
  z-index: 1010;
  background: rgba(199, 195, 195, 0.7);
  position: fixed;
  top: 0;
  left: 0;
}

.loader {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  vertical-align: bottom;
  display: inline-block;
  border-top: 3px solid #ffffff;
  border-right: 3px solid transparent;
  box-sizing: border-box;
  margin-left: 0.5em;
  animation: rotation 1.5s linear infinite;
}

.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 60%;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid transparent;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-logo {
  width: 8em;
  left: 8em;
  transform: rotateY(45deg);
  animation: rotateAnimation 1.2s linear infinite;
  margin-left: 43vw;
  margin-top: 25em;
  position: absolute;
}

@keyframes rotateAnimation {
  from {
    transform: rotateY(5deg);
  }

  to {
    transform: rotateY(350deg);
  }
}

.sinrecibir {
  padding: 50%;
  background-color: #f7ff76;
  color: #fff;
  border-radius: 50%;
  margin: 5px;
  border: solid 1px #fffcf9;
}

.recibidoparcial {
  padding: 50%;
  background-color: #f39507;
  color: #fff;
  border-radius: 50%;
  margin: 5px;
  border: solid 1px #fffcf9;
}

.recibidocompleto {
  padding: 50%;
  background-color: #8fdc8f;
  color: #fff;
  border-radius: 50%;
  margin: 5px;
  border: solid 1px #fffcf9;
}

.suggest-element {
  margin-left: 5px;
  margin-top: 5px;
  width: auto;
  cursor: pointer;
}

.item-leyenda {
  flex-direction: row;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.cuadrado-albaran {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 252, 61, 0.4);
  margin-right: 5px;
}

.cuadrado-factura {
  width: 30px;
  height: 30px;
  background-color: rgba(218, 247, 166, 0.6);
  margin-right: 5px;
}

.cuadrado-ninguno {
  width: 30px;
  height: 30px;
  background-color: rgba(254, 142, 0, 0.3);
  margin-right: 5px;
}

.cuadrado-retrasado {
  width: 30px;
  height: 30px;
  background-color: rgba(255 0 0 / 51%);
  margin-right: 5px;
}

#suggestions {
  display: inline-block;
  width: auto;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  overflow: auto;
}

#js_up > i.glyphicon {
  color: #fff;
  font-size: 1.2em;
  padding: 2px 8px;
}

.order-table-link {
  width: 150px;
  text-align: center;
}

.order-table-icon {
  width: 35px;
  height: 35px;
}

.order-table-logo-company {
  width: 50px;
  height: 50px;
  border-radius: 200px;
}

.order-table-disabled {
  color: grey;
}

/* REBRANDING */

body {
  font-family: "Red Hat Display", sans-serif;
  color: #2b363b;
  background-color: #f7f7f7;
}

.btn-success {
  background-color: #2ecc71;
  background-image: linear-gradient(to bottom, #2ecc71, #2ecc71);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  background-color: #2ecc71;
}

.btn-danger {
  background-color: #db0b27;
  background-image: linear-gradient(to bottom, #db0b27, #db0b27);
}

.btn-primary {
  background-color: #3a87ad;
  background-image: linear-gradient(to bottom, #3a87ad, #3a87ad);
}

.label-success {
  background-color: #2ecc71;
}

.label-warning {
  background-color: #fca534;
}

.alert-warning,
.alert-warning h4 {
  color: #fca534;
}

.alert-warning {
  background-color: #faefe0;
  border: 1px solid #faefe0;
  background-image: none;
  font-weight: bold;
  color: #3d3d3d;
}

.alert-info,
.alert-info h4 {
  color: #3a87ad;
}

.alert-info {
  background-color: #e4eff4;
  border: 1px solid #e4eff4;
  background-image: none;
  font-weight: bold;
  color: #3d3d3d;
}

.alert-success {
  background-color: #2ecc71;
  border: 1px solid #2ecc71;
  background-image: none;
  font-weight: bold;
  color: #3d3d3d;
}

.alert-danger {
  background-color: #db0b27;
  border: 1px solid #db0b27;
  background-image: none;
  font-weight: bold;
  color: #eee;
}

.navbar-inverse {
  background-color: #2b363b !important;
  background-image: none !important;
  border-color: transparent !important;
}

.navbar-inverse .navbar-brand {
  color: #f7f7f7;
}

.navbar-inverse .navbar-nav > li > a {
  color: #f7f7f7;
}

.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:hover {
  color: #fff;
  background-color: #db0b27;
  background-image: none;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .open > a:hover {
  color: #fff;
  background-color: #db0b27;
  background-image: none;
}

.navbar-inverse .navbar-nav > li.hello > a:focus,
.navbar-inverse .navbar-nav > li.hello > a:hover {
  color: #fff;
  background-color: #018bed;
  background-image: none;
}

.navbar-inverse .navbar-nav > .hello.open > a,
.navbar-inverse .navbar-nav > .hello.open > a:focus,
.navbar-inverse .navbar-nav > .hello.open > a:hover {
  color: #fff;
  background-color: #018bed;
  background-image: none;
}

li.exit {
  color: #fff;
  background-color: #db0b27;
}

.navbar-inverse .navbar-nav > li.exit > a:focus,
.navbar-inverse .navbar-nav > li.exit > a:hover {
  color: #fff;
  background-color: #5f6365;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #2b363b;
  background-image: none;
}

#navbar .itemActive {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background-color: #080808;
  background-image: none;
}

i.menu-icon {
  width: 20px;
}

img.menu-icon {
  width: 20px;
}

ul.compras {
  width: max-content;
}

.menu-notification {
  background-color: #db0b27;
}

.menu-warning {
  background-color: yellow;
  color: black;
}

.menu-default {
  background-color: #b1b0b0;
  color: black;
}

.menu-new-item {
  text-transform: uppercase;
  background-color: #fca534;
  font-size: 9px;
}

.dropdown-backdrop {
  display: none !important;
}

/* New Loading */

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #db0b276b;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }

  50%,
  100% {
    top: 24px;
    height: 32px;
  }
}

.movement-animation {
  display: flex;
  justify-content: space-around;
  margin: 4em 0;
}

.movement-animation i {
  font-size: 6em;
}

/* Elementos para animacion de moverlos*/
.moving {
  animation: moving 3s ease-in-out 0.2s infinite;
  position: absolute;
  left: 25%;
  opacity: 0;
  /* font-size: 3em;
  line-height: 3em; */
  transform: scale(0.5);
}

.element1 {
  animation: moving 3s ease-in-out 0.5s infinite;
  position: absolute;
  left: 22%;
  transition: all 2s;
}

.element2 {
  animation: moving 3s ease-in-out 1s infinite;
  position: absolute;
  left: 20%;
  transition: all 2s;
}

.element3 {
  animation: moving 3s ease-in-out 2s infinite;
  position: absolute;
  left: 18%;
  transition: all 2s;
}

.element4 {
  animation: moving 3s ease-in-out 2s infinite;
  position: absolute;
  left: 18%;
  transition: all 2s;
}

/*Animacion para moverlo a la derecha del contenedor*/
@keyframes moving {
  0% {
    opacity: 0;
    font-size: 3em;
    top: 50%;
  }

  50% {
    opacity: 1;
    left: 45%;
    font-size: 8em;
    top: 20%;
  }

  100% {
    opacity: 0;
    left: 70%;
    font-size: 3em;
    top: 50%;
  }
}

.site-footer {
  padding: 45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
}

.site-footer hr.small {
  margin: 20px 0;
}

.site-footer h6 {
  color: rgb(5, 5, 5);
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
}

.site-footer a {
  color: #737373;
}

.site-footer a:hover {
  color: #3366cc;
  text-decoration: none;
}

.order-summary {
  padding: 10px;
  position: fixed;
  top: 20%;
  left: -650px;
  background: rgb(255, 255, 255);
  border: 0px solid rgb(221, 221, 221);
  width: 650px;
  z-index: 99999;
  box-shadow: rgb(0 0 0 / 50%) 0px 1px 3px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.order-summary > table {
  height: 300px;
  max-width: 650px;
  margin: 0 auto;
}

.order-summary h4,
.order-summary h5 {
  margin: 0 auto;
}

.order-summary h5 {
  margin-top: 10px;
}

.order-summary table th {
  font-size: 0.8em;
}

#data_total_pedidos {
  font-weight: bolder;
}

#showSummaryBtn {
  position: fixed;
  top: 20%;
  left: 0px;
  background: rgb(255, 255, 255);
  border-radius: 0px 5px 5px 0px;
  padding: 10px 15px;
  font-size: 16px;
  z-index: 99999;
  cursor: pointer;
  color: rgb(60, 141, 188);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 3px;
}

div.button-tab {
  display: flex;
  flex-direction: row-reverse;
}

div.tab-pane {
  background-color: #fff;
  border: 1px solid #ddd !important;
  border-top: none !important;
  padding: 0.2em !important;
}

.card {
  --mdb-card-spacer-y: 1.5rem;
  --mdb-card-spacer-x: 1.5rem;
  --mdb-card-title-spacer-y: 0.5rem;
  --mdb-card-border-width: 1px;
  --mdb-card-border-color: var(--mdb-border-color-translucent);
  --mdb-card-border-radius: 0.5rem;
  --mdb-card-box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07),
    0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --mdb-card-inner-border-radius: calc(0.5rem - 1px);
  --mdb-card-cap-padding-y: 0.75rem;
  --mdb-card-cap-padding-x: 1.5rem;
  --mdb-card-cap-bg: hsla(0, 0%, 100%, 0);
  --mdb-card-bg: #fff;
  --mdb-card-img-overlay-padding: 1.5rem;
  --mdb-card-group-margin: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: var(--mdb-card-height);
  word-wrap: break-word;
  background-color: var(--mdb-card-bg);
  background-clip: border-box;
  border: var(--mdb-card-border-width) solid var(--mdb-card-border-color);
  border-radius: var(--mdb-card-border-radius);
  box-shadow: var(--mdb-card-box-shadow);
}

.card.button {
  height: 100px;
  justify-content: space-evenly;
}

.card.button:hover {
  background-color: #e6e6e6;
  font-style: italic;
  cursor: pointer;
}

.card a {
  text-decoration: none;
  color: rgb(5, 5, 5);
}

.card.button a {
  cursor: pointer;
}

.card-body {
  flex: 1 1 auto;
  padding: var(--mdb-card-spacer-y) var(--mdb-card-spacer-x);
  color: var(--mdb-card-color);
}

.card-body-content {
  display: flex;
  justify-content: space-between;
  padding: 0 1em;
}

.card-body-icon {
  align-self: center;
  color: #db0b27;
  font-size: 3em;
}

.card-body-icon.primary {
  color: #018bed;
}

.card-body-icon.info {
  color: #00c0ef;
}

.card-body-icon.success {
  color: #00a65a;
}

.card-body-icon.warning {
  color: #f39c12;
}

.card-body-icon.danger {
  color: #db0b27;
}

.hello-icon {
  color: #018bed;
}

.card-body-text {
  text-align: end;
}

.card-body-text h4 span.first {
  font-size: 30px;
  font-weight: 900;
}

.card-body-text h4 {
  text-transform: uppercase;
  font-weight: 900;
}

.card-body-text.button h4 {
  font-size: 16px;
  font-weight: 500;
}

.bootstrap-select.form-control > .btn {
  border: none;
  border-radius: 0;
  font-weight: normal;
  color: rgb(5, 5, 5);
  height: 40px;
  padding: 6px 12px;
  border-radius: 4px;
}

.bootstrap-select.form-control > .btn:hover,
.bootstrap-select.form-control > .btn:active,
.bootstrap-select.form-control > .btn:focus,
.bootstrap-select.form-control
  > button.btn.dropdown-toggle.bs-placeholder.btn-default {
  color: #555 !important;
  background-color: #fff !important;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  -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;
}

div.tab-pane-noborder {
  border: none !important;
}

.d-flex {
  display: flex;
}
.d-flex-between {
  display: flex;
  justify-content: space-between;
}
.d-flex-end {
  display: flex;
  justify-content: end;
}

.d-flex-around {
  display: flex;
  justify-content: space-around;
}

.d-flex-center {
  display: flex;
  justify-content: center;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: end;
}

.items-start {
  align-items: start;
}

.gap1 {
  gap: 0.5em;
}

.text-center {
  text-align: center;
}

.rotate-icon {
  transform: rotate(180deg);
}

.icono {
  transition: transform 0.2s ease;
}

.textoInfo {
  font-size: 9pt;
}

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

/* Logo petroprix Animado */

div.loaderPetroprix {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

div.loaderPetroprix img {
  position: fixed;
  width: 100px;
}

/* Spiner general que bloquea la página hasta que desaparece */
div.loaderPetroprixGlobal,
div.loaderPetroprixModal {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

div.loaderPetroprixModal {
  min-height: 6em;
}

div.loaderPetroprixGlobal.small {
  width: 100%;
  margin-left: 40%;
}

div.loaderPetroprixGlobal img,
div.loaderPetroprixModal img {
  position: fixed;
}

div.loaderPetroprixGlobal img.letter {
  height: 48px;
  margin-top: 5px;
  margin-left: 5px;
}

div.loaderPetroprixGlobal img.circle {
  height: 98px;
}

/* Animamos el circulo para que rote */
.circle {
  animation: rotate 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.letter {
  animation: shake 2s cubic-bezier(0.36, 0.07, 0.19, 0.97);
  animation-delay: 0.2s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes shake {
  20% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  25% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  30% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  35% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  45% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  50% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  55% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  60% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  65% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  70% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.loader-white {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  vertical-align: bottom;
  display: inline-block;
  border-top: 3px solid #fff;
  border-right: 3px solid transparent;
  box-sizing: border-box;
  margin-left: 0.5em;
  animation: rotation 1.5s linear infinite;
}

.loader-white::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 60%;
  border-bottom: 3px solid #fff;
  border-left: 3px solid transparent;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.exchange-article-content {
  display: flex;
  justify-content: space-evenly;
}

.articulo-original,
.articulo-reemplazo {
  width: 48%;
}

.title-info-articulo {
  display: inline-block;
  padding-left: 1em;
}

.articulo-original-info,
.articulo-reemplazo-info {
  background-color: #eee;
  clear: both;
  margin-top: 4em;
  border-radius: 0.5em;
  padding-bottom: 1em;
  margin-left: 1em;
}

.info-articulo-icon {
  font-size: 2em;
  float: right;
  margin-top: 0.3em;
  margin-right: 0.5em;
}

.info-articulo {
  padding-inline: 2em;
  line-height: 2em;
}

.info-articulo-item-title {
  font-weight: bold;
  display: inline-block;
  width: 23%;
}

.info-articulo-item-title i {
  width: 1.7em;
}

.buttons-controls.exchange {
  width: 4%;
  text-align: center;
  padding-left: 1em;
  height: 10em;
  max-height: 10em;
}

.modalExchangeIcon {
  display: block;
  font-size: 5em;
  text-align: center;
  padding: 0.1em 0 0.4em 0;
}

.modalExchangeTitle {
  text-align: center;
  font-size: 1.5em;
  font-weight: 700;
}

.modalExchangeInfoText,
.modalExchangeMsgConfirmation {
  display: block;
  text-align: center;
  font-size: 1.2em;
}

.modalExchangeInfoRef {
  display: flex;
  justify-content: center;
}

.modalExchangeMsgConfirmation {
  font-weight: 900;
  margin-top: 2em;
  margin-bottom: 1em;
}

#modalExchangeInfoTextReferenciaOrigen,
#modalExchangeInfoTextReferenciaReemplazo,
#modalExchangeInfoTextCantidad {
  margin-bottom: 1em;
}

.modalExchangeButtons {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 2.5em;
  margin-bottom: 1em;
}

#modalExchangeInfoTextAlmacenes ul {
  display: grid;
  font-family: monospace;
  font-size: 0.8em;
  font-weight: 600;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: left;
  max-width: 90%;
  margin: 0 auto;
  align-items: center;
}

.mb-1 {
  margin-bottom: 1em;
}

#modalConfirmacion {
  overflow-y: scroll;
}

.modalExchangeScroll {
  max-height: 50vh;
  overflow-y: scroll;
  display: block;
}

#infoModalExchange,
#infoModalResumenExchangeError {
  text-align: center;
}

.glyphicon.spinning {
  animation: spin 1s infinite linear;
  -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1) rotate(360deg);
  }
}

@-webkit-keyframes spin2 {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

fieldset label {
  margin-top: 14px;
}

fieldset {
  padding-left: 2em;
  padding-right: 2em;
  padding-bottom: 2em;
}

button.btn.dropdown-toggle.btn-default {
  border: 1px solid #dad3d3;
}

.login-title {
  text-transform: uppercase;
  text-align: center;
  font-size: 0.7em;
}

.login-bold {
  font-weight: bold;
  text-transform: capitalize;
}

.login-environment {
  font-size: 0.6em;
  font-weight: 100;
  /* margin-left: -6px;
  vertical-align: middle;
  padding-bottom: 0.2em; */
  display: block;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.login-box {
  border: 1px solid #d3d3d3;
  border-radius: 0.4em;
  padding: 1em 3em;
}

.login-btn-recover {
  cursor: pointer;
  border: 1px solid #3d3d3d;
  border-radius: 0.2em;
  padding: 0.4em;
  margin-top: 1em;
  font-weight: 500;
}

.login-form-label {
  font-family: "Red Hat Display", sans-serif;
}

.login-form-btn {
  border: 1px solid #3d3d3d !important;
  width: 100% !important;
  border-radius: 0.2em !important;
  background-color: #3d3d3d !important;
  color: #fff !important;
}

.login-form-recaptcha {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.upload-container {
  display: flex;
  gap: 0.5em;
  justify-content: center;
}

.loaderUpload {
  width: 23px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid lightblue;
  border-right-color: #3a87ad;
  animation: l2 1s infinite linear;
}


    @keyframes l2 {
      to {
        transform: rotate(1turn)
      }
    }

    /* Estilo base del modal */
.modalPetro {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  display: flex; /* Asegura que siempre es flex */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2em;
  font-weight: bold;
  font-family: Arial, sans-serif;
  background-color: rgb(255, 255, 255);

  /* Inicialmente oculto */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Mostrar modal */
.modalPetro.showModal {

  gap: 1.5em;
  opacity: 1;
  visibility: visible;
}

  /* Logo estático */
  .modal-logo {
    width: 95px;
  }

  /* Efecto de pulsación en el texto */
  .modal-text {
    font-size: 1.2em;
    color: #333;
    animation: pulse 1.5s infinite;
  }

  /* Pulsación del texto */
  @keyframes pulse {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.1);
    }

    100% {
      transform: scale(1);
    }
  }

  .no-scroll {
  overflow: hidden; /* Oculta el desplazamiento */
  height: 100%; /* Evita que el contenido se desplace */
}

.loaderPetro {
  width: 6%;
  height: 4.8px;
  display: inline-block;
  position: relative;
  background: rgba(114, 111, 111, 0.452);
  overflow: hidden;
}
.loaderPetro::after {
  content: '';
  width: 192px;
  height: 4.8px;
  background: #de0821;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: animloader 2s linear infinite;
}

@keyframes animloader {
  0% {
    left: 0;
    transform: translateX(-100%);
  }
  100% {
    left: 100%;
    transform: translateX(0%);
  }
}