
.s_check {
    color: #C4007A;
}
.s_info {
    color: #09A8C8;
}
.s_alerta {
    color: #E3BC02;
}
.s_warning {
    color: #cc0606;
}

.s_enlace {
    text-decoration: none;
    color: #09A8C8;
}

.s_enlace:hover {
    color: #01cc87;
}

.image_container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: right;
    justify-content: space-evenly;
    align-items: right;
}

.imagen_central {
    max-height: 256px;
}

.logo_izquierda {
    max-width: 200px;
    max-height: 200px;
}

.logo_derecha {
    max-width: 200px;
    max-height: 100px;
}

* {
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 256px;
    background-color: #DBE3E6;
    border-bottom: 1px solid #01cc87;
}

body {
    font-family: 'Consolas', 'Nirmala UI', Helvetica, Arial, sans-serif;
    font-size: 16px;
    background-color: #000;
    color: #fff;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 270px;
}

.app_head {
    color: #09A8C8;
    text-align: center;
    border-top: 1px solid #09A8C8;
    padding-top: 10px;
    border-bottom: 1px solid #09A8C8;
    padding-bottom: 10px;
}

.app_version {
    color: #01cc87;
    float:right;
}

.content-box {
    background-color: #000;
    padding: 20px 20px 5px 20px; 
    border-radius: 5px;
    width: 90%; 
    border: 1px solid #002828;
    max-width: 1500px; 
    transition: top 0.3s ease;
    overflow-y: auto;
    text-align: center; 
    max-height: 80%;
    margin-bottom: 5%;
}

.content-box-two { 
    color: #DBDBDB;
    background-color: #000;
    padding: 10px 10px 30px 10px;
    border: 1px solid #01cc87;
    overflow-y: auto;
    text-align: justify;
    /* max-height: 220px; */ 
}

form p {
    margin-bottom: 0;
}

form p input {
    border: none;
    background-color: #000000;
    color: #09A8C8;
    border: 1px solid #09A8C8;
    text-decoration: blink;
    font-family: 'Consolas', 'Nirmala UI', Helvetica, Arial, sans-serif;
    font-size: 16px;
    border-radius: 5px;
}

form input {
    border: none;
    background-color: #000000;
    color: #09A8C8;
    border: 1px solid #09A8C8;
    text-decoration: blink;
    font-family: 'Consolas', 'Nirmala UI', Helvetica, Arial, sans-serif;
    font-size: 16px;
    border-radius: 5px;
}

form p input:focus, form input:focus {
    outline-width: 0;
}

#id_comentario_alternativo, #id_contacto_comentario {
    width: 100%;
    height: 150px;
    resize: none;
    color: #09A8C8;
    background-color: #000;
    font-size: 14px;
}

#id_contacto_comentario {
    width: 100%;
    height: 80px;
    resize: none;
    color: #09A8C8;
    background-color: #000;
}

#id_texto_expediente {
    width: 100%;
    height: 80px;
    resize: none;
    color: #09A8C8;
    background-color: #000;
}

/***********************************************/
.imagen_respuesta {
    float: right;
    max-width: 100%;
    transition: max-width 0.3s ease;
}

.expandida {
    pointer-events: none;
    width: 600px;
    height: 547.02px;
    max-width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 9999;
}

.cerrar_imagen {
    cursor: pointer;
    background-color: #01cc87;
    width: 30px;
    height: 30px;
    padding: 0px 10px 15px 10px;
    border-radius: 50%;
    font-size: 35px;
    max-width: 100vw;
    position: fixed;
    top: -60vh;
    left: 600px;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 9999;
}

.expandida + .cerrar_imagen {
    display: block;
}

figcaption {
    width: 200px;
    text-align: center;
}

#focusForm {
    align-items: center;
}
/***********************************************/

.s_buttons {
    display: flex;
    justify-content: center;
}

.a_button, .b_button {
    font-family: 'Consolas', 'Nirmala UI', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    width: 70px;
    height: 70px;
    margin: 10px 10px 10px 10px;
    background-color: #002828;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
}

.opcion1, .opcion2, .opcion3, .opcion4, .opcion5, .opcion6, .opcion7, .opcion8 {
    font-family: 'Consolas', 'Nirmala UI', Helvetica, Arial, sans-serif;
    font-size: 18px; 
    font-weight: bold;
    width: 120px;
    height: 45px;
    background-color: #002828;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
}

.botones_8, .botones_7 {
    float: right;
    padding-right: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.botones_5, .botones_7 {
    float: right;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas con ancho igual */
    grid-gap: 10px; /* Espacio entre los botones */
    justify-items: center; /* Centra los elementos en el eje x */
}

.botones_5 {
    position: relative;
    top: -30px;
}

.opcion5:last-child, .opcion7:last-child {
    width: 50%;
    grid-column: span 2; /* Ocupa ambas columnas */
    justify-self: center; /* Centra horizontalmente dentro de la celda */
}

.downButton {
    font-family: 'Consolas', 'Nirmala UI', Helvetica, Arial, sans-serif;
    font-size: 18px;
    text-decoration: none;
    width: 70px;
    height: 70px;
    margin: 10px 10px 10px 10px;
    padding: 5px;
    background-color: #002828;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
}

.sendButton {
    font-family: 'Consolas', 'Nirmala UI', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    width: 70px;
    height: 70px;
    margin: 20px 10px 10px 10px;
    background-color: #002828;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
}

.exitButton {    
    font-size: 18px;
    text-decoration: none;
    background-color: #002828;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 60px;
}

.exitButton:hover {
    background-color: #cc0606;
}

.exitButton:active {
    color: #000;
    background-color: #3D3F43;
    border: 0px;
}

.downButton:hover, .sendButton:hover {
    border: 2px solid #01cc87;
}

.downButton:active, .sendButton:active {
    color: #000;
    background-color: #ccc;
    border: 0px;
}

.a_button:hover, .b_button:hover {
    background-color: #002828;
    color: #fff;
    text-decoration: underline #01cc87 2px;
    border: 2px solid #01cc87;
}

.a_button:active, .b_button:active {
    background-color: #777;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
}

.opcion1:hover, .opcion2:hover, .opcion3:hover, .opcion4:hover, .opcion5:hover, .opcion6:hover, .opcion7:hover, .opcion8:hover {
    background-color: #002828;
    color: #fff;
    text-decoration: underline #01cc87 2px;
    border: 2px solid #01cc87;
}

.opcion1:active, .opcion2:active, .opcion3:active, .opcion4:active, .opcion5:active, .opcion6:active, .opcion7:active, .opcion8:active {
    background-color: #777;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
}

#id_idioma_app, #id_audio, #id_intro_datos, #id_car_invasivo_o_cdis, #id_tn_o_her2, #id_axila_negativa, #id_qtn, #id_respuesta_despues_qtn, #id_numero_ggos, #id_tto_neoadyuvante, #id_respuesta_imag_completa, #id_axila_negativa2, #id_postmenopausia, #id_carcinoma_lobular, #id_carcinoma_lobular_size, #id_rh_psitiv_h23_negativ, #id_carcinoma_lobular2, #id_carcinoma_lobular_size2, #id_cdis_extenso, #id_indicacion_mastectomia, #id_nodular_o_dudas_ci, #id_pregunta_comentario, #id_seleccion_menu, #id_consultar_expedientes, #id_modalidad_analisis {
    display: none;
}

#videoController {
    height: 256px;
}

.s_json {
    text-align: left;
    width: 100%;
}

footer {
    text-align: center;
    position: fixed; 
    width: 100%;   
    /* height: 1.5%; */
    bottom: 0; 
    font-size: 14px;
    background-color: #DBE3E6;
    /* padding-top: 10px;
    padding-bottom: 10px; */
    border-top: 1px solid #01cc87;
    align-content: center;
}

footer p {
    color: #C4007A;
    margin: 10px;
}

footer p a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    flex-direction: column;
}

.loader {
    border: 12px solid #3D3F43;
    border-top: 12px solid #C4007A;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}

.loader_msg {
    color: #ccc;
    background-color: #3D3F43;
    border-radius: 5px;
    padding: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 767px) { /* 800px */

    .expandida {
        width: 95%;
        height: 50%;
        margin: unset;
        display: flex;
        justify-self: center;
        border: 10px solid #fff;
        border-radius: 5px;
    }

    .cerrar_imagen {
        top: 60px;
        left: 0;
    }

    .app_head {
        padding-left: 0 !important;
    }

    .downButtonDiv {
        margin-bottom: 20px;
    }

    .opcion1, .opcion2, .opcion3, .opcion4, .opcion5, .opcion6, .opcion7, .opcion8 {
        width: 100%;
        height: 40px;
    }

    .formulario_a, #focusForm {
        display: flex;
        flex-direction: column;
    }

    .botones_5, .botones_7 {
        row-gap: 5px;
        column-gap: 5px;
        padding-left: 10%;
        padding-right: 10%;
    }

    .botones_5 {
        padding-top: 50px !important;
        order: 2;
    }

    .botones_7, .botones_8 {
        padding-top: 20px !important;
        order: 2;
    }

    .botones_8 {
        row-gap: 5px;
        column-gap: 5px;
        width: 90%;
        align-self: center;
    }

    #formulario.id_consultar_expedientes {
        order: 1;
    }

    body, form p input, form input {
        font-size: 12px;
    }

    .sendButton {    
        margin: 10px 10px 10px 10px;
    }

    .a_button, .b_button {
        width: 60px;
        height: 60px;
    }

    .a_button, .b_button, .downButton, .sendButton {
        font-size: 14px;
    }

    footer {
        font-size: 12px;
        /* height: 2px; */
    }

    footer p {
        margin: 5px;
    }
    
    .imagen_central {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    .imagen_respuesta {
        float: none;
        display: flex;
        justify-content: center;
        border: 2px solid #01cc87;
    }

    .content-box {
        width: 95%;
        margin-bottom: 20px;
        text-align: left;
    }

    .content-box-two {
        text-align: left;
    }

    main {
        margin-top: 250px;
    }

    .loader {
        border: 6px solid #3D3F43;
        border-top: 6px solid #C4007A;
        width: 35px;
        height: 35px;    
    }

    .loader_msg {
        padding: 2.5px;
        margin-top: -6px;
    }

    /* Ocultar los controles del video en dispositivos móviles */
    video::-webkit-media-controls {
        display: none !important;
    }
    video::-webkit-media-controls-enclosure {
        display: none !important;
    }
    video::-webkit-media-controls-panel {
        display: none !important;
    }
}

@media only screen and (max-width: 460px) { /* 800px */
    #videoController {
        width: 100%;
        height: 256px;
    }
}



