/*
Theme Name: Celestia
Theme URI: https://www.candidthemes.com/themes/fairy/
Author: candidthemes
Author URI: http://www.candidthemes.com/
Description: Celestia is a free WordPress blog theme. It is the child theme of Fairy. Featuring a masonry layout and an array of customization options. Custom widgets for authors, featured posts, and social icons enhance its functionality, while top-level menus, social icons, a slider, promotional banners, and sidebar options provide flexibility. Developed by expert WordPress developers, Celestia stands out as a meticulously crafted theme for your website needs. Explore Celestia today and elevate your online presence effortlessly. Demo: https://fairy.candidthemes.com/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: celestia
Requires PHP: 7.2
Tested up to: 6.4
Template: fairy
Tags: two-columns, right-sidebar, custom-background, custom-colors, custom-menu, featured-images, theme-options, threaded-comments, translation-ready, rtl-language-support, footer-widgets, custom-header, three-columns, one-column, left-sidebar, news, blog
*/


.single .card-blog-post .card_body {
	width: 100%;
	flex-basis: 100%;
}

@media screen and (max-width: 991px) {
	body.admin-bar #masthead #primary-menu.off_canva_nav {
		padding-top: 46px;
	}
}


.card-blog-post {
	box-shadow: none;
	background: #f5f5f5;

}

.card-blog-post .card_media img,
img.attachment-fairy-medium.size-fairy-medium.wp-post-image,
.card.card-bg-image.card-promo,
.slick-list.draggable {
	box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	width: 100%;
}

.card-blog-post .card_title {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 20px;
}

.widget-area .widget {
	background-color: #e5ece9;
	box-shadow: none;
	border-radius: 10px;
}

/* widget box radius */
.wp-block-search .wp-block-search__input {
	border-radius: 5px 0px 0px 5px;
}

.wp-block-search .wp-block-search__button {
	border-radius: 0px 5px 5px 0px;
}


.btn-primary {
	box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.25);
}

body {
	background: #f5f5f5;
}

.related-post .card-blog-post img {
	box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	height: 100%;
	object-fit: cover;
}


/*---------------------------------------------------
# Category links
*   ----------------------------------------------------- */
.category-label-group a:after {
	display: none;
}

.cat-links a {
	font-size: 13px;
	display: inline-block;
	padding: 5px 15px;
	margin-bottom: 5px;
	color: #fff;
	background-color: #d10014;
}

.cat-links a:hover {
	color: #fff;
	background-color: #141413;

}

.card-blog-post .category-label-group a:hover, .card-blog-post .category-label-group a{
	color: #fff;
}

/* Menu CSS*/
.site-header-topbar {
	background-color: #e5ece9;
	padding-top: 10px;
	padding-bottom: 10px;
}


.site-header-topbar .site-header-top-menu {
	list-style: none;
	padding: 0;
	display: flex;
	flex-flow: wrap row;
}

.site-header-topbar .site-header-top-menu li {
	margin-right: 20px;
}

.site-header-topbar .site-header-top-menu li a {
	text-decoration: none;
	color: #141413;
	transition: color 300ms ease-in-out;
}

.site-header-topbar .topbar-flex-grid {
	display: flex;
	flex-flow: wrap row;
	justify-content: flex-end;
}

.site-header-topbar .topbar-flex-grid .search-toggle {
	width: 25px;
	height: 25px;
	line-height: 25px;
	border: none;
	border-radius: 50%;
	padding: 0;
	margin-right: 10px;
}

.site-header-topbar .social-menu {
	justify-content: flex-end;
}

.site-header-topbar ul {
	margin: 0;
}

.fairy-menu-social li a,
.social-menu li a {
	width: 25px;
	height: 25px;
	line-height: 2;
}

.site-header.site-header-left-logo .site-header-top .social-menu li a:before,
.site-header-topbar .social-menu li a:before {
	font-size: 12px;
}

/* Menu */

.site-header .row {
	display: flex;
	justify-content: space-between;
}

.site-header.site-header-left-logo .site-header-top {
	background-color: transparent;
}

.site-title,
.site-description {
	text-align: left;
}

.site-header-bottom {
	width: 70%;
	border-style: none;
}

/* FAIRY CONTENT AREA ---------- */
.card-blog-post figure {
	position: relative;
	overflow: hidden;
}

.fairy-content-area .card-blog-post:hover figure::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}

.fairy-content-area .card-blog-post:hover figure:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .9s;
}

@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}

@keyframes shine {
	100% {
		left: 125%;
	}
}

/* PAGINATION --------------- */

.pagination .page-numbers {
	border-radius: 5px;
}

/* WIDGET --------------- */

.widget-area .widget {
	padding: 30px;
}

.wp-block-group__inner-container .wp-block-heading {
	margin-top: 0;
	font-size: 20px;
}

.widget ul li {
	margin-bottom: 10px;
}

.wp-block-latest-posts__featured-image {
	float: left;
	width: 30%;
	margin: 0 15px 10px 0;
}

.wp-block-latest-posts__featured-image img {
	border-radius: 10px;
}

/* HERO SLICK SLIDER ---------- */
.promo-section .card-bg-image .card_media a img {
	max-height: 200px;
}

.card-bg-image.card-promo .card_body {
	bottom: 0;
	transform: translate(0, 0);
}

.card-bg-image.card-promo .card_title {
	position: absolute;
	bottom: 20px;
	left: 20px;
}

.card-bg-image.card-promo .card_title>a {
	background-color: transparent;
	padding: 0;
	max-width: 100%;
	transition: 0.4s ease-in-out;
}

.card-bg-image.card-promo:hover .card_title a {
	background-color: transparent;
	color: transparent;
	animation: none;
}

.card-bg-image.card-promo .card_media a:after {
	transition: 0.4s ease-in-out;
}

.card-bg-image.card-promo .card_media a:hover::after {
	width: 0%;
	transition: 0.4s ease-in-out;
}


/* SIDEBAR -------------------- */

.theiaStickySidebar a.wp-block-latest-posts__post-title {
	font-weight: bold;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 5px;
	line-height: 1.3;
}

.theiaStickySidebar .wp-block-latest-posts__post-author:before {
	content: '\f007';
	font-family: 'FontAwesome';
	font-weight: 500;
	padding-right: 5px;
}

time.wp-block-latest-posts__post-date:before {
	content: '\f073';
	font-family: 'FontAwesome';
	font-weight: 500;
	padding-right: 5px;
}

.wp-block-categories li {
	display: flex;
	justify-content: space-between;
}

.fairy_widget_author .fairy-menu-social li a:before {
	font-size: 13.5px;
}

/* BLOG LIST SECTION ------------- */
.card-blog-post {
	padding: 0px;
}

.card-blog-post figure {
	border-radius: 10px;
}

.slick-slide .entry-meta .entry-date {
	transition: 0.4s ease-in-out;
}

.slick-slide .entry-meta .entry-date:hover {
	color: #d10014;
}

/* FOOTER ----------------- */

#fairy-social-icons-2 .social-menu li a {
	width: 30px;
	height: 30px;
	line-height: 30px;
}

.site-footer-bottom{
	font-size: 14px;
}

.site-nav-wrap .header-main-bar{
	visibility: hidden;
}