﻿@color-green-light: #10c4b5;
@color-green: #209e91;

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}

* {
    margin: 0px;
    padding: 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.errorMessage {
    font-size: 15px !important;
    color: red !important;
    line-height: normal !important;
    margin-top: 10px !important;
    margin-bottom: unset !important;
}

html, body {
    font-family: sans-serif !important;
    background: linear-gradient(20deg,#fefefe,#e9e9e9);
    background-repeat: no-repeat;
    width: 100%;
    height: calc(100vh);
    margin: 0px;
    padding: 0px;
    color: #333333 !important;
}

input, button {
    font-family: sans-serif, Arial;

    &:focus, &:active {
        outline: none;
    }
}

a {
    text-decoration: none;

    &:focus, &:active {
        outline: none;
    }
}
.mt-30{margin-top:30px !important}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    letter-spacing: 1px;
}

.container {
    height: calc(100vh);
    width: 100%;
    position: relative;
    text-align: center;

    &:before {
        content: '';
        height: 100%;
        width: 0px;
        display: inline-block;
        vertical-align: middle;
    }
}

#forgotPassword {
    color: #4285f4;
    font-size: 15px;
    font-weight: 500;

    &:active, &:focus, &:hover {
        text-decoration: none !important;
    }
}

#closeforgotPassword {
    color: #fff;
    position: absolute;
    z-index: 9999;
    right: 25px;
}

@media(max-width:601px) {
    html, body {
        background: #fff;
    }

    .container {
        padding: 0px;
    }

    .formBox {
        width: 100% !important;
        height: 100% !important;
        margin: 0 0 0 -4px !important;

        .boxShaddow {
            display: none !important;
        }

        .box {
            padding: 0px 15px !important;
            height: unset !important;
            border-radius: unset !important;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: none !important;
        }
    }

    .formBox form {
        padding: 0 20px !important;
    }

    .regTag.icon-add {
        display: none;
    }
}

.formBox {
    width: 460px;
    max-width: 100%;
    height: 552px;
    margin-left: -4px;
    margin-top: 50px;
    margin-bottom: 40px;
    position: relative;
    vertical-align: middle;
    display: inline-block;

    .box {
        text-align: left;
        background-color: #fff;
        border-radius: 8px;
        padding: 60px 0px 40px 0;
        position: absolute;
        width: 100%;
        height: 100%;
        box-shadow: 0px 2px 11px -2px rgba(0, 0, 0, 0.5);
        transition: all 0.2s cubic-bezier(.35,.33,.75,.9);
    }

    .loginBox {
        label {
            font-weight: 500;
            color: @color-green-light;
            opacity: 0.8;
            font-size: 12px;
        }

        .form-control {
            width: 100% !important;
            max-width: 100% !important;
            font-size: 18px;
            border-radius: 0px !important;
            border: none !important;
            border-bottom: 1px solid @color-green !important;
            padding: 0px !important;
            outline: none !important;
            box-shadow: none !important;
            margin-top:5px;
            &:focus, &:hover {
                outline: none !important;
                box-shadow: none !important;
                border-bottom-color: @color-green !important
            }
        }
    }

    h2 {
        border-left: 6px solid @color-green;
        color: @color-green-light;
        padding: 0px 45px;
        font-size: 32px;
        line-height: 45px;
        height: 45px;
        text-transform: uppercase;
        margin-bottom: 50px;
        position: relative;

        span {
            display: block;
            font-size: 15px;
            margin-top: -20px;
            color: #333333;
            font-weight: 400;
            text-transform: initial;
        }
    }

    p {
        font-size: 18px;
        line-height: 27px;
        margin-bottom: 30px;
        color: #696969;
    }

    form {
        display: block;
        padding: 0px 50px;
        position: relative;
    }

    .f_row {
        position: relative;
        margin-bottom: 45px;
        height: 52px;

        &.shake {
            animation: shake 0.4s linear;
        }

        &.last {
            margin-bottom: 53px;
        }

        label {
            color: #757575;
            font-size: 20px;
            font-weight: normal;
            position: absolute;
            left: 0;
            top: 10px;
            opacity: 1;
            transition: all 0.3s cubic-bezier(1,-0.33,0,1.15);
            transform: translate(0px, 0px) scale(1);
            transform-origin: left top;
        }

        input {
            background-color: transparent !important;
            border: none;
            color: #757575 !important;
            font-size: 20px;
            width: 100%;
            height: 100%;
            position: relative;
        }

        u {
            background-color: #e1e1e1;
            width: 100%;
            height: 2px;
            position: absolute;
            left: 0;
            bottom: 0;

            &:before {
                content: '';
                display: block;
                height: 100%;
                width: 0;
                background-color: @color-green-light;
                transition: all 0.35s cubic-bezier(.35,.33,.84,.85);
            }
        }

        &.focus {
            label {
                opacity: 0.5;
                color: @color-green;
                transform: translate(0px, -30px) scale(0.8);
            }

            u {
                &:before {
                    width: 100%;
                }
            }
        }
    }

    .reg_bg {
        border-radius: 50%;
        background-color: #ed2553;
        position: absolute;
        width: 900px;
        height: 900px;
        right: -115px;
        top: -190px;
        transform-origin: 100% 40%;
        transform: scale(0);
    }

    .regTag {
        line-height: 100px;
        box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0.45);
        border-radius: 50%;
        background-color: #ed2553;
        color: #fff;
        font-size: 58px;
        text-align: center;
        width: 100px;
        height: 100px;
        position: absolute;
        right: -50px;
        top: 40px;
        z-index: 2;

        svg {
            fill: #fff;
            width: 38px;
            height: 38px;
        }

        span {
            display: none;
        }
    }

    .registerBox {
        border-radius: 8px;
        background-color: #fff;
        right: 0;
        overflow: hidden;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        backface-visibility: visible;
        z-index: 1;

        .f_row {
            label, input {
                color: #fff !important;
            }

            u {
                background-color: #f87c98;

                &:before {
                    background-color: #fff;
                }
            }

            &.last {
                margin-bottom: 40px;
            }
        }

        h2 {
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s cubic-bezier(.48,.55,.69,.9);
            transform: translateX(-20px);
        }

        .form > div {
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s cubic-bezier(.48,.55,.69,.9);
            transform: translateX(20px);

            &:nth-child(1) {
                transition-delay: 0.15s;
            }

            &:nth-child(2) {
                transition-delay: 0.2s;
            }

            &:nth-child(3) {
                transition-delay: 0.25s;
            }
        }

        .btn-large {
            opacity: 0;
            transition: all 0.3s cubic-bezier(.48,.55,.69,.9);
            transform: translateX(20px);
            transition-delay: 0.3s;
        }
    }

    .forgetbox {
        background-color: #56ADC7;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translate(0px, 9px) scale(1.03);

        .back {
            position: absolute;
            top: 13px;
            left: 26px;
            color: #fff;
            font-size: 32px;
            font-weight: bold;
            animation: back 0.8s linear;
            animation-iteration-count: infinite;

            svg {
                fill: #fff;
                width: 20px;
                height: 20px;
            }
        }

        .f_row {
            label, input {
                color: #fff;
            }

            u {
                background-color: #7DC6DC;

                &:before {
                    background-color: #fff;
                }
            }

            &.last {
                margin-bottom: 40px;
            }
        }

        .btn {
            border-color: #7DC6DC;
            color: #7DC6DC;

            u {
                background-color: #7DC6DC;
            }
        }

        h2 {
            color: #fff;
            border-left-color: #fff;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s cubic-bezier(.48,.55,.69,.9);
            transform: translate(-20px, 0px);
        }

        .form > div {
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s cubic-bezier(.48,.55,.69,.9);
            transform: translate(0px, 20px);
            transition-delay: 0.15s;
        }

        p {
            color: #fff;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s cubic-bezier(.48,.55,.69,.9);
            transform: translate(0px, 20px);
            transition-delay: 0.2s;
        }

        .btn {
            opacity: 0;
            transition: all 0.3s cubic-bezier(.48,.55,.69,.9);
            transform: translate(0px, 20px);
            transition-delay: 0.25s;
        }
    }

    &.level-login {
        .boxShaddow {
            opacity: 0.7;
            transform-origin: center top;
            transform: translate(0px, -9px) scale(0.97);
        }
    }

    &.level-reg {
        h2 {
            border-left-color: #fff;
            color: #fff;
        }

        .boxShaddow {
            opacity: 0.7;
            transform-origin: center top;
            transform: translate(0px, -18px) scale(0.94);
        }

        .loginBox {
            opacity: 0.7;
            transform-origin: center top;
            transform: translate(0px, -9px) scale(0.97);
        }

        .registerBox {
            opacity: 1;
            visibility: visible;
        }

        .regTag {
            animation: regTag 0.3s cubic-bezier(.48,.55,.73,.78), regTag2 0.3s cubic-bezier(.48,.55,.73,.78);
            animation-fill-mode: forwards;
            //animation-direction: reverse;
        }

        .reg_bg {
            animation: regMask 0.3s cubic-bezier(.48,.55,.73,.78);
            animation-fill-mode: forwards;
        }

        .form > div, .btn-large, h2 {
            visibility: visible;
            opacity: 1;
            transform: translateX(0px);
        }
    }

    &.level-reg-revers {
        .regTag {
            animation: regTagR 0.3s cubic-bezier(.48,.55,.73,.78), regTag2R 0.3s cubic-bezier(.48,.55,.73,.78);
            /*animation-fill-mode: forwards;*/
        }

        .reg_bg {
            animation: regMaskR 0.3s cubic-bezier(.48,.55,.73,.78);
            /*animation-fill-mode: forwards;*/
        }
    }

    &.level-forget {
        .boxShaddow {
            opacity: 0.7;
            transform-origin: center top;
            transform: translate(0px, -18px) scale(0.94);
        }

        .loginBox {
            opacity: 0.7;
            transform-origin: center top;
            transform: translate(0px, -9px) scale(0.97);
        }

        .forgetbox {
            transform: translate(0px, 0px) scale(1);
            opacity: 1;
            visibility: visible;

            p, form > div, .btn, h2 {
                visibility: visible;
                opacity: 1;
                transform: translate(0px, 0px);
            }
        }
    }
}

@keyframes back {
    0% {
        transform: translateX(0px);
    }

    70% {
        transform: translateX(-13px);
    }

    100% {
        transform: translateX(0px);
    }
}

@keyframes regMask {
    0% {
        transform: translate(0px, 0px) scale(0);
    }

    50% {
        transform: translate(100px, 100px) scale(0.5);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

@keyframes regMaskR {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    50% {
        transform: translate(150px, -150px) scale(0.5);
    }

    100% {
        transform: translate(0px, 0px) scale(0);
    }
}

@keyframes regTag {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }

    25% {
        transform: translate(4px, 25px) rotate(11.25deg);
    }

    50% {
        transform: translate(-88px, 40px) rotate(22.5deg);
    }

    100% {
        transform: translate(-96px, 8px) rotate(45deg);
    }
}

@keyframes regTag2 {
    0% {
        width: 140px;
        height: 140px;
        line-height: 140px;
        box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0.45);
    }

    100% {
        width: 70px;
        height: 70px;
        box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0);
        line-height: 68px;
    }
}

@keyframes regTagR {
    0% {
        transform: translate(-96px, 8px) rotate(45deg);
    }

    25% {
        transform: translate(-88px, 40px) rotate(22.5deg);
    }

    50% {
        transform: translate(4px, 25px) rotate(11.25deg);
    }

    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}

@keyframes regTag2R {
    0% {
        width: 70px;
        height: 70px;
        box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0);
        line-height: 68px;
    }

    100% {
        width: 140px;
        height: 140px;
        line-height: 140px;
        box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0.45);
    }
}

@keyframes shake {
    from, to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

.btn {
    transition: all 0.6s ease;
    background-color: #fff;
    border: 3px solid @color-green-light;
    cursor: pointer;
    color: @color-green;
    display: block;
    text-align: center;
    width: 180px;
    height: 60px;
    line-height: 60px;
    font-size: 23px;
    font-weight: bold;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;

    span {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    u {
        border-radius: 50%;
        background-color: #ed2553;
        position: absolute;
        left: -23px;
        top: -103px;
        width: 280px;
        height: 280px;
        transition: all 0.25s cubic-bezier(.48,.55,.69,1.11);
        transform-origin: center center;
        transform: scale(0);
    }

    svg {
        fill: #fff;
        width: 35px;
        height: 35px;
        position: absolute;
        left: 50%;
        top: 50%;
        opacity: 0;
        transition: all 0.35s cubic-bezier(.48,.55,.69,1.11);
        transform: translate(-50%, -50%) rotate(-90deg) skew(18deg,12deg);
    }

    &.active, &:hover {
        border-color: @color-green !important;
        background-color: @color-green !important;
        color: #dfdfdf;
    }

    &:focus {
        color: #dfdfdf;
        outline: none;
    }

    &.active {
        u {
            transform: scale(1);
        }

        svg {
            opacity: 1;
            transform: translate(-50%, -50%) rotate(0deg) skew(0deg, 0deg);
        }
    }
}

.btn-large {
    /*transition: all 0.6s ease;
    background-color: #fff;
    border: 3px solid #fff;
    cursor: pointer;
    color: #ed2553;
    display: block;
    text-align: center;
    width: 100%;
    height: 70px;
    line-height: 67px;
    font-size: 23px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;*/
    &.active, &:hover {
        background-color: #ed2553;
        border-color: #fff;
        color: #fff;
    }
}

.my-btn {
    margin-top: 20px;
    border-radius: 50%;
    display: block;
    font-size: 25px;
    padding: 8px 12px;
    border-style: unset;
    margin: 0 auto;
    background-color: #fff;
    color: #ed2553;

    &.active, &:hover {
        background-color: #ed2553;
        border: 2px solid #fff;
        color: #fff;
    }
}

.f_link {
    text-align: center;
    padding-top: 50px;

    a {
        color: #bdbdbd;
        font-size: 23px;
        transition: all 0.6s ease;

        &:hover {
            color: #56ADC7;
        }
    }
}
/*****Loading progresec*/
.loading {
    display: inline-block;
    width: 100%;
    z-index: 9999;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
}

.loading-background {
    height: 100%;
    background-color: #ffffff !important;
    filter: alpha(opacity=50) !important;
    opacity: .50 !important;
}

.progress-line {
    background-color: #FFE0B2;
    display: -webkit-flex;
    display: flex;

    &:before {
        height: 3px;
        width: 100%;
        margin: 0;
    }

    &:after {
        text-align: center;
        position: absolute;
        color: #FFCC80;
        top: 15px;
        left: 40%;
    }
}

.progress-line:before {
    background-color: #FF6700;
    content: '';
    -webkit-animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@-webkit-keyframes running-progress {
    0% {
        margin-left: 0px;
        margin-right: 100%;
    }

    50% {
        margin-left: 25%;
        margin-right: 0%;
    }

    100% {
        margin-left: 100%;
        margin-right: 0;
    }
}

@keyframes running-progress {
    0% {
        margin-left: 0px;
        margin-right: 100%;
    }

    50% {
        margin-left: 25%;
        margin-right: 0%;
    }

    100% {
        margin-left: 100%;
        margin-right: 0;
    }
}
