
body{

    background-color:#d6e6ef;
    width: 100%;
    height: 100%;
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;




}

.transp{
    opacity: 0.1;
}
.tpl-skiner {
    transition: all 0.4s ease-in-out;
    position: fixed;
    z-index: 10000;
    right: 0px;
    top: 165px;

}
.tpl-skiner.active {
    right: 40px;
}
.tpl-skiner-content {
    background: rgba(0, 0, 0, 0.7);
    width: 130px;
    padding: 15px;
    border-radius: 4px 0 0 4px;
    overflow: hidden;
}
.tpl-skiner-add{
    position: absolute;
    top: 5px;
    right: -40px;
    width: 40px;
    color: #969a9b;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.tpl-skiner-toggle {
    position: absolute;
    top: 5px;
    left: -40px;
    width: 40px;
    color: #969a9b;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.tpl-skiner-content-title {
    margin: 0;
    margin-bottom: 4px;
    padding-bottom: 4px;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.tpl-skiner-content-bar {
    padding-top: 10px;
}
.tpl-skiner-content-bar .skiner-color {
    transition: all 0.4s ease-in-out;
    float: left;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    cursor: pointer;
}
.tpl-skiner-content-bar .skiner-white {
    background: #fff;
    border: 2px solid #eee;
}
.tpl-skiner-content-bar .skiner-black {
    background: #000;
    border: 2px solid #222;
}
.mask{
    cursor: pointer;
    opacity:0.5;
    width: 100%;
    height: 100%;
    background: whitesmoke;
    position: absolute;
    left: 0px;top: 0px;
    z-index: 1000;
    border: 1px dotted green;
}
.drapEnter{
    background-color: green;
}
img{
    vertical-align: middle;
    width: 15px;
    height:15px;}





.navContainer {
    position: relative;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    margin: 0;
    background: #d6e6ef;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;


}

.digital-clock {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    color: #4a6b8a;
    font-size: 2.4em;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}



#addNote,#addPic,#addFile{
    opacity: 0.9;
    background-color: gray;
    width: 100%;
    position: absolute;
    left: 0px;top: 0px;
    z-index: 1000;
    display: none;
}
.addBtn{
    margin: 0 auto;
    width: 50px;
    text-align: center;
    cursor: pointer;
}
.pageItem{

}
/*
.marquee-container {
    width: 80%;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 3s linear infinite;
}
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}*/
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.marquee span {
    display: inline-block;
    padding-left: 100%;
}


.tab-nav {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: fit-content;
    margin: 0 auto;
    margin-top: 40px;
}

.tab-item {
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border-right: 1px solid #eee;

}

.tab-item:last-child {
    border-right: none;
}

.tab-item:hover {
    background-color: #f0f7ff;
    color: #1890ff;
}

.tab-item.active {
    color: #1890ff;
    font-weight: bold;
}

.tab-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #1890ff;
    border-radius: 3px;
}
#articla,#pics{
    height: 600px;
    overflow: scroll;
}

/* WebKit浏览器滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}



/**
搜索界面
 */


/* 主页面内容 */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.main-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.main-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* 搜索触发按钮 */
.search-trigger {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #B0C4DE 0%, #b8d4e3 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.search-trigger.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.search-icon {
    width: 28px;
    height: 28px;
    fill: #2c3e50;
    transition: all 0.3s ease;
}

.search-trigger.active .search-icon {
    fill: white;
}

/* 全屏搜索覆盖层 */
.fullscreen-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(214, 230, 239, 0.98);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 全屏搜索容器 */
.fullscreen-search-container {
    width: 100%;
    max-width: 800px;
    padding: 40px;
    text-align: center;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fullscreen-search-overlay.active .fullscreen-search-container {
    transform: translateY(0);
}

/* 搜索标题 */
.search-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 300;
}

.search-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* 搜索框样式 */
.search-container {
    position: relative;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    width: 100%;
    padding: 25px 60px 25px 25px;
    font-size: 1.3rem;
    border: 3px solid #b8d4e3;
    border-radius: 30px;
    outline: none;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.search-box:focus {
    border-color: #667eea;
    background: #fafbff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.search-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* 搜索结果样式 */
.results-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    min-height: 200px;
    display: none;
}

.results-container.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-item-global {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}

.result-item-global:last-child {
    border-bottom: none;
}

.result-item-global:hover {
    background: #f8f9ff;
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.result-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 8px;
}

.result-description {
    color: #666;
    line-height: 1.5;
    font-size: 1rem;
}

/* 无结果状态 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-results h3 {
    margin-bottom: 10px;
    color: #333;
}

.no-results p {
    color: #888;
}

/* 关闭提示 */
.close-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #888;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('fonts/fontawesome-webfont.eot?v=4.3.0');
    src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
code,
kbd,
pre,
samp {
    font-family: Monaco, Menlo, Consolas, "Courier New", "FontAwesome", monospace;
    font-size: 1em;
}
.am-icon-cog:before,.am-icon-gear:before {
    content: "\f013";
    font-family: 'FontAwesome'; /* 替换为实际字体名 */
}
.am-close,.am-icon-btn,[class*=am-icon-] {
    display: inline-block
}

.am-icon-edit:before,.am-icon-pencil-square-o:before{content:"\f044";font-family: 'FontAwesome'}

.am-icon-minus:before{content:"\f068";font-family: 'FontAwesome'}

am-icon-plus-square:before{
    content:"\f0fe";
    font-family: 'FontAwesome'; /* 替换为实际字体名 */
}
.am-icon-plus-square-o:before{content:"\f196"}

.am-icon-plus-circle:before{content:"\f055"}

.am-icon-plus:before{content:"\f067"; font-family: 'FontAwesome'; /* 替换为实际字体名 */}
.am-icon-gear:before,
.am-icon-cog:before {
    content: "\f013";
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-trigger {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .search-title {
        font-size: 2.2rem;
    }

    .search-subtitle {
        font-size: 1rem;
    }

    .fullscreen-search-container {
        padding: 20px;
    }

    .search-box {
        padding: 20px 55px 20px 20px;
        font-size: 1.1rem;
    }

    .search-btn {
        width: 45px;
        height: 45px;
        right: 12px;
    }

    .search-icon {
        width: 20px;
        height: 20px;
    }

    .results-container {
        padding: 20px;
        margin-top: 20px;
    }

    .result-item-global {
        padding: 15px;
    }

    .result-title {
        font-size: 1.1rem;
    }
}
