//Homepage

.bell-icon{
	width: 42px;
	height: 42px;
	line-height: 42px;
	background-color: var(--rgba-primary-2);
	border-radius: var(--border-radius-base);
	text-align: center;
	display: block;
	svg{
		path{
			fill: var(--primary);
		}
	}
	&.style-2{
		line-height: 46px;
		i{
			font-size: 18px;
			color: var(--primary);
		}
	}
}

//Post Card ====
.post-card{
	margin-bottom: 35px;
	&:last-child{
		margin-bottom: 0;
	}
	&:first-child{
		margin-top: 0;
	}
	.meta-list{
		li{
			display: inline-block;
			position: relative;
			margin-right: 20px;
			font-size: 12px;
				
			&:after{
				content: "";
				height: 3px;
				width: 3px;
				border-radius: 50%;
				background-color: #C4C4C4;
				position: absolute;
				right: -14px;
				top: 50%;
				transform: translateY(-50%);
			}
			
			svg path{
				stroke: #000;
			}
			
			&:last-child{
				margin-right: 0;
				&:after{
					content: none;
				}
			}
		}
	}
	.top-meta{
		display: flex;
		align-items: center;
		justify-content: space-between;	
		margin-bottom: 15px;
	}	
	.dz-media{
		margin-bottom: 20px;
		img{
			width: 100%;
			border-radius: var(--border-radius-base);
			object-fit: cover;
		}
		.media-image{
			position: relative;			
			.video-btn{
				width: 50px;
				height: 50px;
				display: flex;
				align-items: center;
				justify-content: center;
				background-color: var(--bg-white);
				border-radius: 50%;
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				svg{
					path{
						stroke: var(--primary);
					}
				}
			}
		}
	}
	.post-meta-btn{
		ul{
			display: flex;
			align-items: center;
		}
		margin-top: 15px;
		li{
			margin-right: 10px;
		}
		.action-btn{
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 7px 15px;
			border-radius: 50px;
			font-size: 1rem;
			&.bg-primary{
				background-color: var(--rgba-primary-2) !important;
				.fill-icon,.fill-icon-2{
					color: var(--primary);
				}
				.fill-icon-2{
					display: none;
				}
				&.active{
					.fill-icon{
						display: none;
					}
					.fill-icon-2{
						display: block;
					}
				}
			}
			&.bg-secondary{
				background: rgba(112, 79, 254, 0.25) !important;
				.fill-icon{
					color: var(--secondary);
				}
			}
			&.bg-success{
				background: rgba(184, 184, 184, 0.15) !important;
			}
		}
	}
	&.overlay{
		.dz-media{
			position: relative;
			overflow: hidden;
			&:after{
				content: "";
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60.8%, #0A0A0A 100%);
				z-index: 1;
				border-radius: var(--border-radius-base);
				box-shadow: 0px 4px 13px 0px rgba(254, 144, 99, 0.19);
			}			
		}
		.post-meta-btn{
			position: absolute;
			bottom: 15px;
			left: 15px;
			z-index: 999;
			.action-btn{
				h6{
					color: #fff;
				}
			}
		}
	}	
}
.canvas-height{
	height: 300px;
	overflow: scroll;
	scrollbar-width: none;
}

.filter{
    margin-left: 6px;
    svg{
        path{
            fill: var(--dark);
        }
    }
}
.title-bar{
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
    justify-content: space-between;
    .dz-title{
        font-weight: 500;        
        margin-bottom: 0;
    }
}
.categore-box{
	display: block;
    text-align: center;
    border: 0;
    background-color: transparent;
	
	.title{
		display: block;
		color: var(--title);
		font-size: 14px;
	}
    .story-bx{
        border-radius: 20px;
		margin-bottom: 5px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 2px;
		background: linear-gradient(180deg, #FE9063 0%, #704FFE 100%);
		position: relative;
		img{
			box-sizing: content-box;
			border-radius: 18px;
			border: 5px solid #FEF3ED;
			max-width: 54px;
			height: 54px;
		}
		.live-text{
			color: #fff;
			position: absolute;
			bottom: -7px;
			left: 50%;
			background: var(--primary);
			padding: 2px 5px;
			border-radius: 4px;
			border: 2px solid #fff;
			font-size: 12px;
			transform: translateX(-50%);
			line-height: 12px;
		}
    }
	&.style-1{
		.story-bx{		
			background: unset;
			position: relative;
			.add-box{
				position: absolute;
				bottom: 6px;
				right: 6px;
				width: 18px;
				height: 18px;
				background-color: var(--secondary);
				border-radius: 50px;
				border: 2px solid #fff;
				font-size: 10px;
				color: #fff;
				line-height: 15px;
				text-align: center;
			}
		}
	}
}
.categorie-swiper{
    .swiper-slide{
        width: auto;
    }
}

.swiper-btn-center-lr{
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.saprater{
    border-bottom: 6px solid var(--border-color);
    margin: 0 -15px;
}

.recomanded-swiper{
    .swiper-slide{
        width: auto;
        &:first-child{
            margin-left: 15px;
        }
        &:last-child{
            margin-right: 15px;
        }
    }
}

.recomended-list {
    width: 228px;
    height: 256px;
    background-color: var(--dark);
    border-radius: var(--border-radius-base);
    overflow: hidden;
    margin-bottom: 20px;
    .image-box{
        position: relative;
        img{
            min-width: 230px;
            height: 154px;
            width: 100%;
            object-fit: cover;
            border-radius: var(--border-radius-base);
        }
        .form-check{
            min-height: 0;
            margin-bottom: 0;
            &.bookmark{
                padding:0;
                .form-check-label{
                    position: absolute;
                    top: 10px;
                    right: 10px;
                    border-radius: 50%;
                    text-align: center;
                    width: 45px;
                    height: 45px;
                    line-height: 45px;
                    background-color: rgba(255, 255, 255, 0.50);
                    box-shadow: 0px 12px 30px 0px rgba(48, 48, 48, 0.08);
                    cursor: pointer;
                }
                .form-check-input{
                    display:none;
                }
                .form-check-input:checked + .form-check-label{
                    background-color:#EAEAEA;
                    svg{
                        path{
                            fill: var(--primary);
                        }
                    }
                }	
            }
        }
    }
    .text-content{
        padding: 10px 15px;
        .title{
            font-weight: 600;
            color: #fff;
            line-height: 1.5;
        }
        .number{
            color: #BFC9DA;
        }
    }
}

.item-box{
    display: flex;
    justify-content: space-between;
    background: var(--bg-white);
    border-radius: var(--border-radius-base);
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 3px 0px 25px -6px rgba(48, 48, 48, 0.10);
    .item-media{
        overflow: hidden;
        min-width: 135px;
    }
    .item-content{
        width: 100%;
        padding: 7px 25px;
        background: var(--bg-white);
        box-shadow: var(--box-shadow);
        border-radius: var(--border-radius-base);
        margin-left: -30px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        .item-footer{
            display: flex;
            justify-content: space-between;
            align-items: center;
            h6{
                margin-bottom: 0;
                color: var(--secondary);
            }
        }
    }
}
del{
    color: #BFC9DA !important; 
    h6{
        color: #BFC9DA !important; 
        font-weight: 400 !important;
    }
}
.item-bookmark{
    &.active{
        svg{
            path{
                fill: #ff586e;    
            }
            path{
                stroke: #ff586e;
            }
        }    
    }
    &.icon-2{
        &.active{
            svg{
                path{
                    fill: $red;    
                }
                path{
                    stroke: $red;
                }
            }    
        }    
    }
}

//Search

.filter-area{
    display: flex;
    margin: 20px 0;
    align-items: center;
    justify-content: space-between;
}
.btn{
    &.tag-btn{
        height: 30px;
        line-height: 30px;
        border-radius: 50px;
        padding: 0 15px 0px 33px;
        font-size:12px;
        position: relative;
        margin: 0 5px 10px 0;
        background: var(--rgba-primary-1);
        border: 0;
        font-weight: 500;
        color: var(--primary);
        .cross{
            position: absolute;
            left: 5px;
            font-size: 12px;
            top: 15px;
            transform: translateY(-50%);
            background-color: var(--primary);
            color: #fff;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            line-height: 21px;
        }    
    }
}

.fixed-content{
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.head-details{
    background-color:#21085B;
    padding-top: 20px;
    padding-bottom: 50px;
    margin-bottom: -30px;
    .container{            
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .dz-info{
        padding-right: 20px;
    }
    .title{
        color: #fff;
    }
    .location{
        color: #fff;
        margin-bottom: 5px;
    }
}

.detail{
	color: #000;
	font-size: 12px;
}

.filter-btn{
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: var(--secondary);
    border-radius: var(--border-radius-base);    
}


// PWA Offcanvas
.pwa-offcanvas{
	text-align: center;
	
	.title{
		margin-bottom: 10px;
	}
	.logo{
		width: 80px;
		margin: 0 auto 20px;
		display: block;
	}
	p{
		margin-bottom: 25px;
	}
	&.show{
		visibility: visible;
	}
}
.pwa-backdrop{
	visibility: hidden;
	&.show{
		visibility: visible;
		transition: opacity 0.15s linear;
	}
}


// Error ====
.error-page{
    display: block;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 100%;
	
	.icon-bx{
        margin: 0 0 10px;
    }
}




//SVG THEME ====

svg.text-primary{
    path,
    rect{
        fill: var(--primary);
    }
    g{
        path{
            fill: #fff;    
        }
    }    
}

.footer-height{
    &:after{
        content: "";
        width: 100%;
        height: 80px;
        display: table;
    }
}

// Swiper Wrapper
.categorie-swiper{
	.swiper-slide{
		&:first-child{
			margin-left: 15px;
		}
		
	}
}
.swiper-bottom{        
    position: fixed;
    bottom: 10px;
    left: 0;
}    

.short-tag{
    .swiper-wrapper{
        .swiper-slide{
            width: auto;    
        }
    }
    .tag-btn{
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--title);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-base) !important;
        padding: 5px 8px;
        display: inline-block;
    }
    &.style-2{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        .tag-btn{
            margin: 0 6px 8px 0;
            img{
                width: 24px;
                min-width: 24px;
                margin-right: 8px;
			
            }
        }
    }
	&.style-3{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
		.btn-check:checked + .tag-btn {
			border-color: var(--primary);
			background-color: var(--rgba-primary-1);
			&:after{
				display: block;
			}
		}
        .tag-btn{
			margin: 0 10px 0 0;
			font-size: 0.875rem;
			font-weight: 600;
			color: var(--title);
			border: 1px solid var(--border-color);
			border-radius: var(--border-radius-base) !important;
			padding: 0;
			background: var(--bg-white);
			display: inline-block;
			width: 60px;
			height: 35px;
			line-height: 30px;
			position: relative;
			transition: none;
			&:after{
				content: "\f00c";
				position: absolute;
				top: -6px;
				right: -6px;
				font-family: "Font Awesome 6 free";
				font-weight: 900;
				background: var(--primary);
				width: 16px;
				height: 16px;
				line-height: 16px;
				border-radius: 50%;
				font-size: 0.55rem;
				display: none;
				color: #fff;	
			}
			img{
				width: 30px;
				min-width: 30px;
			}
        }
    }
}   

 
//Typography ====
.text-justify{
    text-align: justify;    
}

.list-style{
    padding-left: 2rem;
    li{        
        list-style: unset;    
    }    
}

//Timeline ====

.photo-viewer{
	margin: 20px -15px;
}
.list{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
	li{
		list-style: none;
		a{
			width: 100%;
		}
	}
	img {
		width: 100%;;
		height: 100px;
		display: block;
	    object-fit: cover;
		padding: 1px;
		border-radius: 2px;
	}
	& > li {
		width: 66.66%;
		flex: 0 0 66.66%;
		display: flex;
		ul{
			display: flex;
			flex-wrap: wrap;
			padding: 0;
			width: 100%;
			li{
				width: 50%;
				flex: 0 0 50%;
			}
		}
		&:nth-child(2n+1) {
			width: 33.33%;
			flex: 0 0 33.33%;
			img {
				height: 200px;
			}
		}
	}
	&:nth-child(2n+1) {
		flex-direction: row-reverse;
	}
}

//New Post ===
.post-area{
	.top-area{
		padding-top: 30px;
		padding-bottom: 30px;
		background: #eee;
		img{
			width: 100%;
			height: 100%;
			background-size: contain;
		}
	}
	.bottom-area{
		padding: 5px;
		ul{
			li{
				a{
					img{
						width: 100%;
						height: 90px;
						object-fit: cover;
					}
				}
			}
		}
	}
}


.story-modal{
	background-color: var(--dark);
	.modal-dialog{
		.modal-content{
			border-radius: 0;
			background-color: #000;
			.modal-header{
				padding: 0 15px;
				border-bottom: 0;
				.btn-close{
					color: #fff;
					opacity: 1;
				}
			}
			.modal-footer{
				&.style-1{
					flex-wrap: nowrap;
					.form-control{
						width: 100%;
						height: 48px;
						border: 1px solid var(--border-color);
						border-radius: 50px;
						background-color: transparent;
						color: #fff;
						line-height: 1.7	;
						&::placeholder{
							color: #fff;							
						}
					}
					.like-button{
						color: #e6e6e6;
					}
				}
			}
		}
	}
	.story-pagination{
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 15px 10px;
		
		.item{
			height: 2px;
			background-color: rgba(255,255,255,0.3);
			width: 100%;
			margin: 0 3px;
			border-radius: 10px;
		}
	}
	.story-form{
		margin: 0;
		    width: 100%;
		.form-input{
			display: flex;
			
			.form-control{
				border-radius: 50px;
				height: 48px;
				background-color: transparent;
				border: 1px solid rgba(255,255,255,0.4);
				color: #fff;
				
				&::placeholder {
					color: #fff;
				}
			}
			.btn{
				width: 40px;
				height: 48px;
				border-radius: 50%;
				padding: 0;
				min-width: 40px;
				line-height: 48px;
			}
			.like-button{
				border-radius: 50%;
				height: 48px;
				width: 40px;
				min-width: 40px;
				text-align: center;
				line-height: 48px;
				color: #fff;
				margin-left: 10px;
			}
		}
	}
	.story-slider-wraper{
		height: 100%;
		
		.story-item{
			height: 100%;
			display: flex;
			width: 100%;
			align-items: center;
			flex-direction: column;
			justify-content: center;
		}
	}
}

//share Link
.item-content.item-link{
	svg{
		circle,path{
			fill: var(--primary)!important;
		}
	}
}



//Status ===

.story-slider-container {
	position: relative;
    overflow: hidden;
	height: 100%;
}
.story-slider-wrapper{
	height: 100%;
	
	.slick-list,
	.slick-slide,
	.slick-track{
		height: 100%;
	}
	.slick-slide > div{
		height: 100%;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
	}
}
.progressBarContainer{
	position: absolute;
    top: 15px;
    width: 100%;
    left: 0;
    padding: 0 20px;
	
	.progress-nav{
		display: block;
		width: 30%;
		padding: 0;
		cursor: pointer;
		margin-right: 5%;
		float: left;
		color: white;
		
		&:last-child {
			margin-right: 0;
		}
		span.progressBar {
			width: 100%;
			height: 4px;
			background-color: rgba(255, 255, 255, 0.4);
			display: block;
			border-radius: 50px;
			overflow: hidden;
			
			.inProgress {
				background-color: rgba(255, 255, 255, 1);
				width: 0%;
				height: 4px;
			}
		}
	}
}
