﻿/* ===================================
 * 招标系统登录页样式表
 * 版本: 1.0
 * 整理日期: 2021-06-15
 * =================================== */

/* ===== 1. 基础重置样式 ===== */
* { margin: 0; padding: 0; outline: none !important; }
ol, ul, li { list-style-type: none; }
img { border: 0px; vertical-align: middle; }
form { margin: 0px; padding: 0px; }
.clear { height: 0px; clear: both; overflow: hidden; }
input, select { font-family: PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, sans-serif; }
::-webkit-input-placeholder { color: #babdca; }

/* ===== 2. 页面基础布局 ===== */
html { overflow: hidden; height: 100%; }
body { font-size: 12px; line-height: 1.7; color: #131313;  background-size: cover; font-family: PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, sans-serif; }
#wrap { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
div { box-sizing: border-box; }

/* ===== 3. 登录框样式 ===== */
.login_main { position: fixed; left: 50%; top: 50%; margin-top: -220px; margin-left: -180px; width: 390px; height: 440px; z-index: 999; background: #ffffff; border-radius: 6px; box-shadow: 7px 14px 28px rgba(0,0,0,0.1); overflow: hidden; }
.login_main .logo { padding: 45px 0 0 0; text-align: center; }
.login_main .logo img { display: block; height: 24px; margin: 0 auto; }
.title { display: block; text-align: center; line-height: 92px; font-size: 22px; }
.title b { color: #354972; }

/* ===== 4. 登录表单样式 ===== */
.login_box { padding: 0 34px; }
.login_box .item { margin-bottom: 14px; position: relative; }
.login_box .item .input { display: block; width: 100%; box-sizing: border-box; height: 45px; line-height: 45px; font-size: 14px; color: #333333; border: 1px #eeeef0 solid; text-align: left; background: #ffffff; text-indent: 65px; border-radius: 4px; }
.login_box .item img { display: block; position: absolute; top: 50%; left: 14px; height: 30px; margin-top: -15px; }
.login_box .item .input:focus { outline: none; border: 1px #ccc solid; }
.login_box .item .viewpass { position: absolute; right: 11px; top: 50%; width: 30px; height: 30px; margin-top: -15px; background: url(../img/view.png) center center no-repeat; cursor: pointer; background-size: 30px auto; }
.login_box .item_on .viewpass { background: url(../img/views.png) center center no-repeat; background-size: 30px auto; }
.login_box .item input.code { width: 100px; text-indent: 1em; }
.code_img { position: absolute; left: 110px; top: 25px; }
.change { float: right; margin-top: -30px; }

/* ===== 5. 记住密码和工具栏 ===== */
.login_box .tool { position: relative; padding: 10px 0; padding-bottom: 20px; line-height: 22px; height: 22px; }
.login_box .tool .remember { float: left; cursor: pointer; user-select: none; }
.login_box .tool .remember input { display: none; }
.login_box .tool .remember p { display: block; height: 22px; padding-left: 34px; color: #979cb0; position: relative; }
.login_box .tool .remember p i { display: block; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; border-radius: 3px; margin-top: -9px; background: url(../img/checkbox.png) center center no-repeat; background-size: 12px auto; border: 1px #e3e3e3 solid; }
.login_box .tool .remember input:checked + p i { background-color: #2375ef; border: 1px #2375ef solid; }
.login_box .tool .pass { position: absolute; right: 0; top: 10px; color: #2374ef; text-decoration: none; }
.login_box .tool .pass:hover { text-decoration: underline; }
.login_box .tool ul { position: absolute; right: 0; }
.login_box .tool ul li { float: left; position: relative; }
.login_box .tool ul li a { padding: 0 10px; }
.login_box .tool ul li:not(:first-of-type):before { display: block; content: ''; position: absolute; top: 50%; width: 1px; height: 8px; margin-top: -4px; background: #E6E6E6; }
.login_box .tool a { float: left; color: #2374ef; text-decoration: none; }
.login_box .tool a:hover { text-decoration: underline; }

/* ===== 6. 按钮样式 ===== */
.btnbox { padding-top: 24px; }
.btnbox .btn { display: block; width: 100%; height: 50px; font-size: 15px; font-weight: bold; line-height: 50px; text-align: center; color: #fff; background: #2374ef; border: none; cursor: pointer; border-radius: 4px; transition: background 300ms ease; }
.btnbox .btn:hover { background: #238df0; color: #fff; }

/* ===== 7. Logo和标题样式 ===== */
.logo_center { position: relative; top: 12%; left: 50%; margin-left: -258px; }
.logo_center .logo { float: left; padding-top: 28px; }
.logo_center .logo img { display: block; height: 40px; }
.logo_center .logotext { float: left; position: relative; margin-left: 16px; margin-top: 28px; padding-left: 17px; }
.logo_center .logotext b { display: block; font-size: 24px; line-height: 24px; letter-spacing: 0.7px; font-weight: normal; margin-bottom: 4px; }
.logo_center .logotext span { display: block; font-size: 12px; line-height: 12px; letter-spacing: -0.4px; transform: scale(0.94); margin-left: -7px; }
.logo_center .logotext:before { display: block; content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 40px; background: #000; margin-top: -20px; }
.logo_center .logotext2 { float: left; position: relative; margin-left: 12px; margin-top: 28px; padding-left: 17px; }
.logo_center .logotext2 b { display: block; font-size: 26px; line-height: 34px; letter-spacing: 0.7px; font-weight: normal; margin-bottom: 4px; color: #F64041; }

/* ===== 8. 顶部工具栏样式 ===== */
.topbox .topright { float: right; padding-top: 10px; padding-right: 20px; }
.topbox .topright i { display: inline-block; vertical-align: middle; width: 1px; height: 14px; background: #E6E6E6; margin: 0 8px; }
.topbox .toptool { line-height: 30px; text-align: right; margin-right: -3px; }
.topbox .toptool a { display: inline-block; vertical-align: middle; padding: 3px; line-height: 24px; }
.topbox .toptool a img { float: left; height: 24px; margin-right: 8px; }
.topbox .toptool a:hover { color: #2374ef; }
.header a { color: #999999; text-decoration: none; }

/* ===== 9. 辅助类 ===== */
.pt20 { padding-top: 20px; }
.pb20 { padding-bottom: 20px; }

/* ===== 10. 响应式布局 ===== */
@media (max-height:800px) { .logo_center { top: 40px; } }
@media (max-height:700px) { .logo_center { top: 20px; } }