﻿/* PC */
.body {
    background-color: #f9f9f9;
    color: #494B4D;
}

.layui-layout-right {
    right: 30px;
}

.layui-layout-admin .layui-header {
    background-color: #1677ff;
    position: static
}

.layui-header .layui-logo {
    box-shadow: none;
}

 .layui-header .layui-logo a {
        color: #ffffff;
        font-size: 1.3em;
    }
 
 .layui-header .layui-logo .layui-icon {
        font-size: 1.15em
   }


.kmath {
    display: flex;
    background-color: #f9f9f9;
    padding: 10px;
    width:100%; 
    gap: 15px;
}

    .kmath_left {
        width: 210px;
        flex-shrink: 0;
    }


    .kmath_left .leftnav {
        text-align: left;
        padding-left: 0px;
        list-style: none;
        background: #ffffff;
        border-radius: 16px;
        padding: 12px 8px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }

    .kmath_left #nav {
        width: 210px;
        padding-top: 8px;
    }


        .kmath_left .leftnav li {
            line-height: 44px;
            margin-bottom: 4px;
            border-radius: 10px;
            transition: all 0.2s ease;
        }

        .kmath_left .leftnav li:last-child {
            margin-bottom: 0;
        }

        .kmath_left .leftnav li:hover {
            background-color: #f5f5f5;
        }


        .kmath_left .leftnav .sel {
            background-color: #e8f0fe;
            padding-bottom: 0;
        }

        .kmath_left .leftnav li.sel:hover {
            background-color: #e8f0fe;
        }

        .kmath_left .leftnav li h3 {
            margin: 0;
            padding: 0 16px;
            font-size: 14px;
            font-weight: 500;
        }

        .kmath_left .leftnav li h3 a {
            color: #444;
            text-decoration: none;
            display: block;
            transition: color 0.2s ease;
        }

        .kmath_left .leftnav li.sel h3 a {
            color: #1a73e8;
            font-weight: 600;
        }

        .kmath_left .leftnav li h3 a:hover {
            color: #1a73e8;
        }


        .kmath_center {
            flex: 1;
            min-width: 0;
        }


        .kmath_right {
            width: 300px;
            flex-shrink: 0;
        }


    .kmath_right .block {
        width:300px;
        background-color: #ffffff;
        padding: 10px;
    }

    .kmath_right h3 {
        border-bottom: solid 3px #fcfcfc;
    }

    .kmath_right .intro {
        margin-top: 10px;
        font-size: 12px;
        line-height: 20px;
    }

    .kmath_right a {
        color: #1E9FFF
    }




    /* 2 */



.vip_block {
    margin-top: 20px;
    padding: 20px;
    display: block;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid #fff;
    background: #fff9ed;
    margin-bottom: 10px;
}

    .vip_block a {
        display: inline-block;
        width: 99%;
        height: 34px;
        border-radius: 8px;
        border: 1px solid rgba(127, 80, 17, 0.2);
        background: linear-gradient(0deg, #FFD19C 0%, #FFE9CB 100%);
        color: #7F5011;
        font-size: 14px;
        font-style: normal;
        line-height: 34px;
        text-align: center
    }

        .vip_block ul {
            display: flex;
            margin-top: 10px;
            margin-bottom: 10px;
            justify-content: space-between;
        }

        .vip_block ul .layui-icon {
            color: #7F5011;
            font-size: 22px;
        }

        .vip_block ul li {
            width: 33%;
            font-size: 12px;
            text-align: center;
        }




.kmath2 {
    display: flex;
    margin: 0 auto;
    width: 1150px;
}

.kmath2_left {
    width: 800px;
    margin-left: 10px;
}

.kmath2_right {
    width: 280px;
    margin-left: 10px;
}


    .kmath2_right .block {
        width: auto;
        background-color: #ffffff;
        padding: 10px;
        margin-top:10px;
    }

    .kmath2_right h3 {
        border-bottom: solid 3px #fcfcfc;
    }

    .kmath2_right .intro {
        margin-top: 10px;
        font-size: 12px;
        line-height: 20px;
    }

    .kmath2_right .intro a {
        color: #1E9FFF;
        display: block;
        margin-bottom: 10px;
    }



    .hide-pad {
    }



.kmath1 {
    margin: 0 auto;
    width: 1150px;
}


/* PAD BIG */
@media screen and (max-width:1400px) {
    .layui-nav .layui-nav-item a {
            padding: 0px 10px;
        }

        .layui-layout-right .layui-nav-item {
            min-width: 80px
        }
  }






    /* PAD */
    @media screen and (max-width:1200px) {


        .layui-nav .layui-nav-item.chang_ver {
            display: none
        }

        .layui-nav .layui-nav-item a {
            padding: 0px 8px;
        }
        .layui-layout-right .layui-nav-item {
            min-width: 80px
        }
        

        .kmath_right {
            display: none
        }

        .layui-nav .layui-nav-item.hide-pad {
            display: none
        }

        .kmath1{ width:1000px; }
    }







    /* PAD Mini */
    @media screen and (max-width:1030px) {
        .layui-layout-right {
            right: 10px;
        }

        .layui-nav .layui-nav-item.hide-pad {
            display: none
        }

       .kmath2 {
            width: 1000px;
        }

        .kmath1 {
            width: 1000px;
        }
    }










    .footer-wrapper {
        text-align: center;
        height: 140px;
        line-height: 30px;
        padding-top: 20px;
        background-color: #333;
        color: #888
    }

    .footer-nav a {
        display: inline-block;
        margin: 8px;
    }

    .footer-wrapper a {
        color: #888
    }


