/* ================================
   LAND SURVEYORS UNITED - MODERN UI
   Infinity Template Override
================================ */

/* ---------- ROOT DESIGN SYSTEM ---------- */
:root {
  --primary: #ffb300;
  --primary-glow: rgba(255,179,0,0.25);

  --bg-main: #0b1622;
  --bg-card: #132235;
  --bg-elevated: #182c44;

  --text-main: #e6edf3;
  --text-muted: #8aa0b6;

  --border-soft: rgba(255,255,255,0.08);
}

/* ---------- GLOBAL ---------- */
body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
}

a {
  color: var(--primary);
  transition: all 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* ---------- HEADER ---------- */
#xg_head {
  background: #09121c;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ---------- LEFT SIDEBAR ---------- */
.xg_module_nav {
  padding: 10px;
}

.xg_module_nav li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.xg_module_nav li a:hover {
  background: rgba(255,179,0,0.08);
  color: var(--primary);
}

.xg_module_nav li.current a {
  background: rgba(255,179,0,0.15);
  color: var(--primary);
  font-weight: 600;
}

/* ---------- MAIN FEED ---------- */
.xg_module_activity .feed-event {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--border-soft);
  transition: all 0.2s ease;
}

.xg_module_activity .feed-event:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* ---------- POST INPUT ---------- */
textarea {
  background: #0f1e2d;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px;
  color: white;
  width: 100%;
}
div.ningbar.cf {background-color:#111827;}
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

/* ---------- BUTTONS ---------- */
button, .button {
  background: var(--primary);
  color: #000;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  border: none;
}

button:hover {
  transform: translateY(-1px);
}

/* ---------- RIGHT SIDEBAR ---------- */
.xg_module .xg_list li {
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 0;
}

.xg_module .xg_list h3 {
  color: var(--primary);
  font-size: 16px;
}

/* ---------- CARDS / GLASS ---------- */
.xg_module,
.xg_module_activity {
  backdrop-filter: blur(6px);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}


/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */

@media (max-width:768px){

    .form1{width:100%}

    #profile_form.form1{
        background:#eee;
        padding:5px;
    }

}

@media (min-width:769px){

    .newPhotoList-v5 .matrix-itemFluid{
        width:50%;
    }

}
/* Hide all user links initially */
.ningbar-userLinks .ningbar-list,

.ningbar-userLinks select,
.ningbar-userLinks #signout {
    display: none;
}
/* Style for the locale select dropdown */
.ningbar-memberLocale {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #333;
    color: white;
}

badge {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 1em;
  height: 2em;
  line-height: 2em;
  margin-right: .5em;
  padding: 0 .75em;
  background: currentColor;
  font-family: sans-serif;
}

badge:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: 0 1.5em 0 0;
  margin-right: -.75em;
  text-indent: .75em;
  overflow: hidden;
  background-clip: content-box;
}

badge:not(:last-child):after {
  content: '';
  position: absolute;
  top: -.25em;
  bottom: -.25em;
  left: 100%;
  width: 4em;
  margin-left: -1em;
  border-radius: 2em;
  box-shadow: -2em 0 0 0px currentColor;
  z-index: -1;
}
ul.ningbar-userLinks.linkbar { clear: left;}
/*** NING BAR BOX ***/

div.dashboardBar, .ningbar-box.open {
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  position: relative;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  transition: var(--transitionMedium);
}

i.icon.icon-add {
  font-weight: 900;
  font-size: 1.1em!important;
  -webkit-animation-duration: 1.8s;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}
.ningbar-box.open>.ningbar-box-container {
  max-width: 380px;
  height: 400px;
  background-color: white;
  right: 30px;
  top: 20px;
  position: absolute;
  border-radius: 10px;
  min-width: 300px;
  z-index: 2;
  box-shadow: var(--boxShadowLow);
}
.ningbar-profilePhoto {
  padding-right: 5px
}
.ningbar-profilePhoto img {
  border-radius: 50%;
}
.dashboardBar-innerSection, .ningbar .dashboardBarWrap {
  background-color: #111827!important;
}
.dashboardBar-ningLogo {
  display: none;
}
div.module-actions.cf, footer.activityFeed-footer, footer.entry-footnote {
  background: #212121!important;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 5px;
  line-height: 1.3;
  padding: .25em;
  margin: .25em;
  color: #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  /* future proofing */
  -khtml-border-radius: 10px;
  /* for old Konqueror browsers */
}
.ningbar #dashboardBar {
  width: 100%;
  height: 34px;
  background-color: #111827;
}
.ningbar .dashboardBar-ningLogo.ningbar-show {
  display: none!important;
}

span.dashboardBar_title, #membersButton span {
    display: none;
}