﻿
/*----------------------------------------------------------------BODY*/
* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    background: rgb(219, 13, 13);
    /*display: flex;*/
    min-height: 100vh;
}
/*-----------------------------------------------------------------------*/



/*------------------------------------------------------------CABECERA*/
header {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: rgb(202, 14, 14);
    height: 60px;
}

li {
    list-style: none;
    color: #fff;
    font-family: 'Segoe UI Emoji';
}

.lbldatos {
    font-size: 11px;
}

.imglogo {
    margin-left: 15px;
    display: inline-block;
}

.div_user {
    float: right;
    margin-right: 15px;
    padding: 5px;
}
/*-----------------------------------------------------------------------*/



/*--------------------------------------------------------------FOOTER*/
footer {
    width: 100%;
    height: 30px;
    background-color: rgb(202, 14, 14);
}

.div_footer {
    display: flex;
    padding: 10px;
}

    .div_footer p {
        font-size: 9px;
        text-align: center;
    }
/*-----------------------------------------------------------------------*/




/*----------------------------------------------CONTAINER PRINCIPAL*/
.div_principal {
    width: 100%;
    min-height: calc(100vh - 60px - 30px);
}

.formulario {
    margin-left: calc(100vw - 80%);
    margin-right: calc(100vw - 80% );
    padding: 8px 15px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
}

    .formulario label {
        margin: 2px;
        text-align: left;
        color: #fff;
        font-size: 14px;
    }

h2 {
    padding: 0;
    margin: 0;
    text-align: center;
    color: rgb(199, 199, 199);
}

.lblDiagnos {
    padding: 0;
    margin: 0;
    text-align: justify;
    color: rgb(199, 199, 199);
    font-size: 20px;
}

p, .lblinput {
    padding: 0px;
    margin: 0;
    text-align: left;
    color: #fff;
    font-size: 14px;
}

.lblinput {
    font-size: 16px;
}

.txtinput {
    width: 25%;
    border: 1px solid rgb(199, 199, 199);
    border-radius: 4px;
    margin: 8px 0;
    outline: none;
    padding: 8px;
    box-sizing: border-box;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    transition: .3s;
}

    .txtinput:focus {
        border-color: rgb(13, 66, 112);
        box-shadow: 0 0 8px 0 rgb(13, 66, 112);
    }

    .txtinput:disabled {
        background: #999;
        color: #555;
        cursor: not-allowed;
    }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.divResp {
    text-align: center;
    margin: auto;
}

.img_rpta {
    width: 140px;
}

.img_user {
    width: 100px;
}

.lblerror {
    padding: 5px;
    font-weight: bold;
    color: #fff;
}

.btnsgte {
    border: none;
    outline: none;
    height: 40px;
    width: 100px;
    font-size: 16px;
    color: #fff;
    background-color: rgb(13, 66, 112);
    cursor: pointer;
    border-radius: 5px;
    transition: .3s ease-in-out;
    float: right;
}

    .btnsgte:hover:enabled {
        background-color: rgb(47, 118, 180)
    }

    .btnsgte:disabled {
        background: #999;
        color: #555;
        cursor: not-allowed;
    }

.btnHelp {
    /*border: none;*/
    outline: none;
    height: 30px;
    width: 30px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    transition: .3s ease-in-out;
    font-size: 16px;
}

.hidden {
    display: none;
}

.radio {
    display: none;
}

.rd .label {
    color: #DDDDDD;
    padding: 5px 15px 5px 36px;
    display: inline-block;
    position: relative;
    font-size: 1em;
    border-radius: 3px;
    cursor: pointer;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    .rd .label:hover {
        background: rgba(221,221,221,0.5);
    }

    .rd .label:before {
        content: "";
        width: 12px;
        height: 12px;
        display: inline-block;
        background: none;
        border: 2px solid #DDDDDD;
        border-radius: 50%;
        position: absolute;
        left: 12px;
        top: 4px;
    }

.rd input[type="RadioButton"]:checked + .label {
    background: rgba(221,221,221,0.5);
    padding: 5px 15px;
}

.rd input[type=radio]:checked + .label {
    padding: 5px 15px;
    background: rgba(221,221,221,0.5);
    border-radius: 2px;
    color: #fff;
}

    .rd input[type=radio]:checked + .label:before {
        display: none;
    }

.container {
    width: 100%;
    margin: 5px auto 0;
    display: table;
}

.row {
    margin: 1px 0;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #DDDDDE;
    border-radius: 8px;
    display: flex;
}

    .row:hover {
        background-color: lightslategrey;
    }

.column0, .column1, .column2 {
    margin-top: 3px;
    display: table-cell;
    padding: 2px 5px;
    vertical-align: middle;
    border-right: 5px;
    border-left: 5px;
}

.column1 {
    width: 90%;
}

.column0 .column2 {
    width: 5%
}

::placeholder {
    color: rgb(209, 207, 207);
    font-size: 14px;
    opacity: 0.5;
}
/*-----------------------------------------------------------------------*/





/*---------------------------------------------------------------POPUP*/
.overlay {
    background: rgba(0,0,0,.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    visibility: hidden;
}

    .overlay.active {
        visibility: visible;
    }

.popup {
    background: #F8F8F8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    width: 220px;
    transition: .3s ease all;
    transform: scale(0.7);
    opacity: 0;
}

    .popup h3 {
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 5px;
        opacity: 0;
    }
    /*.popup h4 {
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 5px;
    opacity: 0;
}*/
    .popup form .btn-submit {
        padding: 0 20px;
        height: 40px;
        width: 100px;
        line-height: 40px;
        border: none;
        color: #fff;
        background-color: rgb(13, 66, 112);
        border-radius: 3px;
        font-size: 16px;
        cursor: pointer;
        transition: .3s ease all;
        margin-bottom: 20px;
    }

        .popup form .btn-submit:hover {
            background-color: rgb(47, 118, 180)
        }

.imgpop {
    width: 220px;
}
/*-----------------------------------------------------------------------*/
/*--------------------------------------------------------ANIMACIONES*/
.popup.active {
    transform: scale(1);
    opacity: 1;
}

    .popup.active h3 {
        animation: entradaTitulo .8s ease .5s forwards;
    }
/*.popup.active h4 {
    animation: entradaSubtitulo .8s ease .5s forwards;
}*/
@keyframes entradaTitulo {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes entradaSubtitulo {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes entradaInputs {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/*-----------------------------------------------------------------------*/



@media(max-width:768px) {
    .formulario {
        /*width: 75%;*/
        margin-left: calc(100vw - 98%);
        margin-right: calc(100vw - 98% );
    }

    .txtinput {
        width: 50%;
    }

    @media(max-width:480px) {
        .formulario {
            /*width: 95%;*/
            margin-left: calc(100vw - 98%);
            margin-right: calc(100vw - 98% );
        }

        .txtinput {
            width: 90%;
        }
    }

    /*-----------------------------------------------------------------------*/







