
:root {
    --mainColor: #5E41E8;
    --secColor: #5E41E8;
    --mainFcolor: #0ab9d9;
    --secFcolor: #fff;
}

body {
    max-width: 640px;
    font-size: 16px;
	margin: 0 auto 50px;
}

h2 {
	font-size:0.42rem;
	color:#39524c;
	line-height:1;
	text-align:center;
	letter-spacing:0.02rem;
	font-weight: bold;
}

h3 {
    font-size: 20px;
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
}

h3>span {
    color: var(--secColor);
}

/*button {*/
/*    margin: 10px auto;*/
/*    padding: 2px 20px;*/
/*    line-height: 40px;*/
/*    border-radius: 4px;*/
/*    background: var(--secColor);*/
/*    color: #fff;*/
/*}*/


/** bar **/

.nav-bar,
.chat-bar {
    position: fixed;
    display: flex;
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    max-width: 640px;
    z-index: 99;
}

.nav-bar {
    top: 0;
    background: var( --mainColor);
}

.nav-bar div {
    width: 25%;
    text-align: center;
    color: #fff;
}

.nav-bar div+div {
    border-left: 1px solid;
}

.nav-bar .active {
    background: var(--secColor);
}


/** common **/

.text-center {
    text-align: center;font-size:0.44rem;color:#39524c;line-height:1;text-align:center;letter-spacing:0.01rem; margin-bottom: 15px;
}

.text-small {
    font-size: 14px;
}

.full-width {
    width: 100%;
}

.bg-aque {
    background-color: #5ebff0 !important;
    color: #fff;
}

.bg-orange {
    background-color: #f9c157 !important;
    color: #853f08;
}

.bg-green {
    background-color: #36cc90 !important;
    color: #007345;
}

.bg-pink {
    background-color: #ff84ad !important;
    color: #ffdc54;
}


/** test-from **/
.test-from{margin-top: 20px;
}
.test-from .test_h2 {font-size:0.42rem;color:#39524c;line-height:1;text-align:center;letter-spacing:0.02rem}
.test-from h3 {
    color: var(--mainColor);
}

.test-from h3 span {
    color: var(--secColor);
}

.test-from .f-group {
    padding: 10px 20px;
}

.test-from .f-group p {
    color: var(--mainColor);
    font-weight: 400;
    padding: 10px 0;
}

.test-from .f-group label {
    display: inline-block;
    font-size: 14px;
    color: var(--mainColor);
    border: 2px solid #a19e9d;
    border-radius: .2rem;
    width: 45%;
    height: 32px;
    line-height: 28px;
    text-align: center;
    margin: 6px 0 6px 2%;
    overflow: hidden;
}

.test-from .f-group .label-two {
    width: 45%;
}

.test-from .f-group label input[type=radio] {
    display: none;
}

.test-from .f-group .label-active {
    background: var(--secColor);
    border: 2px solid var(--secColor);
    color: #fff;
}

.test-from .f-contact {
    background: #e2f3fc;
    padding-top: 10px;
    padding: 25px 10%;
}

.test-from .f-contact input {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    background: #fff;
    border: 0;
    outline: 0;
    text-align: center;
    margin-bottom: 10px;
}

.test-from .f-contact .test-scroll-box {
    display: flex;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    margin: 10px auto;
    background: #a5d9f5;
}

.test-from .f-contact .test-scroll-box .res-title {
    width: 70px;
}

.test-from .f-contact .test-scroll-box .res-scroll {
    flex: 1;
}

.test-from .f-contact .test-scroll-box li {
    line-height: 40px;
    overflow: hidden;
}

.test-from .f-contact .test-scroll-box li span {
    display: inline-block;
    width: 50%;
    text-align: center;
}

.test-from .f-contact .test-scroll-box li span+span {
    margin-left: 0;
}


/** deadline **/

.deadline {
    width: calc( 100% - 40px);
    border: 2px solid var(--mainColor);
    margin: 10px auto;
    border-radius: 4px;
    text-align: center;
}

.deadline .title {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 0;
}

.deadline .sub-title {
    font-size: 16px;
}

.deadline .title span,
.deadline .sub-title span {
    color: var(--secColor);
    font-weight: bold;
}

.deadline .time {
    display: flex;
    margin: 10px 8%;
}

.deadline .time .month,
.deadline .time .day {
    display: inline-block;
    width: 36%;
    height: 0;
    border-radius: 20px;
    background: var(--mainColor);
    margin-left: 8%;
    margin-right: 8%;
    padding-bottom: 36%;
}

.deadline .time .time-num {
    height: 65px;
    line-height: 65px;
    font-size: 50px;
    color: #fff;
    font-weight: bold;
}

.deadline .time .time-label {
    display: inline-block;
    width: 100%;
    background: #fff;
    font-weight: bold;
    line-height: 25px;
}

.deadline .application-bar {
    display: flex;
    width: 60%;
    margin: 20px auto;
}

.deadline .application-bar li {
    width: 50%;
    color: #fff;
    background: var(--mainColor);
    line-height: 30px;
}

.deadline .application-bar li+li {
    border-left: 1px solid
}

.deadline .application-bar .active {
    background: var(--secColor);
}


/** common-que **/

.common-ques {
    text-align: center;
    padding: 20px 0;
}

.common-ques .form {
    background: #e2f3fc;
    padding-top: 10px;
    padding: 10px 10%;
}

.common-ques .form input {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    background: #fff;
    border: 0;
    outline: 0;
    text-align: center;
    margin-bottom: 10px;
}

.common-ques .form .ques-btn {
    width: 100%;
    background-color: var(--mainColor);
}


/** form-modal **/

.modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #3a3a3a;
    background-color: rgba(58, 58, 58, 0.6);
    filter: (Opacity=60);
    z-index: 100
}

.modal .form {
    position: fixed;
    height: 0;
    width: 70%;
    padding-bottom: 80%;
    background: #fff;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center
}

.modal .form .content {
    padding: 15px
}

.modal .form .close {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    color: #b0b0b0
}

.modal .form .close::before {
    content: "\2716"
}

.modal .form .modal-submit-btn {
    width: 100%;
    height: 45px;
    background: var(--secColor);
    position: absolute;
    bottom: 0;
    left: 0;
    border: 0;
    border-radius: 0;
    margin: 0
}

.modal .form .title {
    height: 20px;
    line-height: 20px;
    margin: 15px auto 10px;
    font-size: 18px;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.modal .form .sub-title {
    height: 18px;
    line-height: 18px;
    font-size: 13px;
    color: #828282;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.modal .form input {
    width: 100%;
    line-height: 40px;
    border-bottom: 1px solid #aaa;
    margin-top: 20px
}
