/* static/visualizador_resultados/css/style.css */
#map {
    height: 400px;
    width: 100%;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 15px;
    text-align: left;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.header img {
    height: 60px;
}

.header .faq-link {
    text-decoration: none;
    font-weight: 600;
    color: #475156;
}

.header .faq-link:hover {
    color: #0f69b4;
}

.map-container {
    flex: 1;
    padding: 0px 0px 20px 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#map {
    height: 400px;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    border: 2px solid #ccc;
    box-sizing: border-box;
}

.form-group-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
    justify-content: space-between; /* Distribute items evenly */
}

.form-group {
    flex: 1 1 calc(25% - 20px); /* Four items per row with spacing */
    box-sizing: border-box;
}

.form-group label {
    display: block;
    margin-bottom: 1px; /* Space between label and input */
    font-weight: lighter; /* Make labels bold for better visibility */
}

.form-group input {
    width: 100%; /* Ensure inputs take full width of their container */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background-color: #0f69b4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0d5a9c;
}

footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    border-top: 2px solid #ccc;
    margin-top: auto;
}

footer .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

footer .bicolor {
    display: flex;
    margin-bottom: 20px; /* Agrega espacio debajo de la franja bicolor */
}

footer .bicolor .azul {
    background-color: #0f69b4;
    width: 50%;
    height: 10px;
}

footer .bicolor .rojo {
    background-color: #ff0000;
    width: 50%;
    height: 10px;
}

footer .top,
footer .bottom {
    justify-content: space-between;
    align-items: center;
}

footer .left {
    flex: 1;
}

footer .right ul {
    list-style: none; /* Elimina los marcadores de lista */
    padding-left: 0; /* Elimina el padding que podría estar causando el desplazamiento */
}

footer .right ul li::before {
    content: none; /* Asegura que no haya contenido antes del enlace */
}

footer .right ul li a {
    color: #475156; /* Asegura que el color sea consistente */
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: normal;
    text-align: right;
    letter-spacing: normal;
    text-decoration: none; /* Asegura que no haya subrayado */
}

footer .listas {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .listas h5 {
    font-family: "gobCL", Tahoma, Verdana, Segoe, sans-serif;
    font-size: 18px;
    line-height: 18px;
    text-align: start;
    color: #475156;
    margin-bottom: 10px;
}


footer .listas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .listas ul li {
    margin-bottom: 8px; /* Aumenta un poco el espacio entre los elementos de la lista */
}

footer .listas ul li a {
    text-decoration: none;
    color: #0f69b4;
}

footer .listas ul li a:hover {
    text-decoration: underline;
}

.footer .redes-lista ul {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    list-style: none;
    margin-bottom: 10px;
}

footer .redes-tabla-footer {
    margin-left: -46px; /* Ajusta este valor para mover la tabla a la izquierda */ 
}

/* Estilos para los iconos de redes sociales */
footer .redes-tabla-footer td {
    padding: 5px;
    margin-right: 5px;
}

footer .redes-tabla-footer .icono-facebook,
footer .redes-tabla-footer .icono-twitter,
footer .redes-tabla-footer .icono-youtube,
footer .redes-tabla-footer .icono-instagram {
    display: block;
    height: 40px;
    width: 40px;
    background-color: #FFFFFF;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Imágenes en blanco y negro por defecto */
footer .icono-facebook {
    background-image: url('{% static "images/facebook_pl.png" %}');
}

footer .icono-twitter {
    background-image: url('{% static "images/twitter_pl.png" %}');
}

footer .icono-youtube {
    background-image: url('{% static "images/youtube_pl.png" %}');
}

footer .icono-instagram {
    background-image: url('{% static "images/instagram_pl.png" %}');
}

/* Imágenes a color al hacer hover */
footer .redes-tabla-footer a:hover .icono-facebook {
    background-image: url('{% static "images/facebook.png" %}');
}

footer .redes-tabla-footer a:hover .icono-twitter {
    background-image: url('{% static "images/twitter.png" %}');
}

footer .redes-tabla-footer a:hover .icono-youtube {
    background-image: url('{% static "images/youtube.png" %}');
}

footer .redes-tabla-footer a:hover .icono-instagram {
    background-image: url('{% static "images/instagram.png" %}');
}

/* Estilo para la franja bicolor en la parte superior */
.bicolor-superior {
    display: flex;
    margin-bottom: 20px;
}

.bicolor-superior .azul {
    background-color: #0f69b4;
    width: 50%;
    height: 2px;
}

.bicolor-superior .rojo {
    background-color: #eb3646;
    width: 50%;
    height: 2px;
}

/* Estilo para la franja bicolor debajo de las redes sociales */
.bicolor-inferior {
    display: flex;
    margin-top: 20px;
}

.bicolor-inferior .azul {
    background-color: #0f69b4;
    width: 78px; /* Ajusta el ancho según las dimensiones especificadas */
    height: 25px; /* Ajusta la altura para que sea más gruesa */
}

.bicolor-inferior .rojo {
    background-color: #eb3646;
    width: 91px; /* Ajusta el ancho según las dimensiones especificadas */
    height: 25px; /* Ajusta la altura para que sea más gruesa */
}

.operadores-list {
    list-style-type: none;
    padding: 0;
    width: 700px;
}

.operadores-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.operadores-list li span {
    font-size: 16px;
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.btn i {
    margin-right: 5px;
}

.button-like {
    display: inline-block;
    padding: 5px 10px;
    margin: 0px 0;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-text {
    font-size: 14px;
    color: #0F69B4;
    text-align: center;
    margin-top: 20px;
    font-weight: bolder;

}
.icon-footer{
    width: 40px;
    height: 40px;
    text-decoration: none;
    border: none;
}

#disclaimer-note {
    font-size: 12px;
    color: #0F69B4;
    text-align: center;
}
#fec_actualizacion {
    font-size: 12px;
    color: #475156;
}

#caluga-intro{
    padding: 13px 0px 20px 0px;
    width: 932px;
    height: 106px;
}

#paso-1-img{
    padding: 13px 0px 20px 0px;
    width: 932px;
    height: 52px;
}

#paso-2-img{
    padding: 13px 0px 20px 0px;
    width: 932px;
    height: 52px;
}

#boton-ayuda-img{
    width: 100%;
    height: 100%;
}

.image-container {
    margin: 0 px;
    padding: 0 px;
    position: relative;
    width: 100%; /* Ajusta según sea necesario */
    height: 175px; /* Ajusta según sea necesario */
}

#banner-superior {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ajusta según sea necesario */
    height: 147px;
    z-index: 1; /* Asegura que esté detrás */
}

#logo-rnc {
    position: absolute;
    top: 20px; /* Ajusta según sea necesario */
    left: 50%; /* Centra horizontalmente */
    transform: translateX(-50%); /* Ajusta el centrado */
    z-index: 2; /* Asegura que esté encima */
}


.button-like:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: center;
    }

    #map {
        height: 300px;
    }

    footer .wrap {
        padding: 0 10px;
    }

    .header img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    footer .listas .lista {
        width: 100%;
        margin-bottom: 20px;
    }
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 36px;
}

#videoModal {
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}