/**
 * Filename: style.css
 * Description:
 * User: Ahmed Gamal
 * Date: 8/3/2023
 */
.single-post-container{
	display: flex;
    flex-direction: row-reverse;
}
.image_single_page{
	margin-top:50px;
	height:600px;
}
.image_single_page img{
	width:100%;
	height:100%;
	object-fit:cover;
}
.title-content-container{
/* 	background-color: rgb(255,255,255,0.8); */
    padding: 50px;
    position: relative;
	    
}
.single-post{
	    margin-bottom: 100px;
}
.main-post{
	margin-top:100px;
}
.title-content-container p{
	font-family: "Kufam";
    font-size: 20px;
   margin-top: 20px;
}
.gallery-list.list-group.list-group-flush{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.gallery-list.list-group.list-group-flush .gallery-item {
	width: calc( 25% - 10px );
    padding: 0;
    margin: 0 10px 10px 0;
    border: none;
	background-color: transparent;
}
.gallery-list.list-group.list-group-flush .gallery-item img{
	width:100%;
	height:400px;
	object-fit:cover;
	border-radius: 20px 20px 0px 0px;
}
.main-post .slick-dots{
	display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: 15px;
	list-style-type: none;
}
.main-post .slick-dots li button{
	font-size: 0px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	margin: 0 5px;
	border: 1px solid #000;
	background-color: transparent;
	transition: all 0.3s ease-in-out;
}
.main-post .slick-dots li.slick-active button{
	border-color: #36788A;
	background-color: #36788A;
}
.gallery-item-popup {
/* 	    position: fixed;
    width: 70%;
    height: 70%;
    top: 50%;
    background: red;
    transform: translate(-50%,-50%);
    left: 50%;
	z-index:999 */
}
/* .gallery-item-popup  img{
	width: 100%;
    height: 100%;
	object-fit: cover;
    object-position: top;
} */
.overlay{
	position: fixed;
    top: 0;
    z-index: 9;
    right: 0;
	visibility:hidden;
	width: 100%;
    height: 100%;
	backdrop-filter: blur(30px)!important;
    background-color: rgb(165, 135, 106, 0.6);
}
.overlay.active{
	visibility:visible;
}
.close-popup{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b202d;
	cursor: pointer;
	font-weight: bold;
    font-size: 25px;
	z-index: 9;
}
.gallery-items.show .gallery-item-popup img{
	width: 100%;
    height: 500px;
}
.gallery-items{
	display:none !important; 
}
.gallery-items.show{
	display: block!important;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.gallery-items-container{
	width: 100%;
    height: 100%;
	display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.slider-content{
	position: relative;
    z-index: 9999;
    width: 40%;
}
.uni-gallery h4{
	    text-align: center;
    margin-bottom: 50px;
}
.related-posts{
	margin-top: 100px;
}
.all-related{padding: 0 100px;}
.single-related{position: relative;margin-bottom: 30px;}
.single-related .uni-tags{list-style-type: none;padding: 0;}
.single-related a{display: block;}
.single-related img{
	height: 300px;
	min-height: 300px;
    width: 100%;
    border-radius: 20px 20px 0px 0px;
}
.single-related .uni-related-content{
	position: absolute;
	bottom: 0px;
	width: 100%;
	left: 0px;
	background-color: rgba(255, 255, 255, 0.78);
	padding: 10px 20px 5px 20px;
}
.single-related .uni-related-content span{
	font-size: 14px;
	color: #36788A;
}
.single-related .uni-related-content h4{
    font-size: 16px!important;
    line-height: 29px!important;
	font-weight: 100;
}
.single-related .uni-tags{
	position: absolute;
    top: 35px;
    right: 0;
}
.single-related .uni-tags .uni-tag{
	font-family: 'Baloo Bhaijaan 2';
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    background-color: #36788A;
    padding: 12px 15px;
	display: inline-block;
    margin-left: 5px;
	border-radius: 25px;
}
@media screen and (max-width: 1500px){
	.image_single_page{
		height:450px;
	}
}
.gallery-items.gallery-items-slick{
width: 100vw;
height: 100vh;
}
.gallery-items.gallery-items-slick div{
    height: 100%;
    width: 100%;
}
.gallery-items-slick .slick-arrow{
	width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
	background-color: #fff;
    color: #36788A;
    cursor: pointer;
}
.gallery-items-slick .slick-arrow.next{right: -70px;}
.gallery-items-slick .slick-arrow.prev{left: -70px;}
@media(max-width: 1536px){
	.all-related{padding: 0px 30px;}
	.main-post{max-width: 75%;}
}
@media(max-width: 992px){
	.slider-content{width: 80%;}
	.all-related {padding: 0px 15px;}
	.main-post{max-width: 66%;}
}
@media(max-width: 768px){
	.single-post-container{flex-direction: column-reverse;}
	.main-post{max-width: 100%;}
	.main-post,.related-posts{margin-top: 30px;}
}
html:lang(en-US) .single-related .uni-tags{
	left: -5px;
	right: unset;
}