/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.1
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/

/*------------------------------------------------------------*/
/* Custom Element: Popular Posts */


/* Popular Posts: Default */

#custom_popular_posts {
	margin-bottom: 50px;
}
#custom_popular_posts .posts-items {
	display: flex; 
	flex-wrap: wrap; 
	margin-left: -12px;
	margin-right: -12px;
	margin-bottom: -24px;
}
#custom_popular_posts .posts-items .post-item {
	flex: 1 1 25%;
	box-sizing: border-box;
	padding: 0 12px 24px 12px!important;
	margin: 0!important;
	width: auto!important;
	clear: none!important;
}
#custom_popular_posts .posts-items .post-item .post-thumb {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
	margin-bottom: 10px;
}
#custom_popular_posts .posts-items .post-item .post-thumb img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#custom_popular_posts .posts-items .post-item .post-meta {
	margin: 0 0 2px 0;
}
#custom_popular_posts .posts-items .post-item .post-meta .meta-item {
	display: block;
	margin: 0;
	
}
#custom_popular_posts .posts-items .post-item .post-title {
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
}
#custom_popular_posts .posts-items .post-item .post-title a {
	display: block;
}

@media (max-width: 991px) {
	#custom_popular_posts .posts-items .post-item {
		flex: 1 1 50%;
	}
}
@media (max-width: 767px) {
	#custom_popular_posts .posts-items .post-item {
		flex: 1 1 100%;
	}
}


/* Popular Posts: Single Post */

#custom_popular_posts_single #custom_popular_posts {
	margin-bottom: 0;
}
#custom_popular_posts_single #custom_popular_posts .posts-items .post-item {
	flex: 1 1 33.33%;
}
#custom_popular_posts_single #custom_popular_posts .posts-items .post-item .post-title {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 700;
}
@media (max-width: 991px) {
	#custom_popular_posts_single #custom_popular_posts .posts-items .post-item {
		flex: 1 1 33.33%;
	}
}
@media (max-width: 767px) {
	#custom_popular_posts_single #custom_popular_posts .posts-items .post-item {
		flex: 1 1 100%;
	}
}


/*------------------------------------------------------------*/
/* Single Post */

/* Featured Image */

.single-featured-image {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 60%;
}
.single-featured-image img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Related Posts */

#related-posts .related-posts-list .related-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
}
#related-posts .related-posts-list .related-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#related-posts .related-posts-list .related-item .post-title {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 700;
}


/*------------------------------------------------------------*/
/* Homepage Blocks (Modified) */

/* Archives - loop-default.php */

.custom-block-archive .posts-items .post-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
}
.custom-block-archive .posts-items .post-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.custom-block-archive .posts-items .post-item .post-meta {
	margin-bottom: 2px;
}

@media (max-width: 670px) {
	.custom-block-archive .posts-items .post-item:not(:first-child) {
		margin-top: 24px!important;
	}
}

/* Block: Big - loop-default.php */

.custom-block-big .posts-items .post-item .custom-thumb {
	margin-bottom: 10px;
}
.custom-block-big .posts-items .post-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
}
.custom-block-big .posts-items .post-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.custom-block-big .posts-items .post-item .post-meta {
	margin-bottom: 1px;
}

/* Block: First Big - loop-large-above.php */

.custom-block-first-big .posts-items .post-item .custom-thumb {
	width: 100%;
}
.custom-block-first-big .posts-items .post-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
}
.custom-block-first-big .posts-items .post-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.custom-block-first-big .posts-items .post-item.post-item-primary .custom-thumb-inner {
	padding-bottom: 56.25%;
}

.custom-block-first-big .posts-items .post-item.post-item-secondary .custom-thumb {
	margin-bottom: 6px!important;
}
.custom-block-first-big .posts-items .post-item.post-item-secondary .custom-thumb-inner {
	padding-bottom: 60%;
}
.custom-block-first-big .posts-items .post-item.post-item-secondary .post-meta {
	margin-bottom: 2px;
}
.custom-block-first-big .posts-items .post-item.post-item-secondary .post-title {
	font-size: 16px;
}

/* Block: Full Thumb - loop-full-thumb.php */

.custom-block-full-thumb .posts-items .post-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
.custom-block-full-thumb .posts-items .post-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Block: Overlay Title - loop-overlay-title.php */

.custom-block-overlay-title .posts-items .post-item {
	margin-top: 24px!important;
}
.custom-block-overlay-title .posts-items .post-item:first-child {
	margin-top: 0!important;
}
.custom-block-overlay-title .posts-items .post-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
}
.custom-block-overlay-title .posts-items .post-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Block: Overlay Title Center - loop-overlay-title.php */

.custom-block-overlay-title-center .posts-items .post-item .custom-thumb {
	margin-bottom: 0;
}
.custom-block-overlay-title-center .posts-items .post-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
.custom-block-overlay-title-center .posts-items .post-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Block: Scroll - loop-scroll.php */

.custom-block-scroll .slide .custom-thumb {
	width: 100%;
}
.custom-block-scroll .slide .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 60%;
}
.custom-block-scroll .slide .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.custom-block-scroll .slide .post-title {
	margin-top: 4px;
}

/* Block: 2c - loop-large-first.php */

.custom-block-2c .posts-items .post-item .custom-thumb {
	width: 100%;
}
.custom-block-2c .posts-items .post-item .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
}
.custom-block-2c .posts-items .post-item .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.custom-block-2c .posts-items .post-item.post-item-primary .custom-thumb-inner {
	padding-bottom: 56.25%;
}

.custom-block-2c .posts-items .post-item.post-item-secondary .custom-thumb {
	width: 40%;
	margin-right: 12px;
}
.custom-block-2c .posts-items .post-item.post-item-secondary .custom-thumb-inner {
	padding-bottom: 70%;
}
.custom-block-2c .posts-items .post-item.post-item-secondary .custom-thumb-inner img {
	max-width: 100%;
}
.custom-block-2c .posts-items .post-item.post-item-secondary .post-title {
	font-size: 16px;
}

@media (max-width: 767px) {
	.custom-block-2c .posts-items .post-item.post-item-secondary .custom-thumb-inner {
		padding-bottom: 85%;
	}
	.custom-block-2c .posts-items .post-item.post-item-secondary .post-title {
		font-size: 15px;
	}
}


/*------------------------------------------------------------*/
/* Widgets */

/* Widgets: Post List */

.widget.posts-list .posts-list-items .widget-post-list .post-widget-thumbnail {
	width: 120px;
}
.widget.posts-list .posts-list-items .widget-post-list .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 75%;
}
.widget.posts-list .posts-list-items .widget-post-list .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Widgets: Post List Big First */

.widget.posts-list-big-first .posts-list-items .widget-post-list .custom-thumb-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 60%;
}
.widget.posts-list-big-first .posts-list-items .widget-post-list .custom-thumb-inner img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/*------------------------------------------------------------*/
/* Plugins */

/* Plugin: Advanced Ads */

.entry-content > div[id^="onlar-"] {
	margin-bottom: 24px;
}
.entry-content > div[id^="onlar-"]:last-child {
	margin-bottom: 0;
}


/*------------------------------------------------------------*/
/* Small Fixes */

/* Thumbnail Overlay */

.is-thumb-overlay-disabled .post-thumb:hover {
	opacity: 1!important;
}

/* Recommended Posts */

.custom_recommended_posts .mag-box-title h3 {
	margin-bottom: 4px;
}


/*------------------------------------------------------------*/
/* Components */

/* Glomex Player */

glomex-player {
	margin: 25px 0;
}
