/*!
Theme Name:  Mitchell Digital - 2023
Author:      Mitchell Digital
Author URI:  https://mitchelldigital.co.uk
Description: Our custom theme. Built for modern and fast websites
Version:     1.0.0
License:     GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Template:    page-builder-framework
Text Domain: page-builder-framework-child
*/


.restrict-width-ch .fl-rich-text
{
	max-width: 80ch;
	margin-left: auto;
	margin-right: auto;
}

/* HEADER */
header
{
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}


/* HEADER NAV STYLING */
ul#menu-main-menu > li.menu-item
{
	margin-left: 24px;
}

ul#menu-main-menu > li.menu-item.current-menu-item a
{
	position: relative;
	background-color: #E8A83B;
	color: #111;
	transition: all 0.3s ease;
	z-index: 20;
}

ul#menu-main-menu > li.menu-item.current-menu-item
{
	position: relative;
}

ul#menu-main-menu > li.menu-item::before,
ul#menu-main-menu > li.menu-item::after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	transition: all 0.3s ease;
	opacity: 0;
}

ul#menu-main-menu > li.menu-item::before
{
	background-color: #D55351;
	z-index: 10;
	top: 2px;
	left: -2px;
}
ul#menu-main-menu > li.menu-item::after
{
	background-color: #111;
	z-index: 5;
	top: 4px;
	left: -4px;
}

ul#menu-main-menu > li.menu-item:hover a
{
	position: relative;
	color: #111;
	background-color: #E8A83B;
	z-index: 20;
}
ul#menu-main-menu > li.menu-item.current-menu-item::before,
ul#menu-main-menu > li.menu-item.current-menu-item::after,
ul#menu-main-menu > li.menu-item:hover::before,
ul#menu-main-menu > li.menu-item:hover::after
{
	opacity: 1;
}


.p-last-mb-0 .fl-rich-text p:last-child
{
	margin-bottom: 0;
}


/* Mobile Footer CTAs */
#mobile-footer
{
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	color: #FFF;
	background-color: var(--accent-color);
	display: none;
	justify-content: space-evenly;
	border-top: 1px solid #EEE;
	box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

#mobile-footer a
{
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: block;
	padding: 12px 12px;
	width: 47.5%;
	color: #FFF;
}

@media screen and (max-width: 768px) {
	#mobile-footer
	{
		display: flex;
	}
}