﻿/*
 * Cambiar el webcomponent    por <div class="  ">
 * y en este css identificarlo por .   {
*/

html {
    overflow-y: auto !important;
}

body {
    background: #3f4c6c;
    position: fixed;
    background-size: cover;
    z-index: auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 23rem;
}


.login-page {
    height: 100%;
}

    .login-page .container {
        width: 100%;
        height: 100%;
        perspective: 1000px;
    }

@media (min-width: 380px) {
    .login-page .container {
        width: 94%;
        margin: 0 auto;
    }
}

@media (min-width: 522px) {
    .login-page .container {
        width: 49rem;
    }
}

@media (min-width: 664px) {
    .login-page .container {
        margin: 0 0 0 7.7rem;
    }
}

.login-page .container .card {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

    .login-page .container .card mat-card {
        background: transparent;
        box-shadow: none;
        width: 100%;
        height: 100%;
        margin: 0 auto;
        padding: 0;
        border-radius: 0;
        overflow: hidden;
    }

@media (min-width: 522px) {
    .login-page .container .card mat-card {
        width: 49rem;
    }
}

.login-page .container .card mat-card .login-page-content-card-box {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem 1.4rem;
    height: 100%;
    overflow: auto;
    display: flex;
    /*flex-direction: column;
        justify-content: space-between;*/
}

.login-page .container .card mat-card .login-image {
    margin: 0 18rem 0.1rem 0;
    transition: margin 0.3s ease-in;
}

@media (min-height: 748px) {
    .login-page .container .card mat-card .login-image {
        margin: 2rem 14rem 3.6rem -1rem;
        transition: margin 0.3s ease-in;
    }
}

.login-page .container .card mat-card .login-image mat-icon {
    width: 100%;
    height: 99px;
    min-width: 20.2rem;
}

@media (min-width: 360px) {
    .login-page .container .card mat-card .login-image mat-icon {
        height: 28vw;
        min-height: 10.1rem;
    }
}

@media (min-width: 527px) {
    .login-page .container .card mat-card .login-image mat-icon {
        height: 148px;
        max-height: 32.2rem;
    }
}

.login-page .container .card mat-card mat-card-content {
    padding: 0 0.6rem;
    flex-grow: 1;
    flex-shrink: 1;
}

    .login-page .container .card mat-card mat-card-content button.flex-item {
        margin-top: 3rem;
    }

    .login-page .container .card mat-card mat-card-content .cookieBanner {
        margin: 2.4rem 0;
    }

.login-page .version {
    position: absolute;
    bottom: 5.1rem;
    right: -4.6rem;
    font-size: 1rem;
    color: #8f9093;
    transform: rotate(270deg);
    transition: all 0.2s ease-in;
}

@media (min-width: 693px) {
    .login-page .version {
        right: 0.6rem;
        bottom: 0.1rem;
        color: grey;
        transform: rotate(0deg);
        transition: all 0.2s ease-in;
    }
}

.login-page .login-page-footer {
    transition: all 0.5s ease-in-out;
}

    .login-page .login-page-footer mat-icon {
        width: 14rem;
        height: 5.6rem;
    }

    .login-page .login-page-footer p {
        margin: 0;
        color: #dadada;
    }

        .login-page .login-page-footer p small {
            font-size: 1.2rem;
            display: block;
            margin-top: 0.6rem;
        }

    .login-page .login-page-footer ul {
        margin-bottom: 0;
        padding: 0 0.6rem;
        color: grey;
    }

        .login-page .login-page-footer ul li {
            margin-bottom: 0.2rem;
            margin-right: 1.7rem;
        }

        .login-page .login-page-footer ul a {
            color: #dadada;
        }

            .login-page .login-page-footer ul a:hover {
                color: #e7e7e7;
            }

.account-form {
    margin-top: 9rem;
    display: block;
    position: relative !important;
}

    .account-form form mat-form-field.mat-form-field-appearance-outline.mat-focused .mat-form-field-label {
        color: #ffffff;
    }

    .account-form form button {
        margin-top: 3rem;
    }

.form-a {
    margin-top: 3rem; /* contraseña en medio... mejor mirar margin-top: 9rem*/
    margin-bottom: 3rem;
    color: white;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
}

.account-form form .ng-pristine.ng-invalid .mat-input-wrapper {
    margin: 1.6rem 0 8rem;
}

.mat-form-field.mat-form-field-invalid .mat-form-field-label,
.mat-form-field-label,
.mat-focused .mat-form-field-label {
    color: rgba(255, 255, 255, 0.91);
}

mat-form-field.mat-form-field-appearance-outline input:required,
mat-form-field.mat-form-field-appearance-outline select:required {
    background-image: none;
    background-position-y: 0;
}

.tst1 {
    fill-rule: evenodd;
    clip-rule: evenodd;
}

.tst2 {
    fill: #010202;
}

.tst3 {
    fill: #FFFFFF;
}

.tst4 {
    fill-rule: evenodd;
    clip-rule: evenodd;
    fill: none;
}

.tst5 {
    display: inline;
}

.tst6 {
    fill: none;
    stroke: #909091;
    stroke-miterlimit: 10;
}

.tst7 {
    fill: #FFFFFF;
}

.tst8 {
    fill-rule: evenodd;
    clip-rule: evenodd;
}

.st0 {
    fill: #fff;
}

.st1 {
    fill-rule: evenodd;
    clip-rule: evenodd;
}

.st2 {
    fill: #FFFFFF;
}

.st14 {
    fill: #48A4DA;
}

.mat-form-field-wrapper {
    padding-bottom: 0;
    margin: 0;
    min-height: 3.6rem;
}

button.mat-suggested {
    min-width: 8.5714rem;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    min-height: 3.6rem;
    font-size: 1.4rem;
    background-repeat: repeat-x;
    color: #fff;
    text-shadow: #4ea606;
    background-color: #186d81; /*  Azul oscuro */
    max-width: 100%;
}

.color-recover {
    background-color: #3f9bb4 !important;
    background: #3f9bb4 !important;
    background-image: linear-gradient(to bottom,#3f9bb4 0,#3a8ea5 100%) !important;
    border: .07rem solid #3a8ea5 !important;
}

.mat-button, .mat-flat-button, .mat-icon-button, .mat-stroked-button {
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: 0;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
}


.w-input {
    width: 97%;
    padding-top: 2rem;
    min-height: 3.6rem;
}

.mat-form-field {
    font-size: inherit;
    font-weight: 400;
    line-height: 1.125;
    font-family: Open Sans,sans-serif;
    color: white;
    margin-top: 4px;
}

.mat-appearence {
    padding-left: 1.3rem;
    margin: 0;
    min-height: 3.6rem;
    font-size: 1.4rem;
    line-height: 3.1rem;
}


mat-form-field.mat-form-field-appearance-outline {
    min-height: 3.6rem;
}

.mat-form-field {
    display: inline-block;
    position: relative;
    text-align: left;
}

.mat-button, .mat-icon-button, .mat-stroked-button {
    color: inherit;
    background: 0 0;
}

.mat-button, .mat-fab, .mat-flat-button, .mat-icon-button, .mat-mini-fab, .mat-raised-button, .mat-stroked-button {
    font-family: Open Sans,sans-serif;
    font-size: 14px;
    font-weight: 400;
}

mat-form-field.mat-form-field-appearance-outline.mat-form-field-has-label {
    padding-top: 2rem;
}

button {
    border: none;
    outline: 0;
    background-repeat: repeat-x;
    font-size: 1.4rem;
    width: auto;
    box-shadow: none !important;
    height: 36px;
}

*, :after, :before {
    box-sizing: border-box;
}

mat-form-field.mat-form-field-appearance-outline.mat-form-field-has-label {
    padding-top: 2rem;
}

mat-form-field.mat-form-field-appearance-outline {
    min-height: 3.6rem;
}

.mat-form-field {
    display: inline-block;
    position: relative;
    text-align: left;
}

.w-complete {
    width: 97%;
}

.mat-form-field {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.125;
    font-family: Open Sans,sans-serif !important;
}

*, :after, :before {
    box-sizing: border-box;
}

mat-form-field.mat-form-field-appearance-outline input:required {
    background-image: none;
    background-position-y: 0;
    background-repeat: no-repeat;
    background-position-x: 0;
    background-size: 1.4rem 3.6rem;
}

.mat-form-field-invalid .mat-input-element, .mat-input-element {
    caret-color: inherit !important;
}

mat-form-field .mat-input-element, mat-form-field select {
    width: 100%;
}

.mat-input-element {
    font: inherit;
    color: currentColor;
    border: none;
    outline: 0;
    padding: 0;
    max-width: 100%;
    vertical-align: bottom;
    text-align: inherit;
    margin-top: 4px;
    border-radius: 4px 4px 4px 4px;
    padding-left: 13px;
}


.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tiptext {
        visibility: hidden;
        margin-top: 5px;
        width: 300px;
        height: 110px;
        border: 5px solid transparent;
        background: black;
        color: white;
        position: absolute;
        bottom: 54%;
        z-index: 9999;
        padding: .5%;
        cursor: pointer;
        font-size: 13px;
    }

@media screen and (min-height: 601px) and (max-height: 900px) {
    .tooltip {
        bottom: 55%;
    }
}

@media screen and (min-height: 401px) and (max-height: 601px) {
    .tooltip {
        bottom: 58%;
    }
}

@media (max-height: 400px) {
    .tooltip {
        bottom: 61%;
    }
}

.tooltip:hover .tiptext {
    visibility: visible;
}

.tooltip.right .tiptext {
    top: 15px;
    left: 110%;
}

    .tooltip.right .tiptext::after {
        margin-top: -5px;
        top: 50%;
        right: 100%;
        border-color: transparent #2E2E2E transparent transparent;
    }

#spinner-layer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #f2f2f2;
    font-size: 12px;
    left: 0;
    opacity: 0.5;
}

/* banner cookies */
.support-info-banner {
    background-color: #eaf3f5;
    color: #09728e;
    border-radius: 4px;
    border: 1px solid;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    line-height: 130%;
    margin-top: 20px;
    width: 100%;
    padding: 0px 15px 0px 50px;
    background-image: url(/Images/default_new/Info_banner.png);
    background-position: 15px 15px;
    background-size: 25px;
    background-repeat: no-repeat;
}

.support-info-banner table {
    font-weight: bold;
}

.support-info-banner a {
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
    color: #09728e
}

/* footer */
.login-page .login-page-footer {
    transition: all 0.5s ease-in-out;
    font-size: 12px;
    padding: 0px 6px;
    color: #eceded;
}

.login-page .login-page-footer a {
    color: #eceded;
}