
.event-table th.event-name {
  width: 25%;
  text-align: center;
}

.event-table td.event-name {
  width: 25%;
  text-align: left;
}

.event-table th.event-host {
  width: 20%;
  text-align: center;
}

.event-table td.event-host {
  width: 20%;
  text-align: left;
}

.event-table th.event-location {
  width: 20%;
  text-align: center;
}

.event-table td.event-location {
  width: 20%;
  text-align: left;
}

.event-table th.event-date {
  width: 15%;
  text-align: center;
}

.event-table td.event-date {
  width: 15%;
  text-align: center;
}

table.event-table tbody td {
  padding: 1.2rem .675rem;
}

/* primary styles */
:root {
  --black: #0a0908;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #999999;
  --dark-gray: #555555;
  --base-purple: #9300ff;
  --flamingo: #ff99d1;
  --default-bg: var(--light-gray);
  --default-border-color: var(--dark-gray);
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-med: 1rem;
  --text-med-2: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
}

html, body {
  font-family: Inter, sans-serif;
  font-size: 16px;
  margin: 0;
  background-color: var(--default-bg);
  height:100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
  display: flex;
  background-color: var(--default-bg);
  max-width: 1700px;
}

/* .container {
  flex:1;
} */

a {
  color: var(--base-purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  margin: 1.5rem 0;
}

h2 {
  margin: 1.5rem 0;
}

h6 {
  font-weight: bold;
}

label {
  display: block;
  font-weight: 500;
  line-height: 1.5rem;
  font-size: .875rem;
}

label.checkbox {
  display: inline-block;
  margin-left: .875rem;
}

input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select {
  line-height: 1.5rem;
  font-size: .875rem;
  display: block;
  width: 100%;
  border-radius: .375rem;
  padding: .375rem .5rem;
  border: 1px solid #cccccc;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  background-color: var(--white); 
}

input[type="checkbox"] {
  border: 1px solid #cccccc;
  padding: .375rem .5rem;
  border-radius: .375rem;
  display: inline-block;
  height: 1.25rem;
  width: 1.25rem;
  line-height: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  margin: 0;
}

input[type="submit"], button {
  background-color: var(--base-purple);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: bold;
  width: 105%;
  padding: .675rem .75rem;
  cursor: pointer;
  border: 2px solid var(--white);
}

button {
  width: 100%;
}

input[type="submit"]:hover, button:hover {
  background-color: var(--white);
  border: 2px solid var(--base-purple);
  color: var(--base-purple);
}

.callout-btn {
  color: var(--white);
  font-size: .875rem;
  font-weight: bold;
  letter-spacing: .3px;
  background: linear-gradient(to right, #ae00e2, var(--base-purple));
  padding: .8rem 2.5rem;
  border-radius: 7px;
  margin: 0rem 1.5rem;
  display: inline-block;
}

.callout-btn:hover {
  color: var(--flamingo);
  background: var(--black);
  box-shadow: inset 0 0 0 3px var(--flamingo);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 2px 0;
}

/* end primary styles */

/* start utility classes */

  .text-xs  {font-size: var(--text-xs);}
  .text-sm {font-size: var(--text-sm);}
  .text-med {font-size: var(--text-med);}
  .text-med-2 {font-size: var(--text-med-2);}
  .text-lg {font-size: var(--text-lg);}
  .text-xl {font-size: var(--text-xl);}

  .hidden {visibility: hidden;}
  .hide {display: none;}

  .block-center {display: block; text-align: center;}

/* end utility classes */

/* begin header styles */
header {
  background-color: var(--black);
  color: var(--white);
  display: flex;
  justify-content: space-evenly;
  padding: 1.25rem 0;
  align-items: center;
  h1.logo {
    margin: 1.34rem 0;
    a {
      margin: 0;
      width:173px;
      height:29px;
      overflow:hidden;
      text-indent: -9999px;
      background: url(images/logo.png) no-repeat;
      display: block;
    }
  }
  a {
    color: var(--white);
    text-decoration: none;
    &:hover {
      text-decoration: none;
    }
  }
  nav {
    width: 25%;
    ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: space-evenly;
      li a {
        padding: .875rem 1.5rem;
        font-weight: 600;
        font-size: .875rem;
        letter-spacing: 1px;
        display: inline-block;
        &:hover {
          color: var(--flamingo);
        }
      }
      li.dropdown.signin {
        display: none;
      }
    }
  }
  a.signin-link {
    font-size: .875rem;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    background: url('images/signin-icon.png') no-repeat 100% 50%;
    padding: 7px 40px 7px 0;
    margin-right: 10px;
    &:hover {
      color: var(--flamingo);
      background: url('images/signin-icon-hover.png') no-repeat 100% 50%;
    }
  }
}
/* end header styles */

/* start main nav dropdown */
.nav li a:hover, .dropdown:hover .dropbtn {
    background-color: #ddd;
    color: var(--black);
}
.nav li.dropdown {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--default-bg);
    min-width: 190px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: var(--black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #ddd;
    color: #B20061;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/* end main nav dropdown */

/* start login and register */

body.login-gs {
  background: url('images/motivera-background.jpg') no-repeat center center fixed;
  /* background-color: #a3b3b1; */
  background-size: cover;
  .hero {
    width: 85%;
    margin-left: auto;
    margin-right:auto;
    margin-top: 6%;
    min-width: 300px;
    text-align:center;
    /* display:flex; */
    .hero-text {
      width: 55%;
      padding: 2rem;
      margin: 0 auto;
    }
    .hero-img {
      width: 77%;
      img {
        width: 100%;
      }
    }
    h1 {
      color: white;
      font-size: 4rem;
      font-weight: bold;
      margin-bottom: 2.5rem;
    }
    h2 {
      color: white;
      font-weight: normal;
      font-size: 1.75rem;
      margin-bottom: 2.5rem;
    }
    p {
      color: white;
      margin-bottom: 3rem;
      font-size: 1.25rem;
    }
    ul {
      color: black;
      font-size: 2rem;
      margin-top: 2.5rem;
      margin-bottom: 2.5rem;
    }
    a.btn {
      color: white;
      width: 50%;
      margin: 0 auto;
      font-size: 1rem;
      min-width: 250px;
    }
  }
}

.login-container {
  padding: 0 2rem 3rem 2rem;
  margin-top: 3rem;
  width: 25%;
  min-width: 350px;
  margin-left:auto;
  margin-right: auto;
  background-color: var(--default-bg);
  h2 {
    max-width: 24rem;
    text-align: center;
    margin: 4rem auto;
  }
  form {
    max-width: 24rem;
    margin: 2.5rem auto;
    .field {
      margin: 1.5rem 0;
      &.checkbox {
        display: flex;
        align-items: center;
      }
    }
    &.persona-select {
      max-width: 40rem;
      text-align: center;
      label {
        margin-bottom: 1rem;
      }
      button {
        background-color: var(--white);
        width: 10rem;
        height: 10rem;
        color: var(--base-purple);
        border: 3px solid var(--base-purple);
        font-size: var(--text-med-2);
        margin: 1rem;
        &:hover {
          background-color: var(--base-purple);
          color: var(--white);
        }
      }
    }
  }
  p {
    margin: 2rem;
    text-align: center;
    a {
      /* text-decoration: none; */
      font-size: .875rem;
      font-weight: 500;
      display: block;
      text-align: center;
      margin: .5rem;
      /* color: var(--base-purple); */
      width: 100%;
    }
    &.login-terms {
      font-size: .875rem;
      margin: 1rem auto;
      a {
        display: inline;
        margin: 0;
      }
    }
  }
}
.alert-message {
  font-weight: bold;
  color: #BF4055;
}
/* end login and register */

.config-container {
  display: flex;
  background-color: var(--default-bg);
  max-width: 1700px;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap;
}

.upload-wrapper {
  width: 50%;
  margin: 0 auto;
  min-width: 350px;
  h1 {
    margin: 1.5rem 0;
    text-align: center;
  }
  form >* {
    margin: 1rem;
  }
  input[type="file"] {
    display: block;
    margin: 1rem auto;
    border: 2px dashed gray;
    padding: 1rem;
    border-radius: 15px;
  }
  button {
    width: 30%;
    display: block;
    margin: 0 auto;
  }
}

.manage-categories {
  form.add-category {
    display: flex;
    .form-group{
      width:90%;
    }
    button.btn {
      width: 10%;
      height: 3rem;
      margin-top:1rem;
      margin-left: 2%;
      min-width: 75px;
    }
  }
  table.category-table {
    td.actions {
      .actions-wrapper {
        /* display:flex; */
      }
      button {
        /* width: 50%; */
      }
    }
  }
}

.how-it-works-wrapper {
  width: 60%;
  margin: 4rem auto;
  min-width: 350px;
  ol {
    margin-left: 2rem;
    font-size: 1.5rem;
    margin-top: 3rem;
    li {
      margin: 1.5rem 0;
      padding-left: 2rem;
    }
  }

}
table.how-it-works-table {
  border: 1px solid var(--black);
  width: 55%;
  margin: 0 auto;
  vertical-align: middle;
  min-width: 350px;
  font-size: 1.5rem;
  th {
    background-color: var(--base-purple);
    color: white;
    text-align: center;
  }
  td {
    text-align: center;
    border: 1px solid var(--black);
    padding: 1rem;
    &.step-no {
      width: 75px;
    }
  }
}

.terms-of-use-wrapper {
  width: 60%;
  margin: 4rem auto;
  min-width: 300px;
}

.journey-browser-container {
  width: 25%;
}

.tasks-by-client-wrapper, .awards-panel-wrapper {
  width: 26%;
}

.current-task-wrapper {
  width: 42%;
}

.tasks-by-client-wrapper ul, .current-task-wrapper ul, .awards-panel-wrapper ul {
  list-style: none;
  padding: 0;
}

.tasks-by-client-wrapper a {
  color: var(--black);
  text-decoration: none;
}

.tasks-by-client-wrapper a:hover {
  text-decoration: underline;
}

body.dashboard .tasks-by-client-wrapper li.client {
  padding: 1.5rem 3rem;
}

.tasks-by-client-wrapper li.client .client-name {
  font-weight: bold;
}

.tasks-by-client-wrapper .client-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--default-border-color);
  margin-bottom: .25rem;
}

.config-container .dashboard-panel h3 {
  margin-bottom: 1rem;
}

body.dashboard .tasks-by-client-wrapper ul.client-task-list li {
  font-size: .875rem;
  padding: .3rem .65rem;
  margin: .35rem 0;
  display: flex;
  justify-content: space-between;
  border-radius: 7px;
}

body.dashboard .tasks-by-client-wrapper ul.client-task-list li.active {
  background-color: #D499FF;
}

body.dashboard .tasks-by-client-wrapper ul.client-task-list li.active a:hover {
  text-decoration: none;
  cursor: default;
}

.current-task-wrapper .task-group {
  padding: 1rem 3rem;
}

.current-task-wrapper .task-group h4 {
  border-bottom: 1px solid var(--default-border-color);
}

.current-task-wrapper .task-group .client-name-date {
  display:flex;
  justify-content: space-between;
}

.current-task-wrapper .task-group .resources {
  border-top: 1px dashed var(--default-border-color);
  border-bottom: 1px dashed var(--default-border-color);
}

.current-task-wrapper .task-group .resources h6 {
  font-weight: bold;
  font-size: 1.125rem;
}

.current-task-wrapper .task-group p.description {
  margin: 1rem 0;
}

.current-task-wrapper .task-group .resources {
  margin: 2rem 0;
  padding: 1rem 0;
}

.current-task-wrapper .task-group .resources h5 {
  margin-bottom: 1.5rem;
}

.current-task-wrapper .task-group .resources ul {
  list-style-type: disc;
  padding-left: 3rem;
}

.current-task-wrapper .task-group .resources ul li {
  margin: 0
}

.current-task-wrapper .task-group ul {
  padding-left: 1rem;
  padding-right: 1rem;
}

.current-task-wrapper .task-group ul li {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.current-task-wrapper .task-group p.task-name {
  padding: 0;
  margin: 0;
}

.current-task-wrapper .task-group p.task-client-name {
  padding: 0;
  margin: 0;
  color: var(--dark-gray);
  font-size: .875rem;
}

.current-task-wrapper .task-group .messages li {
  border-bottom: 1px solid #dddddd;
  padding: 1rem 0;
}

.current-task-wrapper .task-group .messages li .message-header {
  display: flex;
  justify-content: space-between;
}

.current-task-wrapper .task-group .messages li .message-header .client-name {
  font-weight: bold;
}

.current-task-wrapper .task-group .messages li .message-header .date-time {
  color: var(--dark-gray);
}

.current-task-wrapper .task-group .messages li .message-body {
  padding: .5rem 0;
}

.current-task-wrapper .task-group .messages form {
  display: flex;
  margin: 2rem 0;
}

.current-task-wrapper .task-group .messages form input[type="submit"] {
  background: none;
  color: var(--white);
  border: none;
  background: url('images/send.png') no-repeat center var(--base-purple);
  width: 30px;
  height: 30px;
  padding: 1.5rem;
  margin-left: 1rem;
}

.awards-panel-wrapper>div {
  padding: 1rem 0 2rem 0;
  margin: 0 3rem;
  border-bottom: 1px solid var(--gray);
}

.awards-panel-wrapper>div:last-of-type {
  border: none;
}

.awards-panel-wrapper h4 {
  margin-bottom: 2rem;
}

.awards-panel-wrapper .progress-bar-section h4 {
  font-size: 1.25rem;
}

.awards-panel-wrapper figure {
  background-color: var(--white);
  border: 1px solid #e4e4e4;
  text-align: center;
}

.awards-panel-wrapper figure figcaption {
  text-align: center;
  font-size: .875rem;
  padding: .3rem 0;
  color: var(--dark-gray);
  background-color: var(--default-bg);
}

.awards-panel-wrapper .next-award figure  {
  border-radius: 15px;
}

.awards-panel-wrapper .next-award ul {
  margin-bottom: 0;
}

.awards-panel-wrapper .next-award figure figcaption {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  font-size: 1rem;
  padding: 1rem 0;
}

.awards-panel-wrapper .next-award figure img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 1rem 0;
}

.awards-panel-wrapper .progress-bar {
  border: #e4e4e4 2px solid;
  width: 90%;
  margin: 0 auto;
  height: 35px;
  font-size:0;
  display:flex;
  flex-direction: row;
  justify-content: flex-start;
}

.awards-panel-wrapper .progress-bar .progress-completed {
  width: 55%;
  background-color: #2D8647;
  display:inline-block;
  height:100%
}

.awards-panel-wrapper .progress-bar .progress-pending {
  width: 10%;
  background-color: #FFB743;
  display: inline-block;
  height: 100%;
}

body.dashboard .container .awards-panel-wrapper .current-awards ul {
  display:flex;
  flex-wrap: wrap;
}

body.dashboard .container .awards-panel-wrapper .current-awards ul li {
  border: none;
  margin: 0 .3rem;
  padding: 0;
  flex: 1 1 calc(33.33% - 20px);
  max-width: 88px;
}

body.dashboard .container .awards-panel-wrapper .current-awards ul li img {
  width: 100%;
}

.awards-panel-wrapper .message-from {
  font-weight: bold;
  margin-bottom: .25rem;
}

.awards-panel-wrapper .message-sub {
  display: flex;
  justify-content: space-between;
  margin-bottom: .25rem;
}

.awards-panel-wrapper .message-body {
  font-size:.875rem;
  line-height: 1.5rem;
}

.journeys-wrapper, .personas-wrapper, .dashboard-panel {
  background-color: var(--white);
  margin: 2rem 1rem;
  border-radius: 15px;
  border:1px solid #e4e4e4;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, .07);
}

.dashboard-panel select {
  margin: 1rem auto;
  width:80%;
  &.full-width {
    width: 100%;
  }
}

.join-group-wrapper {
  display: flex;
  justify-content: center;
}

.accent-card {
  background-color: var(--base-purple);
  border-radius: 15px;
  padding: 2rem 2rem 3rem 2rem;
  margin: 1rem;
  width: 20%;
  min-width: 250px;
  h2 {
    color: var(--white);
  }
  a.btn {
    background-color: var(--white);
    color: var(--base-purple);
    border-color: var(--base-purple);
    margin-top:3.5rem;
    &:hover {
      background-color: var(--base-purple);
      color: var(--white);
      border-color: var(--white);
    }
  }
}

a.create-group.btn {
  width: 40rem;
  margin: 4rem auto;
}

.dashboard-panel.create-event {
  width: 75%;
  margin: 0 auto;
  padding: 2rem 4rem;
  .form-group {
    margin: 2rem 0;
  }
  .actions {
    display:flex;
    button, a {
      display: inline-block;
      width: 50%;
    }
  }
}

h2.create-event {
  width: 75%;
  margin: 1.5rem auto;
}

h1.welcome {
  margin: 2rem 1rem 1rem 1rem;
}
.welcome-wrapper {
  display:flex;
}
.welcome-panel {
  padding: 1rem 2rem;
  width: 50%;
  min-width: 300px;
  .button-group {
    text-align: center;
    margin-bottom: 1rem;
  }
  ul {
    margin-bottom: 3rem;
  }
  a.btn {
    display: inline-block;
    width: 49%;
  }
}

.filter-category-wrapper {
  width: 20%;
  min-width: 215px;
}

.filter-wrapper {
  padding-bottom: 2rem;
}

.filter-wrapper .approved-status-filter-wrapper h6 {
  padding: 1rem 2rem 0rem 2rem;
  font-weight: bold;
}

.filter-wrapper .approved-status-filter-wrapper .status-filter {
  padding: 0 3rem;
}

.filter-wrapper .status-filter a.active {
  font-weight: bold;
  color: var(--black);
  text-decoration: none;
  cursor: default;
}

body.dashboard .container .category-list-wrapper ul.category-list {
  padding: 1rem 2rem;
  list-style: none;
}

body.dashboard .container .category-list-wrapper ul.category-list li {
  padding: .3rem 1rem;
  margin: 1rem 0;
  border-radius: 7px;
}

body.dashboard .container .category-list-wrapper ul.category-list li.active {
  background: #D499FF;
}

.category-list-wrapper ul.category-list li a {
  color: var(--black);
  text-decoration: none;
  font-weight: bold;
}

.category-list-wrapper ul.category-list li a:hover {
  text-decoration: underline;
}

.resource-list-wrapper {
  width: 25%;
  min-width: 268px;
}

.resource-list-wrapper ul.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list-wrapper ul.resource-list li:first-child {
  border-top: 1px solid #e4e4e4;
}

body.dashboard .container .resource-list-wrapper ul.resource-list li {
  padding: 0;
  margin: 0;
}

body.dashboard .container .resource-list-wrapper ul.resource-list li a {
  border-bottom: 1px solid #e4e4e4;
  padding: 1rem 3rem;
  display: block;
  text-decoration: none;
}

body.dashboard .container .resource-list-wrapper ul.resource-list li.active a {
  background-color:#D499FF;
}

body.dashboard .container .resource-list-wrapper ul.resource-list li.active a:hover {
  cursor: default;
  background-color: #D499FF;
}

body.dashboard .container .resource-list-wrapper ul.resource-list li a:hover {
  background-color: var(--default-bg);
}

.resource-list-wrapper ul.resource-list h6 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 .25rem 0;
  padding: 0;
  color: var(--black);
}

.resource-list-wrapper ul.resource-list .content-body {
  color: var(--dark-gray);
  font-size: .875rem;
  display: none;
}

.resource-list .approval-status, .resource-list .approval-status.draft, .content-post .approval-status, .content-post .approval-status.draft {
  color: var(--white);
  background-color: var(--dark-gray);
  border-radius: 100px;
  display: inline-block;
  padding: .25rem .5rem;
  margin: .5rem 0;
  font-size: .75rem;
}

.resource-list .approval-status.approved, .content-post .approval-status.approved {
  background-color: #40BF4A;
}

.content-post .actions a.btn {
  display: inline-block;
  width: 49%;
  margin: 1rem 0;
}

.content-post .actions a.btn:hover {
  border: 2px solid var(--base-purple);
  color: var(--base-purple);
}

.content-post .actions a.btn.edit {
  background-color: #888888;
}

.content-post .actions a.btn.edit:hover {
  border: 2px solid #888888;
  background-color: var(--white);
  color: #888888;
}

.resource-list-wrapper ul.resource-list .date, .resource-list-wrapper ul.resource-list .author {
  color: var(--black);
}

.resource-list-wrapper ul.resource-list .tag {
  display: none !important;
}

.resource-list-wrapper ul.resource-list .tag, .content-post .tag {
  background-color: var(--dark-gray);
  font-size: .75rem;
  color: var(--white);
  display: inline-block;
  border-radius: 100px;
  padding: .25rem .5rem;
  margin: .5rem 0;
}

.resource-list-wrapper.mobile-sidebar {
  display: none;
  /*display: flex;*/
  width: 50%;
  /*transition: transform 0.3s ease-in-out;*/
  transition: left 0.3s ease-in-out;
}

.nav-sidebar-toggle {
  display: none;
  width: 25px;
  position: fixed;
  top: 113px;
  left: 0px;
  z-index: 1000;
  border: none;
  font-size: 21px;
  cursor: pointer;
  padding:0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  color: white;
  &:hover {
    color: white;
    border: none;
    background-color: var(--base-purple);
  }
  span.left {
    /* display: none; */
    display: inline;
  }
  span.right {
    /* display: inline; */
    display: none;
  }
  &.open{
    span.left {
      /* display: inline; */
      display: none;
    }
    span.right {
      display: none;
    }
  }
}


.resource-view-wrapper {
  width: 49%;
  min-width: 300px;
}

.resource-view-wrapper .content-post {
  padding: 1rem 3rem;
}

.content-post .content-header{
  margin-bottom: 1rem;
}

.journeys-wrapper h3, .personas-wrapper h3, .dashboard-panel h3 {
  background-color: var(--base-purple);
  margin: 0;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  color: var(--white);
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  padding: .4rem;
}

.journeys-wrapper ul, .personas-wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.journeys-wrapper>ul, .peronas-wrapper>ul {
  margin: 1.5rem 1rem;
}

.journeys-wrapper li.journey-grouping, .personas-wrapper .persona-grouping {
  margin: 1rem 0;
}

.journeys-wrapper a, .personas-wrapper a {
  color: var(--black);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

a.journey-link:hover, a.journey-parent:hover, a.persona-link:hover {
  text-decoration: underline;
}

.journeys-wrapper a.journey-link, .journeys-wrapper a.journey-parent, .personas-wrapper a.persona-link {
  padding: .5rem .375rem;
  display: inline-block;
  width: 65%;
  border-radius: 7px;
}

.personas-wrapper li.active a.persona-link {
  background-color: #D499FF;
  /* border-radius: 7px; */
}

.journeys-wrapper a.journey-link {
  padding-left: 6.2rem;
  background: url('images/j-persona-icon.png') no-repeat 22% 45%;
  box-sizing: content-box;
}

.journeys-wrapper a.journey-parent, .personas-wrapper a.persona-link {
  padding-left: 3rem;
  width: 75%;
}

.journey-grouping.new a.collapse {
  visibility: hidden;
}

.journey-grouping a.journey-parent {
  width: 93%;
}

.journey-grouping.new a.journey-parent {
  background-color: #D499FF;
}

.personas-wrapper a.persona-link {
  padding-left: 5rem;
  background: url('images/peronas-icon.png') no-repeat 15% 45%;
  box-sizing: content-box;
  margin-left: 1rem;
  margin-right: 1rem;
  width: 67%;
}

.journeys-wrapper a.journey-parent {
  font-weight:bold;
  background: url('images/journey-icon.png') no-repeat 5% 45%;
}

.journeys-wrapper a.expand, .journeys-wrapper a.collapse {
  display: inline-block;
  width: 12px;
  height: 12px;
  overflow: hidden;
  text-indent: -9999px;
}

.journeys-wrapper a.expand {
  background:url('images/journey-expand.png') no-repeat;
}

.journeys-wrapper a.collapse {
  background:url('images/journey-collapse.png') no-repeat;
}

.milestone-container {
  width: 50%;
  background-color:var(--white);
}

.inspector-container {
  width: 25%;
}

.hide, .journeys-wrapper a.expand.hide, .journeys-wrapper a.collapse.hide {
  display: none;
}

.inspector-container form {
  background-color: var(--white);
  margin: 2rem 1rem;
  border-radius: 15px;
  border: 1px solid #e4e4e4;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, .07);
  padding: 2rem 0;
}

.inspector-container .field {
  padding: .7rem 2rem;
}

.inspector-container input[type="text"] {
  width: 92%;
}

.inspector-container label {
  font-weight: 500;
}

.milestone-container {
  padding: 1.5rem 0rem;
}

.milestone-container>* {
  margin-left: 3rem;
  margin-right: 3rem;
}

.milestone-container * {
  box-sizing: content-box;
}

.milestone-container h2 {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom:3rem;
  margin-top: 1rem;
}

.milestone-container .milestone-item, .milestone-container .task-name, .milestone-container .task-points {
  border: 2px solid var(--gray);
  border-radius: 7px;
  margin: .75rem;
}

.milestone-container .milestone-item, .milestone-container .task-name {
  padding: 1rem 2rem;
}

.milestone-container .task-points {
  padding: 1rem 1.25rem;
}

.milestone-container .task {
  display: flex;
  margin-left:7%;
}

.milestone-container .task-name {
  width: 75%;
}

.milestone-container a.new-task, .milestone-container a.new-milestone {
  display:block;
  border: 3px dashed var(--gray);
  text-decoration: none;
  color: var(--gray);
  border-radius: 15px;
  text-align: center;
  padding: 1rem 0;
}

.milestone-container a.new-task {
  margin-left: 8%;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-right: 1rem;
  background:url('images/plus-icon.png') no-repeat 35% 50%;
}

.milestone-container a.new-milestone {
  background:url('images/plus-icon.png') no-repeat 33% 50%;
}

.milestone-container a.new-milestone:hover, .milestone-container a.new-task:hover {
  background-color: var(--default-bg);
}

.milestone {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

footer {
  padding: 2rem;
  text-align: center;
  background-color: var(--gray);
  color: var(--white);
  margin-top:10rem;
}

.journeys-wrapper a.new-journey, .personas-wrapper a.new-persona {
  display: inline-block;
  background: url('images/add-journey-icon.png') no-repeat 0% 0%;
  width: 20px;
  height: 20px;
  overflow: hidden;
  text-indent: -9999px;
  margin-bottom: 4%;
  margin-left: 87%;
}

.journeys-wrapper a.new-journey:hover, .personas-wrapper a.new-persona:hover {
  background: url('images/add-journey-icon-hover.png') no-repeat 0% 0%;
}

body.dashboard .container {
  display: block;
}

body.dashboard .container ul li {
  padding: .25rem;
}

.manage-users-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  a {
    margin: 0 .5rem;
  }
  .actions {
    display: inline-flex;
    flex-direction: row;
    gap:  1rem;
  }
  .button-group {
    display: inline-flex;
    gap: 1rem;
  }
}

.search-container {
  display: flex;
  align-items: center;
  form {
    display: flex;
    width: 42rem;
    height: 3.5rem;
    button {
      width: 4rem;
      background: url(../static/images/search-icon.png) no-repeat 50% 50% var(--base-purple);
      &:hover {
        background: url(../static/images/search-icon-hover.png) no-repeat 50% 50% white;
      }
    }
  }
  &.resource-search {
    justify-content: center;
    margin-top:1rem;
  }
}

/* .user-table-container { */
/*   border: 1px solid #ddd; */
/*   border-radius: 15px; */
/* } */

table.user-table, table.event-table {
  width: 100%;
  background-color: var(--white);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 15px;
}

table.user-table,
table.user-table thead,
table.user-table tbody,
table.user-table tr,
table.user-table th,
table.user-table td {
  border: none;
}

table.user-table thead tr {
  border-radius: 15px;
  background-color: #6700B2;
  color: var(--white);
}

table.user-table th, table.user-table td {
  padding: 8px 12px;
  text-align: center;
}

form.add-user-form .field {
  width: auto;
}

form.add-user-form table.tbl.table {
  td {
    border: none;
    padding-top:1.5rem;
    &:first-child {
      border-top-left-radius: 15px;
      border-bottom-left-radius: 15px;
    }
    &:last-child {
      border-top-right-radius: 15px;
      border-bottom-right-radius: 15px;
    }
  }
}

form.add-user-form select {
  line-height: 1.5rem;
  font-size: .875rem;
  display: block;
  width: 100%;
  border-radius: .375rem;
  padding: .375rem .5rem;
  border: 1px solid #cccccc;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  color: #212529;
}

form.add-user-form .btn-submit {
  margin-top:1rem;
}

table.user-table input[type="text"], table.user-table input[type="email"], table.user-table input[type="tel"], table.user-table select {
  box-shadow: none;
  font-size: .875rem;
  padding: .375rem .5rem;
  display: block;
  width: 100%;
  border-radius: .375rem;
  border: 1px solid #cccccc;
  line-height: 1.5rem;
}

table.user-table button {
  font-size: .875rem;
  line-height: 1.5rem;
  padding: .375rem .5rem;
}

form.add-user-form>.row {
  margin: 0 auto;
}

.milestone-container.write input.journey-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--black);
  margin-top:1rem;
  margin-bottom: 3rem;
  width: 90%;
}

.milestone-container.new-persona.write form {
  display: block;
}

.milestone-container.new-persona.write form ul.journey-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.milestone-container.new-persona.write form ul.journey-list li {
  flex: 1 1 calc(28% - 20px);
  margin: 1rem;
  max-width: 190px;
  display: flex;
  border: 2px solid #e4e4e4;
  align-items: center;
  background-color: var(--default-bg);
  cursor: pointer;
}

.milestone-container.new-persona.write form ul.journey-list li.checked {
  background-color: #D499FF;
  border: 2px solid #B34DFF;
}

.milestone-container.new-persona.write form ul.journey-list li.checked label {
  color: #6700B2;
}

.milestone-container.new-persona.write form ul.journey-list li input {
  margin: 1rem;
  cursor: pointer;
}

.milestone-container.new-persona.write form ul.journey-list li label {
  margin: 1rem;
  cursor:pointer;
}

.milestone-container.new-persona.write form input[type="submit"] {
  width: 95%;
  margin-top:2rem;
}

.milestone-container.write form {
  display: flex;
}

.milestone-container.write input.journey-submit {
  background: none;
  color: var(--gray);
  border: none;
  background: url('images/check-submit.png') no-repeat center;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 1.44rem 1rem;

}

.milestone-container.write input.journey-submit:hover {
  border: none;
}

.new-resource-wrapper {
  width: 100%;
}

.new-resource-wrapper form {
  padding: 2rem 7rem;
}

.new-resource-wrapper form input[type="text"] {
  margin: 2rem 0;
}

.new-resource-wrapper form textarea {
  width: 100%;
  height: 50rem;
}

.new-resource-wrapper form input[type="submit"] {
  width: 50%;
}

.new-resource-wrapper form .actions {
  margin: 2rem 0;
  display: flex;
}

.new-resource-wrapper form .actions input[type="submit"], .new-resource-wrapper form .actions a.btn {
  margin: 0 1rem;
}

.btn {
  display: block;
  border-radius: 7px;
  background: var(--base-purple);
  color: var(--white);
  font-size: 1rem;
  padding: .675rem .75rem;
  border: 2px solid var(--white);
  font-weight: bold;
  &:hover {
    text-decoration: none;
    border: 2px solid var(--base-purple);
    color: var(--base-purple);
  }
}

.btn.cancel {
  background: var(--gray);
  color: var(--white);
}

.btn.cancel:hover {
  background: var(--white);
  border: 2px solid var(--gray);
  color: var(--gray);
}

.btn.register-users-event {
  max-width: 40rem;
  margin: 2rem auto;
}

.new-resource-wrapper form .actions .btn.cancel {
  width: 50%;
}

.new-resource-float {
  display: block;
  position: absolute;
  bottom: 10px;
  left: 10px; 
  background-color: var(--base-purple);
  color: var(--white);
  padding: 10px;
  margin: 2rem 1rem;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.config-container {
  position: relative;
}

.new-resource-float:hover {
  background: #FF4DAE;
}

.dashboard-report-wrapper {
  width: 100%;
}

.dashboard-report-wrapper .dashboard-report {
  padding: 1rem 3rem;
}

.dashboard-report form.period-select {
  display: flex;
  width: 30%;
  align-items: center;
  label {
    font-weight: bold;
    font-size: 1rem;
    margin-right: 1rem;
  }
}

.home-dash.config-container {
  justify-content: center;
}

.featured-articles {
  width: 30%;
  ol {
    padding: 1rem 3rem;
    li{
      margin-left: 1rem;
      /* padding-left: 1rem; */
      /* padding-top: .5rem; */
      /* padding-bottom: .5rem; */
      a {
        color: var(--black);
        padding: 1rem;
        display: block;
        &:hover {
          text-decoration: none;
          background-color: var(--light-gray);
        }
      }
      &::marker {
        font-size: 1.5rem;
      }
      p {
        margin-bottom: .5rem;
      }
    }
  }
}

.spotlight-article {
  width: 60%;
  .article-wrapper {
    padding: 1rem 3rem;
    display: block;
    color: var(--black);
    &:hover{
      text-decoration: none;
      background-color: var(--light-gray);
    }
    h2 {
      margin-top: 0;
    }
    .date, .category {
      margin-bottom: .25rem;
    }
  }
}

.dashboard-report ul {
  list-style: none;
  padding: 0;
}

.dashboard-report h2 {
  margin: 1rem;
}

.dashboard-report .legend {
  margin:1rem 0;
}

.dashboard-report .legend .current {
  background: url(images/current-ellipse.png) no-repeat 0 50%;
  padding-left: 20px;
  margin-left: 25px;
}

.dashboard-report .legend .previous {
  background: url(images/trend-ellipse.png) no-repeat 0 50%;
  padding-left: 20px;
  margin-left: 25px;
}

.dashboard-report ul.dashboard-list {
  display: flex;
}

body.dashboard .container .dashboard-report-wrapper .dashboard-report li.dash-col {
  margin: .5rem;
}

.dashboard-report ul.dashboard-list li.dash-col {
  width: 350px;
}

.dashboard-report ul.dashboard-list li.dash-col ul.dash-col li {
  padding: 1.5rem;
}

.dashboard-report ul.dashboard-list li.dash-col ul.dash-col li.col-title {
  border: 1px solid #cccccc;
  border-bottom: none;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  padding-top: 0;
  padding-bottom: 0;
  height: 85px;
  display:flex;
  align-items: center;
}

.dashboard-report ul.dashboard-list li.dash-col ul.dash-col li.col-title h4 {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.dashboard-report li.metric-cell {
  border-right: 1px solid #cccccc;
  border-left: 7px solid var(--gray);
  /* border-bottom: 1px solid #cccccc; */
  border-top: 1px solid #cccccc;
}

.dashboard-report li.metric-cell:last-child {
  border-bottom: 1px solid #cccccc;
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;;
}

.dashboard-report li.metric-cell.green {
  border-left: 7px solid #40BF4A;
}

.dashboard-report li.metric-cell.yellow {
  border-left: 7px solid #EECD2B;
}

.dashboard-report li.metric-cell.red {
  border-left: 7px solid #BF4055;
}

.dashboard-report li.metric-cell .metric-name {
  color: #888888;
  font-weight: 500;
}

.dashboard-report li.metric-cell .metric-body {
  font-size:1.5rem;
  margin-top: .5rem;
  margin-left: .25rem;
}

.dashboard-report li.metric-cell .metric-body .metric-value {
  background: url(images/current-ellipse.png) no-repeat 0 50%;
  padding-left: 25px;
}

.dashboard-report li.metric-cell .metric-body .metric-trend {
  background: url(images/trend-ellipse.png) no-repeat 0 50%;
  padding-left: 25px;
  margin-left: 25px;
}

/* start profile styles */

.profile-container {
  .profile-header {
    background-color: var(--white);
    padding: 2rem 2rem 0 2rem;
    .profile-identity-wrapper {
      display: flex;
      justify-content: space-between;
      .persona {
        font-weight: bold;
      }
      .profile-identity {
        display: flex;
        flex-wrap: wrap;
        width: 75%;
        .portrait{
          position: relative;
          overflow: hidden;
          height:143px;
          width: 143px;
          border-radius: 100px;
          span {
            position:absolute;
            bottom:10%;
            left:0;
            text-align: center;
            width: 143px;
            color: var(--white);
            opacity: 0;
          }
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            &:hover {
              cursor: pointer;
            }
          }
          &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30%;
            background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
            opacity: 0; /* Initially invisible */
            transition: opacity 0.3s ease; /* Smooth transition */
          }
          &:hover span {
            opacity: 1;
            transition: opacity 0.3s ease; /* Smooth transition */
            z-index: 20;
            cursor: pointer;
          }
          &:hover::after {
            opacity: 1;
            cursor: pointer;
          }
        }
        .profile-name-points-wrapper {
          margin-left: 1.5rem;
          h4.name {
            margin: 0;
            font-size: 1.5rem;
            font-weight: bold;
          }
          .handle {
            color: var(--gray);
          }
          .points {
            display: flex;
            margin: 2rem 0 1.5rem 0;
            flex-wrap: wrap;
            h5 {
              margin: .5rem 0;
              display: block;
              font-size: 1.375rem;
              font-weight: 600;
              &.contributions {
                margin-right: 3rem;
              }
              span {
                display: block;
                margin-top: .25rem;
              }
            }
          }
        }
      }
    }
    nav.profile-nav {
      ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 1.5rem;
        li {
          padding: 1.5rem 1rem;
          a {
            color: var(--dark-gray);
            font-weight: 600;
          }
          &.active {
            border-bottom: 3px solid var(--base-purple);
            a {
              color: var(--black);
              cursor: default;
              text-decoration: none;
            }
          }
        }
      }
    }
  }
}

a.profile-mobile {
  display: none;
  text-align: center;
  color: var(--black);
  font-weight: 600;
  border-bottom: 1px solid var(--gray);
  border-top: 1px solid var(--gray);
  padding-top: .5rem;
  padding-bottom: .5rem;
} 

.profile-body.show {
  p.label {
    margin-bottom: .1rem;
    font-weight: bold;
  }
}
.edit-profile-btn {
  display:flex;
  align-items: flex-start;
  a {
    border: 1px solid var(--gray);
    color: var(--black);
    font-weight: bold;
    padding: .5rem;
    display: inline-block;
    &.settings {
      border-left: none;
      overflow: hidden;
      text-indent: -9999px;
      background:url('images/gear.png') no-repeat 50% 50%;
      width: 35px;
    }
    &:hover {
      text-decoration: none;
      background-color: var(--light-gray);
    }
  }
}

.profile-body {
  display:flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  margin-top:.5rem;
  .box {
    background-color: var(--white);
    padding: 2rem;
    margin-top:1.5rem;
  }
  .intro-column {
    width: 25%;
    min-width: 300px;
  }
  .resources-column, .account-column, .activities-column {
    width: 50%;
    min-width: 300px;
  }
  .resources-column .actions {
    display:flex;
  }
  .employment-column {
    width: 73%;
    min-width: 300px;
    margin-left:auto;
    margin-right:auto;
    a.edit-employ{
      width: 50%;
      margin:0 auto;
    }
    .account.box .actions a.btn.cancel {
      margin: 0 auto;
    }
  }
  .achievements-box {
    h3 {
      font-weight: 600;
    }
    ul.achievements-list {
      list-style: none;
      display:flex;
      justify-content: space-evenly;
      gap: 1rem;
      margin: 0;
      padding: 1rem 0 .5rem 0;
      figure {
        text-align: center;
        figcaption {
          font-weight: 600;
          margin-top: .25rem;
        }
      }
    }
    a.btn {
      border-radius: 100px;
    }
  }
  .location {
    background:url('/static/images/location-pin.png') no-repeat 0 50%;
    padding: .25rem 0 .25rem 2rem;
    margin: 1rem 0 0 1rem;
  }
  .resource.box {
    h4 {
      font-weight: 600;
    }
    .date {
      color: var(--gray);
    }
    .category {
      font-weight: 600;
      margin: .5rem 0;
    }
    ul.reaction {
      list-style: none;
      padding: 0;
      display: flex;
      gap: 2rem;
      margin-top: 1rem;
      li {
        a {
          color: var(--black);
          font-weight: 600;
          padding-left: 2rem;
          &.helpful {
            background:url('/static/images/like.png') no-repeat;
          }
          &.save {
            background: url('/static/images/heart.png') no-repeat;
          }
          &.share {
            background: url('/static/images/share.png') no-repeat;
          }
        }
      }
    }
  }
  .account.box {
    .form-group {
      margin: 1rem;
    }
    .actions{
      display: flex;
      button, a.btn {
        margin: 1.5rem 1rem;
        width: 50%;
      }
    }
  }
}

/* end profile styles */

.button-group-event {
  flex-direction: row;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}


/* campaign styles */

.campaign-form {
  display: flex;
}

.button-group-campaign {
  display: flex;
  justify-content: flex-end; /* pushes buttons to the right */
  gap: 10px;
  margin-bottom: 20px;
  margin-right: 25rem; /* optional: aligns with table's right margin */
}

.button-group-campaign .btn {
    width: auto !important;
    padding: 10px 20px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    color: white;
    background-color: #9d00ff; 
    cursor: pointer;
    white-space: nowrap;
}

.button-group-campaign .btn:hover {
    opacity: 0.9;
}

.userTableContainer {
  width: 75%;
  margin: 2rem 3rem;
}

.mobile-resource-filters.mobile-campaign {display: none;}

.metrics {
  display: flex;
  justify-content:space-evenly;
  margin-bottom: 2rem;
  .metric {
    border-radius: 15px;
    background-color: var(--base-purple);
    color: white;
    width: 15%;
    padding: 1.5rem;
  }
}

.search-container.under-metrics {
  width: 85%;
  margin: 0 auto;
}

form.register-users-form-table {
  width: 75%;
  padding: 2rem;
  .actions {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    button, a {
      width: 50%;
    }
  }
}

/* end campaign styles */

.user-table-wrapper {
  width: 75%;
  table {
    margin: 2rem;
  }
}

/* media queries */
@media (max-width: 1099px) {
  .config-container {
  	flex-direction: column;
  }

  .join-group-wrapper {
    flex-direction: column;
    .accent-card {
      margin-left: auto;
      margin-right: auto;
    }
  }

  a.create-group.btn {
    width: 95%;
    max-width: 300px;
  }
  
  .filter-category-wrapper {
  	order: 3;
    width: 90%;
  }
  
  .resource-list-wrapper {
  	order: 2;
    width: 90%;
  }
  
  .resource-view-wrapper {
  	order: 1;
    width: 90%;
  }

  .filter-category-wrapper {
    display: none;
  }

  .resource-list-wrapper {
    display: none;
  }

  .resource-list-wrapper.mobile-sidebar {
    display: block;
    position: fixed;
    left: -100%;
    /*transform: translateX(-100%); /* Start off-screen to the left */
    top: 80px;
    bottom: 0;
    width: 100%;
    z-index: 900;
    overflow: scroll;
    transform: translate(-50%, 0%);
    &.open {
      left: 50%;
      /*transform: translateX(0); /* Move to its normal position */
      /*transform: translate(-50%, 0%);*/
    }
    .search-container {
      margin:1rem;
    }
    .mobile-resource-filters {
      display: flex;
      overflow: scroll;
      .category-list-wrapper, .author-list-wrapper, .date-list-wrapper {
        min-width: 325px;
        margin: .25rem .25rem 1rem .25rem;
        display: flex;
        align-items: center;
        select {
          margin: .75rem 1rem;
          height: 75%;
        }
        h3 {
          background-color: white;
          color: var(--base-purple);
          margin-bottom: 0;
          /* padding-bottom: 0; */
          padding: 0 1rem;
        }
      }
    }
  }
  .button-group-campaign {margin-right:0;}
      .campaign-form {
        display: block;
      }
      .mobile-resource-filters.mobile-campaign {
      display: flex;
      overflow: scroll;
      .category-list-wrapper, .author-list-wrapper, .date-list-wrapper {
        min-width: 325px;
        margin: .25rem .25rem 1rem .25rem;
        display: flex;
        align-items: center;
        select {
          margin: .75rem 1rem;
          height: 75%;
        }
        h3 {
          background-color: white;
          color: var(--base-purple);
          margin-bottom: 0;
          /* padding-bottom: 0; */
          padding: 0 1rem;
        }
      }
    }

  .nav-sidebar-toggle {
    display: block;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 112px;
    left: 0;
    width: 100%;
    background-color: #333;
    z-index: 100;
    &.active {
      display: flex;
      z-index: 1050;
    }
    li {
      margin: 1rem;
      &.dropdown:hover .dropbtn {
        background-color: #333;
        color: var(--white);
      }
      &.dropdown:hover .dropdown-content {
        display: none;
      }
      &.dropdown.signin {
        display: block;
      }
      &.dropdown.active {
        display: flex;
        flex-direction: column;
      }
      &.dropdown.active a.dropbtn {
        background-color: #ddd;
        color: var(--black);
      }
      &.dropdown.active .dropdown-content {
        display: block;
        position: static;
        z-index: auto;
        background-color: #333;
        box-shadow: none;
        padding-left: 2rem;
        a {
          color: var(--white);
        }
      }
    }
  }
  .hamburger {
    display: flex;
  }
  .signin-link-container {
    display: none;
  }
  .dashboard-panel {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .new-resource-wrapper form {
    padding: 1rem;
    input[type="text"] {
      margin: .5rem 0;
    }
  }
  .profile-container .profile-header {
    padding-bottom: 2rem;
    a.profile-mobile {
      display: block;
      span.more {
        display: inline;
      }
      span.less {
        display: none;
      }
      &.active span.more {
        display: none;
      }
      &.active span.less {
        display: inline;
      }
   }
   nav.profile-nav {
     display: none;
   }
   nav.profile-nav.active {
     display: block
   }
    nav.profile-nav ul {
      flex-direction: column;
    }
  }
  .profile-body {
    .intro-column, .account-column, .resources-column, .activities-column {
      width: 100%;
    }
    .intro-column {
      order: 2;
    }
    .account-column .account.box {
      order: 1;
      .actions {
        flex-direction: column;
        button, a.btn {
          width: 100%;
          margin: .5rem 0;
        }
      }
    }
    .resource.box ul.reaction {
      gap: 1rem;
    }
  }
  table.tbl {
    display: block;
    thead, tbody, th, td, tr {
      display: block;
    }
    thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    tr {
      border: 1px solid #cccccc;
    }
    td {
      border: none;
      border-bottom: 1px solid #eee; 
      position: relative;
      padding-left: 50%; 
      white-space: normal;
      text-align:left;
    }
    td:before {
      position: absolute;
      top: 6px;
      left: 6px;
      width: 45%; 
      padding-right: 10px; 
      white-space: nowrap;
      text-align:left;
      font-weight: bold;
      content: attr(data-title);
    }
  }
  .home-dash {
    .featured-articles {
      order: 2;
    }
    .spotlight-article {
      order: 1;
    }
  }
  .login-container {
    form {
      max-width: none;
      input[type="submit"] {
        width: 100%;
      }
    }
    h2 {
      max-width: none;
    }
  }
  body.login, body.login-gs {
    nav {
      display: none;
    }
    .login-links {
      display: none;
    }
  }
  .welcome-wrapper {
    flex-direction: column;
  }
  .container>.search-container.resource-search {
    display: none;
  }
  .manage-users-header {
    flex-direction: column;
    .actions {
      flex-direction: column;
      max-width: 300px;
    }
    .button-group {
      margin-bottom: 2rem;
      flex-direction: column;
    }
  }
  .profile-container .profile-header .persona {
    display: none;
  }
  .profile-container .profile-header .profile-identity-wrapper .profile-identity {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    .portrait {
      margin-bottom: 1rem;
    }
    .profile-name-points-wrapper {
      text-align: center;
      margin: 0;
        .points h5.contributions{
        font-size: 1.25rem;
        margin-left: auto;
        margin-right: auto;
        .pending {
          font-size: .9rem;
        }
      }
    }
  }
  .mobile-only-hide {
    display: none !important;
  }
  body.login, body.login-gs {
    .hero {
      margin-top:0;
      color:white;
      width: auto;
      .hero-text {
        width: auto;
      }
      h1 {
        font-size: 3rem;
      }
      h2 {
        font-size: 1.75rem;
      }
      ul {
        font-size: 1.5rem;
      }
    }
    .login-container {

    }
  }
  .how-it-works-wrapper {
    margin-top:2rem;
    ol {
      margin-left: 0;
    }
  }
  html.login-gs {
    header {
      justify-content: space-around;
    }
    .login-links {
      display: block;
      .callout-btn {
        display: none;
      }
      .signin-link {
        background: none;
        padding: 0;
        margin: 0 auto;
      }
    }
  }
  .dashboard-panel.create-event{
    width: 90%;
    padding: 1rem;
  }
  .metrics {
    display: block;
    .metric {
      width: 80%;
      margin: 1rem;
    }
  }
  table.event-table.tbl tbody td {
    padding-left: 50%;
    padding-top: 8px;
    padding-bottom: 12px;
  }
  form.register-users-form-table.attendance {
    width: 80%;
    padding: 0;
    margin: auto;
    td {
      word-break:break-word;
    }
  }
  
  /* Mobile Pagination Styles */
  .pagination {
    flex-wrap: wrap;
    gap: 0.125rem;
    justify-content: center;
    padding: 0 1rem;
  }
  
  .page-link {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    min-width: 44px;
    text-align: center;
  }
  
  /* Hide ellipsis and some page numbers on very small screens */
  /* .page-item:nth-child(n+4):nth-last-child(n+4) .page-link { */
  /*   display: none; */
  /* } */
  
  /* Always show first, last, previous, next, current and adjacent pages */
  .page-item:first-child .page-link,
  .page-item:last-child .page-link,
  .page-item:nth-child(2) .page-link,
  .page-item:nth-last-child(2) .page-link,
  .page-item.active .page-link,
  .page-item.active + .page-item .page-link,
  .page-item.active - .page-item .page-link {
    display: block !important;
  }
}

/* end media query */

.portrait {
  position: relative;
  display: inline-block;
}

.portrait .edit-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
}

.edit-button {
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
}


.portrait:hover .edit-button {
  display: block;
}

select {
  -webkit-appearance: none; 
  -moz-appearance: none; 
  appearance: none; 
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><path fill="black" d="M0 0L5 5L10 0H0z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.65em;
  padding-right: 1.75rem;
}

select.full {
  width: 100%;
}

html.login-gs {
  background:url(images/motivera-background.jpg) no-repeat top center fixed;
  background-size:cover;
  body {
    background: none;
  }
}

.g-recaptcha {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.communication-preferences-column {
  width: 120px;
}

/* Reporting Dashboard Styles */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.metrics-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.metrics-section h3.section-title {
    color: var(--black);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    /* background: var(--light-gray); */
    border-radius: 7px;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-card {
    background: var(--base-purple);
    color: white;
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
}

.metric-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.75rem 0;
}

.metric-card .metric-value {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.metric-card .trend-indicator {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.trend-indicator::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.trend-indicator.up::before {
    border-bottom: 8px solid #40BF4A;
    margin-bottom: 2px;
}

.trend-indicator.down::before {
    border-top: 8px solid #BF4055;
    margin-top: 2px;
}

.checkin-heading-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  margin: 0 auto;
  .export-link {
    /* width: 15%; */
    /* margin: 2rem auto 0 auto; */
  }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .metrics-section {
        padding: 1rem;
    }
    
    .metric-card {
        padding: 1rem;
    }
    
    .metric-card .metric-value {
        font-size: 1.75rem;
    }
}

/* Report Resources Browsed Styles */
.report-card {
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
}
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.report-download-btn {
  background: var(--base-purple);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.report-download-btn:hover {
  background: var(--white);
  color: var(--base-purple);
  border: 2px solid var(--base-purple);
}
.report-chart-container {
  margin: 2.5rem 0 2rem 0;
}
.report-chart-container--yoy {
  position: relative;
  height: 380px;   /* desktop */
}

@media (max-width: 768px) {
  .report-chart-container--yoy {
    height: 280px; /* mobile */
  }
}
.report-top-list {
  margin-top: 2.5rem;
}
.report-top-list-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.report-top-list ol {
  padding-left: 1.5rem;
  font-size: 1.05rem;
}
.report-top-list li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.report-top-list li .resource-count {
  font-weight: 600;
  color: var(--base-purple);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.page-item {
  margin: 0;
}

.page-link {
  display: block;
  padding: 0.5rem 0.75rem;
  margin: 0;
  line-height: 1.25;
  color: var(--base-purple);
  text-decoration: none;
  background-color: var(--white);
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.page-link:hover {
  color: var(--white);
  background-color: var(--base-purple);
  border-color: var(--base-purple);
  text-decoration: none;
}

.page-item.active .page-link {
  color: var(--white);
  background-color: var(--base-purple);
  border-color: var(--base-purple);
}

.page-item.disabled .page-link {
  color: var(--gray);
  background-color: var(--white);
  border-color: #dee2e6;
  cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
  color: var(--gray);
  background-color: var(--white);
  border-color: #dee2e6;
}
