.cg_guodu {
    position: fixed;
    display: none;
    width: 100%;
    max-width: 800px;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(bazi/bz_transform.gif);
    background-size: 2.2rem;
    background-repeat: no-repeat;
    background-position: center 36%;
    background-color: rgba(255, 255, 255, 1);
    margin: 0 auto;
    overflow: hidden;
}

.cg_guodu .cg_guwz {
    position: absolute;
    display: block;
    font-size: 0.32rem;
    text-align: center;
    color: #daaa6d;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.cg_hint {
    position: absolute;
    display: none;
    width: 50%;
    max-width: 800px;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    color: #fefefe;
    font-size: 0.34rem;
    border-radius: 0.1rem;
    background-color: rgba(65, 65, 65, 0.6);
    top: 24%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 101;
}

.cg_banner {
    width: 100%;
    background-color: #d8cbb2;
    background-repeat: no-repeat;
    background-image: url(chengu/cg_banner.png);
    background-size: 100%;
}

.cg_banner::after {
    display: block;
    content: "";
    padding-bottom: 46.6%;
}

.cg_js {
    line-height: 0.6rem;
    font-size: 0.32rem;
    padding: 0.2rem 0.6rem;
    background-color: #f0e5d3;
    text-indent: 1em;
}

.cg_box {
    background-color: #f0e5d3;
    padding-bottom: 0.8rem;
}

.cg_form {
    position: relative;
    background-color: #fbf8f3;
    padding: 0 0.28rem;
}

.cg_form .cg_items {
    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;
    line-height: 1.4rem;
    border-bottom: 1px solid #d3cdc6;
    padding: 0 0.26rem;
}

.cg_form .cg_items.last {
    border-bottom: 0;
}

.cg_items label {
    line-height: 1.4rem;
    color: #414141;
    font-size: 0.34rem;
    margin-right: 0.2rem;
}

.cg_items .cg_input {
    background-color: #fbf8f3;
    font-size: 0.34rem;
}

.cg_items .cg_input::-webkit-input-placeholder {
    color: #adadad;
}

.cg_items .cg_sex {
    height: 1.4rem;
    line-height: 1.4rem;
}

.cg_items .cg_sex span {
    float: left;
    display: block;
    height: 100%;
    line-height: 1.4rem;
    font-size: 0.34rem;
    color: #adadad;
    padding: 0 0.16rem;
    margin: 0 0.16rem;
}

.cg_items .cg_sex span.selected {
    color: #e14848;
    background-image: url(public/switchsex.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

.cg_items .cg_time {
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 0.34rem;
    color: #adadad;
}

.cg_btn {
    display: block;
    width: 92%;
    line-height: 0.94rem;
    font-size: 0.36rem;
    font-weight: 600;
    margin: 0.6rem auto;
    border-radius: 0.16rem;
    border: 0;
    background-color: #960d0d;
    color: #fff7f0;
    box-shadow: 0 0 0.06rem 0.1rem #800909 inset;
}

.details {
    padding-top: 0.26rem;
}

.cg_xinxi {
    background-color: #fff7eb;
    margin: 0 0.26rem;
    padding: 0.1rem 0;
}

.cg_xinxi .cg_list .cg_cnt.name {
    padding-left: 0.18rem;
}

.cg_xinxi .cg_list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    color: #ba9c75;
    font-size: 0.32rem;
    padding: 0.16rem 0 0 0.16rem;
}

.cg_xinxi .cg_list p span {
    display: block;
    padding-bottom: 0.16rem;
}

.cg_box .cg_result {
    padding: 0.4rem;
    font-size: 0.34rem;
    line-height: 0.7rem;
}

.cg_box .cg_result .cg_mx {
    color: #2f3239;
    font-size: 0.36rem;
    font-weight: 700;
}

.cg_box .cg_result .cg_mxcnt {
    text-align: justify;
    color: #2f3239;
}

.cg_box .cg_result .cg_mxcnt.red {
    color: red;
}


.topProject {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #e3d5ba;
}

.topProject a {
    display: block;
    width: 20%;
    line-height: 0.8rem;
    text-align: center;
    font-size: 0.3rem;
    color: #ec820c;
    border-right: 1px solid #f0d7b8;
    background-color: #ffe8cc;
}

.topProject a:last-child {
    border-right: 0;
}

.topProject a.red {
    color: #990033 !important
}