/*

Theme Name: 
Theme URI: https://mydomainname/
Description: The theme for LFMTE traffic exchanges.
Version: 1.0
Author: Josh Abbott.
Design Modifications by jason Larremore @ Trafficreations.

*/

@charset "utf-8";

/* ===========================
   SERAPHYX COLOR THEME (ONLY)
   - Keeps your logic intact
   - Swaps colors to match:
     Midnight + Gold + Cobalt
=========================== */

/* Main font settings (Seraphyx Premium) */
body{
  font-family: "Cinzel Decorative", "Cinzel", "Trajan Pro", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;                 /* Cinzel reads better at 700 */
  line-height: 1.35;
  letter-spacing: .2px;

  /* Seraphyx gold text */
  color: #ffd98a;

  /* Deep midnight */
  background-color:#040720;

  /* Make it crisp + premium */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;

  /* Subtle gold + cobalt aura (readable, not blurry) */
  text-shadow:
    0 1px 0 rgba(0,0,0,.55),
    0 0 10px rgba(255,217,138,.12),
    0 0 14px rgba(26,156,217,.10);
}

/* Optional: give headings more “Seraphyx” punch */
h1,h2,h3,h4{
  color:#ffe6b3;
  letter-spacing:.6px;
  text-shadow:
    0 2px 0 rgba(0,0,0,.55),
    0 0 14px rgba(255,217,138,.22),
    0 0 18px rgba(26,156,217,.14);
}

/* Optional: make normal paragraph text slightly calmer for readability */
p, td, div{
  font-weight: 600;
}

/* Optional: links look like “cobalt + gold edge” */
a{
  color:#66dbff;
  text-decoration:none;
  text-shadow: 0 0 10px rgba(26,156,217,.18);
}
a:hover{
  color:#ffd98a;
  text-shadow:
    0 0 14px rgba(255,217,138,.25),
    0 0 16px rgba(26,156,217,.18);
}


/* Main styles for the top level of the main menu */
.lfm_menu_bar {
    padding: 0 0 45px;
    margin-bottom: 20px;
}
@media (max-width: 991.98px) {
    .lfm_menu_bar {
        padding-bottom: 0;
        margin-bottom: 20px;
    }
}

/* Site logo styles */
.lfm_menu_logo { max-height: 55px; }
@media (min-width: 992px) {
    .lfm_menu_logo { margin-right: 20px; }
}

/* Desktop View Settings */
@media (min-width: 992px) {
    body {
        margin: 0;
        background-color: #000000;

        /* OPTIONAL: if you want a subtle repeating top strip */
        background-image: url(/themes/i/images/header_repeat.png);
        background-repeat: repeat-x;
    }

    #headerwrapper {
        width: 1500px;
        height: 400px;
        margin-right: auto;
        margin-left: auto;
        clear: both;
        background-color: transparent;
    }

    #header {
        /* Put your new Seraphyx header here */
        background-image: url(/themes/i/images/header_bg5.png);
        background-repeat: no-repeat;
        background-color: transparent;
        width: 1500px;
        height: 400px;
    }
}

/* Mobile View Settings */
@media (max-width: 992px) {
    body {
        margin: 0;

        /* Keep it midnight for Seraphyx */
        background-color: #040720;

        background-image: url(/themes/i/images/mobile_header_bg.jpg);
        background-repeat: repeat-x;
    }

    #headerwrapper {
        width: 300px;
        height: 75px;
        margin-right: auto;
        margin-left: auto;
        clear: both;
        background-color: transparent;
    }

    #header {
        background-image: url(/themes/i/images/mobile_header.png);
        background-repeat: no-repeat;
        width: 300px;
        height: 75px;
        background-color: transparent;
    }
}

/* ===========================
   TOP NAV TABS (LEVEL 1)
=========================== */

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
    font-size: 20px;
    color: #f7fbff;        /* icy white */
    font-weight: 700;
}

/* opened tab */
.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
    background: rgb(26, 156, 217); /* keep your cobalt */
    color: #FFFFFF;
    font-weight: 700;

    /* subtle Seraphyx border */
    border: 1px solid rgba(244,208,122,.45);
}

/* hover (not opened) */
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
    background-color: #d9a441; /* rich gold */
    color: #0b1020;            /* dark ink */
}

/* hover (opened) */
.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
    background-color: #f0b24c; /* brighter gold */
    color: #0b1020;
}

@media (min-width: 992px) {
    .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;
    }

    /* gold edge on hover/open */
    .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 rgba(244,208,122,.65);
        box-shadow: 0 0 14px rgba(26,156,217,.18), inset 0 0 10px rgba(244,208,122,.10);
    }

    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
        content: "";
        background-color: transparent;
        width: calc(100% + 2px);
        height: 14px;
        position: absolute;
        bottom: -10px;
        left: -1px;
        border: 0px solid #DDDDDD;
        border-top: none;
    }
}

@media (max-width: 991.98px) {
    .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 {
        color: #ffffff;
        background-color: #0d1b3d; /* midnight-blue button */
    }

    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
        color: #0b1020;
        background-color: #f0b24c; /* gold hover */
    }

    .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: #f4d07a; /* gold arrow */
        transform: rotate(0deg);
    }

    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
        color: #ffffff;
        transform: rotate(-90deg);
    }
}

/* ===========================
   SECOND LEVEL MENU (LEVEL 2) — MATCH HEADER BORDER
=========================== */

.lfm_menu_tab{
  /* deep obsidian glass */
  background: linear-gradient(180deg, rgba(7,10,20,.98), rgba(0,0,0,.92));
  position:absolute;
  display:none;
  left:0;
  top:100%;
  z-index:999;
  width:100%;
  font-weight:800;

  /* HEADER-LIKE GOLD FRAME */
  border-top: 8px double rgba(255,217,138,.95);
  border-bottom: 8px double rgba(255,217,138,.55);
  border-left: 4px double rgba(255,217,138,.35);
  border-right: 4px double rgba(255,217,138,.35);

  /* “etched” inner lines like art-deco */
  box-shadow:
    0 18px 50px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(26,156,217,.30),
    inset 0 0 0 3px rgba(255,217,138,.12),
    inset 0 0 22px rgba(26,156,217,.10);

  /* optional: helps the border pop on any background */
  backdrop-filter: blur(4px);
}

/* show menu when opened (your logic) */
li.lfm_tab_opened .lfm_menu_tab{ display:flex; }

/* Mobile keeps your behavior */
@media (max-width: 991.98px){
  .lfm_menu_tab{
    position:relative;
    flex-direction:column;
    top:0;
    padding:5px 0;
    border-left: 0;
    border-right: 0;
  }
  li.lfm_tab_closed .lfm_menu_tab{ display:none; }
}

/* links */
.lfm_menu_tab > li > a{
  font-size:20px;
  padding:0 22px;
  line-height:46px;
  color:#f7fbff;
  text-decoration:none;
  display:block;
  font-weight:800;

  /* subtle separators like header trim */
  border-right:1px solid rgba(255,217,138,.12);
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

.lfm_menu_tab > li:last-child > a{ border-right:0; }

/* hover = cobalt + gold glow */
.lfm_menu_tab > li > a:hover{
  background: linear-gradient(90deg, rgba(26,156,217,.92), rgba(255,217,138,.30));
  color:#ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,217,138,.22);
}

/* third level */
.lfm_menu_tab .dropdown-menu a {
    font-size: 15px;
    padding: 0 20px;
    line-height: 32px;
    color: #0b1020;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    background-color: #f0b24c; /* gold */
}
.lfm_menu_tab .dropdown-menu a:hover {
    background-color: #1a9cd9; /* cobalt */
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .lfm_menu_tab > li > a { padding-left: 40px; line-height: 36px; width: 100%; }
    .lfm_menu_tab .dropdown-menu a { padding-left: 50px; }
}

/* Footer */
.lfm_footer {
    background: rgb(13, 27, 61); /* midnight footer */
}

/* Icon settings */
.far, .fas { margin-right:3px; }
.feedicon { color:#1a9cd9; 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 {
    cursor: pointer;
    background-color: #1a9cd9;  /* cobalt */
    border-radius: 2px;
    border: 1px solid rgba(244,208,122,.65); /* gold */
    display: inline-block;
    cursor: pointer;
    color: #0b1020;  /* dark ink looks premium on gold/blue */
    font-family: arial;
    font-size: 18px;
    font-weight: 700;
    padding: 4px 7px;
    margin: 2px 1px 2px 1px;
    text-decoration: none;
}
.buttonlink:hover {
    color: #0b1020;
    background-color: #f0b24c; /* gold hover */
    text-decoration: none;
}

/* infobar */
.infobar {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #f7fbff;
    background-color: rgba(11,16,32,.85); /* midnight glass */
    border-top: 1px solid rgba(244,208,122,.20);
    border-bottom: 1px solid rgba(26,156,217,.25);
}
.infobar h2 { color: #f4d07a; }

/* vcenter */
.vcenter { display: flex; align-items: center; }

/* Text styles (kept, only recolored) */
.lfm_title { font-family: "Arial"; color:#f4d07a; font-size:32px; }
.lfm_descr { font-family: "Arial"; color:#f7fbff; font-size:16px; }
.lfm_descr_bold { font-family: "Arial"; color:#f7fbff; font-size:16px; font-weight:700; }

/* Cinzel helpers kept */
.cinzel-decorative-regular {
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-style: normal;
}
.cinzel-decorative-bold {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-style: normal;
}