
body {
  font-family: "Raleway", sans-serif;
}

/* Hero Section */
#Hero-Section {
  background-image: url("../img/HeaderIMGcrop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  max-height: 750px;
}

/* Hero Section More */
#Hero-Section-More {
  background-image: url("../img/HeaderMoreCropped2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  min-height: 400px;
}

#Hero-Section-Patri {
  background-image: url("../img/HeaderPatrimonioHelices.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  min-height: 400px;
}

#btn:hover {
  background-color: #0e366a;
}

.btn:disabled {
  background-color: #20323d;
}

/* Mis trabajos */
#second-img {
  background-image: url(../img/Beneficios.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 310px
}

#second-img-more {
  background-image: url(../img/pexels-christopher-borges-1300281899-27824579.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

#second-img-text {
  background-color: #ffffff;
  padding: 0px;
}

.Descripcion-General{
  font-weight: normal;
}

.boton-docs {
  display: inherit;
  outline: none;
  cursor: pointer;
  color: #ffffff;
  height: 40px;
  width: 150px;
  padding: 10px 20px;
  background: #0e366a;
  background-color: #0e366a;
  background-repeat: repeat;
  background-attachment: scroll;
  background-size: auto;
  background-origin: padding-box;
  background-clip: border-box;
  line-height: 16px;
  letter-spacing: 0.1rem;
  text-decoration: none;
  border-color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}
.h4-patr {
  text-align: end;
}
#doc-th {
  padding-left: 75px;
}
@media (max-width: 992px) {
  #doc-th {
  padding-left: 10px;
  }
}

/* Timeline */
.flex-parent{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 500px;
}

.input-flex-container {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	width: 80vw; /* $parentWidth */
	max-width: 1000px; /* $parentMaxWidth */
	position: relative;
	z-index: 0;
	margin-left: calc((80vw - 25px) / 20); /* calc(($parentWidth - $dotWidth) / $numDots) */
}

#timeline-dot {
	width: 25px; /* $dotWidth */
	height: 25px; /* $dotWidth */
	background-color: #2C3E50; /* $active */
	position: relative;
	border-radius: 50%;
	display: block;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

#timeline-dot:focus {
  outline: none;
}
#timeline-dot::before,
#timeline-dot::after {
  content: '';
	display: block;
	position: absolute;
	z-index: -1;
	top: 50%;
	transform: translateY(-50%);
	background-color: #2C3E50; /* $active */
	width: 4vw; /* $parentWidth / $numDots (80vw / 20) */
	height: 5px;
	max-width: 50px;
}
#timeline-dot::before {
	left: calc(-4vw + 12.5px);
}
#timeline-dot::after{
  right: calc(-4vw + 12.5px);
}
#timeline-dot:checked{
  background-color: #2C3E50;
}
#timeline-dot:checked::before {
	background-color: #2C3E50;
}
#timeline-dot:checked::after {
	background-color: #AEB6BF;
}
#timeline-dot:checked ~ #timeline-dot {
	background-color: #AEB6BF; 
}
#timeline-dot:checked ~ #timeline-dot::before {
	background-color: #AEB6BF; /* $inactive */
}
#timeline-dot:checked ~ #timeline-dot::after {
	background-color: #AEB6BF; /* $inactive */
}
#timeline-dot:checked + .dot-info span {
	font-size: 13px;
	font-weight: bold;
}
.dot-info {
	width: 25px; /* $dotWidth */
	height: 25px; /* $dotWidth */
	display: block;
	/* background-color: red; */
	visibility: hidden;
	position: relative;
	z-index: -1;
	/* position each span on top of the dot immediately before it; -1px at the end is just fudging the numbers for rounding error */
	left: calc((((80vw - 25px) / 20) * -1) - 1px); /* calc((((($parentWidth - $dotWidth) / $numDots) * -1) - 1px)) */
}
.dot-info span {
	visibility: visible;
	position: absolute;
	font-size: 12px;
}
.dot-info span.year {
	bottom: -45px;
	left: 90%;
	transform: translateX(-50%);
}
.dot-info span.label {
	top: -80px;
	left: 0;
	transform: rotateZ(-45deg);
	width: 70px;
	text-indent: -10px;
}
/*#timeline-descriptions-wrapper {
	width: 100%;
	margin-top: 140px;
	font-size: 22px;
	font-weight: 400;
	margin-left: calc((-80vw - 25px) / 20);
}
#timeline-descriptions-wrapper p {
	margin-top: 0;
	display: none;
}
/* magic shenanigans - Resultado del bucle @each *//*
#timeline-dot[data-description="Nov2022"]:checked ~ #timeline-descriptions-wrapper p[data-description="Nov2022"] {
	display: block;
}
#timeline-dot[data-description="Ene2023"]:checked ~ #timeline-descriptions-wrapper p[data-description="Ene2023"] {
	display: block;
}
#timeline-dot[data-description="May2023"]:checked ~ #timeline-descriptions-wrapper p[data-description="May2023"] {
	display: block;
}
#timeline-dot[data-description="Dic2023"]:checked ~ #timeline-descriptions-wrapper p[data-description="Dic2023"] {
	display: block;
}
#timeline-dot[data-description="Sep2024"]:checked ~ #timeline-descriptions-wrapper p[data-description="Sep2024"] {
	display: block;
}
#timeline-dot[data-description="Oct2024"]:checked ~ #timeline-descriptions-wrapper p[data-description="Oct2024"] {
	display: block;
}
#timeline-dot[data-description="Dic2024"]:checked ~ #timeline-descriptions-wrapper p[data-description="Dic2024"] {
	display: block;
}
#timeline-dot[data-description="Ene2025"]:checked ~ #timeline-descriptions-wrapper p[data-description="Ene2025"] {
	display: block;
}
#timeline-dot[data-description="May2025"]:checked ~ #timeline-descriptions-wrapper p[data-description="May2025"] {
	display: block;
}
#timeline-dot[data-description="Ago2025"]:checked ~ #timeline-descriptions-wrapper p[data-description="Ago2025"] {
	display: block;
}
#timeline-dot[data-description="Ene2026"]:checked ~ #timeline-descriptions-wrapper p[data-description="Ene2026"] {
	display: block;
}
#timeline-dot[data-description="Feb2026"]:checked ~ #timeline-descriptions-wrapper p[data-description="Feb2026"] {
	display: block;
}
#timeline-dot[data-description="Abr2026"]:checked ~ #timeline-descriptions-wrapper p[data-description="Abr2026"] {
	display: block;
}*/
@media (min-width: 1250px) {
  #m45 {
    top:-45px;
  }
  #m60 {
    top: -60px;
  }
  #m65 {
    top: -65px;
  }
	.input-flex-container {
		margin-left: 62.5px;
	}
	#timeline-dot::before {
		left: -37.5px;
	}
	#timeline-dot::after {
		right: -37.5px;
	}
	.dot-info {
		left: calc(-48.75px - 1px);
	}
	/*#timeline-descriptions-wrapper {
		margin-left: -37.5px;
	}*/
}
@media (min-width:820px){
  #m45 {
    top:-45px;
  }
  #m60{
    top:-60px;
  }
  #m65 {
    top: -65px;
  }
}
@media (max-width: 819px){
  .flex-parent {
    justify-content: initial;
  }

  .input-flex-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 400px;
    height: auto;
    margin-top: 15vh;
    margin-left: 0;
    padding-bottom: 30px;
    margin-top: 30px;
  }

  #timeline-dot,
  .dot-info {
    width: 60px;
    height: 60px;
    margin: 0 10px 50px;
    margin-top: 25px;
  }

  #timeline-dot {
    background-color: transparent !important;
    z-index: 1;
  }

  #timeline-dot::before,
  #timeline-dot::after {
    content: none;
  }

  #timeline-dot:checked + .dot-info {
    background-color: #2C3E50; /* Asegúrate de que $active esté definido o reemplázalo con un color */
  }

  #timeline-dot:checked + .dot-info span.year {
    font-size: 14px;
  }

  #timeline-dot:checked + .dot-info span.label {
    font-size: 12px;
  }

  .dot-info {
    visibility: visible;
    border-radius: 50%;
    z-index: 0; /* position behind input, so input remains clickable */
    left: 0;
    margin-left: -70px;
    background-color: #AEB6BF; /* Asegúrate de que $inactive esté definido o reemplázalo con un color */
  }

  .dot-info span.year {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ECF0F1;
  }

  .dot-info span.label {
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    text-indent: 0;
    text-align: center;
  }

  /*#timeline-descriptions-wrapper {
    margin-top: 30px;
    margin-left: 0;
    text-align: center;
  }*/
}
@media (max-width: 480px){
	.input-flex-container{
		width: 340px;
    margin-top: 20px;
 }
 #timeline-dot {
    margin-top: 24px;
    margin-right: 20px;
 }
}
@media (max-width: 400px){
	.input-flex-container{
		width: 300px;
    margin-top: 20px;
 }
}
/* Contacto */

#Contacto form label {
  font-weight: 700;
  color: #373a3c;
}

footer {
  background-color: #0e366a;
}

#lista {
  background-color: #0e366a; 
  list-style: none;
}

.navbar-toggler:hover {
  background-color: #1857a9;
}

.footer {
  padding-top: 60px;
}

.footer-fav {
  height: 4em;
  background-image: url(../img/apple-touch-icon.png);
  background-size: 15%;
  background-repeat: no-repeat;
  background-position: center;
  object-fit: cover;
}

@media (max-width: 810px) {
  #Contacto form label {
    font-weight: 400;
  }
  #Acerca-de-mi .row > div {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  #Acerca-de-mi #Descripcion-General {
    margin: 0 auto;
  }
  #Mis-trabajos #Descripcion-General {
    width: 100% !important;
    margin: 0 auto; /* Centra la tabla */
  }
  #Mis-trabajos #second-img-text {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  #Mis-trabajos h2 {
    font-size: 1.5rem !important;
  }
  #Mis-trabajos-patr .row > div{
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  #doc-div {
    justify-content: center;
  }
  #doc-th{
    padding: 7px;
  }
  .h4-patr{
    text-align: center;
  }
  .h1 {
    font-size: 30px;
  }
  .navbar-brand{
    width: 100px;
  }
  #second-img {
    width: 100% !important;
  }
  #Hero-Section-More {
    width: 100% !important;
    background-image: url("../img/HeaderMoreCropped2.png");
  }
  #Hero-Section-Patri {
    width: 100% !important;
  }
  #Documents {
    max-width: 300px;
  }
  
}
.navbar-brand p {
  align-items: center;
  margin-bottom: 0rem;
}
