/* Typography
--------------------------*/
/* ------CustomCSS------ */
.ad-area {

border:2px dashed #ccd6dd;
background-image: url(https://wordpress.kingthemes.net/main/wp-content/uploads/headafter.png);
background-repeat:repeat-y;
background-position:15%;
padding:30px;
border-radius:4px;
font-size:18px;
text-align:center;
}
.king-night .ad-area {
border-color:#303030;
}
.list-item-media .instagram-media {
    height:700px !important;
}/* ------body------ */
/* ------header------ */
/* ------footer------ */
/* ------sidebar------ */
/* ------PostPage------ */

/* Playable video embeds (YouTube iframe must fill 16:9 box) */
.post-video.embed-responsive {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	overflow: hidden;
	background: #000;
	box-sizing: border-box;
}
.post-video.embed-responsive-16by9:not(.is_stuck) {
	padding-bottom: 56.25%;
	height: 0;
}
.post-video.embed-responsive > iframe,
.post-video.embed-responsive > .king-video-iframe,
.post-video.embed-responsive > .embed-responsive-item,
.post-video.embed-responsive > video,
.post-video.embed-responsive > .video-js {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	border: 0;
	max-width: none;
}
.post-video .king-video-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111;
	color: #fff;
	text-decoration: none;
}
.post-video .king-video-fallback img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.75;
}
.post-video .king-video-play-label {
	position: relative;
	z-index: 1;
	padding: 12px 22px;
	border-radius: 999px;
	background: rgba(230, 0, 35, 0.92);
	font-weight: 700;
}

/* Placeholder keeps layout when video is floating */
.king-float-placeholder {
	display: none;
	width: 100%;
	background: transparent;
	pointer-events: none;
}

/* Close button (hidden until floating) */
.post-video .king-float-close {
	display: none;
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 20;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.post-video .king-float-close:hover,
.post-video .king-float-close:focus {
	background: #e60023;
	outline: none;
}

/* Floating mini-player (same iframe = keeps playing) */
.post-video.floating-video.is_stuck {
	position: fixed !important;
	top: auto !important;
	left: auto !important;
	right: 16px !important;
	bottom: 16px !important;
	width: min(400px, calc(100vw - 24px)) !important;
	height: auto !important;
	padding: 0 !important;
	padding-bottom: 0 !important;
	aspect-ratio: 16 / 9;
	max-width: calc(100vw - 24px) !important;
	max-height: min(40vh, 260px) !important;
	z-index: 99999 !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
	animation: king-float-in 0.28s ease;
	background: #000;
}
.post-video.floating-video.is_stuck > iframe,
.post-video.floating-video.is_stuck > .king-video-iframe,
.post-video.floating-video.is_stuck > .embed-responsive-item,
.post-video.floating-video.is_stuck > video,
.post-video.floating-video.is_stuck > .video-js {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 14px;
}
.post-video.floating-video.is_stuck .king-float-close {
	display: flex !important;
}
.post-video.floating-video.is_stuck .king-loading-ad,
.post-video.floating-video.is_stuck .king-playlist {
	display: none !important;
}
.post-video.king-float-dismissed.is_stuck {
	display: none !important;
}

@keyframes king-float-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Phones / small tablets */
@media (max-width: 767px) {
	.post-video.floating-video.is_stuck {
		right: 10px !important;
		bottom: 10px !important;
		left: auto !important;
		width: min(280px, calc(100vw - 20px)) !important;
		max-height: min(32vh, 180px) !important;
		border-radius: 12px !important;
	}
	.post-video .king-float-close {
		width: 28px;
		height: 28px;
		font-size: 18px;
		top: 6px;
		right: 6px;
	}
}

/* Very small phones */
@media (max-width: 380px) {
	.post-video.floating-video.is_stuck {
		width: calc(100vw - 16px) !important;
		right: 8px !important;
		bottom: 8px !important;
		max-height: 28vh !important;
	}
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
	.post-video.floating-video.is_stuck {
		right: max(12px, env(safe-area-inset-right)) !important;
		bottom: max(12px, env(safe-area-inset-bottom)) !important;
	}
}

/* ------KingflixPage------ */

.king-profile-badge .Unlimited_Badges {
	background-image: url();
}

.king-profile-badge .Points_Badge_lvl1 {
	background-image: url();
}
.king-profile-badge .Points_Badge_lvl2 {
	background-image: url();
}
.king-profile-badge .Points_Badge_lvl3 {
	background-image: url();
}
.king-profile-badge .Followed_Accounts {
	background-image: url();
}
.king-profile-badge .Top_Commenter_lvl1 {
	background-image: url();
}
.king-profile-badge .Top_Commenter_lvl2 {
	background-image: url();
}
.king-profile-badge .Top_Commenter_lvl3 {
	background-image: url();
}
.king-profile-badge .Post_Creator_lvl1 {
	background-image: url();
}
.king-profile-badge .Post_Creator_lvl2 {
	background-image: url();
}
.king-profile-badge .Post_Creator_lvl3 {
	background-image: url();
}

