@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;

#sfc-gp-cart{
  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;
    margin-top: 0;
  }
  .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;

  }
  .shopping-list {
    padding-top: 40px;

    @media screen and (min-width: 10px) {
      width: 272px;
      margin-right: 0px;
    }
    @media screen and (min-width: 576px) {
      width: 560px;
      margin-right: 0px;
    }
    @media screen and (min-width: 850px) {
      width: 551px;
      margin-right: 15px;
    }
    @media screen and (min-width: 1160px) {
      width: 740px;
      margin-right: 26px;
    }
  }
  .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: 48px;
    border-bottom: 1px solid #d8d8d8;

    @media screen and (min-width: 10px) {
      margin-bottom:24px;
    }
    @media screen and (min-width: 576px) {
      margin-bottom:34px;
    }
    .item-row{
      width: 100%;
      margin: 0 0;
      border-top: 1px solid $item-row;
      display: flex;
      flex-wrap: wrap;

      @media screen and (max-width: 575px) {
        height: 76px;
      }
      @media screen and (min-width: 10px) {
        padding: 24px 0;
      }
      // Small screen / phone
      @media screen and (min-width: 576px) {
        padding: 28px 0;
      }

      .product-cover{
        background-color: $cover-color;
        float: left;
        @media screen and (max-width: 575px) {
          height: 76px;
        }
      }
      .product-cover img{
        max-width: 145px;
      }
      .product-cover.border-treatment img {
        display: block;
        position: relative;
        border-radius: 2px;

        overflow: hidden;
        border: 1px solid $product-border;

        @media screen and (min-width: 10px) {
          width: 79px;
          height: 54px;
          margin-right: 9px;
        }
        // Small screen / phone
        @media screen and (min-width: 576px) {
          width: 143px;
          height: 98px;
          margin-right: 27px;
        }
        // Medium screen / tablet
        @media screen and (min-width: 850px) {
          margin-right: 28px;
        }
      }
      .prod-description{
        padding: 0;
        display: table;
        height: 100px;
        text-align: center;

        @media screen and (min-width: 10px) {
          height: 56px;
          width: 121px;
        }
        // Small screen / phone
        @media screen and (min-width: 576px) {
          height: 100px;
          width: 234px;
        }
        // Medium screen / tablet
        @media screen and (min-width: 850px) {
          width: 164px;
        }
        // Large screen / desktop
        @media screen and (min-width: 1160px) {
          width: 305px;
        }

      }
      .product-title{
        font-family: $open-sans;
        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;
        padding: 0;

        @media screen and (min-width: 10px) {
          font-size: 12px;
        }
        // Small screen / phone
        @media screen and (min-width: 576px) {
          font-size: 14px;
        }
      }
      .product-price .displayInline {
        display: table-cell;
        font-size: 14px;
      }
      .product-price, .prod-removebtn{
        display: table;
        height: 100px;
        text-align: center;
      }
      .product-price{
        // Small screen / phone
        @media screen and (min-width: 10px) {
          margin-left: 10px;
        }
        @media screen and (min-width: 576px) {
          margin-left: 28px;
        }
      }

      .prod-price, .btn-remove {
        display: table-cell;
        vertical-align: middle;
      }
      .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 (min-width: 10px) {
          position: relative;
        }
        @media screen and (min-width: 576px) {
          margin-left: 30px;
        }
        @media screen and (min-width: 850px) {
          margin-left: 54px;
        }
        @media screen and (min-width: 1160px) {
          margin-left: 89px;
        }

      }
      .btn-remove {
        color: #666;
        font-size: 12px;
        font-weight: 500;
        line-height: 0;

        @media screen and (max-width: 575px) {
          position: absolute;
          right: 0px;
          top: 13px;
        }
      }
      .btn-remove:before {
        content: '\f1f8';
        font-family: FontAwesome;
        font-size: 20px;
        color: #6a7070;
        display: block;
        padding-left: 11px;
      }
      .btn-link.btn-remove{
        font-weight: 500;
      }

    }
    .item-row {
      .side-punch{
        display: none;
      }
    }
    .item-row.loose-leaf {
      @media screen and (min-width: 10px) {
        margin-left: 0px;
        width: 272px;
      }
      // Small screen / phone
      @media screen and (min-width: 576px) {
        margin-left: 52px;
        width: 510px;
      }
      // Medium screen / tablet
      @media screen and (min-width: 850px) {
        margin-left: 42px;
        width: 514px;
      }
      // Large screen / desktop
      @media screen and (min-width: 1160px) {
        margin-left: 130px;
        width: 610px;
      }

      .prod-description {


        @media screen and (min-width: 10px) {
          height: 76px;
          width: 125px;
          margin-left: 9px;
        }
        // Small screen / phone
        @media screen and (min-width: 576px) {
          width: 228px;
          margin-left: 17px;
          height: 124px;
        }
        // Medium screen / tablet
        @media screen and (min-width: 850px) {
          width: 177px;
          margin-left: 24px;
        }

        // Large screen / desktop
        @media screen and (min-width: 1160px) {
          margin-left: 24px;
          width: 221px;

        }

      }
      .product-price, .prod-removebtn{
        height: 124px;
      }
      .product-price {
        // Medium screen / tablet
        @media screen and (max-width: 575px) {
          margin-left: 5px;
        }
        // Medium screen / tablet
        @media screen and (min-width: 850px) {
          margin-left: 13px;
        }
        // Large screen / desktop
        @media screen and (min-width: 1160px) {
          margin-left: 21px;
        }
      }

      .loose-leaf-img{
        border: 1px solid #c7c7c7 !important;

        // Small screen / phone
        @media screen and (min-width: 10px) {
          width:54px !important;
          height:74px !important;
        }
        @media screen and (min-width: 576px) {
          width:98px !important;
          height:122px !important;
        }
      }
      .image-section{
        position: relative;

        @media screen and (max-width: 575px) {
          margin-left: 20px;
        }
        // Small screen / phone
        @media screen and (min-width: 10px) {
          width: 60px;
        }
        @media screen and (min-width: 576px) {
          width: 109px;
        }
      }
      .image-section .loose-leaf-img{
        z-index: 1;
        left:9px;
        margin-right: 0 !important;

        @media screen and (max-width: 575px) {
          left:5px;
        }
      }
      .side-punch{
        display: block;
        position: absolute;
        top: 0;
        height: 124px;
        width:  14px;
        background-color: #c7c7c7;
        border-radius: 2px;
        z-index: 0;

        @media screen and (max-width: 575px) {
          width:  6px;
          height: 76px;
          border-radius: 1px;
        }
      }

      .dot {
        height: 6px;
        width: 6px;
        background-color: #ffffff;
        border-radius: 50%;
        display: inline-block;
        margin-left: 1.5px;

        @media screen and (max-width: 575px) {
          height: 4px;
          width: 4px;
          margin-left: 1px;
        }
      }
      .dot.top{
        @media screen and (max-width: 575px) {
          position: absolute;
          margin-top:  5px;
        }

      }

      .dot.middle{
        margin-top:  42px;

        @media screen and (max-width: 575px) {
          margin-top: 34px;
        }
      }
      .dot.bottom{
        margin-top:  42px;

        @media screen and (max-width: 575px) {
          margin-top: 25px;
        }
      }

    }


  }


  @media screen and (min-width: 1200px) {
    .prod-description {
      max-width: 500px;
    }
  }
}
