@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*==== VARIABLE =======*/
html{
  font-family: 'Nunito', sans-serif !important;
}
body{
  font-family: 'Nunito', sans-serif !important;
}
:root {
  --my-font-text: 'Nunito', sans-serif !important;
}
/* ==== RESET ====*/
h1,
h2,
h3,
h4,
h5,
p {
  font-family: var(--my-font-text);
  margin: 0px 0px !important;
}

/*========= LAYOUT ============*/
.j-layout-xl,
.j-layout-lg,
.j-layout-md,
.j-layout-sm,
.j-layout-xs,
.j-layout-static-xs {
  background-color: white;
  border-radius: 8px;
  margin: 25px auto 30px auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.19), 0 0px 6px rgba(0, 0, 0, 0.151);
}
.j-layout-xl {
  width: 98%;
}
.j-layout-lg {
  width: 90%;
}
.j-layout-md {
  width: 65%;
}
.j-layout-sm {
  width: 45%;
}
.j-layout-xs {
  width: 30%;
}
.j-layout-static-xs {
  width: 24rem;
}

@media screen and (max-width: 768px) {
  .j-layout-xl,
  .j-layout-lg,
  .j-layout-md,
  .j-layout-sm,
  .j-layout-xs,
  .j-layout-static-xs {
    margin: 42px auto;
  }
  .j-layout-xl {
    width: 95%;
  }
  .j-layout-lg {
    width: 93%;
  }
  .j-layout-md {
    width: 75%;
  }
  .j-layout-sm {
    width: 65%;
  }
  .j-layout-xs {
    width: 50%;
  }
}

@media screen and (max-width: 640px) {
  .j-layout-lg,
  .j-layout-md,
  .j-layout-sm,
  .j-layout-xs,
  .j-layout-static-xs {
    width: 97%;
  }
}

/*======= HEADER ===========*/
/* -p- public*/
.j-layout-p-header {
  padding: 18px 0px 0px 0px;
  display: flex;
  align-items: center;
}
.j-layout-p-header hr {
  height: 2.5px;
  border: none;
  background-color: #5f920c;
}
.j-layout-p-header > hr:nth-child(1) {
  width: 10%;
}
.j-layout-p-header p {
  padding: 0 12px;
  font-family: var(--my-font-text);
  font-weight: 900;
  color: #5f920c;
  font-size: 16px;
  white-space: nowrap;
}
.j-layout-p-header > hr:nth-child(3) {
  width: 98%;
}

/* -l- logged in*/
.j-layout-l-header {
  width: 100%;
  display: flex;
  padding: 20px 2.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2.5px solid #5f920c;
}
.j-layout-l-header p {
  margin: 0;
  font-family: var(--my-font-text);
  font-weight: 900;
  color: #5f920c;
  font-size: 16px;
  letter-spacing: 0.6px;
}

/*================ BODY =================*/
.j-layout-body {
  padding: 20px 36px 28px 36px;
}
@media screen and (max-width: 768px) {
  .j-layout-body {
    padding: 28px 28px;
  }
}

@media screen and (max-width: 640px) {
  .j-layout-body {
    padding: 24px 18px;
  }
}

/*================ BUTTONS ==============*/
.j-button-sm {
  font-size: 10px !important;
  padding: 12px 0.2vw !important;
}
.j-button-md {
  font-size: 12px !important;
  padding: 12px 0.4vw !important;
}
.j-button-primary,
.j-button-secondary,
.j-button-important,
.j-button-action,
.j-button-danger,
.j-button-any,
.j-button-gray {
  font-family: var(--my-font-text);
  padding: 12px 0.8vw;
  color: white;
  border: none;
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-size: 14px;
  font-weight: 400;
  margin: 4px 1px;
  background-color: #739446;
}
/*
.j-button-primary {
  background-color: #366fe1;
}
.j-button-secondary {
  background-color: #2dc7b5;
}
.j-button-important {
  background-color: rgb(224, 168, 14);
}
.j-button-action {
  background-color: #05aa62;
}
.j-button-danger {
  background-color: #b20d52;
}
.j-button-any {
  background-color: #3e0db2;
}
*/

.j-button-primary:hover,
.j-button-secondary:hover,
.j-button-important:hover,
.j-button-action:hover,
.j-button-danger:hover,
.j-button-sm-bagde-info:hover{
  opacity: 0.7;
  cursor: pointer;
}

.j-button-primary:focus,
.j-button-secondary:focus,
.j-button-important:focus,
.j-button-action:focus,
.j-button-danger:focus,
.j-icon-button:focus,
.j-button-outline-primary:focus,
.j-button-sm-bagde-info:focus {
  outline: none;
}
.j-button-primary:disabled,
.j-button-secondary:disabled,
.j-button-important:disabled,
.j-button-action:disabled,
.j-button-danger:disabled,
.j-icon-button:disabled,
.j-button-outline-primary:disabled,
.j-button-sm-bagde-info:disabled {
  cursor: no-drop;
  opacity: 0.5;
}
.j-icon-button {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
}
.j-icon-button img {
  width: 20px;
  margin-right: 8px;
}

.j-button-outline-primary {
  background-color: white;
  /*border: 2px solid #366fe1;
  #color: #366fe1;
  */
  border: 2px solid #617a24;
  color: #617a24;
  padding: 8px 12px;
  border-radius: 6px;
}

.j-sm-bagde-primary{
  border-radius: 100px;
  background-color: #1253b5;
  color: white;
  font-size: 12px;
  outline: none;
  border: none;
  padding: 6px 8px;
}

.j-button-sm-bagde-info{
  border-radius: 100px;
  background-color: #1253b5;
  color: white;
  font-size: 12px;
  outline: none;
  border: none;
  padding: 6px 8px;
}
/* ================ INPUTS =========== */
/*======DESIGN 1 =======*/
.form-group {
  position: relative;
  margin: 8px 0px 32px 0px;
  font-family: var(--my-font-text);
}

.form-control {
  display: block;
  height: 36px;
  width: 100%;
  border: none;
  border-radius: 0 !important;
  font-size: 15px;
  font-family: inherit;
  font-weight: 300;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgb(41, 199, 152);
}

.form-control:focus {
  border-bottom: 1px solid rgb(3, 169, 245);
  outline: none;
  box-shadow: none;
}

.float-label {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 16px;
  color: rgb(109, 109, 109);
  font-weight: 300;
  transition: 0.2s ease all;
}

.form-control:focus ~ .float-label {
  top: -15px;
  font-size: 12px;
  color: rgb(3, 169, 245);
}
.form-control:valid ~ .float-label {
  top: -15px;
  font-size: 12px;
  color: rgb(122, 118, 118);
}
.delete-valid {
  top: -15px;
  font-size: 12px;
  color: rgb(122, 118, 118);
}
.j-radio-label {
  font-size: 16px;
}
.j-radio-group {
  display: flex;
  justify-items: center;
  align-items: flex-end;
}
.j-radio-group label:nth-child(1) {
  margin-right: 8px;
}
/* - - - - - Filter - - - - - -*/
.form-filter-list {
  /*SCROLL AND WIDTH */
  box-shadow: 0px 6px 8px 1px rgba(0, 0, 0, 0.137);
  border: 1.5px solid black;
  background-color: white;

  min-width: 260px;
  max-width: 680px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  word-wrap: break-word;
  position: absolute;
  display: none;
}

@media screen and (max-width: 600px) {
  .form-filter-list {
    width: 85%;
  }
}
.form-filter-list > li {
  padding: 4px 8px;
  font-size: 12px;
  list-style: none;
  cursor: pointer;
  border-bottom: 1px solid rgba(145, 145, 145, 0.219);
  word-wrap: break-word;
}
.form-filter-list > li:hover {
  background-color: rgb(41, 175, 199);
  color: white;
}
.form-selected-option {
  font-size: 12px;
  white-space: nowrap;
  color: #1253b5;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-buttons {
  display: flex;
  justify-content: space-around;
}
.form-item {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 28px;
  font-size: 12px;
  margin: 2px;
  border: 1px solid rgb(153, 153, 153);
  border-radius: 12px;
  background-color: rgba(240, 240, 240, 0.466);
  display: inline;
  padding: 4px 12px;
}
.form-item span {
  width: 0px;
}
.form-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
/*====== DESIGN 2 =======*/
.j-label,
.j-label-inline {
  width: 100%;
  font-family: var(--my-font-text);
  color: black;
  font-size: 14px;
  margin: 4px 0px;
}
.j-label {
  display: inline-block;
}
.j-label-inline {
  display: flex;
  align-items: center;
}
/******** SPION ICON SHOW ALWAYS ***************/
input[type="number"]::-webkit-inner-spin-button {
  opacity: 1;
}
.j-input {
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
  padding: 9.5px 12px;
  border: 2px solid #e4e9f2;
  border-color: #e4e9f2;
  color: #222b45;
  border-radius: 6px;
  /*TEXT*/
  font-family: var(--my-font-text);
  font-size: 14px;
  font-weight: 100;
}
.j-input:disabled {
  background-color: #f7f9fc;
}
.j-input:focus {
  outline: none;
  box-shadow: 0px 0px 2px 1px #5da2ad;
  border: 2px solid #3366ff;
}
/* ==== ONLY === */
.j-input-outline-primary {
  margin: 4px 0px;
  border-radius: 50px;
  padding: 8px 12px;
  border: 2px solid #617a24;
  color: #728b36;
}
.j-input-outline-primary:focus {
  outline: none;
}
/*============= TABLE ===========*/

.j-table {
  border-collapse: collapse;
  width: 100%;
  /*table-layout: fixed;*/
  font-family: var(--my-font-text);
}
.j-table-header {
  background-color: #2cc1c1;
  color: white;
}
.j-table-header > th {
  letter-spacing: 0.02em;
  text-align: start;
  text-transform: uppercase;
  padding: 12px;
}
.j-table td {
  font-size: 13px;
  padding: 10px 10px;
  border-bottom: 1.2px solid rgba(83, 83, 83, 0.171);
}
.j-table-title {
  font-size: 16px;
  font-family: var(--my-font-text);
  letter-spacing: 1.2px;
  padding: 12px;
  background-color: #169c9c;
  color: white;
  display: none; /* HIDDEN */
}

@media screen and (max-width: 600px) {
  .dataTables_scrollBody .j-table thead {
    display: none !important;
  }
  .j-table-header {
    display: block !important;
  }
  .j-table-header th {
    display: block !important;
    width: 100%;
    padding: 10px 18px !important;
    font-size: 14px !important;
    border-bottom: none;
  }
  .j-table-title {
    display: block;
  }
  .j-table tr {
    border: 2px solid #ddd;
    display: block;
  }
  .j-table td {
    font-size: 12px !important;
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }
  .j-table td::before {
    color: #5f920c;
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  .j-table td:last-child {
    border-bottom: 0;
  }
}
/*====== FORM RESPONSIVE =======*/
.j-responsive-form {
  width: 100%;
  display: grid;
  gap: 1rem;
  grid-auto-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
}

/*====== TABLE AND FORM =======*/
.table-and-form {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
.table-and-form .table {
  width: 59%;
}
.table-and-form form {
  font-size: 16px;
  width: 39%;
  padding: 0px 12px;
}
@media screen and (max-width: 600px) {
  .table-and-form {
    flex-direction: column;
  }
  .table-and-form .table,
  .table-and-form form {
    width: 100%;
    margin: 12px auto;
  }
}

/*======= MODAL =======*/
.j-modal {
  font-family: var(--my-font-text);
  display: none;
  opacity: 1;
  z-index: 100;
  transition: opacity 0.3s;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(39, 39, 39, 0.185);
  justify-content: center;
  align-items: center;
}
.j-card-lg,
.j-card-md,
.j-card-sm {
  position: relative;
  background-color: white;
  padding: 16px;
  box-shadow: 0px 6px 12px 3px rgba(0, 0, 0, 0.308);
}
.j-card-lg {
  width: 70%;
}
.j-card-md {
  width: 50%;
}
.j-card-sm {
  width: 35%;
}
.j-card-header-with-icon {
  font-size: 16px;
  border-bottom: 1.5px solid #c7c7c79a;
  font-weight: 900;
  padding: 12px 0px 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.j-card-header-with-icon {
  font-size: 16px;
  padding: 12px 0px 12px 0;
}
.j-card-body {
  padding: 8px 0px;
}

.j-card-footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .j-card-lg {
    width: 85%;
  }
  .j-card-md {
    width: 65%;
  }
  .j-card-sm {
    width: 50%;
  }
}

@media screen and (max-width: 640px) {
  .j-card-lg,
  .j-card-md,
  .j-card-sm {
    width: 95%;
  }
}

/*===== EXTRAS ===== */
/*= LINK ======*/
.j-link {
  font-size: 12px;
  text-align: center;
  margin-top: 14px;
  padding: 0;
  color: #1a73e8;
  font-family: var(--my-font-text);
  font-weight: bolder;
}
.j-link a:hover {
  color: #5b91d8;
}
/*= COMMENTS ======*/
.j-comment {
  display: flex;
  align-items: center;
  font-weight: 100;
  text-align: justify;
  color: #1a73e8;
}
.j-warning {
  font-weight: 100;
  color: #e81a4e;
}
.j-danger {
  font-weight: 100;

  color: #1a73e8;
}
/*= STYLES====*/
.j-w-full {
  width: 100% !important;
}
.j-center {
  text-align: center;
  margin: 0 auto;
}
.j-pointer {
  cursor: pointer;
}
.j-hover:hover {
  opacity: 0.6;
}
.j-active:active {
  border: 3px solid rgba(102, 102, 102, 0.377);
}
/*= Badge ====*/
.j-badge-primary,
.j-badge-secondary,
.j-badge-danger,
.j-badge-success,
.j-badge-info {
  margin: 8px auto !important;
  display: inline-block;
  padding: 2px 16px;
  color: white;
  border-radius: 2px;
  background-color: #739446;
}
/*
.j-badge-primary{ background-color: #11cab5;}
.j-badge-secondary{ background-color: #d3ac00;}
.j-badge-danger{ background-color: #ee2874;}
.j-badge-success{ background-color: #15b678;}
.j-badge-info{ background-color: #1a73e8}
*/
.j-div-50 {
  width: 50%;
}
.j-div-50-50,
.j-div-50-50-50,
.j-div-40-60,
.j-div-30-70,
.j-div-60-40 {
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
}
.j-div-50-50 > div:nth-child(1) {
  width: 48.3% !important;
}
.j-div-50-50 > div:nth-child(2) {
  width: 48.3% !important;
}
.j-div-50-50-50 > div {
  width: 32.5% !important;
}

.j-div-30-70 > div:nth-child(1) {
  width: 34.3% !important;
}
.j-div-30-70 > div:nth-child(2) {
  width: 64.3% !important;
}

.j-div-40-60 > div:nth-child(1) {
  width: 44.3% !important;
}
.j-div-40-60 > div:nth-child(2) {
  width: 54.3% !important;
}

.j-div-60-40 > div:nth-child(1) {
  width: 54.3% !important;
}
.j-div-60-40 > div:nth-child(2) {
  width: 44.3% !important;
}

@media screen and (max-width: 768px) {
  .j-div-50 {
    width: 75%;
  }
  .j-div-50-50 > div:nth-child(1) {
    width: 39% !important;
  }
  .j-div-50-50 > div:nth-child(2) {
    width: 59% !important;
  }

  .j-between {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 640px) {
  .j-div-50 {
    width: 95%;
  }
  .j-div-50-50 {
    flex-direction: column;
  }
  .j-div-50-50 > div:nth-child(1) {
    width: 100% !important;
  }
  .j-div-50-50 > div:nth-child(2) {
    width: 100% !important;
  }
  .j-div-50-50-50 > div {
    width: 100% !important;
  }
  .j-div-30-70,
  .j-div-40-60,
  .j-div-60-40,
  .j-div-50-50-50 {
    flex-direction: column;
  }
  .j-div-30-70 > div:nth-child(1) {
    width: 100% !important;
  }
  .j-div-30-70 > div:nth-child(2) {
    width: 100% !important;
  }

  .j-div-40-60 > div:nth-child(1) {
    width: 100% !important;
  }
  .j-div-40-60 > div:nth-child(2) {
    width: 100% !important;
  }

  .j-div-60-40 > div:nth-child(1) {
    width: 100% !important;
  }
  .j-div-60-40 > div:nth-child(2) {
    width: 100% !important;
  }
}

.j-tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.j-tooltip .j-tooltiptext,
.j-tooltiptext-info {

  visibility: hidden;
  background-color: rgba(0, 42, 70, 0.733);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 2px 6px;
  /* Position the tooltip */
  position: absolute;
  left: -12;
  bottom: -25px;
  z-index: 1;
}
.j-tooltiptext-info {
  color: rgb(0, 75, 88);
}

.j-tooltip:hover .j-tooltiptext {
  visibility: visible; 
}

.j-between {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.j-center {
  text-align: center;
  margin: 0 auto;
}

.j-inline {
  display: flex;
  align-items: center;
}

.icon-path {
  margin: 0px 4px;
}

/* ********* ACCORDION ******** */

.btn-pulse-animation {
  position: fixed;
  bottom: 0;
  left: 0;
  border: none;
  border-radius: 100%;
  padding: 12px;
  margin: 8px;
  background-color: #ffbc57;
  border-radius: 100%;
  box-sizing: border-box;
  animation-name: pulse;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  z-index: 99999999999;
}

.btn-pulse-animation::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: transparent;
  position: absolute;
  border-radius: 50%;
  animation-name: increase;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
}

@keyframes increase {
  0% {
    transform: scale(1);
    box-shadow: 0px 0px 2px rgb(255, 147, 32);
  }

  50% {
    box-shadow: 0px 0px 6px rgb(255, 162, 23);
  }

  100% {
    transform: scale(5);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(0.9);
  }

  40% {
    transform: scale(1);
  }
}

.j-loader {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.j-loader:before {
  content: "";
  background-color: rgb(203, 221, 255);
  border-radius: 4px;
  position: absolute;
  top: 0px;
  height: 6px;
  width: 100%;
  bottom: -4px;
}
.j-loader .j-loaderBar {
  position: absolute;
  border-radius: 10px;
  height: 6px;
  top: 0;
  right: 100%;
  bottom: 0;
  left: 0;
  background: rgb(0, 102, 255);
  width: 100%;
  animation: borealisBar 2s linear infinite;
}

@keyframes borealisBar {
  0% {
    left: 0%;
    right: 100%;
    width: 0%;
    background: rgb(0, 102, 255);
  }
  10% {
    left: 0%;
    right: 75%;
    width: 25%;
  }
  50% {
    width: 40%;
  }
  90% {
    right: 0%;
    left: 75%;
    width: 25%;
  }
  100% {
    left: 100%;
    right: 0%;
    width: 0%;
    background: rgb(12, 61, 255);
  }
}

.j-table-detalles tr,
.j-table-detalles td,
.j-table-detalles th {
  font-size: 14px;
  border-collapse: collapse;
  border: 1px solid rgb(225, 225, 225);
  vertical-align: middle;
  padding: 8px;
  margin:0 !important;
}


.j-truncate {
  max-width: 150px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
}

.j-truncate-sm {
  max-width: 100px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
}

.j-th-sticky{
  position: sticky; top: 0; background: white; z-index: 1;
}

.j-pointer{
  cursor: pointer;
}

.j-bold{
  font-weight: bold !important;
}

.j-trail{
  font-weight: bold;
  margin-bottom: 16px;
}

.j-tag-details{
  border: 1px solid gray;
}

.j-tag-details summary{
  padding: 0.75rem;
  background-color: #728b36;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.j-tag-details section{
  padding: 14px;
}

/* TABS */

.tabs { max-width: 100%; margin: 0 auto; }
.tabs ul { margin: 0; padding: 0; }
.tabs-nav li { float: left; width: 33.33%; list-style: none; }
.tabs-nav li:first-child a { border-right: 0; border-top-left-radius: 6px; }
.tabs-nav li:last-child a { border-top-right-radius: 6px; border-left: 0; }
.tabs a { background: #f5f5f5; border: 1px solid #cecfd5; color: #000; display: block; padding: 10px 0; text-align: center; text-decoration: none; list-style: none; outline: none; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; }
.tabs a:hover { color:#617a24; }
.tab-active a { background: #fff; border-bottom-color: transparent; color:#5f920c; cursor: default; font-weight: bold; }
.tabs-stage { border: 1px solid #cecfd5; border-radius: 0 0 6px 6px; border-top: 0; clear: both; padding: 24px 30px; position: relative; top: -1px; }
.tabs .tabheading { font-size:20px; margin-bottom: 10px;}

.modal{
  z-index: 99999 !important;
}

.j.uppercase{
  text-transform: uppercase !important;
}

.j-checkbox-md {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.j-rounded{
  border-radius: 200px;
}

.toast-universal {
    position: fixed;
    bottom: 20px;
    right: -400px;
    background-color: #28a745;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    z-index: 9999;
    transition: right 0.5s ease-in-out;
    max-width: 300px;
    font-size: 16px;
  }

  .toast-universal.show {
    right: 20px;
  }

  .toast-success {
    background-color: #28a745;
  }

  .toast-error {
    background-color: #dc3545;
  }

  .toast-info {
    background-color: #0e48c4;
  }

  .toast-normal {
    background-color: #5e5f5f;
  }