:root {
  --primary-color: #000;
  --secondary-color: #f58026;
  --tertiary-color: #E0E0E0;
  --primary-font-family: "trade-gothic-next";
  --secondary-font-family: 'Bogs Headline';
  --primary-font-color: #000;
  --secondary-font-color: #fff;
  --benefit-background: #F1F1F1;
  --how-it-works-background: #F1F1F1;
  --dashboard-border-color: #737373;
}

/*Loyalty Phase II: Progress Bar*/
#loyaltyPoints,
#loyaltyNavigation {
  .progress-bar {
    background-color: var(--tertiary-color);
    border-radius: 25px;
    height: 17px;
    position: relative;
  }

  .progress {
    background-color: var(--secondary-color);
    border-radius: 25px;
    height: 17px;
  }

  .progress-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    top: 10px;
  }

  .progress-label:first-child {
    left: 5px;
  }

  .progress-label:last-child {
    right: 5px;
  }
}

/*Loyalty Phase II: Nav Styling*/
#loyaltyNavigation {
  a {
    text-decoration: underline;
  }

  .nav-loyalty-links {
    font-size: 16px;
    white-space: nowrap;
    margin-right: 10px;
    font-family: var(--secondary-font-family);
    text-transform: uppercase;
    letter-spacing: .6px;
  }

  .nav-loyalty-detail {
    font-size: 11px;
    min-width: 12vw;
  }
}

@media (min-width:992px) {
  #loyaltyNavigation {

    div,
    a,
    span {
      color: var(--primary-color);
    }
  }
}

@media (max-width:992px) {
  #loyaltyNavigation {

    div,
    a,
    span {
      color: var(--primary-color);
    }
  }
}

/*Loyalty Phase II: styleDetail/topDrop/checkout/shoppingCart pages*/
#loyaltyPoints {
  a:hover {
    color: var(--primary-color);
  }

  .loyaltyIcon {
    height: 16px;
    width: 16px;
    margin-right: 5px;
  }

  .loyaltyText,
  .loyaltyText a {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
  }
}

@media (min-width:992px) {

  #loyaltyPoints,
  #loyaltyNavigation {
    .progress-bar {
      width: 100%;
      min-width: 5vw;
    }
  }
}

@media (max-width:992px) {

  #loyaltyPoints,
  #loyaltyNavigation {
    #progress.progress-bar {
      width: 10rem;
    }
  }
}

/*Rewards LP Main Container*/

#rewardsLP {
  a:hover {
    color: var(--primary-color);
  }

  position: relative;
}

#rewardsLP {
  .content-block-text {
    position: absolute;
    display: flex;
    flex-flow: column;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    line-height: 1;
  }

  .heading {
    font-family: var(--secondary-font-family);
    color: var(--secondary-font-color);
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .copy,
  .msg {
    font-weight: 500;
    line-height: 1.5;
    color: var(--secondary-font-color);
  }

  .btn.btn-join {
    font-family: var(--secondary-font-family);
    color: var(--primary-color);
    background: var(--secondary-font-color);
    letter-spacing: .6px;
    text-transform: uppercase;
    text-decoration: none;
  }

  .fine-text a {
    color: var(--secondary-font-color);
    text-decoration: underline;
  }

  .fine-text a:hover {
    opacity: .5;
  }

  .fine-text {
    color: var(--secondary-font-color);
  }
}

@media (min-width:992px) {
  #rewardsLP {
    .content-block-text {
      padding: 0 25vw;
    }

    img.img-fluid.reward-logo {
      max-width: 12vw;
    }

    .heading {
      font-size: 3vw;
    }

    .btn.btn-join {
      padding: .25vw 1vw;
      font-size: 1.25vw;
      border-radius: 100px;
    }
    input#main\:btnCreateNewCustomer {
      max-width:12vw;
    }

    .copy {
      font-size: 1vw;
    }

    .input {
      width: 100%;
      border: 0;
      border-radius: 0;
      height: 3vw;
      font-weight: 500;
      margin-bottom: 1vw;
      padding: .75rem 1rem .5rem;
      font-size: 1vw;
    }

    .msg {
      font-size: 1vw;
    }

    .fine-text {
      font-size: .75vw;
    }
  }
}

@media (max-width:992px) {
  .content-block-text {
    padding: 1.5rem;
  }

  img.img-fluid.reward-logo {
    max-width: 175px;
  }

  #rewardsLP {
    .heading {
      font-size: 2.5rem;
    }

    .btn.btn-join {
      padding: .25vw 1vw;
      font-size: 1.5rem;
      max-width: 40%;
      border-radius: 100px;
    }

    .copy {
      font-size: .85rem;
    }

    .input {
      width: 100%;
      border: 0;
      border-radius: 0;
      height: 3rem;
      font-weight: 500;
      margin-bottom: 1rem;
      padding: .5rem 1rem;
      font-size: 1rem;
    }

    .msg {
      font-size: 1rem;
    }

    .fine-text {
      font-size: .75rem;
    }
  }
}

/*benefits.xhtml */
#loyaltyBenefits,
#loyaltyAccount,
#accountDashboard {
  a {
    text-decoration: underline;
    color: var(--primary-color)
  }

  .accordion-item-body {
    padding: 0 1.25rem 1.25rem;
  }

  input[type="checkbox"] {
    -webkit-appearance: none;
    /* For older WebKit browsers */
    -moz-appearance: none;
    /* For older Firefox browsers */
    appearance: none;
    /* Standard way to remove default appearance */
  }

  input[type="checkbox"]+label::before {
    position: static;
    display: inline-block;
    height: 15px;
    width: 15px;
    content: "";
    border-radius: 50px;
    background: #fff;
    margin-right: 5px;

  }

  input[type="checkbox"]:checked+label::before {
    background-color: var(--primary-color);
    border: 1px solid #fff;
  }

  a:hover {
    color: var(--primary-color);
  }

  span {
    display: block;
  }

  .benefit-heading {
    font-family: var(--secondary-font-family);
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .benefit-title,
  .benefit-heading,
  .accordion-button,
  .btn.btn-join {
    color: var(--primary-color);
    font-family: var(--secondary-font-family);
    text-transform: uppercase;
    line-height: 1;
    padding: 1rem;
    font-size: 1.25rem;
    letter-spacing: 2px;
    white-space: normal;
  }

  .accordion-button {
    display: flex;
    text-decoration: none;
  }

  .accordion-button:hover {
    text-decoration: none;
  }

  .accordion-body {
    text-align: left;
    padding-top: 0;
  }

  .accordion-button:not(.collapsed) {
    background-color: transparent;
  }

  .benefit-copy {
    color: var(--primary-color);
    font-weight: 500;
  }

  .benefit-icon {
    fill: var(--secondary-color);
    display: block;
    margin: 0 auto;
  }

  .benefit-container {
    background-color: var(--benefit-background);
    position: relative;
  }

  .how-it-works {
    background-color: var(--how-it-works-background);
  }

  .accordion>.accordion-item:first-of-type {
    border-top: 1px solid #3D3D3D;
  }

  .accordion .accordion-item-header {
    border-bottom: 0;
    background: transparent;
    padding-bottom: .25rem;
  }

  .accordion>.accordion-item {
    background-color: transparent;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--primary-color);
    border-radius: 0;
  }

  .btn.btn-join {
    font-family: var(--secondary-font-family);
    color: var(--secondary-font-color);
    background: var(--primary-color);
    letter-spacing: .6px;
    text-transform: uppercase;
    text-decoration: none;
  }

  .accordion .accordion-item-header button:after {
    content: url('images/plus-dark.svg');
  }

  .accordion .accordion-item-header button[aria-expanded="true"]:after {
    content: url('images/minus-dark.svg');
  }

  .fine-print {
    font-weight: 500;
    position: absolute;
    right: 0;
    left: 0;
  }

  .table {
    max-width: 100%;
    overflow-x: hidden;
  }

  .benefit-icon.small {
    fill: var(--secondary-color);
  }
}

/*Desktop */
@media (min-width:992px) {

  #loyaltyBenefits,
  #loyaltyAccount,
  #accountDashboard {
    .benefit-heading {
      font-size: 2rem;
    }

    .benefit-title {
      font-size: 1.35rem;
    }

    .benefit-icon.small {
      width: 100%;
      height: 55px;
      margin-bottom: .5rem;
    }

    .benefit-copy {
      font-size: .85rem;
      margin: 0 auto;
    }

    .member-benefits .benefit-copy {
      max-width: 70%;
    }

    .benefit-icon.large {
      width: 100px;
      height: 100px;
      margin-bottom: 1rem;
    }

    .benefit-container {
      padding: 8rem 1rem;
      margin-bottom: 30px;
      height: 100%;
    }

    .btn.btn-join {
      padding: .5rem 2rem;
      font-size: 1.5rem;
      border-radius: 100px;
    }

    /* Default state: Plus icon */
    .accordion .accordion-item-header button:after {
      width: 20px;
      margin-right: 10px;
      float: right;
    }

    /* When collapsed (aria-expanded="false"), show the Minus icon */
    .accordion .accordion-item-header button.collapsed:after {
      width: 20px;
      margin-right: 10px;
      float: right;
    }

    .fine-print {
      font-size: .6rem;
      bottom: 1rem;
      padding: 0 3rem;
    }
  }
}

/*Tablet and Mobile*/
@media (max-width:992px) {

  #loyaltyBenefits,
  #loyaltyAccount,
  #accountDashboard {
    .benefit-heading {
      font-size: 1.75rem;
    }

    .benefit-title {
      font-size: 1.5rem;
      padding-bottom: .5rem;
    }

    .benefit-icon {
      width: 100%;
      height: 50px;
      margin-bottom: .5rem;
    }

    .benefit-copy {
      font-size: .85rem;
      margin: 0 auto;
    }

    .member-benefits .benefit-copy {
      padding-bottom: 2rem;
    }

    .benefit-container {
      padding: .75rem;
      min-height: 15rem;
      display: flex;
      flex-flow: column;
      justify-content: center;
    }

    .btn.btn-join {
      padding: 1.5vw 8vw;
      font-size: 1.5rem;
      border-radius: 100px;
    }

    .accordion .accordion-item-body,
    .accordion .accordion-item-header button {
      font-size: 1rem;
      line-height: 1.5;
    }

    .accordion .accordion-item-header button {
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      padding: 1rem 0rem;
      text-align: left;
    }

    .accordion .accordion-item-header button:after {
      margin-right: 10px;
      margin-left: 20px;
      min-width: 14px;
      width: 14px;
    }

    .accordion .accordion-item-header button.collapsed:after {
      margin-right: 10px;
      margin-left: 20px;
      min-width: 14px;
      width: 14px;
    }

    .fine-print {
      font-size: .5rem;
      bottom: 1rem;
      padding: 0 1rem;
      position: static;
    }
  }
}

/*Dashboard*/
#accountDashboard {
  a:hover {
    color: var(--primary-color);
  }

  .account-name {
    color: var(--primary-color);
    font-family: var(--secondary-font-family);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .account-number {
    color: var(--dashboard-border-color);
  }

  .reward-logo {
    width: 150px;
  }

  .rewards-credit {
    color: var(--secondary-color);
    font-weight: bold;
    font-family: var(--secondary-font-family);
    letter-spacing: 2px;
  }

  hr {
    border-top: 1px solid var(--dashboard-border-color);
  }

  .dashboard-container {
    border: 1px solid var(--dashboard-border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
  }

  .dashboard-heading {
    color: var(--primary-color);
    font-weight: 500;
    font-family: var(--secondary-font-family);
    text-transform: uppercase;
    letter-spacing: 1px;
  }


}

@media (min-width:992px) {

  #accountDashboard.container,
  #earnPoints.container,
  #loyaltyBenefits .container {
    max-width: 1400px !important;
  }

  #accountDashboard {

    .account-name,
    .dashboard-heading {
      font-size: 1.5rem;
    }

    .rewards-credit {
      font-size: 3rem;
    }

    .dashboard-container {
      padding: 3.25rem;
    }

    .progress-bar {
      width: 400px;
      height: 40px;
      background-color: var(--tertiary-color);
      overflow: hidden;
      position: relative;
      border-radius: 100px;
    }

    .progress {
      height: 100%;
      background-color: var(--secondary-color);
      width: 0;
      transition: width 0.5s;
      margin-left: 0px !important;
      border-radius: 0px;
      border-radius: 100px;
    }

    .progress-label {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: var(--primary-font-color);
      font-size: 16px;
      padding: 0 10px;
      font-weight: 500;
    }

    .progress-label:first-child {
      left: 5px;
    }

    .progress-label:last-child {
      right: 5px;
    }

  }
}

@media (max-width:992px) {
  #accountDashboard {

    .account-name,
    .dashboard-heading {
      font-size: 1.5rem;
    }

    .rewards-credit {
      font-size: 3rem;
    }

    .dashboard-container {
      padding: 3.25rem;
    }

    .progress-bar {
      width: 65vw;
      height: 35px;
      background-color: var(--tertiary-color);
      overflow: hidden;
      position: relative;
      border-radius: 100px;
    }

    .progress {
      height: 100%;
      background-color: var(--secondary-color);
      width: 0;
      transition: width 0.5s;
      margin-left: 0px !important;
      border-radius: 0px;
      border-radius: 100px;
    }

    .progress-label {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: var(--primary-font-color);
      font-size: 16px;
      padding: 0 10px;
      font-weight: 500;
    }

    .progress-label:first-child {
      left: 5px;
    }

    .progress-label:last-child {
      right: 5px;
    }
  }
}

#earnPoints {
  a:hover {
    color: var(--primary-color);
  }

  input[type="submit"],
  .benefit-button {
    display: block;
    background: transparent;
    border: none;
    text-align: center;
    width: 100%;
    font-weight: 500;
    text-decoration: underline;
    position: absolute;
    left: 0;
    right: 0;
    color: var(--primary-color);
  }

  .complete {
    font-weight: 500;
  }

  select,
  input[type="text"] {
    height: 30px;
    width: 6rem;
    border: 1px solid var(--primary-color);
    font-weight: 500;
    padding: 0 8px;
    width: 6rem;
    font-size: .8rem;
    margin: 0 auto;
  }

  table {
    width: 100%;
  }

  label {
    padding: 0 5px;
    font-weight: 500;
  }

  td {
    display: inline-flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
  }

  .fine-print {
    font-weight: 500;
    position: absolute;
    bottom: .5rem;
    padding: 0 1rem;
    left: 0;
  }

  .text-danger,
  #copyMessage {
    font-size: .8rem;
    text-align: center;
    width: 100%;
    font-weight: 500;
  }
}

@media (min-width:992px) {
  #earnPoints {

    input[type="submit"],
    .benefit-button {
      font-size: .9rem;
      bottom: 7rem;
    }

    .complete {
      font-size: .9rem;
    }

    label {
      font-size: .8rem;
      margin: 0px;
      display: flex;
    }

    .benefit-container {
      padding: 3rem 1rem 8.5rem;
      margin-bottom: 0px;
      height: 100%;
    }

    .fine-print {
      font-size: .4rem;
    }
  }
}

@media (max-width:992px) {
  #earnPoints {

    input[type="submit"],
    .benefit-button {
      font-size: .9rem;
      position: static;
      margin-top: .5rem;
    }

    .benefit-button.copy {
      margin-top: .5rem;
    }

    .complete {
      font-size: .9rem;
      position: static;
    }

    label {
      font-size: .8rem;
      margin-bottom: 0;
    }

    .benefit-container {
      padding: 2rem 1rem;
      height: 100%;
      justify-content: start;
    }

    .fine-print {
      font-size: .5rem;
      position: static;
      margin-top: 1rem;
    }
  }
}

/*New Loyalty History Addition*/

#loyaltyHistory {
  .history-heading {
    background-color: var(--tertiary-color);
  }

  .history {
    border-bottom: 1px solid var(--tertiary-color)
  }

  .date {
    color: var(--dashboard-border-color);
    font-size: .85rem;
    font-weight: 500;
  }

  .history-container {
    overflow-y: auto;
  }
}

@media (min-width:768px) {
  #loyaltyHistory {

    .history-heading,
    .history {
      padding: 0 6rem;
    }

    .dashboard-container {
      max-height: 34.7rem;
    }
  }
}

@media (max-width:768px) {
  #loyaltyHistory {

    .history-heading,
    .history {
      padding: 0 2rem;
    }

    .dashboard-container {
      max-height: 21rem;
    }
  }
}