﻿
@font-face {
    font-family: 'Roboto';
    src: local('Segoe UI');
    src: url(/front/fonts/Roboto-300.woff) format("woff");
    font-weight: bolder;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: local('Segoe UI');
    src: url(/front/fonts/Roboto-300.woff) format("woff");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: local('Segoe UI');
    src: url(/front/fonts/Roboto-300.woff) format("woff");
    font-weight: 200;
    font-style: normal;
}


body, html {
    height: 100vh;
    font-family: 'Roboto',sans-serif;
    overflow: hidden;
    background: #fff;
    width: 100%;
}

body {
    padding-left: 360px;
    position: relative;
    margin: 0;
}

.loginBox {
    background: #0f417f;
    display: block;
    max-width: 600px;
    margin: auto;
    border-radius: 0;
    padding: 3rem;
    height: 100%;
}

.login-page .logo {
    width: 300px;
}

.login-page h1 {
    font-size: 40px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 30px;
}

    .login-page h1 small {
        font-size: 20px;
        display: block;
        line-height: 20px;
        margin-bottom: 10px;
    }



.middle-it {
    position: fixed;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: unset;
    width: 100% !important;
    padding: 0 !important;
    max-width: 380px;
    border-radius: 12px;
    overflow: hidden;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.autofocus, * {
    outline: none !important;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
}

.col-lg-4, .col-md-6 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}


.overlay {
    background-color: rgba(239,239,239,0.50);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
    filter: alpha(opacity=50);
}

    .overlay:before, .overlay:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 50px;
        height: 50px;
        border-radius: 100%;
        border: 4px solid transparent;
        border-top-color: #104479;
        z-index: 99999;
        border-bottom-color: #104479;
    }

    .overlay:before {
        z-index: 100;
        animation: spin 1s linear infinite;
    }

    .overlay:after {
        z-index: 100;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


@media (min-width: 768px) {
    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.btn-submit {
    width: 100%;
    display: block;
    border: none;
    border-radius: 5px;
    height: 50px;
    padding: 5px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: var(--primaryColor);
    transition: ease .5s;
    cursor: pointer;
}

    .btn-submit:hover {
        box-shadow: 0 0 0 500px rgba(255,255,255,0.2) inset
    }

.form-input {
    display: block;
    width: 100%;
    border: none;
    padding: 0px 0px 0 40px;
    outline: none;
    border-radius: 5px;
    height: 40px;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
    transition: ease .5s;
    background: #f5f5f5;
    position: relative;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.form-input input {
    height: 100%;
    width: calc(100%);
    border: none;
    background: transparent;
}


.form-input img {
    width: 19px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 0.4;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.form-input input:focus ~ img {
    opacity: 1;
    transform: scale(1.1);
    top: 32%;
}

.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

@media screen and (max-width:1250px) {
    .login-page .logo {
        width: 300px;
        text-align: center;
    }

    .login-page h1 {
        font-size: 30px;
    }
}

@media screen and (max-width:500px) {
    .login-page h1 {
        font-size: 25px;
    }

        .login-page h1 small {
            font-size: 18px;
        }
}

.cus-logo {
    display: inline-block;
    background: #eee;
    padding: 0;
    width: 57px;
    border-radius: 8px;
    margin-right: 11px;
}



*,
*::before,
*::after {
    box-sizing: border-box;
}


img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
    vertical-align: top;
}

@keyframes fadeSlide {
    0% {
        transform: translateY(30px)scale(0.8);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@-webkit-keyframes fadeSlide {
    0% {
        transform: translateY(30px)scale(0.8);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@-moz-keyframes fadeSlide {
    0% {
        transform: translateY(30px)scale(0.8);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes goleft {
    100% {
        left: 230px;
    }
}

.info-box {
    border-radius: 0;
    background-color: rgba(255, 255,255, 0.08);
    box-shadow: 1px 1px 0 inset rgb(255 255 255 / 30%);
    display: block;
    transition: all 0.2s ease-in-out;
    width: 250px;
    height: 70px;
    opacity: 1;
    animation: fadeSlide 0.8s forwards;
    animation-delay: 0s;
    display: block;
    margin: 9px 7px;
    border-bottom: 1px dashed #ddd;
    backdrop-filter: blur(4px);
    transform: translateY(30px)scale(0.8);
    opacity: 0;
}

    .info-box.disabled * {
        filter: grayscale(2) !important;
        opacity: 0.85;
        cursor: not-allowed;
    }

    .info-box.disabled .icon svg {
        transform: rotate(0) scale(1) !important;
    }

    .info-box.disabled:hover {
        box-shadow: none !important;
    }

    .info-box.disabled .iconbgColor {
        display: none;
    }

    .info-box:nth-child(2) {
        animation-delay: 0.3s;
    }

    .info-box:nth-child(3) {
        animation-delay: 0.4s;
    }

    .info-box:nth-child(4) {
        animation-delay: 0.5s;
    }

    .info-box:nth-child(5) {
        animation-delay: 0.6s;
    }

    .info-box .path {
        height: 100%;
        display: block;
        padding: 4px 10px;
    }

    .info-box .content {
        display: inline-block;
        vertical-align: middle;
        width: calc(100% - 60px);
        padding: 7px 10px;
    }

        .info-box .content .text {
            font-size: 1.1rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            margin: 0;
            color: #768eac;
            font-weight: 600;
        }

        .info-box .content .sysName {
            font-size: 14px;
            color: #a4a4a4;
            font-weight: 200;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .info-box .icon {
        display: inline-block;
        border-radius: 100px;
        margin: 0 0 0 10px;
        vertical-align: middle;
        width: 50px;
        background: none;
        padding-right: 7px;
    }

        .info-box .icon svg {
            margin: 0;
            font-size: 31px;
            line-height: 62px;
            position: relative;
            z-index: 1;
            width: 40px;
            fill: #8ec9ff;
            transition: all 0.2s ease;
        }

        .info-box .icon .iconbgColor {
            height: 45px;
            position: absolute;
            top: 8px;
            left: 7px;
            right: 200px;
            border-radius: 10px;
            z-index: 0;
            opacity: 0.8;
            -webkit-transition: all 0.2s;
            -moz-transition: all 0.2s;
            -ms-transition: all 0.2s;
            -o-transition: all 0.2s;
            transition: all 0.2s;
        }

    .info-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 24px 35px -21px rgb(0, 0, 0,0.24);
    }

        .info-box:hover .icon svg {
            transform: rotate(-32deg) scale(1.3);
        }

        .info-box:hover .iconbgColor {
            max-width: 250px;
            height: 50px;
            position: absolute;
            top: 5px;
            animation: goleft 0.4s forwards;
            animation-delay: 0s;
            animation-delay: 0.15s;
            right: 5px;
            border-radius: 6px;
            z-index: 100;
            opacity: 0.7;
        }

    .info-box:nth-child(1) svg {
        fill: #ffa642;
    }

    .info-box:nth-child(2) svg {
        fill: #7bbf75;
    }

    .info-box:nth-child(3) svg {
        fill: #c18eff;
    }

.author {
    font-size: 11px;
    text-align: center;
    color: #fff;
    letter-spacing: 3px;
    font-weight: 100;
    margin-top: 25px;
    font-family: roboto;
}

    .author a {
        color: #fff;
        text-decoration: none;
        transition: all 0.2s;
    }

        .author a:hover {
            color: yellow;
            font-size: 12px;
        }

.sysLinkWrp {
    display: flex;
    flex-wrap: wrap;
}

.mainWrp {
    width: 570px;
    margin: auto;
    position: absolute;
    left: 60%;
    top: 50%;
    margin-left: -275px;
    margin-top: -170px;
}

    .mainWrp h3 {
        margin: 0;
        color: #777;
        font-weight: 400;
        padding-left: 20px;
    }

    .mainWrp p {
        margin: 0;
        padding-left: 20px;
        font-size: 14px;
        color: #aaa;
        font-weight: 400;
    }






/*Redirect page style-----------------------------------------------------------------------------------------------*/

.redirectBody {
    background: #fff;
    color: #646d7c;
    font-family: "Roboto",sans-serif;
    font-weight: 300;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: fixed;
    z-index: 100;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
}

.DirectWrapper h1 {
    color: #646d7c;
    font-family: "Roboto",sans-serif;
    font-weight: 200;
    font-stretch: normal;
    font-size: 3em;
    margin: 0;
}

.DirectWrapper a {
    color: #3d4148;
    font-family: "Roboto",sans-serif;
}
/*system colors*/
.DirectWrapper .pats {
    color: #e47624;
}

.DirectWrapper .ppms {
    color: #ee3c3c;
}

.DirectWrapper .pwms {
    color: #45b761;
}

.DirectWrapper .cpms {
    color: #a85bcb;
}

.DirectWrapper .edms {
    color: #367ad0;
}

.DirectWrapper .pmix {
    color: #25a5c2;
}

.DirectWrapper {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding-left: 5rem;
    overflow: hidden;
}

@media only screen and (max-width:992px) {
    .DirectWrapper {
        padding-left: 0;
        align-items: center;
    }
}

.slider {
    width: 400px;
    height: 2px;
}

.line {
    position: absolute;
    background: #646d7c;
    width: 400px;
    height: 2px;
}

.break {
    position: absolute;
    background: #fff;
    width: 10px;
    height: 2px;
}

.dot1 {
    -webkit-animation: loading 2s infinite;
    -moz-animation: loading 2s infinite;
    -ms-animation: loading 2s infinite;
    -o-animation: loading 2s infinite;
    animation: loading 2s infinite;
}

.dot2 {
    -webkit-animation: loading 2s 0.5s infinite;
    -moz-animation: loading 2s 0.5s infinite;
    -ms-animation: loading 2s 0.5s infinite;
    -o-animation: loading 2s 0.5s infinite;
    animation: loading 2s 0.5s infinite;
}

.dot3 {
    -webkit-animation: loading 2s 1s infinite;
    -moz-animation: loading 2s 1s infinite;
    -ms-animation: loading 2s 1s infinite;
    -o-animation: loading 2s 1s infinite;
    animation: loading 2s 1s infinite;
}

@keyframes loading {
    from {
        left: 0;
    }

    to {
        left: 500px;
    }
}

@-moz-keyframes loading {
    from {
        left: 0;
    }

    to {
        left: 500px;
    }
}

@-webkit-keyframes loading {
    from {
        left: 0;
    }

    to {
        left: 500px;
    }
}

@-ms-keyframes loading {
    from {
        left: 0;
    }

    to {
        left: 500px;
    }
}

@-o-keyframes loading {
    from {
        left: 0;
    }

    to {
        left: 500px;
    }
}



.redirectBody.dark h1 {
    color: #b4b4b4
}

.redirectBody.dark {
    background: #262a31;
    color: #737373;
}

    .redirectBody.dark .line {
        background: #737373;
    }

    .redirectBody.dark .break {
        background: #262a31;
    }
/*Redirect page style-----------------------------------------------------------------------------------------------*/


.version {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    color: #ffffff80;
    font-weight: 100;
    background: rgba(0,0,0,0.18);
    padding: 0px 23px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    font-size: 12px;
    height: 22px;
    line-height: 19px;
}


.splashWrp {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(20,27, 43, 0.65);
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Splash Screen */
}

    .splashWrp > div:last-child {
        position: relative;
        top: 58px;
        color: #fff;
        letter-spacing: 3px;
        left: 8px;
    }

    .splashWrp.fade-out {
        animation: fadeOut 0.5s ease-in 4s forwards;
    }

    .splashWrp * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .splashWrp body {
        background: white;
    }

    .splashWrp .content {
        background-color: white;
        min-height: 100vh;
        position: relative;
        left: 10%;
    }

        .splashWrp .content h1 {
            color: blue;
            font-size: 3.6rem;
        }

    .splashWrp .splash.display-none {
        width: 100%;
        opacity: 0;
        height: 100vh;
        position: fixed;
        background-color: rgba(0, 0, 0, 0);
        z-index: -10;
        transition: all 0.5s;
    }

    .splashWrp #logo {
        fill: transparent;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: fill 5s ease infinite;
    }

        .splashWrp #logo path {
            stroke-dasharray: 5000px;
            stroke-dashoffset: 10000px;
            animation: line-anim 10s ease infinite;
            stroke-width: 4rem;
        }
/*forget passwod --------------------------------------------------------------------------------*/

.form-forget {
    text-align: center;
}

    .form-forget a {
        font-size: 12px;
        padding: 0px 0 5px 0;
        display: inline-block;
        color: #a2bfe4;
        cursor: pointer;
        text-decoration: underline;
    }

@keyframes line-anim {
    50% {
        stroke-dashoffset: 1200px;
        stroke-dasharray: 13000px;
        stroke: white;
        /* stroke-width: 50px; */
    }
}

@keyframes fill {
    0% {
        fill: transparent;
    }

    50% {
        fill: rgba(0, 0, 0, 0.2);
    }

    100% {
        fill: transparent;
    }
}



/*New Login --------------------------------------------------------------------------------------------*/
/*New Login --------------------------------------------------------------------------------------------*/
/*New Login --------------------------------------------------------------------------------------------*/
body {
    color: #49546d
}

.obj1 {
    position: absolute;
    right: 0;
    width: 88%;
    aspect-ratio: 1;
    padding: 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-image: url("/Content/img/loginElm.svg");
    mask-image: url("/Content/img/loginElm.svg");
    -webkit-mask-size: 180vh;
    mask-size: 180vh;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: right center;
    mask-position: right center;
    transition: -webkit-mask-image 2s ease-in-out;
    transition: mask-image 2s ease-in-out;
    transition: mask-image 2s ease-in-out, -webkit-mask-image 2s ease-in-out;
    background-position-x: 0%;
    -moz-box-shadow: 66rem 0 30rem 17rem var(--primaryColorAlpha60) inset, 8rem 2rem 16rem 24rem inset var(--primaryColorAlpha30);
    -webkit-box-shadow: 66rem 0 30rem 17rem var(--primaryColorAlpha60) inset, 8rem 2rem 16rem 24rem inset var(--primaryColorAlpha30);
    box-shadow: 66rem 0 30rem 17rem var(--primaryColorAlpha60) inset, 8rem 2rem 16rem 24rem inset var(--primaryColorAlpha30);
    -moz-animation: bg-size 10s infinite;
    -o-animation: bg-size 10s infinite;
    -webkit-animation: bg-size 10s infinite;
    animation: bg-size 10s infinite;
}
/*        .obj1 {
            width: 100vh;
            height: 100vh;
            border: 1px solid transparent;
            transform: rotate(45deg) scale(1.5);
            border-radius: 3rem;
            background: #468bff;
            position: absolute;
            right: -20%;
            top: 0;
            z-index: 0;
            overflow: hidden;
            box-shadow: 65rem 0 5rem 0rem #0095ff
        }*/
@keyframes bg-size {
    50% {
        background-position-x: 5%;
    }
}

@-moz-keyframes bg-size {
    50% {
        background-position-x: 5%;
    }
}

@-webkit-keyframes bg-size {
    50% {
        background-position-x: 5%;
    }
}

.obj2 {
    width: 100vh;
    height: 100vh;
    border: 1px solid transparent;
    transform: rotate(45deg) scale(1.5);
    border-radius: 3rem;
    background: #6bafff;
    position: absolute;
    right: -20%;
    top: 0;
    z-index: 0;
    box-shadow: 0 8rem 19rem 13rem inset #0055ff, 2rem 6rem 0 0rem #0055ff5c;
    mix-blend-mode: inherit;
    opacity: 0.2;
}

.version {
    right: 90px;
    background: transparent
}

.cus-logo {
    background-color: transparent;
    width: 61px;
    border-radius: 0;
}

.afam-logo {
    background-color: transparent;
    width: 32px;
    margin-right: 6px;
    border-radius: 0;
    filter: grayscale(1) brightness(0);
    opacity: 0.5;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

    .afam-logo:hover {
        opacity: 1;
        filter: grayscale(0);
    }

@media(min-width:1590px) {
    .obj1, .obj2 {
        right: 0
    }
}

@media(max-width:1420px) and (min-width:992px) {
    .obj1, .obj2 {
        right: -15%
    }
}

@media(max-width:1000px) {
    .lgn-wapper {
        width: 100%
    }

    .obj1, .obj2 {
        display: none;
    }

    .login-page {
        margin: auto !important;
    }
}

.lgn-wapper .loginBox {
    padding: 0
}

.sysLinkWrp {
    display: flex;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    padding-left: 5px
}

.other-systems-item {
    margin-right: 15px;
    transition: all 0.2s ease-in-out;
}

    .other-systems-item svg {
        width: 22px;
    }

        .other-systems-item svg path {
            fill: #6c7280
        }

    .other-systems-item:hover svg path {
        fill: #eb6f27
    }

    .other-systems-item:hover {
        transform: translateY(-5px)
    }



/** fadeInLeft **/

@-webkit-keyframes fadeInRight {
    from {
        -webkit-transform: translatex(100px)rotate(45deg) scale(1.5);
        -moz-transform: translatex(100px)rotate(45deg) scale(1.5);
        -o-transform: translatex(100px)rotate(45deg) scale(1.5);
        transform: translatex(100px)rotate(45deg) scale(1.5);
    }

    to {
        -webkit-transform: translatex(0)rotate(45deg) scale(1.5);
        -moz-transform: translatex(0)rotate(45deg) scale(1.5);
        -o-transform: translatex(0)rotate(45deg) scale(1.5);
        transform: translatex(0)rotate(45deg) scale(1.5);
    }
}

@-moz-keyframes fadeInRight {
    from {
        -webkit-transform: translatex(100px)rotate(45deg) scale(1.5);
        -moz-transform: translatex(100px)rotate(45deg) scale(1.5);
        -o-transform: translatex(100px)rotate(45deg) scale(1.5);
        transform: translatex(100px)rotate(45deg) scale(1.5);
    }

    to {
        -webkit-transform: translatex(0)rotate(45deg) scale(1.5);
        -moz-transform: translatex(0)rotate(45deg) scale(1.5);
        -o-transform: translatex(0)rotate(45deg) scale(1.5);
        transform: translatex(0)rotate(45deg) scale(1.5);
    }
}

@keyframes fadeInRight {
    from {
        -webkit-transform: translatex(100px)rotate(45deg) scale(1.5);
        -moz-transform: translatex(100px)rotate(45deg) scale(1.5);
        -o-transform: translatex(100px)rotate(45deg) scale(1.5);
        transform: translatex(100px)rotate(45deg) scale(1.5);
    }

    to {
        -webkit-transform: translatex(0)rotate(45deg) scale(1.5);
        -moz-transform: translatex(0)rotate(45deg) scale(1.5);
        -o-transform: translatex(0)rotate(45deg) scale(1.5);
        transform: translatex(0)rotate(45deg) scale(1.5);
    }
}

.in-right {
    -webkit-animation-name: fadeInRight;
    -moz-animation-name: fadeInRight;
    -o-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -moz-animation-timing-function: ease-in;
    -o-animation-timing-function: ease-in;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    -webkit-animation-duration: .5s;
    -moz-animation-duration: .5s;
    -o-animation-duration: .5s;
    animation-duration: .5s;
    -o-animation-duration: 0.5s;
}

.add-delay {
    -moz-animation-delay: 0.1s;
    -o-animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}
