/*!
Theme Name: abj
Author: Made in 13
Author URI: https://madein13.com
Version: 1.0.0
Text Domain: abj
*/

/* Typography
--------------------------------------------- */
body {
	overflow-x: hidden;
}

body,
button,
input,
select,
optgroup,
textarea {
	color:#1e1e1e;
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-style:normal;
	font-weight:400;	
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight:500;
}

b,
strong,
.fw-bold {
	font-weight:500 !important;
}

.fs-6 {
	font-size:0.875rem !important;
}

.small {
	font-size:0.813rem !important;
}

.x-small {
	font-size:0.75rem !important;
}

.xx-small {
	font-size:0.625rem !important;
}


/* =Links
----------------------------------------------- */
a, a:hover, a:focus, a:active {
	color:#1e1e1e;
	text-decoration:none;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

.link-underline a {
	text-decoration:underline;
}


/* =Backgrounds + Colours
----------------------------------------------- */
.bg-lte-grey {
	background:#fafafa;
}

.bg-lte-pink {
	background:#fdcfdf;
}

.bg-drk-pink {
	background:#e51e55;
}

.lte-grey {
	color:#acacac;
}


/* =Containers
----------------------------------------------- */
	@media (min-width: 1920px) {
		.site-header .container-fluid {
			max-width: 1660px;
		}
		.container {
			max-width: 1600px;
		}
	}

.container.narrow-width {
    max-width:950px;
}			

	@media (max-width: 575.98px) {
		.container {
			padding-left:1.3rem;
			padding-right:1.3rem;
		}
	}

.slider-flush-wrapper {
	overflow:hidden;
	padding-left:1.3rem;
}

.slider-flush-right {
	display:flex;
	flex-wrap:wrap;
}

	@media (min-width: 576px) {
		.slider-flush-right {
			margin-left: calc((100% - 540px) / 2);
		}
	}

	@media (min-width: 768px) {
		.slider-flush-right {
			margin-left: calc((100% - 720px) / 2);
		}
	}

	@media (min-width: 992px) {
		.slider-flush-right {
			margin-left: calc((100% - 960px) / 2);
		}
	}

	@media (min-width: 1200px) {
		.slider-flush-right {
			margin-left: calc((100% - 1140px) / 2);
		}
	}

	@media (min-width: 1400px) {
		.slider-flush-right {
			margin-left: calc((100% - 1320px) / 2);
		}
	}

	@media (min-width: 1920px) {
		.slider-flush-right {
			margin-left: calc((100% - 1600px) / 2);
		}
	}

	@media (min-width: 992px) {
		.centered-box-lg {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
		}
	}

/* =Spacing
----------------------------------------------- */
.mt-6 {
	margin-top:6rem;
}

	@media (max-width: 991.98px) {
		.mt-6 {
			margin-top:4rem;
		}
	}
	
.py-6 {
	padding-top:4rem;
	padding-bottom:4rem;
}

.py-1x {
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
}

.py-2x {
    padding-top: .65rem !important;
    padding-bottom: .65rem !important;
}

.px-2x {
	padding-left:0.75rem !important;
	padding-right:0.75rem !important;
}

	@media (max-width: 575.98px) {
		.g-5, .gx-5 {
			--bs-gutter-x:1.5rem;
		}
	}


/* =Header
----------------------------------------------- */
.site-header .logo {
	height:auto;
	width:180px;
}

	@media (max-width: 991.98px) {
		.site-header .logo {
			width:120px;
		}
	}

	@media (max-width: 575.98px) {
		.site-header .logo {
			width:90px;
		}
	}

#mega-menu-wrap-primary #mega-menu-primary {
    background-color: #fff !important;
    text-align:center;
}

.mega-menu a.mega-menu-link {
    background-color: #fff !important;
    color: #222 !important;
}

.mega-menu a.mega-menu-link:hover,
.mega-menu a.mega-menu-link:focus {
    background-color: #fff !important;
    color: #222 !important;
}

.mega-menu li.mega-menu-item:hover > a.mega-menu-link,
.mega-menu li.mega-menu-item:focus-within > a.mega-menu-link {
    color: #222 !important;
}

.mega-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item, 
.mega-menu li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
	text-transform: lowercase !important;
}

.mega-menu li::first-letter {
	text-transform: uppercase !important;
}

.mega-menu li.mega-menu-item:hover > ul.mega-sub-menu {
    border-top:1px solid #eea4b5 !important;
}

.mega-menu li.mega-menu-megamenu > ul.mega-sub-menu {
	background:#fff !important;
}

.mega-menu li.mega-menu-megamenu > ul.mega-sub-menu .mega-block-title,
.mega-menu .textwidget h5 {
	color:#222 !important;
	font-size:0.8rem !important;
	font-weight:500 !important;
	margin-bottom:8px !important;
	text-transform:uppercase !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
	background:#fff !important;
}

.nav-toggle {
	position:absolute;
	right:0;
	top:-6px;
}

#mega-menu-wrap-primary .mega-menu-toggle {
    background: none !important;
    border: none !important;
    color: #222 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Dashicon fix when Fast Velocity Minify activated */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
	content: "\f347";
}
	
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-flyout li.mega-menu-item a.mega-menu-link > span.mega-indicator:after {
	content: "\f139";
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link > span.mega-indicator:after {
	content: "\f343";
}

#mega-menu-wrap-primary:has(.mega-menu-open) #mega-menu-primary[data-effect-mobile^="slide_"] + button.mega-close:before {
        content: "\f335";
}

	@media (max-width: 991.98px) {
		#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
			padding: 1rem 0 4rem 0 !important;
		}
	    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
			font-size:18px !important;
		}
		#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {		
			font-size:1rem !important;
		}		
	}
	
	@media (min-width: 576px) and (max-width: 991.98px) {	
		#mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
			width:500px;
		}
		#mega-menu-wrap-primary:has(.mega-menu-open) #mega-menu-primary[data-effect-mobile^="slide_right"] + button.mega-close {
			left:500px;
		}		
	}	
	

/* Posts and pages
--------------------------------------------- */
.page-title {
	font-size: calc(1.3rem + .6vw) !important;
	margin-bottom:1rem;
}

	@media (min-width: 1200px) {
		.page-title  {
			font-size: 1.75rem !important;
		}
	}

body:not(.woocommerce-page) .entry-content h2,
body:not(.woocommerce-page) .entry-content h3,
body:not(.woocommerce-page) .entry-content h4 {
    margin:1.5rem 0;
}

body:not(.woocommerce-page) .entry-content h2 {
    font-size: calc(1.275rem + .3vw) !important;
}

	@media (min-width: 1200px) {
		body:not(.woocommerce-page) .entry-content h2  {
			font-size: 1.5rem !important;
		}
	}

body:not(.woocommerce-page) .entry-content h3,
body:not(.woocommerce-page) .entry-content h4  {
	font-size: 1.25rem !important;
}

bod:not(.woocommerce-page) .entry-content a,
body:not(.woocommerce-page) .entry-meta a,
body:not(.woocommerce-page) .entry-content a,
body:not(.woocommerce-page) .cat-links a,
body:not(.woocommerce-page) .tags-links a {
	color:#1e1e1e;
	border-bottom: 2px solid #eea4b5;
	font-weight:500 !important;
	padding-bottom:1px;
}

body:not(.woocommerce-page) .entry-content table {
    border-collapse:collapse;
    border-spacing:1px;
	height:100%;
	margin-bottom:3rem;
    table-layout:fixed;
    text-align:left;
    width:100%;
}

body:not(.woocommerce-page) .entry-content table th,
body:not(.woocommerce-page) .entry-content table td {
	border:1px solid #ddd;	
	padding:10px;
}

	@media (max-width: 767.98px) {
		body:not(.woocommerce-page) .entry-content table {
			display:block;
			font-size:0.9rem;
			overflow-x:auto;
			width:100%;
		}
	}

.post {
	margin-bottom:6rem;
}

	@media (max-width: 767.98px) {
		.post {
			margin-bottom:4rem;
		}
	}

.updated:not(.published) {
	display: none;
}

.edit-link {
	display:none;
}


/* =Hero
----------------------------------------------- */
.hero-image {
	background-color: transparent; 
	background-repeat: no-repeat;  
	background-position: center;
}

	@media (min-width: 992px) {
		.hero-image {
			background-image: var(--hero-desktop);
			background-size: cover;
			aspect-ratio: 1950 / 600; 
			min-height: unset; 
		}
	}

.hero-image-text {
	bottom:1rem;
    position:absolute;
    z-index:2;
}

	@media (max-width: 991.98px) {
		.hero-image {
			background-image: var(--hero-mobile);
			background-size: cover;
			min-height: 800px;		
		}
		.hero-image-text {
			bottom:1.5rem;
		}
	}

	@media (max-width: 767.98px) {
		.hero-image {
			min-height: 650px;		
		}
	}

	@media (max-width: 600px) {
		.hero-image {
			min-height: 480px;		
		}
	}

	@media (max-width: 480px) {
		.hero-image {
			min-height: 400px;		
		}
	}

	@media (max-width: 400px) {
		.hero-image {
			min-height: 360px;		
		}
	}

.hero-video {
	background:#fff;
	display:block; 
	aspect-ratio:16 / 9;
	object-fit:cover;
	width:100%;
}
	

/* =Fixed backgrounds
----------------------------------------------- */
.background-section {
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
	display:block;
	position:relative;
	width:100%;
}

	@media (min-width: 992px) {
		.background-section {
			background-attachment:fixed;
			height:450px;
		}
	}

	@media (max-width: 991.98px) {
		.background-section {
			background-attachment:scroll;
			height:500px;
		}
	}

	@media (max-width: 767.98px) {
		.background-section {
			height:300px;
		}
	}

	@media (max-width: 575.98px) {
		.background-section {
			height:250px;
		}
	}


/* Swipers
--------------------------------------------- */
.swiper {
    overflow: hidden;
}

.swiper-reviews .swiper-wrapper {
    align-items: stretch;
}

.swiper-reviews .swiper-slide {
    display: flex;
    height: auto;
}

.swiper-reviews img,
.grid-reviews img {
	aspect-ratio: 1/1;
}

.swiper-reviews .product-title a,
.grid-reviews .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swiper-reviews .product-title,
.grid-reviews .product-title {
    min-height: calc(1.25em * 1);
}


/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border:none;
	margin-bottom:0;
	margin-top:0;
	padding:0;
}

.entry-content img {
	margin-bottom:1rem;
}

img {
	height:auto;
	max-width:100%;
}

.youtube-video {
	aspect-ratio: 16 / 9;
	width: 100%;
}

.image-hover img {
    transition: transform 0.3s ease-in-out;
}

.image-hover:hover img {
    transform: scale(1.1);
}


/* =Google Maps
--------------------------------------------------------------*/
.google-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

	@media (max-width: 767.98px) {
		.google-map {
			height:500px;
		}
	}


/* Contact Forms
-------------------------------------------------- */
.wpcf7 {
	margin-top:3rem;
}

.wpcf7 label {
	font-weight:500;
	margin-bottom:0.5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	background:#fff;
	border:none !important;
	box-shadow:0 !important;
	border-radius:0 !important;
	border:1px solid #666 !important;
	margin-bottom:2rem;
	padding:0.5rem;
	width:100% !important;
}

.wpcf7 textarea {
	border:1px solid #666 !important;
	height:200px;
	margin:1.5rem 0;
}

.wpcf7-form input[type=checkbox],
.wpcf7-form input[type=radio] {
	font-size:1rem;
	vertical-align:middle;
	width:16px;
}

.wpcf7-list-item {
    margin:0;
}

.wpcf7-list-item-label {
	font-weight:400;
	margin-left:0.313rem;
}

.wpcf7-checkbox .wpcf7-list-item {
	display:block;
	margin-left:0;
}

.wpcf7-radio .wpcf7-list-item.first {
	margin-left:0;
}

div.wpcf7-validation-errors {
    padding:1rem;
}

.wpcf7 .screen-reader-response {
	display:none;
}

.wpcf7 p {
	margin:0;
	padding:0;	
}

.wpcf7 form .wpcf7-response-output {
	border:3px solid green;
	padding:1rem;
}


/*Widgets
--------------------------------------------- */
.widget-area .widget {
	font-size:0.938rem;
	margin-bottom:2.5rem;
}

.widget-area .widget-title { 
    font-size:1.25rem;
	font-weight:500;
	margin-bottom:1rem;
}

.widget-area ul {
	list-style:none;
	padding:0;
}	

.widget-area li a {
	display:block;
	padding:0.3rem 0;
}

.widget-area .widget a {
	color:#1e1e1e;
	font-size:0.938rem;
	text-decoration:none;
}

.widget select {
	border:1px solid #ccc;
	font-size:0.875rem;
	padding:10px;
	width:300px;
}

	@media (min-width: 992px) {
		.widget select {
			width:100%;
		}
	}


/* Footer
--------------------------------------------- */
.site-footer ul {
	list-style:none;
	padding:0;
}

.site-footer li {
	font-size:0.9rem;
	margin:0.5rem 0;
}

.site-footer li a {
	color:#1e1e1e;
	font-size:0.9rem;
	text-decoration:none;
}


/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1.5rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 121252900;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}


