*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
}

svg {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    overflow: visible;
}

.svg-icon {
    cursor: pointer;
}

    .svg-icon path {
        stroke: rgba(0, 0, 0, 0.9);
        fill: none;
        stroke-width: 1;
    }

input, button {
    outline: none;
    border: none;
}

.cont {
    position: relative;
    height: 100%;
    left: 25%;
    background: #31475e;
    background-image: url("../../images/front-page.png");
    background-size: cover;
    overflow: auto;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.mandatory {
    border-bottom: 2px solid red;
    position: relative;
    z-index: 9;
    top: 0.5em;
}

@media (max-width: 450px) and (min-width: 320px) {
    .demo {
        position: absolute;
        top: 0%;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}

@media (max-width: 1024px) and (min-width: 451px) {
    .demo {
        position: absolute;
        top: 0%;
        width: 35%;
        height: 100%;
        overflow: hidden;
    }
}

@media (min-width: 1025px) {
    .demo {
        position: absolute;
        top: 0%;
        width: 25%;
        height: 100%;
        overflow: hidden;
    }
}

.login__check {
    position: absolute;
    top: 18%;
    left: 5%;
    padding: 0 10%;
}

.login-box {
    position: relative;
    border-right: 1px solid #ddd;
    height: 100%;
    /*background: #fff;*/
    background: linear-gradient(to bottom, #26c281 20%, #fafcfb 80%);
    -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__form {
    position: absolute;
    top: 35%;
    left: 0;
    width: 100%;
    padding: 0 10%;
}

.login__icon {
    margin-bottom: -0.4rem;
    margin-right: 0.5rem;
}

    .login__icon.name path {
        stroke-dasharray: 73.50196075439453;
        stroke-dashoffset: 73.50196075439453;
        -webkit-animation: animatePath 2s 0.5s forwards;
        animation: animatePath 2s 0.5s forwards;
    }

    .login__icon.pass path {
        stroke-dasharray: 92.10662841796875;
        stroke-dashoffset: 92.10662841796875;
        -webkit-animation: animatePath 2s 0.5s forwards;
        animation: animatePath 2s 0.5s forwards;
    }

.login__submit {
    left: 20px;
    position: relative;
    width: 80%;
    height: 4rem;
    color: #fff;
    background: #31475e;
    font-size: 1.5rem;
    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;
}

    .login__submit:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -1.5rem;
        margin-top: -1.5rem;
        width: 3rem;
        height: 3rem;
        border: 2px dotted #fff;
        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.processing {
        width: 4rem;
        font-size: 0;
    }

        .login__submit.processing:after {
            opacity: 1;
            -webkit-animation: rotate 0.5s 0.4s infinite linear;
            animation: rotate 0.5s 0.4s infinite linear;
        }

    .login__submit.success {
        -webkit-transition: opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
        transition: opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
        transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 1s 0.3s;
        transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
        -webkit-transform: scale(30);
        transform: scale(30);
        opacity: 0;
    }

        .login__submit.success:after {
            -webkit-transition: opacity 0.1s 0s;
            transition: opacity 0.1s 0s;
            opacity: 0;
            -webkit-animation: none;
            animation: none;
        }

.ripple {
    position: absolute;
    width: 15rem;
    height: 15rem;
    margin-left: -7.5rem;
    margin-top: -7.5rem;
    background: rgba(0, 0, 0, 0.4);
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-animation: animRipple 0.4s;
    animation: animRipple 0.4s;
    border-radius: 50%;
}

@-webkit-keyframes animRipple {
    to {
        -webkit-transform: scale(3.5);
        transform: scale(3.5);
        opacity: 0;
    }
}

@keyframes animRipple {
    to {
        -webkit-transform: scale(3.5);
        transform: scale(3.5);
        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 animatePath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes animatePath {
    to {
        stroke-dashoffset: 0;
    }
}
