﻿@import url('https://fonts.googleapis.com/css?family=Roboto');

html {
    font-size: 15px;
}

@import url('https://fonts.googleapis.com/css?family=Ubuntu');

h1, h2, h3, h4, h5 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold
}

.infoResultadosText {
    background-color: #D52423;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .infoResultadosText h1, .infoResultadosText p, .infoResultadosText label, .infoResultadosText h4, .infoResultadosText .tel {
        color: #fff;
    }

    .infoResultadosText p {
        font-size: 1.3rem;
        font-weight: lighter
    }

    /*.infoResultadosText img {
        height: 50px;
    }*/

.min100vh {
    min-height: calc(100vh - 70px);
    overflow: hidden
}

.loader {
    position: fixed;
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: 999;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .loader > div {
        position: relative;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #333
    }

.circleLoader {
    animation: rotate360 5s infinite;
    animation-duration: 4s;
}



@keyframes rotate360 {
    0% {
        transform: rotate(0);
    }

    48% {
        transform: rotate(360deg);
    }

    54% {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(720deg)
    }
}



.loaderIcon {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -38px;
    margin-left: -35px;
}

@keyframes blink {
    /**
     * At the start of the animation the dot
     * has an opacity of .2
     */
    0% {
        opacity: .2;
    }
    /**
     * At 20% the dot is fully visible and
     * then fades out slowly
     */
    20% {
        opacity: 1;
    }
    /**
     * Until it reaches an opacity of .2 and
     * the animation can start again
     */
    100% {
        opacity: .2;
    }
}

.saving span {
    /**
     * Use the blink animation, which is defined above
     */
    animation-name: blink;
    /**
     * The animation should take 1.4 seconds
     */
    animation-duration: 1.4s;
    /**
     * It will repeat itself forever
     */
    animation-iteration-count: infinite;
    /**
     * This makes sure that the starting style (opacity: .2)
     * of the animation is applied before the animation starts.
     * Otherwise we would see a short flash or would have
     * to set the default styling of the dots to the same
     * as the animation. Same applies for the ending styles.
     */
    animation-fill-mode: both;
}

    .saving span:nth-child(2) {
        /**
     * Starts the animation of the third dot
     * with a delay of .2s, otherwise all dots
     * would animate at the same time
     */
        animation-delay: .2s;
    }

    .saving span:nth-child(3) {
        /**
     * Starts the animation of the third dot
     * with a delay of .4s, otherwise all dots
     * would animate at the same time
     */
        animation-delay: .4s;
    }

/*Loader*/

.loader-circ {
    height: 16px;
    width: 16px;
    color: #fff;
    position: relative;
    display: inline-block;
    border: 2px solid;
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotate 1s linear infinite;
}

.loader-circ2 {
    height: 16px;
    width: 16px;
    color: #898989;
    position: relative;
    display: inline-block;
    border: 2px solid;
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Login*/

.login {
    display: flex;
    min-height: 100vh;
}

.bg-login {
    background-image: url(/Resources/images/proteifine/bg-login.jpg);
    background-size: cover;
    flex: 3;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.box-login {
    flex: 1;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .box-login .form-control {
        padding: 1.7rem;
    }

    .box-login h1, .bg-login h2 {
        color: #fff;
    }

    .box-login h1 {
        font-weight: bolder;
    }

.bg-login h1 span {
    font-weight: 200
}

.box-login h2 {
    font-size: 1.6rem;
    color: #6c757d;
    margin-top: 9rem;
}

.label {
    margin: 0;
}

.header {
    background: #f7f7f7;
    padding: 15px;
    position: relative;
}

.header img {
    height: 40px;
}

.logOut {
    display: inline-block;
    position: absolute;
    right: 30px;
    top: 20px;
}

    .logOut img {
        height: 30px;
    }

.section {
    padding: 60px 0;
}

.headerTitle {
    padding: 10px 45px 10px 15px;
    margin-top: 3rem;
    color: #fff;
    position: relative;
}

    .headerTitle::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 30px;
    }



    .headerTitle h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
        margin-bottom: 0;
    }

.headerSubtitle h2 {
    font-size: 1.6rem;
    margin: 4rem 0 1rem 0
}

.bloque {
    margin-top: 20px;
}

.nombrePaciente {
    color: #31827f !important;
    font-weight: bold;
    display: flex;
    align-items: center;
}

    .nombrePaciente span {
        max-width: 250px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-transform: capitalize;
    }

.filaBloque {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    border-bottom: 2px solid #eee;
}

.filaText {
    display: flex;
}

    .filaText p {
        margin: 0;
    }

.filaBloque:hover {
    background: #f7f7f7
}

.filaContenido {
    flex: 1;
    align-items: flex-start;
}

.num {
    width: 20px;
    font-weight: bold;
    text-align: right;
    margin-right: 10px;
}

.bg-primary {
    background: #D52423 !important;
}

.link-white {
    font-weight: bold;
    color: #fff;
}

    .link-white:hover {
        text-decoration: none;
        color: #fff;
        opacity: .8
    }

.link-primary {
    font-weight: bold;
    color: #D52423;
}

    .link-primary:hover {
        text-decoration: none;
        color: #D52423;
        opacity: .8
    }

.pagina {
    display: none;
}

.modal {
    -webkit-overflow-scrolling: touch;
}

.display-none {
    display: none;
}

#pagina1 .radio-inline {
    border: 1px solid #477d95;
    color: #477d95
}

.eligeSexo {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: -webkit-linear-gradient(30deg, #D52423 90%, #ba1414 50%);
    background-color: #D52423;
}

.box-sexo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 70px;
    background: #ffffff;
    border: 5px solid #D52423;
    outline: 1px solid rgba(238, 238, 238, 0.24);
    box-shadow: 0 10px 35px 0px #cf4035;
}

    .box-sexo > div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .box-sexo a {
        text-align: center;
        font-family: 'Ubuntu', sans-serif;
        font-weight: bold;
        color: #D52423;
        font-size: 1.2rem;
    }

        .box-sexo a:hover {
            text-decoration: none;
        }

        .box-sexo a img {
            opacity: 0.3;
            transition: all 0.3s ease;
        }

        .box-sexo a:hover img {
            opacity: 1;
        }
    /* .box-sexo a:hover span {
            text-decoration: none;
            background: #f8e8ff;
        }*/

    .box-sexo span {
        /*border-radius: 50%;
        height: 120px;
        width: 120px;*/
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: .5rem;
        transition: all 0.3s ease;
    }

#pagina1 .radio-inline-active {
    border: 1px solid #477d95;
    background: #477d95;
    color: #fff
}

#pagina2 .radio-inline {
    border: 1px solid #479593;
    color: #479593
}

#pagina2 .radio-inline-active {
    border: 1px solid #479593;
    background: #479593;
    color: #fff
}

.pagina-3buttons .filaSino .radio-inline:nth-child(2) {
    border-right: none !important;
}

#pagina3 .radio-inline {
    border: 1px solid #e5b00f;
    color: #e5b00f
}

#pagina3 .radio-inline-active {
    border: 1px solid #e5b00f;
    background: #e5b00f;
    color: #fff
}

#pagina4 .radio-inline {
    border: 1px solid #D52423;
    color: #D52423
}

#pagina4 .radio-inline-active {
    border: 1px solid #D52423;
    background: #D52423;
    color: #fff
}

#pagina1 .headerTitle {
    background-image: -webkit-linear-gradient(20deg, #477d95 80%, #2c596d 50%);
    background-color: #2c596d
}

    #pagina1 .headerTitle::after {
        background-image: -webkit-linear-gradient(20deg, #2c596d 50%, #fff 50%);
    }

#pagina2 .headerTitle {
    background-image: -webkit-linear-gradient(20deg, #479593 80%, #31827f 50%);
    background-color: #479593
}

    #pagina2 .headerTitle::after {
        background-image: -webkit-linear-gradient(20deg, #31827f 50%, #fff 50%);
    }

#pagina3 .headerTitle {
    background-image: -webkit-linear-gradient(20deg, #e5b00f 80%, #c7990b 50%);
    background-color: #e5b00f
}

    #pagina3 .headerTitle::after {
        background-image: -webkit-linear-gradient(20deg, #c7990b 50%, #fff 50%);
    }

#pagina4 .headerTitle {
    background-image: -webkit-linear-gradient(20deg, #D52423 80%, #b71a1a 50%);
    background-color: #D52423
}

    #pagina4 .headerTitle::after {
        background-image: -webkit-linear-gradient(20deg, #b71a1a 50%, #fff 50%);
    }

.radio-inline {
    padding: 10px 35px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: bold;
}

.filaSino .radio-inline:first-child {
    border-right: none !important;
}

.radio-inline input {
    visibility: hidden;
}

.radio-inline label {
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    cursor: pointer;
}

.anteriorSiguiente {
    background: #D52423;
    padding: 15px;
    margin-top: 70px;
}

    .anteriorSiguiente > div {
        display: flex;
    }

        .anteriorSiguiente > div > div {
            background: #fff;
            color: #D52423;
            font-weight: bold;
            padding: 7px 25px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

            .anteriorSiguiente > div > div:hover {
                background: #dcdcdc
            }

.progress-bar {
    background-color: #D52423 !important;
}

.progress {
    height: 0.6rem !important
}

.boxDatos {
    padding: 2.5rem;
    box-shadow: 0 3px 23px 0 rgba(0, 0, 0, 0.04);
    border-top: 4px solid #d52323;
}

.boxDatos h3 {
    color: #333;
}

.boxDatos .boxEnviarEmail a, .boxDatos .boxEnviarEmail a:hover, .boxDatos .boxEnviarEmail a:active {
    color: #d52323;
}

.resultadosCircle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
}

.o-hidden {
    overflow: hidden;
}

.t-capitalize {
    text-transform: capitalize;
}

.grafico {
    padding: 3.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fadeLeft {
    animation-name: fadeLeft;
    animation-duration: .25s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    transform: translateX(-1500px)
}

.fadeRight {
    animation-name: fadeRight;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    transform: translateX(1500px)
}

.fadeBottom {
    animation-name: fadeBottom;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    transform: translateY(1500px)
}

@keyframes fadeLeft {
    from {
        transform: translateX(-1500px)
    }

    to {
        transform: translateX(0)
    }
}

@keyframes fadeRight {
    from {
        transform: translateX(1500px)
    }

    to {
        transform: translateX(0)
    }
}

@keyframes fadeBottom {
    from {
        transform: translateY(1500px)
    }

    to {
        transform: translateY(0)
    }
}


/* ANIMATION CHECK */

@-webkit-keyframes scaleAnimation {
    0% {
        opacity: 0;
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scaleAnimation {
    0% {
        opacity: 0;
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes drawCircle {
    0% {
        stroke-dashoffset: 151px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCircle {
    0% {
        stroke-dashoffset: 151px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes drawCheck {
    0% {
        stroke-dashoffset: 36px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    0% {
        stroke-dashoffset: 36px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#successAnimationCircle {
    stroke-dasharray: 151px 151px;
    stroke: #FFF;
}

#successAnimationCheck {
    stroke-dasharray: 36px 36px;
    stroke: #FFF;
}

#successAnimationResult {
    fill: #FFF;
    opacity: 0;
}

#successAnimation.animated {
    -webkit-animation: 1s ease-out 1.5s 1 both scaleAnimation;
    animation: 1s ease-out 1.5s 1 both scaleAnimation;
}

    #successAnimation.animated #successAnimationCircle {
        -webkit-animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 1.5s 1 both drawCircle, 0.3s linear 2.4s 1 both fadeOut;
        animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 1.5s 1 both drawCircle, 0.3s linear 2.4s 1 both fadeOut;
    }

    #successAnimation.animated #successAnimationCheck {
        -webkit-animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 1.5s 1 both drawCheck, 0.3s linear 2.4s 1 both fadeOut;
        animation: 1s cubic-bezier(0.77, 0, 0.175, 1) .5s 1 both drawCheck, 0.3s linear 2.4s 1 both fadeOut;
    }

    #successAnimation.animated #successAnimationResult {
        -webkit-animation: 0.3s linear 2.4s both fadeIn;
        animation: 0.3s linear 2.4s both fadeIn;
    }

input.form-control-custome::placeholder {
    opacity: .7
}

input.form-control-custome {
    background-color: transparent;
    padding: 20px 10px;
    border-radius: 0;
}

    input.form-control-custome:focus {
        background-color: transparent;
        border-color: #ced4da;
        box-shadow: 0 0 0 0.2rem #fff0ef
    }

.infoResultadosText .btn {
    color: #d52423 !important;
    background-color: #ffffff;
    border-color: #D52423;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    width: 100%;
    border-radius: 3px;
    justify-content: center;
    box-shadow: 0 3px 5px 0 #a82423;
    font-size: .9rem;
    height: 52px;
}

    .infoResultadosText .btn:hover {
        background-color: #f5f5f5;
    }



    .infoResultadosText .btn:active, .infoResultadosText .btn:focus {
        color: #D52423 !important;
    }

.infoResultadosText input.form-control-custome {
    color: #fff !important;
}

.infoResultadosText input.form-control-custome::placeholder {
    color: #fff !important;
}

.infoResultadosText input.form-control-custome:focus {
    color: #fff !important;
}

.infoResultadosText .alert-form {
    color: #ffdb89;
}


.infoResultadosText hr {
    margin-top: 2.4rem;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-checkbox-ysonut a {
    border-bottom: 1px dotted
}

    .custom-checkbox-ysonut a:hover {
        border-bottom: 1px solid;
        text-decoration: none;
    }

.custom-checkbox-ysonut .custom-control-label::before {
    background-color: transparent;
}

.custom-checkbox-ysonut .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #fff;
    background-color: #fff;
}

.custom-checkbox-ysonut .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #fff;
    background-color: #D52423;
}

.custom-checkbox-ysonut input[type=checkbox]:checked + label:after, .custom-checkbox-ysonut input[type=radio]:checked + label:after {
    margin-left: -2px;
    width: 5mm !important;
    height: 5mm !important;
    display: inline-block;
    top: 0.5px;
}

.btn {
    border-radius: 0
}

.btn-primary {
    color: #fff;
    background-color: #D52423;
    border-color: #D52423;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #D52423 !important;
        border-color: #D52423 !important;
    }

    .btn-primary.focus, .btn-primary:focus, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgb(255, 194, 189);
        background-color: #D52423 !important;
        border-color: #D52423 !important;
    }

.text-primary, .text-primary:hover, .text-primary:active {
    color: #D52423 !important
}

.invalid {
    border: 2px solid #f3ec82;
}

.alert-form {
    font-size: .9rem;
    margin-top: .5rem;
    color: #d52423;
}

.BoxRespuesta {
    background: rgba(255, 255, 255, 0.12);
    padding: 15px;
    border-radius: 3px;
    display: inline-block;
    margin-top: .5rem;
    color: #fff;
}

.avance {
    padding-top: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #D52423;
}

.linkRepeat {
    color: #fff;
    display: inline-flex;
    align-items: center;
}


    .linkRepeat:hover {
        color: #fff;
        opacity: 0.7;
        text-decoration: none;
    }

.tel {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.iti {
    width: 100%;
}
.imgLogotipo {
    display: none;
    text-align: center;
}

#print .imgLogotipo {
    text-align: left;
}

/* RESPONSIVE */
@media (min-width: 1701px) {
    .resultadosCircle {
        width: 92vh !important;
    }
}

@media (max-width: 1650px) {
    .infoResultadosText p {
        font-size: 1rem;
    }

    .custom-control-label {
        font-size: .9rem;
    }
}


@media (min-width: 1400px) and (max-width: 1700px) {

    .resultadosCircle {
        width: 97vh;
    }
}

@media (min-width: 1141px) {

    .infoResultadosText {
        background-image: -webkit-linear-gradient(4deg, #D52423 0%, #D52423 85%, white 85.1%, white 15%);
        animation-name: fadeLeft;
        animation-duration: 1.8s;
        animation-delay: 0s;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
    }
}


@media (min-width: 1024px) and (max-width: 1400px) {
    .resultadosCircle {
        width: 100vw;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1140px) {
    .infoResultadosText, .grafico {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .grafico {
        margin: 8rem 0;
    }
}

@media (max-width: 1023px) {
    .resultadosCircle {
        width: 100vw !important;
    }
}

@media (max-width: 991px) {

    .grafico {
        margin: 8rem 0;
    }
}


@media (min-width: 769px) {
    .filaSino {
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .nombrePaciente {
        display: none;
    }
}

@media (max-width: 768px) {
    .filaText {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 30px 0;
    }

    .headerSubtitle h2 {
        margin: 2rem 0 1rem 0;
    }

    .infoResultadosText h1 {
        font-size: 2rem
    }

    .infoResultadosText p {
        font-size: 1rem
    }

    /*.infoResultadosText img {
        height: 30px;
    }*/

    .grafico {
        margin: 3.5rem 0 1.8rem;
    }

        .grafico img {
            padding-bottom: 1rem;
        }

    .box-sexo {
        padding: 40px;
    }
}

@media (max-width: 320px) {
    .box-sexo {
        padding: 30px 10px;
    }

    .radio-inline {
        padding: 10px 25px;
        font-size: 0.7rem;
    }

    .headerTitle h1 {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-bottom: 0;
    }

    .headerSubtitle h2 {
        font-size: 1.4rem;
        margin: 4rem 0 1rem 0
    }

    .infoResultadosText h1 {
        font-size: 1.8rem !important
    }
}

.textolegal div {
    font-size: 0.8em;
    color: #6c757d;
    text-align: left;
    margin-top: 10px;
}

    .textolegal div.form-check {
        display: inline;
        margin-right: 10px;
    }