html {
    height: 99.999%;
}
a,a:link,a:visited {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

a:focus, a:hover {
    color: #0085cb;
    cursor: pointer;
    }
a:active,a.active {
    color: #0085cb;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul,
h1,
h2,
h3,
h4,
p {
    margin: 0;
    padding: 0;
}

li {
    display: list-item;
    list-style: none;
}

li img {
    vertical-align: middle;
}

li span {
    font-size: 16px;
}

body,
div,
ul,
li,
dl,
dt,
dd,
p{
    margin: 0;
    padding: 0;
    font-size: 14px;
    list-style: none;
    font-family: Helvetica, "微软雅黑", Tahoma, Geneva, sans-serif;
}

#header {
    clear: both;
    border-bottom: 2px solid #E9E9E9;
    line-height: 80px;
}

.content pre {
    min-height: 320px;
    margin: 0;
    padding: 0;
    border: none;
    background-color: #fff;
    line-height: 1.5em;
    white-space: pre-line;
    word-wrap: break-word;
    word-break: break-word;
}

#codeImg {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #eee;
    width: 102px;
    height: 34px;
    background: #fff;
}

#codeImg svg {
    display: block;
}

.whois-header {
    text-align: center;
}

.whois-header a,
.whois-header span {
    display: inline-block;
    vertical-align: middle;
}

.whois-header span {
    vertical-align: bottom;
    font-size: 20px;
}

.whois-form, .news {
    margin-top: 104px;
}

.whois-form .row>div {
    padding: 2em 3em 1em;
    background-color: #eee;
    border: 1px solid #ccc;
    transition: all .3s;
}

/*
.whois-form .row>div:hover,
.whois-result .row>div:hover {
    box-shadow: 3px 7px 7px rgba(0, 0, 0, .4);
    transform: scale(1.05);
}

.whois-result .row>div:hover {
    transform: scale(1.02);
}
*/
.whois-result {
    margin: 2em 0;
}

.whois-result .row>div:first-child {
    background-color: #fff;
    padding: 0 36px;
    white-space: pre-line;
    border: 1px solid #ccc;
    box-shadow: 1px 7px 7px rgba(0, 0, 0, .2);
    transition: all .3s;
}

#footer {
    color: #FFF;
    padding: 30px 0;
    width: 100%;
    text-align: center;
    min-width: 100%;
    border-top: #dfdede 1px solid;
    background-color: #333;
}

#footer a {
    color: #FFF;
    font-size: 14px;
}

#footer hr {
    width: 100%;
}


/* 改版 */
.block {
    display: block;
}

.margin-top-58 {
    margin-top: 58px;
}

.navbar-logos {
    height: 138px;
    padding-top: 20px;
}

.navbar-menu {
    background-color: #f3f3f3;
    border: none;
}
.navbar-toggle {
    background-color: #efefef;
}
.query {
    padding-top: 4em;
    padding-bottom: 2em;
}
.query form {
    padding: 0 4em;
}
.query h1{
    margin-bottom: 36px;
    color: #0085cb;
}
.fullwidth, .form-inline input.fullwidth {
    width: 100%;
}
#ret {
    padding: 0 4em;
}


@media (max-width: 499px) {
    .list-inline>li {
        display: block;
    }
    .list-inline>li.line {
        display: hidden;
        visibility: hidden;
    }
    .col-xs-12 {
        padding: 0;
        margin: 0;
    }
    #codeImg {
        margin-left: 15px;
        margin-top: 10px;
    }
    .whois-form .row>div {
        padding: 2em 1em 1em;
    }
    .whois-result .row>div {
        padding: 0 1em;
    }
    .query form {
        padding: 0;
    }
    #ret {
        padding: 1em 0 0 ;
    }
    .navbar-logos {
        height: 95px;
        padding-top: 7px;
    }
    .navbar-brand {
        padding-top: 8px;
    }
    .navbar-brand>img {
        height:65px;
    }
    .query .button {
        height: 46px;
        line-height:46px;
        background-color: #03a1f1;
    }
    .query .w98 {
        width: 98px;
    }
}

@media (min-width: 500px) and (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0;
    }
    .row {
        margin: 0;
    }
    .col-xs-12 {
        padding: 0;
        margin: 0;
    }
    #codeImg {
        margin-left: 15px;
        margin-top: 10px;
    }
    .whois-form .row>div,
    .whois-result .row>div {
        width: 80%;
        margin-left: 10%;
    }
    .navbar-logos {
        height: 120px;
        padding-top: 0;
    }
    .query form {
        padding: 0;
    }
    #ret {
        padding: 1em 0 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .whois-form .col-sm-2 {
        padding-left: 0;
    }

    #ret {
        padding-top: 1em;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .whois-form .col-sm-2 {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    #whois>.container {
        width: 100%;
    }
    #whois>.container .control-label {
        font-size: 18px;
        font-weight: bold;
    }
}



.navbar-default, #footer {
    background-color:#0085cb;
}
.whois-header span {
    color:#fff;
}
.whois-header img {
    height:50px;
    padding-right:1rem;
}

#ppt, #brand, #premium {
    padding:0;
}
#brand>a, #premium>a {
    width:112px;
    display: block;
    padding: 6px 0;
    text-align:center;
    margin: 0 6px 6px 0;
    float: left;
    cursor: pointer;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
#brand>a:nth-child(5n), #premium>a:nth-child(5n){
    margin-right:0;
}
#brand>a:hover, #premium>a:hover {
    -webkit-transform: scale(1.11);
    -ms-transform: scale(1.11);
    -o-transform: scale(1.11);
    transform: scale(1.11);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.copyright {
    padding: 5px 0 0;
}


/* new */
.no-padding {
    padding: 0;
}

.no-padding-bottom {
    padding-bottom: 0;
}

.no-padding-top {
    padding-top: 0;
}

.no-padding-left {
    padding-left: 0;
}

.no-padding-right {
    padding-right: 0;
}

.no-margin {
    margin: 0;
}
.no-margin-bottom {
    margin-bottom: 0;
}
.no-margin-top {
    margin-top: 0;
}
.no-margin-left {
    margin-left: 0;
}
.no-margin-right {
    margin-right: 0;
}

.no-border {
    border: none;
}

.no-border-radius {
    border-radius: 0;
}

.no-border-left {
    border-left: none;
}

.no-border-right {
    border-right: none;
}

.no-border-top {
    border-top: none;
}
.font-size-16 {
    font-size: 16px;
}

.article-content {
    line-height: 30px;
    font-size: 14px;
    color: #333;
}
.autowrap {
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.newslist .list-group {
    min-height: 329px;
}

.tb-wrap {
    position: relative;
    top: -12px;
    z-index: 3;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-width: 0 1px;
    margin: 0;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

.zc4 {
    margin: 0 3em;
    font-size: 16px;
    line-height: 2em;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.zc4 td {
    border: 1px solid #ccc;
    padding: 0 5px;
    vertical-align: top;
    line-height: 1.8em;
    font-size: 14px;
}

.zc4 th {
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
}

.fix-gap {
    position: relative;
    top: -12px;
}

.fix-gap pre {
    border-top: none;
    border-radius: 0;
    font-size: 14px;
}


.carousel-inner>.item>img {
    width: 100%;
    height: auto;
    /* height: 560px; */
}
/* 改版 */
#ret pre {
    background-color: #fff;
    border: none;
    font-size: 14px;
    line-height: 1.5em;
    white-space: pre-line;
    word-wrap: break-word;
    word-break: break-word;
}
button {
    cursor: pointer;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
}
.main {
    margin-top: 1em;
}
.article h4 {
    /* font-size: 1.5em; */
    /* font-weight: bold; */
    margin-bottom: 0.5em;
    background-color: #f3f3f3;
    padding: 0.5em 14px;
    cursor: pointer;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
}
.article h4.current {
    color: #fff;
    background-color: #0085cb;
}
.article dl {
    padding: 0 14px;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    }
.article dt {
    margin: .5em 0 ;
    color: #0085cb;
    font-weight: bold;
}

.article dd {
    margin-bottom: 1em;
}

.article dd p {
    margin-bottom: 0;
    line-height: 2em;
}

.article dd a {
    color: #0085cb;
}

.sidebar li a {
    font-size: 18px;
    border-radius: 0;
    padding: 0.5em 1em;
    margin: 0.5em 0;
    display: block;
    text-align: center;
    background-color: #f3f3f3;
    height: 65px;
    line-height: 47px;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
}
.sidebar li.active a, .sidebar li.active a:hover, .sidebar li.active a:focus, .sidebar li.active a:active, .sidebar li.active a:visited{
    color: #fff;
    background-color: #0085cb;
}

.sidebar li a:hover {
    color: #fff;
    background-color: #0085cb;
}
.sublist h5 {
    font-size: 16px;
    font-weight: bold;
    padding: 6px 0;
    line-height: 22px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.article dd.sublist p {
    margin: 12px 0;
    line-height:25px;
}
.sublist>div>p>span{
    color: #0085cb;
}
.sublist li {
    margin: 6px 0;
    line-height: 25px;
}
.sublist li em {
    font-style: normal;
}

.sublist li span {
    font-size: 14px;
}
.sublist li span em {
    margin-left: 2em;
}
.sublist h6 {
    font-size: 14px;
    font-weight: bold;
}
.premiumNameList {
    margin: 12px 0;
}
.premiumNameList tbody tr:nth-child(2n){
    background-color: #eee;
}
.premiumNameList thead tr{
    background-color: #eee;
}
.premiumNameList th {
    font-size: 15px;
    font-weight: bold;
}
.premiumNameList td, .premiumNameList th {
    line-height: 1.5em;
    text-align: center;
    border: 1px solid #ccc;
    padding:5px 8px;
    color: #444;
}

.up,.down {
    float: right;
    width: 22px;
    height: 22px;
    display: inline-block;
    background:url(../images/show.png) no-repeat left bottom;
}
.up {
    background: url(../images/show.png) no-repeat left top;
}
.pre-foot {
    position: relative;
    top: -15px;
    text-align: right;
    padding: 9.5px 19px 28.5px 9.5px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-width: 0 1px 1px;
    border-radius: 4px;
    line-height: 30px;
    font-size: 14px;
}

.date {
    float: right;
}

.newslist>li {
    margin: 10px 0;
    padding: 6px 0;
    line-height: 22px;
    border-bottom: 1px solid #eee;
}
.newslist>li>a {
    display: block;
}


.news-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}
.news-title {
    color: #222;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 1.4;
}

.news-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-meta i {
    margin-right: 5px;
    color: #999;
}

.news-meta .label {
    margin-left: 10px;
    font-size: 12px;
}

.news-image {
    margin: 20px 0 25px 0;
    text-align: center;
}

.news-image img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-image figcaption {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.news-body {
    font-size: 16px;
    line-height: 1.8;
}
.news-body p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}
.news-body h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.news-body blockquote {
    border-left: 4px solid #337ab7;
    padding-left: 15px;
    font-style: italic;
    color: #555;
    margin: 25px 0;
}
@media (max-width: 767px) {
    .news-content {
        padding: 20px 15px;
    }

    .news-title {
        font-size: 24px;
    }

    .news-body {
        font-size: 15px;
    }
}

/* cases */
/* 新版卡片式 - 图片突出 */
.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 图片容器 - 突出图片 */
.case-img-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.case-card:hover .case-img {
    transform: scale(1.08);
}

/* 图片覆盖层 */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.case-card:hover .img-overlay {
    opacity: 0.4;
}

/* 图片标签 */
.img-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #337ab7;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 2;
}

/* 卡片内容 */
.case-body {
    padding: 25px;
    position: relative;
}

.case-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    color: #2c3e50;
    line-height: 1.4;
}

.case-description {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    overflow: hidden;
}

/* 案例分类标签 */
.case-categories {
    margin-bottom: 20px;
}

.case-category {
    display: inline-block;
    background: #f0f7ff;
    color: #337ab7;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #d6e8ff;
}

/* 查看详情按钮 */
.case-view-btn {
    color: #337ab7;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.case-view-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.case-view-btn:hover {
    color: #23527c;
    text-decoration: none;
}

.case-view-btn:hover i {
    transform: translateX(5px);
}

/* 卡片底部信息 */
.case-footer {
    border-top: 1px solid #f0f0f0;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.case-date {
    font-size: 13px;
    color: #888;
}

.case-client {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

/* 筛选标签 */
.filter-tags {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.filter-tags .btn {
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 20px;
    padding: 6px 16px;
    transition: all 0.3s ease;
}

.filter-tags .btn:hover {
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
    margin-top: 60px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .case-card {
        margin-bottom: 20px;
    }

    .case-img-container {
        height: 220px;
    }

    .case-body {
        padding: 20px;
    }

    .case-title {
        font-size: 18px;
    }

    .case-description {
        height: auto;
        min-height: 85px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .case-img-container {
        height: 240px;
    }
}

/* 悬停动画效果 */
.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #337ab7, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.case-card:hover::before {
    transform: scaleX(1);
}

/* 加载动画 */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 注册服务器查询 */
.query-panel {
    margin-top: 25px;
    padding: 25px;
}

.result-panel {
    padding: 25px;
    min-height: 200px;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.btn-query {
    background-color: #0085cb;
    border-color: #0085cb;
    color: white;
    font-weight: 600;
    padding: 10px 30px;
    transition: all 0.2s;
}

.btn-query:hover,
.btn-query:focus {
    background-color: #009aeb;
    color: white;
    border-color: #009aeb;
}

.result-content {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    padding: 40px 20px;
}

.result-placeholder {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 40px 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {

    .query-panel,
    .result-panel {
        padding: 15px;
    }

    .btn-query {
        width: 100%;
        margin-top: 10px;
    }

    .input-group {
        display: block;
    }

    .input-group input {
        width: 100%;
        margin-bottom: 10px;
    }
}

