﻿/* 导航样式 */

#topnav {
    height: 60px;
    background-color: #191919;
    font-size: 16px;
    color: #fff;
}

#topnav .topnav_maincontent {
    width: 1200px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 60px;
    position: relative;
}

#topnav .topnav_maincontent a {
    color: #fff;
    display: block;
    padding: 0px 13px;
    margin-right: 26px;
    position: relative;
}

#topnav .topnav_maincontent a>i {
    font-size: 23px;
    vertical-align: top;
    display: inline-block;
    margin-right: 5px;
}

#topnav .topnav_maincontent>div>a.active,
#topnav .topnav_maincontent>div>a:hover {
    color: #4abbfa;
}

#topnav .topnav_maincontent>div>a.active::after,
#topnav .topnav_maincontent>div>a:hover::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 2px;
    width: 100%;
    background-color: #4abbfa;
}

#topnav .topnav_maincontent .left,
#topnav .topnav_maincontent .right {
    display: flex;
    height: 60px;
    justify-content: flex-start;
    align-items: center;
}

#topnav .topnav_maincontent .left div {
    height: 39px;
    margin-right: 75px;
}

#topnav .topnav_maincontent .left div a {
    height: 39px;
}

#topnav .topnav_maincontent .left div img {
    max-height: 100%;
    vertical-align: top;
}

#topnav .topnav_maincontent .right .login {
    cursor: pointer;
    margin-right: 54px;
}

#topnav .topnav_maincontent .right .collectWebsit {
    position: absolute;
    right: 0px;
    cursor: pointer;
    top: -50px;
    z-index: 98;
    transition: 0.6s ease all;
}

#topnav .topnav_maincontent .right .collectWebsit:hover {
    top: 0px;
}

#topnav .topnav_maincontent .right .user_info {
    cursor: pointer;
    margin-right: 74px;
    position: relative;
}

#topnav .topnav_maincontent .right .user_info:hover .dropList {
    display: block;
}

#topnav .topnav_maincontent .right .user_info>img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}

#topnav .topnav_maincontent .right .user_info .dropList {
    position: absolute;
    display: none;
    z-index: 90;
    left: -57px;
    top: 60px;
    width: 160px;
    background-color: #fff;
    border-radius: 4px;
    padding: 17px 10px;
    box-sizing: border-box;
}

#topnav .topnav_maincontent .right .user_info .dropList>p {
    font-size: 14px;
    color: #333;
    line-height: 1;
    margin-top: 17px;
    margin-left: 17px;
}

#topnav .topnav_maincontent .right .user_info .dropList>p a {
    display: inline;
    padding: 0px;
    color: #333;
}

#topnav .topnav_maincontent .right .user_info .dropList>p i {
    display: inline-block;
    width: 24px;
    font-size: 18px;
    color: #494949;
}

#topnav .topnav_maincontent .right .user_info .dropList>p:hover a,
#topnav .topnav_maincontent .right .user_info .dropList>p:hover i {
    color: #4abbfa;
}

#topnav .topnav_maincontent .right .user_info .dropList .logout {
    margin-top: 26px;
    margin-bottom: 5px;
}

#topnav .topnav_maincontent .right .user_info .dropList .headimgAbout {
    border-bottom: 1px solid #f4f4f4;
    margin: 0px auto;
    text-align: center;
    padding-bottom: 17px;
}

#topnav .topnav_maincontent .right .user_info .dropList .headimgAbout>div {
    position: relative;
    height: 99px;
    width: 99px;
    margin: 0px auto;
    padding: 15px;
    box-sizing: border-box;
}

#topnav .topnav_maincontent .right .user_info .dropList .headimgAbout>div>img:nth-child(1) {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

#topnav .topnav_maincontent .right .user_info .dropList .headimgAbout>div>img:nth-child(2) {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

#topnav .topnav_maincontent .right .user_info .dropList .headimgAbout p.NickName {
    line-height: 1;
    font-size: 14px;
    color: #999999;
    margin-top: 9px;
}

#topnav .topnav_maincontent .right .user_info .dropList .headimgAbout p.designStatus {
    line-height: 18px;
    height: 18px;
    font-size: 12px;
    width: 74px;
    background-color: #ff4a3a;
    text-align: center;
    border-radius: 9px;
    margin: 0px auto;
    color: #fff;
    margin-top: 9px;
}


/* 登录框样式 */

#login {
    position: fixed;
    left: 0px;
    top: 0px;
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 99;
}

#login>div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#login .loginContent {
    width: 399px;
    height: 501px;
    border-radius: 4px;
    background-color: #fff;
    padding: 30px 20px;
    box-sizing: border-box;
    position: relative;
}

#login .phoneLogin,
#login .weixinLogin {
    display: none;
}

#login .phoneLogin .title,
#login .weixinLogin .title {
    height: 37px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 42px;
    border-bottom: 1px solid #eeeeee;
    position: relative;
}

#login .phoneLogin .title h3,
#login .weixinLogin .title h3 {
    font-size: 16px;
    color: #333333;
    margin-right: 16px;
    font-weight: 600;
    line-height: 1;
    padding-left: 7px;
}

#login .phoneLogin .title p,
#login .weixinLogin .title p {
    font-size: 14px;
    color: #999999;
    line-height: 1.4;
}

#login .phoneLogin .title img,
#login .weixinLogin .title img {
    position: absolute;
    right: -6px;
    bottom: 0px;
    cursor: pointer;
}

#login .phoneLogin .inputGroup {
    padding: 0px 13px;
}

#login .phoneLogin .inputGroup input {
    display: block;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    outline: none;
    padding-left: 21px;
    margin-bottom: 18px;
}

#login .phoneLogin .inputGroup>div {
    display: flex;
    justify-content: space-between;
}

#login .phoneLogin .inputGroup>div>span.verificationCode-img {
    width: 110px;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

#login .phoneLogin .inputGroup>div>input {
    width: 215px;
}

#login .phoneLogin .inputGroup>div>span.verificationCode-img img {
    max-height: 100%;
    vertical-align: middle;
    position: absolute;
    left: -5px;
}

#login .phoneLogin .inputGroup>button {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 4px;
    background-color: #4abbfa;
    line-height: 44px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    outline: none;
}

#login .phoneLogin .inputGroup>.errorInfo {
    line-height: 21px;
    height: 21px;
    font-size: 12px;
    color: #e32525;
    text-align: center;
}

#login .phoneLogin .inputGroup .aboutPassword p:first-child {
    color: #222222;
    font-size: 14px;
    height: 18px;
    cursor: pointer;
    line-height: 18px;
}

#login .phoneLogin .inputGroup .aboutPassword p:first-child span {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 1px solid #d6d6d6;
    box-sizing: border-box;
    margin-right: 10px;
    vertical-align: bottom;
    overflow: hidden;
}

#login .phoneLogin .inputGroup .aboutPassword p:first-child span.active {
    border: none;
    background-image: url(../../../images/design/password_check.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
}

#login .phoneLogin .inputGroup .aboutPassword p:last-child a {
    color: #666666;
    font-size: 14px;
}

#login .phoneLogin .inputGroup .aboutPassword p:last-child a:hover {
    color: #4abbfa;
}

#login .phoneLogin .inputGroup .aboutPassword p:last-child span {
    display: inline-block;
    color: #666666;
    margin: 0px 10px;
}


/* 微信登录 */

#login .weixinLogin .weixinGroup {
    width: 225px;
    margin: 0px auto;
    text-align: center;
}

#login .weixinLogin .title {
    margin-bottom: 51px;
}

#login .weixinLogin .weixinGroup .weixin {
    width: 217px;
}

#login .weixinLogin .weixinGroup .weixin img {
    max-width: 100%;
}

#login .weixinLogin .weixinGroup>p {
    line-height: 1;
    font-size: 14px;
    color: #999999;
    margin-top: 30px;
}


/* 第三方登录 */

#login .otherLogin {
    position: absolute;
    top: 448px;
    border-top: 1px solid #eeeeee;
    left: 20px;
    width: 360px;
}

#login .otherLogin>div {
    width: 173px;
    background-color: #fff;
    margin: 0px auto;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: -22px;
}

#login .otherLogin>div i {
    display: inline-block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    background-color: #dfdfdf;
    line-height: 42px;
    cursor: pointer;
    color: #fff;
}

#login .otherLogin .qq_login i:hover {
    background-color: #5ebafa;
}

#login .otherLogin .weibo_login i:hover {
    background-color: #ef4e4e;
}


/* 收藏本站弹框 */

#addfavorite {
    position: fixed;
    left: 0px;
    top: 0px;
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 99;
}

#addfavorite>div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#addfavorite>div .content {
    width: 392px;
    height: 225px;
    background-color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#addfavorite>div .content p {
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
}

#addfavorite>div .content p span {
    color: rgb(46, 180, 247);
    padding: 0px 5px;
    display: inline-block;
}


/* 审核状态提示框 */

#designStatusTips {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 91;
    display: none;
}

#designStatusTips>div {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#designStatusTips>div .content {
    width: 551px;
    background-color: #fff;
    border-radius: 6px;
    padding: 48px 40px 40px;
    position: relative;
    box-sizing: border-box;
}

#designStatusTips>div .content>div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size: 20px;
    color: #000;
}

#designStatusTips>div .content>div img {
    margin-right: 17px;
    margin-bottom: 7px;
}

#designStatusTips>div .content>img.closeBtn {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

#designStatusTips>div .content>p {
    font-size: 14px;
    color: #333;
    line-height: 1;
    margin-top: 25px;
}

#designStatusTips>div .content>span {
    display: inline-block;
    font-size: 14px;
    color: #ff482c;
    line-height: 1;
    margin-top: 13px;
}

#designStatusTips>div .content>a {
    display: block;
    width: 150px;
    height: 42px;
    line-height: 42px;
    border-radius: 4px;
    background-color: #4abbfa;
    color: #fff;
    font-size: 14px;
    margin: 0px auto;
    text-align: center;
    margin-top: 40px;
}