
.tab-content{padding-top:15px;padding-left:15px;margin-bottom: 70px;}

.flex_hcen{display:flex;align-items: center}

.flex_div .mb-3{display:flex;width:100%;align-items: baseline}
.flex_div .mb-3 .input_left{    min-width: 120px;
    text-align: right;
    padding: 0 25px 0 0;
    white-space: nowrap;
}
.flex_div .mb-3 .input_right{width:100%;}

.flex_div .flex_stretch{display:flex;align-items: stretch;}
.flex_div .flex_selfend{display:flex;align-items: self-end;}

.diy_success_info{font-size:16px;color:var(--bs-primary);}
.diy_success_info i{margin: 0 3px;}

.flex_between{display:flex;justify-content: space-between}





.f_row{display: flex}
.font20{font-size: 20px;}

.upload_img{margin-left: 5px;}
.upload_img .webuploader-pick{padding: 2.5px 16px}
.upload_img .webuploader-pick i{vertical-align: middle;}
.small_img{max-height: 100px;margin-top: 5px;}
.admin_img_rel{}
.upload_rel{position: relative;display: inline-flex;}


.font-12{font-size: 12px;}
.font-14{font-size: 14px; }
.font-16{font-size: 16px;}
.font-18{font-size: 18px;}
.font-20{font-size: 20px;}
.font-22{font-size: 22px;}
.font-24{font-size: 24px;}
.font-26{font-size: 26px;}
.font-28{font-size: 28px;}
.font-30{font-size: 30px;}
.font-32{font-size: 32px;}
.font-34{font-size: 34px;}
.font-36{font-size: 36px;}
.font-38{font-size: 38px;}
.font-40{font-size: 40px;}
.font-50{font-size: 50px;}
.font-60{font-size: 60px;}
.font-70{font-size: 70px;}
.font-80{font-size: 80px;}
.font-90{font-size: 90px;}
.font-100{font-size: 100px;}
.font-150{font-size: 150px;}



.ico_menu{font-size: 22px;margin-right: 5px;}
.ico_menu-r{font-size: 16px;margin-left:3px;}

.img-container {
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
}

.small_img {
    height: 80px;
    display: block;
}

.img-desc {
    width: 100%;
    margin-top: 5px;
}

.imgclose{position: absolute;right: 5px;
    top: 5px;
    cursor: pointer;
    background: #666;
    color: #fff;
    padding: 2px 5px;}
.admin_list_img{max-height:80px;}

.card-header{display: none}

.cursor{cursor:pointer;}
.input_sort{max-width: 50px;padding: 0.25rem 0.5rem;}


.tab-content > .tab-pane {

    position: absolute;
    opacity: 0;
    filter:Alpha(opacity=0);
    pointer-events: none;
}
.tab-content > .active {
    position: relative;
    opacity: 1;
    filter:Alpha(opacity=1);
    pointer-events: auto;
}

.f_row{display: flex;}



.cursor{cursor: pointer}


.diyshow{display: block;}
.card-body-nep{padding:0.4rem 1.75rem}
.none{display: none;}


.opchildren_1{
    margin-left: 20px;
}
.opchildren_2{
    margin-left: 40px;
}
.opchildren_3{
    margin-left: 60px;
}
.red{color:#F00;}
.ipt_req{padding-left: 3px;}

input[type="text"] {
    color: #000;
}

.category_list tr th{
    vertical-align:middle;
}
.category_list tr td{
    vertical-align:middle;
}

.flex_h_min{
    display: flex;
    align-items: center;
}
.opacity0{
    opacity:0;
}
.cate_name i.collapsed{
    transform: rotate(-90deg);
}
.down_90{
    transform: rotate(90deg);
}

#pills-tabContent .tab-pane .active{
    display: block;
    position: absolute;
    opacity: 0;
    filter:Alpha(opacity=0);
    pointer-events: none;
}

#pills-tabContent .active .active{
    position: relative;
    opacity: 1;
    filter:Alpha(opacity=1);
    pointer-events: auto;
}

.treelevel-0{
    padding-left: 20px;
}
.treelevel-1{
    padding-left: 40px;
}
.treelevel-2{
    padding-left: 60px;
}
.treelevel-3{
    padding-left: 70px;
}
.treelevel-4{
    padding-left: 100px;
}
.treelevel-5{
    padding-left: 120px;
}
.treelevel-6{
    padding-left: 140px;
}

.level-child{padding-left: 20px!important;}
.level-child:before{content:'--'}

/* 屏幕中央样式 */
#alertContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050; /* 确保层级在其他内容之上 */

}
#alertContainer .alert {
// max-width: fit-content;

}
#alertContainer .alert .bi {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentcolor;
}


/*通用*/
.max-w100{max-width: 100px;}
.max-w200{max-width: 200px;}
.max-w300{max-width: 300px;}
.max-w400{max-width: 400px;}
.max-w500{max-width: 500px;}
.max-w600{max-width: 600px;}
.max-w700{max-width: 700px;}
.max-w800{max-width: 800px;}
.max-w900{max-width: 900px;}

.s-width{width:260px;}
.m-width{width:120px;}
.l-width{width:50px;}

.hover-hand {
    cursor: pointer;
}


/*临时*/

.lyear-layout-container{
    display: flex;
}

.cbf {
    position: fixed;
    bottom: 0;
    left: 16px;
    padding-left: 75px;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding-top: 20px;
    padding-bottom: 10px;
    /* transform: translateX(-50%); */
    display: flex;
    gap: 10px;
    margin-left: var(--sidebar-width);
    z-index: 99999;
}

.tipsvg{width:18px;height:18px;}

.halign{position: relative }
.halign svg{
    position: absolute; top: 50%; transform: translateY(-50%);
}


.hidden {
    visibility: hidden; /* 让元素不可见 */
    opacity: 0;         /* 使元素完全透明 */
    position: absolute; /* 将元素移出布局 */
}

/*.transition {
    transition: visibility 0.1s, opacity 0.1s;
}*/


/* 容器设置为 CSS Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    grid-template-rows: repeat(3, 1fr); /* 3行 */
    gap: 10px; /* 元素间距 */
    width: 100%; /* 容器宽度 */

    margin: 0 auto; /* 居中容器 */
}

/* 每个 label 样式 */
.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    height: 100%;
}

.df_hcen{
    display: flex;
    align-items: center;
}

.wid100{width:100%;}

.fot_btn{padding-left: 15px}


.page-d ul{margin-bottom: 0;}
.page-info{margin-left:15px;margin-right: 15px;}


.form_ad_table tr td{
    max-width:10vw;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* 确保表格布局根据内容自动调整 */
.table_diy {
    table-layout: auto;
}
/* 针对最后一个 td */
.table_diy td:last-child {
    width: 1%;            /* 触发最小宽度 */
    white-space: nowrap;  /* 防止内容换行 */
    max-width:none!important;
}

/* 确保内部的 div 不撑满父容器 */
.table_diy td:last-child div {
    padding:0 10px;
    display: inline-block;
    max-width: 100%;      /* 防止内容溢出 */
}


.table_diy th{
    white-space: nowrap;
}


.table_diy td:nth-child(1),
.table_diy th:nth-child(1),
.table_diy td:nth-child(2),
.table_diy th:nth-child(2) {
    border-width: 0;
}

.ad_content_img img{height:20px;}


/*uploader上传css*/
.upload-btn {
    border: 1px solid #007bff;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    display:flex;
    align-items: center;
}
.upload-btn:hover {
    background-color: #156cca;
}
.preview-image, .preview-file {
    margin-top: 10px;
}

/* 单图和附件预览图片 */
.preview-image img {
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 0.1);
    vertical-align: middle;
}
/* 删除链接按钮 */
.dz-remove {
    display: inline-block;
    margin-left: 10px;
    color: #dc3545;
    cursor: pointer;
    user-select: none;
}

/* 多图上传区域样式 */
.multi-previews {
    display: flex;           /* 横向排列 */
    flex-wrap: nowrap;       /* 不换行 */
    gap: 8px;                /* 缩略图间距 */
    overflow-x: auto;        /* 超出显示横向滚动条 */
    padding: 6px 4px;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: #fafafa;
    min-height: 80px;
}

/* 多图单个预览项 */
.multi-previews .image-item {
    position: relative;
    flex: 0 0 auto;          /* 固定宽度防止拉伸 */
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 5px rgb(0 0 0 / 0.1);
    background: #fff;
}

/* 多图缩略图 */
.multi-previews .image-item img {
    display: block;
    max-width:300px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* 多图删除按钮 */
.multi-previews .image-item .btn-close {
    position: absolute !important;
    top: 4px;
    right: 4px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.multi-previews .image-item .btn-close:hover {
    background-color: rgba(255, 100, 100, 0.9);
}

/* dropzone 主体边框 */
#yz_multiDropzone_1 {
    border: 1px dashed #4a90e2;
    background: #fefefe;
    border-radius: 0.5rem;
    padding: 10px;
    text-align: center;
    min-height: 150px;
    margin-bottom: 10px;
}

.uploader-preview .btn-close {
    background-color: white;
    border-radius: 50%;
    padding: 0.3rem;
}

.uploader-box[data-type="file"] .preview-file {
    display: none;
}

.page-links>ul{margin-bottom: 0;}

.ad_content_img {
    position: relative;
}
.ad_content_img .smim {
    max-width: 20px;
    height: auto;
    transition: 0.3s;
}

.ad_content_img:hover .preview-img {
    display: block;
}

.ad_content_img .preview-img {
    height:auto;
    max-height:120px;
    display: none;
    position: absolute;
    bottom: 0;
    left: 110%;
    z-index: 999;
    max-width: 400px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
#content-list .table-responsive{
    overflow-x:visible;
}

#web_site_tags_tagsinput input{width:180px!important;}
#web_site_tags_tagsinput #web_site_tags_addTag{float: none}

.logo_left a img{
    width:80%;
}



