/*

Theme Name: OTHTheme

Theme URI: http://thetrafficexchangescript.com/

Description: The default theme for LFMTE traffic exchanges.

Version: 3.0

Author: Josh Abbott

*/


@charset "utf-8";


/* Custom Header Banner Styles */

.custom-header-banner {
	background: linear-gradient(135deg, #1A0B2E 0%, #2E1A47 50%, #4A2C65 100%);
	padding: 30px 20px;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	position: relative;
	overflow: hidden;
}

.custom-header-banner .header-content {
	position: relative;
	z-index: 2;
}

.custom-header-banner .site-title {
	color: #FFB74D;
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
	letter-spacing: 1px;
}

.custom-header-banner .title-icon {
	font-size: 2rem;
	margin: 0 10px;
	display: inline-block;
}

/* Animated Cars */
.car {
	position: absolute;
	font-size: 2.5rem;
	opacity: 0.8;
	animation: drive 12s linear infinite;
	filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
	z-index: 1;
}

.car:nth-child(1) {
	top: 15%;
	animation-delay: 0s;
	animation-duration: 10s;
}

.car:nth-child(2) {
	top: 45%;
	animation-delay: 3s;
	animation-duration: 13s;
	font-size: 2rem;
}

.car:nth-child(3) {
	top: 75%;
	animation-delay: 6s;
	animation-duration: 11s;
	font-size: 2.2rem;
}

@keyframes drive {
	0% {
		left: -5%;
		transform: translateX(0);
	}
	100% {
		left: 105%;
		transform: translateX(0);
	}
}

/* Smoke Trail Effect */
.car::after {
	content: '';
	position: absolute;
	right: 100%;
	top: 50%;
	transform: translateY(-50%);
	width: 60px;
	height: 15px;
	background: linear-gradient(to right, transparent 0%, rgba(200, 200, 200, 0.4) 50%, transparent 100%);
	border-radius: 50%;
	filter: blur(4px);
	opacity: 0.6;
}

@media (max-width: 768px) {
	.custom-header-banner {
		padding: 20px 15px;
	}

	.custom-header-banner .site-title {
		font-size: 1.8rem;
	}

	.custom-header-banner .title-icon {
		font-size: 1.5rem;
		margin: 0 5px;
	}

	.car {
		font-size: 1.8rem;
	}

	.car:nth-child(2) {
		font-size: 1.5rem;
	}

	.car:nth-child(3) {
		font-size: 1.6rem;
	}
}


/* Main font settings */

body {
	font-size: 16px;
	font-weight: 400;
	color: #212529;
	background: linear-gradient(to bottom, #E8E4F3 0%, #F5F3FA 100%);
	min-height: 100vh;
}

a {
	color: #FF9800;
	transition: color 0.3s ease;
}

a:hover {
	color: #F57C00;
	text-decoration: none;
}


/* Main styles for the top level of the main menu */

.lfm_menu_bar {
	background: linear-gradient(to right, #FF9800 0%, #FFB74D 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 6px rgba(0, 0, 0, 0.1);
}

@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 */

.nav-brand-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.nav-site-name-large {
	font-size: 1.5rem;
	font-weight: 800;
	color: #1A1A1A;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	white-space: nowrap;
	padding: 5px 10px;
	transition: color 0.3s ease;
}

.nav-brand-link:hover .nav-site-name-large {
	color: #2D2D2D;
	text-decoration: none;
}

@media (min-width: 992px) {
	.nav-brand-link {
		margin-right: 20px;
	}
}

@media (max-width: 991.98px) {
	.nav-site-name-large {
		font-size: 1.2rem;
		letter-spacing: 0.5px;
	}
}


.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
	/* Sets the navigation tabs for the top level */
	font-size: 15px;
	color: #1A1A1A;
	font-weight: 500;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
	/* Changes the colors when a tab is opened */
	color: #1A1A1A;
	background-color: #FFFFFF;
	font-weight: 600;
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
	/* Hover style when a tab is not opened */
	background-color: rgba(255, 255, 255, 0.2);
}

.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 #DDDDDD;
	}
	
	.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 #DDDDDD;
		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: #1A1A1A;
		background-color: #FF9800;
	}

	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
		/* Returns to the original hover effect when closed in mobile  */
		color: #1A1A1A;
		background-color: rgba(255, 255, 255, 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: #1A1A1A;
		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: #1A1A1A;
		transform: rotate(0deg);
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
		color: #1A1A1A;
		transform: rotate(-90deg);
	}
}


/* Main styles for the second level of the main menu */

.lfm_menu_tab {
	background-color: #FFFFFF;
	border: 1px solid #DDDDDD;
	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: #EEEEEE;
		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: #444444;
	text-decoration: none;
	display: block;
}
.lfm_menu_tab > li > a:hover {
	color: #FF9800;
	background-color: #F5F5F5;
}

.lfm_menu_tab .dropdown-menu a {
	/* Sets the navigation links for the third level */
	font-size: 15px;
	padding: 0 20px;
	line-height: 32px;
	color: #444444;
	text-decoration: none;
	white-space: nowrap;
	display: block;
}
.lfm_menu_tab .dropdown-menu li:hover {
	background-color: #EEEEEE;
}

@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: linear-gradient(135deg, #1A0B2E 0%, #2E1A47 50%, #4A2C65 100%);
	box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.15);
	position: relative;
	overflow: hidden;
	margin-top: 40px;
}

/* Animated Cars in Footer */
.car-footer {
	position: absolute;
	font-size: 2.5rem;
	opacity: 0.8;
	animation: drive 12s linear infinite;
	filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
	z-index: 1;
}

.car-footer:nth-child(1) {
	top: 20%;
	animation-delay: 1s;
	animation-duration: 11s;
}

.car-footer:nth-child(2) {
	top: 50%;
	animation-delay: 4s;
	animation-duration: 14s;
	font-size: 2rem;
}

.car-footer:nth-child(3) {
	top: 80%;
	animation-delay: 7s;
	animation-duration: 12s;
	font-size: 2.2rem;
}

/* Smoke Trail Effect for Footer Cars */
.car-footer::after {
	content: '';
	position: absolute;
	right: 100%;
	top: 50%;
	transform: translateY(-50%);
	width: 60px;
	height: 15px;
	background: linear-gradient(to right, transparent 0%, rgba(200, 200, 200, 0.4) 50%, transparent 100%);
	border-radius: 50%;
	filter: blur(4px);
	opacity: 0.6;
}

/* Footer Links */
.footer-link {
	color: #FFB74D;
	transition: color 0.3s ease;
	text-decoration: none;
}

.footer-link:hover {
	color: #FFA726;
	text-decoration: none;
}

@media (max-width: 768px) {
	.car-footer {
		font-size: 1.8rem;
	}

	.car-footer:nth-child(2) {
		font-size: 1.5rem;
	}

	.car-footer:nth-child(3) {
		font-size: 1.6rem;
	}
}


/* 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(to bottom, #FF9800 0%, #F57C00 100%);
	border-radius: 5px;
	border: none;
	display: inline-block;
	cursor: pointer;
	color: #FFFFFF;
	font-family: arial;
	font-size: 18px;
	font-weight: 600;
	padding: 8px 16px;
	margin: 2px 1px 2px 1px;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}
.buttonlink:hover {
	/* This controls the button links when you hover over them */
	color: #FFFFFF;
	background: linear-gradient(to bottom, #FFB74D 0%, #FF9800 100%);
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
	transform: translateY(-1px);
}


.infobar {
	/* This class defines sections that span the entire page width */
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #FFFFFF;
	background: linear-gradient(to right, #2E1A47 0%, #4A2C65 100%);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.infobar h2 {
	color: #FFB74D;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}


.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;
}


/* Bootstrap Button Overrides */

.btn-primary {
	background: linear-gradient(to bottom, #FF9800 0%, #F57C00 100%);
	border: none;
	color: #FFFFFF;
	font-weight: 600;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background: linear-gradient(to bottom, #FFB74D 0%, #FF9800 100%);
	border: none;
	color: #FFFFFF;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
	transform: translateY(-1px);
}

.btn-success {
	background: linear-gradient(to bottom, #4CAF50 0%, #388E3C 100%);
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-success:hover {
	background: linear-gradient(to bottom, #66BB6A 0%, #4CAF50 100%);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.btn-info {
	background: linear-gradient(to bottom, #2196F3 0%, #1976D2 100%);
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-info:hover {
	background: linear-gradient(to bottom, #42A5F5 0%, #2196F3 100%);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.btn-warning {
	background: linear-gradient(to bottom, #FFC107 0%, #FFA000 100%);
	border: none;
	color: #1A1A1A;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-warning:hover {
	background: linear-gradient(to bottom, #FFD54F 0%, #FFC107 100%);
	color: #1A1A1A;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}


/* Card and Container Styling */

.card {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: none;
	border-radius: 8px;
	transition: box-shadow 0.3s ease;
}

.card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.container {
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	padding: 20px;
}


/* Table Styling */

.table {
	background-color: #FFFFFF;
	border-radius: 5px;
	overflow: hidden;
}

.table thead th {
	background: linear-gradient(to bottom, #2E1A47 0%, #4A2C65 100%);
	color: #FFFFFF;
	border: none;
	font-weight: 600;
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(232, 228, 243, 0.3);
}


/* Alert Styling */

.alert {
	border: none;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alert-success {
	background-color: #C8E6C9;
	color: #1B5E20;
}

.alert-info {
	background-color: #B3E5FC;
	color: #01579B;
}

.alert-warning {
	background-color: #FFE082;
	color: #E65100;
}

.alert-danger {
	background-color: #FFCDD2;
	color: #B71C1C;
}