:root {
    --color-pri: #044d8c;
    --color-pri-light: #386bb8;
    --color-pri-alt: #89c8da;
    --color-secundario: #ebc147;
    
    --spacing-2: 8px;
    --spacing-3: 12px;
    --spacing-4: 16px;
    --spacing-5: 24px;
    --spacing-6: 32px;

    --d-title-3: 32px;
    --d-title-6: 18px;
    
    --gray-000: #fff;
    --gray-400: #818891;
    --gray-500: #616a75;
    --gray-600: #4e555e;
    --gray-700: #3a4046;

	--shadow-green: #bfe8d9;
    --secondary-green: #279e70;
	
    --body-2: 16px;
	--body-3: 14px;
    
    --bs-primary: 0 1px 9px 0 hsla(0, 0%, 76%, .3);
    --border-radius-small: 8px;


	--step-primarycolor: var(--color-pri); 
	--step-secondarycolor: var(--color-pri-alt);

	--step-line-default: var(--gray-400);
	--step-line-success: var(--color-secundario);
}


body{
    background: -webkit-linear-gradient(left, #3931af, var(--color-pri-alt));
}

.nav-link.active{
    background-color: var(--color-secundario);
    color: white;
	font-weight: bolder;
}

.text-xxl-start{
    font-size: 1.3rem;
}

.borde-inf{
    border-bottom: var(--color-pri-alt) 1px solid;
    margin-bottom: 15px;
}

.titseccion{
    color: var(--color-pri);
    font-weight: 600;
}
.titseccion:before {
    content: " ";
	width: 300px;
	height: 3px;
	background-color: var(--color-secundario);
	display: block;
	bottom: -40px;
	left: 0px;
	position: relative;
}

/*-- dialog --*/
.loading-spinner {
    width: 50px;
    height: 50px;
	margin: 100px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

dialog {
    text-align: center;
    padding: 20px;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.3);
}
/*-- /dialog --*/

.contenedor{
    padding: 3%;
    margin-top: 3%;
    margin-bottom: 3%;
    border-radius: 0.5rem;
    background: #fff;
}



.cont-component-header div {
	display: flex;
	place-content: center;
	gap: var(--spacing-2)
}

.cont-component-header div p {
	font-family: Rubik,sans-serif;
	font-size: var(--d-title-6);
	font-weight: 500;
	color: var(--gray-700);
	line-height: 1em;
	margin-bottom: var(--spacing-4)
}

.cont-component-header p {
	font-family: Rubik,sans-serif;
	font-size: var(--d-title-3);
	font-weight: 500;
	line-height: 1em
}

.component-point {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: var(--spacing-3);
	position: relative;
	max-width: 110px
}

.component-point .component-point-icon {
	width: 40px;
	z-index: 5;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
	border: 2px solid var(--gray-400);
	background-color: var(--gray-000)
}

.component-point .component-point-content {
	text-align: center;
	width: max-content
}


.component-point .component-point-content .component-point-date {
	font-size: var(--body-3);
	color: var(--gray-500)
}

[data-isactualprocess=true] .component-point-icon {
	border: 2px solid var(--step-primarycolor);
	background-color: var(--step-primarycolor)
}

[data-isactualprocess=true] .component-point-content {
	color: var(--gray-700)
}

[data-isactualprocess=true] .component-point-content p {
	font-weight: 700
}

[data-isactualprocess=false][data-finishedstep=true] .component-point-icon {
	border: 2px solid var(--step-primarycolor);
	background-color: var(--step-secondarycolor)
}

[data-isactualprocess=true][data-finishedstep=true] .component-point-icon {
	color: var(--gray-000);
}

[data-isactualprocess=false][data-finishedstep=true] .component-point-content {
	color: var(var(--gray-000))
}

.component-line[data-finishedstep=true] {
	background-color: var(--step-line-success) !important;
}

.component-points-and-lines {
	margin-top: var(--spacing-4);
	flex-direction: column;
	position: relative
}

.component-points-and-lines,.component-points-and-lines .component-points {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%
}

.component-points-and-lines .component-points div {
	margin: 0 auto
}

.component-points-and-lines .component-points div.component-point:first-child {
	margin-left: 0
}

.component-points-and-lines .component-points div.component-point:last-child {
	margin-right: 0
}

.component-points-and-lines .component-lines {
	position: absolute;
	width: 90%;
	height: 2px;
	top: 20px;
	right: 5%;
	display: flex;
	z-index: 3
}

.component-points-and-lines .component-lines .component-line {
	background-color: var(--step-line-default);
	height: 100%;
	width: 25%;
}

@media(max-width: 900px) {
	.component-points-and-lines .component-lines {
		width:96%;
		right: 2%
	}

	.component-points-and-lines {
		width: 80%
	}
}

.cont-component-status {
	background-color: var(--gray-000);
	padding: var(--spacing-6);
	box-sizing: border-box;
	border-radius: var(--border-radius-small);
	box-shadow: var(--bs-primary);
	display: flex;
	flex-direction: column;
	gap: var(--spacing-4);
	width: 100%
}

.cont-component-status .cont-component-header {
	display: flex;
	justify-content: space-between
}

@media(max-width: 900px) {
	.cont-component-status .cont-component-header {
		display:flex;
		flex-direction: column-reverse;
		text-align: center
	}
}

#trk-descrip {
	margin: 0;
	color: var(--gray-600);
	font-size: var(--body-2);
	font-family: Roboto,sans-serif
}

#trk-descrip p {
	margin: 0
}

.cont-component-status .component-point-container {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-5)
}

@media(max-width: 900px) {
	.cont-component-status .component-point-container {
		display:flex;
		flex-direction: column-reverse;
		align-items: center;
		text-align: center;
		gap: var(--spacing-6)
	}

	.cont-component-status {
		background-color: transparent;
		padding: 0;
		border-radius: 0;
		box-shadow: none;
		gap: var(--spacing-5)
	}
}


@media (max-width: 575.98px) {
  .component-point-content {
    max-width: 65px;
  }

  .component-point-content p:nth-child(1) {
    height: 60px;
  }
}
