* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}
@font-face {
    font-family: 'Univers-Condensed-Bold';
    src: url('../../fonts/Univers-Condensed-Bold.ttf');
}
@font-face {
    font-family: 'Univers-Condensed';
    src: url('../../fonts/Univers-Condensed.otf');
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}
body {
    background: rgb(237,237,237);
    padding-top: 90px;
    font-family: 'Univers-Condensed';
}


/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    /* margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%; */
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */
.home-menu {
    height: 90px;
    padding: 0 1.9%;
}
.home-menu {
    background: #666;
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading img {
    height: 60px;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    padding: 14px 0 0;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}

/* 主体 */
.sgs-main {
    width: 1230px;
    /*height: 554px;*/
    margin: 30px auto auto;
    background: white;
    padding-bottom: 50px;
}

.sgs-main {
    padding-top: 60px;
}

.sgs-main h1, .sgs-main h3 {
    text-align: center;
}

.sgs-main h1 {
    /* font-family: Univers-Condensed-Bold; */
    font-weight: bold;
    font-size: 24px;
    color: #333;
    margin-bottom: 0;
}

.sgs-main h3 {
    font-family: Univers-Condensed;
    font-size: 16px;
    color: #999;
    height: 22px;
    margin: 10px 0 16px;
    font-weight: normal;
}

.sgs-main .pure-form {
    width: 560px;
    margin: 0 auto;
    margin-top: 36px;
}

.sgs-main .pure-form .form-item {
    position: relative;
}

.sgs-main .pure-form .form-item span {
    display: none;
}

.sgs-main .pure-form .error span, .sgs-main .pure-form .succ span {
    position: absolute;
    bottom: -24px;
    padding-left: 16px;
    font-size: 12px;
    color: #f00;
    background: url("../../img/ic_error.png") no-repeat left center;
    display: block;
}

.sgs-main .pure-form .error .pure-input {
    border-color: #f00;
}

.sgs-main .pure-form .succ span {
    background-image: url("../../img/ic_correct.png");
    color: #999;
}

.sgs-main .pure-form .succ .pure-input {
    border-color: #ddd;
}

.sgs-main .pure-form label {
    font-family: Univers-Condensed;
    font-size: 16px;
    color: #666666;
    margin: 0 0 10px;
}

.sgs-main .pure-form .pure-input {
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 2px;
    margin-bottom: 36px;
    height: 40px;
}

.sgs-main .pure-form .form-item .toggle-psw, .sgs-main .pure-form .form-item .confirm-psw {
    cursor: pointer;
    position: absolute;
    bottom: 8px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #fff url("../../img/ic_closed_eyes.png") no-repeat center;
}

.sgs-main .pure-form .form-item .psw-eye {
    background-image: url("../../img/ic_eye.png");
}

.sgs-main .pure-form #captcha {
    width: 430px;
}

.submit-btn {
    text-align: center;
    margin-top: 40px;
}

.sgs-main .pure-form .pure-button {
    min-width: 120px;
    height: 40px;
    background: #FF822F;
}

.sgs-main .pure-form .captcha-img {
    position: absolute;
    bottom: 0;
    right: 0px;
    height: 40px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    text-align: center;
    font-family: SourceHanSansCN-Regular;
    font-size: 16px;
    color: #999999;
}

.footer a {
    font-family: SourceHanSansCN-Regular;
    font-size: 16px;
    color: #999999;
    text-decoration: none;
}

/* 弹窗 */
.pop-ups {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51,51,51,.4);
}

.pop-ups .pop-body {
    width: 600px;
    height: 380px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -300px;
    margin-top: -150px;
    border-radius: 10px;
    text-align: center;
    padding-top: 170px;
    background: #fff url("../../img/icon_success.png") no-repeat center 70px;
}

.pop-ups .failed {
    background-image: url("../../img/icon_fail.png");
}

.pop-ups .pop-body .txt {
    font-weight: bold;
    font-size: 24px;
    color: #333333;
    text-align: center;
    line-height: 1.2em;
}

.pop-ups .pop-body .close {
    width: 20px;
    height: 20px;
    background: url("../../img/icon_close.png") no-repeat center;
    position: absolute;
    top: 17px;
    right: 17px;
}
