// !!! Warning !!! CSS files are generated from their associated SCSS files. Don't modify the CSS files directly,
// modify the SCSS files and then compile them using compass. This will generate the CSS file for you.

// Prevent the user from scrolling the page horizontally
@media (max-width:767px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

html,
button,
input,
select,
textarea {
  color: #363636;
  font-family: 'Arial', sans-serif;
}
.breadcrumb {
  display: none;
}

body {
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a:link, a:visited {
  color: $nsblue;
}
.bodyContent input {
  font-size: 16px;
  border: 1px solid $nsbordergrey;
  border-radius: 4px;
  padding: 6px 6px 2px;
  max-width: 100%;
  margin-right:6px;
  color: #666666;
}
.dropdown.section {
  min-width: 50px;
  margin-bottom: 15px;
}
form .singleRadio div {
  display: inline-block;
}
.section.singleCheckbox {
  margin-bottom:8px;
  display: table;
  label {
      width: auto;
  }
  input[type="checkbox"] {
    display:inline-block;
    margin-right:3px;
  }
}
#new_form_shippingState {
  min-height: 30px;
}

.newPayment, .newAddress {
  padding-bottom: 1em;
  border-bottom-style: dashed;
  border-bottom-width: 1px;
  border-bottom-color: rgb(211, 211, 211);
}

.editPayment, .newPayment, .editAddress, .newAddress {
  padding-bottom: 1em;
  border-bottom: dashed 1px #d3d3d3;
  max-width: 700px;
  width: 100%;
}

.paymentLogo{
  margin-bottom: 10px;
}
.payPalLink{
  margin-left: 15px;
}

#paymentAgree{
  text-align: right;
  display: inline-block;
  padding: 20px 0;
}

.red {
  color: red;
}

.singlecheckout_c2fa {
  .no-show-ageloc {
    display: none;
  }
}

body.in_ID {
  .editPayment, .newPayment, .editAddress, .newAddress {
    form .bodyContent {
      width:100%;

      &>.section  {
          display:inline-block;
          margin-right:2em;
          width:300px;
          max-width:100%;
      }

      &>.section.dropdown select  {
          min-width:100px;
      }

      &>.section.singleCheckbox {
          width:100%;
          margin-bottom:5px!important;
      }
    }
  }

  .editPayment, .newPayment {
    form .bodyContent {
      &>.section:first-child {
        display: block;
      }
      .dropdown:nth-child(3) {
          display:block!important;
      }
    }
  }
}

.singleCheckout {
  .ord-confirm-spinner {
    background-color: #fafafa;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 65px;
  }
}

#signupConfirmation {
  position: relative;
}

.paymentMessage {
  clear: both;
  width: 70%;
  padding-top: 5px;
}

#backToCartButton {
  margin-bottom:1em;

  a {
    color: #008ab0;
  }
}

.inputGroup {
  display: table;
  position: relative;
  margin-top:5px;
  input {
    border-radius: 4px 0 0 4px;
    height: 35px;
    display: table-cell;
    float: left;
    border-right: 0;
    max-width: 50% !important;
    width: auto;
    margin-right:0!important;
    border-radius:2px 0 0 2px!important;
  }
  button[class^="btn-"] {
    border-radius: 0 4px 4px 0;
  }
}

#content {
  #mainContent {
    padding: 0 0 20px;
    flex: 1;
    position:relative;
    .container {
      width: $gridWidth;
      max-width: 100%;
      padding: 0 20px;
      margin: 0 auto;
      text-align: left;
      border: none;
      .agree-to-terms {
        float: right;
        width:185px;
      }
      /*testing*/
      h1.checkoutHeader {
        margin-bottom: 5px;
      }
      #shippingRatePopupLink{
        margin-top: 20px;
        color: #008ab0;;
      }
      .errorDialogue {
        margin-bottom: 25px;
        h3 {
          font-size: 16px;
          font-weight: bold;
          margin-bottom: 10px;
        }
        li {
          list-style-type: disc;
          margin-left: 25px;
        }
      }
      .cartIcon{
        margin-right: 5px;
      }
      input.ng-invalid.ng-dirty {
        border: 1px solid #C71013!important;
      }
    }
  }
  .checkoutSection {
    overflow:hidden;

    header {
      h1 {
        float: left;
        font-size: 20px;
        color: $nsbordergrey;
        text-transform: uppercase;
        padding-right: 0;
        padding-bottom: 0;
        display: table;
        font-weight: 400;
      }
      h1 div {
        font-size: 20px;
      }
    }
    &.active {
      header {
        h1 {
          color: #555555;
        }
      }
    }
    .inputGroup{
      input.code {
        width:55%;
      }
    }
    h3 {
      font-size: 15px;
      font-weight: bold;
      margin-bottom: 10px;
      clear: both; // genLOC Me on LG device
    }
    h4 {
      font-weight: bold;
      margin-top: 10px;
    }
    .checkout_items {
      padding:18px 0;
      position: relative;
      .badge {
        display:none;
      }
      .productThumb {
        float:left;
        margin-right:8px;
        height: 50px;
        margin-bottom: 20px;
        width: 85px;
      }
      .productTitle {
        float:left;
        width: 38%;
        @media only screen and (max-width: 767px) {
          padding-left: 1px;
          width: 55%;
        }
        h3 {
          margin-bottom:0;
        }
        p {
          margin:0;
        }
      }
      .prod_numbers {
        float:right;
        min-width:40%;
        position: relative;
        top: -2px;
        div {
          float:left;
          margin-right:20px;
          position:relative;
          top:4px;
          min-width:15%;
          @media only screen and (max-width: 767px) {
            float:none;
            margin-right: 0;
          }
          @media only screen and (max-width: 480px) {
            margin-left: 0;
          }
        }
      }
      .badge {
        display:block;
        float:left;
        background-size: 25px;
        width:25px;
        height:25px;
        margin-right:7px;
        position: absolute;
        left: -40px;
        top: 15px;

        &.aroBadge {
          top: 24px;
        }
        &.adpBadge {
          top: 23px;
        }
      }
      &.adrRow {
        .adrBadge {
          background: url(content/dam/global/images/logo-adr.svg) no-repeat;
        }
        .aroBadge {
          background: url(content/dam/global/images/logo-aro-gray.svg) no-repeat;
        }
        .adpBadge {
          background: url(content/dam/global/images/logo-adp-gray.svg) no-repeat;
        }
      }
    }
    .agree-to-terms {
      margin: 10px 0;
      input {
        float:left;
        margin-right:0;
      }
      label{
        float: left;
        margin-left: 5px;
        line-height: 1.2;

        span {
          padding-left: 5px;
        }
      }
    }
    .backdate_check {
      margin-top:15px;
      .action{
        margin-bottom:10px;
      }
      .disclaimer{
        font-size:12px;
        font-style:italic;
      }
    }
  }
  .checkout-section {
    .checkoutSection {
      overflow: visible;
    }
  }
}

#mainHeader {
  background: $nsbordergrey;
  padding: 20px 0;
}
.section #mainContent table, #mainContent table {
  padding: 20px 0;
  flex: 1;
  width: 100%;
  margin: 0;
}
.section table td, table td {
  border: none;
  padding: 0;
  margin: 0;
}
.productThumb.textRight > img {
  float: left;
  margin-left: 35px;
  margin-top: -2px;
}
.productThumb.textRight.order-details img {
  margin-left: 0;
  max-height: 64px;
  max-width: 64px;
}
#content #mainContent {
  #promotionalCodeGroup, .shippingPromoCodeGroup {
    &>span {
      display:block;
    }
    input {
      border-bottom-right-radius: 0;
      border-top-right-radius: 0;
      @media screen and (min-width: 480px) {
        border-right:transparent 0;
      }
    }

    button.btn-secondary {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      float:left;/* Fix for IE*/

      @media (max-width:480px) {
        height: 48px;
      }
    }

    .compound-element {
      > * {
        font-size: 12px;
      }
    }
  }

  .payment-summary-view {
    .compound-element {
      > * {
        font-size: 12px;
      }
    }
  }

  // The disabled state for secondary buttons
  button.btn-secondary.disabled {
    background-color:transparent;
    border-color:#B0B0B3;
    color:#B0B0B3;
  }
}

@-webkit-keyframes myfirst {
  from {
    background: rgba(76, 216, 255, .2);
  }
}

@keyframes myfirst {
  from {
    background: rgba(76, 216, 255, .2);
  }
}

// Sticky Error Headers

#mainContent .checkoutSection {
  background: #ffffff;
  position: relative;
  padding: 10px;
  border: 1px solid $nsbordergrey;
  border-radius: $radius;
  margin-bottom: 10px;
  header {
    position: relative;
    @extend .clearfix;
    .ordinal {
      display: inline-block;
      width: 34px;
      height: 34px;
      line-height: 34px;
      border: 1px solid $nsbordergrey;
      border-radius: 50%;
      text-align: center;
      margin-right: 10px;
      font-size:20px;
    }
    .title {
      display: table-cell;
      line-height: 1;
      font-size:17px;
      &:first-child {
        padding: 20px 0 0 44px;
      }
    }
    .summary {
      display: block;
      width: 90%;
      clear: both;
      margin-left: 45px;
      margin-right: 0;
      margin-top: 3em;

      .summaryColumn {
        width: 50%;
        min-width: 400px;
        display:inline-block;
        overflow:hidden;

        li {
          list-style: none;
        }

        &:first-child {
          float: left;
          clear: left;
        }

        h3 {
          margin-top:0;
          margin-bottom:0.25em;
          font-size:15px;
        }
      }

      div {
        margin-bottom:15px;
      }
      span {
        display: block;
      }

    }
    button {
      float:right;
      right: 0;
      top: 0;
    }
  }
  &.active {
    header {
      .ordinal {
        border: 1px solid #555555;
      }
    }
  }
  section {
    margin-top: 10px;
    padding: 0 0 0 44px;
    @extend .clearfix;
  }

  .errorDialogue, .infoDialogue {
    margin: 20px 0;
  }
  table {
    figure.qty {
      text-align: center;
      input {
        width: 50px;
        max-width: 50px;
        text-align: center;
        margin: 0;
        padding: 6px 6px 2px;
      }
      figcaption {
        margin-top: 5px;
        font-size: 11px;
      }
    }
  }
  div.error {
    margin-top:5px;
  }
  .payment-summary-view {
    width: 95%;
    .pay-sum-left, .pay-sum-right {
      width: 50%;
      float: left;
    }

    .pay-sum-right {
      .selectedCode{
        font-size: 15px;
        .productDiscountCode {
          font-weight: bold;
          display: inline-block;
          border-right: dotted 1px;
          padding-right:0.5em;
        }
        .removeCodeLink {
          padding-left:5px!important;
          padding-right:5px!important;
        }
      }
      .savings{
        margin-top: 10px;
        .promotionalSavings {
          font-size: 15px;
          background-color: #c7eec3;
          border-radius: 0;
          padding: 10px;
          /*border: 1px solid green;*/
          margin-top: 5px;
          color: black;
          display:inline-block;
          .savingsAmount{
            font-weight: bold;

          }
        }
        .removeCodeLink{
          font-weight: bold;
          margin-left: 10px;
        }
      }
      #yourCoupons{
        font-weight: bold;
        font-family: "Arial", sans-serif;
        font-size: 15px;
        margin-bottom: 2px;
      }
      #displayPromoCodes{
        font-weight: bold;
        width: 100%;
        max-width: 250px;
      }
      .promoTable-or-continue{
        text-align: center;
        height: 2em;
        margin-bottom: 16px;
        margin-top: 22px;
        max-width: 250px;

        div{
          border-bottom: 1px solid #ccc;
          height: .8em;
          margin-top: .5em;
          span{
            font-size: 16px;
            background-color: #11B000;
            color: #fff;
            padding: 6px 10px 5px;
            position: relative;
          }
        }
      }

    }
  }
  .promo-table {
    clear: both;
    .tableSaveControls {
      display: inline-block;
      float: right;
      margin-top: 30px;
      padding-right: 20px;
      padding-bottom: 20px;
      padding-left: 10px;
      width: 22%;
      .savings{
        font-size: 16px;
        color: black;
      }
      .savingsAmount{
        font-weight: bold;
      }
      #savePromoCode{
        margin-top:10px;
        margin-bottom:10px;
      }

    }
  }
  .payment-method-section{
    clear: left;
  }
  .tableContainer {
    width: 78%;
    display: inline-block;
    table {
      border: 1px solid #d3d3d3;
    }
    caption h3 {
      text-align: left;
    }
    tr {
      &.promo-header {
        font-weight: bold;
        border: none;
        th {
          border: none;
          text-align: left;
          white-space: nowrap;
        }
      }
      &.promo-details {
        cursor: pointer;
        &.highlighted {
          -webkit-animation: myfirst 3s;
          animation: myfirst 3s;
        }
        td.promo-desc p {
          margin: 3px;
        }
      }
      &.active {
        background: #008ab0;

        td, td label {
          color: #ffffff;
        }
      }

      td:nth-child(1) {
        padding: 10px 15px 10px 20px;
      }

      td {
        vertical-align: middle;
        padding: 10px 5px;
        h3 {
          margin-bottom: 0;
        }
        input[type="radio"] {
          vertical-align: middle;
        }
        label {
          font-weight: bold;
          display: none;
        }
      }
    }

  }
}

.pickUpPerson {
  margin-top: 10px;
}

.simulateRequest {
  position: static;

  &:after {
    position: absolute;
    top: 50%;
    margin-top: -9px;
  }
  &.processingRight {
    position: relative;
    &:after {
      content: url('../../img/icon-spinner.gif');
      margin-left: 25px;
      margin-top: -10px;
    }
  }
  &.validRight {
    position: relative;
    &:after {
      content: url('../../img/icon-valid.svg');
      margin-left: 25px;
      margin-top: -10px;
    }
  }
  .pickup-address {
    margin: 5px 0 10px 23px;
  }
}

#shippingMethod {
  display: inline-block;
}

.newAddress{
  padding-right: 20px;
  clear: both;
  label {
    float: left;
    width: 100%;
    margin: 5px 0;
    font-weight: normal;
  }
  .city {
    width: 42%;
    margin-right: 3%;
  }
  .state {
    width: 22%;
    margin-right: 3%;
  }
  .zip {
    width: 30%;
  }
}

.creditCardSelector {
  tr.selected {
    border-radius: 4px;
    background: rgba($nsblue, .25) !important;
    td:first-child {
      border-radius: 4px 0 0 4px;
    }
    td:last-child {
      border-radius: 0 4px 4px 0;
    }
  }
}

.two-col {
  @extend .clearfix;
  > div {
    width: 48%;
    margin-right: 2%;
    float: left;
  }
}

.three-col {
  @extend .clearfix;
  > div {
    width: 33.3%;
    float: left;

    &.reviewOrderDetails {
      width: auto;
    }
  }
  > div.colspan-2 {
    width: 66.6%;
  }
}

a[class^="btn-"],
button[class^="btn-"] {
  display: inline-block;
  padding: 0px 15px;
  height: 35px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  background: none;
  border-radius: 4px;
  line-height: 1;
}
button.btn-primary {
  background: $nsblue;
  border: 1px solid $nsblue;
  color: white;
}
a.btn-secondary,
button.btn-secondary {
  background: transparent;
  border: 1px solid $nsblue;
  color: $nsblue;
}
button.btn-large {
  padding: 3px 25px;
}
button.disabled {
  background: #b0b0b0;
  border: 1px solid #b0b0b0;
  &:hover {
    cursor: auto;
  }
}
button.btn_secondary.disabled {
  display:block;
  clear:both;
}

label {
  display: block;
  font-weight: normal;
  margin-bottom:3px;
}
#checkout-shipping-address {
  .section-controls {
    display:  block;
    clear:    both;
  }
  #qasWrapper {
    #shippingAddresses{
      position: relative;
    }
    fieldset {
      clear: both;
    }
  }

  .disclaimer {
    font-size: 12px;
    padding: 11px 43px 21px 43px;
  }
}
#mainContent label.shipToSelection,
#mainContent label.billingSelection {
  float: left;
  position: relative;
  padding: 10px;
  cursor: pointer;
  border:1px solid transparent;
  border-radius:2px;
  //  height: 275px; // It's too tall for some markets but when the button text is three lines it doesn't work at 255px
  background-color:#F5F5F5;

  .blueCheckBox{
    width:15px;
  }

  input[type="radio"] {
    display:none;
    position: absolute;
    left: 10px;
    top: 10px;
  }
  ul {
    padding: 10px 10px 40px;
    //overflow: auto;
    clear: both;
    li {
      display: block;
      clear: both;
      word-wrap: break-word;
      position: relative;

      .simulateRequest {
        .valid-submit {
          left: -18px;
          width: 16px;
          height: 16px;
          bottom: 8px;
          position: absolute;
          z-index: 999;
          background: url("../../img/icon-valid.svg");
          display: none;
        }
        &.valid {
          overflow: visible;
          .valid-submit {
            display: block;
          }
        }
        .process-submit {
          left: -18px;
          width: 16px;
          height: 16px;
          bottom: 8px;
          position: absolute;
          z-index: 999;
          background: url("../../img/icon-spinner.gif");
          display: none;
        }
        &.processing {
          .process-submit {
            display: block;
          }
        }
      }
    }
  }
  &> div {
    padding: 10px;
    margin-top: 15px;
  }
  input[type="text"] {
    width: 80px;
  }
  a.btn-edit {
    display: block;
    padding-top: 10px;
    font-size: 14px;
    float: left;
  }
  a.cancel-shipping {
    margin-top: 10px;
    position: relative;
  }
  a.cancel-payment {
    margin-top: 10px;
    position: relative;
  }
  button.btn-primary-dialog {
    position: relative;
    display:inline;
    float:none;
  }
  p.modal-paragraph-center {
    text-align: center;
  }
  .deleteThis {
    clear: both;
    float: right;
    background: url('../../img/icon-trash.png') no-repeat;
  }
  button {
    //    width: 83%;
    white-space: normal;
    margin: 0 auto;
    overflow: visible; // So IE displays spinner next to ship to this address button
    clear: both;
    max-width: 100%;
    width: 300px;
    position: absolute;
  }

  &.selected {
    border: 1px solid rgba($nsblue, .4);
    border-radius: 4px;
  }
  .defaultOptionLabel {
    position: absolute;
    width: 77%;
    display: inline-block;
    text-align: center;
    font-size: 11px;
    color: darkgray;
    top: 3px;
    left: 12%;
  }
}
#mainContent {
  label.billingSelection {
    button {
      position: static;
      display: block;
    }
  }
}

label.shipToSelection {
  width: 55%;
  min-width: 200px;
  margin: 0 5% 5% 0;
  border:1px solid transparent;

  button {
    display: none;
  }
}

label.billingSelection {
  width: 55%;
  margin: 0 3% 3% 0;
  padding:15px;
  img {
    margin-top: -4px;
  }
  &:nth-child(3n+1) {
    clear: left;
  }
  button {
    display: none;
  }
}
.two-col label.billingSelection {
  width: 48%;
  margin: 0 2% 2% 0;
  &:nth-child(odd) {
    clear: left;
  }
  &:nth-child(3n+1) {
    clear: none;
  }
}
.expired {
  .error {
    display: inline;
  }
  a {
    color: red;
  }
}
.multiCardMath {
  margin-top: 20px;
  display: none;
}

#mainContent .checkoutSection .summaryCartItem {
  font-size:13px;
  position:relative;

  .aroBadge.badge {
    display: block;
    background-size: 25px;
    width: 25px;
    height: 25px;
    margin-right: 7px;
    background: url(content/dam/global/images/logo-aro-gray.svg) no-repeat;
    position: absolute;
    left: -30px;
    top: 3px;
  }

  .productQuantity {
    font-size: 13px;
    display: inline-block;
    width: 20px;
    text-align: left;
    vertical-align: top;

  }
  .productTitle {
    font-size: 13px;
    display: inline-block;
    text-overflow: ellipsis;
    max-width: 350px;
    overflow-x: hidden;
    overflow-y: visible;
    position:relative;
  }
}

.productTitle {
  display: block;
  font-size: 18px;
  text-align: left;
}
.productDetailSubtitle {
  position: relative;
  top: 0;
  font-size: 11px;
  margin: 0;

  .productSKU {
    display:inline;
    font-size: 11px;
    @media screen and (max-width: 767px) {
      display: block;
    }
  }
  .agelocmeLabel {
    padding-left: 2em;
    @media screen and (max-width: 767px) {
      padding-left: 0;
      display: block;
    }
  }
  .productPrice {
    padding-left: 2em;
    display:inline;
    font-size: 11px;
    @media screen and (max-width: 767px) {
      padding-left: 0;
      display: block;
    }
  }
}
.itemSubtotal {
  font-weight: bold;
}

.scan_card {
  .scan_card_number {
    padding: 0;
  }
}

//.ccv {
//  display: block;
//}
#mainContent {
  .checkout-section {
    footer {
      width: 100%;
      display: inline-block;
    }
    footer .actions {
      float: right;
    }
    footer .actions a {
      margin-right:10px;
    }
    .billingReadOnly {
      span.ccv {
        display: block;
      }
      a.changeBilling {
        display: block;
        float: left;
      }
    }
  }
}

form[name="ccvform"] {
  display: inline-block;
  width: 64px;
}

.paymentAgreeMessage {
  display:inline;
}

.reviewOrder {
  section {
    min-height: 110px;
  }
}

#mainContent .reviewOrderDetails {
  float:right;
  @media (max-width: 767px) {
    float: none;
  }
  &.agelocme-agree {
    > button {
      position: static;
      float: right;
    }
  }
}

#content {
  #mainContent {
    .container {
      .agelocme-agree {
        width: 100%;

        .ageloc-btn-agree {
          float: right;

          .agree-to-terms, #orderCreateButton {
            display: inline-flex;
            float: none;

            @media screen and (max-width: 480px) {
              display: block;
              float: right;
            }
          }
          .agree-to-terms {
            @media screen and (max-width: 480px) {
              padding-right: 0;
            }
          }
        }

        .button-spacing {
          height: 10px;
          display: none;

          @media screen and (max-width: 480px) {
            display: block;
          }
        }
      }
    }
  }
}
div.reviewOrderDetails {

  .button-spacing {
    height: 60px;
    clear: both;
  }

  > button {
    position: absolute;
    right: 10px;
    bottom: 10px;
  }

}

.section #mainContent  table.reviewOrderDetails, .reviewOrderDetails table {

  td {
    text-align: right;
    border-bottom: none;
    padding: 0 0 0 15px;
    white-space: nowrap;

    i.icon-info {
      span.toolTip-up {
        white-space: normal;
      }
    }
  }

  table tbody tr:nth-child(even) {
    background: none;
  }
}

.orderTotal, .psvTotal {
  font-size: 18px;
}

#buttonBar{
  float: right;
}

.next_adr_order {
  float: left;
  width: 100%;
}
#nextOrderLabel {
  text-align: right;
  display: inline-block;
  float: right;
  //    position: absolute;
  top: -22px;
  background-color: rgb(237, 237, 237);
  color: rgb(124, 124, 124);
  height: 54px;
  padding: 1em;
  right: 1em;
  padding-top: 1.25em;
  //    padding-right: 150px;
  border: 1px solid rgb(226, 226, 226);
  z-index: 1;
  line-height: 1em;
  font-size: 14px;
}

#buttonBarTop button {
  position: relative;
  z-index: 2;
  float: right;
  margin: -.6em -.5em 0 25px;
}

.orderDate {
  .orderDateLabel {
    font-weight:bold;
  }
}

.print-confirm-logo {
  height: 100px;
  display: none;
}

#mainFooter {
  background: #333333;
  color: white;
  padding: 20px 0;
}

.error {
  color: red;
}

/* ===================
   Error Messaging
   =================== */

.errorDialogue {
  background: rgba($error, .1);
  border: 1px solid $error;
  border-radius: $radius;
  padding: 15px;
  color: $error;
  margin-bottom: 10px;
  h3 {
    margin-bottom: 10px;
    font-size:16px;
    font-weight:bold;
  }
  ul {
    padding-left: 1em;
  }
  li {
    margin-left:25px;
    list-style-type:disc;
  }
}

.error {
  color: $error;
  label {
    font-weight: bold;
  }
  input, select {
    border: 1px solid $error;
    box-shadow: 0 0 0 3px rgba($error, .1);
    margin: 3px 0;
  }
  .errorMessage{
    display: inline;
    font-weight: normal;
    margin-bottom: 3px;
  }
}
.errorMessage {
  display: none;
}

.infoDialogue {
  background: 0 0 0 3px rgba($info, .1);
  border: 1px solid $info;
  border-radius: $radius;
  padding: 10px 15px;
  color: darken($info, 40%);
  margin-bottom: 10px;
  h3 {
    margin-bottom: 10px;
    font-size:16px;
    font-weight:bold;
  }
  ul {
    padding-left: 1em;
  }
  li {
    margin-left:25px;
    list-style-type:disc;
  }
}


/*** styling for column control **/
div.par {
  clear: both;
}
div.parsys_column {
  width: 100%;
  border: 0;
  vertical-align:top;
  padding: 0;
  width:100%;
  max-width:980px;
  margin: 5px auto 0;
}

div.parsys_column .section {
  overflow:hidden;
}

div.parsys_column .ghost {
  overflow:visible;
}

div.cq-colctrl-cols {
  width: 100%;
  float: left;
}
div.cq-colctrl-default {
  width: 100%;
}

div.cq-colctrl-city-state-zip {}
div.cq-colctrl-city-state-zip-c0 {
  min-width: 188px;
  padding-right: 5px;
}
div.cq-colctrl-city-state-zip-c1 {
  float: left;
  //  width: 10%;
  min-width: 52px;
  padding-right: 5px;
}
div.cq-colctrl-city-state-zip-c2 {
  //  width: 20%;
  min-width: 100px;
}

// Signup Confirmation
#signupConfirmation {
  margin-bottom: 6em;

  &> div > br {
    display:none; // Not sure what's putting this break in
  }

  h1:first-child {
    display:inline;
  }

  .accountInformationTitle, .optionalCompleteSignupText {
    color: #6E6E6E;
    font-size: 16px;
    display:inline;
    margin-right:0.25em;
  }
  .textField {
    display: inline;
  }
  .distributorID {
    font-size: 28px;
    color: #363636;

    .distributorIdLabel {
      margin-right: 0.25em;
    }
  }
  table.signupDetails {
    margin: 0 0 15px 0;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    padding: 25px 0;
    page-break-after: always;

    tr:first-child div {
      padding-top:1em;
    }

    td {
      line-height: 2em;
      font-size: 14px;

      &.fieldValue {
        width: 30%;
        text-align: left;
      }
      &:first-child {
        text-align: left;
        min-width: 120px;
      }
      &:nth-child(2) {
        text-align: left;
        width: 80%;
      }

      div {
        display: block;
        padding-bottom: 1em;
      }
    }
  }
} // END #signupConfirmation

button.addANewAddress {
  padding: 1em;
  border-radius: 2px;
}

#orderConfirmation {
  @media screen and (max-width:767px) {
    padding:5px;
  }
  > h1 {
    color: #6E6E6E;
    display: inline;
    font-size:12px;

    .orderConfirmationTitle {
      color: #6E6E6E;
      font-size: 12px;
      display: inline;
    }
  }

  .itemQuantity, .itemSubtotal, .itemPSVSubtotal {
    padding: 0;
    position: relative;
    //    top: -10px;
  }
  h2#orderType {
    margin-left: 3em;
    font-size: 12px;
    color: #6E6E6E;
    @media screen and (max-width: 400px) {
      display: block;
      width: 100%;
      clear: both;
    }
  }
  #orderNumbers {
    padding-top: 1px;
    padding-bottom: 0;
    border-top: 0;
    margin-bottom: 0.5em;

    #confirmationADRMark {
      img {
        width: 40px;
      }
    }
    header {
      float: left;
    }
    h1 {
      color: #363636;
      font-size:26px;
      span {
        font-size:26px;
      }
    }
    #orderType {
      font-size:12px;
    }
  }

  h2 {
    font-size: 14px;
    display: inline;
    margin-left: 2em;

    img {
      width: 14px;
      height: 14px;
      margin-top:-3px;
    }
  }
  h3 {
    font-weight: bold;
    margin: 0 0 8px 0;
    font-size: 15px;
  }
  #orderNumbers {
    header {
      float: left;
    }
    .orderNumber {
      color: #555;
      font-size: 25px;
      border-bottom: gray 1px solid;
      padding-bottom: 0.25em;
      margin-bottom: 1em;
    }
    .orderConfirmationTitle {
      font-size: 14px;
      padding-bottom: 0;
      color: #555;
    }
  }
  .itemPrice, .backOrderDate, .agelocmeLabel {
    float: left;
    margin-left: 1em;
  }
  #shippingAndPayment {
    .shippingPanel {
      float: left;
      width: 30%;
      padding: 10px;
      border-right: 1px solid #e1e1e1;
      min-height: 165px;
      white-space: normal;
      overflow: hidden;
      height: auto;

      * {
        white-space: normal;
      }

      .orderDate {
        margin-bottom: 2em;
      }

      &:last-child {
        border-right: 0;
        @media only screen and (max-width: 767px) {
          border-bottom: 0;
        }
      }
      @media only screen and (max-width: 767px) {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e1e1e1;
        min-height: 0;
      }
    }
    p {
      margin: .25em 0;
    }
  }
  .subSection:not(:nth-child(2)) {
    //    margin: 0 0 15px 0;
    border-top: 1px solid #e1e1e1;
    padding: 15px 0;
    @media only screen and (max-width: 767px) {
      padding: 0;
    }
  }
  td.itemPSVTotal {
    font-size:18px;
    text-align: right;
    padding-right: 0;
  }
  h2 {
    margin: 15px 0;
  }
  #orderedProducts {
    td {
      width: 10%;
      background-size: 25px 25px !important;

      &.productThumb {
        position: relative;

        img.adr-logo {
          position: absolute;
          height: 25px;
          width: 25px;
          left: -30px;
          top: 24px;
        }
      }
    }
    td.itemQuantity, td.itemSubtotal, td.itemPSVSubtotal {
      padding-top: 1.4em;
      vertical-align: top;
    }
    td.productThumb.hideADRLogo {
      background:transparent !important;
    }
    .product-row {
      clear: both;
      margin: 10px 0;
      .no-padding {
        padding: 0;
        &.grid.small-1.columns {
          width: 8%;
          height: 25px;
        }
      }
      img.adr-logo {
        height: 25px;
        width: 25px;
      }
      .productSKU {
        float: left;
      }
      .small-6 {
        div {
          margin-top: 8px;
        }
      }
    }
    .backdating {
      clear: both;
    }
    .order-mssg {
      padding-top: 10px;
      clear: both;
    }
  }
  table.responsiveTable {
    margin-bottom: 20px;
    tr {
      margin: 0 0 15px 0;
      display: table;
      width: 100%;
      td {
        &:first-child {
          width: 21%;
          margin-bottom: 15px;
          @media only screen and (max-width: 767px) {
            margin-bottom: 46px;
          }
        }
        text-align: left;
        &.scan_card_number {
          width: 25%;
          margin-bottom: 15px;
          @media only screen and (max-width: 767px) {
            width: 100%
          }
        }
      }
    }
    #product_title {
      line-height: 22px;
      width: 40%;
      @media only screen and (max-width: 767px) {
        width: 76%;
      }
    }
    .productSKU {
      display: inline-block;
      float: left;
      text-align: left;
      color:#999;
    }
  }
  #processingDates {
    color: #999;
  }
  .reviewOrderDetails {
    max-width: 320px;
    width: 35%;
    page-break-inside:avoid;

    @media only screen and (max-width: 767px) {
      width: 65%;
    }
    td {
      padding: 3px 0;
    }
    .orderTotal {
      border-top: 1px solid #e1e1e1;
      padding: 0.5em 0;
      td {
        padding: 0.5em 0;
      }
    }
    tr {
      line-height: 2em;
    }
    td:nth-child(2) {
      width: 100px;
    }
    .orderTotal {
      border-top: 1px solid #e1e1e1;
      padding: 0.5em 0;
      td {
        padding: 0.5em 0;
      }
    }
    tr.orderTotal, tr.orderPSVTotal {
      font-size:18px;
    }
    tr {
      line-height: 2em;
    }
    td:nth-child(2) {
      width: 100px;
    }
  }
}
.checkoutElements {
  clear: both;
  p {
    text-align: left!important;
    padding-top: 30px;
    color: #999;
  }
}
.firstCol {
  float: left;
  width: 50%;
  clear: both;

  &.addressReadOnly {
    word-wrap: break-word;
  }
}

@media only screen and (max-width: 940px) {
  /* line 251, ../scss/_main.scss */
  #mainContent .checkoutSection fieldset.promo-table .tableContainer {
    width: 100%;
    /* display: inline-block; */
  }
  #mainContent .checkoutSection .promo-table .tableSaveControls {
    display: inline-block;
    float: left;
    padding-top: 10px;
    /* padding-right: 25px; */
    padding-bottom: 20px;
    padding-left: 10px;
    width: 100%;
  }

}

/******************* ACCORDION STYLES BEGIN ************************************/

.accordion{
  width:300px;
  overflow:hidden;
  list-style:none;
  margin-bottom:10px;
  background:none repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.accordion li{
  float:left;
  overflow:hidden;
  -moz-transition:width 0.2s ease-out;
  -webkit-transition:width 0.2s ease-out;
  -o-transition:width 0.2s ease-out;
  transition:width 0.2s ease-out;
  -moz-transition-delay:0.15s;
  -webkit-transition-delay:0.15s;
  -o-transition-delay:0.15s;
  transition-delay:0.15s;
}
.slide-01  { background:white; color:#333; }
.slide-02  { background:white; color:#333; }
.slide-03  { background:white; color:#333; }
.slide-04  { background:white; color:#333; }
#paymentSelection_order_1_vertical{
  height:300px;
  margin-top: 10px;
}
#paymentSelection_order_1_vertical li{
  float:none;
  height:10%;
  width:100%;
  -moz-transition:height 0.2s ease-out;
  -webkit-transition:height 0.2s ease-out;
  -o-transition:height 0.2s ease-out;
  transition:height 0.2s ease-out;
}
#paymentSelection_order_1_vertical:hover li{
  height:10%;
  width:100%;
}
#paymentSelection_order_1_vertical li:hover{
  height:60%;
  width:100%;
}
.accordion h3 {
  background-color: #EFEFEF;
  color: #363636;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 5px;
  padding: 5px;
}
.accordion p {padding:4px;}

/*------------------------------------*\
    VERTICAL
\*------------------------------------*/

.vertical{
  height:300px;
}
.vertical li{
  float:none;
  height:25px;
  width:100%;
  -moz-transition:height 0.2s ease-out;
  -webkit-transition:height 0.2s ease-out;
  -o-transition:height 0.2s ease-out;
  transition:height 0.2s ease-out;
}
.vertical li:first-of-type{
  -moz-border-radius:10px 10px 0 0;
  -webkit-border-radius:10px 10px 0 0;
  -o-border-radius:10px 10px 0 0;
  border-radius:10px 10px 0 0;
}
.vertical li:last-of-type{
  -moz-border-radius:0 0 10px 10px;
  -webkit-border-radius:0 0 10px 10px;
  -o-border-radius:0 0 10px 10px;
  border-radius:0 0 10px 10px;
}
.vertical:hover li{
  height:10%;
  width:100%;
}
.vertical li:hover{
  height:60%;
  width:100%;
}

#firstAddressSection {
  h1 {
    width: 100%;
    a {
      float: right;
    }
  }
}

/******************* ACCORDION STYLES END ************************************/
