﻿/*清楚浮动*/
.clear {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}
.header {
    height: 59px;
    border-bottom: 1px solid #66d4c8;
    background-color: #66d4c8;
}
.logo {
    position: absolute;
    left: 15px;
    top: 5px;
}

.header .layui-nav {
    background-color: transparent;
    position: absolute;
    right: 15px;
    top: 0;
    padding: 0;
    background: none;
}

.component {
    position: absolute;
    width: 170px;
    left: 140px;
    top: 11px;
}
.header .layui-nav li a {
    font-size: 16px;
    color: #fff;
}

    .header .layui-nav li a:hover {
        color: rgba(255, 255, 255, .7);
    }

.web-title {
    height:50px;
    line-height:50px;
}
.web-title .layui-icon {
    margin-left:15px;
    font-size: 20px;
    color: #fff;
}

    .web-title .title {
        margin-left: 10px;
    }

    .web-title .title a{
        font-size: 16px;
        color: #fff;
    }

/* 卡片外层 */
.template-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
/* 预览图片区域 */
.template-img {
    padding: 10px;
}

    .template-img img {
        width: 100%;
        display: block;
    }

/* 底部绿色标题栏 */
.template-title {
    background: #66d4c8;
    color: #fff;
    padding: 12px 10px;
    font-size: 16px;
}

.template-item:hover {
    font-weight: 600;
}


.layui-laypage {
    display: block!important;
}

@media screen and (max-width: 768px) {
    .layui-laypage .layui-laypage-first {
        display: none !important;
    }

    .layui-laypage .layui-laypage-last {
        display: none !important;
    }

    .layui-laypage a, .layui-laypage span {
        padding: 0 10px !important;
    }
}
.footer {
    margin-top:40px;
    height: 99px;
 
    border-top: 1px solid #66d4c8;
    background-color: #66d4c8;
}

    .footer p {
        margin: 20px 0;
        color: #fff;
    }
    .footer p a,span{
       color:#fff;
    }

    .footer p span {
        margin:0 20px;
    }

.price-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px #eee;
    height: 100%;
    display: flex;
    flex-direction: column
}
.card-head {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    color: #fff
}

    .card-head::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 100%;
        height: 25px;
        background: #fff;
        border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    }

.head-blue {
    background: #00b8f2
}

.head-orange {
    background: #ff7800
}

.head-green {
    background: #28c970
}

.card-head h3 {
    font-size: 22px;
    margin-bottom: 6px
}

.card-head .desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6
}

.head-blue {
    background: #00b8f2
}

.head-orange {
    background: #ff7800
}

.head-green {
    background: #28c970
}

.head-red {
    background: #f22e00
}

.card-head h3 {
    font-size: 22px;
    margin-bottom: 6px
}

.card-head .desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6
}
/\* 卡片主体内容区 \*/
.card-body {
    flex: 1;
    padding: 30px 25px 20px;
    display: flex;
    flex-direction: column
}

.price-num {
    text-align: center;
    margin-bottom: 20px
}

    .price-num .money {
        font-size: 40px;
        color: #333;
        font-weight: bold
    }

    .price-num .year-fee {
        font-size: 14px;
        color: #888;
        margin-top: 4px
    }

.fee-red {
    color: red;
    font-weight: bold
}


.service-list {
    flex: 1;
    margin-bottom: 30px;
    margin-left:30px;
    
}

.service-list li {
    list-style: none;
    font-size: 14px;
    color: #555;
    line-height: 2.2;
    display: flex;
    align-items: center
}

    .service-list li i {
        color: #999;
        margin-right: 6px
    }

.text-red {
    color: red;
    font-weight: bold
}

.title-tag {
    position: relative;
    width: 280px;
    height: 36px;
    background: #002cb0;
    color: #fff;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    margin-bottom: 12px;
}
.table-top-desc {
    font-size: 15px;
    margin-bottom: 15px;
    color: #333;
}


.func-name {

    font-weight: bold;
    font-size: 15px;
}


.func-content {
    line-height: 1.7;
    font-size: 14px;
    color: #444;
}


.layui-table td {
    padding: 18px 22px;
}



.left-tree {
    width: 240px;
    height: 100%;
    overflow-y: auto;
}
.right-main {
    flex: 1;
    height: 100%;
    overflow: hidden;
}
.layout-box {
    display: flex;
    height: 100%;
}

.container .content .content-left {
    width: 295px;
    float: left;
}

.container .content .content-right {
    float: left;
    width: calc(100% - 295px);
}

.left-tree .layui-tree-text {
    color: #c0c6cf;
}

.left-tree .layui-tree-node:hover .layui-tree-text {
    color: #fff;
}

.layui-tree-bar {
    background: #354961;
}


/*模板*/
/* 顶部头部栏 */
.top-bar {
    height: 46px;
    background: #222831;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #fff;
    justify-content: space-between;
}

.top-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-right {
    display: flex;
    gap: 14px;
    align-items: center;
}

.layui-btn-red {
    background: #f43838;
}

.icon-btn {
    cursor: pointer;
    padding: 4px 8px;
    font-size: 18px;
}
/* 主体左右布局 */
.main-wrap {
    display: flex;
    height: calc(100% - 46px);
}
/* 左侧菜单 */
.left-menu {
    width: 180px;
    background: #eee;
    overflow-y: auto;
}

.menu-head {
    background: #dd3333;
    color: #fff;
    padding: 10px 14px;
}

.left-menu .layui-nav {
    background: transparent;
}

.left-menu .layui-nav-item a {
    color: #333;
}

.left-menu .layui-nav-item.layui-this a {
    background: #fff;
    color: #0066cc;
}
/* 右侧预览区域 */
.preview-box {
    flex: 1;
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center; /* iframe水平居中 */
    align-items: flex-start;
    background: #999; /* 灰色背景方便看到边界 */
}

#previewIframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    transition: all 0.3s;
    margin: 0 auto;
    display: block;
}

.layui-link {
    color: #66b1ff;
    cursor: pointer;
}

/* 分页 */
.page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

    .page-nav a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        color: #666;
        font-weight: 400;
        text-align: center;
        border: 1px solid #dedede;
        border-radius: 4px;
        margin: 0 2px;
        transition: all ease .4s;
        -webkit-transition: all ease .4s;
    }

    .page-nav span {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        color: #666;
        font-weight: 400;
        text-align: center;
        border-radius: 4px;
        margin: 0 2px;
        transition: all ease .4s;
        -webkit-transition: all ease .4s;
    }

    .page-nav .on {
        padding: 0 18px;
        background: #66d4c8;
        color: #fff;
        border: 1px solid #66d4c8;
    }

    .page-nav a:hover {
        background: #66d4c8;
        color: #fff;
        border: 1px solid #66d4c8;
    }


    .page-nav .prev:hover {
        background: #66d4c8 url(../images/icon24-1.png) no-repeat center;
        border: 1px solid #66d4c8;
    }

    .page-nav .next:hover {
        background: #66d4c8 url(../images/icon25-1.png) no-repeat center;
        border: 1px solid #66d4c8;
    }

    .page-nav > a:first-of-type:hover {
        background: #66d4c8 url(../images/icon24-1.png) no-repeat center;
        border: 1px solid #66d4c8;
    }

    .page-nav > a:last-of-type:hover {
        background: #66d4c8 url(../images/icon25-1.png) no-repeat center;
        border: 1px solid #66d4c8;
    }

    .page-nav > a:first-of-type {
        background: url(../images/icon24.png) no-repeat center;
        font-size: 0;
    }

    .page-nav > a:last-of-type {
        background: url(../images/icon25.png) no-repeat center;
        font-size: 0;
    }

    /* 侧边悬浮导航 */
.right_nav{ right:0; bottom:280px; position:fixed; text-align:left;overflow: hidden;z-index:99999;}
.right_nav li{background:#66d4c8;margin:4px 0;padding: 10px;border-top-left-radius: 4px;border-bottom-left-radius: 4px;cursor:pointer;position:relative; right: -70px;}
.right_nav li .iconBox{text-align: center;overflow: hidden;display: flex;align-items: center;justify-content: space-between}
.right_nav li img{width: 30px;height:30px;}
.right_nav li h4{color: #fff;font-size:14px;margin:2px 0;margin-left: 15px;}
.right_nav li:hover{background:#002cb0}
.right_nav li .hideBox{display: none;position: absolute;right:120px;padding:10px;padding-right: 15px; top:-10px;z-index: 999;}
.right_nav li .hideBox .hb{border: 1px solid #ccc;background-color: #fff; padding: 10px 20px;border-top: 2px solid #66d4c8;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;height:210px;}
.right_nav li .hideBox .hb h5{padding: 5px 0;border-bottom: 2px solid #ccc;color: #66d4c8;font-size: 16px;font-weight: 400;display: block;white-space: nowrap;}
.right_nav li .hideBox .hb p {margin-top: 5px;font-size: 16px;color: #555;}
.right_nav li .hideBox .hb .qqtalk{margin-top: 10px;}
.right_nav li .hideBox .hb .qqtalk a{display: flex;align-items: center}
.right_nav li .hideBox .hb .qqtalk img{width: 25px;height:25px;}
.right_nav li .hideBox .hb .qqtalk p{font-size: 14px;font-weight: 400;white-space: nowrap;margin-top: -5px;margin-left: 5px;}
.right_nav li:nth-child(2) .hideBox img{width:140px;height: 140px;margin-top: 10px;}