/*
 * My FSRC Plugin - Custom Frontend Styles
 * Version: 1.0.73
 */

/* ---------------------------------------------------------
   WooCommerce
--------------------------------------------------------- */

/* Checkout - Customer Details width on desktop */
@media (min-width: 992px) {
	.woocommerce.woocommerce-checkout form #customer_details.col2-set,
	.woocommerce-page.woocommerce-checkout form #customer_details.col2-set {
		max-width: 55%;
	}
}

/* FSRC WooCommerce - Reduce spacing on Cart & Checkout pages */
body.woocommerce-cart .edublink-page-title-area,
body.woocommerce-cart .page-title-area,
body.woocommerce-cart .breadcrumb-area,
body.woocommerce-checkout .edublink-page-title-area,
body.woocommerce-checkout .page-title-area,
body.woocommerce-checkout .breadcrumb-area {
	margin-bottom: 60px !important;
}

body.woocommerce-cart .site-content,
body.woocommerce-cart #content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .edublink-main-content,
body.woocommerce-cart .edublink-main-content-inner,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout #content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .edublink-main-content,
body.woocommerce-checkout .edublink-main-content-inner {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* FSRC WooCommerce - Pull footer closer on Cart & Checkout pages */
body.page-id-23327 #content.site-content,
body.page-id-23328 #content.site-content {
	margin-bottom: -80px !important;
}

body.page-id-23327 #edublink-footer,
body.page-id-23328 #edublink-footer {
	position: relative;
	z-index: 2;
}

@media (max-width: 767px) {
	body.page-id-23327 #content.site-content,
	body.page-id-23328 #content.site-content {
		margin-bottom: -40px !important;
	}
}

/* FSRC WooCommerce - Cart & Checkout spacing on tablet / iPad */
@media (min-width: 768px) and (max-width: 1024px) {
	body.page-id-23327 #content.site-content,
	body.page-id-23328 #content.site-content {
		margin-bottom: -30px !important;
	}
}

/* Product image size */
.edublink-single-product-inner .edublink-single-product-thumb-wrapper .edublink-single-product-thumb {
	width: 250px;
	height: 250px;
	margin-left: auto;
	margin-right: auto;
}

/* FSRC WooCommerce - Hide Related Products only on XKDG Calendar */
body.single-product.postid-33139 .edublink-related-product-content-wrapper {
	display: none !important;
}

/* FSRC WooCommerce - Compact "Επιπλέον πληροφορίες" table */
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th,
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td {
	padding: 7px 12px !important;
	line-height: 1.35 !important;
	vertical-align: middle !important;
}

.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.35 !important;
}

.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes {
	margin-bottom: 0 !important;
}

/* FSRC WooCommerce - Elegant Out of Stock Badge */
.single-product .summary p.stock.out-of-stock,
.single-product .summary .stock.out-of-stock,
.woocommerce div.product .stock.out-of-stock {
	display: inline-flex !important;
	align-items: center;
	gap: 9px;

	margin: 6px 0 36px !important;
	padding: 11px 18px !important;

	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	white-space: nowrap;

	color: #6f3d18 !important;
	background: #fff7ed !important;
	border: 1px solid rgba(160, 95, 35, 0.25) !important;
	border-left: 4px solid #b56a23 !important;
	border-radius: 10px !important;
}

.single-product .summary p.stock.out-of-stock::before,
.single-product .summary .stock.out-of-stock::before,
.woocommerce div.product .stock.out-of-stock::before {
	content: "⌛";
	font-size: 18px;
	line-height: 1;
}

/* FSRC WooCommerce - Elegant Available on Backorder Badge */
.single-product .summary p.stock.available-on-backorder,
.single-product .summary .stock.available-on-backorder,
.woocommerce div.product .stock.available-on-backorder {
	display: inline-flex !important;
	align-items: center;
	gap: 9px;

	margin: 6px 0 26px !important;
	padding: 11px 18px !important;

	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	white-space: nowrap;

	color: #2f5f59 !important;
	background: #eef8f6 !important;
	border: 1px solid rgba(53, 116, 110, 0.22) !important;
	border-left: 4px solid #55B39E !important;
	border-radius: 10px !important;
}

.single-product .summary p.stock.available-on-backorder::before,
.single-product .summary .stock.available-on-backorder::before,
.woocommerce div.product .stock.available-on-backorder::before {
	content: "📦";
	font-size: 18px;
	line-height: 1;
}

/* WooCommerce price amount */
.woocommerce-Price-amount {
	font-size: 24px;
}

/* Featured product tag spacing */
.eb-featured-product-tag {
	margin-left: 10px;
}

/* WooCommerce Shop + Single Product - Reduce spacing before content */
body.post-type-archive-product .site-content,
body.post-type-archive-product #content,
body.post-type-archive-product .content-area,
body.post-type-archive-product .edublink-main-content,
body.post-type-archive-product .edublink-main-content-inner,
body.post-type-archive-product .woocommerce,
body.post-type-archive-product .edublink-shop-area,
body.post-type-archive-product .edublink-woocommerce-wrapper,
body.single-product .site-content,
body.single-product #content,
body.single-product .content-area,
body.single-product .edublink-main-content,
body.single-product .edublink-main-content-inner,
body.single-product .woocommerce,
body.single-product .edublink-single-product,
body.single-product .edublink-single-product-wrapper,
body.single-product .edublink-single-product-inner {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* WooCommerce Shop + Single Product - Keep breadcrumb/title height intact */
body.post-type-archive-product .edublink-page-title-area,
body.post-type-archive-product .page-title-area,
body.post-type-archive-product .breadcrumb-area,
body.single-product .edublink-page-title-area,
body.single-product .page-title-area,
body.single-product .breadcrumb-area {
	margin-bottom: 40px !important;
}

/* FSRC WooCommerce - Hide YITH Quick View button on mobile only */
@media (max-width: 767px) {
	.woocommerce ul.products li.product .yith-wcqv-button,
	.woocommerce ul.products li.product a.yith-wcqv-button,
	.woocommerce ul.products li.product .button.yith-wcqv-button,
	.post-type-archive-product .yith-wcqv-button,
	.tax-product_cat .yith-wcqv-button,
	.tax-product_tag .yith-wcqv-button {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
}

/* FSRC WooCommerce - YITH Quick View fixed 450x450 square image - white background */
#yith-quick-view-modal .yith-wcqv-main .product .images.classic {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 50% !important;
	height: auto !important;
	min-height: 0 !important;

	background: #ffffff !important;
	overflow: hidden !important;
}

#yith-quick-view-modal .yith-wcqv-main .product .images.classic > a.woocommerce-main-image {
	display: block !important;
	width: 450px !important;
	max-width: 100% !important;
	height: 450px !important;
	overflow: hidden !important;
	background: #ffffff !important;
}

#yith-quick-view-modal .yith-wcqv-main .product .images.classic img.attachment-quick_view_image_size {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	object-position: center center !important;
	background: #ffffff !important;
}

/* FSRC WooCommerce - YITH Quick View tablet layout fix */
@media (min-width: 768px) and (max-width: 1024px) {
	#yith-quick-view-modal .yith-wcqv-main .product .images.classic {
		width: 42% !important;
	}

	#yith-quick-view-modal .yith-wcqv-main .product .edublink-yith-wcqv-wrapper.summary,
	#yith-quick-view-modal .yith-wcqv-main .product .summary.entry-summary {
		width: 58% !important;
		max-width: 58% !important;
		padding-left: 28px !important;
		box-sizing: border-box !important;
	}

	#yith-quick-view-modal .yith-wcqv-main .product .images.classic > a.woocommerce-main-image {
		width: 380px !important;
		height: 380px !important;
	}

	#yith-quick-view-modal .stock.available-on-backorder {
		white-space: normal !important;
		max-width: 100% !important;
		width: auto !important;
		box-sizing: border-box !important;
	}
}

/* ---------------------------------------------------------
   Tutor LMS / EduBlink
--------------------------------------------------------- */

/* Course Sidebar Button height on tablet/desktop */
@media (min-width: 768px) {
	.edublink-course-details-sidebar-content a.tutor-btn {
		height: 60px;
	}
}

/* Course Bookmark spacing */
.edublink-course-details-sidebar-content .tutor-course-bookmark,
.tutor-single-course-sidebar .tutor-course-bookmark {
	margin-top: 25px;
}

/* Enroll Button spacing */
.edublink-course-details-sidebar .eb-tl-enroll-btn.tutor-static-loader {
	margin-bottom: 0 !important;
}

/* Course image - Remove Dark Fade / Curtain Overlay */
.edublink-single-course .thumbnail::before,
.edublink-single-course .thumbnail::after,
.edublink-single-course .course-thumb::before,
.edublink-single-course .course-thumb::after {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	background: none !important;
}

/* Course Sale Price - deleted price position */
.edublink-single-course .course-price del {
	position: absolute;
	top: 70px;
	right: 2px;
	font-size: 19px;
	/* display: none; */
}

/* EduBlink / Tutor LMS - Enrolled Date on New Line */
.eb-tl-enroll-info .tutor-enrolled-info-date {
	display: block !important;
	margin-top: 2px !important;
}


/* ---------------------------------------------------------
	Homepage - EduBlink Course Price
--------------------------------------------------------- */
 /* FSRC - Increase course price font size only on homepage */
 .home .edublink-single-course .course-price,
 .home .edublink-single-course .course-price span,
 .home .edublink-single-course .list-item-price,
 .home .edublink-single-course .tutor-item-price {
	 font-size: 22px !important;
	 line-height: 1.2 !important;
	 font-weight: 600 !important;
 }
 
 
 
 /* ---------------------------------------------------------
	Theme / Blog Layout - Pages, Blog Archive, Category Archives & Single Posts
 --------------------------------------------------------- */
 
 /* Single Posts - Reduce the big top space before the single post content */
 body.single-post .edublink-page-title-area,
 body.single-post .page-title-area,
 body.single-post .breadcrumb-area {
	 margin-bottom: 25px !important;
 }
 
 /* Single posts - Reduce top spacing of the main article container */
 body.single-post .site-content,
 body.single-post #content,
 body.single-post .content-area,
 body.single-post .edublink-main-content,
 body.single-post .edublink-main-content-inner,
 body.single-post .edublink-single-post,
 body.single-post .blog-main-content,
 body.single-post .blog-standard-wrapper {
	 padding-top: 0 !important;
	 margin-top: 0 !important;
 }
 
 /* Blog Archive + Category Archives - Reduce spacing before posts list only */
 body.blog .site-content,
 body.blog #content,
 body.blog .content-area,
 body.blog .edublink-main-content,
 body.blog .edublink-main-content-inner,
 body.blog .blog-main-content,
 body.blog .blog-standard-wrapper,
 body.blog .edublink-blog-area,
 body.category .site-content,
 body.category #content,
 body.category .content-area,
 body.category .edublink-main-content,
 body.category .edublink-main-content-inner,
 body.category .blog-main-content,
 body.category .blog-standard-wrapper,
 body.category .edublink-blog-area {
	 padding-top: 0 !important;
	 margin-top: 0 !important;
 }
 
 /* Blog Archive + Category Archives - Keep breadcrumb/title height intact */
 body.blog .edublink-page-title-area,
 body.blog .page-title-area,
 body.blog .breadcrumb-area,
 body.category .edublink-page-title-area,
 body.category .page-title-area,
 body.category .breadcrumb-area {
	 margin-bottom: 25px !important;
 }
 
 /* Blog Archive + Category Archives + Single Posts - Sidebar Widget top spacing */
 body.blog aside#secondary.widget-area.eb-sidebar-widget > .widget-area-wrapper,
 body.archive.category aside#secondary.widget-area.eb-sidebar-widget > .widget-area-wrapper,
 body.single-post aside#secondary.widget-area.eb-sidebar-widget > .widget-area-wrapper {
	 padding-top: 0 !important;
 }
 
 /* Pages - Sidebar widget top spacing */
 body.page:not(.woocommerce-page):not(.single-product):not(.tutor-course-single) aside#secondary.widget-area.eb-sidebar-widget > .widget-area-wrapper {
	 padding-top: 0 !important;
 }
 
 /* Sidebar Recent Posts - Compact title/date spacing */
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item .title,
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item .post-title,
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item h5,
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item h6 {
	 margin-bottom: 2px !important;
 }
 
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item .post-meta,
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item .entry-meta,
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item .date,
 aside#secondary.eb-sidebar-widget .edublink-recent-post-each-item .post-date {
	 margin-top: 0 !important;
	 margin-bottom: 0 !important;
	 padding-top: 0 !important;
	 padding-bottom: 0 !important;
 }
 
 /* Blog Archive + Category Archives - Limit description to 4 lines */
 body.blog .edublink-blog-post-archive-style-1 .edu-blog.blog-style-1 .content > p,
 body.category .edublink-blog-post-archive-style-1 .edu-blog.blog-style-1 .content > p {
	 display: -webkit-box !important;
	 -webkit-line-clamp: 4 !important;
	 -webkit-box-orient: vertical !important;
	 overflow: hidden !important;
	 text-overflow: ellipsis !important;
	 line-height: 1.8 !important;
	 min-height: 7.2em !important;
 }
 
 /* Single posts - Reduce spacing around article header */
 body.single-post .entry-header,
 body.single-post .blog-header,
 body.single-post .post-header,
 body.single-post .edublink-post-header {
	 margin-top: 0 !important;
	 margin-bottom: 18px !important;
	 padding-top: 0 !important;
	 padding-bottom: 0 !important;
 }
 
 /* Single posts - Reduce title bottom spacing */
 body.single-post .entry-title,
 body.single-post .post-title,
 body.single-post h1.entry-title {
	 margin-bottom: 12px !important;
 }
 
 /* Single posts - Reduce meta spacing */
 body.single-post .entry-meta,
 body.single-post .post-meta,
 body.single-post .edublink-post-meta {
	 margin-bottom: 14px !important;
 }
 
 /* Single posts - Reduce spacing before featured image */
 body.single-post .edublink-single-page-thumbnail,
 body.single-post .edublink-post-thumb,
 body.single-post .post-thumbnail,
 body.single-post .entry-thumbnail,
 body.single-post .thumbnail {
	 margin-top: 0 !important;
	 margin-bottom: 28px !important;
	 padding-top: 0 !important;
 }
 
 /* Single Posts - Category Badge */
 body.single-post .category a,
 body.single-post .entry-category a,
 body.single-post .post-category a,
 body.single-post .edublink-post-cat a,
 body.single-post .edublink-post-category a,
 body.single-post .edublink-category a,
 body.single-post .post-categories a,
 body.single-post a[rel="category tag"] {
	 display: inline-block !important;
	 padding: 6px 14px !important;
	 margin-bottom: 12px !important;
 
	 background: #E1F3F0 !important;
	 color: #35746E !important;
 
	 border-radius: 8px !important;
	 font-size: 14px !important;
	 font-weight: 500 !important;
	 line-height: 1.2 !important;
	 text-decoration: none !important;
 }
 
 /* Pages - Add spacing above theme featured image on normal pages only */
 body.page:not(.single-post) .edublink-single-page-thumbnail,
 body.page:not(.single-post) .post-thumbnail,
 body.page:not(.single-post) .entry-thumbnail {
	 margin-top: 40px !important;
 }
 
 /* Pages - Mobile featured image spacing */
 @media (max-width: 767px) {
	 body.page:not(.single-post) .edublink-single-page-thumbnail,
	 body.page:not(.single-post) .post-thumbnail,
	 body.page:not(.single-post) .entry-thumbnail {
		 margin-top: 25px !important;
	 }
 }
 
 /* Pages - Sidebar top spacing */
 body.page:not(.single-post) aside,
 body.page:not(.single-post) .sidebar,
 body.page:not(.single-post) .widget-area,
 body.page:not(.single-post) .edublink-sidebar,
 body.page:not(.single-post) .edublink-widget-area {
	 margin-top: 40px !important;
 }
 
 @media (max-width: 991px) {
	 body.page:not(.single-post) aside,
	 body.page:not(.single-post) .sidebar,
	 body.page:not(.single-post) .widget-area,
	 body.page:not(.single-post) .edublink-sidebar,
	 body.page:not(.single-post) .edublink-widget-area {
		 margin-top: 30px !important;
	 }
 }
 
 