/*

Theme Name: OTRH 2026

Theme URI: http://thetrafficexchangescript.com/

Description: The default 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: #212529;
	background-color: #ece8f3;
	background: linear-gradient(180deg, #f4f1f8 0%, #ece8f3 100%) fixed;
}

a { color: #c2410c; }
a:hover { color: #3b1f5e; }

h1, h2, h3, h4, h5, h6 { color: #111827; font-weight: 700; }


/* Over The Road Hits palette
   --night-purple: #2a1a4a / #4a2d6e   (footer bar, info bars)
   --road-orange:  #ff9800 / #ffb74d   (menu bar)
   --gold:         #fbbf24 / #f59e0b   (buttons)
   --ocean-navy:   #0d2d6b             (banner tones)
   --text-dark:    #1a1033
*/


/* Custom header banner - full width image above the theme */

.custom-header-banner {
	background: linear-gradient(90deg, #0d2d6b 0%, #12347a 50%, #0d2d6b 100%);
	line-height: 0;
	text-align: center;
	border-bottom: 3px solid #2a1a4a;
}

.custom-header-image {
	display: block;
	width: 100%;
	height: auto;
	max-width: none; /* Stretch edge to edge on wide screens (image is 1900px) */
	margin: 0 auto;
}

@media (max-width: 575.98px) {
	/* Keep the banner title readable on small phones */
	.custom-header-banner a {
		display: block;
		overflow: hidden;
	}
	.custom-header-image {
		width: auto;
		height: 60px;
		max-width: none;
		position: relative;
		left: 50%;
		transform: translateX(-48%);
	}
}


/* Main styles for the top level of the main menu */

.lfm_menu_bar {
	background: linear-gradient(180deg, #ff9800 0%, #ffa726 55%, #ffb74d 100%);
	border-bottom: 1px solid #e08600;
	box-shadow: 0 3px 10px rgba(42, 26, 74, 0.18);
	padding: 0 0 45px;
	margin-bottom: 20px; /* If your menu bar is overlapping the page content, increase the margin here */
}

@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;
	font-weight: 700;
	color: #1a1033;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
	/* Changes the colors when a tab is opened */
	color: #3b1f5e;
	background-color: #FFFFFF;
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
	/* Hover style when a tab is not opened */
	color: #1a1033;
	background-color: rgba(255, 255, 255, 0.35);
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
	/* Hover style when a tab is opened */
	background-color: #FFFFFF;
}

@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 #e08600;
	}
	
	.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-color: #FFFFFF;
		width: calc(100% + 2px);
		height: 14px;
		position: absolute;
		bottom: -10px;
		left: -1px;
		border: 1px solid #e08600;
		border-top: none;
		border-bottom: 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: #1a1033;
		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: #1a1033;
		background-color: rgba(255, 255, 255, 0.35);
	}
	
	/* 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: #1a1033;
		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: #3b1f5e;
		transform: rotate(0deg);
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
		color: #1a1033;
		transform: rotate(-90deg);
	}
	
	/* Mobile menu toggle (replaces the logo) */
	.lfm_mobile_toggle {
		color: #1a1033;
		font-weight: 700;
		font-size: 17px;
		border: 1px solid rgba(26, 16, 51, 0.35);
		border-radius: 6px;
		padding: 6px 14px;
		margin: 6px 0;
	}
	.lfm_mobile_toggle:hover,
	.lfm_mobile_toggle:focus {
		color: #3b1f5e;
		background-color: rgba(255, 255, 255, 0.35);
		text-decoration: none;
	}
}


/* Main styles for the second level of the main menu */

.lfm_menu_tab {
	background-color: #FFFFFF;
	border: 1px solid #e3dcec;
	box-shadow: 0 2px 6px rgba(42, 26, 74, 0.08);
	position: absolute;
	display: none;
	left: 0;
	top: 100%;
	z-index: 999;
	width: 100%;
}

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-color: #f7f3fb;
		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: #2d2440;
	text-decoration: none;
	display: block;
}
.lfm_menu_tab > li > a:hover {
	color: #e67e00;
}

.lfm_menu_tab .dropdown-menu a {
	/* Sets the navigation links for the third level */
	font-size: 15px;
	padding: 0 20px;
	line-height: 32px;
	color: #2d2440;
	text-decoration: none;
	white-space: nowrap;
	display: block;
}
.lfm_menu_tab .dropdown-menu {
	border: 1px solid #e3dcec;
	border-top: 3px solid #ff9800;
	box-shadow: 0 6px 16px rgba(42, 26, 74, 0.15);
}
.lfm_menu_tab .dropdown-menu li:hover {
	background-color: #fff4e0;
}
.lfm_menu_tab .dropdown-menu li:hover a {
	color: #c2410c;
}

@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: #0d2d6b;
	margin-top: 20px;
	border-top: 3px solid #ff9800;
}

.custom-footer-banner {
	line-height: 0;
	text-align: center;
	background: linear-gradient(90deg, #0d2d6b 0%, #12347a 50%, #0d2d6b 100%);
}

.custom-footer-image {
	display: block;
	width: 100%;
	height: auto;
	max-width: none; /* Stretch edge to edge on wide screens (image is 1900px) */
	margin: 0 auto;
}

.custom-footer-bar {
	background: linear-gradient(90deg, #2a1a4a 0%, #4a2d6e 100%);
	color: #f8c48a;
	font-size: 14px;
	text-align: center;
	padding: 10px 15px;
}


/* Icon settings */

.far, .fas {
	margin-right:3px;
}

.feedicon {
	color:#f59e0b;
	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(180deg, #fcd34d 0%, #f59e0b 100%);
	border-radius:6px;
	border:1px solid #d97706;
	box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
	display:inline-block;
	cursor:pointer;
	color:#1a1033;
	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:#1a1033;
	background: linear-gradient(180deg, #fde68a 0%, #fbbf24 100%);
	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: linear-gradient(90deg, #2a1a4a 0%, #4a2d6e 100%);
}
.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:#1a1033; font-size:32px; font-weight:700;
}

.lfm_descr {
	font-family: "Arial"; color:#111111; font-size:16px;
}

.lfm_descr_bold {
	font-family: "Arial"; color:#000000; font-size:16px;
	font-weight:700;
}

/* Brand button colors (Bootstrap classes preserved) */
.btn-primary {
	color: #1a1033;
	background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
	border-color: #d97706;
	font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
	color: #1a1033;
	background: linear-gradient(180deg, #fde68a 0%, #fbbf24 100%);
	border-color: #d97706;
	box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.35);
}
.btn-secondary {
	color: #FFFFFF;
	background-color: #4a2d6e;
	border-color: #3b1f5e;
}
.btn-secondary:hover, .btn-secondary:focus {
	color: #FFFFFF;
	background-color: #3b1f5e;
	border-color: #2a1a4a;
}
.form-control:focus {
	border-color: #fbbf24;
	box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}
.card {
	border-color: #e3dcec;
	box-shadow: 0 4px 14px rgba(42, 26, 74, 0.06);
}
