@charset "UTF-8";
@import url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css");
@import url("https://cdn.datatables.net/responsive/1.0.0/css/dataTables.responsive.css");
/* CSS Document */
/* ---------- START CSS RESET ---------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

ins,
a {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: #ccc;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #ccc;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #d8e6ef; /* WebKit/Blink Browsers */
}

::-moz-selection {
  background: #d8e6ef; /* Gecko Browsers */
}

/* ---------- END CSS RESET ---------- */

/* ----------START FONT FACE ---------- */

@font-face {
  font-family: "helvetica-reg";
  src: url("fonts/helvetica-fonts/regular/helvetica-regular.eot");
  src:
    url("fonts/helvetica-fonts/regular/helvetica-regular.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/helvetica-fonts/regular/helvetica-regular.woff") format("woff"),
    url("fonts/helvetica-fonts/regular/helvetica-regular.ttf")
      format("truetype"),
    url("fonts/helvetica-fonts/regular/helvetica-regular.svg#helvetica-regular")
      format("svg");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "helvetica-bold";
  src: url("fonts/helvetica-fonts/regular/helvetica-bold.eot");
  src:
    url("fonts/helvetica-fonts/bold/helvetica-bold.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/helvetica-fonts/bold/helvetica-bold.woff") format("woff"),
    url("fonts/helvetica-fonts/bold/helvetica-bold.ttf") format("truetype"),
    url("fonts/helvetica-fonts/bold/helvetica-bold.svg#helvetica-bold")
      format("svg");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "helvetica-light";
  src: url("fonts/helvetica-fonts/regular/helvetica-light.eot");
  src:
    url("fonts/helvetica-fonts/light/helvetica-light.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/helvetica-fonts/light/helvetica-light.woff") format("woff"),
    url("fonts/helvetica-fonts/light/helvetica-light.ttf") format("truetype"),
    url("fonts/helvetica-fonts/light/helvetica-light.svg#helvetica-light")
      format("svg");
  font-weight: 500;
  font-style: normal;
}

/* ----------END FONT FACE ---------- */

/* ----------START MOBILE  ---------- */

.wrapper {
  width: 100%;
  overflow: hidden;
}

.navbar-inverse.black {
  background-color: #000;
}

.visits {
  font-weight: 700;
  display: block;
}

.bgimage {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#hamburger {
  display: block;
  width: 60px;
  height: 40px;
  cursor: pointer;
  right: 0px;
  top: 14px;
  visibility: visible;
  opacity: 1;
}

#hamburger.nav-icon {
  position: absolute;
  display: block;
  cursor: pointer;
  z-index: 30;
  width: 35px;
  right: 10px;
  top: 27px;
  right: 20px;
  visibility: visible;
  opacity: 1;
  height: 20px;
}

#hamburger.nav-icon span {
  width: 100%;
  height: 2px;
  width: 100%;
  left: 0;
  background: white;
  display: block;
  position: absolute;
}

#hamburger.nav-icon span:nth-of-type(1) {
  top: 0;
}

#hamburger.nav-icon span:nth-of-type(2) {
  top: 9px;
}

#hamburger.nav-icon span:nth-of-type(3) {
  top: 18px;
}

#hamburger.nav-icon.on span:nth-of-type(1) {
  transform: rotate(132deg);
  top: 10px;
}

#hamburger.nav-icon.on span:nth-of-type(2) {
  visibility: none;
  opacity: 0;
}

#hamburger.nav-icon.on span:nth-of-type(3) {
  transform: rotate(228deg);
  top: 10px;
}

html,
body {
  height: 100%;
}

.coverpage header {
  width: 100%;
  height: 100%;
}

.coverpage header .logo {
  text-align: right;
  padding: 40px;
}

.coverpage header .logo img {
  width: 100px;
}

.loginpage header .logo {
  text-align: center;
  padding: 40px;
}

.loginpage header .logo img {
  width: 100px;
}

.coverpage header .centerheadlines h1 {
  font-size: 52px;
  letter-spacing: 0px;
}

.coverpage header .centerheadlines h1 .tm {
  font-size: 28px;
  top: -27px;
  position: relative;
}

.coverpage header .centerheadlines h2 {
  font-size: 35px;
  letter-spacing: -2px;
  padding-left: 6px;
}

.coverpage header .centerheadlines {
  text-align: left;
  padding: 40px;
  margin: 0px auto;
}

.coverpage header .addresslockup {
  text-align: right;
  padding: 0px 40px 40px 40px;
  margin: 0px 0px;
}

@media only screen and (max-width: 635px) {
  .coverpage header .addresslockup {
    text-align: right;
    padding: 0px 40px 40px 40px;
    margin: 0px 0px;
    float: left;
  }
}

.clearfloats {
  clear: both;
}

.coverpage header .addresslockup .lockup {
  text-align: left;
  line-height: 130%;
  letter-spacing: -1px;
  font-size: 14px;
}

.coverpage header .addresslockup .lockup .nwg {
  margin: 0 auto;
}

.graphpage header {
  width: 22%;
  height: 100%;
  border-right: 1px solid #ccc;
  position: fixed;
  left: 0px;
  overflow-y: auto;
  z-index: 10;
}

.graphpage nav {
  width: 100%;
  height: 100%;
}

nav {
  /*padding:20px;*/
}

nav .logo img {
  width: 130px;
  padding: 20px;
}

.menu-header {
  padding-bottom: 30px;
  font-size: 21px;
  font-weight: 700;
  color: #bbbdc0;
  padding-left: 30px;
}

nav ul li {
  width: 100%;
  line-height: 100%;
  border-bottom: 1px solid #ccc;
  border-left: 5px solid #7aafff;
  cursor: pointer;
}

nav ul li a {
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
}

nav ul li:first-child {
  border-top: 1px solid #ccc;
}

nav ul li.selected {
  border-left: 5px solid #f04e37;
}

nav ul li .fa {
  font-size: 20px;
}

nav .logo img,
.navlabel,
nav ul li {
  padding-left: 30px;
  position: relative;
  display: block;
}

.navlabel {
  font-size: 12px;
  margin-bottom: 15px;
  margin-left: 6px;
}

nav ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

nav ul li .fa {
  flex: 1;
}

nav ul li .label {
  flex: 5;
  text-align: left;
  font-size: 14px;
  display: inline;
}

nav ul li.selected .label {
  font-size: 16px;
  padding-top: 9px;
  color: #a9a9a9 !important;
}

nav ul li:hover {
  border-left: 5px solid #f04e37;
  color: #45474a;
}

section.maincontent {
  position: relative;
  padding-bottom: 50px;
}

section.maincontent .pagetitle {
  padding: 40px;
  font-size: 28px;
  text-align: left;
  letter-spacing: -1.4px;
}

.sdivider {
  margin: 15px 0px;
  width: 160px;
  height: 3px;
}

.nwglogo {
  margin: 20px 0px 0px 20px;
}

.nwglogo img {
  width: 60px;
}

.coverpage .enter .fa {
  font-size: 30px;
  padding: 30px 0px 30px 30px;
}

.loginpage .form {
  width: 80%;
  max-width: 450px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  box-shadow:
    0 0px 24px 0 rgba(0, 0, 0, 0.06),
    0 1px 0px 0 rgba(0, 0, 0, 0.02);
}

.loginpage .form.grid-form {
  max-width: 550px;
}

.loginpage .form .contactfield {
  width: 100%;
  max-width: 300px;
  display: block;
  position: relative;
  padding: 10px 10px;
  outline: 0;
  font-size: 16px;
  margin: 20px auto;
  letter-spacing: -1px;
  border: 1px solid #d1d1d1;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px white inset;
}

.loginpage .form .contactfield:focus {
  background-color: #fff;
}

.loginpage .form .form-group {
  margin-top: 15px;
}

.loginpage .form .form-group .contactfield {
  margin: 0 auto;
}

.loginpage .form .form-group label {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: auto;
  text-align: left;
  font-size: 13px;
}

a.btn {
  display: inline-block;
  padding: 14px 40px 10px;
  text-align: center;
}

.loginpage .btn {
  width: 100%;
  max-width: 300px;
}

.loginpage .form h1 {
  font-size: 17px;
}

.loginpage .btn,
.loginpage .form .contactfield,
.loginpage .form {
  border-radius: 3px;
}

@media (max-width: 992px) {
  body {
    padding-top: 51px;
  }
}

@media (min-width: 992px) {
  .lef-sidebar_container {
    width: 22% !important;
  }

  .main-page_container {
    width: 78% !important;
  }
}

/* ---------- Tablet Navbar ------------*/

@media (max-width: 992px) {
  .navbar-header {
    float: none;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }

  .navbar-nav > li {
    float: none;
  }

  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .collapse.in {
    display: block !important;
  }
}

.coverpage #changeDateRangeForm {
  margin-top: 20px;
}

.coverpage #changeDateRangeForm .holdfield input {
  background: transparent;
  border: 0px;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  font-size: 24px;
  margin: 0 -4px;
  padding: 10px 3px !important;
}

.coverpage #changeDateRangeForm select {
  background: transparent;
  border: 0px;
  font-size: 21px;
  border-bottom: 1px solid #fff;
  font-size: 24px;
  cursor: pointer;
  border-radius: 0px;
  outline: 0;
  margin: 22px 0px;
  /*
        background: #f8f8f8;
     -webkit-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
     -moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
     box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;*/
  /*-webkit-appearance: none;
    -moz-appearance: none;
    padding: 11px 10px 3px;*/
}

.coverpage #export-pdf {
  background: transparent;
  border-radius: 0px;
  color: rgba(191, 191, 191, 0.87);
  font: inherit;
}
@media (min-width: 1366px) {
  .coverpage #export-pdf {
    margin: auto 6px;
    width: calc(100% - 12px);
  }
}

.coverpage .holdfield,
.coverpage #changeDateRangeForm select,
.coverpage #changeDateRangeForm input {
  display: block;
}

.coverpage .holdfield {
  text-align: left;
  margin: 28px auto;
}

.coverpage input.checkboxinput {
  display: inline !important;
}

.coverpage .checkboxlabel {
  display: inline;
  margin: 10px 0px;
}

/* ---------- END MOBILE  ---------- */

/* ---------- UI Edits ----------- */
.chart {
  padding: 25px 20px 0px 15px;
  background-color: white;
}

.chart-2 {
  padding: 0px 10px 30px 10px;
  background-color: white;
}

.chart-title {
  font-size: 20px;
  text-align: center;
  margin: 40px 0px 15px;
}

.hide_column {
  display: none;
}

.main-header {
  font-weight: 700;
}

.board-title {
  font-weight: 700;
  font-size: 120%;
  padding-bottom: 20px;
}

/***** Green Plus Sign and minus to fontawsome ****/
table.dataTable.dtr-inline.collapsed tbody td:first-child:before,
table.dataTable.dtr-inline.collapsed tbody th:first-child:before {
  font: normal normal normal 14px/1 FontAwesome;
  content: "\f067";
  padding: 1px 0px 0px 1px;
  line-height: 16px;
  color: white;
  background-color: black;
  border: 0px;
  box-shadow: none;
}

table.dataTable.dtr-inline.collapsed tbody tr.parent td:first-child:before,
table.dataTable.dtr-inline.collapsed tbody tr.parent th:first-child:before {
  font: normal normal normal 14px/1 FontAwesome;
  content: "\f068";
  padding: 1px 0px 0px 1px;
  line-height: 16px;
  color: white;
  background-color: black;
  border: 0px;
  box-shadow: none;
}

.secondHeader {
  font-size: 24px;
}

svg {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* ---------- UI Edits ----------- */

/* ---------- BREAK POINTS  ---------- */

.coverpage header .centerheadlines h1 {
  letter-spacing: -5px;
  text-align: center;
  width: 9vw;
}

@media (min-width: 636px) {
  .coverpage .holdfield,
  .coverpage #changeDateRangeForm select,
  .coverpage #changeDateRangeForm input {
    display: block;
  }

  .coverpage .holdfield {
    margin: 10px;
  }

  .coverpage .checkboxlabel {
    display: inline;
  }

  .coverpage header .centerheadlines {
    padding: 40px;
    margin: 100px auto auto auto;
  }
}

@media (min-width: 768px) {
  .coverpage header .centerheadlines h1 {
    font-size: 12.5vw;
  }
}

@media (min-width: 1280px) {
  .coverpage header .centerheadlines h1 {
    font-size: 7vw !important;
  }
}

@media only screen and (min-width: 912px) {
  .coverpage header .centerheadlines h1 {
    font-size: 11.5vw;
  }
}
@media only screen and (min-width: 820px) {
  .coverpage header .centerheadlines h1 {
    font-size: 12.5vw;
  }
}
@media only screen and (min-width: 768px) {
  .coverpage header .centerheadlines h1 {
    font-size: 13.5vw;
  }
}
@media only screen and (min-width: 540px) {
  .coverpage header .centerheadlines h1 {
    font-size: 14.5vw;
  }
}
@media only screen and (min-width: 344px) {
  .coverpage header .centerheadlines h1 {
    font-size: 12.5vw;
  }
}

@media (min-width: 992px) {
  .coverpage header .centerheadlines h1 .tm {
    font-size: 30px;
    top: -76px;
  }

  .coverpage header .addresslockup {
    padding: 0px 40px 40px 40px;
    margin: 0px 0px;
  }

  .coverpage header .centerheadlines h1 {
    font-size: 9.5vw;
  }

  .coverpage .holdfield:nth-child(4) {
    display: block;
  }
}

/* iPhone and Mobiles */
@media screen and (max-width: 430px) {
  .coverpage header .centerheadlines h2 {
    padding-left: 0px !important;
  }

  .coverpage #changeDateRangeForm {
    margin-left: 17px !important;
  }

  .emailsEditor__list {
    padding: 8px 0px !important;
    margin-bottom: 30px !important;
  }

  .coverpage .holdfield {
    margin: 0px auto !important;
    margin-bottom: 30px !important;
  }

  #select-account.mt-5 {
    margin-top: 0px !important;
  }

  .coverpage #export-pdf {
    margin-top: 30px;
  }

  .select-account-web {
    margin-left: -4px !important;
  }

  .select-account-mb-4 {
    margin-bottom: 15px !important;
  }
}

/* Small Laptops */
@media only screen and (min-width: 768px) and (max-height: 800px) {
  .coverpage header .centerheadlines {
    padding: 40px 40px 0px 40px;
    margin: 30px auto;
  }

  .coverpage header .addresslockup {
    padding: 0px 40px;
    margin: 0px 0px;
  }
}

/*  Laptops */
@media only screen and (min-width: 768px) and (min-height: 1000px) {
  .coverpage header .addresslockup {
    padding: 0px 40px;
    margin: 0px 0px;
    right: 0px;
    /*bottom:40px;*/
    position: absolute;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1039px) {
  .main-page_container {
    width: 74% !important;
  }

  .graphpage header,
  .lef-sidebar_container {
    width: 26% !important;
  }

  .coverpage #export-pdf {
    width: calc(100% - 15px);
    margin-left: 5px;
    margin-top: 30px;
  }

  .coverpage #changeDateRangeForm select {
    width: calc(100% + 7px);
    margin-left: -4px;
  }

  #select-account.mt-5 {
    margin-top: 0px !important;
  }

  .emailsEditor__list {
    margin-bottom: 30px !important;
  }

  .coverpage .holdfield {
    margin: 0px 10px !important;
    margin-bottom: 30px !important;
  }
}

/* ---------- ACROSS THE BOARD VARIABLES ---------- */

/*------- FONTS ------- */

html,
body,
section.maincontent .pagetitle {
  font-family: "helvetica-reg";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.coverpage header .centerheadlines h1 .new,
.coverpage header .addresslockup .lockup .nwg,
.coverpage header .addresslockup .lockup .domain,
nav ul li.selected,
.loginpage .form h1 {
  font-family: "helvetica-bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.coverpage header .centerheadlines h1 .metrics {
  font-family: "helvetica-light";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*-------  COLORS -------*/

/* WHITE */
.coverpage header,
.coverpage header .centerheadlines,
.navlabel,
nav ul li,
nav ul li .label {
  color: #bbbdc0;
}

.loginpage .btn {
  color: #fff;
}

.navlabel,
nav ul li {
  color: #a0a2a7;
}

header .brandlockup .col h1,
nav ul li .fa,
.coverpage .enter a .fa {
  color: #7aafff;
}

.x {
  color: #f04e37;
}

/* BLACK */
nav ul li.selected,
section.maincontent .pagetitle,
nav ul li:hover .label {
  color: #45474a;
}

.x {
  color: #7aafff;
}

/*------- BACKGROUND COLORS ------- */

/* BACKGROUND COLOR */
.graphpage header,
body.coverpage {
  background-color: #000;
}

nav ul li.selected {
  background-color: #dfe0e2;
}

nav ul li:hover,
body.loginpage,
body.graphpage {
  background-color: #dfe0e2;
}

body.loginpage .form {
  background-color: #fff;
}

.x {
  background-color: #a9a9a9;
}

.sdivider {
  background-color: #7aafff;
}

.loginpage .btn {
  background-color: #f04e37;
}

/*-------  TEXT FORMATTING ------- */

/* UPPERCASE*/
.navlabel,
.loginpage .form h1 {
  text-transform: uppercase;
}

/* Capitalize */
.x {
  text-transform: capitalize;
}

/* NO UNDERLINE */
.x {
  text-decoration: none;
}

/* BORDER BOXING  */
.x {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* TEXT CENTER */
.x {
  text-align: center;
}

/* ------ ANIMATION ---------*/

.x {
  -webkit-animation: moveup;
  -moz-animation: moveup;
  -o-animation: moveup;
  animation: moveup;
}

.x {
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}

.x {
  -webkit-animation-timing-function: linear; /* Safari 4.0 - 8.0 */
  animation-timing-function: linear;
}

.x {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.x {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
}

@keyframes moveup {
  0% {
    bottom: -140px;
  }
  100% {
    bottom: 0px;
  }
}

/* ------ END ANIMATION ---------*/

/* ------ TRANSITIONS ---------*/

nav ul li {
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.x {
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  -o-transition-timing-function: linear;
  transition-timing-function: linear;
}

#hamburger.nav-icon span {
  -moz-transition: all 320ms cubic-bezier(0.165, 0.84, 0.44, 1) 0ms;
  -o-transition: all 320ms cubic-bezier(0.165, 0.84, 0.44, 1) 0ms;
  -webkit-transition: all 320ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transition-delay: 0ms;
  transition: all 320ms cubic-bezier(0.165, 0.84, 0.44, 1) 0ms;
}

.x {
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  -o-transition-timing-function: linear;
  transition-timing-function: linear;
}

.x {
  -webkit-transition-delay: 0.1s; /* Safari */
  transition-delay: 0.1s;
}

.x {
  -webkit-transition-timing-function: cubic-bezier(
    0.86,
    0.03,
    0.53,
    1.01
  ); /* Safari and Chrome */
  transition-timing-function: cubic-bezier(0.86, 0.03, 0.53, 1.01);
}

/* ------ END TRANSITIONS ---------*/

/*-------  ANIMATIONS KEYFRAMES  ------- */
.wrapper,
.container {
  animation: fadein 1s;
  -moz-animation: fadein 1s;
  -webkit-animation: fadein 1s;
  -o-animation: fadein 1s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

li a:hover {
  text-decoration: none !important;
}

/*------- Dashboard Edits -----------*/
@media (max-width: 1039px) {
  #usersDataTable.table {
    table-layout: auto !important;
    width: 100% !important;
    word-wrap: normal !important;
  }

  #usersDataTable thead tr td:first-child {
    width: initial !important;
  }
}

/*---------- Total Row Bold ----------*/
table#adsLinksDataTable tbody tr:last-child,
table#adsImagesDataTable tbody tr:last-child {
  font-weight: 700;
}

@media (min-width: 780px) {
  .overall-summary {
    padding-left: 40px !important;
  }
}

@media (max-width: 720px) {
  .overall-summary {
    padding-left: 4px !important;
  }
}

@media (min-width: 780px) {
  .margin-45 {
    margin-top: 0px !important;
  }
}

@media (max-width: 720px) {
  .margin-45 {
    margin-top: 45px !important;
  }
}

.custom-dropdown {
  min-width: 256px !important;

  background: none !important;
  border: none !important;
  border-bottom: 1px solid #fff !important;
  font-size: 24px !important;

  margin: -25px 0px 0px -4px !important;
  border-radius: 0 !important;
  width: calc(100% + 7px) !important;
}

.ui.multiple.dropdown > .label {
  font-size: 0.6em !important;
}

i.dropdown.icon {
  color: lightgray !important;
}

.ui.multiple.dropdown {
  padding: 15px 30px 0px 0px !important;
}

.ui.selection.dropdown > .dropdown.icon {
  top: 40px !important;
  right: 0em !important;
  line-height: 10px !important;
  margin-top: -10px !important;
}

.ui.dropdown > .dropdown.icon {
  font-size: 15px !important;
}

.ui.multiple.dropdown > .text {
  margin: 15px 0px 0px 5px !important;
}

/*** Start admin pages styles ***/
/** Navbar **/
.bg-dark {
  background-color: #343a40 !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/** .main-wrapper **/
.main-wrapper .navbar {
  font-size: 0.875rem;
  border-radius: 0 !important;
  padding: 0.5rem 0rem 0;
}

.main-wrapper .navbar .navbar-brand {
  color: #fff;
  font-family: "helvetica-bold";
  font-weight: 300;
  letter-spacing: -0.5px;
  font-size: 2rem;
}
.main-wrapper .navbar .navbar-brand span {
  font-family: "helvetica-light";
  font-weight: 300;
}
.main-wrapper .navbar .navbar-brand sup {
  font-size: 0.5em;
  position: relative;
  top: -0.75em;
}

.main-wrapper .navbar ul.navbar-nav {
  float: right !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.main-wrapper .navbar ul.navbar-nav li {
  border: none;
}

.main-wrapper .navbar ul.navbar-nav li:hover {
  background-color: transparent;
}

.main-wrapper .navbar ul.navbar-nav li a.nav-link {
  color: rgba(255, 255, 255, 0.5);
}

.main-wrapper .navbar ul.navbar-nav li a.nav-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 992px) {
  .main-wrapper .navbar .navbar-collapse.collapse {
    display: none !important;
  }
}

.main-wrapper .navbar .navbar-collapse ul.navbar-nav {
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0rem !important;
}

.main-wrapper .navbar .navbar-collapse ul.navbar-nav li {
  padding-left: 0;
}

/*** sidebar ***/
.main-wrapper .main-content {
  margin-top: 60px;
}
@media (min-width: 992px) {
  .main-wrapper .main-content {
    margin-top: 120px;
  }
}
@media (min-width: 576px) {
  .ml-sm-auto,
  .mx-sm-auto {
    margin-left: auto !important;
  }
}

.main-wrapper .main-content .sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  background-color: #f8f9fa !important;
  z-index: 100;
  padding: 80px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.main-wrapper .main-content .sidebar ul li.nav-item {
  border: none !important;
  padding-left: 0;
}

.main-wrapper .main-content .sidebar ul li.nav-item a {
  color: #333;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
}

.main-wrapper .main-content .sidebar ul li.nav-item a.active {
  color: #007bff;
}

.main-wrapper .main-content .sidebar ul li.nav-item a:hover,
.main-wrapper .main-content .sidebar ul li.nav-item:hover {
  background-color: transparent;
  opacity: 1;
}

.main-wrapper .main-content .main-page {
  float: right;
}

@media (max-width: 992px) {
  .main-wrapper .main-content .main-page {
    float: none;
  }
}

/*** End admin pages styles ***/

/* =========================================================================
   WEB DASHBOARD REDESIGN (2026)
   Scoped to body.graphpage / .graphpage header so the cover, login, PDF and
   mobile top-navbar are left untouched. Style-only; no markup dependencies
   beyond the grouped sidebar structure in gdUi/header.blade.php.
   ========================================================================= */

/* ---- Palette / fonts ---- */
body.graphpage,
body.graphpage nav ul li,
body.graphpage nav ul li.selected,
body.graphpage section.maincontent,
body.graphpage section.maincontent .pagetitle,
body.graphpage .board-title,
body.graphpage .main-header,
body.graphpage .secondHeader,
body.graphpage .navlabel,
body.graphpage .nm-brand-name,
body.graphpage .nm-account-name {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

body.graphpage {
  /* Brand tokens — change these two to retheme the whole dashboard accent. */
  --nm-red: #df2019;
  --nm-red-pill: #fbe4e2;
  background-color: #f4f4f3;
}

/* ---- Sidebar shell ---- */
.graphpage header {
  background-color: #fff;
  border-right: 1px solid #ececec;
  overflow: hidden;
}

.graphpage header nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* ---- Brand lockup ---- */
.graphpage header .nm-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 22px 20px;
}

.graphpage header .nm-brand-logo {
  display: block;
  line-height: 0;
}

.graphpage header .nm-brand-logo img {
  width: 46px;
  height: auto;
  padding: 0;
  display: block;
}

.graphpage header .nm-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.graphpage header .nm-brand-name {
  font-size: 21px;
  font-weight: 800;
  color: #1a1a1c;
  letter-spacing: -0.3px;
}

.graphpage header .nm-brand-beta {
  font-size: 11px;
  font-weight: 700;
  color: var(--nm-red);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---- Scrollable nav area ---- */
.graphpage header .nm-nav-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 0 12px;
}

.graphpage header .nm-group {
  margin: 0 0 28px;
}

.graphpage header .nm-group .navlabel {
  padding: 0 24px 12px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #9b9ba1;
  text-transform: uppercase;
}

.graphpage header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

/* ---- Nav items: kill legacy borders/accents, use rounded pills ---- */
.graphpage header nav ul li,
.graphpage header nav ul li:first-child,
.graphpage header nav ul li:hover,
.graphpage header nav ul li.selected {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  line-height: normal;
  padding: 0 12px;
  margin: 3px 0;
}

.graphpage header nav ul li a {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 9px;
  transition:
    background-color 0.12s ease,
    color 0.12s ease;
}

.graphpage header nav ul li .fa {
  flex: 0 0 20px;
  width: 20px;
  text-align: center;
  font-size: 17px;
  color: #6a6b70;
}

.graphpage header nav ul li .label {
  flex: 1 1 auto;
  display: block;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #3a3b41;
  padding: 0;
}

/* Hover */
.graphpage header nav ul li a:hover {
  background: #f4f4f5;
}

.graphpage header nav ul li a:hover .label {
  color: #1a1a1c;
}

/* Active pill */
.graphpage header nav ul li.selected a {
  background: var(--nm-red-pill);
}

.graphpage header nav ul li.selected .fa {
  color: var(--nm-red);
}

.graphpage header nav ul li.selected .label {
  color: var(--nm-red) !important;
  font-size: 15px;
  font-weight: 700;
  padding-top: 0;
}

/* ---- Account / logout block pinned to the bottom ---- */
.graphpage header .nm-account {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid #ececec;
  text-decoration: none;
}

.graphpage header .nm-account:hover {
  background: #f7f7f8;
}

.graphpage header .nm-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--nm-red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.graphpage header .nm-account-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.graphpage header .nm-logout-icon {
  flex: 0 0 auto;
  color: #9b9ba1;
  font-size: 16px;
}

.graphpage header .nm-account:hover .nm-logout-icon {
  color: var(--nm-red);
}

/* ---- Main content headers ---- */
.graphpage .board-title {
  font-size: 44px;
  font-weight: 800;
  color: #141416;
  letter-spacing: -1.6px;
  line-height: 1.05;
  padding-bottom: 8px;
}

.graphpage .main-header {
  font-size: 30px;
  font-weight: 600;
  color: #4a4b52;
  letter-spacing: -0.5px;
  margin-top: 0;
}

.graphpage .secondHeader {
  font-size: 19px;
  font-weight: 400;
  color: #6a6b72;
}

.graphpage .sdivider {
  background-color: var(--nm-red);
  width: 210px;
  height: 3px;
  margin: 14px 0 30px;
}

/* ---- Metric blocks (shared by Overall Summary + Social Campaigns Performance) ---- */
.graphpage .overall-summary .row {
  padding: 0 0 10px 10px;
}

.graphpage .overall-summary .metric {
  margin-bottom: 42px;
}

.graphpage .overall-summary .metric-title {
  margin: 0;
  padding: 0;
  font-size: 23px;
  font-weight: 700;
  color: #16171a;
  line-height: 1.2;
}

.graphpage .overall-summary .metric-label {
  margin: 2px 0 20px;
  padding: 0;
  font-size: 19px;
  font-weight: 400;
  color: #6e6f76;
  line-height: 1.2;
}

.graphpage .overall-summary .metric-value {
  display: block;
  font-size: 76px;
  font-weight: 800;
  color: #141416;
  line-height: 1;
  letter-spacing: -1px;
}

.graphpage .overall-summary .metric-total {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 400;
  color: #939598;
}

/* ---- Mobile top-navbar: match the redesigned sidebar (shown < 992px) ---- */
.graphpage .nm-mobile.navbar {
  background-color: #fff;
  border: 0;
  border-bottom: 1px solid #ececec;
}

/* Top bar: red logo + hamburger */
.graphpage .nm-mobile .navbar-brand {
  height: auto;
  padding: 7px 14px;
  display: flex;
  align-items: center;
}

.graphpage .nm-mobile .navbar-brand img {
  width: 36px;
  height: auto;
}

.graphpage .nm-mobile .navbar-toggle {
  border: 1px solid #e2e2e4;
  border-radius: 8px;
  margin-top: 13px;
}

.graphpage .nm-mobile .navbar-toggle .icon-bar {
  background-color: #45474a;
}

.graphpage .nm-mobile .navbar-toggle:hover,
.graphpage .nm-mobile .navbar-toggle:focus {
  background-color: #f4f4f5;
}

/* Dropdown panel */
.graphpage .nm-mobile .navbar-collapse {
  background: #fff;
  border: 0;
  box-shadow: none;
  padding: 10px 8px 16px;
  overflow-y: auto;
}

/* When open, fill the whole screen below the fixed bar so the page never
   peeks through at the bottom; scroll the menu internally if it's tall. */
.graphpage .nm-mobile .navbar-collapse.in {
  height: calc(100vh - 50px);
  max-height: calc(100vh - 50px);
}

.graphpage .nm-mobile .nm-group {
  margin: 0 0 20px;
}

.graphpage .nm-mobile .nm-group .navlabel {
  padding: 0 16px 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #9b9ba1;
  text-transform: uppercase;
}

.graphpage .nm-mobile .navbar-nav {
  margin: 0;
}

.graphpage .nm-mobile .navbar-nav > li,
.graphpage .nm-mobile .navbar-nav > li:first-child,
.graphpage .nm-mobile .navbar-nav > li:hover,
.graphpage .nm-mobile .navbar-nav > li.selected {
  border: 0;
  background: transparent;
  padding: 0 8px;
  margin: 2px 0;
}

.graphpage .nm-mobile .navbar-nav > li > a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 12px;
  border-radius: 9px;
  background: transparent;
}

.graphpage .nm-mobile .navbar-nav > li > a .fa {
  flex: 0 0 20px;
  width: 20px;
  text-align: center;
  font-size: 17px;
  color: #6a6b70;
}

.graphpage .nm-mobile .navbar-nav > li > a .label {
  flex: 1 1 auto;
  display: block;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #3a3b41;
  padding: 0;
}

.graphpage .nm-mobile .navbar-nav > li > a:hover {
  background: #f4f4f5;
}

.graphpage .nm-mobile .navbar-nav > li.selected > a {
  background: var(--nm-red-pill);
}

.graphpage .nm-mobile .navbar-nav > li.selected > a .fa,
.graphpage .nm-mobile .navbar-nav > li.selected > a .label {
  color: var(--nm-red) !important;
}

/* Account / logout row */
.graphpage .nm-mobile .nm-account {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 8px 0;
  padding: 14px 12px;
  border-top: 1px solid #ececec;
  text-decoration: none;
}

.graphpage .nm-mobile .nm-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nm-red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.graphpage .nm-mobile .nm-account-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.graphpage .nm-mobile .nm-logout-icon {
  flex: 0 0 auto;
  color: #9b9ba1;
  font-size: 16px;
}

/* End web dashboard redesign */

/* =========================================================================
   Login + Admin (PDF export / Web search) redesign
   Matches the web-dashboard redesign system: Inter, white cards on a light
   background, single --nm-red accent. UI only — no behaviour changes.
   ========================================================================= */

body.loginpage,
body.coverpage.adminredesign {
  /* Brand tokens — retune the accent here and everything follows. */
  --nm-red: #df2019;
  --nm-red-hover: #c01109;
  --nm-red-pill: #fbe4e2;
  --nm-ink: #17181a;
  --nm-label: #3a3b41;
  --nm-muted: #9b9ba1;
  --nm-border: #dcdcde;
  --nm-card: #ffffff;
  --nm-page: #f4f2f4;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* SVG field glyphs (calendar for dates, chevron for selects) */
body.loginpage,
body.coverpage.adminredesign {
  --nm-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%239b9ba1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  --nm-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236a6b70' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- LOGIN -- */

body.loginpage {
  background-color: var(--nm-page);
  min-height: 100vh;
}

.loginpage header {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .loginpage header {
    justify-content: center;
    transform: translateY(-10%);
  }
}
.nm-login {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 20px;
}

.nm-login-logo {
  text-align: center;
  margin-bottom: 26px;
  /* display: flex;
  flex-direction: row; */
}

/* .nm-login-logo .nm-brand-text {
  font-weight: 800;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.nm-login-logo .nm-brand-text .nm-brand-sub {
  color: var(--nm-red);
} */

.nm-login-logo img {
  width: 80px;
  height: auto;
}

.loginpage .form {
  width: 100%;
  max-width: none;
  background: var(--nm-card);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20, 20, 25, 0.08);
  padding: 32px 34px 34px;
  text-align: left;
}

.loginpage .form h1 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nm-ink);
  margin: 0 0 26px;
  font-family: inherit;
}

.loginpage .nm-field {
  margin-bottom: 20px;
}

.loginpage .nm-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--nm-label);
  margin: 0 0 8px 2px;
}

.loginpage .form .contactfield {
  width: 100%;
  max-width: none;
  display: block;
  margin: 0;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--nm-ink);
  background: #fff;
  border: 1px solid var(--nm-border);
  border-radius: 10px;
  letter-spacing: normal;
}

.loginpage .form .contactfield::placeholder {
  color: var(--nm-muted);
}

.loginpage .form .contactfield:focus {
  border-color: var(--nm-red);
  background: #fff;
}

.loginpage .btn {
  display: block;
  width: 100%;
  max-width: none;
  padding: 14px;
  background: var(--nm-red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border-radius: 11px;
  font-family: inherit;
}

.loginpage .btn:hover {
  background: var(--nm-red-hover);
  color: #fff;
}

.loginpage .help-block {
  display: block;
  color: var(--nm-red);
  font-size: 13px;
  margin: 6px 2px 0;
}

.nm-login-footer {
  text-align: center;
  font-size: 15px;
  margin-top: 26px;
  font-family: "helvetica-light";
  letter-spacing: -0.5px;
}
.nm-login-footer span {
  font-weight: 300;
  font-family: "helvetica-bold";
}

.nm-login-footer span sup {
  font-size: 0.5em;
  position: relative;
  top: -0.75em;
}

/* --------------------------------------------------- ADMIN (PDF / WEB) -- */

body.coverpage.adminredesign {
  background-color: var(--nm-page);
  height: auto;
  min-height: 100vh;
}

.adminredesign header {
  height: auto;
  min-height: 100vh;
  padding: 8px 0 40px;
}

.adminredesign header .row {
  justify-content: center;
}

/* Neutralise the Bootstrap column offsets so the card centres cleanly. */
.adminredesign .nm-admin-col {
  width: 100%;
  max-width: 600px !important;
  margin: 0 auto;
  float: none;
  flex: 0 0 auto;
}

.adminredesign header .centerheadlines {
  max-width: 600px !important;
  margin: 0 auto;
  padding: 48px 0 24px;
  text-align: left;
}

/* Compact brand lockup (top-left) */
.adminredesign .nm-admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px 4px;
}

.adminredesign .nm-admin-brand img {
  width: 44px;
  height: auto;
  display: block;
}

.adminredesign .nm-admin-brand .nm-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.adminredesign .nm-admin-brand .nm-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--nm-ink);
  letter-spacing: -0.6px;
  font-family: "helvetica-bold";
  font-weight: 300;
}
.adminredesign .nm-admin-brand .nm-brand-name span {
  font-size: 22px;
  color: var(--nm-ink);
  letter-spacing: -0.6px;
  font-family: "helvetica-light";
  font-weight: 300;
}
.adminredesign .nm-admin-brand .nm-brand-name sup {
  font-size: 0.5em;
  position: relative;
  top: -0.75em;
  color: grey;
}

.adminredesign .nm-admin-brand .nm-brand-sub {
  font-size: 12px;
  color: var(--nm-red);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 700;
}

/* Card */
.adminredesign .nm-card {
  background: var(--nm-card);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20, 20, 25, 0.08);
  padding: 32px 34px 34px;
}

/* Override the legacy .centerheadlines h1 wordmark rules (some use vw sizes
   with !important). Safe: the old wordmark h1 is hidden on admin pages. */
.adminredesign header .centerheadlines h1.nm-card-title {
  font-size: 28px !important;
  font-weight: 800;
  color: var(--nm-ink);
  letter-spacing: -0.6px !important;
  line-height: 1.1;
  width: auto !important;
  text-align: left !important;
  margin: 0 0 26px;
  padding: 0;
  font-family: inherit;
}

/* Field grouping + labels */
.adminredesign .nm-field {
  margin: 0 0 22px;
}

.adminredesign .nm-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--nm-label);
  margin: 0 0 8px 2px;
}

.adminredesign .holdfield {
  display: block;
  text-align: left;
  margin: 0;
}

/* Date fields */
.adminredesign .nm-dates {
  margin: 0 0 22px;
}

.adminredesign .nm-dates .row {
  margin-left: -10px;
  margin-right: -10px;
}

.adminredesign .nm-dates [class*="col-"] {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.adminredesign .nm-dates--stacked [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

.adminredesign .nm-dates--stacked [class*="col-"]:first-child .holdfield {
  margin-bottom: 0px;
}

/* From/To labels sit above their input */
.adminredesign .nm-dates .holdfield {
  display: flex;
  flex-direction: column-reverse;
  margin-top: 15px;
}

.adminredesign .nm-dates .holdfield .formlabel {
  display: block;
  font-size: 14px !important;
  font-weight: 700;
  color: var(--nm-label);
  margin: 0 0 8px 2px !important;
  padding: 0;
}

/* Text inputs (dates) + native select share the box treatment.
   font-size uses !important so the legacy #changeDateRangeForm rules (ID
   specificity) don't leave fields at inconsistent sizes. */
.adminredesign #changeDateRangeForm .holdfield input,
.adminredesign .holdfield input.datepicker {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 42px 12px 14px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--nm-ink);
  background-color: #fff;
  border: 1px solid var(--nm-border) !important;
  border-radius: 10px !important;
  background-image: var(--nm-cal);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
}

.adminredesign #changeDateRangeForm .holdfield input:focus,
.adminredesign .holdfield input.datepicker:focus {
  border-color: var(--nm-red) !important;
  outline: 0;
}

/* Native select (web "Select account"). ID in the selector beats the legacy
   .coverpage #changeDateRangeForm select font-size rule. */
.adminredesign #changeDateRangeForm select.select-account-web {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 42px 12px 14px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--nm-ink);
  cursor: pointer;
  background-color: #fff;
  border: 1px solid var(--nm-border) !important;
  border-radius: 10px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--nm-chev);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.adminredesign #changeDateRangeForm select.select-account-web:focus {
  border-color: var(--nm-red) !important;
  outline: 0;
}

/* Semantic UI dropdowns (pdf "Select accounts" / "Pages to Remove").
   Semantic's stylesheet loads after this file, so selectors are keyed off
   .custom-dropdown (preserved through Semantic's transform) to out-specify it. */
.adminredesign .ui.dropdown.custom-dropdown {
  min-height: 46px;
  min-width: 0;
  margin: 0;
  padding: 12px 42px 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--nm-ink);
  line-height: 1.4;
  background: #fff;
  border: 1px solid var(--nm-border);
  border-radius: 10px;
  box-shadow: none;
  background-image: var(--nm-chev);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.adminredesign .ui.dropdown.custom-dropdown > .dropdown.icon {
  display: none; /* replaced by the SVG chevron background */
}

.adminredesign .ui.dropdown.custom-dropdown > .text {
  color: var(--nm-ink);
  line-height: 1.3;
}

.adminredesign .ui.dropdown.custom-dropdown > .default.text {
  color: var(--nm-label);
  border: 1px solid var(--nm-border);
  padding: 10px;
  width: 100%;
  border-radius: 10px;
}

/* Force 16px on the pdf selects, beating the legacy #changeDateRangeForm
   select rule (ID specificity) whether Semantic has transformed them or not. */
.adminredesign #changeDateRangeForm .ui.dropdown.custom-dropdown,
.adminredesign #changeDateRangeForm .ui.dropdown.custom-dropdown > .text,
.adminredesign
  #changeDateRangeForm
  .ui.dropdown.custom-dropdown
  > .default.text,
.adminredesign #changeDateRangeForm select.custom-dropdown {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.adminredesign .ui.multiple.dropdown.custom-dropdown {
  padding: 9px 44px 5px 9px;
}

.adminredesign .ui.multiple.dropdown.custom-dropdown > .label {
  background: var(--nm-red-pill);
  color: var(--nm-red);
  font-weight: 600;
  border-radius: 8px;
  font-size: 15px !important;
  box-shadow: none;
}

.adminredesign .ui.active.dropdown.custom-dropdown,
.adminredesign .ui.dropdown.custom-dropdown:focus {
  border-color: var(--nm-red);
  box-shadow: none;
}

.adminredesign .ui.active.dropdown.custom-dropdown .menu {
  border-color: var(--nm-border);
  border-radius: 0 0 10px 10px;
}

.adminredesign .ui.dropdown.custom-dropdown .menu > .item {
  font-family: inherit;
  font-size: 15px;
}

/* Recipient emails editor (shared by the admin PDF form and the client card) */
.adminredesign .emailsEditor,
.clientredesign .emailsEditor {
  margin: 0;
  padding: 0px;
  background: #fff;
  border: 1px solid var(--nm-border);
  border-radius: 10px;
  font: inherit;
}

.adminredesign .emailsEditor__input,
.clientredesign .emailsEditor__input {
  background: transparent;
  border: 0;
  border-radius: 100px;
  padding: 0.4rem 0.8rem;
  box-sizing: content-box;
  font-size: 16px !important;
  line-height: 1.4;
  color: var(--nm-ink);
}

/* Grey pill shows only once something is typed; its width is set to the
   typed text by autosizeEmailInput() so it hugs the content. */
.adminredesign .emailsEditor__input.is-filled,
.clientredesign .emailsEditor__input.is-filled {
  background: #e5e5e5;
  flex: 0 0 auto;
}

.adminredesign .emailsEditor__input::placeholder,
.clientredesign .emailsEditor__input::placeholder {
  color: var(--nm-muted);
  font: inherit;
}

.adminredesign .emailsEditor__email--tag,
.clientredesign .emailsEditor__email--tag {
  background: #e5e5e5;
  border-radius: 100px;
  color: var(--nm-ink);
  padding: 0.4rem 0.8rem;
}

.adminredesign .lib-emails-input-container {
  background: transparent;
  border: 0;
}

/* Primary button */
.adminredesign #export-pdf,
.adminredesign #changeDateRangeForm button[type="submit"] {
  display: block;
  width: 100%;
  margin: 6px 0 0;
  padding: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--nm-red);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.adminredesign #export-pdf:hover {
  background: var(--nm-red-hover) !important;
  color: #fff !important;
}

.adminredesign #export-pdf:disabled,
.adminredesign #export-pdf:disabled:hover {
  background: #c9c9ce !important;
  color: #ffffff !important;
  cursor: not-allowed;
  opacity: 1;
}

/* Bottom links */
.adminredesign .nm-admin-links {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  max-width: 600px;
  margin: 18px auto 0;
  padding: 0;
}

.adminredesign .nm-admin-links a {
  color: var(--nm-red);
  font-weight: 700;
  font-size: 15px;
}

.adminredesign .nm-admin-links a:hover {
  color: var(--nm-red-hover);
}

.adminredesign .help-block {
  display: block;
  color: var(--nm-red) !important;
  font-size: 13px;
  margin: 6px 2px 0;
}

@media (max-width: 575px) {
  .adminredesign .nm-card {
    padding: 30px 22px 32px;
  }
  .adminredesign header .centerheadlines {
    padding: 32px 14px 20px;
  }
}

/* =========================================================================
   CLIENT REPORT COVER (/client, non-admin login)
   -------------------------------------------------------------------------
   The client-facing cover page (body.coverpage.clientredesign, set in
   users/cover.blade.php) kept the old dark theme because the redesign only
   ever scoped the admin's view (.adminredesign). This block re-skins it to
   match the export-pdf / web-view report card system: light page, white
   rounded card, boxed date fields with the calendar glyph, and a red
   full-width "Load Report" button. Isolated under .clientredesign so it can't
   touch admin, login, the graph pages, or the exported PDF.
   ========================================================================= */

body.coverpage.clientredesign {
  /* Brand tokens — kept identical to the report redesign. */
  --nm-red: #df2019;
  --nm-red-hover: #c01109;
  --nm-red-pill: #fbe4e2;
  --nm-ink: #17181a;
  --nm-label: #3a3b41;
  --nm-muted: #9b9ba1;
  --nm-border: #dcdcde;
  --nm-card: #ffffff;
  --nm-page: #f4f2f4;
  --nm-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%239b9ba1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-color: var(--nm-page);
  color: var(--nm-ink);
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* Centre a two-column group (form + lockup) that always fits the viewport
   and wraps to a stack on narrow screens. */
.clientredesign header {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 40px 24px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  margin-top: 5em;
  justify-content: center;
  gap: 36px 56px;
}
@media (min-width: 768px) {
  .clientredesign header {
    margin-top: unset;
    align-items: center;
    transform: translateY(-10%);
  }
}
/* Left column = wordmark + card. Neutralise the Bootstrap row/col/offset so it
   sits as a fixed-width block instead of a pushed-right, full-width grid col. */
.clientredesign header > .row {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0;
  flex: 1 1 400px;
}

.clientredesign .nm-client-col {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0;
  float: none;
  flex: none;
}

.clientredesign header .centerheadlines {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Lockup hidden for now — brand logo moved inline next to the wordmark. */
.clientredesign .addresslockup {
  display: none !important;
}

/* Brand row: red logo inline, to the left of the wordmark, on one line. */
.clientredesign .nm-client-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.clientredesign .nm-client-logo {
  width: 52px;
  height: auto;
  flex: 0 0 auto;
}

/* Wordmark — recoloured + scaled for the light theme (overrides the legacy
   vw sizes, some of which are !important). */
.clientredesign header .centerheadlines h1 {
  font-family: "helvetica-bold" !important;
  font-size: 35px !important;
  letter-spacing: -1.7px !important;
  line-height: 1 !important;
  color: var(--nm-ink) !important;
  width: auto !important;
  text-align: left !important;
  margin: 0 !important;
  white-space: nowrap;
  font-weight: 300;
}

.clientredesign header .centerheadlines h1 .new {
  color: var(--nm-ink);
  font-family: "helvetica-bold" !important;
}

.clientredesign header .centerheadlines h1 .metrics {
  /* color: var(--nm-muted); */
  font-family: "helvetica-light" !important;
}

.clientredesign header .centerheadlines h1 .tm {
  font-size: 13px !important;
  top: -16px !important;
  color: var(--nm-muted);
}

.clientredesign header .centerheadlines h2 {
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--nm-red);
  padding-left: 2px !important;
  margin: 2em 0 24px !important;
}
.clientredesign header .centerheadlines .linkcontainer {
  width: 100%;
  text-align: right;
  padding-top: 1em;
}
.clientredesign header .centerheadlines .linkcontainer .link {
  color: var(--nm-red);
  text-align: right;
  margin-right: 1em;
}
/* Card wrapping the date form + button. */
.clientredesign .nm-client-card {
  background: var(--nm-card);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20, 20, 25, 0.08);
  padding: 32px 34px 34px;
}

.clientredesign #changeDateRangeForm {
  margin: 0 !important;
}

/* Kill the Bootstrap .row negative gutter inside the padded card, and force
   the From/To fields to always stack (never sit side-by-side). */
.clientredesign .nm-client-card .row {
  margin-left: 0;
  margin-right: 0;
}

.clientredesign .nm-client-card .row > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* From/To fields — label above input, boxed treatment with calendar glyph. */
.clientredesign .holdfield {
  display: flex;
  flex-direction: column-reverse;
  text-align: left;
  margin: 0 0 20px;
}

.clientredesign .holdfield .formlabel {
  display: block;
  font-size: 14px !important;
  font-weight: 700;
  color: var(--nm-label);
  margin: 0 0 8px 2px !important;
  padding: 0;
}

.clientredesign #changeDateRangeForm .holdfield input,
.clientredesign .holdfield input.datepicker {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 42px 12px 14px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--nm-ink);
  background-color: #fff;
  border: 1px solid var(--nm-border) !important;
  border-radius: 10px !important;
  background-image: var(--nm-cal);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
}

.clientredesign #changeDateRangeForm .holdfield input:focus,
.clientredesign .holdfield input.datepicker:focus {
  border-color: var(--nm-red) !important;
  outline: 0;
}

/* Hidden manual From/To date inputs. Kept in the DOM (still submitted with the
   form) but not shown — the client now picks a preset range instead. Remove this
   rule to bring the manual pickers back. */
.clientredesign .nm-hidden-range {
  display: none;
}

/* Preset range dropdown — styled to match the boxed From/To inputs. */
.clientredesign .nm-range-select {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 42px 12px 14px !important;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--nm-ink);
  background-color: #fff;
  border: 1px solid var(--nm-border) !important;
  border-radius: 10px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
}

.clientredesign .nm-range-select:focus {
  border-color: var(--nm-red) !important;
  outline: 0;
}

/* Primary "Load Report" button. */
.clientredesign #primary-submit {
  display: block;
  width: 100%;
  margin: 6px 0 0;
  padding: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--nm-red);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.clientredesign #primary-submit:hover {
  background: var(--nm-red-hover) !important;
  color: #fff !important;
}

.clientredesign #primary-submit:disabled,
.clientredesign #primary-submit:disabled:hover {
  background: #c9c9ce !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 1;
}

/* Secondary toggle beneath the primary button — a text link that flips the
   form between web-report and PDF-export mode. */
.clientredesign .nm-mode-toggle {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--nm-red);
  background: none;
  border: 0;
  cursor: pointer;
}

.clientredesign .nm-mode-toggle:hover {
  text-decoration: underline;
}

/* Address lockup (client-only footer) — recolour for the light background. */
.clientredesign .addresslockup .lockup,
.clientredesign .addresslockup .lockup .nwg,
.clientredesign .addresslockup .lockup .domain {
  color: var(--nm-muted);
}

.clientredesign .addresslockup .lockup img {
  width: 70px;
}

@media (max-width: 575px) {
  .clientredesign .nm-client-card {
    padding: 30px 22px 32px;
  }
  .clientredesign header .centerheadlines h1 {
    font-size: 34px !important;
  }
}
