﻿@import url("https://fonts.googleapis.com/css?family=Nunito&display=swap");

:root {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    --primary-color: #015FFF;
    --secondary-color: #74BFFF;
    --background-image: #015FFF14;
    --logo: url('../img/sovos-logo-login.png');
    --background-size: auto;
}

*::selection {
    background: var(--secondary-color);
    color: #fff;
    opacity: 0.8;
}

body {
    margin: 0;
}

p {
    margin: 0;
}

fieldset {
    border: 0.25px solid #C4C4C4;
    border-radius: 12px;
}

fieldset, .container {
    display: grid;
    grid-gap: 10px;
    justify-content: center;
    align-content: center;
    box-sizing: border-box;
    text-align: center;
    justify-items: center;
}

input:disabled {
    cursor: none;
    pointer-events: none;
}

.login-container {
    display: grid;
    width: 100%;
    height: 100vh;
}

.background {
    height: 100%;
    width: 100%;
    background: var(--background-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: var(--background-size);
}

.login-form {
    background-color: #ffffff;
    display: grid;
    row-gap: 30px;
    padding: 25px;
    grid-template-rows: 150px repeat(3, auto);
    align-items: center;
}

.logo {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: var(--logo) no-repeat;
    text-indent: 100vw;
    background-position: bottom;
}

.text-help {
    align-self: end;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.313rem;
    text-align: center;
}

.input-field {
    background: #EEEEEE;
    border: 0;
    border-radius: 4px;
    font-size: 0.813rem;
    text-align: center;
    padding: 5px;
    height: 30px;
    width: 350px;
    outline: unset;
}

    .input-field:hover {
        opacity: 0.6;
    }

    .input-field:disabled:hover {
        opacity: 1;
    }

    .input-field:focus {
        outline: 1px solid #808080;
    }

    .input-field:invalid + span:after {
        content: '✖';
        padding-left: 5px;
    }

.label-input {
    display: block;
    text-align: center;
    font-style: normal;
    font-weight: bold;
    font-size: 0.813rem;
    line-height: 15px;
    outline: unset;
}

.submit, .btn {
    font-size: 0.813rem;
    font-weight: bold;
    font-style: normal;
    text-align: center;
    text-decoration: none;
    line-height: 0.875rem;
    color: #f1f1f1;
    border: 0;
    border-radius: 2px;
    background-color: var(--primary-color);
    cursor: pointer;
    padding: 10px 15px;
    justify-self: center;
    align-self: center;
    outline: unset;
}

    .submit:hover, .btn:hover {
        opacity: 0.5;
    }

    .submit:active, .btn:active {
        opacity: 1;
    }

    .submit:focus, .btn:focus {
        outline: 1px solid #808080;
    }

.input-container {
    display: flex;
    width: 100%;
}

    .input-container .icon {
        padding: 10px;
        background: #74BFFF;
        width: 50px;
        text-align: center;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
    }

    .input-container .input-field {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        padding-right: 50px;
        width: 300px;
    }

.icon.icon-lock {
    background-image: url('assets/generic/icn-lock.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.capcha {
    display: grid;
    justify-content: center;
}

.footer {
    display: flex;
    color: #545E75;
    background-color: #FFFFFF;
    justify-content: space-around;
    align-items: center;
    opacity: 0.7;
    max-height: 100px;
    padding: 15px 25px;
    font-weight: bold;
}

    .footer span, footer a {
        font-style: normal;
        font-weight: normal;
        font-size: 0.875rem;
        line-height: 1rem;
        text-align: center;
    }

    .footer a {
        color: #2671e1;
        margin-left: 20px;
    }

.note {
    font-size: 0.75rem;
    font-style: italic;
}

.val-error-msg {
    display: none;
    color: #E20029;
    font-size: 0.625rem;
}

.val-error-msg-show {
    display: block;
}

.id-seguimineto {
    position: absolute;
    right: 10px;
    bottom: 60px;
    color: #a0a0a0;
}

@media only screen and (max-width: 720px) {
    .id-seguimineto {
        right: 10px;
        bottom: 5px;
    }
}