/* ----------------------------------- 认证证书样式  ----------------------------------- */
#navfirst_item {
	display: none;
}
/* banner */
.certificate-banner {
    width: 100%;
    min-width: 1129px;
    height: 300px;
    background: url("//7nsts.w3cschool.cn/images/w3c/certificate-banner.png?t=0522") no-repeat center center;
}
/* content */
.index-wrapper {
    margin: 0 auto 45px;
}
.certificate-content {
    padding:  10px 30px 0;
}
.secion-title {
	position: relative;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    color: #333;
}
.section-img {
    float: left;
    width: 45%;
    position: relative;
    text-align: center;
}
.section-block {
    float: right;
    width: 50%;
}
.section-block h4 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
}
.section-block p {
    line-height: 30px;
    font-size: 16px;
    color: #333;
    margin: 20px 0;
}
.section b {
    margin: 0 3px;
}
.section .red {
    color: #d12610;
}
.line {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid #ddd;
    margin: 0 0 50px;
}
.cert-item {
    margin-bottom: 40px;
    overflow: hidden;
}
.cert-box {
    margin-top: 40px;
    overflow: hidden;
}
.cert-bg {
    position: relative;
    display: inline-block;
    width: 400px;
    height: 200px;
    background: url("//7nsts.w3cschool.cn/images/w3c/cert-bg.png") no-repeat center center;
}
.cert-title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 100px;
}
.cert-tag-vip {
    background-color: #d9534f;
}
.icon-cert-tag {
    display: inline-block;
    width: 80px;
    height: 80px;
    position: absolute;
    right: 0;
    bottom: 0;
}
.icon-cert-tick {
    background: url("//7nsts.w3cschool.cn/images/w3c/icon-cert-tick.png") no-repeat center center;
}
.icon-cert-cross {
    background: url("//7nsts.w3cschool.cn/images/w3c/icon-cert-cross.png") no-repeat center center;
}
.cert-tag {
    position: absolute;
    background: url("//7nsts.w3cschool.cn/images/w3c/cert-tag.png") no-repeat center top;
    width: 64px;
    height: 64px;
    left: 0;
    top: 0;
}
.cert-tag-vip {
    background: url("//7nsts.w3cschool.cn/images/w3c/cert-tag-vip.png") no-repeat center top;
}
.cert-demo {
    max-width: 400px;
}
.cert-desc-box {
    margin: 20px 0 40px;
}
.icon-cert-desc {
    display: inline-block;
    width: 64px;
    height: 64px;
    vertical-align: middle;
    margin-right: 10px;
}
.icon-cert-d1 {
    background: url("//7nsts.w3cschool.cn/images/w3c/icon-cert-d1.png") no-repeat center center;
}
.icon-cert-d2 {
    background: url("//7nsts.w3cschool.cn/images/w3c/icon-cert-d2.png") no-repeat center center;
}
.icon-cert-d3 {
    background: url("//7nsts.w3cschool.cn/images/w3c/icon-cert-d3.png") no-repeat center center;
}
.go-btn {
    display: block;
    width: 180px;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    background-color: #f5c607;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0 0;
}
.go-btn:hover {
    background-color: #eaad06;
    color: #fff;
}
.view-btn {
   background-color: #d9534f;
}
.view-btn:hover {
   background-color: #d2322d;
}
.cert-item-bottom  .secion-title span {
    margin: 0 8px;
    font-size: 36px;
}
.cert-item-bottom  .go-btn {
    margin: 40px auto 0;
    width: 250px;
}
/* 证书弹出模态框 */
.cert-area-main {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    overflow-y: scroll;
}
.cert-area-content {
    position: relative;
    width: 800px;
    height: auto;
    min-height: 430px;
    margin: 0 auto;
    overflow: hidden;
    top: 10%;
    z-index: 1200;
    background-color: #fff;
    border-radius: 4px;
    -moz-border-radius: 4px;     
    -webkit-border-radius: 4px;
}
.cert-area-top {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px;
}
.cert-area-title {
    font-size: 16px;
    color: #333;
}
.cert-area-close {
    float: right;
    width: 20px;
    height: 20px;
    font-weight: 700;
    text-align: center;
    color: #9e9e9e;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
}
.cert-area-bg {
    position: relative;
    width: 800px;
    height: 1132px;
    background: url("/statics/images/w3c/codecamp-cert-bg.png") no-repeat;
    background-size: 800px 1132px;
    font-family: "SimHei";
}
.cert-area-container {
    position: relative;
    top: 35%;
    font-size: 24px;
    color: #666;
    text-align: center;
}
.cert-area-container .cert-uname {
    font-size: 40px;
    color: #333;
}
.cert-area-container .cert-enname {
    margin-top: 2px;
    font-size: 24px;
}
.cert-area-container  .cert-name {
    margin-top: 25px;
    font-size: 38px;
    color: #333;
}
.cert-area-container .cert-meta {
    margin-top: 30px;
}
.cert-name2 {
    font-size: 15px;
}
.cert-meta2 {
    font-size: 13px;
}
.cert-area-meta {
    position: absolute;
    bottom: 7%;
    left: 10%;
}
.cert-area-meta p {
    margin-top: 5px;
    font-size: 16px;
    color: #666;
}