@CHARSET "UTF-8";

/* ===== 原有基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #0ef;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden; /* 允许垂直滚动 */
    min-height: 100vh;
    position: relative;
    padding-top: 90px;
}


/* 背景网格、粒子、发光元素保持不变 */
.grid {
    position: fixed; /* 改为fixed，覆盖整个视口 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 238, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 238, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.glow-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* 发光圆元素样式不变 */
.glow-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 40px 10px rgba(0, 238, 255, 0.5);
    animation: glow 5s infinite alternate;
}
.element1 { width: 300px; height: 300px; top: 10%; left: 5%; animation-delay: 0s; }
.element2 { width: 200px; height: 200px; bottom: 10%; right: 10%; animation-delay: 2.5s; }
.element3 { width: 150px; height: 150px; top: 50%; left: 80%; animation-delay: 1s; }

/* 动画保持不变 */
@keyframes pulse { /* ... */ }
@keyframes gridMove { /* ... */ }
@keyframes glow { /* ... */ }
.live-box {
    position: relative;
    align-items: center;
    z-index: 10;
    padding-top: 25px;
}
.sy-slide::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.navbar{
    background-color: #000;
    color: #0ef;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 238, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
}
.navbar-brand {
    color: #0ef !important;
    font-weight: bold;
    text-shadow: 0 0 10px #0ef;
}
.navbar-nav .nav-link {
    margin: 25px 15px 0 15px;
    padding: 0 0 10px 0;
    
}
.navbar-nav .nav-link-foot, .navbar-nav .nav-link{
    color: #0ef !important;
    text-shadow: 0 0 5px #0ef;
}
.navbar-nav li a:hover::after, .navbar-nav li.active a::after
 {
    width: 100%;
}
.navbar-nav a::after
 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ef;
    box-shadow: 0 0 10px #0ef;
    transition: 0.3s;
}

.navbar-fixed-top, .navbar-fixed-bottom {
    position: fixed;
}

.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
    margin-right: 0px;
    margin-left: 0px;
}

.navbar .nav .user {
    padding: 0;
    line-height: 70px;
    color:#0ef;
}

.navbar .nav .user .headicon {
    margin: 0 5px;
    height: 30px;
    border-radius: 15px;
}

.navbar .nav .user .caret {
    vertical-align: middle;
    margin: 0 5px;
}
.search-box{
    display: flex;
    align-items: center;
    background: rgba(0, 238, 255, 0.1);
    border: 1px solid #0ef;
    border-radius: 10px;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
}
.search-box-input{  
    background: transparent;
    border: none;
    color: #0ef;
    outline: none;
    width: 180px;
    font-size: 0.9rem;
}
.search-box-btn{
    margin:0;
    background: transparent;
    border: none;
    color: #0ef;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: 0.3s;
    font-size: 1rem;
}
.search-box-btn:hover{
    background:#0ef;
    color:#FFF;
}
.dropdown-menu{
    background-color:#1a1a1a ;
}
.dropdown-menu>li>a,.list-inline>li>a{
    color:#0ef;
}
.dropdown-menu>li>a:hover{
    background-color:#0ef;
    color:#fff;
}
.btn-block,.get-tel-code{
    background-color:#0ef;
    border-radius: 5px;
}
.js-ajax-form input{
    border-radius: 5px;
}
#footer{
    text-align: center;
}
.nav-foot-div{
    display: flex;
    justify-content: center;
}
.nav-foot{
    display: flex;
    list-style: none;
}
.nav-foot a{
    color:#0ef !important;
    padding: 3px 10px !important;
}
.nav-foot a:hover{
    background: #0ef !important;
    color:#FFF !important;
}

/* ===== 轮播图自定义样式 ===== */
#mainCarousel {
    max-width: 1200px;        /* 限制最大宽度，适合大屏 */
    margin: 20px auto;         /* 居中并增加上下边距 */
    border-radius: 8px;        /* 可选：圆角效果 */
    overflow: hidden;          /* 保证圆角裁剪 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 轻微阴影 */
}
/*#mainCarousel .item::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none; 
}*/

/* 图片默认占满容器宽度，高度自动 */
#mainCarousel .carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;         /* 保持比例，可能裁剪部分区域，可根据需要改为contain */
}

/* 文字说明样式 */
#mainCarousel .carousel-caption {
    /*background: rgba(0, 0, 0, 0.5); /* 半透明黑底 */
    border-radius: 4px;
    padding: 10px 20px;
    bottom: 10%;               /* 调整垂直位置 */
    text-shadow: 1px 1px 2px #000;
}

#mainCarousel .carousel-caption p {
    font-size: 18px;
    margin: 0;
    color: #fff;
    font-weight: 500;
}

/* 左右控制按钮颜色和大小调整 */
#mainCarousel .carousel-control,.banner-carousel .carousel-control {
    background: none;          /* 移除默认渐变背景，保持简洁 */
    width: 5%;                 /* 控制按钮宽度 */
    opacity: 0.8;
}

#mainCarousel .carousel-control .glyphicon-chevron-left,
#mainCarousel .carousel-control .glyphicon-chevron-right {
    font-size: 30px;           /* 调整箭头大小 */
    width: 30px;
    height: 30px;
    margin-top: -15px;
}

/* 指示器样式微调 */
#mainCarousel .carousel-indicators li {
    border-color: #fff;
    background-color: rgba(255,255,255,0.3);
    width: 12px;
    height: 12px;
    margin: 0 4px;
}

#mainCarousel .carousel-indicators li.active {
    background-color: #fff;
    width: 14px;
    height: 14px;
}
/*轮播页下面的样式*/
.modules {
    display: flex;
    flex-direction: column;  /* 改为纵向排列 */
    align-items: center;
    gap: 4rem;
    padding: 3rem 2rem;
    max-width: 1200px;       /* 限制最大宽度，居中 */
    margin: 0 auto;
    width: 100%;
}
.module-panel {
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
    width: 100%;              /* 占满容器宽度 */
    transition: 0.3s;
}

.module-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px #0ef;
    width:1200px;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #0ef;
    padding-bottom: 0.5rem;
}

.module-header h3 {
    color: #0ef;
    font-size: 2.5em;
    margin: 0;
    text-shadow: 0 0 5px #0ef;
}

.module-header .more-link {
    color: #aaf;
    text-decoration: none;
    font-size: 1.5rem;
    border-bottom: 1px solid #0ef;
    border-radius: 20px;
    padding: 0.3rem 1.2rem;
    transition: 0.3s;
}

.module-header .more-link:hover {
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 10px #0ef;
}

.module-desc {
    color: #aaf;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.5rem;
    border-left: 3px solid #0ef;
    padding-left: 1rem;
    background: rgba(0, 238, 255, 0.05);
    border-radius: 0 5px 5px 0;
}

.module-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.module-list li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0, 238, 255, 0.3);
    color: #aaf;
    font-size: 1.5rem;
}

.module-list li:last-child {
    border-bottom: none;
}

.module-list .item-name {
    color: #0ef;
    font-weight: bold;
    flex: 2;
}

.module-list .item-detail {
    flex: 3;
    color: #aaf;
}

.module-list .item-meta {
    flex: 1;
    text-align: right;
    color: #0ef;
}

/* ===== 课堂页 banner 轮播块 ===== */
.banner-carousel {
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.banner-carousel .carousel-inners {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    transition: transform 0.5s ease;
}

.banner-carousel .carousel-item {
    min-width: calc(33.333% - 0.67rem);
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    border: 1px solid #0ef;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.banner-carousel .carousel-item .carousel-item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    
}

.banner-carousel .carousel-item .content {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 50%);
    color: #fff;
    z-index: 2;
    flex: 1;
    overflow-y: auto;
}

.banner-carousel .carousel-item .status {
    position: absolute;
  top: 8%;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(14px, 2.5vw, 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.banner-carousel .carousel-item .item-purchased {
  margin-left: 1em;
  font-size: inherit;
  color: #f0f0f0;
}

/* 卡片标题 */
.banner-carousel .carousel-item .item-name {
  position: absolute;
  top: 25%;
  left: 5%;
  right: 5%;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0056D0;
}

/* 元信息（直播时间标签） */
.banner-carousel .carousel-item .meta {
  position: absolute;
  top: 45%;
  left: 5%;
  right: 5%;
}

/* 直播时间标签 */
.banner-carousel .carousel-item .meta .time {
  display: inline-block;
  padding: 0.5em 1em;
  background-image: linear-gradient(145deg, #076bcf, #94e7ff);
  color: #e5e1e1;
  border-radius: 5px;
  font-size: clamp(12px, 2vw, 18px);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f0;
    box-shadow: 0 0 10px #0f0;
}

.status-dot.closed {
    background: #888;
    box-shadow: none;
}
.status-dot.comming {
    background: #FFEB3B;
    box-shadow: none;
}

.banner-carousel .carousel-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0ef;
}

.banner-carousel .carousel-item .meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #aaf;
}

.banner-carousel .carousel-item .actions {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    right: 10%;
    bottom: 5%;
    z-index: 10;
}

.banner-carousel .carousel-item .actions .btn {
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid #0ef;
    color: #0ef;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    text-shadow: 0 0 5px #0ef;
    box-shadow: 0 0 10px rgba(0, 238, 255, 0.3);
    text-decoration: none;
    display: inline-block;
}

.banner-carousel .carousel-control {
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    z-index: 5;
}

/* 购买页面 */
.buy-box {
    position: fixed;
    top: 79px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}
.buy-box .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.buy-box .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(60, 60, 70, 0.4);
    backdrop-filter: blur(2px);
    padding: clamp(20px, 5vw, 40px) clamp(16px, 4vw, 48px);
    color: white;
    border-radius: 24px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.5);
    z-index: 2;
}
.buy-box .header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: clamp(24px, 6vw, 48px);
}
.buy-box .course-name {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.buy-box .teacher {
    font-size: clamp(18px, 3.5vw, 28px);
    font-weight: 400;
    color: #ccccff;
    border-left: 2px solid #0ef;
    padding-left: 12px;
    line-height: 1.2;
}
.buy-box .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.buy-box .close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
.buy-box .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 3vw, 30px);
    margin-bottom: clamp(30px, 8vw, 60px);
}
.buy-box .list-item {
    background: #0ef;
    color: white;
    border-radius: 20px;
    padding: clamp(16px, 4vw, 28px) clamp(20px, 5vw, 36px);
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(0, 238, 255, 0.4);
    transition: transform 0.2s ease;
    min-width: 120px; 
    flex: 0 1 auto;
}
.buy-box .list-item:hover {
    transform: scale(1.03);
    cursor: pointer;
}
.buy-box .list-item.active {
    /* 示例：加深背景色，添加边框 */
    background: #0cf; /* 比#0ef稍深 */
    box-shadow: 0 0 0 2px white, 0 15px 25px -5px rgba(0,238,255,0.8);
    transform: scale(1.05); /* 轻微放大 */
}
.buy-box .days {
    font-size: clamp(22px, 5vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    white-space: nowrap;
}
.buy-box .price {
    font-size: clamp(20px, 4.5vw, 32px);
    font-weight: 600;
    opacity: 0.95;
    white-space: nowrap;
}
.buy-box .btn-container {
    text-align: center;
}
.buy-box .buy-btn {
    background: transparent;
    border: none;
    color: #0ef;
    font-size: clamp(20px, 5vw, 36px);
    font-weight: 700;
    padding: 12px 40px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(0, 238, 255, 0.3) inset;
    background: rgba(0, 238, 255, 0.05); 
}
.buy-box .buy-btn:hover {
    background: rgba(0, 238, 255, 0.15);
    box-shadow: 0 0 15px #0ef;
}
/*课程购买*/
.pay-box,.info-box {
    position: fixed;
    top: 79px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}
.pay-box .pay-mask,.info-box .info-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000009c;
    z-index: 1;
}
.pay-box .pay-content,.info-box .info-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: rgba(60, 60, 70, 0.4);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.5);
    color: #0ef;
    z-index: 2;
}
.pay-box .pay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.pay-box .pay-title {
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 600;
    color: #0ef;
}
.pay-box .pay-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #0ef;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.pay-box .pay-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
.pay-box .pay-message-box,.info-box .info-message-box {
    background: #000000b0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    color: #0ef;
    font-size: clamp(16px, 4vw, 20px);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

/* 课程介绍区域 */
.course-container{
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
}
.course-detail {
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
    display: none;
}

.course-detail h2 {
    color: #0ef;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px #0ef;
}

.course-detail .content {
    color: #aaf;
    line-height: 1.8;
}
.course-detail .content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*开户链接*/
/* ===== MT4开户页 ===== */
.mt4-container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
}

.mt4-platform {
    margin-bottom: 2rem;
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid #0ef;
    border-radius: 15px;
    padding: 1.5rem;
}

.mt4-platform h2 {
    color: #0ef;
    margin-bottom: 1rem;
    border-bottom: 1px solid #0ef;
    padding-bottom: 0.5rem;
}

.account-type {
    margin-top: 1rem;
}

.account-type h3 {
    color: #aaf;
    margin-bottom: 0.5rem;
}

.account-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.account-links a {
    color: #0ef;
    text-decoration: none;
    padding: 0.3rem 1rem;
    border: 1px solid #0ef;
    border-radius: 6px;
    transition: 0.3s;
}
.account-links a:hover{
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px #0ef, 0 0 60px rgba(0, 238, 255, 0.3);
}
.account-links a:hover {
    background: rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 10px #0ef;
}
/*用户中心*/
.col-md-3 .list-group,.form-group .btn-yx{
    border-width: 0 0 var(--bs-list-group-border-width);
    border:1px solid #0ef;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.col-md-3 .list-group-item,.form-group>a{
    background: transparent;
    color:#0ef;
}
.form-group input{
    border: 1px solid #0ef !important;
}
.col-md-3 .list-group-item:hover,.col-md-3 .active-item,.form-group .btn-yx:hover{
    background: #0ef;
    color:#FFF;
}
.col-md-9 .nav-tabs li.active>a{
    background: #0ef !important;
    color:#FFF !important;
    font-weight: 600;
}
.col-md-9 .nav-tabs li>a{
    background: transparent !important;
    color:#0ef !important;
    font-weight: 600;
    cursor: pointer;
}
.col-md-9 .nav-tabs li>a:hover{
    border: none;
}
.form-group .btn-yx{
    padding: 8px 12px;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
}
.custom-file-upload {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: #0ef;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #0ef;
    transition: background 0.2s;
}
.custom-file-upload:hover {
    background-color: #0ef;
    color: white;
}
.pagination li>span, .pagination li>a{
    background: transparent !important;
    color:#0ef !important;
}
.pagination li>span:hover, .pagination li>a:hover{
    background-color: #0ef !important;
    color: white !important;
}
/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .navbar-menu { display: none; } 
}

/*tc widget*/
.tc-main {
    margin-top: 20px;
}

/*tc-box*/
.tc-box {
    background: #fff;
    padding: 5px 10px;
    margin: 0 0 10px 0;
}

.body-white .tc-box{
    border: solid 1px #eee;
}

.tc-box.first-box {
    margin: 0 0 10px 0;
}

.tc-box.article-box {
    padding: 5px 20px;
}

/*tc-box end */

/* The blog boxes */
/*.tc-gridbox {
  background-color: #ececec;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: 0px 1px 1px #a8a8a8;
  -moz-box-shadow: 0px 1px 1px #a8a8a8;
  box-shadow: 0px 1px 1px #a8a8a8;
  margin-bottom: 40px;
}*/
.tc-gridbox-container {
    width: 25%;
    float: left;
}

.tc-gridbox {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: solid 1px #eee;
    background: #fff;
    cursor: pointer;
}

.tc-gridbox {
    margin: 0 10px 20px 10px;
}

.tc-gridbox:hover {
    -webkit-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
}

.tc-gridbox a {
    text-decoration: none;
}

@media ( min-width: 768px) and (max-width: 979px) {
    .tc-gridbox {
        display: block;
        float: none;
        width: 95%;
    }
}

@media ( max-width: 979px) {
    .tc-gridbox-container {
        display: block;
        float: none;
        width: 100%;
    }

    .tc-gridbox {
        margin: 0 0 10px 0;
    }
}

.tc-gridbox .header {
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    text-align: center;
    background: #fff;
}

.tc-gridbox .footer {
    padding: 5px 14px 5px 14px;
    text-align: right;
    background: #fff;
}

.tc-gridbox .header .item-image {
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}

.tc-gridbox .header img {
    margin-bottom: 5px;
    /*-webkit-transition: all 0.8s ease-in-out;*/
    /*-moz-transition: all 0.8s ease-in-out;*/
    /*-o-transition: all 0.8s ease-in-out;*/
    /*-ms-transition: all 0.8s ease-in-out;*/
    /*transition: all 0.8s ease-in-out;*/
}

.tc-gridbox .header img:hover {

    /*-webkit-transform: scale(1.2) rotate(2deg);*/
    /*-moz-transform: scale(1.2) rotate(2deg);*/
    /*-o-transform: scale(1.2) rotate(2deg);*/
    /*-ms-transform: scale(1.2) rotate(2deg);*/
    /*transform: scale(1.2) rotate(2deg);*/
}

.tc-gridbox .header h3 {
    color: #454a4e;
    margin: 0 5px;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 24px;
}

.tc-gridbox .header h3 a,
.tc-gridbox .header h3 a:focus,
.tc-gridbox .header h3 a:hover {
    color: #454a4e;
    white-space: nowrap;
}

.tc-gridbox .header .meta {
    color: #5a6065;
}

.tc-gridbox .header hr {
    border-top-color: #eee;
    border-bottom: none;
    margin: 5px 0;
}

.tc-gridbox .body {
    padding-right: 14px;
    padding-left: 14px;
    margin-bottom: 14px;
    color: #343a3f;
}

.tc-gridbox .body a {
    color: #666;
}

.tc-gridbox .body a:hover {
    color: #428bca;
}

.tc-gridbox .btn {
    float: right;
    margin-right: 10px;
    margin-bottom: 18px;
}

/*masonary*/

.masonary-container .item {
    margin-bottom: 20px;
}

.masonary-container .item h3 {
    line-height: 100%;
}

.masonary-container .grid-sizer, .masonary-container .item {
    width: 24.9%;
    margin: 10px 0.05%;
    float: left;
    zoom: 1;
}

@media ( max-width: 479px) {
    .masonary-container .grid-sizer, .masonary-container .item {
        width: 98%;
        margin: 10px 1%;
        float: left;
        zoom: 1;
    }
}

@media ( min-width: 480px) and (max-width: 767px) {
    .masonary-container .grid-sizer, .masonary-container .item {
        width: 48%;
        margin: 10px 1%;
        float: left;
        zoom: 1;
    }
    .container{
        margin-left: 0px !important;
    }
}

/*list Boxes
------------------------------------*/
.list-boxes {
    overflow: hidden;
    padding: 15px 20px;
    margin-bottom: 25px;
    background: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    word-wrap: break-word;
    word-break: break-all;
    border: solid 1px #eee;
}

.list-boxes:hover {
    border: solid 1px #ddd;
}

.list-boxes h2 a {
    color: #555;
}

.list-boxes:hover h2 a {
    color: #f90;
}

.list-boxes .list-actions a {
    font-size: 16px;
    text-decoration: none;
}

.list-boxes p a {
    color: #72c02c;
}

.list-boxes .list-boxes-img li i {
    color: #72c02c;
    font-size: 12px;
    margin-right: 5px;
}

.list-boxes .list-boxes-img img {
    display: block;
    margin: 5px 10px 10px 0;
}

.list-boxes h2 {
    margin-top: 0;
    font-size: 20px;
    line-height: 20px;
}

.list-boxes ul.list-boxes-rating li {
    display: inline;
}

.list-boxes ul.list-boxes-rating li i {
    color: #f8be2c;
    cursor: pointer;
    font-size: 16px;
}

.list-boxes ul.list-boxes-rating li i:hover {
    color: #f8be2c;
}

/*list Colored Boxes*/
.list-boxes-colored p,
.list-boxes-colored h2 a,
.list-boxes-colored .list-boxes-img li,
.list-boxes-colored .list-boxes-img li i {
    color: #fff;
}

/*Red list Box*/
.list-boxes-red {
    background: #e74c3c;
}

/*Blue list Box*/
.list-boxes-blue {
    background: #3498db;
}

/*Grey list Box*/
.list-boxes-grey {
    background: #95a5a6;
}

/*Turquoise list Box*/
.list-boxes-sea {
    background: #1abc9c;
}

/*Turquoise Top Bordered list Box*/
.list-boxes-top-sea {
    border-top: solid 2px #1abc9c;
}

.list-boxes-top-sea:hover {
    border-top-color: #16a085;
}

/*Yellow Top Bordered list Box**/
.list-boxes-top-yellow {
    border-top: solid 2px #f1c40f;
}

.list-boxes-top-yellow:hover {
    border-top-color: #f39c12;
}

/*Orange Left Bordered list Box**/
.list-boxes-left-orange {
    border-left: solid 2px #e67e22;
}

.list-boxes-left-orange:hover {
    border-left-color: #d35400;
}

/*Green Left Bordered list Box**/
.list-boxes-left-green {
    border-left: solid 2px #72c02c;
}

.list-boxes-left-green:hover {
    border-left-color: #5fb611;
}

/*Green Right Bordered list Box**/
.list-boxes-right-u {
    border-right: solid 2px #72c02c;
}

.list-boxes-right-u:hover {
    border-right-color: #5fb611;
}

/*comments*/
.comment {
    margin-bottom: 10px;
}

.comment .avatar {
    height: 40px;
    width: 40px;
}

.comment-body {
    overflow: hidden;
}

.comment-content {
    padding-bottom: 2px;
    word-break: break-all;
    word-wrap: break-word;
}

.comment > .pull-left {
    margin-right: 10px;
}

.comment .time {
    color: #ccc;
    font-size: 12px;
    line-height: 14px;
}

.comment-postbox-wraper {

}

.comment-postbox {
    width: 100%;
    padding: 10px;
}

.comment-reply-box {
    position: relative;
}

.comment-reply-box .textbox {
    width: 100%
}

.comment-reply-submit .btn {
    margin-top: 20px;
}

/*ranking box*/

.ranking ul li {
    padding: 5px 0;
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px dashed #f0f0f0;
}

.ranking ul.unstyled li i {
    margin-right: 5px;
}

.ranking li i {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 15px;
    font-style: normal;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    background-color: #aaa;
}

.ranking li.top3 i {
    background: #FC9B0B;
}

/*comment ranking box*/
.comment-ranking .comment-ranking-inner {
    padding: 10px;
    background: #f7f7f7;
    position: relative;
    margin-bottom: 10px;
    /*border-top: solid 2px #eee;*/
}

.comment-ranking .comment-ranking-inner,
.comment-ranking .comment-ranking-inner:after,
.comment-ranking .comment-ranking-inner:before {
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.comment-ranking .comment-ranking-inner:after,
.comment-ranking .comment-ranking-inner:before {
    width: 0;
    height: 0;
    right: 0px;
    bottom: 0px;
    content: " ";
    display: block;
    position: absolute;
}

.comment-ranking .comment-ranking-inner:after {
    border-top: 15px solid #eee;
    border-right: 15px solid transparent;
    border-left: 0px solid transparent;
    border-left-style: inset; /*FF fixes*/
    border-right-style: inset; /*FF fixes*/
}

.comment-ranking .comment-ranking-inner:before {
    border-bottom: 15px solid #fff;
    border-right: 0 solid transparent;
    border-left: 15px solid transparent;
    border-left-style: inset; /*FF fixes*/
    border-bottom-style: inset; /*FF fixes*/
}

.comment-ranking .comment-ranking-inner:hover {
    border-color: #FC9B0B;
    border-top-color: #FC9B0B;
    background: #f0f0f0;
}

.comment-ranking .comment-ranking-inner:hover:after {
    border-top-color: #FC9B0B;
}

.comment-ranking .comment-ranking-inner span.comment-time {
    color: #777;
    display: block;
    font-size: 11px;
}

.comment-ranking .comment-ranking-inner a {
    text-decoration: none;
}

.comment-ranking .comment-ranking-inner a:hover {
    text-decoration: underline;
}

.comment-ranking .comment-ranking-inner i.fa {
    top: 2px;
    color: #bbb;
    font-size: 18px;
    position: relative;
}

/*ThinkCMF Photos*/
ul.tc-photos {
    margin: 0;
}

.tc-photos li {
    display: inline;
}

.tc-photos li a {
    text-decoration: none;
}

.tc-photos li img {
    opacity: 0.6;
    width: 50px;
    height: 50px;
    margin: 0 2px 8px;
    border: 1px solid #ddd;
}

.tc-photos li img:hover {
    opacity: 1;
    border: 1px solid #f90;
    /* box-shadow: 0 0 0 1px #f90; */
}

/**/

/*Blog Posts
------------------------------------*/
.posts .dl-horizontal a {
}

.posts .dl-horizontal {
    margin-bottom: 15px;
    overflow: hidden;
}

.posts .dl-horizontal dt {
    width: 60px;
    float: left;
}

.posts .dl-horizontal dt .img-wraper {
    display: block;
    width: 55px;
    height: 55px;
    padding: 1px;
    margin-top: 2px;
    border: solid 1px #ddd;
}

.posts .dl-horizontal dt img {
    width: 100%;
    height: 100%;
    /* width: 55px;
    height: 55px;
    padding: 1px;
    margin-top: 2px;
    border: solid 1px #ddd; */
}

.posts .dl-horizontal dd {
    margin-left: 70px;
}

.posts .dl-horizontal dd p {
    margin: 0;
}

.posts .dl-horizontal dd a {
    font-size: 14px;
    line-height: 16px !important;
}

.posts .dl-horizontal dd a:hover {
    text-decoration: none;
}

.posts .dl-horizontal:hover dt img,
.posts .dl-horizontal:hover dd a {
    color: #FC9B0B;
    border-color: #FC9B0B !important;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/* ===== 响应式调整 ===== */
/* 平板 (宽度小于 992px) */
@media (max-width: 991px) {
    #mainCarousel .carousel-caption p {
        font-size: 16px;
    }
    #mainCarousel .carousel-caption {
        padding: 8px 16px;
        bottom: 15%;
    }
    #mainCarousel .carousel-control .glyphicon-chevron-left,
    #mainCarousel .carousel-control .glyphicon-chevron-right {
        font-size: 24px;
    }
    
    .banner-carousel .carousel-item { min-width: 49%; }
}

/* 手机 (宽度小于 768px) */
@media (max-width: 767px) {
    #mainCarousel {
        margin: 10px auto;
        border-radius: 0;       /* 手机端可去除圆角，全屏显示 */
    }
    #mainCarousel .carousel-caption {
        bottom: 10%;
        padding: 5px 10px;
    }
    #mainCarousel .carousel-caption p {
        font-size: 14px;
    }
    #mainCarousel .carousel-control .glyphicon-chevron-left,
    #mainCarousel .carousel-control .glyphicon-chevron-right {
        font-size: 20px;
    }
    #mainCarousel .carousel-indicators li {
        width: 10px;
        height: 10px;
    }
    #mainCarousel .carousel-indicators li.active {
        width: 12px;
        height: 12px;
    }
    /* 光晕元素平板适配 */
    .element1 {
        width: 200px;
        height: 200px;
        top: 5%;
        left: 5%;
    }
    
    .element2 {
        width: 150px;
        height: 150px;
        bottom: 5%;
        right: 5%;
    }
    
    .element3 {
        width: 100px;
        height: 100px;
        top: 40%;
        left: auto;
        right: 5%;
    }
    
    .banner-carousel .carousel-item { min-width: 100%; }
}

/* 手机设备 (宽度 ≤ 480px) */
@media (max-width: 480px) {
    .element1 {
        width: 120px;
        height: 120px;
        /* 保持原有top/left，已足够小不遮挡 */
    }
    
    .element2 {
        width: 100px;
        height: 100px;
    }
    
    .element3 {
        width: 80px;
        height: 80px;
        top: 35%;   /* 稍微上移避免与卡片重叠 */
        /* 继承平板的 left: auto; right:5% 无需重复 */
    }

    /*课堂列表页*/
    .banner-carousel .carousel-item .status {
        font-size: 12px;
        gap: 5px;
    }
      .banner-carousel .carousel-item .item-name {
        font-size: 20px;
        letter-spacing: 1px;
    }
      .banner-carousel .carousel-item .meta .time {
        font-size: 11px;
    }
      .banner-carousel .carousel-item .actions .btn {
        font-size: 12px;
        padding: 0.4em 0.8em;
    }

    /*课程购买页*/
    .buy-box {
        border-radius: 16px;
    }
    .buy-box .content {
        padding: 15px;
        border-radius: 16px;
    }
    .buy-box .header {
        margin-bottom: 20px;
    }
    .buy-box .list-item {
        padding: 12px 16px;
        min-width: 100px;
    }
    .buy-box .buy-btn {
        padding: 10px 30px;
    }
    .buy-box .close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
    .pay-box .pay-content,.info-box .info-content {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .pay-box .pay-close-btn {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
    .pay-box .pay-message-box,.info-box .info-message-box {
        padding: 20px 15px;
    }
}

/* 如果图片高度在手机上需要固定，可以取消下面的注释并调整数值 */
/*
@media (max-width: 767px) {
    #mainCarousel .carousel-inner img {
        height: 200px;   // 根据需要设定固定高度
    }
}
*/
		