*{
    margin: 0;
    padding: 0;
}

.loading-page, .fail-loading-box, .not-data-tip-box{
    height: 600px;
    position: relative;
}

.loading-box, .fail-loading-text, .not-data-tip{
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
            transform: translate3d(-50%, -50%, 0);
}

.fail-loading-text, .not-data-tip{
    color: #332A73;
    font-size: 18px;
    text-align: center;
}

.fail-loading-text>.reload-btn, .not-data-tip>.reload-btn{
    text-decoration: underline;
    cursor: pointer;
}

.container{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    min-height: 100vh;
    background-image: url(../../static/images/bg.292bcfb439bc0cc8277ac7a526a78b80.png);
    background-position: -250px -300px;
    background-repeat: no-repeat;
    min-width: 1400px;
}

.main{
    -webkit-box-flex: 1;
    -webkit-flex: auto;
        -ms-flex: auto;
            flex: auto;
}

.container-title, .info{
    text-align: center;
    color: #332A73;
}

.container-title{
    font-size: 26px;
    line-height: 30px;
    margin-top: 20px;
    font-weight: bold;
}

.info{
    font-size: 12px;
    margin: 20px;
}

.normal{
    color: #332A73;
}

.light-purple{
    color: #8079BE;
}

.pink{
    color: #F25767;
}

.white{
    color: #fff;
}

.yellow{
    color: #FFA000;
}

.flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.space-between{
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.normal-bg{
    background: #332A73;
}

.pink-bg{
    background: #F25767;
}

.yellow-bg{
    background: #FFCA73;
}

.white-bg{
    background: #fff;
}

.light-grey-bg{
    background: #F6F6FC;
}

.page-container{
    margin-bottom: 100px;
    position: relative;
}

.page-main{
    padding-bottom: 5px;
}

.page-header{
    padding: 10px 20px 0;
}


.pagination {
    position: absolute;
    bottom: -60px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}
.login-container{
    margin: 65px 0;
}

.tip{
    background-color: #332A73;
    color: #fff;
    font-size: 14px;
    border-radius: 15px;
    padding: 5px 20px;
    margin: 10px auto;
    width: 200px;
    text-align: center;
}

.choice-box{
    margin: 10px auto ;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}


.choice-box>.student-login, .choice-box>.teacher-login{
    opacity: 0.6;
    cursor: pointer;
}

.student-login-btn{
    background-color: #F25767;
}

.teacher-login-btn{
    background-color: #332A7C;
}

.choice-box>*:hover{
    -webkit-transition: opacity ease 0.5s;
    transition: opacity ease 0.5s;
    opacity: 1;
}

.teacher-login, .student-login{
    width: 450px;
    height: 450px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: relative;
}

.right-background{
    border-radius: 0 0 20px 0;
}

.left-background{
    border-radius: 20px 0 0 0;
}

.student-login{
    background: #F25767;
}

.teacher-login{
    background: #332A7C;
}

.student-img{
    background: url(../../static/images/student.996e39c01b518639654985e2dc63c62f.jpg);
    width: 188px;
    height: 188px;
    position: relative;
    z-index: 5;
}

.background-text{
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.teacher-img{
    background: url(../../static/images/teacher.f35dcf8d93e809e4f3071589dacd2d1b.jpg);
    width: 188px;
    height: 188px;
    position: relative;
    z-index: 5;
}

.form-container{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.form{
    padding: 50px 100px;
}

.form-item{
    margin: 30px 0;
}

.form-item>.forget-link{
    display: inline-block;
    border-bottom: 1px solid ;
}

.teacher-form{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background: #F6F6FC;
}

.student-form{
    background: rgba(34, 39, 43, 0.04);
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.teacher-form>.form, .student-form>.form{
    justify-self: center;
    -webkit-align-self: center;
        -ms-flex-item-align: center;
            align-self: center;
}

.teacher-login>.back-btn, .student-form>.back-btn{
    position: absolute;
    top: 40px;
    left: 40px;
}

.back-btn{
    font-size: 18px;
    display: inline-block;
    cursor: pointer;
}

.input{
    border: transparent;
    padding-bottom: 5px ;
    outline: none;
    background: none;
    width: 250px;
    border-radius: 0;
}

.input:focus{
    -webkit-box-shadow: none;
            box-shadow: none;
}

.normal-form-input{
    color: #8079BE;
    border-bottom: 1px solid #8079BE !important;
}

.normal-form-input::-webkit-input-placeholder{
    color: #8079BE;
}

.normal-form-input::-moz-placeholder{
    color: #8079BE;
}

.normal-form-input:-ms-input-placeholder{
    color: #8079BE;
}

.normal-form-input::-ms-input-placeholder{
    color: #8079BE;
}

.normal-form-input::placeholder{
    color: #8079BE;
}


.pink-form-input{
    color: #F25767;
    border-bottom: 1px solid #F25767 !important;
}

.pink-form-input::-webkit-input-placeholder{
    color: #F25767;
}

.pink-form-input::-moz-placeholder{
    color: #F25767;
}

.pink-form-input:-ms-input-placeholder{
    color: #F25767;
}

.pink-form-input::-ms-input-placeholder{
    color: #F25767;
}

.pink-form-input::placeholder{
    color: #F25767;
}

.button{
    display: block;
    border: transparent;
    border-radius: 20px;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 18px;
    cursor: pointer;
    outline: none;
    padding: 5px 0;
    color: #fff;
}

.button:hover{
    opacity: 0.8;
    -webkit-transition: opacity ease 0.5s;
    transition: opacity ease 0.5s;
}

.checkBox label{
    cursor: pointer;
    font-size: 16px;
}

.pink-checkBox-text{
    color: #F25767;
}

.normal-checkBox-text{
    color: #8079BE;
}

.checkBox>input[type="checkbox"]{
    opacity: 0;
    position: absolute;
}

.checkBox>input[type="checkbox"]+label:before{
    content: '';
    background: #fff;
    border-radius: 2px;
    width: 15px;
    height: 15px;
    display: inline-block;
    cursor: pointer;
    -webkit-transition: all 250ms;
    transition: all 250ms;
    vertical-align: -2px;
    margin: 0 5px;
}

.checkBox>input[type="checkbox"]+.pink-checkBox-text:before{
    border: 1px solid #F25767;
}

.checkBox>input[type="checkbox"]:checked+.pink-checkBox-text:before{
    background: #F25767;
    -webkit-box-shadow: inset 0 0 0 2px #fff;
            box-shadow: inset 0 0 0 2px #fff;
}

.checkBox>input[type="checkbox"]+.light-purple-checkBox-text:before{
    border: 1px solid #8079BE;
}

.checkBox>input[type="checkbox"]:checked+.light-purple-checkBox-text:before{
    background: #8079BE;
    -webkit-box-shadow: inset 0 0 0 2px #fff;
            box-shadow: inset 0 0 0 2px #fff;
}

.checkBox>input[type="checkbox"]+.normal-checkBox-text:before{
    border: 1px solid #332A73;
}

.checkBox>input[type="checkbox"]:checked+.normal-checkBox-text:before{
    background: #332A73;
    -webkit-box-shadow: inset 0 0 0 2px #fff;
            box-shadow: inset 0 0 0 2px #fff;
}


.checkBox>input[type="checkbox"]:focus+.checkBox-text:before{
    outline: none;
}

.select{
    display: inline-block;
}

.default-select{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

.select-btn, .active-select-btn{
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    font-size:20px;
}

.active-select-btn{
    -webkit-transform: rotateZ(180deg);
        -ms-transform: rotate(180deg);
            transform: rotateZ(180deg);
}

.active-select-option{
    max-height: 150px;
    opacity: 1;
    z-index: 100;
}

.active-select-option, .select-option{
    -webkit-transition: all 0.5s ;
    transition: all 0.5s ;
    position: absolute;
    font-size: 16px;
}

.select-option{
    max-height: 0;
    opacity: 0;
    z-index: -10;
}

.option-box{
    border: 1px solid #cccccc;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
    padding: 3px 1px 3px 0;

}

.example-vertical-track {
    background-color: transparent;
    width: 10px;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.example-horizontal-track {
    background-color: transparent;
    height: 10px;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.example-vertical-handler {
    width: 8px;
    right: 1px;
    border-radius: 4px;
    background-color: rgba(180, 180, 180, 0.6);
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    cursor: pointer;
}

.example-horizontal-handler {
    height: 8px;
    bottom: 1px;
    border-radius: 4px;
    background-color: rgba(180, 180, 180, 0.6);
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    cursor: pointer;
}

.example-horizontal-handler:hover, .example-vertical-handler:hover{
    background-color: rgba(180, 180, 180, 1);
}

.not-select{
    padding: 2px 20px;
    font-size: 16px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    color: #8079BE;
    text-align: center;
    border-radius: 5px;
}

.not-select:hover{
    color: #fff;
    background-color: rgba(128, 121, 190,0.6);
}

.selected{
    display: none;
}

.shadow-box{
    border: transparent;
    border-radius: 0 0 10px 0 ;
    -webkit-box-shadow: 1px 2px 1px #ccc;
            box-shadow: 1px 2px 1px #ccc;
    padding:  20px ;
    position: relative;
    margin-bottom: -5px;
}

.shadow-box{
    padding: 20px 40px;
}


.text{
    margin: 10px 0;
}

.record-box{
    border: transparent;
    border-radius: 10px 0 10px 0 ;
    -webkit-box-shadow: 1px 1px 2px 2px #ccc;
            box-shadow: 1px 1px 2px 2px #ccc;
    padding: 10px ;
    position: relative;
    width: 250px;
    margin: 0 auto;
}

.record-box>.shop-name{
    background: #332A7C;
    color: #fff;
    padding: 5px 0;
    font-size: 18px;
    text-align: center;
    border: transparent;
    border-radius: 20px;
}

.record-box>.button{
    width: 100px;
    position: absolute;
    bottom: 20px;
    right: 10px;
    padding: 0;
}

.table-box{
    margin: 20px ;
}

.table{
    border: 1px solid transparent;
}

.th-item{
    height: 40px;
    position: relative;
}

.th-item>*{
    display: inline-block;
    border: 2px solid ;
    border-radius: 15px 0 15px 0;
    padding: 10px 0;
    text-align: center;
    background-color: #332A7C;
    color: #fff;
    position: absolute;
    height: 45px;
    top: -4px;
}

.td-item{
    padding: 5px 0;
    text-align: center;
    border-left: 2px solid rgba(128, 121, 190, 1) ;
    border-right: 2px solid rgba(128, 121, 190, 1) ;
    border-bottom: 2px solid rgba(128, 121, 190, 0.4) ;
    font-size: 16px;
    color: #332A7C;
}

.dot-box{
    text-align: center;
}

.dot-box>*{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #332A73;
    border: transparent;
    display: inline-block;
    margin: 3px;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
    30% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: .3;
    }
    50% {
        -webkit-transform: translateY(-20px);
                transform: translateY(-20px);
        opacity: .8;
    }
    70% {
        -webkit-transform: translateY(3px);
                transform: translateY(3px);
        opacity: .8;
    }
    85%{
        -webkit-transform: translateY(-1px);
                transform: translateY(-1px);
    }
    100%{
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
}

@keyframes loading {
    0% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
    30% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: .3;
    }
    50% {
        -webkit-transform: translateY(-20px);
                transform: translateY(-20px);
        opacity: .8;
    }
    70% {
        -webkit-transform: translateY(3px);
                transform: translateY(3px);
        opacity: .8;
    }
    85%{
        -webkit-transform: translateY(-1px);
                transform: translateY(-1px);
    }
    100%{
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
}

.dot-1{
    -webkit-animation: loading 1.5s 0s infinite ;
            animation: loading 1.5s 0s infinite ;
}

.dot-2{
    -webkit-animation: loading 1.5s 0.3s infinite ;
            animation: loading 1.5s 0.3s infinite ;
}

.dot-3{
    -webkit-animation: loading 1.5s 0.6s infinite ;
            animation: loading 1.5s 0.6s infinite ;
}

.dot-4{
    -webkit-animation: loading 1.5s 0.9s infinite ;
            animation: loading 1.5s 0.9s infinite ;
}

.dot-5{
     -webkit-animation: loading 1.5s 1.2s infinite ;
             animation: loading 1.5s 1.2s infinite ;
 }


.loading-text{
    text-align: center;
    color: #332A73;
    font-size: 18px;
}

.badge{
    position: relative;
    display: inline-block;
}

.badge-dot{
    position: absolute;
    top: 2px;
    right: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #F25767;
    border: transparent;
}

.feedback-link{
    margin: 0 5px;
    font-weight: bold;
}
.home-container{
    margin: 50px 150px 0;
    background: #fff;
    border: transparent;
    border-radius: 10px 0 10px 0;
    -webkit-box-shadow: 1px 1px 2px 1px #ccc ;
            box-shadow: 1px 1px 2px 1px #ccc ;
}

.home-header{
    border-bottom: 1px solid #999;
    margin: 0 10px;
    padding: 10px 0;
}

.nav>*{
    display: inline-block;
    margin: 10px 20px 0;
}

.nav>.button{
    width: 100px;
    font-size: 16px;
    padding: 0 2px;
}

.nav-link, .active-nav-link{
    color: #332A73;
    font-size: 22px;
    padding-bottom: 2px;
}

.nav-link{
    opacity: 0.6;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.nav-link:hover{
    opacity: 1;
    color: #332A73;
}

.active-nav-link{
    opacity: 1;
    border-bottom: 2px solid ;
    font-weight: bold;
}

.user-info{
    margin: 0 20px;
}

.user-info>div{
    color: #332A7C;
    opacity: 0.6;
    margin: 0 20px;
    font-size: 16px;
}

.user-info>button{
    width: 50px;
    padding: 0;
    height: 30px;
    margin-top: 15px;
}

.logout-btn{
    color: #fff;
    background-color: #8079BE;
}

.link-btn{
    background: #8079BE;
}
