/*

Theme Name: Ad Sidebar

Theme URI: http://thetrafficexchangescript.com/

Description: A custom sidebar theme for MyListLeads traffic exchange.

Version: 3.0

Author: Josh Abbott

*/


@charset "utf-8";

/* CSS Variables for MyListLeads Brand Colors */
:root {
	--primary-blue: #0036a8;
	--secondary-blue: #004fd4;
	--dark-blue: #001744;
	--light-blue: #4da6ff;
	--accent-orange: #f5a623;
	--text-light: #ffffff;
	--text-dark: #212529;
	--menu-bg: linear-gradient(135deg, #0036a8 0%, #001744 100%);
}

/* Main font settings */

body {
	font-size: 16px;
	font-weight: 400;
	color: var(--text-light);
	background: linear-gradient(180deg, #001744 0%, #002d70 50%, #001744 100%);
	background-attachment: fixed;
	min-height: 100vh;
}


/* Main page structure */

.lfm_outerdiv {
	display: flex;
	width: 100%;
	align-items: stretch;
}
.main {
	width: 100%;
}



/* Site logo styles */

.lfm_menu_logo {
	max-height: 35px;
	margin: 0.5rem 1.2rem 0.3rem 1.2rem;
}


/* Styles for the top bar */

.lfm_topbar {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 50%, #0036a8 100%);
	color: var(--text-light);
	margin-bottom: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


/* Styles for the slidebar navigation */

.lfm_slidebar {
	min-width: 225px;
	max-width: 225px;
	min-height: 100vh;
	transition: all 0.4s ease-in-out;
	background: linear-gradient(180deg, #001744 0%, #002d70 100%);
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

/* Desktop View Settings - Expand the slidebar by default */
@media (min-width: 890px) {
	.lfm_slidebar {
		margin-left: 0px;
	}
	.lfm_slidebar.toggled {
		margin-left: -225px;
	}
}

/* Mobile View Settings - Collapse the slidebar by default */
@media (max-width: 889px) {
	.lfm_slidebar {
		margin-left: -225px;
	}
	.lfm_slidebar.toggled {
		margin-left: 0px;
	}
}

.lfm_slidebar_toggleswitch {
	cursor: pointer;
	font-size: 24px;
	color: var(--text-light);
	padding-right: 10px;
	transition: color 0.3s ease;
}
.lfm_slidebar_toggleswitch:hover {
	color: var(--accent-orange);
}

.lfm_slidebar_mainmenu {
	list-style: none;
	padding-left: 0;
	overflow: auto;
}


/* This sets the style of the slidebar menu items */
.lfm_slidebar_mainmenu li > a {
	color: var(--text-light);
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-bottom: 1px solid rgba(0, 23, 68, 0.8);
	text-decoration: none;
	display: block;
	margin: 0px;
	padding: 0.5rem 1.1rem 0.5rem 1.1rem;
	font-size: 16px;
	position: relative;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s ease;
}

/* This sets the colors of the slidebar menu links when you hover over them */
.lfm_slidebar_mainmenu li > a.active,
.lfm_slidebar_mainmenu li > a:hover {
	color: var(--accent-orange);
	background: linear-gradient(90deg, #004fd4 0%, #0056e8 100%);
}



/* Styles for the footer */

.lfm_footer {
	background: linear-gradient(180deg, #001744 0%, #000a1f 100%);
}


/* Icon settings */

.far, .fas {
	margin-right:3px;
}

.feedicon {
	color: var(--light-blue);
	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: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-radius: 4px;
	border: 2px solid #004fd4;
	display: inline-block;
	cursor: pointer;
	color: var(--text-light);
	font-family: arial;
	font-size: 18px;
	font-weight: 500;
	padding: 4px 12px;
	margin: 2px 1px 2px 1px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.buttonlink:hover {
	/* This controls the button links when you hover over them */
	color: var(--text-light);
	background: linear-gradient(90deg, #004fd4 0%, #0066ff 100%);
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 79, 212, 0.4);
}


.infobar {
	/* This class defines sections that span the entire page width */
	width: 100%;
	padding-top: 15px;
	padding-bottom: 15px;
	color: var(--text-light);
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
}
.infobar h2 {
	color: var(--text-light);
}


.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: var(--text-light);
	font-size: 32px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.lfm_descr {
	font-family: "Arial";
	color: var(--text-light);
	font-size: 16px;
}

.lfm_descr_bold {
	font-family: "Arial";
	color: var(--text-light);
	font-size: 16px;
	font-weight: 700;
}


/* Custom Header Banner Styles */
.custom-header-banner {
	width: 100%;
	text-align: center;
	padding: 0;
	margin-bottom: 15px;
}

.custom-header-banner img {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: block;
}

/* Promo Code Section */
.promo-code-banner {
	background: linear-gradient(90deg, var(--accent-orange) 0%, #ff8c00 50%, var(--accent-orange) 100%);
	color: #000000;
	padding: 12px 20px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.promo-code-banner .promo-code {
	background: #001744;
	color: #ffffff;
	padding: 3px 12px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 20px;
	letter-spacing: 2px;
	margin: 0 8px;
	display: inline-block;
}

/* Sidebar Banner Ads Section */
.sidebar-banners {
	padding: 15px;
	text-align: center;
	background: rgba(0, 54, 168, 0.3);
	border-radius: 8px;
	margin: 15px;
}

.sidebar-banners table {
	margin: 0 auto;
}

.sidebar-banners img {
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-banners img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Override Bootstrap button styles for MyListLeads branding */
.btn-success {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-color: #004fd4;
	color: var(--text-light);
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-success:hover {
	background: linear-gradient(90deg, #004fd4 0%, #0066ff 100%);
	border-color: #0066ff;
	color: var(--text-light);
	box-shadow: 0 2px 10px rgba(0, 79, 212, 0.5);
}

.btn-primary {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-color: #004fd4;
}

.btn-primary:hover {
	background: linear-gradient(90deg, #004fd4 0%, #0066ff 100%);
	border-color: #0066ff;
}

/* Card and container styles for blue theme */
.card {
	background: rgba(0, 45, 112, 0.8);
	border: 1px solid rgba(0, 79, 212, 0.5);
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-header {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-bottom: 1px solid rgba(0, 79, 212, 0.5);
	color: var(--text-light);
}

.card-body {
	color: var(--text-light);
}

/* Table styles for dark theme */
.table {
	color: var(--text-light);
}

.table thead th {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	color: var(--text-light);
	border-color: rgba(0, 79, 212, 0.5);
}

.table td, .table th {
	border-color: rgba(0, 79, 212, 0.3);
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(0, 45, 112, 0.5);
}

.table-hover tbody tr:hover {
	background-color: rgba(0, 79, 212, 0.3);
	color: var(--text-light);
}

/* Form styles */
.form-control {
	background-color: rgba(255, 255, 255, 0.9);
	border-color: #004fd4;
	color: var(--text-dark);
}

.form-control:focus {
	border-color: var(--accent-orange);
	box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.25);
}

/* Alert styles */
.alert-info {
	background: rgba(0, 79, 212, 0.3);
	border-color: #004fd4;
	color: var(--text-light);
}

.alert-success {
	background: rgba(40, 167, 69, 0.3);
	border-color: #28a745;
	color: var(--text-light);
}

.alert-warning {
	background: rgba(245, 166, 35, 0.3);
	border-color: var(--accent-orange);
	color: var(--text-light);
}

.alert-danger {
	background: rgba(220, 53, 69, 0.3);
	border-color: #dc3545;
	color: var(--text-light);
}

/* Link colors */
a {
	color: var(--light-blue);
}

a:hover {
	color: var(--accent-orange);
}

/* Content area styles */
.content {
	color: var(--text-light);
	background: transparent;
}

/* Main content container styling */
.main {
	background: transparent;
}

.container-fluid {
	background: transparent;
}

/* Override any white backgrounds in content areas */
.main .container,
.main .container-fluid,
.main .row,
.main section,
.content .container,
.content .container-fluid {
	background: transparent;
}

/* Ensure all divs in main content area are transparent by default */
.main > div:not(.lfm_topbar):not(.custom-header-banner):not(.promo-code-banner) {
	background: transparent;
}

/* Ensure text is readable on dark background */
h1, h2, h3, h4, h5, h6 {
	color: var(--text-light);
}

p {
	color: var(--text-light);
}

/* Nav pills and tabs */
.nav-pills .nav-link.active {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
}

.nav-tabs .nav-link.active {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-color: #004fd4;
	color: var(--text-light);
}

/* Pagination */
.page-link {
	background: rgba(0, 45, 112, 0.8);
	border-color: #004fd4;
	color: var(--light-blue);
}

.page-link:hover {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-color: #0066ff;
	color: var(--text-light);
}

.page-item.active .page-link {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-color: #004fd4;
}

/* Breadcrumb */
.breadcrumb {
	background: rgba(0, 45, 112, 0.5);
}

.breadcrumb-item a {
	color: var(--light-blue);
}

.breadcrumb-item.active {
	color: var(--text-light);
}

/* Modal styles */
.modal-content {
	background: linear-gradient(180deg, #002d70 0%, #001744 100%);
	border: 1px solid #004fd4;
}

.modal-header {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-bottom: 1px solid #004fd4;
	color: var(--text-light);
}

.modal-body {
	color: var(--text-light);
}

.modal-footer {
	border-top: 1px solid rgba(0, 79, 212, 0.5);
}

/* Close button */
.close {
	color: var(--text-light);
	text-shadow: none;
}

.close:hover {
	color: var(--accent-orange);
}

/* Dropdown menus */
.dropdown-menu {
	background: linear-gradient(180deg, #002d70 0%, #001744 100%);
	border: 1px solid #004fd4;
}

.dropdown-item {
	color: var(--text-light);
}

.dropdown-item:hover {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	color: var(--accent-orange);
}

/* List group */
.list-group-item {
	background: rgba(0, 45, 112, 0.5);
	border-color: rgba(0, 79, 212, 0.5);
	color: var(--text-light);
}

.list-group-item:hover {
	background: rgba(0, 79, 212, 0.3);
}

/* Badge styles */
.badge-primary {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
}

.badge-info {
	background: var(--light-blue);
}

.badge-warning {
	background: var(--accent-orange);
	color: #000;
}

/* Homepage section overrides for dark theme consistency */
section,
.section,
.hero,
.hero-section,
.feature-section,
.features,
.cta,
.cta-section {
	background: transparent !important;
	color: var(--text-light);
}

/* Light section backgrounds converted to semi-transparent blue */
.bg-light,
.bg-white,
section.bg-light,
section.bg-white,
div.bg-light,
div.bg-white {
	background: rgba(0, 45, 112, 0.4) !important;
	color: var(--text-light) !important;
}

/* Gray sections converted to darker blue */
.bg-gray,
.bg-secondary,
section.bg-gray,
section.bg-secondary {
	background: rgba(0, 23, 68, 0.8) !important;
	color: var(--text-light) !important;
}

/* Ensure images in content area have proper styling */
.content img,
.main img {
	max-width: 100%;
	height: auto;
}

/* Fix any inline white backgrounds */
[style*="background: white"],
[style*="background-color: white"],
[style*="background:#fff"],
[style*="background-color:#fff"],
[style*="background: #fff"],
[style*="background-color: #fff"] {
	background: rgba(0, 45, 112, 0.4) !important;
}

/* Jumbotron and hero styling */
.jumbotron {
	background: linear-gradient(135deg, rgba(0, 54, 168, 0.6) 0%, rgba(0, 45, 112, 0.8) 100%);
	color: var(--text-light);
	border-radius: 8px;
}

/* Well and panel styling */
.well,
.panel {
	background: rgba(0, 45, 112, 0.5);
	border: 1px solid rgba(0, 79, 212, 0.5);
	color: var(--text-light);
}

.panel-heading {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	color: var(--text-light);
}

/* Input group styling */
.input-group-text {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	border-color: #004fd4;
	color: var(--text-light);
}

/* Ensure select elements are readable */
select.form-control {
	background-color: rgba(255, 255, 255, 0.95);
	color: var(--text-dark);
}

/* Custom utility classes for the theme */
.text-muted {
	color: rgba(255, 255, 255, 0.7) !important;
}

.border {
	border-color: rgba(0, 79, 212, 0.5) !important;
}

/* HR styling */
hr {
	border-color: rgba(0, 79, 212, 0.3);
}

/* Blockquote styling */
blockquote {
	border-left: 4px solid var(--accent-orange);
	padding-left: 15px;
	color: var(--text-light);
}

/* Code styling */
code {
	background: rgba(0, 45, 112, 0.5);
	color: var(--light-blue);
	padding: 2px 6px;
	border-radius: 3px;
}

pre {
	background: rgba(0, 23, 68, 0.8);
	color: var(--text-light);
	padding: 15px;
	border-radius: 8px;
	border: 1px solid rgba(0, 79, 212, 0.5);
}

/* Progress bar styling */
.progress {
	background: rgba(0, 23, 68, 0.8);
}

.progress-bar {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
}

/* Tooltip and popover styling */
.tooltip-inner {
	background: linear-gradient(180deg, #002d70 0%, #001744 100%);
}

.popover {
	background: linear-gradient(180deg, #002d70 0%, #001744 100%);
	border-color: #004fd4;
}

.popover-header {
	background: linear-gradient(90deg, #0036a8 0%, #004fd4 100%);
	color: var(--text-light);
}

.popover-body {
	color: var(--text-light);
}
