/*
Theme Name: Theme 4 Banner Ads 4 Me
Theme URI: http://bannerads4.me/
Description: Red and gold.
Version: 1.0
Author: Ian C
*/

@charset "utf-8";

/* ========== GLOBAL FONT SETTINGS ========== */
body {
  font-size: 19px;
  font-weight: 400;
  color: #212529;
  background-color: #ffffff;
}

/* ========== MENU BAR STYLING ========== */
.lfm_menu_bar {
  background: linear-gradient(90deg, #c8102e, #ffd700);
  box-shadow: 0 4px 10px rgba(200, 16, 46, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.lfm_menu_logo {
  max-height: 50px;
}
@media (min-width: 992px) {
  .lfm_menu_logo {
    margin-right: 20px;
  }
}

/* Top-level nav items */
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  color: #800000;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent; /* prevent shift */
  border-radius: 6px 6px 0 0;     /* same radius to match hover */
}

/* Hover */
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
  background-color: #ffd700;
  color: #800000;
}

/* Open tab */
.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
  background-color: #ffffff;
  color: #c8102e;
  border: 1px solid #ffd700;
  border-radius: 6px 6px 0 0;
  font-weight: 600;
}

/* Mobile nav padding */
@media (max-width: 991.98px) {
  .lfm_menu_bar {
    padding-bottom: 0;
    margin-bottom: 20px;
  }
  .lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
    padding: 12px 20px;
    font-size: 18px;
  }
  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link {
    background-color: #c8102e;
    color: #ffffff;
  }
  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
    background-color: #a40e26;
  }
  .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: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transition: all 0.1s ease-out;
  }
  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
    transform: translateY(-50%) rotate(0deg);
  }
}

/* Nav layout */
.navbar-nav > .nav-item {
  margin: 0 6px;
}
@media (min-width: 992px) {
  .lfm_menu_bar .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .lfm_menu_bar .navbar-nav {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
  }
  .lfm_menu_bar .navbar-nav > .nav-item {
    position: relative;
    margin: 0 6px;
  }
}

/* ========== SECOND-LEVEL MENU ========== */
.lfm_menu_tab {
  background-color: #ffffff;
  border: 1px solid #ffd700;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  display: none;
  font-size: 18px;
  line-height: 1.8;
  border-radius: 4px;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 1000;
}
.navbar-nav > .nav-item.lfm_tab_opened > .lfm_menu_tab {
  display: block;
}

/* Menu items */
.lfm_menu_tab > li {
  list-style: none;
}
.lfm_menu_tab > li > a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #444444;
  font-weight: 500;
}
.lfm_menu_tab > li > a:hover {
  background-color: #fff5da;
  color: #c8102e;
}

/* Third-level dropdowns */
.lfm_menu_tab .dropdown-menu a {
  padding: 6px 30px;
  font-size: 16px;
  color: #444444;
}
.lfm_menu_tab .dropdown-menu li:hover {
  background-color: #fff5da;
}

/* Mobile 2nd/3rd-level menu spacing */
@media (max-width: 991.98px) {
  .lfm_menu_tab {
    position: relative;
    flex-direction: column;
    top: 0;
    padding: 5px 0;
    width: 100%;
  }
  .lfm_menu_tab > li > a {
    padding-left: 30px;
    font-size: 18px;
  }
  .lfm_menu_tab .dropdown-menu a {
    padding-left: 50px;
  }
}

/* ========== FOOTER ========== */
.lfm_footer {
  background-color: #800000;
  color: #ffffff;
}

/* ========== BUTTON ========== */
.buttonlink {
  cursor: pointer;
  background: linear-gradient(145deg, #c8102e, #ffd700);
  border: 1px solid #a40e26;
  border-radius: 2px;
  color: #ffffff;
  font-family: arial;
  font-size: 18px;
  font-weight: 500;
  padding: 4px 7px;
  margin: 2px 1px 2px 1px;
  text-decoration: none;
  display: inline-block;
}
.buttonlink:hover {
  background-color: #a40e26;
  color: #ffffff;
  text-decoration: none;
}

/* ========== INFOBAR ========== */
.infobar {
  width: 100%;
  padding: 15px 0;
  color: #ffffff;
  background-color: #c8102e;
}
.infobar h2 {
  color: #ffffff;
}

/* ========== MISC STYLES ========== */
.vcenter {
  display: flex;
  align-items: center;
}

.lfm_title {
  font-family: "Arial";
  color: #333333;
  font-size: 32px;
}

.lfm_descr {
  font-family: "Arial";
  color: #111111;
  font-size: 18px;
}

.lfm_descr_bold {
  font-family: "Arial";
  color: #000000;
  font-size: 18px;
  font-weight: 700;
}

.profilepic_small { width: 40px; height: 40px; }
.profilepic_med { width: 75px; height: 75px; }
.profilepic_large { width: 200px; height: 200px; }

.far, .fas {
  margin-right: 3px;
}

.feedicon {
  color: #c8102e;
  font-size: 20px;
  margin-right: 5px;
}
.red-gold-form {
  background: #fffaf5;
  border: 2px solid #b30000;
  border-radius: 10px;
  padding: 20px;
  max-width: 800px;
  margin: 30px auto;
  box-shadow: 0 0 20px rgba(179, 0, 0, 0.2);
}

.red-gold-form td {
  padding: 6px 8px;
  font-size: 18px;
}

.red-gold-form .formlabelbold {
  font-weight: bold;
  color: #b30000;
}

.red-gold-form input[type="text"],
.red-gold-form input[type="password"],
.red-gold-form input[type="email"],
.red-gold-form select {
  width: 100%;
  padding: 6px;
  border: 1px solid #b30000;
  border-radius: 4px;
}

.red-gold-form input[type="submit"] {
  background: linear-gradient(to right, #b30000, #ffd700);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transition: all 0.3s ease;
}

.red-gold-form input[type="submit"]:hover {
  background: linear-gradient(to right, #ffd700, #b30000);
  color: #000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.red-gold-form select {
  background-color: #fff;
}

/* ===== Red & Gold Bootstrap 4 Theme Overrides ===== */

body {
  background-color: #fffaf0;
  color: #4d0000;
  font-family: 'Segoe UI', sans-serif;
}

/* --- Typography --- */
label,
.formlabelbold,
.table th,
.table td {
  color: #b30000 !important;
  font-weight: 600;
}

/* --- Form Controls --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea,
.form-control,
.custom-select {
  background-color: #fff;
  border: 1px solid #b30000 !important;
  color: #4d0000 !important;
  border-radius: 4px;
  padding: 8px 12px;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus,
.form-control:focus,
.custom-select:focus {
  border-color: #ffd700 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.4);
  background-color: #fffdf5;
}

/* --- Buttons --- */
input[type="submit"],
input[type="button"],
button,
.btn {
  background: linear-gradient(to right, #b30000, #ffd700) !important;
  color: #fff !important;
  font-weight: bold;
  border: none !important;
  border-radius: 25px;
  padding: 10px 20px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.btn:hover {
  background: linear-gradient(to right, #ffd700, #b30000) !important;
  color: #000 !important;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

/* --- Tables --- */
table.table,
table {
  background-color: #fffdf5;
  border-collapse: collapse;
  border: 1px solid #b30000;
  width: 100%;
}

.table th,
.table td,
table th,
table td {
  border: 1px solid #b30000 !important;
  padding: 8px;
  color: #4d0000;
}

.table thead th {
  background: linear-gradient(to right, #b30000, #ffd700);
  color: #fff !important;
}

/* --- Dropdowns --- */
select {
  background-color: #fff;
  background-image: none !important;
  color: #4d0000;
}

/* --- Custom Checkboxes & Radios --- */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #b30000; /* modern browsers */
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #b30000 !important;
  border-color: #b30000 !important;
}

.custom-control-label::before {
  border-color: #b30000 !important;
  background-color: #fff !important;
}

/* --- Alerts & Errors --- */
font[color="red"],
.text-danger,
.alert-danger {
  color: #b30000 !important;
  font-weight: bold;
}

.alert {
  background-color: #fff3cd;
  border-left: 6px solid #b30000;
  color: #4d0000;
}

/* --- Misc --- */
table tr.membertdbold td {
  background: #ffe8cc;
  font-weight: bold;
  color: #b30000;
}

