input:invalid {
	border-color: #dc3545;
	color: #dc3545;
}

body.background {
	height: 100%;
}
body.background main {
	margin: 0 !important;
	height: 100%;
}
body.background main .container {
	height: 100%;
}

body.show-spinner > *{
  opacity: 0;
}

.swal2-container{
	z-index: 1060 !important;
}
.labels{
	margin-top: -37px;
	font-weight: 400px;
	font-size: 16px;
}

.table-body-nooverflow tbody{
	overflow-x: hidden;
}

#lista-deliveries td{
	font-size: 0.9rem;
}

.swal-wide{
	max-width: 95%;
	width: 1024px !important;
}

.full-width-height{
	width: 100%;
	height: 100%;
	resize: none; /* Evita que el textarea sea redimensionable */
	box-sizing: border-box; /* Asegura que el padding y borde estén incluidos en el ancho y alto */
	overflow: hidden;
}

/*.select2-container{
	width: 100% !important;
}*/

.nav-link-notify{
	position: relative;
}
.nav-link-notify:before{
	content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    right: 0;
    border-radius: 50%;
    top: 3px;
    background: #ea5455;
    -webkit-animation: notify-pulse 1s infinite;
}

@-webkit-keyframes notify-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(234, 84, 85, 0.7);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

@keyframes notify-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(234, 84, 85, 0.7);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

.list-group-intercalado li:nth-child(even) {
	background-color: #f7f9fb;
}

.error{
	color: #FF0000;
}

.tachado{
	text-decoration: line-through;
}

/*.direccionmap{
	position: absolute;
	top: 1px;
	left: 10px;
	width: 450px;
	max-width: 90%;
	z-index: 99999;
}
.direccionmap input{
	width: 100%;
}*/

.select2-container--open{
	z-index: 99999999;
}
.select2-container .select2-selection--single {
	height: auto!important;
}

.pac-container{
	z-index: 999999;
}

.dropdown-toggle.dropdown-toggle-no-caret::after{
	display: none;
}


/* Spinner */
body.show-spinner::before{
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.hv-25{
	height: 25%;
}
.hv-50{
	height: 50%;
}
.hv-75{
	height: 75%;
}
.hv-100{
	height: 100%;
}


.fixed-right{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1030;
}


.cursor-pointer{
	cursor: pointer;
}
.cursor-move{
	cursor: move;
}

.size-8{
	font-size: 8px !important;
}
.size-10{
	font-size: 10px !important;
}
.size-12{
	font-size: 12px !important;
}
.size-14{
	font-size: 14px !important;
}
.size-16{
	font-size: 16px !important;
}
.size-18{
	font-size: 18px !important;
}
.size-20{
	font-size: 20px !important;
}
.size-22{
	font-size: 22px !important;
}
.size-24{
	font-size: 24px !important;
}
.size-26{
	font-size: 26px !important;
}
.size-28{
	font-size: 28px !important;
}
.size-30{
	font-size: 30px !important;
}
.size-32{
	font-size: 32px !important;
}
.size-34{
	font-size: 34px !important;
}
.size-36{
	font-size: 36px !important;
}
.size-38{
	font-size: 38px !important;
}
.size-40{
	font-size: 40px !important;
}

[contenteditable] {
  outline: 0px solid transparent;
}
.editable{
	cursor: pointer;
}

textarea.togrow{
	height: 38px;
}

.ui-droppable-hover{
	background: #D5DFEA;
}


/* PARA LA BÚSQUEDA */
.search-items .input-group{
	border: 1px solid #007bff;
	border-radius: 7px;
}
.search-items input{
	background: none;
	border: none;
}

.hidden{
	display: none;
}


/* select2 con botón a la izquierda */
.input-group:not(.select2-border) .select2-container--default .select2-selection--single, .input-group:not(.select2-border) .select2-container--default .select2-selection--multiple{
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}


/* DROPZONE */

.dropzone .dz-message{
	width: 100%;
}

.dropzone .item-dropzone{
	position: relative;
}

.dropzone .cerrar{
	font-size: 1.2em;
	position: absolute;
	top:  2px;
	right: 13px;
	color: #FF0000;
	cursor: pointer;
}

.dropzone .progressbar{
	width: 70%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.dropzone .progressbar .progress{
	height: 18px;
}

.flip-horizontal{
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

.label-delylab{
    background-color: #0FB8D3;
}

/* SUBMENU */
.dropdown-item{
	cursor: pointer;
}
.dropdown-item:has(.dropdown-submenu){
	position: relative;
}
.dropdown-item:has(.dropdown-submenu):hover .dropdown-submenu{
	/*display: block;*/
	opacity: 1;
}

.dropdown-submenu{
	position: absolute;
	top: -680%;
	right: 100%;
	padding: 0px;
	display: block;
	/*display: none;*/
	opacity: 0;
	transition: all 0.5s linear;
}


.has-success .form-control-feedback {
  display: block;
  color: #28a745;
}

.has-danger .form-control-feedback {
  display: block;
  color: #dc3545;
}



.has-float-label{
	display: block;
	position: relative;
}

.form-control.has-float-label{
    border-radius: .1rem;
    outline: initial!important;
    box-shadow: none!important;
    font-size: .8rem;
    padding: .75rem .75rem .5rem;
    line-height: 1.5;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #212121;
}
/*.has-float-label .form-control {
    border-radius: .1rem;
    outline: initial!important;
    box-shadow: none!important;
    font-size: .8rem;
    padding: .75rem .75rem .5rem;
    line-height: 1.5;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #212121;
}*/

.has-float-label .form-control{
	background: #eef0f8;
}

.has-float-label label, .has-float-label > span:last-of-type {
    position: absolute;
    cursor: text;
    font-size: 90%;
    opacity: 1;
    top: -0.4em;
    left: 0.75rem;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;

}

.has-float-label label:after, .has-float-label > span:after {
	background: #eef0f8;
}

.has-float-label label:after, .has-float-label > span:after {
    content: " ";
    display: block;
    position: absolute;
    height: 5px;
    top: 3px;
    left: -0.4em;
    right: -0.4em;
    z-index: -1;
}





.order-manage {
    background: #e7faec;
    border-radius: 12px;
}

.fs-22 {
    font-size: 22px !important;
    line-height: 1.5;
}
.ms-1 {
    margin-left: .25rem !important;
}
.fs-15 {
    font-size: 14px !important;
    line-height: 1.5;
}
.ms-auto {
    margin-left: auto !important;
}
.font-w500 {
    font-weight: 500;
}











.todo-titulo {
  max-width: calc(100% - 100px); /* ajusta el ancho según tus necesidades */
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}





.toggle-container {
	position: relative;
	padding-right: 23.7px;
}

.toggle-container i {
	position: absolute;
	top: 2px;
	left: 0;
	opacity: 0;
	animation: toggleAnimation 1s infinite;
}

.toggle-container i:first-child {
	animation-delay: 0s;
}

.toggle-container i:last-child {
	animation-delay: 0.5s;
}

@keyframes toggleAnimation {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

label[for=use-delylab]:before{
	margin-top: 12px;
}


.items-table tbody tr {
    padding: 0;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: 0 1px 0 0 #f8f8f8;
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.items-table tbody tr.active, .items-table tbody tr:hover {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    z-index: 1;
}
.card-footer.review-footer {
    border-radius: 0px 0px 0.5rem 0.5rem !important;
    border-color: #e6e6e6;
    background: transparent;
    padding: 1.25rem 1.875rem 1.25rem;
}
.me-3 {
    margin-right: 1rem !important;
}
.btn-xs {
    font-size: 0.75rem;
    padding: 0.438rem 1rem;
    font-weight: 600;
}

.iconbox {
    position: relative;
    padding-left: 70px;
}
.iconbox i {
    background: var(--primary);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
}
.iconbox small, .iconbox .small {
    margin-bottom: 5px;
    font-size: 16px;
    display: block;
}
.iconbox p {
    margin: 0;
    color: #484848;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
}

.video-container {
	position: relative;
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
}
.video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/* TIMELINE */
ul.timeline {
    list-style-type: none;
    position: relative;
}
ul.timeline:before {
    content: ' ';
    background: var(--secondary);
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline > li {
    margin: 20px 0 50px;
    padding-left: 20px;
}
ul.timeline > li:before {
    content: ' ';
	background: #FFF;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--success);
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}
ul.timeline > li.done:before {
    background: var(--success) !important;
}
ul.timeline > li.done-danger:before {
    background: var(--danger) !important;
	border: 3px solid var(--danger) !important;
}

/* END TIMELINE */


/*
#template-dropzone.file-row.dz-success .progress {
  opacity: 0;
  transition: opacity 0.3s linear;
}

#template-dropzone.file-row .delete {
  display: none;
}

#template-dropzone.file-row.dz-success .start,
#template-dropzone.file-row.dz-success .cancel {
  display: none;
}
#template-dropzone.file-row.dz-success .delete {
  display: block;
}*/