/*

Theme Name: World Traffic 

Theme URI: https://worldtrafficads.com/

Description: The theme for World Traffic .

Version: 3.0

Author: Josh Abbott. Designed by Linda Hoang

*/


@charset "utf-8";


/* Main font settings */

body {
	font-size: 16px;
	font-weight: 400;
	color: #212529;
	background-color: #f5f8fa;
}


/* Main styles for the top level of the main menu */

.lfm_menu_bar {
background: #002762;
background: linear-gradient(180deg,rgba(0, 39, 98, 1) 12%, rgba(56, 136, 255, 1) 82%);
	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;
	}
}

/* Desktop View Settings */
@media (min-width: 992px) {
	
		body {
		margin: 0;
		background-color: #ffffff; /* Sets the main background color */
		background-image: url(/themes/LFMTE_default/images/header_bg.jpg); /* Sets the header background image */
		background-repeat: repeat-x;
	}
	
	#headerwrapper {
		/* Set the header image sizes here and inside #header */
		width: 1150px;
		height: 285px;
		margin-right: auto;
		margin-left: auto;
		clear: both;
        background-color: #012861;
	}
	
	#header {
		background-image: url(/themes/LFMTE_default/images/header.jpg); /* Sets the header image */
		background-repeat: no-repeat;
        background-color: #012861;
		width: 1150px;
		height: 285px;
	}
}
/* Mobile View Settings */
@media (max-width: 992px) {
	
	body {
		margin: 0;
		background-color: #FEFEFE; /* Sets the main background color */
		background-image: url(/themes/LFMTE_default/images/mobile_header_bg.jpg); /* Sets the mobile header background image */
		background-repeat: repeat-x;
	}
	
	#headerwrapper {
		/* Set the header image sizes here and inside #header */
		width: 400px;
		height: 99px;
		margin-right: auto;
		margin-left: auto;
		clear: both;
        background-color: #012861;
	}
	
	#header {
		background-image: url(/themes/LFMTE_default/images/mobile_header.jpg); /* Sets the mobile header image */
		background-repeat: no-repeat;
		width: 400px;
		height: 99px;
		background-color: #012861;
	}
  }

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
	/* Sets the navigation tabs for the top level */
	font-size: 17px;
	color: #FFFFFF;
font-weight: 700;
text-shadow: 1px 1px 1px #00023a;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
	/* Changes the colors when a tab is opened */
	background: #CF9428;
background: linear-gradient(180deg,rgba(207, 148, 40, 1) 15%, rgba(255, 228, 170, 1) 58%, rgba(236, 174, 57, 1) 100%);
color: #000e40;
font-weight: 700;
border: 1px solid #ff0;
text-shadow: 1px 1px 1px #fff7f7;
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
	/* Hover style when a tab is not opened */
	background-color: #089cff;
color: #FF0;
border: 1px solid #d15a11;
text-shadow: 1px 1px 1px #e3dada00;
}

.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;
background-color: #002162;
	}
	
	.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: transparent;
		width: calc(100% + 2px);
		height: 14px;
		position: absolute;
		bottom: -10px;
		left: -1px;
		border: 1px solid transparent;
		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: #FFFFFF;
		background-color: #780000;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
		/* Returns to the original hover effect when closed in mobile  */
		color: #FFFFFF;
		background-color: #780000;
	}
	
	/* 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: #FFFFFF;
		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: navy;
		transform: rotate(0deg);
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
		color: #FFFFFF;
		transform: rotate(-90deg);
	}
}


/* Main styles for the second level of the main menu */

.lfm_menu_tab {
	background: #CF9428;
background: linear-gradient(180deg,rgba(207, 148, 40, 1) 15%, rgba(255, 228, 170, 1) 58%, rgba(236, 174, 57, 1) 100%);
	border: 1px solid #DDDDDD;
	position: absolute;
	display: none;
	left: 0;
	top: 100%;
	z-index: 999;
	width: 100%;
font-weight: 700;
border: 1px solid #ff0;
}

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: 17px;
	padding: 0 20px;
	line-height: 45px;
	color: #444444;
	text-decoration: none;
	display: block;
text-shadow: 1px 1px 1px #fffaeb;
}
.lfm_menu_tab > li > a:hover {
background: #002762;
background: linear-gradient(180deg,rgba(0, 39, 98, 1) 12%, rgba(56, 136, 255, 1) 82%);
color: #ffd557;
text-shadow: 1px 1px 1px #333;
}

.lfm_menu_tab .dropdown-menu a {
	/* Sets the navigation links for the third level */
	font-size: 15px;
	padding: 0 20px;
	line-height: 32px;
	color: #ffd864;
	text-decoration: none;
	white-space: nowrap;
	display: block;
}
.lfm_menu_tab .dropdown-menu a:hover {
		background-color: #0664f2;
	color: #ff0;
	text-decoration: none;
	}

@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: #002762;
background: linear-gradient(180deg,rgba(0, 39, 98, 1) 20%, rgba(6, 102, 245, 1) 89%);
}


/* 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-color:#1468e5;
	border-radius:2px;
	border:1px solid #002175;
	display:inline-block;
	cursor:pointer;
	color:#FFFFFF;
	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:#FFFFFF;
	background-color:#3385FF;
	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-color:#555555;
}
.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:#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;
}

/* ===== World Traffic Ads header tweaks (non-destructive overrides) ===== */

/* Full-width bar + darker, modern tone (keeps your existing layout & gaps) */
.lfm_menu_bar{
  background-color:#0b1220;     /* modern dark navy */
  width:100%;
  /* keep your existing padding/margins so second-level tabs still align */
}

/* Give the navbar a little breathing room without affecting layout */
.lfm_menu_bar .navbar{
  max-width:100%;
  padding-left:16px;
  padding-right:16px;
}

/* Bigger, clearer logo */
.lfm_menu_logo{
  max-height:60px;              /* was 35px */
  width:auto;
}
@media (max-width: 991.98px){
  .lfm_menu_logo{
    max-height:44px;            /* smaller on mobile */
  }
}

/* Improve contrast for top-level items on dark bar */
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link{
  color:#ffffff !important;
}
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover{
  background-color:#1e40af;     /* subtle hover on dark */
  color:#ffffff !important;
}

/* When a tab is opened, keep your white tab style but make text darker */
.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link{
  color:#0b1220 !important;     /* readable on white */
  background-color:#ffffff;
  border-color:#dddddd;
}
.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover{
  background-color:#ffffff;
}

/* Dropdown (3rd level) readability on dark */
.lfm_menu_bar .dropdown-menu{
  background:#111827;
  border-color:#1f2937;
}
.lfm_menu_bar .dropdown-menu a{
  color:#001746 !important;
}
.lfm_menu_bar .dropdown-menu li:hover{
  background:#1f2937;
}

/* Optional: keep header visible when scrolling; remove if not wanted */
.lfm_menu_bar{
  position:sticky;
  top:0;
  z-index:1000;
}

/* Make sure page isn’t pushed by unexpected margins */
body{ margin-top:0; }
/* ===== World Traffic Ads header overrides ===== */

/* Full-width dark bar + sticky */
.lfm_menu_bar {
  background-color: #0b1220;   /* dark navy */
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navbar spacing/height */
.lfm_menu_bar .navbar {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 40px;
}

/* Bigger logo */
.lfm_menu_logo {
  max-height: 60px;            /* was 35px */
  width: auto;
}
@media (max-width: 991.98px) {
  .lfm_menu_logo { max-height: 44px; }
}

/* Top-level links readable on dark */
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
  font-size: 16px;
  color: #ffffff;
  padding: 10px 10px;
}
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
  background-color: #1e40af;
  color: #ffffff;
}

/* Keep white “opened tab” look */
.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
  color: #0b1220;
  background-color: #ffffff;
  border: 1px solid #333;
}
.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
  background-color: #ffffff;
}

/* Dropdown (third level) contrast on dark */
.lfm_menu_bar .dropdown-menu {
  background: #ffb549;
  border-color: #ffffff;
}
.lfm_menu_bar .dropdown-menu a {
  color: #e5e7eb;
}
.lfm_menu_bar .dropdown-menu li:hover {
  background: #1f2937;
}