/*

Theme Name: FiveHits Theme for LFMTE

Theme URI: http://thetrafficexchangescript.com/

Description: A modern FiveHits themed sidebar layout for LFMTE traffic exchanges.

Version: 1.0

Author: FiveHits Design Team

*/


@charset "utf-8";


/* Main font settings */

body {
	font-size: 16px;
	font-weight: 400;
	color: #212529;
	background: linear-gradient(135deg, #0d47a1 0%, #1976d2 50%, #42a5f5 100%);
	background-attachment: fixed;
	min-height: 100vh;
	position: relative;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px),
		repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0,0,0,.03) 35px, rgba(0,0,0,.03) 70px);
	pointer-events: none;
	z-index: 1;
}


/* Main page structure */

.lfm_outerdiv {
	display: flex;
	width: 100%;
	align-items: stretch;
	position: relative;
	z-index: 2;
}
.main {
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	min-height: 100vh;
	box-shadow: 0 0 30px rgba(0,0,0,0.3);
}


/* Site logo styles */

.lfm_menu_logo {
	max-height: 45px;
	margin: 1rem 1.2rem 1rem 1.2rem;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}


/* Styles for the top bar */

.lfm_topbar {
	background: linear-gradient(90deg, #1565c0 0%, #1976d2 100%);
	color: #FFFFFF;
	margin-bottom: 25px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	padding: 0.75rem 1rem;
}

.lfm_topbar .btn-success {
	background: linear-gradient(90deg, #00c853 0%, #00e676 100%);
	border: none;
	box-shadow: 0 2px 8px rgba(0,200,83,0.3);
	padding: 0.5rem 1.5rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.lfm_topbar .btn-success:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,200,83,0.4);
}


/* Styles for the slidebar navigation */

.lfm_slidebar {
	min-width: 250px;
	max-width: 250px;
	min-height: 100vh;
	transition: all 0.4s ease-in-out;
	background: linear-gradient(180deg, #1a237e 0%, #283593 100%);
	box-shadow: 2px 0 15px rgba(0,0,0,0.3);
	position: relative;
	z-index: 10;
}

/* Desktop View Settings - Expand the slidebar by default */
@media (min-width: 890px) {
	.lfm_slidebar {
		margin-left: 0px;
	}
	.lfm_slidebar.toggled {
		margin-left: -250px;
	}
}

/* Mobile View Settings - Collapse the slidebar by default */
@media (max-width: 889px) {
	.lfm_slidebar {
		margin-left: -250px;
	}
	.lfm_slidebar.toggled {
		margin-left: 0px;
	}
}

.lfm_slidebar_toggleswitch {
	cursor: pointer;
	font-size: 24px;
	color: #FFFFFF;
	padding-right: 10px;
	transition: all 0.3s ease;
}
.lfm_slidebar_toggleswitch:hover {
	color: #64b5f6;
	transform: scale(1.1);
}

.lfm_slidebar_mainmenu {
	list-style: none;
	padding-left: 0;
	overflow: auto;
	max-height: calc(100vh - 100px);
}


/* This sets the style of the slidebar menu items */
.lfm_slidebar_mainmenu li > a {
	color: #ffffff;
	background: rgba(255,255,255,0.05);
	border-bottom: 1px solid rgba(255,255,255,0.1);
	text-decoration: none;
	display: block;
	margin: 0px;
	padding: 0.75rem 1.2rem;
	font-size: 15px;
	position: relative;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s ease;
	overflow: hidden;
}

.lfm_slidebar_mainmenu li > a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #42a5f5 0%, #64b5f6 100%);
	transition: width 0.3s ease;
	z-index: -1;
}

/* 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: #ffffff;
	background: rgba(66,165,245,0.2);
	padding-left: 1.5rem;
	text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.lfm_slidebar_mainmenu li > a:hover::before {
	width: 4px;
}


/* Styles for the footer */

.lfm_footer {
	background: linear-gradient(180deg, #1a237e 0%, #0d47a1 100%);
	margin-top: 50px;
	box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.lfm_footer h4, .lfm_footer h5 {
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lfm_footer a.text-white:hover {
	color: #64b5f6 !important;
	text-decoration: none;
}


/* Icon settings */

.far, .fas {
	margin-right: 5px;
}

.feedicon {
	color: #42a5f5;
	font-size: 20px;
	margin-right: 5px;
}


/* Profile picture sizes */

.profilepic_small {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #42a5f5;
}

.profilepic_med {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	border: 3px solid #42a5f5;
}

.profilepic_large {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 4px solid #42a5f5;
}


/* Various styles */

.buttonlink {
	/* This class defines <a> tag links that look like buttons */
	cursor: pointer;
	background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
	border-radius: 25px;
	border: none;
	display: inline-block;
	cursor: pointer;
	color: #FFFFFF;
	font-family: arial;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 25px;
	margin: 5px;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(25,118,210,0.3);
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.buttonlink:hover {
	/* This controls the button links when you hover over them */
	color: #FFFFFF;
	background: linear-gradient(90deg, #42a5f5 0%, #64b5f6 100%);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(25,118,210,0.4);
}


.infobar {
	/* This class defines sections that span the entire page width */
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #FFFFFF;
	background: linear-gradient(90deg, #1565c0 0%, #1976d2 50%, #42a5f5 100%);
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	margin: 20px 0;
}
.infobar h2 {
	color: #FFFFFF;
	text-shadow: 0 2px 4px 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", sans-serif;
	color: #1a237e;
	font-size: 32px;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lfm_descr {
	font-family: "Arial", sans-serif;
	color: #424242;
	font-size: 16px;
	line-height: 1.6;
}

.lfm_descr_bold {
	font-family: "Arial", sans-serif;
	color: #1a237e;
	font-size: 16px;
	font-weight: 700;
}


/* Content area enhancements */
.content {
	padding: 20px;
	animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Card styles for content boxes */
.card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	margin-bottom: 20px;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
	background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
	color: white;
	font-weight: 600;
	border-radius: 10px 10px 0 0 !important;
}

/* Table enhancements */
.table {
	border-radius: 10px;
	overflow: hidden;
}

.table thead {
	background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
	color: white;
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(66,165,245,0.05);
}

.table-hover tbody tr:hover {
	background-color: rgba(66,165,245,0.1);
}

/* Form enhancements */
.form-control {
	border: 2px solid #e3f2fd;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: #42a5f5;
	box-shadow: 0 0 0 0.2rem rgba(66,165,245,0.25);
}

.btn-primary {
	background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
	border: none;
	border-radius: 25px;
	padding: 10px 25px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(25,118,210,0.3);
}

.btn-primary:hover {
	background: linear-gradient(90deg, #42a5f5 0%, #64b5f6 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(25,118,210,0.4);
}

/* Alert styles */
.alert {
	border: none;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.alert-success {
	background: linear-gradient(90deg, #c8e6c9 0%, #e8f5e9 100%);
	color: #1b5e20;
	border-left: 4px solid #4caf50;
}

.alert-info {
	background: linear-gradient(90deg, #bbdefb 0%, #e3f2fd 100%);
	color: #0d47a1;
	border-left: 4px solid #2196f3;
}

.alert-warning {
	background: linear-gradient(90deg, #fff3e0 0%, #fff9c4 100%);
	color: #e65100;
	border-left: 4px solid #ff9800;
}

.alert-danger {
	background: linear-gradient(90deg, #ffcdd2 0%, #ffebee 100%);
	color: #b71c1c;
	border-left: 4px solid #f44336;
}

/* Badge enhancements */
.badge {
	padding: 5px 10px;
	border-radius: 15px;
	font-weight: 600;
}

.badge-primary {
	background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
}

.badge-success {
	background: linear-gradient(90deg, #00c853 0%, #00e676 100%);
}

/* Pagination styles */
.page-link {
	color: #1976d2;
	border-radius: 5px;
	margin: 0 2px;
	transition: all 0.3s ease;
}

.page-link:hover {
	background: #e3f2fd;
	color: #0d47a1;
}

.page-item.active .page-link {
	background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
	border-color: transparent;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #1976d2 0%, #42a5f5 100%);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #1565c0 0%, #1976d2 100%);
}