/*!
Theme Name: BestBetting Child
Theme URI: https://best-betting-casinos.com/
Description: Child theme for the Best Betting Casinos design.
Author: BestBetting
Template: best-betting-casinos
Version: 2.0.0
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bestbetting-child
*/

:root {
	--bbc-bg: #f3f5f2;
	--bbc-surface: #fffefa;
	--bbc-surface-soft: #eef4ef;
	--bbc-dark: #0b1215;
	--bbc-dark-2: #111920;
	--bbc-panel: #18222a;
	--bbc-text: #222830;
	--bbc-muted: #6d7580;
	--bbc-line: #dfe6df;
	--bbc-green: #35d47f;
	--bbc-green-2: #21b969;
	--bbc-green-dark: #0d8f4c;
	--bbc-red: #f06455;
	--bbc-white: #ffffff;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bbc-bg);
	color: var(--bbc-text);
}

a {
	color: inherit;
}

a:hover {
	color: var(--bbc-green-dark);
}

.header,
.header *,
.bbc-footer,
.bbc-footer * {
	box-sizing: border-box;
}

.header {
	align-items: center;
	background: #f9faf4;
	border-bottom: 1px solid rgba(11, 18, 21, 0.08);
	display: flex;
	gap: 34px;
	margin: 0 auto;
	max-width: 1120px;
	min-height: 68px;
	overflow: visible;
	padding: 0 18px;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 100000;
}

.header::before {
	background: #f9faf4;
	border-bottom: 1px solid rgba(11, 18, 21, 0.08);
	bottom: -1px;
	content: "";
	left: 50%;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 100vw;
	z-index: -1;
}

.admin-bar .header {
	top: 32px;
}

.header .main-header {
	align-items: center;
	background: transparent;
	border: 0;
	display: flex;
	flex: 0 0 auto;
	height: 68px;
	margin: 0;
	max-width: none;
	min-height: 68px;
	padding: 0;
	width: auto;
}

.header .main-header .logo,
.header .main-header .logo a {
	align-items: center;
	display: inline-flex;
	height: 68px;
	margin: 0;
	min-height: 68px;
	padding: 0;
	text-decoration: none;
}

.header .main-header .logo a {
	color: var(--bbc-text);
	gap: 10px;
}

.header .main-header .logo img,
.header .main-header .logo .custom-logo {
	border-radius: 8px;
	display: block;
	height: 34px;
	max-height: 34px;
	max-width: 150px;
	object-fit: contain;
	width: auto;
}

.bbc-logo-mark {
	align-items: center;
	background: var(--bbc-dark);
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	color: var(--bbc-green);
	display: inline-flex;
	font-size: 17px;
	font-weight: 950;
	height: 34px;
	justify-content: center;
	line-height: 1;
	width: 34px;
}

.bbc-brand-text {
	display: grid;
	gap: 2px;
	line-height: 1;
}

.header .site-title,
.bbc-footer__brand strong {
	color: var(--bbc-text);
	display: block;
	font-size: 17px;
	font-weight: 950;
	letter-spacing: 0;
	line-height: 1;
	white-space: nowrap;
}

.site-tagline {
	color: var(--bbc-green-dark);
	display: block;
	font-size: 8px;
	font-weight: 950;
	letter-spacing: 1.7px;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.header .bottom-header {
	align-items: center;
	background: transparent;
	display: flex;
	flex: 1 1 auto;
	height: 68px;
	min-width: 0;
	overflow: visible;
	width: auto;
}

.header .bottom-header > .menu-container {
	align-items: center;
	display: flex;
	height: 68px;
	margin: 0;
	max-width: none;
	min-width: 0;
	overflow: visible;
	width: 100%;
}

.header .bottom-header #primary-menu {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	height: 68px;
	justify-content: flex-start;
	margin: 0;
	min-width: 0;
	overflow: visible;
	padding: 0;
	width: 100%;
}

.header .bottom-header #primary-menu > li {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	height: 68px;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.header .bottom-header #primary-menu > li > a {
	align-items: center;
	border: 0;
	border-radius: 8px;
	color: #4d5660;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0 13px;
	text-decoration: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
	white-space: nowrap;
}

.header .bottom-header #primary-menu > li.current-menu-item > a,
.header .bottom-header #primary-menu > li.current-menu-ancestor > a,
.header .bottom-header #primary-menu > li:hover > a,
.header .bottom-header #primary-menu > li:focus-within > a {
	background: #edf2ea;
	color: var(--bbc-dark);
}

.header .bottom-header #primary-menu > li.menu-item-has-children > a {
	padding-right: 24px;
}

.header .bottom-header #primary-menu > li.menu-item-has-children::after {
	border-color: #6c757e transparent transparent;
	border-style: solid;
	border-width: 4px 3px 0;
	content: "";
	height: 0;
	margin-left: -17px;
	pointer-events: none;
	width: 0;
}

.header .bottom-header #primary-menu > li > .sub-menu {
	background: var(--bbc-dark);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	box-shadow: 0 22px 44px rgba(11, 18, 21, 0.28);
	display: none;
	flex-direction: column;
	gap: 0;
	left: 0;
	margin: 0;
	max-height: none;
	min-width: 230px;
	overflow: visible;
	padding: 8px;
	position: absolute;
	top: 58px;
	width: max-content;
	z-index: 100010;
}

.header .bottom-header #primary-menu > li:hover > .sub-menu,
.header .bottom-header #primary-menu > li:focus-within > .sub-menu {
	display: flex;
}

.header .bottom-header #primary-menu > li > .sub-menu li {
	display: block;
	height: auto;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.header .bottom-header #primary-menu > li > .sub-menu li a {
	background: transparent;
	border-radius: 6px;
	color: #f5f8f5;
	display: block;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
	padding: 9px 10px;
	text-decoration: none;
	white-space: nowrap;
}

.header .bottom-header #primary-menu > li > .sub-menu li a:hover,
.header .bottom-header #primary-menu > li > .sub-menu li a:focus {
	background: rgba(53, 212, 127, 0.12);
	color: var(--bbc-green);
}

/* Header markup currently stored in the parent theme option. */
.header-casino,
.header-casino * {
	box-sizing: border-box;
}

.header-casino {
	background: #f9faf4;
	border-bottom: 1px solid rgba(11, 18, 21, 0.08);
	left: 0;
	max-width: 100%;
	overflow: visible;
	padding: 0;
	position: sticky;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 100000;
}

.admin-bar .header-casino {
	top: 32px;
}

.header-casino .header-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 34px;
	justify-content: flex-start;
	margin: 0 auto;
	max-width: 1120px;
	min-height: 68px;
	overflow: visible;
	padding: 0 18px;
	width: 100%;
}

.header-casino .logo {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	height: 68px;
	margin: 0;
	min-width: 0;
}

.header-casino .logo a {
	align-items: center;
	color: var(--bbc-text);
	display: inline-flex;
	gap: 10px;
	height: 68px;
	min-height: 68px;
	padding: 0;
	text-decoration: none;
}

.header-casino .logo img,
.header-casino .logo .custom-logo {
	border-radius: 8px;
	display: block;
	height: 34px;
	max-height: 34px;
	max-width: 150px;
	object-fit: contain;
	width: auto;
}

.header-casino .site-title {
	color: var(--bbc-text);
	display: block;
	font-size: 17px;
	font-weight: 950;
	line-height: 1;
	white-space: nowrap;
}

.header-casino .menu-container {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	height: 68px;
	justify-content: flex-start;
	margin: 0;
	min-width: 0;
	overflow: visible;
	width: auto;
}

.header-casino #primary-menu,
.header-casino .menu-container > ul {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	height: 68px;
	justify-content: flex-start;
	list-style: none;
	margin: 0;
	min-width: 0;
	overflow: visible;
	padding: 0;
	width: 100%;
}

.header-casino #primary-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-casino #primary-menu > li,
.header-casino .menu-container > ul > li {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	height: 68px;
	position: relative;
}

.header-casino #primary-menu > li > a,
.header-casino .menu-container > ul > li > a {
	align-items: center;
	border-radius: 8px;
	color: #4d5660;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0 12px;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
	white-space: nowrap;
}

.header-casino #primary-menu > li.current-menu-item > a,
.header-casino #primary-menu > li.current-menu-ancestor > a,
.header-casino #primary-menu > li:hover > a,
.header-casino #primary-menu > li:focus-within > a {
	background: #edf2ea;
	color: var(--bbc-dark);
}

.header-casino #primary-menu > li.menu-item-has-children > a {
	padding-right: 24px;
}

.header-casino #primary-menu > li.menu-item-has-children::after {
	border-color: #6c757e transparent transparent;
	border-style: solid;
	border-width: 4px 3px 0;
	content: "";
	height: 0;
	margin-left: -17px;
	pointer-events: none;
	width: 0;
}

.header-casino #primary-menu .sub-menu {
	background: var(--bbc-dark);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	box-shadow: 0 22px 44px rgba(11, 18, 21, 0.28);
	display: none;
	flex-direction: column;
	gap: 0;
	left: 0;
	margin: 0;
	max-height: none;
	min-width: 230px;
	overflow: visible;
	padding: 8px;
	position: absolute;
	top: 58px;
	width: max-content;
	z-index: 100010;
}

.header-casino #primary-menu li:hover > .sub-menu,
.header-casino #primary-menu li:focus-within > .sub-menu {
	display: flex;
}

.header-casino #primary-menu .sub-menu .sub-menu {
	left: calc(100% + 8px);
	top: -8px;
}

.header-casino #primary-menu .sub-menu li {
	display: block;
	height: auto;
	position: relative;
	width: 100%;
}

.header-casino #primary-menu .sub-menu a {
	background: transparent;
	border-radius: 6px;
	color: #f5f8f5;
	display: block;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
	padding: 9px 10px;
	text-decoration: none;
	white-space: nowrap;
}

.header-casino #primary-menu .sub-menu li:hover > a,
.header-casino #primary-menu .sub-menu li:focus-within > a {
	background: rgba(53, 212, 127, 0.12);
	color: var(--bbc-green);
}

.mgb-home-page-content,
.mgb-home,
.mgb-hero {
	position: relative;
	z-index: 1;
}

.bbc-footer {
	background: var(--bbc-dark);
	color: #9aa7af;
	padding: 42px 18px 34px;
}

.bbc-footer__inner {
	display: grid;
	gap: 28px;
	margin: 0 auto;
	max-width: 1120px;
	width: 100%;
}

.bbc-footer__brand {
	align-items: center;
	display: flex;
	gap: 12px;
}

.bbc-footer__brand strong {
	color: #f6faf7;
	margin-bottom: 6px;
}

.bbc-footer__brand span {
	color: #8d9aa3;
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	max-width: 420px;
}

.bbc-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.bbc-footer__links a {
	color: #c7d1d7;
	font-size: 13px;
	font-weight: 850;
	text-decoration: none;
}

.bbc-footer__links a:hover,
.bbc-footer__links a:focus-visible {
	color: var(--bbc-green);
}

.bbc-footer p {
	color: #687680;
	font-size: 12px;
	font-weight: 750;
	margin: 0;
}

@media screen and (max-width: 1023px) {
	.header,
	.header-casino .header-wrapper {
		gap: 18px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.header .bottom-header #primary-menu,
	.header-casino #primary-menu,
	.header-casino .menu-container > ul {
		overflow-x: auto;
		overflow-y: visible;
		scrollbar-width: none;
	}

	.header .bottom-header #primary-menu::-webkit-scrollbar,
	.header-casino #primary-menu::-webkit-scrollbar,
	.header-casino .menu-container > ul::-webkit-scrollbar {
		display: none;
	}
}

@media screen and (max-width: 782px) {
	.admin-bar .header,
	.admin-bar .header-casino {
		top: 46px;
	}
}

@media screen and (max-width: 767px) {
	.admin-bar .header,
	.admin-bar .header-casino,
	.header,
	.header-casino {
		top: 0;
	}

	.header {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		min-height: 128px;
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.header-casino .header-wrapper {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		min-height: 86px;
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.header .main-header,
	.header .main-header .logo,
	.header .main-header .logo a,
	.header-casino .logo,
	.header-casino .logo a {
		height: 38px;
		min-height: 38px;
		width: 100%;
	}

	.header .bottom-header,
	.header .bottom-header > .menu-container,
	.header .bottom-header #primary-menu,
	.header-casino .menu-container,
	.header-casino #primary-menu,
	.header-casino .menu-container > ul {
		height: 38px;
		width: 100%;
	}

	.header .bottom-header #primary-menu > li,
	.header .bottom-header #primary-menu > li > a,
	.header-casino #primary-menu > li,
	.header-casino #primary-menu > li > a {
		height: 34px;
	}

}
