/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* Page Spacing */
@media only screen and (min-width: 981px) {
	body:not(.woocommerce-account) #fl-main-content {
		margin-top: -56px !important
	}
}
/* Text Links */
a {
	text-decoration: none !important
}
#overlay-titles {
	display: flex !important;
}
#overlay-titles .fl-col-content {
	z-index: 100 !important;
	width: 100%;
	margin-left: 60px;
	margin-right: 60px;
}
#overlay-icon {
	display: flex !important;
}
#overlay-icon .fl-module-content {
	z-index: 100 !important;
	width: 100% !important;
}
/* Recaptcha */
.grecaptcha-badge {
	z-index: 200 !important;
}
/* Header Layouts */
header {
	z-index: 101 !important
}
.fl-page-bar {
	z-index: 102 !important;
}
@media only screen and (max-width: 750px) {
	.fl-page-bar-container {
	display: none !important
	}
	li#menu-item-136 a {
		padding-bottom: 0px !important;
	}
	li#menu-item-137 a {
		padding-top: 5px !important;
		padding-bottom: 20px !important;
	}
	ul.sub-menu li a {
		border: none !important;
		line-height: 1.2em !important;
		padding-left: 25px !important
	}
	ul#menu-main-navigation li a {
				padding-bottom: 10px !important;
	}
	li.menu-item-985, li.menu-item-986 {
		width: 50% !important;
		float: left !important
	}
	li.menu-item-985 a {
		text-align: right !important;
		font-size: 30px !important;
	}
	li.menu-item-986 a {
		text-align: left !important;
		font-size: 30px !important;
	}
}
@media only screen and (min-width: 751px) and (max-width: 980px) {
	.fl-page-bar-container {
	display: none !important
	}
	li#menu-item-136 a {
		padding-bottom: 0px !important;
	}
	li#menu-item-137 a {
		padding-top: 5px !important;
		padding-bottom: 20px !important;
	}
	ul.sub-menu li a {
		border: none !important;
		line-height: 1.2em !important;
		padding-left: 25px !important
	}
	ul#menu-main-navigation li a {
				padding-bottom: 0px !important;
	}
	li.menu-item-985, li.menu-item-986 {
		width: 50% !important;
		float: left !important
	}
	li.menu-item-985 a {
		text-align: right !important;
		font-size: 30px !important;
	}
	li.menu-item-986 a {
		text-align: left !important;
		font-size: 30px !important;
	}
}
@media only screen and (min-width: 981px) {
	.fl-page-bar-container {
		padding-top: 25px !important;
	}
	header {
		margin-top: -56px !important
	}
	li#menu-item-136, li#menu-item-137 {
		display: none !important;
	}
	ul.sub-menu li a {
		border: none !important;
		line-height: 1em !important;
		text-align: center
	}
	.mega-menu ul.sub-menu li a {
		text-decoration: underline !important;
		font-size: 1.2em !important;
	}
	ul.sub-menu ul.sub-menu li a {
		text-decoration: none !important;
		font-size: 1em !important;
		padding-bottom: 5px !important
	}
	.fl-page-bar {
		pointer-events: none;
	}
	.fl-page-bar-text {
		pointer-events: all !important;
	}
	a.nav-link {
		padding-left: 8px !important;
		padding-right: 8px !important
	}
}
/* Header Styling */
.fl-page-nav-wrap, .fl-page-bar, ul#menu-main-navigation li {
	border: none !important;
}
img.fl-logo-img {
	max-height: 50px !important;
	width: auto !important;
}
.fl-page-header-logo {
	text-align: center !important;
}
ul.sub-menu {
	border: none !important;
}
ul.sub-menu li a::before{
	display: none
}
/* Seperator Rounding */
.fl-separator {
	border-radius: 50px !important
}
/* Gallery */
@media only screen and (min-width: 1203px) {
	.fl-mosaicflow-col {
		width: 33.333% !important
	}
}
/* Footer */
.fl-page-footer-widgets h4, .fl-page-footer-widgets p, .fl-page-footer-widgets div {
	text-align: center
}
.fl-page-footer {
	border: none;
}
.fl-page-footer-container {
	padding-top: 0px;
}
.fl-page-footer-widgets {
	border: none;
}
.fl-page-footer-text {
	font-size: 16px
}
/* Posts */
.fl-module-content .fl-post-column{
	padding-bottom: 0px !important;
}
.fl-post-grid-image img {
  object-fit: cover;
	height: 200px !important;
}
/* Button Shaping */
.half-button-l {
	width: 50% !important;
	float: left;
}
.half-button-r {
	width: 50% !important;
	float: right;
}
/* Third Column Centering */
@media only screen and (min-width: 751px) and (max-width: 980px) {
	.third-column-center {
		margin-left: 25%;
	}
}
/* Contact Form */
input.wpcf7-submit {
	font-weight: 700;
	text-transform: uppercase !important;
	width: 100% !important;
	background-color: #4ba3b5 !important;
	border: none !important;
	padding: 12px 24px;
	color: white !important;
}
/* Products */
.fl-woocommerce-products a.button {
	width: 100%;
	background-color: #4ba3b5 !important;
	border: none !important;
	font-weight: 700 !important;
	color: white !important;
	text-transform: uppercase !important
}
a.checkout-button {
	background-color: #4ba3b5 !important;
	border: none !important;
	font-weight: 700 !important;
	color: white !important;
	text-transform: uppercase !important
}
nav.woocommerce-breadcrumb {
	display: none;
}
p.return-to-shop {
	display: none;
}
/* Timetables */
#timetable-container td,
#timetable-container tr, 
#timetable-container h2, #timetable-container a {
	font-family: "Quicksand",sans-serif !important;
}
#timetable-container a button {
	font-weight: 700 !important;
}
#timetable-container h2 {
	color: #4ba3b5;
	font-size: 1.7em !important;
}
/* Recaptcha */
div.grecaptcha-badge {
	display: none !important;
}
/* Sitemap */
.wsp-fl-builder-templates-title, .wsp-fl-builder-templates-list {
	display: none;
}
/* Contact form 7 */
.wpcf7
{	margin:10px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"],
.wpcf7 textarea
{margin-top:5px;margin-bottom:15px;}
label
{margin-top:5px;}

/*LIVE MUSIC NIGHT PAGES*/

.band-box {
    display: flex !important;
    background: #ffffff !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    align-items: stretch !important;
}

.band-box img {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    height: 140px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    display: block !important;
    border: none !important;
    background: none !important; /* Removes any background colors */
}

.band-text {
    padding: 15px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.band-text strong {
    display: block !important;
    color: #004a8f !important;
    font-size: 16px !important;
    margin-bottom: 5px !important;
}

.date-highlight {
    color: #d92128 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    display: block !important;
    margin-bottom: 2px !important;
}

/* Mobile: Image on top, text below */
@media (max-width: 480px) {
    .band-box { 
        flex-direction: column !important; 
    }
    .band-box img { 
        width: 100% !important; 
        max-width: 100% !important; 
        height: 200px !important; 
    }
}

/* Catering Category Container */
.catering-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 20px 0;
}

/* Menu Card Styling */
.catering-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    flex: 1 1 calc(50% - 25px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.catering-card:hover {
    transform: translateY(-5px);
}

/* Header using Main Blue and Accent Blue */
.catering-card-header {
    background: linear-gradient(135deg, #4ba3b5 0%, #3e909b 100%);
    color: #ffffff;
    padding: 25px;
    text-align: center;
}

.catering-card-header h3 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    letter-spacing: 1px;
}

.catering-card-body {
    padding: 20px;
    flex-grow: 1;
}

/* Pricing Tiers */
.catering-tier {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e1e1e1;
}

.catering-tier:last-child {
    border-bottom: none;
}

.tier-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #3e909b; /* Accent Blue */
    margin-bottom: 5px;
}

.tier-price {
    color: #B62026; /* Brand Red */
    font-size: 1.1em;
}

/* Item Lists */
.catering-items {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Brand Red Button */
.catering-btn {
    display: block;
    background-color: #B62026 !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none !important;
    margin: 20px;
    transition: opacity 0.3s ease;
}

.catering-btn:hover {
    opacity: 0.9;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .catering-card {
        flex: 1 1 100%;
    }
}

/* Container using CSS Grid */
.slc-card-container {
  display: grid;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
}
/* Desktop: Centers cards and limits them to 4 per line */
@media (min-width: 981px) {
  .slc-card-container {
    /* This tells the grid to make columns at least 250px wide, 
       but never more than 4 per row */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1200px; /* Adjust based on your site width */
    margin: 0 auto;   /* This centers the whole container */
    justify-content: center;
  }
}

/* Tablet & Mobile: Forced 2x2 Grid */
@media (max-width: 980px) {
  .slc-card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Tablet: 2 columns */
@media (min-width: 769px) and (max-width: 980px) {
  .slc-card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: Forced 2x2 Grid */
@media (max-width: 768px) {
  .slc-card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* Slightly tighter gap for small screens */
  }
}

/* Card Styling - Fixed to prevent "weird" stretching */
.slc-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  height: 100%; /* Ensures all cards in a row are same height */
}

.slc-card-image {
  width: 100%;
  height: 180px; /* Fixed height to keep everything uniform */
  object-fit: cover;
}

.slc-card-content {
  padding: 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slc-card-title {
  font-size: 1.3rem !important; /* Unified size to stop weird scaling */
  color: #4BA3B5;
  margin: 0 0 10px 0;
  font-weight: bold;
  line-height: 1.2;
}

.slc-btn {
  display: block;
  padding: 10px 10px;
  background-color: #B62127;
  color: #fff !important;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold;
  margin-top: auto; /* Pushes button to the bottom */
}

/* Mobile: Force 1 column for 3-card layouts */
@media (max-width: 768px) {
  .slc-3-cards {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile: Keep 2 columns for 4-card layouts */
@media (max-width: 768px) {
  .slc-4-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
}

/* Styling for the mobile burger menu button - v2 Centered */
@media (max-width: 767px) {
    /* 1. Target the list item container */
    .fl-page-nav .navbar-nav li.mobile-nav-button {
        padding: 12px 15px !important; /* Vertical spacing between other menu items */
        text-align: center;
        float: none !important; /* Ensures it doesn't lean to one side */
    }

    /* 2. Target the actual Red Button link */
    .fl-page-nav .navbar-nav li.mobile-nav-button > a {
        background-color: #b72026 !important; /* Stuart Line Red */
        color: #ffffff !important;
        
        /* Centering Logic */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        /* Padding & Sizing */
        padding: 14px 20px !important; /* Equal top/bottom padding */
        min-height: 48px; /* Standard touch target height */
        width: 90%; /* Keeps it from hitting the very edges of the screen */
        margin: 0 auto !important; /* Centers the button box itself */
        
        /* Text Styling */
        border-radius: 6px !important;
        font-weight: bold !important;
        text-transform: uppercase;
        font-size: 16px !important;
        line-height: 1 !important; /* Prevents text from drifting up or down */
        text-decoration: none !important;
        border: none !important;
    }

    /* 3. Tap State */
    .fl-page-nav .navbar-nav li.mobile-nav-button > a:active {
        background-color: #a01a1f !important;
        transform: scale(0.98); /* Slight "press" effect for feedback */
    }
}

/* Styling the menu descriptions */
.menu-desc {
    display: block;              /* Puts description on a new line */
    font-size: 11px !important;  /* Small and neat */
    color: #888888;              /* Subtle grey */
    font-weight: 400 !important; /* Non-bold to contrast the title */
    line-height: 1.2;
    text-transform: none;        /* Prevents uppercase if your menu is all caps */
    margin-top: 4px;             /* Space between title and description */
    transition: color 0.3s ease;
}

/* Change description color to white/lighter when hovering over the menu item */
li:hover > a .menu-desc {
    color: #ffffff;
}
/* Meta Container Styling */
.menu-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 11px !important;
    color: #888;
    text-transform: none;
    font-weight: 400;
}

/* Icon Sizing */
.m-icon {
    width: 13px;
    height: 13px;
    vertical-align: middle;
    fill: currentColor; /* Matches the text color automatically */
}

/* Spacer Pipe (|) */
.m-spacer {
    color: #ddd;
    font-size: 10px;
}

/* Hover Effect: Makes icons and text go white when the menu link is hovered */
.fl-page-nav .navbar-nav li:hover > a .menu-meta,
.fl-page-nav .navbar-nav li:hover > a .menu-desc {
    color: #ffffff !important;
}

