#spinner {
    width: 50px;
    height: 50px;
    border: 5px solid lightgray;
    border-top: 5px solid blue;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    margin: 20px auto;
  }

  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }

  #alert {
    display: none;
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
  }



.contenedor-flechas{

align-items: center;
margin-left: 8.5%;


}
.instrucciones_asegurados{
    padding-top: 10px;
    margin-left: 10%;
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 18px;
}
.progreso{
    margin-left: 13%;
    width: 70%;
    font-size: 15px;
    text-align: left;
}

.Titulo-servicios2{
    font-size: 28px;
    margin-left: 115px;
    font-family: 'Montserrat';
    color: #404041;
    font-weight: bold;
    margin-bottom: 17px;
}

.flecha {
    color: white;
    width: 16%; 
    height: 70px; 
    background-color: #4a90e2;
    position: relative; 
    margin: 0 3px;
    z-index: 999;
}

.flecha::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px; /* Ajusta este valor según el tamaño de la punta */
    width: 0;
    height: 0;
    border-left: 20px solid #4a90e2; /* Color de la punta */
    border-top: 30px solid transparent; /* Ajusta el tamaño de la punta */
    border-bottom: 38px solid transparent; /* Ajusta el tamaño de la punta */
    transform: translateY(-50%);
}

.flecha2 {
    width: 16%; 
    height: 65px; 
    background-color: #eeeeee;
    position: relative; 
    margin: 0 3px;
    z-index: 998;
}

.flecha2::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px; /* Ajusta este valor según el tamaño de la punta */
    width: 0;
    height: 0;
    border-left: 20px solid #eeeeee; /* Color de la punta */
    border-top: 30px solid transparent; /* Ajusta el tamaño de la punta */
    border-bottom: 38px solid transparent; /* Ajusta el tamaño de la punta */
    transform: translateY(-50%);
}
.flecha2::before {
    content: '';
    position: absolute;
    top: 50%;
    left:20 px; /* Punta a la izquierda */
    width: 0;
    height: 0;
    border-right: 20px solid #fffcfc; /* Color de la punta */
    border-top: 30px solid transparent; 
    border-bottom: 30px solid transparent; 
    transform: translateY(-50%)rotate(180deg);
}

.flecha3 {
    width: 16%; 
    height: 65px; 
    background-color: #eeeeee;
    position: relative; 
    margin: 0 3px;
    z-index: 997;
}

.flecha3::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px; /* Ajusta este valor según el tamaño de la punta */
    width: 0;
    height: 0;
    border-left: 20px solid #eeeeee; /* Color de la punta */
    border-top: 30px solid transparent; /* Ajusta el tamaño de la punta */
    border-bottom: 38px solid transparent; /* Ajusta el tamaño de la punta */
    transform: translateY(-50%);
    
}

.flecha3::before {
    content: '';
    position: absolute;
    top: 50%;
    left:20 px; /* Punta a la izquierda */
    width: 0;
    height: 0;
    border-right: 20px solid #fffcfc; /* Color de la punta */
    border-top: 30px solid transparent; 
    border-bottom: 30px solid transparent; 
    transform: translateY(-50%)rotate(180deg);
}

.flecha_final {
    width: 30%; 
    height: 65px; 
    background-color: #eeeeee;
    position: relative; 
    margin: 0 3px;
    z-index: 996;
}


.flecha_final::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px; /* Ajusta este valor según el tamaño de la punta */
    width: 0;
    height: 0;
    border-left: 20px solid #ffffff; /* Color de la punta */
    border-top: 30px solid transparent; /* Ajusta el tamaño de la punta */
    border-bottom: 38px solid transparent; /* Ajusta el tamaño de la punta */
    transform: translateY(-50%);
    
}

.flecha_final::before {
    content: '';
    position: absolute;
    top: 50%;
    left:20 px; /* Punta a la izquierda */
    width: 0;
    height: 0;
    border-right: 20px solid #fffcfc; /* Color de la punta */
    border-top: 30px solid transparent; 
    border-bottom: 30px solid transparent; 
    transform: translateY(-50%)rotate(180deg);
}
/*FONDO DEL MODAL*/
.dialog-modal {
    display: none;
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(235, 235, 235, 0.8);
    z-index: 99999;
    opacity: 0;
    text-align: center;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.dialog-modal.show {
    display: block; /* Mostrar el modal */
    opacity: 1;
    pointer-events: auto; /* Permitir interacción */
}
.titulo-mod{
    width: 100% !important;
    border-top-left-radius:10px !important;
    border-top-right-radius:10px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    background-color: #404041 !important;
    border: 1px solid;
    height: 60px;
    color: white !important;
    font-size: 18px;
    font-family: 'Montserrat' !important;
    font-weight: 400;
   
}
.dialog-modal p{
    font-family: 'Noto Sans Mono';
    width: 80%;
    margin: 0 auto;
    padding: 5%;
    margin-top: -7%;
    text-align: left;
    
}
/*INTERIOR DEL MODAL*/
.dialog-modal div {
    width: 30%;

    position: relative;
    margin: 10% auto;

    border-radius: 10px;
    background-color: white;

    font-family: 'Montserrat';
    font-weight: bold;
    color: #404041;
    justify-content: center;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    animation-name: animatetop;
    animation-duration: 0.7s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:40px; opacity:0} 
    to {top:40%; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:20%; opacity:1}
  }

@media (max-width: 700px) {
    .instrucciones_asegurados{
        padding-top: 10px;
        margin-left: 10%;
        font-family: 'Montserrat';
        font-weight: 300;
        font-size: 20px;
    }

    .Titulo-servicios2{
        font-size: 30px;
        margin-left: 10%;
        font-family: 'Montserrat';
        color: #404041;
        font-weight: bold;
        margin-bottom: 17px;
    }

    .contenedor-flechas{

        flex-direction: column;
        align-items: center;
        margin:0 5px;
        
        }
    .flecha {
        
        width: 90%;
        height: 65px;
        background-color: #4a90e2;

    }
    .flecha::after{
        display: none;
    }
    
    .flecha2 {
        width: 90%; 
        height: 65px; 
        background-color: #eeeeee;
        position: relative; 
        margin: 0 3px;
        z-index: 998;
        margin-top: 5px;
    }
    
    .flecha2::after, .flecha2::before{
        display: none;
    }
    
    .flecha3 {
        width: 90%; 
        height: 65px; 
        background-color: #eeeeee;
        position:static; 
        margin: 0 3px;
        z-index: 997;
        margin-top: 5px;
    }
    
   
    .flecha3::after, .flecha3::before{
        display: none;
    }
    
    
    .flecha_final {
        width: 90%; 
        height: 65px; 
        background-color: #eeeeee;
        position: relative; 
        margin: 0 3px;
        margin-top: 5px;
        z-index: 996;
    }
    
    .flecha_final::after, .flecha_final::before{
        display: none;
    }
    
    .formulario{
        
        margin: 10px;
        margin-top: 15px;
        
        
     }

     label{
        width: 40%;
        font-size: 17px;
        margin-left: -1%;
        font-family: 'Montserrat';
        font-weight: bold;
        color: #404041;
        }

        input{
            width: 170%;
            height: 39px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-left: 1%;
            color: #000000;
        }

        .dialog-modal div{
            width: 80%;


        }
        .dialog-modal p{
            font-size: 14px;
            height: auto;
        }
        .mensaje img{
            margin-top: 5%;
            vertical-align: middle;
            justify-content: center;
            align-items: center;
        }

  }