/*
Theme Name: Redcat
Theme URI: https://www.mr-digital.co.uk/
Author: Sreeraj
Author URI: https://www.mr-digital.co.uk/
Description: Redcat is a simple and clean theme for WordPress designed for the Redcat website. It offers flexible design options, supported by a variety of patterns for different page types.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3.8
License: Private
Text Domain: redcat
*/

/* Responsive Foundation */
@import url("assets/css/responsive/variables.css");
@import url("assets/css/responsive/base.css");
@import url("assets/css/responsive/utilities.css");
@import url("assets/css/responsive/layout.css");
@import url("assets/css/responsive/header.css");
@import url("assets/css/responsive/footer.css");
@import url("assets/css/responsive/booking-system.css");

/* Defaults
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:not(.wp-element-button),
a:focus,
a:hover {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--bold);
}

html :where([style*="border-width"]) {
	border-style: none !important;
}

/* Forms
--------------------------------------------- */

input,
select,
textarea,
.wp-block-search__input {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--main);
	border-radius: 0;
	color: var(--wp--preset--color--main);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--main);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.6;
}

/* Blocks
---------------------------------------------------------------------------- */

/* Button
--------------------------------------------- */

input[type="button"],
input[type="submit"],
.wp-block-post-comments input[type="submit"],
.wp-block-search__button {
	border: 1px solid var(--wp--preset--color--main);
	border-radius: 0;
	background-color: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
	cursor: pointer;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--regular);
	padding: 10px 25px;
	text-decoration: none;
	white-space: normal;
	width: auto;
}

/* Code
--------------------------------------------- */

*:not(.wp-block-code)>code,
kbd {
	background-color: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
	position: relative;
	top: -1px;
}

/*
 * When inline code is selected, the Editor applies contextual styling. Since
 * our code color is near white, we need to reset to the default text color.
 */
.rich-text:focus>code[data-rich-text-format-boundary],
.rich-text:focus>kbd[data-rich-text-format-boundary] {
	color: currentColor;
}

/* Group
--------------------------------------------- */

.wp-block-group.is-style-full-height {
	align-items: center;
	display: grid;
	min-height: 100vh;
}

.wp-block-group.is-style-shadow {
	box-shadow: 0 0 50px rgb(0 0 0 / 10%);
}

.wp-block-group.is-style-shadow-solid {
	box-shadow: 5px 5px var(--wp--preset--color--main);
}

/* Heading
--------------------------------------------- */

.wp-block-post-content .wp-block-heading+* {
	margin: 0;
}

/* List
--------------------------------------------- */

.is-style-no-disc {
	list-style-type: none;
	padding-left: 0;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
	list-style: disc !important;
}

/* Navigation
--------------------------------------------- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-bottom: 30px;
	padding-top: 30px;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--main);
}

/* Navigation Submenu
--------------------------------------------- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--main);
	border: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Post Date
--------------------------------------------- */

.wp-block-post-date {
	box-sizing: border-box;
}

.wp-block-post-date {
	font-size: var(--wp--preset--font-size--x-small);
}

/* Post Author
--------------------------------------------- */

.wp-block-post-author {
	display: flex;
	flex-wrap: wrap;
}

.wp-block-post-author__byline {
	font-size: 0.5em;
	margin-bottom: 0;
	margin-top: 0;
	width: 100%;
}

.wp-block-post-author__avatar {
	margin-right: 1em;
}

.wp-block-post-author__bio {
	font-size: 0.7em;
	margin-bottom: 0.7em;
}

.wp-block-post-author__content {
	flex-basis: 0;
	flex-grow: 1;
}

.wp-block-post-author__name {
	margin: 0;
}

.wp-block-post-author {
	font-size: var(--wp--preset--font-size--x-small);
}

/* Post Terms
--------------------------------------------- */

.wp-block-post-terms {
	font-size: var(--wp--preset--font-size--x-small);
}

/* Post Terms
--------------------------------------------- */
h2.wp-block-post-title {
	margin: 10px 0;
}

/* Custom
---------------------------------------------------------------------------- */

/* Featured Image Placeholder
--------------------------------------------- */

.is-placeholder {
	position: relative;
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	aspect-ratio: 16/9;
	background: #f0f0f0;
}






/*
* Custom styles for Patterns
* Version: 1.0.0
* Author: Edwin 
*/

/* UTILITY CLASS */
.flex {
	display: flex !important;
}

.flex-column {
	flex-direction: column !important;
}

.item-center {
	align-items: center !important;
}

.w-full {
	width: 100% !important;
}

.h-full {
	height: 100% !important;
}

.mt-auto {
	margin-top: auto !important;
}

.mx-auto {
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 1024px) {
	.px-lg-0 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* CARD FLEX BLOCK */
.card-flex-block.wp-block-columns {
	border-style: solid !important;
	border-color: #E1E1E1 !important;
}

.card-flex-block.wp-block-columns .wp-block-column .wp-block-mr-blocks-slider .wp-block-mr-blocks-slider-item-wrapper {
	align-items: unset !important;
}

.card-flex-block.wp-block-columns .wp-block-column .wp-block-mr-blocks-slider .wp-block-mr-blocks-slider-item-wrapper picture {
	width: 100%;
	height: 100%;
	;
}

@media (min-width: 782px) {
	.card-flex-block.wp-block-columns .wp-block-column {
		align-self: stretch !important;
	}

	.card-flex-block.wp-block-columns .wp-block-column .wp-block-mr-blocks-slider {
		height: 100%;
		position: relative;
	}

	.card-flex-block.wp-block-columns .wp-block-column .wp-block-mr-blocks-slider .splide {
		height: 100%;
		width: 100%;
		position: absolute;
		inset: 0;
	}
}

/* CARD OVERFLOW */
@media (min-width: 782px) {
	.card-overflow .col-media {
		position: relative;
	}

	.card-overflow .col-media>.wp-block-image {
		height: 100%;
		width: 100%;
		position: absolute;
		inset: 0;
	}

	.card-overflow .col-media>.wp-block-image img {
		height: 100%;
		width: 100%;
		display: block;
		object-fit: cover;
		object-position: center;
	}

	.card-overflow .col-content {
		display: flex;
		align-items: center;
		padding: clamp(60px, 8vw, 120px) clamp(40px, 4vw, 80px) clamp(60px, 8vw, 120px) 0;
	}

	.card-overflow .col-content>.wp-block-group {
		margin-left: -120px;
		position: relative;
		z-index: 10;
	}

	.card-overflow .col-media>.wp-block-image .components-resizable-box__container {
		height: 100% !important;
		max-height: 100% !important;
	}
}

/* MR TABS & MR TABS ALT */
.mr-tabs.mr-tabs-alt .mr-tabs__header {
	border-bottom: 0;
	justify-content: center;
}

.mr-tabs.mr-tabs-alt .mr-tabs__header .mr-tabs__tab {
	color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--medium);
	line-height: 25px;
	padding: 10px 25px;
	margin-right: 20px;
	border: 0;
}

.mr-tabs.mr-tabs-alt .mr-tabs__header .mr-tabs__tab.mr-tabs__tab--active {
	color: var(--wp--preset--color--white, #ffffff);
	background-color: var(--wp--preset--color--primary);
}

.mr-tabs.mr-tabs-alt .mr-tabs__header .mr-tabs__tab:hover {
	color: var(--wp--preset--color--white, #ffffff);
	background-color: var(--wp--preset--color--primary);
}

.wp-block-mr-blocks-tabs.mr-tabs--horizontal .mr-tabs__header {
	overflow-x: auto;
	overflow-y: hidden;
}

.wp-block-mr-blocks-tabs.mr-tabs--horizontal .mr-tabs__header .mr-tabs__tab {
	white-space: nowrap;
}

@media (max-width: 767px) {
	.mr-tabs.mr-tabs-alt .mr-tabs__header {
		justify-content: start;
		gap: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-bottom: 10px;
	}
}

/* OVERFLOW ROW LABELS */
.overflow-row-labels {
	overflow: auto;
	padding-bottom: 14px !important;
}

.overflow-row-labels .label-text {
	white-space: nowrap;
}

/* GROUP LABELS PANEL */
.group-labels-panel.wp-block-columns .wp-block-column {
	display: flex;
	justify-content: center;
}

@media (max-width: 781px) {
	.group-labels-panel.wp-block-columns .wp-block-column {
		justify-content: start;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		border-right: 0 !important;
	}

	.group-label-panel-alt.wp-block-columns .wp-block-column {
		border-left: 0 !important;
		border-right: 0 !important;
	}
}

/* MR DIGITAL CAROUSEL */
@media (max-width: 781px) {
	.mr-carousel.mr-carousel--arrows-right-top .splide__arrows {
		position: static;
		justify-content: end;
		margin-bottom: 20px;
	}
}

/* SECTION CAROUSEL ALT */
.section-carousel-alt.wp-block-group .mr-carousel .splide .splide__list {
	/* height: auto; */
	/* align-items: end; */
}

.section-carousel-alt.wp-block-group .mr-carousel.mr-carousel--arrows-left-bottom .splide {
	padding-bottom: 60px;
}

.section-carousel-alt.wp-block-group .mr-carousel.mr-carousel--arrows-left-bottom .splide .splide__arrows {
	bottom: 0;
}

.section-carousel-alt.wp-block-group .mr-carousel .splide .mr-carousel-item {
	background-color: #FFFFFFE0;
}

@media (max-width: 781px) {
	.section-carousel-alt.wp-block-group .mr-carousel {
		padding-left: 0;
		padding-right: 0;
	}

	.section-carousel-alt.wp-block-group>.wp-block-columns {
		padding-right: var(--wp--preset--spacing--30) !important;
	}
}

/* MR CAROUSEL - FLEX & FLEX REVERSE */
.mr-carousel.is-style-flex .mr-carousel-item .mr-carousel-item__image-container,
.mr-carousel.is-style-flex-reverse .mr-carousel-item .mr-carousel-item__image-container {
	min-height: var(--image-height, 300px);
	height: auto;
}


/* TESTIMONIAL CAROUSEL & CARDS */
.wp-block-mr-blocks-reputation-testimonials .testimonial-card {
	padding: clamp(20px, 2vw, 32px) clamp(20px, 2vw, 32px);
	background-color: var(--wp--preset--color--secondary);
}

.wp-block-mr-blocks-reputation-testimonials .testimonial-card .testimonial-rating {
	height: 34px;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='39' viewBox='0 0 60 39' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M52.6472 14.6612C54.8686 15.4017 56.6457 16.7345 57.9785 18.6598C59.3114 20.4369 59.9778 22.4361 59.9778 24.6575C60.1259 26.8789 59.5335 29.1003 58.2007 31.3217C57.0159 33.395 55.0907 35.1722 52.425 36.6531C48.1303 38.8745 44.3539 39.4669 41.0959 38.4302C37.8378 37.2455 35.5424 35.4683 34.2095 33.0989C33.4691 31.9141 32.8767 30.2851 32.4324 28.2118C32.1362 26.1385 31.9882 23.9911 31.9882 21.7697C32.1362 19.4002 32.4324 17.1048 32.8767 14.8834C33.321 12.662 33.9874 10.8108 34.876 9.32988C35.6164 8.29323 36.505 7.18253 37.5416 5.99778C38.4302 4.96113 39.4669 3.92447 40.6516 2.88782C41.9845 1.85117 43.4654 0.88856 45.0944 0L52.8693 0.44428C51.8327 1.62903 50.87 2.73973 49.9815 3.77638C49.241 4.66494 48.5746 5.47945 47.9822 6.21992C47.3899 6.96039 46.7975 7.62681 46.2051 8.21918C45.1685 9.25583 44.3539 10.2925 43.7616 11.3291C43.1692 12.2177 42.6509 13.1803 42.2066 14.217C41.9104 15.2536 41.9104 16.2903 42.2066 17.3269C44.1318 15.2536 46.3532 14.217 48.8708 14.217C50.0555 14.217 51.3143 14.3651 52.6472 14.6612ZM21.9919 15.7719C24.0652 16.9567 25.5461 18.5857 26.4347 20.659C27.4713 22.5842 27.8415 24.6575 27.5454 26.8789C27.2492 29.1003 26.2866 31.1736 24.6575 33.0989C23.1766 35.0241 20.9552 36.505 17.9933 37.5417C13.4024 39.0226 9.62606 38.9485 6.6642 37.3195C3.70233 35.5424 1.70307 33.395 0.66642 30.8775C0.22214 29.5446 0 27.8415 0 25.7682C0 23.6949 0.22214 21.5476 0.66642 19.3262C1.1107 17.1048 1.70307 14.9574 2.44354 12.8841C3.18401 10.8108 4.14661 9.10774 5.33136 7.7749C6.21992 6.73825 7.25657 5.77564 8.44132 4.88708C9.47797 4.14661 10.6627 3.3321 11.9956 2.44354C13.4765 1.55498 15.1055 0.740467 16.8826 0L24.6575 1.99926C23.4728 3.03591 22.3621 3.92447 21.3254 4.66494C20.4369 5.40541 19.6224 6.07183 18.8819 6.6642C18.1414 7.25657 17.401 7.84895 16.6605 8.44132C15.6238 9.32988 14.7353 10.2184 13.9948 11.107C13.2544 11.8475 12.5879 12.736 11.9956 13.7727C11.4032 14.6612 11.181 15.6238 11.3291 16.6605C12.5139 15.7719 13.6986 15.2536 14.8834 15.1055C16.2162 14.8093 17.401 14.7353 18.4376 14.8834C19.6224 15.0315 20.8071 15.3277 21.9919 15.7719Z' fill='%23DFCDA9'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center left;
	margin-bottom: 16px;
}

.wp-block-mr-blocks-reputation-testimonials .testimonial-card .testimonial-rating .star {
	display: none;
}

.wp-block-mr-blocks-reputation-testimonials .testimonial-card .testimonial-text {
	font-style: normal;
	line-height: 1.4;
}

.wp-block-mr-blocks-reputation-testimonials .mr-testimonials-carousel .splide .splide__track {
	padding-bottom: 60px;
}

.wp-block-mr-blocks-reputation-testimonials .mr-testimonials-carousel .splide .splide__list {
	align-items: unset;
}

.wp-block-mr-blocks-reputation-testimonials .splide__arrows {
	right: unset;
	left: 0;
	width: 110px;
}

.wp-block-mr-blocks-reputation-testimonials .splide__arrows .splide__arrow {
	color: var(--wp--preset--color--primary);
	background: transparent;
	width: 46px;
	height: 42px;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 8px;
}

.wp-block-mr-blocks-reputation-testimonials .splide__arrows .splide__arrow svg {
	fill: var(--wp--preset--color--primary);
}

.wp-block-mr-blocks-reputation-testimonials .splide__arrows .splide__arrow:hover,
.wp-block-mr-blocks-reputation-testimonials .splide__arrows .splide__arrow:focus {
	color: #FFFFFF;
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	outline: none;
}

.wp-block-mr-blocks-reputation-testimonials .splide__arrows .splide__arrow:hover svg,
.wp-block-mr-blocks-reputation-testimonials .splide__arrows .splide__arrow:focus svg {
	fill: #FFFFFF;
}

.wp-block-mr-blocks-reputation-testimonials .splide__pagination {
	position: absolute;
	right: 0;
	left: unset;
	bottom: 14px;
	justify-content: end;
	gap: 10px;
	margin-top: 0;
	width: 40%;
}

@media (min-width: 768px) {
	.wp-block-mr-blocks-reputation-testimonials .testimonial-card::after {
		display: none;
	}
}

@media (max-width: 781px) {
	.wp-block-mr-blocks-reputation-testimonials .splide__pagination {
		display: none;
	}
}


/* CARD FLEX BLOCK ALT */
.card-flex-block.cfb-alt .wp-block-image {
	height: 100%;
	min-height: 260px;
}

.card-flex-block.cfb-alt .wp-block-image img {
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.card-flex-block.cfb-alt .wp-block-column .wp-block-group.is-nowrap {
	overflow-x: auto;
	padding-bottom: 12px;
}

.card-flex-block.cfb-alt .wp-block-column .wp-block-group.is-nowrap::-webkit-scrollbar {
	height: 4px;
}

.card-flex-block.cfb-alt .wp-block-column .wp-block-group.is-nowrap::-webkit-scrollbar-track {
	background: #F1F1F1;
}

.card-flex-block.cfb-alt .wp-block-column .wp-block-group.is-nowrap::-webkit-scrollbar-thumb {
	background: #CCCCCC;
	border-radius: 10px;
}

.card-flex-block.cfb-alt .wp-block-column .wp-block-group.is-nowrap .redcat-label {
	flex-shrink: 0;
}

.card-flex-block.cfb-alt .wp-block-column .wp-block-group.is-nowrap .redcat-label .label-text {
	white-space: nowrap
}

@media (max-width: 781px) {
	.card-flex-block.cfb-alt .wp-block-image {
		min-height: auto;
	}
}