.rk_login_page {
    background: #fff url(../images/rkweb/login_back.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rk_login_logo {

    width: 137px;
    margin-bottom: 2rem;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f1f4fd inset !important;
}

.alert {
    font-size: 12px;
    direction: rtl;
    text-align: right;
}


.rk_form_container {
    width: 300px;
}


.rk_group_row {
    position: relative;
    margin: 0;
    margin-bottom: 3rem !important;
}

.rk_input {
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    background: none;
    font-size: 15px;
}

.rk_input:focus {
    outline: none;
}

/* LABEL ======================================= */
.rk_input_label {
    color: #999;
    font-size: 15px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
.rk_input:focus~.rk_input_label,
.rk_input:valid~.rk_input_label {
    top: -20px;
    font-size: 14px;
    color: #585858;
}

/* BOTTOM BARS ================================= */
.rk_input_bar {
    position: relative;
    display: block;
    width: 300px;
}

.rk_input_bar:before,
.rk_input_bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #585858;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.rk_input_bar:before {
    left: 50%;
}

.rk_input_bar:after {
    right: 50%;
}

/* active state */
.rk_input:focus~.rk_input_bar:before,
.rk_input:focus~.rk_input_bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.rk_input_highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
.rk_input:focus~.rk_input_highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}


.rk_login_btn {
    padding: 8px 10px 13px 10px;
    background: #FB2576;
    border: 0;
    color: #fff;
    font-size: 15px;
    transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
    width: 100%;
    border-radius: 3px;
}

.rk_login_btn::after,
.rk_login_btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.rk_login_btn::after {
    width: 30px;
    height: 1px;
    background: white;
    transform: translateX(-3px);
    margin-top: 0px;
}

.rk_login_btn::before {
    content: "";
    transform: rotate(-135deg) translateX(50%);
    width: 11px;
    height: 11px;
    background: transparent;
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    margin-top: -1px;
}

.rk_login_btn:focus {
    outline: 1px dotted;
    outline: 1px auto #fff;
}

.rk_login_btn:hover {
    padding: 8px 10px 13px 10px;
}

.rk_login_btn:hover::after,
.rk_login_btn:hover::before {
    opacity: 1;
    right: 15px;
}


.rk_login_btn_load {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit
}

.rk_login_btn_load::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 3px solid #fff;
    width: 30px;
    height: 30px;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    animation: loading1 1s ease infinite;
    z-index: 10
}

.rk_login_btn_load::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 3px dashed #fff;
    width: 30px;
    height: 30px;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    animation: loading1 2s linear infinite;
    z-index: 5
}

@keyframes loading1 {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.rk_login_btn_load.active {
    transform: scale(.85)
}


.rk_login_btn .loading {
    opacity: 0;
    visibility: hidden
}

.activeLoading .loading {
    visibility: visible;
    opacity: 1
}