/* Hide Storefront sorting | 9654995-hc-kf */
.storefront-sorting {
    display: none;
}

/*Adjust products grid | 2287013-zen*/
.wc-block-grid.has-2-columns .wc-block-grid__product {
flex: 1 0 50%;
max-width: 50%;
}


/* Hide original Footer Text */
div.site-info {
  font-size: 0;
}

/* Add Footer Text */

div.site-info:after {
  font-size: .9rem;
  content: "Ray Grimes Fine Art 2020 ©";
}


/* Keep course start message dark */
.course-start-message,
.course-start-message * {
    color: #0c0c46 !important;
    opacity: 1 !important;
}

/* Hide old Storefront header only on Tutor bundle pages */
.single-course-bundle #masthead,
.single-course-bundle .site-header,
.single-course-bundle .storefront-primary-navigation {
    display: none !important;
}

/* Improve text contrast */
.single-course-bundle,
.single-course-bundle p,
.single-course-bundle li,
.single-course-bundle h1,
.single-course-bundle h2,
.single-course-bundle h3,
.single-course-bundle h4,
.single-course-bundle .tutor-course-name,
.single-course-bundle .tutor-course-content-title,
.single-course-bundle .tutor-course-details-title {
    color: #f5f3ea !important;
}

/* Hide wishlist, share, breadcrumbs, and category */
.single-course-bundle .tutor-course-wishlist-btn,
.single-course-bundle .tutor-course-share,
.single-course-bundle .tutor-course-details-category,
.single-course-bundle .tutor-breadcrumb {
    display: none !important;
}

/* Hide low-value overview rows */
.single-course-bundle .tutor-course-details-widget-list li:nth-child(2),
.single-course-bundle .tutor-course-details-widget-list li:nth-child(3),
.single-course-bundle .tutor-course-details-widget-list li:nth-child(5),
.single-course-bundle .tutor-course-details-widget-list li:nth-child(6) {
    display: none !important;
}

/* Make included-course cards easier to read */
.single-course-bundle .tutor-bundle-course-list-item {
    background: #ffffff !important;
}

.single-course-bundle .tutor-bundle-course-list-item,
.single-course-bundle .tutor-bundle-course-list-item a,
.single-course-bundle .tutor-bundle-course-list-item * {
    color: #17135c !important;
}

/* Hide breadcrumbs on Tutor bundle pages */
.single-course-bundle .tutor-breadcrumb,
.single-course-bundle .woocommerce-breadcrumb,
.single-course-bundle .storefront-breadcrumb {
    display: none !important;
}
/* Hide selected Bundle Overview rows */
.post-23431 aside .tutor-card-footer ul li:nth-child(2),
.post-23431 aside .tutor-card-footer ul li:nth-child(3),
.post-23431 aside .tutor-card-footer ul li:nth-child(5),
.post-23431 aside .tutor-card-footer ul li:nth-child(6) {
    display: none !important;
}

/* Hide instructor card */
.post-23431 .tutor-bundle-author-list {
    display: none !important;
}

/* Hide Share button on this bundle page */
.post-23431 .tutor-course-share-btn {
    display: none !important;
}

/* Hide category/meta block on all bundle pages */
.single-course-bundle .tutor-course-details-info {
    display: none !important;
}

/* Hide author/category line under bundle course list */
#tutor-bundle-course-list .tutor-bundle-course-list-desc p.tutor-mt-4 {
    display: none !important;
}

/* Only affect the main Courses archive page */
body.post-type-archive-courses .tutor-course-card .tutor-course-card-meta,
body.post-type-archive-courses .tutor-course-card .tutor-meta,
body.post-type-archive-courses .tutor-course-card .tutor-course-loop-meta,
body.post-type-archive-courses .tutor-course-card [class*="student"],
body.post-type-archive-courses .tutor-course-card [class*="enrollment"] {
    display: none !important;
}

/* Hide instructor row only on the Courses archive page */
body.post-type-archive-courses .tutor-course-card .tutor-course-card-author,
body.post-type-archive-courses .tutor-course-card .tutor-course-card-instructor,
body.post-type-archive-courses .tutor-course-card .tutor-course-loop-author,
body.post-type-archive-courses .tutor-course-card .tutor-instructor {
    display: none !important;
}

/* Tighten card spacing only on the Courses archive page */
body.post-type-archive-courses .tutor-course-card .tutor-card-body {
    padding-bottom: 18px !important;
}

body.post-type-archive-courses .tutor-course-card .tutor-card-footer {
    padding-top: 14px !important;
}

/* Hide Storefront mobile account/search/cart footer bar */
.storefront-handheld-footer-bar {
    display: none !important;
}

/* Remove space reserved for the hidden mobile footer bar */
@media (max-width: 767px) {
    body {
        padding-bottom: 0 !important;
    }
}

/* Hide old Storefront header on Tutor course and bundle archive pages */
body.post-type-archive-courses .site-header,
body.post-type-archive-course-bundle .site-header,
body.tax-course-category .site-header,
body.tax-bundle-category .site-header {
    display: none !important;
}

/* Hide breadcrumbs on Tutor course and bundle archive pages */
body.post-type-archive-courses .storefront-breadcrumb,
body.post-type-archive-course-bundle .storefront-breadcrumb,
body.tax-course-category .storefront-breadcrumb,
body.tax-bundle-category .storefront-breadcrumb,
body.post-type-archive-courses .tutor-breadcrumb,
body.post-type-archive-course-bundle .tutor-breadcrumb {
    display: none !important;
}

/* Remove extra space left behind by the hidden header */
body.post-type-archive-courses .site-content,
body.post-type-archive-course-bundle .site-content,
body.tax-course-category .site-content,
body.tax-bundle-category .site-content {
    padding-top: 20px !important;
}

/* Hide old Storefront footer on Tutor course and bundle archive pages */
body.post-type-archive-courses .site-footer,
body.post-type-archive-course-bundle .site-footer,
body.tax-course-category .site-footer,
body.tax-bundle-category .site-footer {
    display: none !important;
}

/* Remove leftover spacing after hiding the old footer */
body.post-type-archive-courses #page,
body.post-type-archive-course-bundle #page,
body.tax-course-category #page,
body.tax-bundle-category #page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Hide the old Storefront footer on single Tutor bundle pages */
body.single-course-bundle .site-footer {
    display: none !important;
}

/* Remove leftover bottom spacing */
body.single-course-bundle #page,
body.single-course-bundle .site-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Tutor dashboard and login page only */
.page-id-22810 #masthead,
.page-id-22810 .site-header,
.page-id-22810 .woocommerce-breadcrumb,
.page-id-22810 .storefront-breadcrumb,
.page-id-22810 .site-footer,
.page-id-22810 .woocommerce-store-notice {
	display: none !important;
}

/* Remove old theme background and excess spacing */
.page-id-22810,
.page-id-22810 #page,
.page-id-22810 .site,
.page-id-22810 .site-content,
.page-id-22810 .content-area,
.page-id-22810 #primary,
.page-id-22810 .tutor-wrap {
	background: #f7f5f0 !important;
}

.page-id-22810 .site-content {
	padding-top: 40px !important;
	padding-bottom: 60px !important;
}

/* Center and refine the Tutor login card */
.page-id-22810 .tutor-login-wrap,
.page-id-22810 .tutor-login-form-wrapper {
	max-width: 460px !important;
	margin: 40px auto !important;
}

/* Brand the login button */
.page-id-22810 .tutor-btn-primary,
.page-id-22810 button[type="submit"],
.page-id-22810 input[type="submit"] {
	background: #1d1768 !important;
	border-color: #1d1768 !important;
	color: #ffffff !important;
}

/* Hide the public registration invitation */
.page-id-22810 .tutor-login-form-wrapper .tutor-text-center:last-child,
.page-id-22810 .tutor-login-wrap .tutor-text-center:last-child {
	display: none !important;
}

/* Tutor LMS dashboard/login and registration pages */
.page-id-22810 #masthead,
.page-id-22810 .site-header,
.page-id-22810 .woocommerce-breadcrumb,
.page-id-22810 .storefront-breadcrumb,
.page-id-22810 .site-footer,
.page-id-22810 .woocommerce-store-notice,

.page-id-22811 #masthead,
.page-id-22811 .site-header,
.page-id-22811 .woocommerce-breadcrumb,
.page-id-22811 .storefront-breadcrumb,
.page-id-22811 .site-footer,
.page-id-22811 .woocommerce-store-notice {
	display: none !important;
}

/* New brand background */
.page-id-22810,
.page-id-22810 #page,
.page-id-22810 .site,
.page-id-22810 .site-content,
.page-id-22810 .content-area,
.page-id-22810 #primary,
.page-id-22810 .tutor-wrap,

.page-id-22811,
.page-id-22811 #page,
.page-id-22811 .site,
.page-id-22811 .site-content,
.page-id-22811 .content-area,
.page-id-22811 #primary,
.page-id-22811 .tutor-wrap {
	background: #f7f5f0 !important;
}

/* Remove old theme spacing and widen the content area */
.page-id-22810 .site-content,
.page-id-22811 .site-content {
	padding: 50px 20px 70px !important;
	margin: 0 !important;
}

/* Center Tutor forms */
.page-id-22810 .tutor-login-wrap,
.page-id-22810 .tutor-login-form-wrapper,
.page-id-22811 .tutor-registration-wrap,
.page-id-22811 .tutor-registration-form-wrapper,
.page-id-22811 form {
	max-width: 460px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Brand buttons */
.page-id-22810 .tutor-btn-primary,
.page-id-22810 button[type="submit"],
.page-id-22810 input[type="submit"],
.page-id-22811 .tutor-btn-primary,
.page-id-22811 button[type="submit"],
.page-id-22811 input[type="submit"] {
	background: #1d1768 !important;
	border-color: #1d1768 !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

/* Button hover */
.page-id-22810 .tutor-btn-primary:hover,
.page-id-22810 button[type="submit"]:hover,
.page-id-22810 input[type="submit"]:hover,
.page-id-22811 .tutor-btn-primary:hover,
.page-id-22811 button[type="submit"]:hover,
.page-id-22811 input[type="submit"]:hover {
	background: #0d1b3d !important;
	border-color: #0d1b3d !important;
}

/* Hide public registration invitation from dashboard login */
.page-id-22810 a[href*="student-registration"],
.page-id-22810 a[href*="registration"] {
	display: none !important;
}

/* Remove the retired Storefront theme shell site-wide */
#masthead.site-header,
header#masthead,
#colophon.site-footer,
footer#colophon,
.storefront-breadcrumb,
.woocommerce-breadcrumb,
.woocommerce-store-notice {
	display: none !important;
}

/* Clean Storefront 404 page */
.error404,
.error404 #page,
.error404 #content,
.error404 .site-content {
	background: #f7f5f0 !important;
	color: #0d1b3d !important;
}

/* Hide old Storefront 404 search and product widgets */
.error404 .widget_product_search,
.error404 .site-search,
.error404 .fourohfour-columns-2,
.error404 .fourohfour-columns-3,
.error404 .fourohfour-columns,
.error404 .product-categories,
.error404 .products,
.error404 .widget_products,
.error404 .widget_recently_viewed_products,
.error404 .widget_top_rated_products {
	display: none !important;
}

/* Center the useful 404 message */
.error404 .site-main,
.error404 .error-404 {
	max-width: 760px !important;
	margin: 0 auto !important;
	padding: 100px 24px !important;
	text-align: center !important;
}

/* Brand the 404 heading and text */
.error404 h1,
.error404 .page-title {
	color: #0d1b3d !important;
	font-family: "Playfair Display", serif !important;
}

.error404 p {
	color: #0d1b3d !important;
}

/* Remove leftover Storefront 404 section headings */
.error404 .fourohfour-columns h2,
.error404 .fourohfour-columns h3,
.error404 .widget-title,
.error404 .woocommerce-loop-product__title {
	display: none !important;
}

.error404 .error-404 .page-content > p {
	font-size: 0 !important;
}

.error404 .error-404 .page-content > p::after {
	content: "The page may have moved or is no longer available.";
	font-size: 15px;
}

/* Remove every leftover Popular Products section on the 404 page */
.error404 .fourohfour-columns,
.error404 .fourohfour-columns-2,
.error404 .fourohfour-columns-3,
.error404 section[aria-label*="Popular"],
.error404 section[class*="popular"],
.error404 h2 {
	display: none !important;
}

/* Contact page styling */
.page-id-5,
.page-id-5 #page,
.page-id-5 #content,
.page-id-5 .site-content {
	background: #f7f5f0 !important;
	color: #0d1b3d !important;
}

.page-id-5 .site-content {
	padding: 60px 24px !important;
}

.page-id-5 .contact-form {
	max-width: 700px;
	margin: 0 auto;
}

.page-id-5 .contact-form label {
	display: block;
	margin: 0 0 7px;
	color: #0d1b3d !important;
	font-weight: 600;
}

.page-id-5 .contact-form input[type="text"],
.page-id-5 .contact-form input[type="email"],
.page-id-5 .contact-form input[type="url"],
.page-id-5 .contact-form textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	padding: 13px 14px;
	border: 1px solid #b8bdc6;
	border-radius: 4px;
	background: #ffffff !important;
	color: #0d1b3d !important;
}

.page-id-5 .contact-form textarea {
	min-height: 190px;
	resize: vertical;
}

.page-id-5 .contact-form input[type="submit"] {
	width: 100%;
	margin-top: 12px;
	padding: 14px 24px;
	border: 1px solid #1d1768;
	border-radius: 4px;
	background: #1d1768 !important;
	color: #ffffff !important;
	font-weight: 600;
	cursor: pointer;
}

.page-id-5 .contact-form input[type="submit"]:hover {
	background: #0d1b3d !important;
	border-color: #0d1b3d !important;
}

/* Force Jetpack contact button styling */
.page-id-5 .contact-form button[type="submit"],
.page-id-5 .contact-form input[type="submit"],
.page-id-5 .wp-block-jetpack-contact-form button,
.page-id-5 .wp-block-jetpack-contact-form input[type="submit"],
.page-id-5 .grunion-field-wrap input[type="submit"],
.page-id-5 button.wp-block-button__link {
	background: #1d1768 !important;
	border: 1px solid #1d1768 !important;
	color: #ffffff !important;
	opacity: 1 !important;
}

.page-id-5 .contact-form button[type="submit"]:hover,
.page-id-5 .contact-form input[type="submit"]:hover,
.page-id-5 .wp-block-jetpack-contact-form button:hover,
.page-id-5 .wp-block-jetpack-contact-form input[type="submit"]:hover {
	background: #0d1b3d !important;
	border-color: #0d1b3d !important;
}

/* Clean the bundle description and remove the fade overlay */
.single-course-bundle .tutor-course-details-content,
.single-course-bundle .tutor-course-details-content *,
.single-course-bundle .tutor-course-description,
.single-course-bundle .tutor-course-description *,
.single-course-bundle .tutor-toggle-more-content,
.single-course-bundle .tutor-toggle-more-content * {
	background: transparent !important;
	background-image: none !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

/* Remove Tutor's white fade at the bottom of collapsed text */
.single-course-bundle .tutor-toggle-more-content::before,
.single-course-bundle .tutor-toggle-more-content::after,
.single-course-bundle .tutor-course-details-content::before,
.single-course-bundle .tutor-course-details-content::after,
.single-course-bundle .tutor-course-description::before,
.single-course-bundle .tutor-course-description::after {
	content: none !important;
	display: none !important;
	background: none !important;
	background-image: none !important;
}

/* Style the Show More control */
.single-course-bundle .tutor-toggle-more-btn,
.single-course-bundle .tutor-show-more-btn,
.single-course-bundle [class*="show-more"],
.single-course-bundle [class*="toggle-more"] {
	color: #ffffff !important;
	background: transparent !important;
}

/* Center and contain the WooCommerce cart page */
.woocommerce-cart .site-content,
.woocommerce-cart #content,
.woocommerce-cart .content-area,
.woocommerce-cart #primary,
.woocommerce-cart .site-main {
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box;
}

/* Give the cart comfortable vertical spacing */
.woocommerce-cart .site-main {
	padding-top: 40px !important;
	padding-bottom: 60px !important;
}

/* Keep cart elements inside the container */
.woocommerce-cart .woocommerce,
.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* Brand the main checkout button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: #1d1768 !important;
	border-color: #1d1768 !important;
	color: #ffffff !important;
}

/* Button hover */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: #0d1b3d !important;
	border-color: #0d1b3d !important;
}

/* Contain and center the Cart page */
body.woocommerce-cart .col-full,
body.woocommerce-cart #content > .col-full,
body.woocommerce-cart .site-main,
body.woocommerce-cart .woocommerce {
	width: calc(100% - 48px) !important;
	max-width: 1120px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

/* Comfortable space above and below */
body.woocommerce-cart .site-main {
	padding-top: 40px !important;
	padding-bottom: 70px !important;
}

/* Keep the cart table inside the centered area */
body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-cart table.shop_table {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Keep totals contained rather than spanning the screen */
body.woocommerce-cart .cart-collaterals {
	width: 100% !important;
	max-width: 100% !important;
	margin: 35px auto 0 !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	width: 52% !important;
	max-width: 580px !important;
	float: right !important;
}

/* Brand checkout button */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: #1d1768 !important;
	border-color: #1d1768 !important;
	color: #ffffff !important;
}

/* Mobile layout */
@media (max-width: 768px) {
	body.woocommerce-cart .col-full,
	body.woocommerce-cart #content > .col-full,
	body.woocommerce-cart .site-main,
	body.woocommerce-cart .woocommerce {
		width: calc(100% - 28px) !important;
	}

	body.woocommerce-cart .cart-collaterals .cart_totals {
		width: 100% !important;
		max-width: none !important;
		float: none !important;
	}
}

/* Checkout page: contain the existing WooCommerce layout */
.page-id-221 #page,
.page-id-221 #content,
.page-id-221 .site-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.page-id-221 #primary,
.page-id-221 .content-area,
.page-id-221 .site-main {
	float: none !important;
	width: calc(100% - 48px) !important;
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box !important;
}

/* Remove the unused Storefront sidebar space */
.page-id-221 #secondary,
.page-id-221 .widget-area {
	display: none !important;
}

/* Comfortable checkout spacing */
.page-id-221 .site-main {
	padding-top: 35px !important;
	padding-bottom: 70px !important;
}

/* Mobile margins */
@media (max-width: 768px) {
	.page-id-221 #primary,
	.page-id-221 .content-area,
	.page-id-221 .site-main {
		width: calc(100% - 28px) !important;
	}
}

/* Final checkout width adjustment */
.page-id-221 .woocommerce {
	width: 100% !important;
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box !important;
}

.page-id-221 form.checkout {
	width: 100% !important;
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

.page-id-221 .woocommerce-form-login-toggle,
.page-id-221 .woocommerce-form-coupon-toggle,
.page-id-221 .woocommerce-notices-wrapper {
	width: 100% !important;
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

@media (max-width: 768px) {
	.page-id-221 .woocommerce {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
}

/* WooCommerce My Account login page */
.page-id-222 .woocommerce {
	max-width: 620px !important;
	margin: 0 auto !important;
	padding: 50px 24px 70px !important;
	box-sizing: border-box !important;
}

.page-id-222 .woocommerce-form-login {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}

.page-id-222 .woocommerce-form-login input[type="text"],
.page-id-222 .woocommerce-form-login input[type="email"],
.page-id-222 .woocommerce-form-login input[type="password"] {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.page-id-222 .woocommerce-form-login button[type="submit"] {
	background: #1d1768 !important;
	border: 1px solid #1d1768 !important;
	color: #ffffff !important;
	padding: 12px 28px !important;
	border-radius: 4px !important;
	box-shadow: none !important;
}

.page-id-222 .woocommerce-form-login button[type="submit"]:hover {
	background: #0d1b3d !important;
	border-color: #0d1b3d !important;
	color: #ffffff !important;
}

.page-id-222 .woocommerce-form-login .password-input,
.page-id-222 .woocommerce-form-login .show-password-input {
	box-sizing: border-box !important;
}

/* =========================================================
   TUTOR LOGIN PAGE
   Applies only when the visitor is logged out
   Prevents changes from affecting the student dashboard
   ========================================================= */

/* Keep the logged-out login page inside the viewport */
body:not(.logged-in).page-id-22810,
body:not(.logged-in).page-id-22810 #page,
body:not(.logged-in).page-id-22810 #content,
body:not(.logged-in).page-id-22810 .site-content,
body:not(.logged-in).page-id-22810 .tutor-wrap {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: hidden !important;
	box-sizing: border-box !important;
}

/* Center and size the login card */
body:not(.logged-in).page-id-22810 .tutor-login-wrap,
body:not(.logged-in).page-id-22810 .tutor-login-form-wrapper {
	width: calc(100% - 32px) !important;
	max-width: 620px !important;
	min-height: 0 !important;
	margin: 48px auto !important;
	padding: 44px 40px !important;
	box-sizing: border-box !important;
}

/* Keep normal fields and the sign-in button full width */
body:not(.logged-in).page-id-22810
.tutor-login-wrap input:not([type="checkbox"]),

body:not(.logged-in).page-id-22810
.tutor-login-form-wrapper input:not([type="checkbox"]),

body:not(.logged-in).page-id-22810
.tutor-login-wrap button[type="submit"],

body:not(.logged-in).page-id-22810
.tutor-login-form-wrapper button[type="submit"] {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Keep the remember-me checkbox at its normal size */
body:not(.logged-in).page-id-22810 input[type="checkbox"] {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	flex: 0 0 20px !important;
	margin: 0 9px 0 0 !important;
}

/* Keep Remember Me and Forgot Password arranged cleanly */
body:not(.logged-in).page-id-22810
.tutor-login-form-wrapper .tutor-d-flex,

body:not(.logged-in).page-id-22810
.tutor-login-wrap .tutor-d-flex {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px 18px !important;
}

/* Keep labels and links readable */
body:not(.logged-in).page-id-22810
.tutor-login-form-wrapper label,

body:not(.logged-in).page-id-22810
.tutor-login-wrap label {
	width: auto !important;
	max-width: 100% !important;
	white-space: normal !important;
}

body:not(.logged-in).page-id-22810
.tutor-login-form-wrapper a,

body:not(.logged-in).page-id-22810
.tutor-login-wrap a {
	white-space: normal !important;
	overflow-wrap: anywhere !important;
}

/* Brand the Sign In button */
body:not(.logged-in).page-id-22810 button[type="submit"] {
	background: #1d1768 !important;
	border-color: #1d1768 !important;
	color: #ffffff !important;
}

body:not(.logged-in).page-id-22810 button[type="submit"]:hover {
	background: #0d1b3d !important;
	border-color: #0d1b3d !important;
	color: #ffffff !important;
}

/* Mobile login layout */
@media (max-width: 767px) {

	body:not(.logged-in).page-id-22810 .site-content {
		padding: 24px 14px 40px !important;
	}

	body:not(.logged-in).page-id-22810 .tutor-login-wrap,
	body:not(.logged-in).page-id-22810 .tutor-login-form-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		margin: 20px auto !important;
		padding: 30px 22px !important;
	}

	body:not(.logged-in).page-id-22810
	.tutor-login-form-wrapper .tutor-d-flex,

	body:not(.logged-in).page-id-22810
	.tutor-login-wrap .tutor-d-flex {
		flex-wrap: wrap !important;
		justify-content: space-between !important;
	}

	body:not(.logged-in).page-id-22810 h1,
	body:not(.logged-in).page-id-22810 h2,
	body:not(.logged-in).page-id-22810 h3 {
		font-size: clamp(30px, 9vw, 46px) !important;
		line-height: 1.15 !important;
	}
}

/* Hide only the booked percentage on Tutor course cards */
.tutor-course-booking-progress {
	display: none !important;
}

/* Hide "Don't have an account?" and "Register Now" */
.tutor-login-form-wrapper .tutor-smalls,
.tutor-login-form-wrapper a[href*="student-registration"] {
    display: none !important;
}

/* Hide Tutor LMS registration prompt */
.tutor-small,
a.tutor-btn-link[href*="student-registration"] {
    display: none !important;
}

/* =========================================
   WooCommerce My Account layout
   ========================================= */

/* Give the whole account area enough room */
body.woocommerce-account .site-main,
body.woocommerce-account main,
body.woocommerce-account .entry-content,
body.woocommerce-account .page-content {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Navigation and account content columns */
body.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 45px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 50px 30px !important;
    box-sizing: border-box !important;
}

/* Left navigation */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 0 6px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 10px 12px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Main account content */
body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
}

/* Tables */
body.woocommerce-account .woocommerce-MyAccount-content table {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
}

body.woocommerce-account .woocommerce-MyAccount-content th,
body.woocommerce-account .woocommerce-MyAccount-content td {
    padding: 14px 12px !important;
    line-height: 1.4 !important;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Prevent buttons from breaking one letter per line */
body.woocommerce-account .woocommerce-button,
body.woocommerce-account .button {
    display: inline-block !important;
    width: auto !important;
    min-width: max-content !important;
    padding: 9px 14px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Membership/subscription tables */
body.woocommerce-account .shop_table {
    width: 100% !important;
}

/* Tablet and phone */
@media (max-width: 800px) {
    body.woocommerce-account .woocommerce {
        display: block !important;
        padding: 30px 18px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 30px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        overflow-x: auto !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table {
        min-width: 650px !important;
    }
}

/* Abstract Painting Starter Guide form */
.mc4wp-form-356 {
    background: #ffffff;
    color: #0c2449;
    padding: 24px;
    border-top: 4px solid #f05a28;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(12, 36, 73, 0.12);
}

.mc4wp-form-356 .mc4wp-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
}

.mc4wp-form-356 .mc4wp-form-fields > p {
    margin: 0;
}

.mc4wp-form-356 .mc4wp-form-fields > p:last-of-type {
    grid-column: 1 / -1;
}

.mc4wp-form-356 label {
    display: block;
    color: #0c2449;
    font-size: 13px;
    font-weight: 700;
}

.mc4wp-form-356 input[type="text"],
.mc4wp-form-356 input[type="email"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
    padding: 0 13px;
    color: #0c2449;
    background: #ffffff;
    border: 1px solid #cbd0d7;
    border-radius: 4px;
}

.mc4wp-form-356 input[type="text"]:focus,
.mc4wp-form-356 input[type="email"]:focus {
    border-color: #d5ad63;
    outline: 2px solid rgba(213, 173, 99, 0.25);
}

.mc4wp-form-356 input[type="submit"] {
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    color: #ffffff;
    background: #f05a28;
    border: 0;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.mc4wp-form-356 input[type="submit"]:hover {
    background: #d94d1b;
}

.mc4wp-form-356 .mc4wp-response {
    margin-top: 14px;
}

@media (max-width: 767px) {
    .mc4wp-form-356 .mc4wp-form-fields {
        grid-template-columns: 1fr;
    }

    .mc4wp-form-356 .mc4wp-form-fields > p {
        grid-column: 1;
    }
}