/* ============================================== */
/* ROOT */
/* ============================================== */

:root{

/*-- Color  --*/

  --color-pri:    #FF6128;
  --color-sec:    #706DF0;
  --color-ter:    #FF5C00;

  --color-blue-1: #F9FAFC;
  --color-blue-2: #E8F3FC;
  --color-blue-3: #CDCFDF;
  --color-blue-4: #F3F0F7;

  --color-green: #43CF6A;
  --color-red: #CF4345;

/*-- Font Family --*/

  --f-family-h: "Poppins", serif;
  --f-family:   "Poppins", sans-serif;

/*-- Font Size --*/

  --fs-base:    1rem;
  --lh-base:    1.5;

}

/* ============================================== */
/* COLOR */
/* ============================================== */

.c-pri  {  background:var(--color-pri);  }
.c-sec  {  background:var(--color-sec);  }
.c-ter  {  background:var(--color-ter);  }
.c-bg   {  background:var(--color-blue-1);  }

.tc-pri {  color:var(--color-pri);       }
.tc-sec {  color:var(--color-sec);       }
.tc-ter {  color:var(--color-ter);       }

/* ============================================== */
/* TEXT */
/* ============================================== */

h1,h2,h3,h4,h5,h6    {  color: var(--color-90);  }
p,li                 {  color: var(--color-60);  }

p,h1,h2,h3,h4,h5,h6  {  margin:10px 0;  }

p,li,a,body,pre,label{  font-weight: 400;  }
h1,h2,h3,h4,h5,h6    {  font-weight: 600;  }
b                    {  font-weight: 600;  }

/* ============================================== */
/* BTN */
/* ============================================== */

.btn      {  background: var(--color-80);  font-weight:var(--f-weight-600); }
.btn:hover{  background: var(--color-60);   }

.btn.c-pri{  background: var(--color-pri);  }
.btn.c-sec{  background: var(--color-sec);  }
.btn.c-ter{  background: var(--color-ter);  }
.btn.c-pri:hover{  background: var(--color-60);  }
.btn.c-sec:hover{  background: var(--color-60);  }
.btn.c-ter:hover{  background: var(--color-60);  }

.btn.link        {  color: var(--color-60);  }
.btn.link::before{  background: var(--color-60);  }

/* ============================================== */
/* BODY */
/* ============================================== */

body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer{
  margin-top: auto;
}

input {
    background: var(--color-0);
    border-radius: 10px;
}

.btn.active::before{
  background-position: -48px -48px;
}

.btn-margin{
  margin:0 0 10px 18px;
}

/* ============================================== */
/* REMOVE */
/* ============================================== */

#remove{
  position: absolute;
  right: 10px;
  top:10px;
  margin: 0;
}

/* ============================================== */
/* CARD */
/* ============================================== */

.card{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--color-10);
  border: 1px solid var(--color-30);
  margin: 1%;
  overflow: hidden;
  border-radius: 10px;
  height: 200px;
}

.card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.card p,
.card h3{
  margin:0;
  color: white;
}

.card span{
  text-align: center;
  position: absolute;
  z-index: 2;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card:after{
  content: "";
  position: absolute;
  width: 100%;
  z-index: 1;
  height: 100%;
  top:0;
  left: 0;
  background: var(--color-pri);
  opacity: 0.7;
}

/* ============================================== */
/* WHITEBOX */
/* ============================================== */

.whitebox{
  background: var(--color-0);
  border-radius: 10px;
  padding: 30px;

  -webkit-box-shadow: 0 20px 30px -20px var(--color-blue-3);
  -moz-box-shadow: 0 20px 30px -20px var(--color-blue-3);
  -ms-box-shadow: 0 20px 30px -20px var(--color-blue-3);
  box-shadow: 0 20px 30px -20px var(--color-blue-3);
}

@media only screen and (max-width: 768px){
 .whitebox{
    border-radius: 5px;
    padding: 10px;
  } 
}

/* ============================================== */
/* PRELOADER */
/* ============================================== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.preloader::before {
  content: "";
  width: 100px;
  height: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("./../../images/logo/preloader_logo.svg") no-repeat center center;
  background-size: contain;
  z-index: 9;
}

/* ============================================== */
/* LOADER */
/* ============================================== */

.loader{
  display: block;
  overflow: hidden;
  width: 100px;
  background: var(--color-80);
  border-radius: 10px;
  margin: 40px auto 0;
  position: relative;
}

.loader span{
  width: 30px;
  position: absolute;
  top: 50%;
  background: var(--color-pri);
  border-radius: 5px;
  animation: pulse 0.5s ease-in-out infinite alternate; 

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.loader,
.loader span{
  height: 3px;
}

@keyframes pulse {
  0%, 100% {
    left: 0;
  }
  50% {
    left: 100%;
  }
}

/* ============================================== */
/* SELECT */
/* ============================================== */

:root{
  --Icon-size: 24px;
}

.custom-select-wrapper select {
  display: none;
}

.custom-select,
.custom-select-trigger,
.custom-option {
  position: relative;
  width: 100%;
}

.custom-select-wrapper{
  width: 100%;
}

.custom-select-trigger{
  padding:11px 20px 10px !important;
}

.custom-select-trigger:hover{
  cursor: pointer;
}

.custom-select-trigger:after {
  content: " ";
  background-image: url("./../../images/icons/sprite_black.svg");
  background-size: 240px;
  overflow: hidden;
  display: block;
  position:absolute;
  right: 15px;
  top:10px;
  height: var(--Icon-size);
  width: var(--Icon-size);
  z-index: 2;
  transform: rotate(90deg);
  background-position: -192px -72px;
}

.custom-select.opened .custom-select-trigger:after {
  transform: rotate(0deg);
}

.custom-select-trigger,
.custom-options{
  background: var(--color-0);
  overflow: hidden;
  border:1px solid var(--color-10);
}

.custom-options{
  box-shadow: 0 20px 30px -20px var(--color-blue-3);
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  margin-top: -1px;
  max-height: 300px;
  overflow-y: scroll;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(3px);
}

.custom-select.opened .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-option{
  padding: 15px 20px;
  color: #77767c;
}

.custom-option:not(:last-child){  border-bottom: 1px solid var(--color-10);  }

.custom-option:hover{
  color: var(--color-black);
  cursor: pointer;
  background: var(--color-3);
}

.custom-select-trigger,
.custom-select-trigger:after,
.custom-options,
.custom-option{
  -webkit-transition:all 250ms ease;
  -moz-transition:all 250ms ease;
  -ms-transition:all 250ms ease;
  transition:all 250ms ease;
}

@media screen and (max-width: 768px){
  .custom-select-wrapper{
    width: 100%;
  }
}

/* ============================================== */
/* NUMBER BRIEF */
/* ============================================== */

.new{
  background: var(--color-pri);
  width: 10px;
  height: 10px;
  border-radius: 5px;
}

ul.nuevo li{
  font-weight: 600;
}

ul.nuevo{
  background: #ebf9e8 !important;
}

ul.nuevo span{
  color: var(--color-100);
}

ul.nuevo h3{
  margin: 30px 0 0;
}

.menu-list li{
  border-bottom: 1px solid var(--color-10);
}

/* ============================================== */
/* LOGIN */
/* ============================================== */

.login{
  position: absolute;
  display: flex;

  justify-content: center;
  flex-direction: column;
  top: 50%;
  left: 50%;
  max-width: 500px;
  width: 95%;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.login .img{
  margin: 0 auto 20px;
}

/* ============================================== */
/* NEW IMAGE */
/* ============================================== */

#files {
  display: none;
}

/* ============================================== */
/* WRAPPER-IMG */
/* ============================================== */

.wrapper_bg_img{
  text-align: center;
  background: var(--color-blue-1);
  padding: 20px 20px 40px;
  border-radius: 10px;
  border: 1px dashed var(--color-blue-3);
}

.wrapper_bg_img img{
  border-radius: 10px;
  width: 300px;
  height: auto;
  margin: 10px auto;
}

/* ============================================== */
/* UPDATE IMAGE */
/* ============================================== */

.thumb_img{
  background: white;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.wrapp_img{
  margin: 0 auto;
  position: relative;
}

.thumb_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb_img,
.wrapp_img{
  width: 200px;
  height: 200px;
}

.wrapp_img .btn{
  position: absolute;
  right: 0;
}

.wrapp_img .btn:hover{
  cursor: pointer;
}

.thumb_img,
.wrapp_img .btn{
  border-radius: 50%;
  border:5px solid white;
}

.wrapp_img .btn{
  width: 60px;
  height: 60px;
  margin: 0;
}

@media screen and (max-width: 768px){
  .thumb_img,
  .wrapp_img{
    width: 100px;
    height: 100px;
  }
}

/* ============================================== */
/* SEARCH */
/* ============================================== */

.search{
  position: relative;
}

.search:after{
  content: url("./../../images/icons/body/search.svg");
  display: block;
  position:absolute;
  right: 15px;
  top:11px;
  width: 18px;
  height: 18px;
  z-index: 2;
}

/* ============================================== */
/* LANGUAGE */
/* ============================================== */

.action{
  position: relative;
}

.action-menu {
  padding: 5px;
  position: absolute;
  bottom: 0;
  right: 50px;
  display: block;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--color-50);
  z-index: 9;

  opacity: 0;
  pointer-events: none;
  transform: translateY(0px);
  box-shadow: 0 20px 15px -10px rgba(0, 0, 0, 0.2);
}

.action-menu.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(5px);
}

.action-menu a{
  color: var(--color-100);
  padding: 10px 20px;
  display: block;
  border-radius: 10px;
}

.action-menu a:hover{
  background: var(--color-30);
}

.action-menu,
.action-menu.visible{
  transition:all 250ms ease;
}


/* ============================================== */
/* TABLES */
/* ============================================== */

.table :is(ul,li){
  width: 100%;
}

.table ul{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom:1px solid var(--color-blue-3);
  text-align: left;
}

.table ul:last-child{
  border-radius: 0 0 10px 10px;
  border-bottom:0;
}

.table li{
  padding: 10px 20px;
  align-items: center;
  display: flex;
}

.table ul:nth-child(even),
.table ul:nth-child(odd){
  background: var(--color-blue-1);
}

.table li:last-child,
.table li:first-child{
  max-width: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table li:first-child{
  max-width: 100px;
}

.table li:first-child span{
  margin-right: 10px;
}

.table li:last-child .icon,
.table li:last-child button.icon{
  width: 40px;
  height: 40px;
  padding: 0;
}

.table li:last-child .icon:after{
  top: 8px;
  left: 8px;
}

.table.title ul li{
  font-weight: 500;
  font-size: 14px;
  padding: 5px 20px;
  color: var(--color-70);
}

.table.title ul{
  background: var(--color-blue-2);
  border-radius: 10px 10px 0 0;
}

@media screen and (max-width: 768px){
  .table{
    flex-direction: column;
  }
}

/* ============================================== */
/* CHECKMARK */
/* ============================================== */

.check.med{
  margin: 0 auto;
  padding: 0;
}
.checkmark.rel{
  position: relative !important;
  height: 60px;
  width: 60px;
  z-index: 2;
}

.check input[type=checkbox]:checked~.checkmark.ida::after,
.check input[type=checkbox]:checked~.checkmark.vuelta::after{
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  content: " ";
  background-image: url("./../../images/icons/sprite_white.svg");
  background-size: calc(var(--Icon-size) * 10);
  overflow: hidden;
  position: absolute;
  height: var(--Icon-size);
  width: var(--Icon-size);
  border: none;
  z-index: 1;
}

.check input:checked~.checkmark.ida {
  background: var(--color-green);
}
.check input:checked~.checkmark.vuelta {
  background: var(--color-red);
}

.check input[type=checkbox]:checked~.checkmark.ida::after{
  background-position: -24px -48px;
}
.check input[type=checkbox]:checked~.checkmark.vuelta::after{
  background-position: -72px -48px;
}

.checkmark.ida::before,
.checkmark.vuelta::before {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  margin-top: -2px;
  top: 50%;
  z-index: 1;
  transition: width 0.3s ease;
}

.checkmark.ida::before {
  left: 50%;
  background: var(--color-green);
}

.checkmark.vuelta::before {
  right: 50%;
  background: var(--color-red);
}

.check input[type=checkbox]:checked~.checkmark.ida::before {
  left: 0;
}

.check input[type=checkbox]:checked~.checkmark.vuelta::before {
  right: 0;
}

.check input[type=checkbox]:checked~.checkmark.ida::before,
.check input[type=checkbox]:checked~.checkmark.vuelta::before {
  width: 160px;
}

.no-animation-ida .checkmark.ida::before {
  transition: none;
  display: none; /* O lo que desees para que no se vea */
}

.no-animation-vuelta .checkmark.vuelta::before {
  transition: none;
  display: none; /* O lo que desees para que no se vea */
}

.avance li{
  max-width: 140px;
  width: 100%;
}

.Entregado{
  background: var(--color-green);
  color: white;
  padding: 2px 5px;
  border-radius: 5px;
  font-weight: 600;
}
/* ============================================== */
/* CHECKBOX */
/* ============================================== */

input[type="checkbox"] {
  color: #000;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 10px;
  overflow: hidden;
  background: var(--color-blue-1);
  border: 1px solid var(--color-blue-3);
  border-radius: 10px;
}

input[type="checkbox"]:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-pri);
  opacity: 0;
}

input[type="checkbox"]:checked:before {
  opacity: 1;
}

input[type="checkbox"],
input[type="checkbox"]:before{
  width: 18px;
  height: 18px;
}

/* ============================================== */
/* ALERTS */
/* ============================================== */

.alert{
  width: auto;
  overflow: hidden;
  padding:15px 20px;
  position: fixed;
  text-align: center;
  z-index: 999;
  left: 50%;
  border-radius: 10px;
  bottom: 0;
  transform: translate(-50%,-50%);
  opacity: 0;
}

.alert p{
  font-weight: 600;
  margin: 0;
}

.alert.alert-warning{
  background: #FFCCCC;
  border:1px solid #F7A7A7;
}

.alert.alert-warning p{
  color:#4F2222;
}

.alert.alert-success{
  background: #A3EF97;
  border:1px solid #7FD072;
}

.alert.alert-success p{
  color:#284F22;
}

.show {
  display: block !important;
  animation-name: show;
  animation-duration: 4s;
  animation-fill-mode: forwards;
}

@keyframes show {
  0%   { opacity: 0; bottom: 0;}
  10%  { opacity: 1; bottom: 30px;}
  90%  { opacity: 1; bottom: 30px;}
  100% { opacity: 0; bottom: 0;}
}

/* ============================================== */
/* TOP TITLE */
/* ============================================== */

.top-title{
  border-bottom: 1px solid var(--color-20);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.top-title :is(.btn,h3){
  margin: 0;
}





















