*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    /*font-size: 62.5%;*/
    height: 100%;
    overflow: hidden;
    background: -webkit-linear-gradient(141deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);
    background: linear-gradient(141deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);
}

/*@media (max-width: 768px) {
    html,
    body {
        font-size: 50%;
    }
}*/

svg {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    overflow: visible;
}

.svg-icon {
    cursor: pointer;
    visibility: visible !important;
}

.svg-icon path {
    stroke: rgba(255, 255, 255, 0.9);
    fill: none;
    stroke-width: 1;
}

input,
button {
    outline: none;
    border: none;
}

.hidden {
    display: none !important;
}

.cont {
    position: relative;
    height: 100%;
    background-color: #f2f4f8;
    background-size: cover;
    overflow: auto;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.login-cont {
    position: absolute;
    width: 24rem;
    /*min-height: 53rem;*/
    overflow: hidden;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}

/*@media (max-height: 800px) {
    .login-cont {
        top: 40%
    }
}*/

.login {
    position: relative;
    height: 100%;
    background-image: -webkit-linear-gradient(top, rgba(0,150,136,.95) 0%, rgba(0,137,123,.9) 100%);
    background-image: linear-gradient(top, rgba(0,150,136,.95) 0%, rgba(0,137,123,.9) 100%);
    -webkit-transition: opacity 0.1s, -webkit-transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    transition: opacity 0.1s, -webkit-transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    transition: opacity 0.1s, transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    transition: opacity 0.1s, transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25), -webkit-transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.login.inactive {
    opacity: 0;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.login__check {
    text-align: center;
    padding-top: 3rem;
}

.login__check svg {
    width: 15rem;
    height: 15rem;
    fill: rgba(255, 255, 255, 0.7);
}

.login__check img {
    max-width: 100%;
    height: auto;
}

.login__form {
    /*position: absolute;
    top: 50%;
    left: 0;*/
    width: 100%;
    height: 50%;
    padding: 1.5rem 2rem;
    text-align: center;
}

.login__row {
    height: 5rem;
    padding-top: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.login__icon {
    margin-bottom: -0.4rem;
    margin-right: 0.5rem;
}

.login__icon.name path {
    stroke-dasharray: 73.50196075439453;
    stroke-dashoffset: 73.50196075439453;
    -webkit-animation: path 2s 0.5s forwards;
    animation: path 2s 0.5s forwards;
}

.login__icon.pass path {
    stroke-dasharray: 92.10662841796875;
    stroke-dashoffset: 92.10662841796875;
    -webkit-animation: path 2s 0.5s forwards;
    animation: path 2s 0.5s forwards;
}

.login__input {
    display: inline-block;
    width: 16rem;
    height: 100%;
    padding-left: 1.2rem;
    font-size: 1rem;
    background: transparent;
    color: #fff;
}

.login__submit {
    position: relative;
    width: 100%;
    height: 3rem;
    margin: 5rem 0 2.2rem;
    color: #444;
    background-color: #e6e5e5;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 3rem;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
    transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
    outline: none;
}

.login__submit:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -1rem;
    margin-top: -1rem;
    width: 2rem;
    height: 2rem;
    border: 2px dotted #333;
    border-radius: 50%;
    border-left: none;
    border-bottom: none;
    -webkit-transition: opacity 0.1s 0.4s;
    transition: opacity 0.1s 0.4s;
    opacity: 0;
}

.login__submit:hover {
    color: #333;
}

.processing .login__submit {
    width: 3rem;
    font-size: 0;
}

.processing .login__submit:after {
    opacity: 1;
    -webkit-animation: rotate 0.5s 0.4s infinite linear;
    animation: rotate 0.5s 0.4s infinite linear;
}

.login__signup {
    font-size: 1.2rem;
    color: #aba8ae;
}

.login__signup a {
    color: #fff;
    cursor: pointer;
}

.accepted .login__row:nth-child(1) {
    -webkit-animation: fadeout .2s linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-delay: .6s;
    animation: fadeout .2s linear;
    animation-fill-mode: forwards;
    animation-delay: .6s;
}

.accepted .login__row:nth-child(2) {
    -webkit-animation: fadeout .2s linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-delay: .3s;
    animation: fadeout .2s linear;
    animation-fill-mode: forwards;
    animation-delay: .3s;
}

.accepted .login__submit {
    -webkit-animation: fadeout .2s linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-delay: 0s;
    animation: fadeout .2s linear;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}

.accepted .login-cont {
    -webkit-animation: fadeout .2s linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-delay: .9s;
    animation: fadeout .2s linear;
    animation-fill-mode: forwards;
    animation-delay: .9s;
}

.background-fade {
    background-color: #f2f4f8;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
}

.accepted .background-fade {
    opacity: 1;
    -webkit-transition: opacity 1.5s;
    transition: opacity 1.5s;
}

.herramientas {
    position: fixed;
    top: 0;
    right: 20px;
    background-color: #f2f4f8;
    color: #fff;
    font-size: 1.2em;
    display: flex;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 4px;
}
.herramientas .btn {
    padding: 4px 10px 4px 10px;
    cursor: pointer;
}
.herramientas .btn:hover {
    opacity: .8;
}

.pnormal {
    display: none;
}
.pantalla-completa .pfull {
    display: none;
}
.pantalla-completa .pnormal {
    display: inline-block;
}

main {
    width: 100%;
    height: 100%;
}

.nombre-entidad {
    text-align: center;
    padding: 1px 4px;
    font-size: 13px;
    color: #ccc;
}

.input-keypad.numerico {
    width: 50% !important;
    margin: 0 auto !important;
}

@media (max-width: 25rem) {
    .cont {
        margin-top: 0 !important;
    }

    .login-cont {
        width: 100%;
        height: 100%;
    }

    .login__input {
        width: 75%;
    }

    .input-keypad {
        width: 100% !important;
        left: 0 !important;
    }
}

@media (max-height: 600px) {
    .login__check {
        padding-top: 1rem;
    }
}

@media (max-height: 500px) {
    .login__check img {
        height: 100px;
        width: auto;
    }

    .login__form {
        padding-top: 0;
    }
}

.print {
    display: none;
}

@media print {
    html, body {
        background: none !important;
    }

    main {
        display: none !important;
        visibility: hidden !important;
    }

    .print {
        display: block;
        color: #000;
        font-size: 1.2em;
        text-align: center;
        padding: 6px;
    }

    .print img {
        filter: brightness(0);
    }
}

@-webkit-keyframes fadeout {
    to {
        opacity: 0;
    }
}

@keyframes fadeout {
    to {
        opacity: 0;
    }
}

@-webkit-keyframes rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes path {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes path {
    to {
        stroke-dashoffset: 0;
    }
}

/* do not group these rules */
*::-webkit-input-placeholder {
    color: #9bd1de;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: #9bd1de;
    opacity: 1;
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #9bd1de;
}
*::placeholder {
    /* modern browser */
    color: #9bd1de;
}

@media (max-width: 408px) {
    .login-cont {
        width: 100vw;
        height: 100vh;
    }

    .login__input {
        font-size: 1.2rem;
    }
}
