::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #F5F5F5;
    border-radius: 5px;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #ccc;
    background-color: #999;
    border-radius: 5px;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    /*border-radius: 10px;*/
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
    background: #F5F5F5;
    border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}



html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;

}
.ug,
.rtl{
    direction: rtl;
    font-family: "ALKATIP Tor",sans-serif;
}
button{
    font-family: "ALKATIP Tor",sans-serif;
}

body {
    background: #b10f13 url("/uploads/topic_template_files/2024xjlh/img/pc-bg.jpg");
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
    font-family: "ALKATIP Tor",sans-serif;
}
.hidden{
    display: none !important;
}
.container {
    position: relative;
    width: 430px;
    height: 90vh;
    border: 5px solid rgba(255, 243, 205, 0.3);
    box-shadow: 2px 3px 3px #a90c0d;
    overflow: hidden;
}

.page {
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    top: 0;
    transition: top 0.6s;
}

.page.active:nth-child(1) {
    top: 0;
}

.page.active:nth-child(2) {
    top: -100%;
}

.page.active:nth-child(3) {
    top: -200%;
}

.page-home {
    transition: all 0.3s;
    z-index: 990;
    background: url("/uploads/topic_template_files/2024xjlh/img/home-clear-bg.png");
    background-size: 100% 100%;
    height: 100%;
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: space-evenly;
}



.page-home  img {
    display: block;
    padding: 0 30px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-home .title {
}

.page-home img {
    display: block;
    max-width: 100%;
}

.page-home .buttons {
}

.page-home .buttons .button button {
    cursor: pointer;
    display: block;
    width: 205px;
    height: 60px;
    margin: 0 auto 30px;
    line-height: 60px;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    background-image: linear-gradient(to bottom, red, #a90c0d, red);
    box-shadow: 0 0 30px rgba(255, 243, 205, 0.32) inset, 2px 10px 2px #a90c0d;
    border: 2px solid rgba(255, 243, 205, 0.47);
    text-shadow: 1px 1px 0 #790000;
    border-radius: 30px;
    transition: all 0.3s;
}

.page-home .buttons .button button:hover {
    box-shadow: 0 0 30px #a90c0d inset, 2px 10px 2px #a90c0d;
    border: 2px solid rgba(255, 243, 205, 0.47);
}

.page-home .buttons .links {
    display: flex;
    justify-content: space-evenly;
}

.page-home .buttons .links a {
    color: white;
    text-shadow: 1px 1px 0 #790000;
}

.page-home .buttons .links a:hover {
    color: #fff3cd;
    font-weight: bold;
}

.page-category {
    z-index: 992;
    background: url("/uploads/topic_template_files/2024xjlh/img/index-bg.png");
    background-size: 100% 100%;
    color: #fff8e3;
}
.bg-red{
    background-color: #790000;
    color: white;
    padding:5px 15px;
    border-radius: 10px;
    /*font-style: italic;*/

}
.page-category .layout {
    height: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: 90px auto 60px;
    overflow: hidden;
    padding-inline-end: 15px;
    padding-bottom: 15px;
}

.page-category h2 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.more-text{
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-category .index {
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 0 30px;

}

.h3-in-index {
    margin: 15px 10px;
    position: relative;

}
.h3-in-index:before{
    content: "●";
    position: absolute;
    right: -20px;
    top: 0px;

}
.h4-size{
    font-size: 18px;
    margin-inline-start: 30px;
}



.page-category .index li {
    padding: 15px 0;
    /*margin-inline-start: 15px;*/
    border-bottom: 1px dashed #ffe6b1;
    list-style: none;
    cursor: pointer;
    /*text-align: justify;*/
    display: block;
    clear: both;
}
.page-category .index ul li:last-child{
    border-bottom: none;
}

.page-view {
    z-index: 994;
    background-color: #fff8e3;
}

.page-view .layout {
    height: 100%;
    display: grid;
    grid-template-rows: auto auto 60px;
    overflow: hidden;
}

.page-view .layout header {
    color: #ff8003;
    display: flex;
    padding: 15px;
    font-weight: bold;
    align-items: center;
    box-shadow: 0 2px 3px #0e2946;
    transition: background-color 0.3s;
}
header .title{
    font-family: "ALKATIP Basma Tom", sans-serif;
}

.c-size{
    margin-inline-start: 30px;
}

.page-view .layout article {
    line-height: 1.67;
    background-color: #fffcf5;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 15px;
    padding-inline-end: 53px;
    transition: background-color 0.3s;
}

article video, article img {
    display: block;
    max-width: 100%;
    margin: auto;
}
.page-view .layout article h3{
    text-align: center;
}


.page-view .layout article p {
    margin: 15px 0;
    text-indent: 2em;
    text-align: justify;
}

.page-view .layout footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.page-view .layout footer button {
    display: block;
    font-weight: bold;
    padding: 5px 15px;
    color: #ff8003;
    font-size: 22px;
    background-color: transparent;
    border: none;
    transition: color 0.3s;
}

.page-view .layout footer button[role="prev-article"],
.page-view .layout footer button[role="next-article"] {
    width: 60px;
    padding: 10px 15px;
}

.page-view .layout footer button.share {
    background: #fdc677 url("/uploads/topic_template_files/2024xjlh/img/share.png") no-repeat;
    background-position: right 10px center;

    padding-inline-start: 40px;
    font-size: 18px;
    border-radius: 5px;
    font-weight: normal;
    color: white;
}

.page-view .layout footer button[disabled] {
    color: #666;
}

.page-view.eyes_care header,
.page-view.eyes_care footer {
    color: #a85e16;
    background-color: #fdd8a4;
}

.page-view.eyes_care article {
    background-color: #fbebd5;
}

.tools {
    position: absolute;
    left: 0;
    top: 120px;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
}

.tools .tools-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tools .tools-layout .text{
    display: none;
}

.tools .tools-layout .tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffe8c7;
    padding: 7px 0;
    width: 44px;
    min-height: 62px;
    text-align: center;
    cursor: pointer;
    color: #ff8003;
    border: none;
}

.tools .tools-layout .tool img {
    width: 27px;
    margin: auto;
    display: block;
}

.tools .tools-layout .tool .icon[role="recite"] {
    width: 27px;
    height: 27px;
    background-image: url("/uploads/topic_template_files/2024xjlh/img/recite.png?1");
    background-size: 27px auto;
    background-position: 0 0;
    background-repeat: no-repeat;
    margin: auto;
}


.tools .tools-layout .tool .icon[role="recite"].pause {
    background-position: 0 0;
}

.tools .tools-layout .tool:hover {
    background-color: rgba(206, 0, 0, 0.8);
}

.naves {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: -100%;
    bottom: 60px;
    padding-inline-end: 120px;
    padding-block-start: 225px;
    box-sizing: border-box;
    transition: all 0.4s;
    /*定义滑块 内阴影+圆角*/
}

.naves .naves-layout {
    position: relative;
    padding: 15px;
    background-color: white;
    z-index: 9999;
    height: 100%;
    box-sizing: border-box;
    border-radius: 15px;

}


.naves .naves-container {
    height: 100%;
    position: relative;
    overflow-y: auto;

}

.naves h3 {
    margin: 30px 0;
}
.naves h3:before{
    display: none !important;
}

.naves ul li {
    border-bottom: 1px dashed #999;
    padding: 5px 0;
    margin-inline-end: 15px;
    cursor: pointer;
    text-align: justify;
}

.naves ::-webkit-scrollbar-thumb {
    /*border-radius: 10px;*/
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
    background: #ff8003;
    border-radius: 5px;
}

.naves.active {
    left: 0;
}

.mask {
    display: block;
    position: absolute;
    transition: all 0.3s;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    left: -100%;
    top: 0;
    z-index: 999;
}

.mask.active {
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
}

.share-card {
    z-index: 1000;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    box-sizing: border-box;
    transition: all 0.3s;
    overflow: hidden;
}
.share-layout{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.share-layout > div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}


.share-card img {
    max-width: 90%;
    max-height: 75vh;
    display: block;
    border-radius: 10px;
}

.share-card .share-card-text {
    color: white;
    text-shadow: 1px 1px 3px #000,1px 1px 1px #000000;
    font-size: 18px;
}

.share-card .share-card-close {
}

.share-card .share-card-close button {
    width: 54px;
    height: 54px;
    background-color: #333333;
    border-radius: 50%;
    border: none;
    box-sizing: border-box;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.share-card .share-card-close button:hover {
    background-color: #ff8003;
}

.share-card.active {
    top: 0;
}

.tool .icon[role="recite"].play {
    opacity: 1;
    animation:_playing 3s steps(4) infinite;
}

@keyframes _playing {
    0%{
        background-position: 0 0;
    }
    100% {
        background-position: 0 -108px;
    }
}

@-webkit-keyframes _playing {
    0%{
        background-position: 0 0;
    }
    100% {
        background-position: 0 -108px;
    }
}

@media screen and (max-width: 576px) {
    .container{
        width: 100%;
        height: 100%;
        border: none;
    }
    .page-category .layout{
        padding: 0 !important;
    }
}
@media screen and (max-height: 576px) {
    .container{
        width: 100%;
        height: 100%;
        border: none;
    }
    .share-card{
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .tools{
        top: 0;
        height: 100%;
    }
    .tools .tools-layout{
        height: 100%;
        justify-content: space-between;
        flex-direction: column;
        background-color: #ffe8c7;
    }
    .page-view .layout header{
        padding-inline-end: 42px;
    }
    .naves{
        top: 0;
        width: 50%;
        padding: 0;

    }
    .naves .naves-layout{
        border-radius: 0;
    }
    article video{
        max-height: 60vh;
    }
    .page-view .layout {
        height: 100%;
        display: grid;
        grid-template-rows: auto auto 40px;
        overflow: hidden;
    }
}


.page-view[data-id="1563"]{
    color: white;
    background: url(/uploads/topic_template_files/2024xjlh/img/index-bg.png);
    background-size: 100% 100%;
}
.page-view[data-id="1563"] article{
    background-color: transparent;
}
.page-view[data-id="1563"] header{
    box-shadow: none;
    justify-content: center;
    color: white;
}
.page-view[data-id="1563"] .tools{
    left: -50px;
}
.page-view[data-id="1563"] article{
    padding-inline-end: 0;
    padding: 0;
}
.page-view[data-id="1563"] article p{
    text-indent: 0;
}



/*# sourceMappingURL=css.css.map */