/*

Theme Name: Halloween Theme

Theme URI: http://thetrafficexchangescript.com/

Description: A Halloween theme for LFMTE traffic exchanges.

Version: 3.0

Author: Josh Abbott

*/


@charset "utf-8";


/* Main font settings */

body {
	font-size: 16px;
	font-weight: 400;
	color: #333333;
	background: linear-gradient(135deg, #f5e6ff 0%, #e6d9f5 50%, #f5e6ff 100%);
	background-attachment: fixed;
	min-height: 100vh;
}


/* Main styles for the top level of the main menu */

.lfm_menu_bar {
	background: linear-gradient(180deg, #2d1a52 0%, #1f0d3d 100%);
	padding: 0 0 45px;
	margin-bottom: 20px; /* If your menu bar is overlapping the page content, increase the margin here */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	border-bottom: 3px solid #ff8c00;
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the top level navigation */
	.lfm_menu_bar {
		padding-bottom: 0;
		margin-bottom: 20px;
	}
}


/* Site logo styles */

.lfm_menu_logo {
	max-height: 35px;
}
@media (min-width: 992px) {
	.lfm_menu_logo {
		margin-right: 20px;
	}
}


.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
	/* Sets the navigation tabs for the top level */
	font-size: 15px;
	color: #ffa500;
	font-weight: 500;
	text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
	/* Changes the colors when a tab is opened */
	color: #1a0a3e;
	background: linear-gradient(180deg, #ffa500 0%, #ff8c00 100%);
	text-shadow: none;
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
	/* Hover style when a tab is not opened */
	background-color: rgba(255, 140, 0, 0.2);
	color: #ffb84d;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
	/* Hover style when a tab is opened */
	background: linear-gradient(180deg, #ffb84d 0%, #ffa500 100%);
}

@media (min-width: 992px) {
	/* Desktop view settings for the top level navigation tabs */
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
		margin: 0px 3px;
		padding: 6px 15px;
		border: 1px solid rgba(255,255,255,0);
		border-radius: 5px;
		position: relative;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
		border: 1px solid #ff8c00;
	}

	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
		/* Fills in the gap between an opened tab and the bottom of the bar */
		content: "";
		background: linear-gradient(180deg, #ffa500 0%, #ff8c00 100%);
		width: calc(100% + 2px);
		height: 14px;
		position: absolute;
		bottom: -10px;
		left: -1px;
		border: 1px solid #ff8c00;
		border-top: none;
	}
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the top level navigation tabs */
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
		padding: 8px 15px;
		text-align: left;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link {
		/* Returns to the original colors when a tab is closed in mobile */
		color: #ffa500;
		background-color: transparent;
	}

	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
		/* Returns to the original hover effect when closed in mobile  */
		color: #ffb84d;
		background-color: rgba(255, 140, 0, 0.2);
	}
	
	/* Adds an arrow in mobile view */
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:after {
		content: "";
		border-top: 0.3em solid;
		border-right: 0.3em solid transparent;
		border-bottom: 0;
		border-left: 0.3em solid transparent;
		color: #ffa500;
		transform: rotate(-90deg);
		position: absolute;
		right: 1.25rem;
		transition: all 0.1s ease-out;
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
		color: #1a0a3e;
		transform: rotate(0deg);
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
		color: #ffa500;
		transform: rotate(-90deg);
	}
}


/* Main styles for the second level of the main menu */

.lfm_menu_tab {
	background: linear-gradient(180deg, #ffa500 0%, #ff8c00 100%);
	border: 1px solid #ff8c00;
	position: absolute;
	display: none;
	left: 0;
	top: 100%;
	z-index: 999;
	width: 100%;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

li.lfm_tab_opened .lfm_menu_tab {
	display: flex;
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the second level navigation */
	.lfm_menu_tab {
		background: linear-gradient(180deg, #ffa500 0%, #ff8c00 100%);
		position: relative;
		flex-direction: column;
		top: 0;
		padding: 5px 0;
	}
	li.lfm_tab_closed .lfm_menu_tab {
		display: none;
	}
}


.lfm_menu_tab > li > a {
	/* Sets the navigation links for the second level */
	font-size: 15px;
	padding: 0 20px;
	line-height: 45px;
	color: #1a0a3e;
	font-weight: 500;
	text-decoration: none;
	display: block;
}
.lfm_menu_tab > li > a:hover {
	color: #ffffff;
	background-color: rgba(26, 10, 62, 0.2);
}

.lfm_menu_tab .dropdown-menu a {
	/* Sets the navigation links for the third level */
	font-size: 15px;
	padding: 0 20px;
	line-height: 32px;
	color: #1a0a3e;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	display: block;
}
.lfm_menu_tab .dropdown-menu li:hover {
	background-color: rgba(26, 10, 62, 0.1);
}
.lfm_menu_tab .dropdown-menu li:hover a {
	color: #ffffff;
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the second level navigation links */
	.lfm_menu_tab > li > a {
		padding-left: 40px;
		line-height: 36px;
		width: 100%;
	}
	
	/* Mobile view settings for the third level navigation links */
	.lfm_menu_tab .dropdown-menu a {
		padding-left: 50px;
	}
}


/* Styles for the footer */

.lfm_footer {
	background-color: #001330;
}


/* Icon settings */

.far, .fas {
	margin-right:3px;
}

.feedicon {
	color:#3097D1;
	font-size:20px;
	margin-right:5px;
}


/* Profile picture sizes */

.profilepic_small {
	width:40px;
	height:40px;
}

.profilepic_med {
	width:75px;
	height:75px;
}

.profilepic_large {
	width:200px;
	height:200px;
}


/* Various styles */

.buttonlink {
	/* This class defines <a> tag links that look like buttons */
	cursor: pointer;
	background-color:#1468e5;
	border-radius:2px;
	border:1px solid #002175;
	display:inline-block;
	cursor:pointer;
	color:#FFFFFF;
	font-family:arial;
	font-size:18px;
	font-weight:500;
	padding:4px 7px;
	margin:2px 1px 2px 1px;
	text-decoration:none;
}
.buttonlink:hover {
	/* This controls the button links when you hover over them */
	color:#FFFFFF;
	background-color:#3385FF;
	text-decoration:none;
}


.infobar {
	/* This class defines sections that span the entire page width */
	width:100%;
	padding-top: 15px;
	padding-bottom: 15px;
	color:#FFFFFF;
	background-color:#555555;
}
.infobar h2 {
	color:#FFFFFF;
}


.vcenter {
	/* This is a class that can be used in Bootstrap rows to vertically center the content */
	display: flex;
	align-items: center;
}


/* The next 3 sections control various text styles used throughout the LFM Members Area */
.lfm_title {
	font-family: "Arial"; color:#1a0a3e; font-size:32px; font-weight: 700;
}

.lfm_descr {
	font-family: "Arial"; color:#333333; font-size:16px;
}

.lfm_descr_bold {
	font-family: "Arial"; color:#1a0a3e; font-size:16px;
	font-weight:700;
}

/* Override any white text in content areas */
body p, body div, body span, body td, body th, body li {
	color: #333333;
}

/* ===== HALLOWEEN THEME STYLES ===== */

/* Custom Halloween Header Banner */
.custom-header-banner {
	position: relative;
	padding: 40px 0 30px;
	text-align: center;
	background: linear-gradient(180deg, #1a0a3e 0%, #2b1654 100%);
	overflow: hidden;
}

.header-content {
	position: relative;
	z-index: 2;
}

.halloween-title {
	font-size: 48px;
	font-weight: 700;
	color: #ffa500;
	text-shadow: 0 0 20px rgba(255, 140, 0, 0.8), 0 0 40px rgba(255, 140, 0, 0.5);
	margin: 0;
	animation: spookyGlow 3s ease-in-out infinite;
}

.halloween-subtitle {
	font-size: 28px;
	color: #ffb84d;
	margin-top: 10px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Floating Pumpkins */
.pumpkin {
	position: absolute;
	font-size: 40px;
	animation: float 4s ease-in-out infinite;
	opacity: 0.8;
	filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.6));
}

.pumpkin-1 {
	left: 10%;
	top: 20%;
	animation-delay: 0s;
}

.pumpkin-2 {
	right: 15%;
	top: 15%;
	animation-delay: 1s;
}

.pumpkin-3 {
	left: 5%;
	bottom: 30%;
	animation-delay: 2s;
	font-size: 35px;
}

.pumpkin-4 {
	right: 8%;
	bottom: 25%;
	animation-delay: 1.5s;
	font-size: 35px;
}

/* Floating Ghosts */
.ghost {
	position: absolute;
	font-size: 45px;
	animation: ghostFloat 3.5s ease-in-out infinite;
	opacity: 0.7;
	filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

.ghost-1 {
	left: 20%;
	top: 10%;
	animation-delay: 0.5s;
}

.ghost-2 {
	right: 25%;
	top: 25%;
	animation-delay: 1.5s;
}

.ghost-3 {
	left: 15%;
	bottom: 20%;
	animation-delay: 2.5s;
	font-size: 40px;
}

.ghost-4 {
	right: 20%;
	bottom: 35%;
	animation-delay: 0.8s;
	font-size: 38px;
}

/* Spooky Stars/Sparkles */
.sparkle {
	position: absolute;
	color: #ffa500;
	font-size: 20px;
	animation: twinkle 2s ease-in-out infinite;
}

.sparkle-1 { left: 30%; top: 30%; animation-delay: 0s; }
.sparkle-2 { right: 35%; top: 40%; animation-delay: 0.7s; }
.sparkle-3 { left: 45%; bottom: 40%; animation-delay: 1.4s; }
.sparkle-4 { right: 45%; bottom: 50%; animation-delay: 0.3s; }
.sparkle-5 { left: 68%; top: 20%; animation-delay: 1s; }
.sparkle-6 { right: 60%; top: 35%; animation-delay: 1.8s; }

/* Halloween Animations */
@keyframes spookyGlow {
	0%, 100% {
		text-shadow: 0 0 20px rgba(255, 140, 0, 0.8), 0 0 40px rgba(255, 140, 0, 0.5);
	}
	50% {
		text-shadow: 0 0 30px rgba(255, 140, 0, 1), 0 0 60px rgba(255, 140, 0, 0.8), 0 0 80px rgba(255, 140, 0, 0.6);
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
	}
	25% {
		transform: translateY(-15px) rotate(5deg);
	}
	50% {
		transform: translateY(-25px) rotate(0deg);
	}
	75% {
		transform: translateY(-15px) rotate(-5deg);
	}
}

@keyframes ghostFloat {
	0%, 100% {
		transform: translateY(0px) translateX(0px);
		opacity: 0.7;
	}
	33% {
		transform: translateY(-20px) translateX(10px);
		opacity: 0.9;
	}
	66% {
		transform: translateY(-10px) translateX(-10px);
		opacity: 0.6;
	}
}

@keyframes twinkle {
	0%, 100% {
		opacity: 0.3;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.5);
	}
}

/* Content Area Adjustments */
.container {
	background-color: rgba(255, 255, 255, 0.98);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	border: 2px solid rgba(255, 140, 0, 0.2);
}

/* Override text colors for readability in content areas */
.container h1, .container h2, .container h3,
.container h4, .container h5, .container h6 {
	color: #1a0a3e;
	font-weight: 700;
}

.container p, .container li, .container span,
.container div:not(.custom-header-banner), .container a {
	color: #333333;
}

/* Ensure all text elements are dark colored */
.container * {
	color: #333333;
}

.container h1, .container h2, .container h3,
.container h4, .container h5, .container h6,
.container strong, .container b {
	color: #1a0a3e !important;
}

/* Ensure strong text visibility */
strong, b {
	color: #1a0a3e;
	font-weight: 700;
}

/* Improve section backgrounds for better consistency */
.infobar {
	background: linear-gradient(135deg, #e6d9f5 0%, #f5e6ff 50%, #e6d9f5 100%);
	border-top: 2px solid #ff8c00;
	border-bottom: 2px solid #ff8c00;
	color: #333333;
}

.infobar h2 {
	color: #1a0a3e;
}

/* Button Styles */
.btn-primary {
	background: linear-gradient(180deg, #ffa500 0%, #ff8c00 100%);
	border-color: #ff8c00;
	color: #1a0a3e;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
	background: linear-gradient(180deg, #ffb84d 0%, #ffa500 100%);
	border-color: #ffa500;
	color: #1a0a3e;
	box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

/* Additional Button Styles */
.btn-success {
	background: linear-gradient(180deg, #28a745 0%, #218838 100%);
	border-color: #218838;
}

.btn-success:hover {
	background: linear-gradient(180deg, #34ce57 0%, #28a745 100%);
	border-color: #28a745;
}

.btn-warning {
	background: linear-gradient(180deg, #ffc107 0%, #e0a800 100%);
	border-color: #e0a800;
	color: #1a0a3e;
	font-weight: 600;
}

.btn-warning:hover {
	background: linear-gradient(180deg, #ffd454 0%, #ffc107 100%);
	border-color: #ffc107;
	color: #1a0a3e;
}

/* Card Styles */
.card {
	background-color: rgba(255, 255, 255, 0.95);
	border: 2px solid #ffa500;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
	background: linear-gradient(180deg, #2d1a52 0%, #1f0d3d 100%);
	color: #ffa500;
	border-bottom: 2px solid #ffa500;
	font-weight: 600;
}

/* Alert Styles */
.alert {
	border-radius: 8px;
	border-width: 2px;
}

.alert-info {
	background-color: rgba(23, 162, 184, 0.1);
	border-color: #17a2b8;
	color: #0c5460;
}

.alert-success {
	background-color: rgba(40, 167, 69, 0.1);
	border-color: #28a745;
	color: #155724;
}

.alert-warning {
	background-color: rgba(255, 193, 7, 0.1);
	border-color: #ffc107;
	color: #856404;
}

.alert-danger {
	background-color: rgba(220, 53, 69, 0.1);
	border-color: #dc3545;
	color: #721c24;
}

/* Link Styles */
a {
	color: #ff8c00;
	transition: all 0.3s ease;
}

a:hover {
	color: #ffa500;
	text-decoration: none;
}

/* Table Styles */
.table {
	background-color: rgba(255, 255, 255, 0.95);
	color: #333333;
}

.table thead th {
	background: linear-gradient(180deg, #2d1a52 0%, #1f0d3d 100%);
	color: #ffa500 !important;
	border-color: #ff8c00;
}

.table tbody td, .table tbody th {
	color: #333333 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(255, 165, 0, 0.05);
}

/* Form Styles */
.form-control:focus {
	border-color: #ffa500;
	box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* Badge Styles */
.badge-primary {
	background-color: #ff8c00;
}

.badge-success {
	background-color: #28a745;
}

.badge-warning {
	background-color: #ffc107;
	color: #1a0a3e;
}

/* Heading styles with Halloween flair */
h1, h2, h3 {
	color: #1a0a3e !important;
	font-weight: 700;
}

h4, h5, h6 {
	color: #2b1654 !important;
	font-weight: 600;
}

/* Ensure page headings maintain readability */
.container h1 {
	text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.1);
	color: #1a0a3e !important;
}

/* Ensure all general text is dark */
p, div:not(.custom-header-banner):not(.pumpkin):not(.ghost):not(.sparkle):not(.halloween-title):not(.halloween-subtitle),
span:not(.custom-header-banner *), li, td, th, label {
	color: #333333 !important;
}

/* Row backgrounds for better visual separation */
.row {
	margin-bottom: 20px;
}

/* Comprehensive text color override - catch all remaining elements */
body *:not(.custom-header-banner):not(.custom-header-banner *):not(.lfm_menu_bar):not(.lfm_menu_bar *) {
	color: #333333;
}

/* Keep header elements styled correctly */
.custom-header-banner, .custom-header-banner * {
	/* Header keeps its own styling */
}

.halloween-title {
	color: #ffa500 !important;
}

.halloween-subtitle {
	color: #ffb84d !important;
}

/* Navigation keeps orange text */
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
	color: #ffa500 !important;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
	color: #1a0a3e !important;
}

.lfm_menu_tab > li > a,
.lfm_menu_tab .dropdown-menu a {
	color: #1a0a3e !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
	.halloween-title {
		font-size: 32px;
	}

	.halloween-subtitle {
		font-size: 18px;
	}

	.pumpkin, .ghost {
		font-size: 30px;
	}

	.sparkle {
		font-size: 15px;
	}

	.custom-header-banner {
		padding: 30px 0 20px;
	}
}