@charset "UTF-8";

body{
    font-family: IRANSans,sans-serif;
	margin: 0;
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
	background-color: #f1f2f2;
	color: #777;
} 
  

#side_menu{
	width: 300px;
	margin-left:40px;
}
#side_menu .logo_container{
	width: 100%;
	max-width: 1400px;
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 40px;
	
}
#side_menu .logo{
	width: 80px;
	display: block;
    font-size: 0;
}



#side_menu li{
	list-style: none;
	padding: 10px;

}
#side_menu li a{
	font-weight: 500;
	
}

#side_menu li a span{
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	margin-left: 10px;
	background-repeat: no-repeat;
    background-size: contain;
}
#side_menu li a span.admin{
    background-image: url("../uploads/icon/admin.png");
}
#side_menu li a span.story{
    background-image: url("../uploads/icon/story.png");
}
#side_menu li a span.profile{
    background-image: url("../uploads/icon/profile.png");
}
#side_menu li a span.order{
    background-image: url("../uploads/icon/order.png");
}
#side_menu li a span.order{
    background-image: url("../uploads/icon/order.png");
}
#side_menu li a span.logout{
    background-image: url("../uploads/icon/logout.png");
}
#side_menu li a span.giftcard{
    background-image: url("../uploads/icon/giftcard.png");
}
#side_menu li a span.home{
    background-image: url("../uploads/icon/home.png");
}

#side_menu li a:hover,
#side_menu li.active a,
#side_menu li.active{
	color: #64c5b3;
}

#side_menu li:not(:last-child){
    border-bottom: 1px solid #eee;
}

.panel_container{
	width: 100%;
}
.panel_container .w_box{
	margin-bottom: 30px;
    overflow-x: auto;
}
.w_box{
	box-shadow: 0 0 5px 4px #e6e6e6;
}
.panel_container .sec_title{
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 10px;
	color: #64c5b3;
}



#bgCanvas,
#terCanvas{
	position:absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
}
#terCanvas{
	display: none;
}


#story_container .go_back{
	position: absolute;
	width: 80px;
	height: 80px;
	background-position:center;
    background-image: url("../uploads/images/back.png");
    background-size: contain;
	background-repeat: no-repeat;
	display: block;
    z-index:8;
	top: 50px;
	left: 50px;
}
#story_container .go_home{
	position: absolute;
	width: 80px;
	height: 80px;
	background-position:center;
    background-image: url("../uploads/logo_w.png");
    background-size: contain;
	background-repeat: no-repeat;
	display: block;
    z-index:8;
	top: 50px;
	right: 50px;
}


#story_container .bg{
	position: absolute;
	width: 100%;
	height: 100%;
	background-position:right bottom;
    background-repeat: no-repeat;
    background-image: url("../uploads/bg/sky_1.svg");
	background-size: 100%;
    z-index: 1;
    opacity: 1;
}
#story_container .bg2{
	position: absolute;
	width: 100%;
	height: 100%;
	background-position:right bottom;
    background-repeat: no-repeat;
    background-image: url("../uploads/bg/sky_2.svg");
	background-size: 100%;
    z-index: 2;
    opacity: 1;
}
#story_container .bg3{
	position: absolute;
	width: 100%;
	height: 100%;
	background-position:right bottom;
    background-repeat: no-repeat;
    background-image: url("../uploads/bg/sky_3.svg");
	background-size: 100%;
    z-index: 1;
    opacity: 1;
} 
#story_container {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
#story_container .center_box{
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    max-width: 1400px;
    max-height: 100%;
    overflow-y: auto;
	z-index: 5;
}
#story_container .season_slider_box .lSAction{
	top: 50%;
    position: absolute;
    width: 100%;
}
#story_container .season_slider_box{
	padding:20px 10px;
	background-color: rgb(255 255 255 / 20%) ;
	border-radius: 10px;
	margin-bottom: 20px;
}
#story_container .season_slider_box .items{
	cursor: pointer;
}
#story_container .season_slider_box .items .cover{
	display: block;
	text-align: center; 
	width: 150px;
	height: 150px;
	margin:0 auto;
	font-size: 0;
}
#story_container .season_slider_box .items .cover img{
    border-radius: 50%;
}
#story_container .season_slider_box .items .read_num {
    position: absolute;
    display: block;
    top: 15%;
    left: 88%;
    transform: translate(-50%,-50%);
    color: #fff;
    background-color: #EF3D6F;
    border-radius: 50%;
    z-index: 1;
    font-size: 16px;
    line-height: 25px;
    width: 25px;
    height: 25px;
    text-align: center;
}
#story_container .season_slider_box .items .title{
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	color: #F1F2F2;
	display: block;
}

.story_toys_box .sec_title{
    font-size: 2.5em;
    width: 100%;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}
.story_toys_box .status_title span{
	display: block;
	font-size: 1.5em;
}
.story_toys_box .status_title div{
    margin:  20px auto 0 auto;
    max-width: 1000px;
    
}
.story_toys_box .status_title{
	font-size: 1.2em;
	width: 100%;
	color: red;
	font-weight: bold;
	text-align: center;
	margin: 10px
}

.story_toys_box .items .read_num{
    position: absolute;
    display: block;
    top: 15%;
    left: 88%;
    transform: translate(-50%,-50%);
    color: #fff;
    background-color: #EF3D6F;
    border-radius: 50%;
    z-index: 1;
    font-size: 16px;
    line-height: 25px;
    width: 25px;
    height: 25px;
    text-align: center;
}






.story_toys_box.title{
    margin-bottom: 10px;
}
.story_toys_box.toys_circle{
    justify-content: center;
}
.story_toys_box.toys_circle .cover{
    border-radius: 50%;
    background-color: #09034f;
    overflow: hidden;
}
.story_toys_box.toys_circle .free .cover{
    padding: 0;
    background-color: transparent;
}



.story_toys_box .items.seen .cover img{
	filter: grayscale(1);
}
.story_toys_box.toy_cat{
    margin-bottom: 0;
    justify-content: space-evenly;
}

.story_toys_box.toy_cat_info .info_box{
    background-color: #DAD5EA;
    padding: 20px 0;
    border-radius: 10px;
    display: none;
    width: 100%;
    z-index: 1;
}
.story_toys_box.toy_cat .items .cover{
    background-color: #09034f;
    border-radius: 50%;
}

.story_toys_box.toy_cat .items.open .cover{
    background-color: #DAD5EA;
}
.story_toys_box.toy_cat .items.open:after{
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background-color: #DAD5EA;
    border-radius: 2px;
    z-index: -1;
}
.story_toys_box.toy_cat_info .info_box.open{
    display: block;
}
.story_toys_box.toy_cat_info .info_box .flex > div .name{
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}
.story_toys_box.toy_cat_info .info_box .flex > div:first-child:after{
    content: '';
    display: block;
    height: 70%;
    width: 2px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #eee;

}
.story_toys_box.toy_cat_info .info_box .flex > div:first-child .name{
    color: #EF3D6F;
}
.story_toys_box.toy_cat_info .info_box .flex > div:last-child .name{
    color: #64C4B3;
}
.story_toys_box.toy_cat_info .info_box .flex > div{
    text-align: center;
    padding: 0 30px;
    width: 50%;
    font-size: 0.9em;
    line-height: 1.8em;
}

.story_toys_box{
	background-color: rgb(255 255 255 / 20%) ;
	border-radius: 10px;
	margin-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
}



.story_toys_box .items{
    margin: 20px 1.4% 20px 0;
    cursor: pointer;
    z-index: 1;
    width: 15%;
}
.story_toys_box.toy_cat .items{
    width: 10%;
}
.story_toys_box .items:nth-child(6n+0) {
    margin-left: 1.4%;
}
 
    
.story_toys_box .items.hidden{
	display: none;
}
.story_toys_box .items .cover{
	display: block;
	text-align: center;
	margin:0 auto 10px auto;
    font-size: 0;
}
.story_toys_box .items .cover img{
   	border-radius: 10px;
    width: 100%;
}
.story_toys_box .items .title{
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	color: #F1F2F2;
	display: block;
}
.story_toys_box .pagination_box{
	width: 100%;
}
.story_toys_box .pagination_box .pagination{
	display: flex;
	justify-content: center;
	margin-top: 30px;
	color: #765FA9;
}
.story_toys_box .pagination_box .pagination .page-item:first-child,
.story_toys_box .pagination_box .pagination .page-item:last-child{
	display: none;
}

.story_toys_box .pagination_box .pagination .page-item{
	background-color: #765FA9;
}
.story_toys_box .pagination_box .pagination .page-item .page-link{
	color: #fff;
	line-height: 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
}

.story_toys_box .pagination_box .pagination .page-item.active{
	background-color: #fff;
}
.story_toys_box .pagination_box .pagination .page-item.active .page-link{
	color: #765FA9;
}



#wrapper {
    padding: 20px 0;
    margin: 0 auto;
    width: 800px;
}
#stories_container{
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #ddd7cf;
	top: 0;
	z-index: 20;
	left: 0;
	direction: ltr;
	transition:all .5s;
	transform: scale(0);
	overflow: hidden;
	background-position:bottom;
    background-repeat: no-repeat;
    background-image: url("../uploads/bg/sky_4.jpg");
	background-size: cover;
}
#stories_container .tools{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    display: flex;
    background-color: #ffffff;
    border-radius: 50px;
    z-index: 20;
    height: 60px;
    align-items: center;
    box-shadow: 0 0 6px 3px rgb(0 0 0 / 15%);
}

#stories_container .tools .close{
	width: 40px;
	height: 40px;
	cursor: pointer;
	background-image: url("../uploads/icon/tool_close.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
    margin-right: 10px;
}
#stories_container .tools .tool_box{
	width: 260px;
	height: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
	transition:all .3s ease-out;
	overflow: hidden;
}
#stories_container .tools .tool_box > div{
	width: 40px;
	height: 40px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}
#stories_container .tools .tool_box .fullscreen{
	background-image: url("../uploads/icon/tool_fullscreen.png");

}
#stories_container .tools .tool_box .left{
	background-image: url("../uploads/icon/tool_left.png");
}
#stories_container .tools .tool_box .right{
	background-image: url("../uploads/icon/tool_right.png");
}
#stories_container .tools .tool_box .zoomin{
	background-image: url("../uploads/icon/tool_zoomin.png");
}
#stories_container .tools .tool_box .zoomout{
	background-image: url("../uploads/icon/tool_zoomout.png");
}


#stories_container .stories_box{
	height: 100%;
	width: 100%;
	overflow: auto;
	z-index:1 ;
}
#stories_container.show{
	transform: scale(1);
}


#stories_container .stories{
	position: relative;
    width: 700px;
    height: 700px;
    font-size: 14px;
    line-height: 38px;
    margin-left: auto;
    margin-right: auto;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    margin-top: 30px;
    margin-bottom: 80px;
}
/* paper slider css*/
 
#stories_container .stories .ps-nav-prev {
	left:-100px;
}
#stories_container .stories .ps-nav-next {
	right:-100px;
}
#stories_container .stories .ps-nav{
    display: none;

}
#stories_container .stories .paper-slide:first-child{
    display: flex;
    flex-direction: column;
}
#stories_container .stories .paper-slide{
	direction: rtl;
	padding: 5%  5% 0  5%;
    text-align: right;
	color: #111;
	background-color: #DAD5EA;
    box-shadow: 0 0 5px 1px rgb(0 0 0 / 10%);
}
#stories_container .stories .paper-slide .page_num{
    position: absolute;
    left: 20px;
    transform: translateX(-50%);
    bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 0;
    text-align: center;
    color: #ee3b6f;
}

/*
.paper-slide.ps-odd {
	background:#000;
}
*/


#stories_container .stories .title{
    font-size: 2em;
    color: #555;
    text-align: center;
    font-weight: bold;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}



#stories_container .stories .desc{
    color: #777;
    text-align: right;
	width: 90%;
    margin: 0 auto 20px auto;
    line-height: 30px;

}


#story_container.podcast #stories_container .stories .paper-slide{

}
#story_container.podcast #stories_container .stories .desc{

}

#story_container.podcast #stories_container .tools {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    top: 0px;
}
#story_container.podcast #stories_container .stories .title{
    margin-top: 10px;
}
audio::-webkit-media-controls-play-button,
     audio::-webkit-media-controls-panel {
     background-color: #EF3D6F;
}

#stories_container .stories .audio{
    text-align: center;
    width: 90%;
    margin: 10px auto;
}
#stories_container .stories .audio audio{
    width: 100%;
    display: block;
    margin: 0 auto;
}
#stories_container .stories img.cover{
    display: block;
	max-height: 90%;
	width: 90%;
    margin: 0 auto;
}

#profile_info .user_info .items{
	width: 50%;
	padding: 10px;
}
#profile_info .user_info .items:nth-child(1){
	border-left: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
#profile_info .user_info .items:nth-child(2){
	border-bottom: 1px solid #eee;
}
#profile_info .user_info .items:nth-child(3){
	border-left: 1px solid #eee;
}
#profile_info .user_info .items .btn_edit{
	position: absolute;
	left: 0;
	top: 0;
	
}
#profile_info .user_pass .flex{
	justify-content: space-between;
	box-shadow: none;
}
#profile_info .user_pass .flex .items{
	width: auto;
	margin: 0;
}
#profile_info .user_pass .items input{
	background-color: #F1F2F2;
}
#profile_info .user_address .tb,
#profile_info .user_address .tb .row .cell{
	border-color: #eee;
	vertical-align: middle;
	font-size: .9em;
}
#profile_info .user_address .tb .row .cell.address{
	max-width: 300px;
}
#profile_info .user_address .tb .row.head .cell{
	font-size: 1.1em;
	color: #64c5b3;
}
#profile_info .user_address .add_address{
	position: absolute;
    left: 0;
    font-size: .7em;
    cursor: pointer;
}

#wallet_info .wallet{
	font-weight: bold;
	font-size: 1.1em;
	color: #64c5b3;
}

#wallet_info .form_box.flex .items {
	width: auto;
}
#wallet_info .form_box.flex{
	justify-content: space-between;
	box-shadow: none;
}
 
/* factor orders*/
#user_orders .factor_link{ 
    text-align: center;
    width: 120px;
}
#user_orders .factor_link a{ 
    width: 30px;
    height: 30px;
    display: inline-block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    background-image: url("../uploads/icon/factor.png");
}
#user_factor .w_box{
    width: 800px;
    height: 1120px;
    margin: 0 auto;
}



#user_factor .factor_footer{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}
#user_factor .flex{
    justify-content: space-between;
}
#user_factor .logo{
    width: 100px;
    margin-bottom: 30px;
}
#user_factor .tb{
    border: none;
}
#user_factor .tb .head .cell{ 
    background-color: #64C4B3;
    color: #fff;
}
#user_factor .tb .head .cell:first-child{
    border-radius: 0 10px 0 0;
}
#user_factor .tb .head .cell:last-child{ 
    border-radius:10px 0 0 0;
}
#user_factor .tb .no_border{ 
    border-color: #fff;
}
#user_factor .tb .border_left{ 
    border-left: 1px solid #ddd;
}
#user_factor .tb .border_right{ 
    border-right: 1px solid #ddd;
}
#user_factor .tb .cell{ 
    height: 45px;
}
#user_factor .tb .row:last-child .cell:nth-child(4){ 
    border-bottom: 1px solid #ddd;
}
@media only screen  and (max-width: 1420px) {
    #story_container .go_back{
        left: 3%;
        top: 10px;
    }
    #story_container .go_home{
        right: 3%;
        top: 10px;
    }
    #story_container .center_box{
        max-width: 94%;
    }
 
    
    #side_menu .logo_container{
        padding-right: 20px;
        bottom: 20px;
        left: 0;
        transform: none;
    }
    body {
        padding-top: 0;
    }
    #side_menu{
        width: 250px;
    }
}
@media only screen  and (max-width: 1024px) {
    #story_container .center_box{

        padding-top: 80px;
        padding-bottom: 20px;
    }
    #side_menu{
        width: 250px;
    }  
    #story_container .bg,
    #story_container .bg2,
    #story_container .bg3{
        background-size: auto 100%;
    }
}

@media only screen and (max-width: 900px) {
    
    .story_toys_box .items:nth-child(6n+0){
        margin-left:0;
    }
    .story_toys_box .items {
        margin: 20px 4% 20px 0;
        cursor: pointer;
        z-index: 1;
        width: 20%;
    }
    .story_toys_box .items:nth-child(4n+0){
        margin-left:4%;
    }
    
    .story_toys_box{
        margin-bottom: 20px;    
    }
    .story_toys_box.toy_cat .items.open:after{
        display: none;
    }
    #story_container .go_home,
    #story_container .go_back{
        width: 50px;
        height: 50px;
    }

    #profile_info .user_info .items{
        width: 100%;
        border-left: none !important;
        border-bottom: 1px solid #eee;
    }
    #profile_info .user_info .items:last-child{
        border-bottom: none !important;
    }
    .btn_add, .btn_edit, .btn_close, .btn_delete {
        width: 17px;
        height: 17px;
    }
    #side_menu {
        width: 0;
        margin-left: 0;
    }
    #side_menu .w_box{
        position: fixed;
        width: 100%;
        height: 100%;
        padding-top: 150px;
        right: -100%;
        top: 0;
        z-index: 1;
        transition: right 0.3s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    #side_menu.show .w_box{
        right: 0;
    }
    #side_menu .mob_icon{
        right: 70px;
        top: 20px;
        width: 30px;
        height: 30px;
        align-self: end;
        cursor: pointer;
        position: absolute;
        z-index: 2;
    }
    #side_menu .logo_container {
        top: 0;
        position: absolute;
    }
    #side_menu .logo {
        width: 45px;
        z-index: 2;
    }
    #side_menu .mob_icon span
    {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #EF3D6F;
        border-radius: 3px;
        z-index: 1;
        transform-origin:  0px 4px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                      opacity 0.55s ease;
    }
    #side_menu .mob_icon span:first-child{
          transform-origin: 0% 0%;
    }
    #side_menu .mob_icon span:nth-last-child(2){
          transform-origin: 0% 100%;
    }
    #side_menu.show .mob_icon span:nth-last-child(1){
        transform: rotate(-45deg) translate(-1px, 1px);
    }
    #side_menu.show .mob_icon span:nth-last-child(2){
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }
    #side_menu.show .mob_icon span:nth-last-child(3){
        transform: rotate(45deg)translate(-2px,-2px);
    }
    .panel_container {
        margin-top: 60px;
    }
    #wallet_info .form_box.flex{
        flex-wrap: wrap;
    }
    #wallet_info .wallet {
        width: 100% !important;
    }
}
@media only screen and (max-width: 600px) {
    #story_container.podcast  #stories_container .stories{
        width: 100%;
        height: auto;
    }
    .story_toys_box .items {
        margin: 20px 2.5% 20px 0;
        cursor: pointer;
        z-index: 1;
        width: 30%;
    }
    .story_toys_box .items:nth-child(4n+0){
        margin-left:0;
    }
    .story_toys_box .items:nth-child(6n+0){
        margin-left:2.5%;
    }
    #stories_container .stories {
        margin-top: 80px;
    }
    #stories_container .stories .paper-slide{
        padding: 20px 20px 0 20px;
    }
    #story_container .story_toys_box .sec_title {
        font-size: 2em;
     }
}
