@import "../../../../styles/generic/variables";
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

$open-sans: 'Open Sans';
$cover-color: white;
$title-color: #0D65A6;
$product-border: #252525;

.order-confirmation-page {
  .confirmation-page-row {
    .table-headings {
      padding-right: 0;
      padding-left: 0;
      margin: 15px 0;
      p{
        margin-bottom: 0;
      }

      .title-heading {
        text-align: left;
        padding-left: 0;
      }

      .price-heading {
        text-align: right;
        padding-right: 0;
      }
    }

  }

  h2 {
    margin-top: 20px;
  }

  h3.product-group {
    font-family: $open-sans, sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.4;
    letter-spacing: normal;
    color: $heading-font;
    text-align: left;
    margin-bottom: 21px;
  }

  .btn-link {
    color: #0D65A6;
    margin: 0;
    padding: 0;
    border: 0;
    background: 0 0;
    font-size: 14px;
    line-height: 28px;
    text-align: left;
  }

  .alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    text-align: left;
  }

  .page-title {
    font-size: 22px;
    text-align: left;

  }

  .has-cart-icon:before {
    content: '\f07a';
    font-family: FontAwesome;
    font-size: inherit;
    color: #4d4d4d;
    display: inline-block;
    padding-left: 6px;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
    -webkit-transform: scale(-1, 1);
    transform: scale(-1, 1);
  }

  .list-wrapper {
    min-height: 230px;
    padding: 0;
    margin-bottom: 0;

    @media (max-width: 991px) {
      border-bottom: 0px solid silver;
    }

    .item-row {
      width: 100%;
      margin: 0 0;
      border-top: 1px solid $item-row;
      padding: 24px 0;

      @media (max-width: 991px) {
        min-height: 140px;
        border-bottom: 1px solid silver;
        padding-top: 12px;
        padding-bottom: 24px;
      }
      @media (max-width: 580px) {
        min-height: 217px;
        border-bottom: 1px solid silver;
        padding-top: 12px;
        padding-bottom: 24px;
      }
      @media (max-width: 320px) {
        min-height: 280px;
      }

      .product-cover {
        background-color: $cover-color;
        float: left;
        padding-left: 0;


        @media screen and (max-width: 640px) {
          width: 20%;
          padding-right: 0;
          margin-left: 0;
          padding-left: 0;
        }
      }

      .product-cover img {
        max-width: 90px;
      }

      .product-cover.border-treatment img {
        display: block;
        position: relative;
        border-radius: 2px;
        width: 100px;
        height: auto;
        overflow: hidden;
        border: 1px solid $product-border;
        margin-right: 28px;

        @media screen and (max-width: 640px) {
          width: 95%;
          height: auto;
        }

      }
      .product-cover.border-treatment.e-text img {
        //border: 1px solid #252525;
        //border-bottom: 8px solid #252525;
        //max-width: 100px;
        //height: 126px;
      }
      .product-cover.border-treatment.loose-leaf img {
        //border: 1px solid #c7c7c7;
        //border-left: 9px solid #c7c7c7;
        //max-width: 109px;
        //height: 126px;
      }


      .prod-description {
        padding: 0;
        display: table;
        //@media screen and (max-width: 580px) {
        //  width: 57%;
        //}
        //@media screen and (max-width: 470px) {
        //  width: 54%;
        //}
        //@media screen and (max-width: 425px) {
        //  width: 58%;
        //}
        //@media screen and (max-width: 320px) {
        //  width: 50%;
        //}

      }

      .product-title {
        font-family: $open-sans;
        font-size: 14px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.29;
        letter-spacing: normal;
        color: $item-title;
        word-wrap: break-word;
        width: 100%;
        text-align: left;
        margin: 0;
        display: table-cell;
        vertical-align: middle;

        @media screen and (max-width: 580px) {

        }
      }

      .product-title, .prod-price, .prod-removebtn {
        padding: 0 0 0 0;
      }

      .product-price {
        text-align: right;
      }

      .product-price {
        @media screen and (max-width: 640px) {
          width: 28%;
          float: right;
        }
        @media screen and (max-width: 580px) {
          width: 16%;
          position: relative;

        }
        @media screen and (max-width: 425px) {
          width: 9%;
        }
        @media screen and (max-width: 320px) {
          width: 19%;
        }
        @media screen and (max-width: 310px) {
          width: 15%;
        }


      }

      .product-price .product-number {
        @media screen and (max-width: 425px) {
          margin-right: 5px;
          width: 40px;
        }
        @media screen and (max-width: 580px) {
          margin-left: 0;
        }


      }

      .hide-u-price {
        @media screen and (max-width: 688px) {
          display: none !important;
        }
      }

      .product-price .prod-price {
        @media screen and (max-width: 580px) {
          position: absolute;
          bottom: 10%;
          right: -20%;

        }
        @media screen and (max-width: 425px) {
          bottom: 0%;
        }
        @media screen and (max-width: 425px) {
          bottom: -10%;
        }
      }

      .unit-total {
        vertical-align: top;
        display: table-cell;
        font-size: 14px;
        padding-top: 8px;


      }

      .product-number {
        display: inline-block;
        margin-left: 12px;
        margin-right: 12px;
        width: 50px;
        text-align: center;
      }

      .product-label {
        font-size: 14px;
        float: left;
      }

      .prod-removebtn {
        @media screen and (max-width: 640px) {
          width: 5%;
        }
      }

      .btn-remove {
        display: inline-block;
        color: #666;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        padding-top: 6px;

        @media screen and (max-width: 640px) {

          width: 54px;
        }
        @media screen and (max-width: 580px) {
          width: 45px;
          position: absolute;
          top: 0;
          right: 0;
        }

      }

      .btn-remove:before {
        content: '\f1f8';
        font-family: FontAwesome;
        font-size: 18px;
        color: #6a7070;
        display: block;
        padding-left: 11px;
      }

      .btn-link.btn-remove {
        font-weight: 500;
      }

    }

  }


  @media screen and (min-width: 1200px) {
    .prod-description {
      max-width: 500px;
    }
  }
}