/*

Theme Name: Traffic Success Formula

Theme URI: https://trafficsuccessformula.com/

Description: The modern theme for LFM.

Version: 1.0

Author: Josh Abbott. Design by Linda Hoang

*/



@charset "utf-8";

/* CSS Document */


/* Desktop View Settings */
@media (min-width: 890px) {
	
	body {
		margin: 0;
		background-color: #fff; /* Sets the main background color */
		background-image: url(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: 221px;
		margin-right: auto;
		margin-left: auto;
		clear: both;

	}
	
	#header {
		background-image: url(images/header.jpg); /* Sets the header image */
		background-repeat: no-repeat;
		background-color: #11271A;
		width: 1150px;
		height: 221px;
	}
	
#footer {
		background-image: url(images/footer.jpg); /* Sets the footer image */
		background-repeat: no-repeat;
		width: 1150px;
		height: 221px;
        background-color: #11271A;
	}
	
	#footerwrapper {
		background-image: url(images/footer_bg.jpg);
		background-repeat: repeat-x;
        background-color: #11271A;
			}
	
	#navbarcontainer {
		/* This sets the width of the navigation bar */
		width: 1150px;
	}
}

/* Mobile View Settings */
@media (max-width: 889px) {
	
	body {
		margin: 0;
		background-color: #fff; /* Sets the main background color */
		background-image: url(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: 300px;
		height: 74px;
		margin-right: auto;
		margin-left: auto;
		clear: both;
 background-color: #11271A;
	}
	
	#header {
		background-image: url(images/mobile_header.jpg); /* Sets the mobile header image */
		background-repeat: no-repeat;
		width: 300px;
		height: 74px;
	}
    #footer {

		background-image: url(images/mobile_footer.jpg); 
		background-repeat: no-repeat;
		width: 300px;
		height: 58px;
	}
	
	#footerwrapper {
		background-image: url(images/mobile_footer_bg.jpg);
		background-repeat: repeat-x;
			}
}

.navbar {
	/* These are structural properties of the nav bar and usually do not need to be changed */
	position: relative;
	z-index: 1000;
	min-height: 50px;
	margin-bottom: 20px;
	border: 1px solid transparent;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .navbar {
    border-radius: 0px;
  margin-bottom: 0px; /* Removes the space between navbar and hero section */
  }
}
.dropdown-menu {
	padding: 0px 0;
	margin: 0px 0 0;
}

.navbar-default {
	/* Sets the background color and border of the navigation bar */
	background: rgb(2,55,0);
background: -moz-linear-gradient(180deg, rgba(2,55,0,1) 0%, rgba(72,156,35,1) 100%);
background: -webkit-linear-gradient(180deg, rgba(2,55,0,1) 0%, rgba(72,156,35,1) 100%);
background: linear-gradient(180deg, rgba(2,55,0,1) 0%, rgba(72,156,35,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#023700",endColorstr="#489c23",GradientType=1);	border-bottom: 1px #AAA solid;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:focus {
	/* Sets the main text properties of the navigation bar links */
	color: #ffc107;
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight:700;
}

.navbar-default .navbar-nav > li > a:hover {
	/* Sets the text properties of the navigation bar links when you hover over them */
background: rgb(238,152,29);
background: -moz-linear-gradient(180deg, rgba(238,152,29,1) 20%, rgba(245,222,139,1) 80%);
background: -webkit-linear-gradient(180deg, rgba(238,152,29,1) 20%, rgba(245,222,139,1) 80%);
background: linear-gradient(180deg, rgba(238,152,29,1) 20%, rgba(245,222,139,1) 80%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ee981d",endColorstr="#f5de8b",GradientType=1);	text-shadow: #FFFFFF 0em 0em 0.1em;
	color: #00330f;
}
.nav > li > a:hover,
.nav > li > a:focus {
	text-decoration: none;
	background-color: #555555;
}

.navbar-default .navbar-nav > .dropdown > a .caret {
	/* Sets the color of the caret arrow icon on menu items */
	border-top-color: #EEEEEE;
	border-bottom-color: #EEEEEE;
}

.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
	/* Sets the color of the caret arrow icon on menu items when you hover over it */
	border-top-color: #EEEEEE;
	border-bottom-color: #EEEEEE;
}

/* The next 3 sections control the navigation bar button that appears on small screens */
.navbar-default .navbar-toggle {
	border-color: #555555;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: #555555;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #DDDDDD;
}


.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
	/* For menu items that drop down, this sets the color of the heading when you click on it */
	color: #fff;
	background-color: #5d8e48;
}

.dropdown-menu > li > a {
	/* This controls the colors of menu items that drop down */
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: normal;
	line-height: 1.428571429;
	color: #ffc107;
	background-color: #026200;
	white-space: nowrap;
	font-weight: 700;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
	/* This controls the colors of menu items that drop down when you hover over them */
	color: #FFFFFF;
	text-decoration: none;
	background-color: #5d8e48;
}

@media (max-width: 767px) {
  /* These sections control the mobile view of the menu items that drop down */
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #222222;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #222222;
    background-color: #DDDDDD;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #222222;
    background-color: #DDDDDD;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }
}


.buttonlink {
    cursor: pointer;
    background: rgb(238,152,29);
    background: -moz-linear-gradient(180deg, rgba(238,152,29,1) 20%, rgba(245,222,139,1) 80%);
    background: -webkit-linear-gradient(180deg, rgba(238,152,29,1) 20%, rgba(245,222,139,1) 80%);
    background: linear-gradient(180deg, rgba(238,152,29,1) 20%, rgba(245,222,139,1) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ee981d", endColorstr="#f5de8b", GradientType=1);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #4caf50;
    display: inline-block;
    color: #00330f;
    font-family: arial;
    font-size: 18px;
    font-weight: 500;
    padding: 4px 14px;
    margin: 2px 1px 2px 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulsate 2s infinite; /* This triggers the animation */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); /* Add subtle drop shadow */
}


.buttonlink:hover {
    color: #f2f2f2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Adds a slight black drop shadow */
    background-color: #3385FF; /* The background turns blue */
    text-decoration: none; /* Ensures no underline appears */
    box-shadow: 0px 0px 20px 5px rgba(255, 165, 0, 0.6); /* Golden orange glow effect */
}


/* Pulsating Glow Keyframe */
@keyframes pulsate {
    0% {
        box-shadow: 0 0 5px rgba(255, 165, 0, 0.4); /* Lighter golden orange */
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.8); /* Brighter golden orange */
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 165, 0, 0.4); /* Lighter golden orange */
    }
}


.infobar {
	/* This class defines sections that span the entire page width */
	width: 100%;
	padding-top: 15px;
	padding-bottom: 15px;
	color: #FFFFFF;
	background-color: #053c01;
}
.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;
}


body {
	/* Sets the default text style */
	color:#000000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.22857143;
}


/* These sections control the appearance of links */
a {
  color: #0000ff;
  text-decoration: none;
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

a:hover,
a:focus {
  color: #157ab5;
  text-decoration: underline;
}

a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}


button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	/* Sets the default style of input buttons */
	cursor: pointer;
	-webkit-appearance: button;
	background-color:#177a1b;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #cddc39;
	display:inline-block;
	cursor:pointer;
color:#ffc107;
	font-family:arial;
	font-size:18px;
	font-weight:500;
	padding:4px 14px;
	margin:2px 1px 2px 1px;
	text-decoration:none;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	/* Sets the color of input buttons when you hover over them */
	background-color:#25b14e;
	color:#FFFFFF;
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 200px;
  margin-bottom: 0px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  color: #fff;
}
.carousel-caption h2 {
  color: #ffc107;
  font-size: 22px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 200px;
  	background: rgb(2,55,0);
background: -moz-linear-gradient(180deg, rgba(2,55,0,1) 0%, rgba(72,156,35,1) 100%);
background: -webkit-linear-gradient(180deg, rgba(2,55,0,1) 0%, rgba(72,156,35,1) 100%);
background: linear-gradient(180deg, rgba(2,55,0,1) 0%, rgba(72,156,35,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#023700",endColorstr="#489c23",GradientType=1);
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 200px;
}

/* CAROUSEL RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 0px;
    font-size: 21px;
    line-height: 1.4;
  }
  .carousel-caption h2 {
    font-size: 32px;
  }
}

/* HERO SECTION
-------------------------------------------------- */

/* Hero Section Styling */
.hero-section {
  background-color: #f7f7f7; /* Light off-white color */
  padding: 0;
  margin: 0;
}

.hero-section h1 {
  font-size: 40px;
  margin-bottom: 20px;
  margin-top: 0; /* Reduce top margin */
}

.hero-section p {
  font-size: 22px;
  margin-bottom: 2px; /* Reduce space below subheadline to almost nothing */
}

.hero-section .buttonlink {
  font-size: 24px;
  padding: 15px 30px;
  border-radius: 5px;
  display: inline-block;
  text-align: center;
  margin: 5px auto 0 auto; /* Minimal space above button */
  width: fit-content;
}


.hero-section img {
  max-width: 300px;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: start;
    padding-top: 0px; /* Ensures no extra padding on top */
  }

  .hero-section h1, .hero-section p, .hero-section .buttonlink, .hero-section img {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 0px; /* Remove any extra space above the headline */
  }

  .hero-section img {
    margin-top: 20px;
  }
}

@media (min-width: 769px) {
  .hero-section .row {
    display: flex;
    align-items: flex-start; /* Align content to the top */
    justify-content: space-between;
  }

  .hero-section .col-md-9 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
  }

  .hero-section .text-md-left {
    text-align: left; /* Ensures headline and subheadline stay left-aligned */
  }

  .hero-section .text-center {
    text-align: center;
  }
}

/* Remove any unwanted margin/padding from columns */
.hero-section .col-md-9,
.hero-section .col-md-4 {
  padding: 0;
  margin: 0;
}

.hero-section .row {
  margin-left: -10px; /* Adjust if needed */
  margin-right: -10px; /* Adjust if needed */
}

.container {
  background-color: transparent; /* Ensure container is transparent */
}

body, html {
  margin: 0;
  padding: 0;
  background-color: #fff; /* Ensures white background across all devices */
}

.ebook-cover {
    height: auto;
    margin-right: 20px;
    animation-name: rotate-scale-down-ver;
    animation-duration: 6s; /* Includes animation time + pause */
    animation-timing-function: linear;
    animation-delay: 2s;
    animation-iteration-count: 2;
    animation-direction: normal;
    animation-fill-mode: none;
}

/* Keyframes for rotating and scaling */
@keyframes rotate-scale-down-ver {
    0%, 25% {
        transform: scale(1) rotateY(0);
    }
    12.5% {
        transform: scale(0.5) rotateY(180deg);
    }
    25% {
        transform: scale(1) rotateY(360deg);
    }
    100% {
        transform: scale(1) rotateY(360deg);
    }
}


@media (max-width: 768px) {
  /* Adjust the carousel item height */
  .carousel .item {
    min-height: 200px; /* Adjust the minimum height if needed */
    height: auto; /* Ensure the height is auto */
  }

  /* Center the caption and adjust its top margin */
  .carousel-caption {
    position: relative;
    top: auto;
    padding-top: 5px; /* Reduce top padding */
    padding-bottom: 5px; /* Reduce bottom padding */
    text-align: center;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  /* Adjust padding and margins to remove excessive gaps */
  .carousel .container {
    padding: 0;
    margin-bottom: 10px; /* Add some space at the bottom to ensure proper spacing between the button and indicators */
  }

  /* Ensure button has a consistent bottom margin */
  .carousel-caption .buttonlink {
    margin-bottom: 5px; /* Adjust as needed to reduce gap between CTA and indicators */
  }

  /* Adjust the indicators' position */
  .carousel-indicators {
    margin-bottom: 10px; /* Ensure there's some space between the button and the indicators */
  }
}

  .mybanner-ad {
    text-align: center;
    margin: 20px auto; /* Center the banner ad */
    max-width: 468px; /* Ensure the width does not exceed the banner size */
    padding: 0px 0; /* Vertical padding to give some space around the banner */
  }

  .mybanner-ad img {
    border: 1px solid #254031; 
    border-radius: 4px; /* Slight rounding for a modern look */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    width: 100%; /* Ensure the image fits the container */
    height: auto; /* Maintain aspect ratio */
  }

 .flexbanner-ad {
    text-align: center;
    margin: 0px auto;
    padding: 0px 0;
    display: block; /* Ensure the container is treated as a block element and can center with margin: auto */
  }

  .flexbanner-ad img {
    border: 1px solid #254031;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Makes the image responsive within its container */
    height: auto;
  }
