/*头部*/
#header{
    height: 56px;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    background: #1a1a2e;
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
}
#logo{
    display: flex;
    align-items: center;
    margin-left: 20px;
    height: 32px;
}
#logo svg{
    display: block;
}
.headdiv{
    width:1200px;
    margin: auto;
    height: 56px;
    display: flex;
    align-items: center;
}
#header div ul{
    margin-bottom: 0 !important;
    padding-left: 0;
}
/*头部标题*/
#header #logo a img{
    display: block;
    float: left;
    width: auto;
    height: 32px;
    margin-left: 20px;
    margin-top: 0;
}
#header .top-title li{
    float: left;
    list-style: none;
    margin-right: 8px;
}
#header .top-title li a, #header .top-title li a {
    font-size: 15px;
    font-weight: 400 !important;
    text-decoration: none;
    display: block;
    line-height: 56px;
    padding: 0 12px;
    color: rgba(255,255,255,.75);
    transition: color .2s;
    position: relative;
}
#header .top-title li a:hover{
    color: #fff;
}
#header .top-title li a#kctaga{
    color: #fff;
}
#header #useroptpanel {
    margin-left: auto !important;
    float: right !important;
}
#header #useroptpanel li {
    float: none !important;
}
#header #useroptpanel li a {
    line-height: 56px;
}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*移动下拉样式*/
.modal-backdrop {
    z-index: 600;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

/*下拉菜单样式*/
#header .dropdown { position: relative; }
#header .dropdown-toggle::after { display: none; }
#header .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    border: 1px solid #eef0f4;
    background: #fff;
    padding: 6px 0;
    margin-top: 0;
    padding-top: 12px;
    min-width: 160px;
    top: 100%;
}
#header .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
#header .dropdown-menu li {
    float: none;
    display: block;
}
#header .dropdown-menu li a {
    display: block;
    line-height: 1.5 !important;
    padding: 8px 18px;
    font-size: 13px;
    color: #555 !important;
    white-space: nowrap;
    text-decoration: none;
}
#header .dropdown-menu li a:hover {
    background: #f5f7fa;
    color: #007bff !important;
}
#header .dropdown-menu li a:focus {
    background: #f5f7fa;
    color: #007bff !important;
}

/* ========== 登录弹窗统一风格 ========== */
#login.modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; display: none; overflow: hidden; outline: 0; }
#login.fade .modal-dialog { transition: transform .3s ease-out; }
#login.in { display: block; }
#login .modal-dialog { position: relative; width: auto; margin: 140px auto; max-width: 400px; }
#login .modal-content { position: relative; background-color: #fff; border: none; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.18); outline: 0; }
#login .modal-body { position: relative; padding: 0; }
#login .close { float: right; font-size: 24px; font-weight: normal; line-height: 1; color: #999; text-shadow: none; opacity: .5; background: none; border: none; position: absolute; right: 16px; top: 12px; z-index: 10; cursor: pointer; }
#login .close:hover { opacity: 1; color: #333; }
#login .panel { border: none; box-shadow: none; margin-bottom: 0; background: transparent; }
#login .panel-body { padding: 0; }
#login .nav-tabs { border-bottom: 2px solid #eef0f4; display: flex; padding: 0; margin: 0; list-style: none; }
#login .nav-tabs > li { float: none; margin-bottom: 0; list-style: none; }
#login .nav-tabs > li > a { display: block; padding: 14px 24px; border: none; border-radius: 0; color: #999; font-size: 14px; background: transparent; text-decoration: none; transition: all .2s; }
#login .nav-tabs > li > a:hover { color: #555; background: transparent; border: none; }
#login .nav-tabs > li > a.active { color: #007bff; border: none; border-bottom: 2px solid #007bff; background: transparent; margin-bottom: -2px; font-weight: 500; }
#login .tab-content { padding: 24px; }
#login .tab-pane { display: none; }
#login .tab-pane.active { display: block; }
#login .form-group { margin-bottom: 16px; position: relative; }
#login .form-control { display: block; width: 100%; height: 42px; padding: 8px 14px; font-size: 14px; line-height: 1.5; color: #333; background-color: #fff; border: 1px solid #e0e4ea; border-radius: 8px; box-shadow: none; transition: border-color .2s; }
#login .form-control:focus { border-color: #007bff; box-shadow: 0 0 0 3px rgba(0,123,255,.12); outline: 0; }
#login .btn { display: inline-block; padding: 10px 16px; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: center; border-radius: 8px; white-space: nowrap; cursor: pointer; border: none; width: 100%; }
#login h5 { font-size: 16px; font-weight: 600; color: #1a1a2e; margin: 0 0 16px; }
#login .text-center { text-align: center; }
#login table { width: 100%; border-collapse: separate; border-spacing: 0; }
#login table td { padding: 4px 0; vertical-align: middle; }
#login table table { width: 100%; }
#login table table td button { width: auto !important; white-space: nowrap; margin-left: 8px; padding: 10px 16px; height: 42px; line-height: 1; }
#login .help-block { font-size: 12px; margin: 4px 0 0; color: #e53935; }
#login .has-feedback .form-control-feedback { position: absolute; top: 0; right: 0; display: block; width: 42px; height: 42px; line-height: 42px; text-align: center; pointer-events: none; }
#login .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000; }
#login.fade.in .modal-backdrop { opacity: .5; }
