/*
Theme Name: NRJ Solutions
Theme URI: https://nrjsolutions.com
Author: NRJ Solutions
Description: Lightweight theme for NRJ Solutions.
Version: 1.0
Text Domain: nrj
*/

/* ================================
   NRJ Theme Styles
   ================================ */

:root {
    --nrj-blue: #002E6D;
    --nrj-grey: #f5f7fa;
    --nrj-text: #3C4757;
    --nrj-white: #ffffff;
    --nrj-shadow: rgba(0,0,0,0.12);
    --header-height: 60px;
}

/* --------------------------------
   Base
----------------------------------- */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--nrj-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 700;
    color: var(--nrj-blue);
}



.nrj-text-3d {
    color: #fff;
    font-weight: 700;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

.section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: auto;
}

.section-title {
    font-size: 2.4rem;
    text-align: center;
    color: var(--nrj-blue);
    margin-bottom: 40px;
}

.section-grey {
    background: var(--nrj-grey);
}

/* --------------------------------
   Header
----------------------------------- */

.nrj-nav {
    display: flex;
    align-items: center;
}

.nrj-header {
    background: var(--nrj-blue);
    padding: 4px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nrj-logo img {
    height: 36px;
    width: auto;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    transition: height 0.25s ease;
}

.nrj-header-inner {
    max-width: 1400px;
    margin: 0;              /* remove auto centering */
    padding: 0 20px;       /* keeps your 20px spacing */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* push everything left */
}

.nrj-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    gap: 30px;
}

.nrj-menu li a {
    color: var(--nrj-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.nrj-menu li a:hover {
    opacity: 0.8;
}

.nrj-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}


body.admin-bar .nrj-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .nrj-header {
        top: 46px;
    }
}

.nrj-hamburger {
    display: none;
}

.nrj-close {
    display: none;
}

@media (max-width: 768px) {

    .nrj-header-inner {
        flex-direction: row;
    }

    .nrj-hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 10001;
        margin-left: auto;
    }

    .nrj-hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        margin: 5px 0;
        background: #ffffff;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    .nrj-nav.open ~ .nrj-hamburger,
    .nrj-hamburger.hide {
        display: none;
    }

    .nrj-nav {
        position: fixed;
        top: 0;
        left: -75%;
        width: 75%;
        height: 100vh;
        background: var(--nrj-blue);
        padding-top: 80px;
        transition: left 0.3s ease;
        z-index: 10000;
        margin-left: 0;
        display: flex;
    	align-items: center;
    }

    .nrj-nav.open {
        left: 0;
    }

    .nrj-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 2rem;
        color: #ffffff;
        cursor: pointer;
        display: block;
    }

    .nrj-menu {
        flex-direction: column;
        gap: 22px;
        padding-left: 20px;
    }
}

.nrj-main {
    flex: 1;
    margin-top: calc(var(--header-height) + 10px);
    padding-left: 20px;
    padding-right: 20px;
}

/* --------------------------------
   Footer
----------------------------------- */
.nrj-footer {
    background: var(--nrj-grey);
    padding: 40px 20px;
}

.nrj-footer img {
    max-width: 140px;
    height: auto;
}

.footer-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-right a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--nrj-blue);
    font-weight: 600;
}



.viewbtn {
  outline: 0;
  grid-gap: 8px;
  align-items: center;
  background-color: rgba(0,16,46,1);
  color: #fff !important;
  border: 1px solid #000;
  border-radius: 10px;
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 16px;
  gap: 8px;
  justify-content: center;
  line-height: 1.5;
  overflow: hidden;
  padding: 4px;
  margin: 2px;
  text-decoration: none;
  text-overflow: ellipsis;
  transition: all .14s ease-out;
  white-space: nowrap;
}
.viewbtn:hover {
  background-color: rgba(15,44,99,1);
  color: #fff !important;
  box-shadow: 4px 4px 0 #000;
  transform: translate(-4px,-4px);
}
.viewbtn:focus-visible {
  outline-offset: 1px;
}
.viewbtn a:visited {
  color: #fff !important; 
}

.btn-sm {
    font-size: 8px !important;
}

.export-view{   
  display: block;
  color: #fff !important;
  background-color: rgba(0,16,46,1);
  padding: 8px 16px;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 10px;
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border: 1px black solid;
    max-width: 160px!important;
}

.export-view:hover {
  background-color: rgba(15,44,99,1);
  color: white !important;
}


.frm_pagination {
    list-style: none;
    padding: 0;
    overflow: hidden;
  }

  .frm_pagination li {
    float: left;
    margin: 0;
    padding: 0;
  }

  .frm_pagination li a {
    display: block;
    padding: 4px 8px;
    background-color: #233452;
    color: #fff;
    text-decoration: none;
    border: 1px solid black;
    border-radius: 4px;
    margin: 0 5px;
  }

  .frm_pagination li.active a {
    background-color: #54a3f7;
  }
    .frm_pagination li a:hover {
        background-color: #54a3f7;
        color: white !important;
    }

  .frm_pagination li.dots.disabled,
  .frm_pagination li.prev a {
    background-color: #ccc;
    border-color: #999;
  }

