/*

Theme Name: SWATTraffic2025

Theme URI: http://thetrafficexchangescript.com/

Description: A sidebar 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: #ffffff;
	background: linear-gradient(135deg, #0a1929 0%, #082759 50%, #0a1929 100%);
	background-attachment: fixed;
}


/* 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(180deg, #000000 0%, #082759 100%);
	color: #FFFFFF;
	margin-bottom: 0;
	border-bottom: 3px solid #FFD700;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	padding: 0.75rem 1rem;
}

.lfm_topbar .btn-success {
	background: linear-gradient(135deg, #082759 0%, #0a3d7a 100%);
	border: 2px solid #FFD700;
	color: #FFFFFF;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 0.5rem 1.5rem;
}

.lfm_topbar .btn-success:hover {
	background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
	border-color: #FFFFFF;
	color: #082759;
	transform: translateY(-2px);
}


/* 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, #000000 0%, #082759 100%);
	border-right: 2px solid #FFD700;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

/* 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: #FFD700;
	padding-right: 10px;
	transition: all 0.3s ease;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.lfm_slidebar_toggleswitch:hover {
	color: #FFF;
	text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.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: #FFFFFF;
	background: linear-gradient(90deg, #082759 0%, #0a3d7a 100%);
	border-bottom: 1px solid #FFD700;
	text-decoration: none;
	display: block;
	margin: 0px;
	padding: 0.5rem 1.1rem 0.5rem 1.1rem;
	font-size: 16px;
	position: relative;
	font-weight: 500;
	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: #FFD700;
	background: linear-gradient(90deg, #0a3d7a 0%, #1a5daa 100%);
	border-left: 4px solid #FFD700;
	padding-left: calc(1.1rem - 4px);
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}



/* Custom SWAT Header Banner Styles */

.custom-header-banner {
	width: 100%;
	padding: 15px;
	background: #000000;
	position: relative;
	margin-bottom: 10px;
}

.header-content {
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.swat-header-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	border: 9px solid #FFD700;
	box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

/* Styles for the footer */

.lfm_footer {
	background: linear-gradient(180deg, #082759 0%, #000000 100%);
	border-top: 3px solid #FFD700;
}


/* 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: linear-gradient(135deg, #082759 0%, #0a3d7a 100%);
	border-radius:3px;
	border:2px solid #FFD700;
	display:inline-block;
	cursor:pointer;
	color:#FFFFFF;
	font-family:arial;
	font-size:18px;
	font-weight:600;
	padding:6px 12px;
	margin:2px 1px 2px 1px;
	text-decoration:none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.buttonlink:hover {
	/* This controls the button links when you hover over them */
	color:#FFD700;
	background: linear-gradient(135deg, #0a3d7a 0%, #1a5daa 100%);
	text-decoration:none;
	box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
	transform: translateY(-2px);
}


.infobar {
	/* This class defines sections that span the entire page width */
	width:100%;
	padding-top: 15px;
	padding-bottom: 15px;
	color:#FFFFFF;
	background: linear-gradient(90deg, #082759 0%, #0a3d7a 100%);
	border-top: 2px solid #FFD700;
	border-bottom: 2px solid #FFD700;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.infobar h2 {
	color:#FFD700;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}


.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:#333333; font-size:32px;
}

.lfm_descr {
	font-family: "Arial"; color:#111111; font-size:16px;
}

.lfm_descr_bold {
	font-family: "Arial"; color:#000000; font-size:16px;
	font-weight:700;
}


/* SWAT Theme Enhancements */

/* Content area styling */
.content {
	background: rgb(255, 255, 255);
	min-height: calc(100vh - 200px);
	padding: 20px;
	border-radius: 5px;
	margin: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Card styling for SWAT theme */
.card {
	border: 2px solid #082759;
	box-shadow: 0 2px 8px rgba(8, 39, 89, 0.3);
	transition: all 0.3s ease;
}

.card:hover {
	box-shadow: 0 4px 15px rgba(8, 39, 89, 0.5);
	transform: translateY(-2px);
}

.card-header {
	background: linear-gradient(90deg, #082759 0%, #0a3d7a 100%);
	color: #FFFFFF;
	border-bottom: 2px solid #FFD700;
	font-weight: 600;
}

/* Bootstrap button overrides for SWAT theme */
.btn-primary {
	background: linear-gradient(135deg, #082759 0%, #0a3d7a 100%);
	border: 2px solid #FFD700;
	color: #FFFFFF;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background: linear-gradient(135deg, #0a3d7a 0%, #1a5daa 100%);
	border-color: #FFD700;
	color: #FFD700;
	box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.btn-success {
	background: linear-gradient(135deg, #082759 0%, #0a3d7a 100%);
	border: 2px solid #FFD700;
	color: #FFFFFF;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
	background: linear-gradient(135deg, #0a3d7a 0%, #1a5daa 100%);
	border-color: #FFD700;
	color: #FFD700;
	box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* Table styling */
.table {
	background: #FFFFFF;
}

.table thead th {
	background: linear-gradient(90deg, #082759 0%, #0a3d7a 100%);
	color: #FFFFFF;
	border-color: #FFD700;
	font-weight: 600;
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(8, 39, 89, 0.05);
}

/* Alert styling */
.alert-info {
	background: linear-gradient(135deg, rgba(8, 39, 89, 0.1) 0%, rgba(10, 61, 122, 0.1) 100%);
	border-left: 4px solid #082759;
	color: #082759;
}

.alert-warning {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
	border-left: 4px solid #FFD700;
	color: #856404;
}

/* Badge styling */
.badge-primary {
	background: linear-gradient(135deg, #082759 0%, #0a3d7a 100%);
	border: 1px solid #FFD700;
}

.badge-warning {
	background: #FFD700;
	color: #000000;
	font-weight: 700;
}

/* Mobile responsiveness for header */
@media (max-width: 768px) {
	.swat-header-image {
		border-width: 1px;
	}

	.custom-header-banner {
		padding: 3px;
	}

	.content {
		margin: 5px;
		padding: 10px;
	}
}

/* Additional tactical theme elements */
.main {
	background: rgba(0, 0, 0, 0.3);
}

/* Link styling */
a {
	color: #2672eb;
	transition: all 0.3s ease;
}

a:hover {
	color: #0a3d7a;
	text-decoration: none;
}

/* Panel/section headers */
h1, h2, h3, h4, h5, h6 {
	color: #5c95f0;
	font-weight: 700;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Dark sections headings override */
.infobar h1,
.infobar h2,
.infobar h3,
.infobar h4,
.infobar h5,
.infobar h6 {
	color: #FFD700;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Forms styling */
.form-control:focus {
	border-color: #FFD700;
	box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Pagination styling */
.pagination .page-link {
	color: #082759;
	border-color: #082759;
}

.pagination .page-item.active .page-link {
	background: linear-gradient(135deg, #082759 0%, #0a3d7a 100%);
	border-color: #FFD700;
	color: #FFFFFF;
}

.pagination .page-link:hover {
	background-color: rgba(8, 39, 89, 0.1);
	border-color: #FFD700;
}
/* Homepage-only: tighten footer spacing and remove trailing gap */
body.home .lfm_footer { padding-top: 0.5rem !important; padding-bottom: 0.75rem !important; margin-top: 0 !important; }
body.home .lfm_footer .container { padding-top: 0 !important; padding-bottom: 0 !important; }
body.home .main { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body.home .main > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
/* Homepage: fully remove any trailing gap above the footer */
body.home main.content,
body.home main.content > .container-fluid {
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}
body.home main.content > .container-fluid > *:last-child {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}

/* Tighten footer spacing (homepage only) */
body.home .lfm_footer {
padding-top: 0.5rem !important;
padding-bottom: 0.75rem !important;
margin-top: 0 !important;
}

/* Final nudge: pull footer up slightly to cancel any stray margin */
body.home .lfm_footer {
margin-top: -10px !important; /* adjust to -8px or -12px if needed */
}
/* Internal pages: content area background and text colors */
body:not(.home) main.content,
body:not(.home) main.content > .container-fluid {
background-color: #5C95F0 !important;
}

body:not(.home) main.content,
body:not(.home) main.content p,
body:not(.home) main.content li,
body:not(.home) main.content td,
body:not(.home) main.content th {
color: #0b1e3d; /* dark text for contrast */
}

/* Optional: ensure links remain readable */
body:not(.home) main.content a { color: #052a6b; }
body:not(.home) main.content a:hover { color: #021c49; }