/*html {*/
/*    filter: grayscale(100%);*/
/*}*/
html,body {
    /*background: #f1f1f1;*/
    height: 100%;
    font-size: 14px !important;
    font-family: Arial,'微软雅黑',sans-serif !important;
}

.font.bold {
    font-weight: bold;
}

.hidden.menu {
    display: none;
}

[v-cloak] {
    display: none;
}

.ui.circular.steps:not(.vertical){
    padding: 2em 0 !important;
}
.ui.steps .step .content {
    height: auto !important;
    min-height: 60px; /* 可选，保持视觉统一 */
    line-height: 2em;
}

.ui.circular.steps:not(.vertical) .step .content {
    height: auto !important;
    min-height: 60px; /* 可选，保持视觉统一 */
    line-height: 1em;
    margin-top: -2em !important;
}

.ui.steps .step .description {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    line-height: 1.5em !important;
    margin-top: 1.5em !important;
}

.ui.nav.menu {
    background-color: #f1f1f1;
    width: 100%;
}

/*.following.menu{*/
/*    background-color: #f1f1f1 !important;*/
/*}*/

.following.menu .item.active{
    background-color: #f1f1f1 !important;
    border-right: 3px solid #2f68b6 !important;
}

.ui.nav.menu .item {
    border-bottom: 2px solid #fff !important;
}

.ui.accordion.menu .item .title {
    display: block;
    padding: 0 0 15px 0 !important;
}

.ui.statistic > .label, .ui.statistics .statistic > .label {
    font-size: 1em;
    font-weight: 700;
    color: rgba(0, 0, 0, .87);
    text-transform: none !important;
    text-align: center;
}

/*.pointing.menu {*/
/*    border-right: 4px solid #ccc !important;*/
/*}*/

/*.pointing.menu > .active.item{*/
/*    border-right: 6px solid #2891de !important;*/
/*}*/
.ui.sticky.bound.bottom, .ui.sticky.fixed.bottom {
    top: auto;
    bottom: 11% !important;
}

.keyword {
    color: #fff;
    text-decoration: underline dotted;
    cursor: pointer;
}

.addCart.active, #checkAll.active {
    background: #a5673f !important;
}

.ui.mymenu.menu .item.active{
    border-bottom: 2px solid #2891de;
}

.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.banner {
    /*background: linear-gradient(to right, #045496, #fefefe, #045496) !important;*/
    background: url("/pidrap/static/img/banner-s.png") no-repeat !important;
    background-size: cover !important;
}

@media only screen and (min-width: 900px) {
    .banner {
        padding: 0 0 3em 0 !important;
    }

}

.secondary.index.menu .toc.item {
    display: none !important;
}


.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.secondary.mymenu.menu .toc.item {
    display: none !important;
}

.ui.header > i.icon {
    display: inline !important;
}

.mymenu {
    background: #eef6fd !important;
    /*background: rgba(248, 251, 255, 0.76) !important;*/
    padding: 0 !important;
    margin-top: 0 !important;
    height: 50px;
    margin-bottom: 0 !important;
    box-shadow: 0 0 3px 0 rgba(170, 163, 163, 0.05) !important;
}

.mymenu .item {
    padding: 15px 20px;
    height: 50px;
    margin: 0 !important;
    border-radius: 0 !important;
}

.mymenu .item:hover {
    background-color:rgba(0,0,0,.05);
    border-bottom: 2px solid #2891de !important;
}

@media only screen and (min-width: 1080px) {
    .ui.borderless.menu {
        display: none !important;
    }

    .toc.item {
        display: none !important;
    }
}

.my.segment{
    width: 90% !important;
    margin: 0 auto !important;
}

@media only screen and (max-width: 1080px) {
    #form {
        width: 100% !important;
    }

    .my.segment{
        width: 100% !important;
    }

    .ui.mymenu.menu {
        display: none !important;
    }

    .secondary.mymenu.menu .item,
    .secondary.mymenu.menu .menu {
        display: none !important;
    }

    .secondary.mymenu.menu .toc.item {
        display: block;
    }
}

.bg-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bg-card {
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: none;
    position: relative;
    overflow: hidden;
    /*line-height: 0.8em;*/
}

.bg-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;

}

.bg-card.yellow {
    background: linear-gradient(to right, #fffdf7, #e3e1cb);
}

.bg-card.blue {
    background: linear-gradient(to right, #f5fbff, #cad6e2);
}

.bg-card.green {
    background: linear-gradient(to right, #f7fff8, #c9e0d1);
}

.bg-card.teal {
    background: linear-gradient(to right, #f7fff8, #c9e0da);
}

.bg-card.violet {
    background: linear-gradient(to right, #fef7fe, #d9d1e4);
}

.bg-card.red {
    background: linear-gradient(to right, #fff7f8, #e0c8d0);
}

.bg-card .icon {
    font-size: 4rem;
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    opacity: .3;
}

.bg-card.green > * {
    color: #21ba45;
}

.bg-card.blue > * {
    color: #2185d0;
}

.bg-card.teal > * {
    color: #00b5ad;
}

.bg-card.violet > * {
    color: #6435c9;
}

.bg-card.red > * {
    color: #db2828;
}

.bg-card.yellow > * {
    color: #fbbd08;
}

.bg-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bg-card p {
    font-size: 0.9rem;
    opacity: .85;
    margin-bottom: 1rem;
    line-height: 1.4;
}

#svg-container g[data-name="cancer"] {
    position: absolute;
    transition: transform 0.3s ease;
    cursor: pointer;
    transform-origin: 50% 50%;
}

/*#svg-container g[data-name="cancer"]:hover {*/
/*    transform: scale(1.02);*/
/*    transform-origin: center;*/
/*}*/

#svg-container g[data-name="cancer"] text {
    transition: font-size 0.3s ease, fill 0.3s ease;
}

#svg-container g[data-name="cancer"]:hover text {
    fill: #21ba45;
    cursor: pointer;
}
