@charset "utf-8";

/* nav */
.ren-app-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    height: 46px;
    z-index: 99;
    background: var(--ren-primary);
}

.ren-app-navbar {
    height: 30px;
    padding: 8px 12px;
}

.ren-app-header .ren-nav-avatar { padding: 1px; width: 25px; height: 25px; background-color: rgba(255, 255, 255, 0.6); border-radius: 50%; position: relative; }
.ren-app-header .ren-nav-avatar img { width: 25px; height: 25px; border-radius: 50%; }
.ren-nav-avatar .msg-badge { display: inline-block; width: 9px; height: 9px; background: #F34548; border-radius: 50%; position: absolute; top: 0; right: 0;}

.ren-app-header.ren-touming-header { background: initial; }
.ren-touming-header .ren-app-navbar .text-white { color: #333 !important; }
.ren-touming-header ~ .ren-app-page { padding-top: 45px; }


/* bottom */
.ren-app-bottom {
    height: 50px;
    background: #FEFEFE;
    z-index: 102;
}
.ren-app-bottom i {
    width: 24px;
    color: #777777;
}
.ren-app-bottom .a i {
    color: var(--ren-primary);
}
.ren-app-bottom span {
    margin-top: 2px;
    height: 16px;
    line-height: 16px;
    color: #777777;
}

.ren-app-bottom .a span {
    color: var(--ren-primary);
}

.ren-app-bottom .rc-e3-ng { margin: 0 auto; width: 24px; height: 24px; overflow: hidden; }
.ren-app-bottom .rc-e3-ng i { width: 60px; height: 60px; line-height: 48px; background-color: var(--ren-primary); border: 6px solid #FEFEFE; font-size: 25px; color: #FFF; border-radius: 50%; position: absolute; left: 50%; top: 19px; transform: translate(-50%,-50%); z-index: 20; box-sizing: border-box; }
.ren-app-bottom .rc-e3-ng span { margin-top: 0; width: 60px; height: 60px; background-color: #FEFEFE; border: 1px solid #F0F0F0; border-radius: 50%; position: absolute; left: 50%; top: 17px; transform: translate(-50%,-50%); box-sizing: border-box; }


/* 通用 */

.ren-swiper-svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 30px; z-index: 1; }
.ren-swiper-svg div {position: absolute; width: 100%; height: 30px; }
.ren-swiper-svg1 { background: url(../images/ren-water-1.svg) repeat-x; background-size: 600px; -webkit-animation: ren-swiper-svg1 3.5s infinite linear; animation: ren-swiper-svg1 3.5s infinite linear; }
.ren-swiper-svg2 { top: 5px; background: url(../images/ren-water-2.svg) repeat-x; background-size: 600px; -webkit-animation: ren-swiper-svg2 6s infinite linear; animation: ren-swiper-svg2 6s infinite linear;}
@keyframes ren-swiper-svg1{0%{background-position:0 top}100%{background-position:600px top}}
@keyframes ren-swiper-svg2{0%{background-position:0 top}100%{background-position:600px top}}

.kong { height: 12px; background: var(--ren-body-bg); border-top: 1px solid #F0F0F0; }

/* diy 静态 */

.rm-e1-ndiy {
    background: rgba(255, 255, 255);
}
.rm-e1-ndiy a {
    height: 40px;
    line-height: 40px;
}

.rm-e2-ndiy {
    background: rgba(255, 255, 255);
}
.rm-e2-ndiy a {
    height: 40px;
    line-height: 40px;
}

.rm-e3-ndiy {
    background: rgba(255, 255, 255);
}

.rm-e3-ndiy .swiper-slide {
    width: auto;
}

.rm-e3-ndiy a {
    height: 40px;
    line-height: 40px;
}

.rm-e52-ndiy.swiper-container-horizontal > .swiper-pagination-bullets { right: 0; text-align: center; height: 22px;position: inherit; }
.rm-e52-ndiy .swiper-pagination-bullet { width: 7px; height: 7px; background: #D2D2D2; border-radius: 50%; opacity: 1; }
.rm-e52-ndiy .swiper-pagination-bullet-active { background-color: #FA6567; }
.rm-e52-ndiy .ren-swiper-svg + .swiper-pagination { bottom: 15px; }

/* diy 帖子 */
.rm-e300-ndiy img {
    max-height: 300px;
    object-fit: cover;
}

.rm-e301-ndiy img {
    max-height: 300px;
    object-fit: cover;
}

.rm-e302-ndiy img {
    max-height: 195px;
    object-fit: cover;
}

.rm-e191-ndiy .rc-e1-ng { margin-top: 9px; padding: 0 6px; }

.rm-e192-ndiy .rc-e1-ng { background: #CCC; }
.rm-e192-ndiy .currentorder1 { background: #FA6567; }
.rm-e192-ndiy .currentorder2 { background: #FFA800; }
.rm-e192-ndiy .currentorder3 { background: #7BBF1E; }

.rm-e193-ndiy .swiper-slide { width: 60%; background: #F8F8F8; }
.rm-e193-ndiy .swiper-slide .rc-e1-ng { height: 155px; }


.rm-e270-ndiy li { height: 60px; }
.rm-e270-ndiy .rc-e1-ng .ren-font { color: #CED2D7; }
.rm-e270-ndiy li:nth-child(1) .rc-e1-ng .ren-font { color: #FF6314 !important; }
.rm-e270-ndiy li:nth-child(2) .rc-e1-ng .ren-font { color: #FFBD24 !important; }
.rm-e270-ndiy li:nth-child(3) .rc-e1-ng .ren-font { color: #4C8DFC !important; }

.rm-e271-ndiy li { height: 60px; }
.rm-e271-ndiy .rc-e1-ng .ren-font { color: #CED2D7; }
.rm-e271-ndiy li:nth-child(1) .rc-e1-ng .ren-font { color: #FF6314 !important; }
.rm-e271-ndiy li:nth-child(2) .rc-e1-ng .ren-font { color: #FFBD24 !important; }
.rm-e271-ndiy li:nth-child(3) .rc-e1-ng .ren-font { color: #4C8DFC !important; }

.rm-e272-ndiy .swiper-slide { width: 84px; }
.rm-e272-ndiy .rc-e2-ng { width: 64px; height: 74px; vertical-align: middle; background-size: cover; background-repeat: no-repeat; }
.rm-e272-ndiy .rc-e2-ng.item-1::before {
    background-image: url(../images/item-1.png);
    background-size: 100%;
}
.rm-e272-ndiy .rc-e2-ng.item-2::before {
    background-image: url(../images/item-2.png);
    background-size: 100%;
}
.rm-e272-ndiy .rc-e2-ng.item-3::before {
    background-image: url(../images/item-3.png);
    background-size: 100%;
}

.rm-e272-ndiy .rc-e2-ng.item-1::before, .rm-e272-ndiy .rc-e2-ng.item-2::before, .rm-e272-ndiy .rc-e2-ng.item-3::before {
    position: absolute;
    z-index: 2;
    top: -6px;
    left: 0;
    display: block;
    content: '';
    width: 64px;
    height: 83px;
}
.rm-e272-ndiy .rc-e3-ng {
    left: 3px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    z-index: 3;
}

.rm-e150-ndiy .rc-e1-ng { margin-top: 9px; padding: 0 6px; }

/* DIY兼我们模块 */
.frame .rounded-circle {
    border-radius: 50% !important;
}

/* swiper */
.ren-swiper-150 {
    position: relative;
    overflow: hidden;
}

.swiper-pagination { position: absolute; text-align: center; -webkit-transition: 300ms; -moz-transition: 300ms; -o-transition: 300ms; transition: 300ms; -webkit-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); z-index: 10; }
.swiper-horizontal > .swiper-pagination-bullets { bottom: 6px; right: 10px; text-align: right; width: 100%; }
.ren-swiper-150 .swiper-slide span { background: -moz-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%); background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%); background: linear-gradient(to bottom,rgba(0,0,0,0) 0,#000 100%); }
.ren-swiper-150 .swiper-slide span { display: block; width: 100%; padding: 0 0 0 10px; height: 32px; line-height: 32px; overflow: hidden; font-size: 14px; vertical-align: top; text-align: left; position: absolute; left: 0; bottom: 0; color: #FFF; }

/* popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    -webkit-transition-property: -webkit-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    transition-duration: .4s;
}
.popup.popup-styles { background: #F3F3F3; top: unset; left: 0; bottom: 0; height: auto; overflow: inherit; z-index: 110; }
.popup-styles .content-block { padding-top: 0; padding-bottom: 0; overflow: hidden; }
.popup.popup-styles .rtj1009_header .ren-font { padding-left: 12px; line-height: 45px; font-size: 22px; color: #FFF; }

.popup-styles .rc-e2-ng i { width: 36px; height: 36px; line-height: 36px; }

/* sidebar */

.ren-app-sidebar .rs-et1-nyle .rc-e2-ng {
    background-image: url(../images/login-bg.png) no-repeat;
}
.ren-app-sidebar .rs-et2-nyle .rc-e2-ng {
    background: url(../images/sidebar-bg-1.jpg) no-repeat;
}
.ren-app-sidebar .rs-et3-nyle .rc-e2-ng {
    background: url(../images/sidebar-bg-3.png) no-repeat;
}



