﻿/*css 初始化 */

html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei';
}

input::-webkit-input-placeholder { /* WebKit browsers */
    font-family: 'Microsoft YaHei';
}

input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    font-family: 'Microsoft YaHei';
}

input::-moz-placeholder { /* Mozilla Firefox 19+ */
    font-family: 'Microsoft YaHei';
}

input:-ms-input-placeholder { /* Internet Explorer 10+ */
    font-family: 'Microsoft YaHei';
}

/*将标签原有的默认内外边距去掉*/

fieldset,
img,
input,
button {
    border: none;
    /*去掉边框*/
    padding: 0;
    margin: 0;
    outline-style: none;
    /*去掉环绕边框*/
}

ul,
ol {
    list-style: none;
    /*去掉原样式中的小黑点*/
    /*ctrl+alt+l*/
}

input {
    padding-top: 0;
    padding-bottom: 0;
}

body {
    /* min-width: 1000px; */
    background: #ffffff;
    background-image: url('../loginBackground0.png');
    background-size: cover;
}

content {
    transform-style: preserve-3d;
}

#backGroundImg1 {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -620px;
    margin-top: -420px;
    overflow: hidden; 
}

@media screen and (min-width:1366px) and (max-width:1440px) {
    #backGroundImg1 {
        transform: scale(0.8);/*会使内部z-index失效*/
        z-index:1;
    }
    .bg-bubbles {
        z-index: 0 !important;
    }
}
@media screen and (max-width:1366px) {
    #backGroundImg1 {
        transform: scale(0.75);
        z-index: 1;
    }

    .bg-bubbles {
        z-index: 0 !important;
    }
}
.Title {
    position: absolute;
    left: 129px;
    top: 139px;
    color: #ffffff;
    font-family: "Microsoft YaHei";
}

.platformName {
    font-size: 26px;
}

.platformDescription {
    margin-top: 15px;
    font-size: 15px;
    width: 400px;
}

.loginDiv {
    position: absolute;
    left: 672px;
    z-index: 250;
    top: 139px;
}

.loginText {
    color: #0076fe;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    width: 425px;
    margin-top: 25px;
    margin-bottom: 80px;
}

.inputText {
    margin: 15px;
    width: 422px;
}

    .inputText input {
        width: 422px;
        height: 45px;
        border-radius: 5px;
        background-color: #fff;
        border: 1px solid #b9bed1;
        padding-left: 55px;
        font-size: 16px;
    }

    .inputText .fa {
        font-size: 20px;
        position: absolute;
        color: #b9bed1;
    }

.fa-home {
    top: 145px;
    left: 34px;
}

.fa-lock {
    left: 38px;
    top: 205px;
}

.togglePwd .fa {
    left: 398px;
    top: 205px;
    cursor: pointer;
}

.loginForget {
    margin: 25px;
    font-size: 15px;
}

.rememberLbl {
    cursor: pointer;
    font-weight: 600;
    user-select: none;
    margin-left: 24px;
}

.loginForget span {
    float: right;
    color: #9fa0a3;
    cursor: pointer;
}

.loginBtnDiv {
    width: 425px;
    margin-top: 20px;
    margin-left: 15px;
}

.btnLogin {
    width: 422px;
    border-radius: 15px;
    height: 45px;
    border-radius: 5px !important;
    background-color: #0076fe !important;
    font-size: 18px;
}

.btnRest {
    width: 422px;
    border-radius: 15px;
    height: 45px;
    border-radius: 5px !important;
    font-size: 18px;
}
/*呼吸灯*/
input:focus {
    -webkit-animation: glow 1300ms ease-out infinite alternate;
    -moz-animation: glow 1300ms ease-out infinite alternate;
    -o-animation: glow 1300ms ease-out infinite alternate;
    -ms-animation: glow 1300ms ease-out infinite alternate;
    /*这里使用了呼吸动画*/
    animation: glow 1300ms ease-out infinite alternate;
    outline: none;
    outline-offset: 0px;
    /*border-radius: 5px;*/
}
/*以下定义动画帧*/
@-webkit-keyframes glow {
    0% {
        border-color: #c4e0fe;
        box-shadow: 0 0 5px rgba(174, 181, 233, 0.20), inset 0 0 5px rgba(166, 186, 242, 0.10), 0 0 0 #000;
    }

    100% {
        border-color: #a4b1fe;
        box-shadow: 0 0 10px rgba(113, 115, 248, 0.60), inset 0 0 7.5px rgba(124, 131, 248, 0.40), 0 0 0 #000;
    }
}

@-moz-keyframes glow {
    0% {
        border-color: #c4e0fe;
        box-shadow: 0 0 5px rgba(174, 181, 233, 0.20), inset 0 0 5px rgba(166, 186, 242, 0.10), 0 0 0 #000;
    }

    100% {
        border-color: #a4b1fe;
        box-shadow: 0 0 10px rgba(113, 115, 248, 0.60), inset 0 0 7.5px rgba(124, 131, 248, 0.40), 0 0 0 #000;
    }
}

@-o-keyframes glow {
    0% {
        border-color: #c4e0fe;
        box-shadow: 0 0 5px rgba(174, 181, 233, 0.20), inset 0 0 5px rgba(166, 186, 242, 0.10), 0 0 0 #000;
    }

    100% {
        border-color: #a4b1fe;
        box-shadow: 0 0 10px rgba(113, 115, 248, 0.60), inset 0 0 7.5px rgba(124, 131, 248, 0.40), 0 0 0 #000;
    }
}

@-ms-keyframes glow {
    0% {
        border-color: #c4e0fe;
        box-shadow: 0 0 5px rgba(174, 181, 233, 0.20), inset 0 0 5px rgba(166, 186, 242, 0.10), 0 0 0 #000;
    }

    100% {
        border-color: #a4b1fe;
        box-shadow: 0 0 10px rgba(113, 115, 248, 0.60), inset 0 0 7.5px rgba(124, 131, 248, 0.40), 0 0 0 #000;
    }
}

@keyframes glow {
    0% {
        border-color: #c4e0fe;
        box-shadow: 0 0 5px rgba(174, 181, 233, 0.20), inset 0 0 5px rgba(166, 186, 242, 0.10), 0 0 0 #000;
    }

    100% {
        border-color: #a4b1fe;
        box-shadow: 0 0 10px rgba(113, 115, 248, 0.60), inset 0 0 7.5px rgba(124, 131, 248, 0.40), 0 0 0 #000;
    }
}


.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

    .bg-bubbles li {
        position: absolute;
        list-style: none;
        display: block;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.15);
        bottom: -160px;
        -webkit-animation: square 25s infinite;
        animation: square 25s infinite;
        -webkit-transition-timing-function: linear;
        transition-timing-function: linear;
    }

        .bg-bubbles li:nth-child(1) {
            left: 5%;
        }

        .bg-bubbles li:nth-child(2) {
            left: 150%;
            width: 80px;
            height: 80px;
            -webkit-animation-delay: 2s;
            animation-delay: 2s;
            -webkit-animation-duration: 17s;
            animation-duration: 17s;
        }

        .bg-bubbles li:nth-child(3) {
            left: 25%;
            -webkit-animation-delay: 4s;
            animation-delay: 4s;
        }

        .bg-bubbles li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            -webkit-animation-duration: 22s;
            animation-duration: 22s;
            background-color: rgba(255, 255, 255, 0.25);
        }

        .bg-bubbles li:nth-child(5) {
            left: 70%;
        }

        .bg-bubbles li:nth-child(6) {
            left: 80%;
            width: 50px;
            height: 50px;
            -webkit-animation-delay: 3s;
            animation-delay: 3s;
            background-color: rgba(255, 255, 255, 0.2);
        }

        .bg-bubbles li:nth-child(7) {
            left: 32%;
            width: 100px;
            height: 100px;
            -webkit-animation-delay: 7s;
            animation-delay: 7s;
        }

        .bg-bubbles li:nth-child(8) {
            left: 55%;
            width: 20px;
            height: 20px;
            -webkit-animation-delay: 15s;
            animation-delay: 15s;
            -webkit-animation-duration: 40s;
            animation-duration: 40s;
        }

        .bg-bubbles li:nth-child(9) {
            left: 25%;
            width: 10px;
            height: 10px;
            -webkit-animation-delay: 2s;
            animation-delay: 2s;
            -webkit-animation-duration: 40s;
            animation-duration: 40s;
            background-color: rgba(255, 255, 255, 0.3);
        }

        .bg-bubbles li:nth-child(10) {
            left: 90%;
            width: 90px;
            height: 90px;
            -webkit-animation-delay: 11s;
            animation-delay: 11s;
        }

@-webkit-keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-1200px) rotate(600deg);
        transform: translateY(-1200px) rotate(600deg);
    }
}

@keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-1200px) rotate(600deg);
        transform: translateY(-1200px) rotate(600deg);
    }
}
