/*استایل استوری پروموشن ها در صفحات لندینگ*/

#promotion{
	margin-top: 3rem;
}

.fapromotion-pr{
    border-radius: 12px;
    background-color: #fff2e2;
    padding: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
.fapromotion-pr-r{
    width: 40%;
    display: flex;
    align-content: center;
}
.fapromotion-pr-r img{
    width: auto!important;
    max-width: 100%;
	height: auto!important;
}
.fapromotion-pr-l{
	width: 58%;
	position: relative;
}
.fapromotion-pr-l::before, .fapromotion-pr-l::after{
	content: '';
	height: 100%;
	position: absolute;
	width: 90px;
	top: 0;
	z-index: 1;	
}
.fapromotion-pr-l::before{
	left: 0;
	background: linear-gradient(90deg, #fff2e2 0%, rgba(9,9,121,0) 100%);
}
.fapromotion-pr-l::after{
	right: 0;
	background: linear-gradient(-90deg, #fff2e2 0%, rgba(9,9,121,0) 100%);
}
@media(max-width: 768px){
	.fapromotion-pr-r{
		width: 100%;
		justify-content: center;
		margin-bottom: 10px;
	}
	.fapromotion-pr-l{
		width: 100%;
	}
	.fapromotion-pr-l::before, .fapromotion-pr-l::after{
		width: 30px;
	}
	.story-pr .linktodetails{
		margin-bottom: 100px;
	}
}

/* story */

.promotion-pr{
    display: flex;
    align-content: space-between;
    justify-content: center;
    flex-wrap: wrap;
    width: 120px;
}
.shine-animate{
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 20px, #ddd 60px);
    background-size: 200px;
    background-position: -100px;
    animation: shine 1s linear 0s infinite;
    border: 2px solid #c8c4c4;
}
.promotion-img-pr{
    width: 90px;
    height: 90px;
    padding: 3px;
    border-radius: 50%;
    cursor: pointer;
}
@keyframes shine {
    0%{
        background-position: -100px;
    }
    99%{
        background-position: 130px;
    }
    99.99%{
        background-position: 130px;
    }
    100%{
        background-position: -100px;
    }
}
.promotion-img-pr img{
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
    border-radius: 50%!important;
    opacity: 0;
}
.promotion-pr p{
    width: 100%;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0 5px;

}
button > svg{
    pointer-events: none;
}
/* stroy */
#cip-story{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #0000007a;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#story-close{
    position: absolute;
    top: 20px;
    right: 20px;
    display: none;
}
#story-close i{
    font-size: 20px;
}
.stories-parent > li{
    position: relative;
}
.stories-parent > li::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.story-pr{
    width: 400px;
    height: 100%;
    border-radius:7px;
    background: rgb(0,0,0);
    background: linear-gradient(5deg, rgba(0,0,0,1) 0%, rgba(9,9,121,0) 100%);
    padding: 1rem;
    overflow-y: auto;
}
@media (max-width: 768px){
    .promotion-pr{
        width: 80px;
    }
    .promotion-img-pr{
        width: 70px;
        height: 70px;
    }
    .story-pr-pr,.story-pr{
        width: 100%;
        height: 100% !important;
    }
    
    #story-close{
        z-index: 1000;
        display: block;
    }
    .story-pr figure::before
    {
        background-image: linear-gradient(to bottom,#00000063,transparent)
    }
}
.story-pr figure::before
{
    content: '';
    width: 100%;
    height: 10%;
    position: absolute;
    border-radius: 7px;
}
/* width */
.story-pr::-webkit-scrollbar {
    width: 5px;
}
  
  /* Track */
.story-pr::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 12px;
    width: 100%;
}
  
  /* Handle */
.story-pr::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 12px;
}
  
  /* Handle on hover */
.story-pr::-webkit-scrollbar-thumb:hover {
    background: white;
}
.story-pr > figure{
    width: 100%;
    position: relative;
}
.story-pr img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
    margin-bottom: 20px;
}
.story-pr h4{
    color: white;
    font-size: 18px;
    font-weight: 700;
}
.story-pr p{
    color: rgb(181, 181, 181);
    font-size: 16px;
    font-weight: 400;
}
.story-pr .linktodetails{
    background-color: rgb(171, 171, 171);
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    display: block;
    text-align: center;
    transition: 0.2s;
}
.story-pr-pr{
    position: relative;
    height: 90%;
}
.story-pr-pr .linktodetails:hover{
    background-color: white;
}
.story-pr-pr .nexperv{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c7c7c7;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    position: absolute;
    top: calc( 50% - 20px ) ;
}
.story-pr-pr .nexperv:hover{
    background-color: #fff;
}
#story-next{
    left: -14%;
}
#story-perv{
    right: -14%;
    transform: rotate(-180deg);
}