@import "mixins.less";
@import "reset.less";
@import "sprites.less";
@import "global.less";
//------------------------------------------------------------------layout

.wrapper {
  position: relative;
  width: 1000px;
  .container-fixed();
}
#top-header{
  height: 70px;
  border-bottom: 5px solid @white;
  background: @orange;
  text-align: right;
  a.home {
    position: absolute;
    top:0;
    left:0;
    z-index: 100;
  }
  h1 {
    text-align: left;
    text-indent: -9999px;
    width: 266px;
    height: 117px;
    background: url("http://dev6.5pixels.com/assets/i/CellItNow-Logo.png") no-repeat;
  }
  #top-nav{
    height: 70px;
    float: right;
    ul {
      float: left;
      margin-top: 18px;
      margin-right:100px;
      li {
        .inline();
      }
      li > a, li > span{
        display: block;
        font: 700 1.7em 'PT Sans Narrow', 'PT Sans','Roboto Condensed', sans-serif;
        padding: 8px 6px 8px 6px;
        margin-left: 17px;
        color: @white;
        text-transform: uppercase;
        text-decoration: none;
        text-shadow:1px 1px 1px @grayDark;
        .transition(~"color linear .2s");
        &:hover {
          color: @yellow;
        }
      }
      li > span {
        color: @yellow;
      }
    }
  }
  #shop-cart{
    position: relative;
    float: right;
    width: 54px;
    height: 48px;
    margin: 12px 28px 0 0;
    background: url('http://dev6.5pixels.com/assets/i/shop-cart.png') no-repeat;
    .total-itm{
      position: absolute;
      top:0;
      right: -5px;
      width: 19px;
      height: 18px;
      padding-top: 1px;
      background: @blue;
      border-radius: 50%;
      text-align: center;
      font-family: @ubuntu;
      color: @yellow;

    }
  }
}
#slider{
  width: 100%;
  height: 613px;
  background: url(http://dev6.5pixels.com/assets/i/img-slide.jpg) no-repeat 50% 0;
  .img-slide{
    position: relative;
    width: 100%;
    height: 596px;
    .phone-home{
      position: absolute;
      top:35px;
      left:5px;
      width:462px;
      height:532px;
    }
    .text-home{
      position: absolute;
      top:190px;
      right:130px;
      h1{
        text-align: center;
        font: 300 4.1em @ubuntu;
        color: @white;
      }
    }
    .btn-grey{
      position: absolute;
      top:379px;
      left:615px;
    }
  }
  .shadow-slide{
    width: 100%;
    height: 17px;
    background:  url(http://dev6.5pixels.com/assets/i/shadow-slide.png) no-repeat 50% 0;
  }

}
#main-content {
  margin-top: 10px;
  .empty50{
    height:50px;
  }
  h2 {
    font: 400 2.6em @ptsans;
    text-align: center;
    color: @blue;
  }
  h4 {
    font: 400 1.8em @ptsans;
    text-align: center;
    color: @grayDark;
    &.step-header {
      margin-top: 30px;
    }
  }
}

.pro-list {
  position:relative;
  .inline();
  z-index: 200;
  width: 150px;
  height: 335px;
  margin-right: 9px;
  .pro-one {
    .inline();
    width: 150px;
    height: 335px;
    text-align: center;
    margin-right: 9px;
    text-decoration: none;
    font: 400 1.4em @ptsans;
    .thumb {
      position: relative;
      height: 296px;
      z-index: 100;
      img {
        max-width: 148px;
        height: 296px;
      }
    }
    h3 {
      font: 600 1.0em @ubuntu;
      margin: 10px 0 10px 0;
    }
  }
  &:hover{
    a{
      color: @orange;
    }
    &:after {
      display: block;
      content: '';
      position: absolute;
      z-index: 100;
      right: 0px;
      top: 0;
      width: 150px;
      height: 335px;
      background: url("http://dev6.5pixels.com/assets/i/iphone-hover.png") no-repeat 50% 50%;
    }
  }
}

.model-list {
  position:relative;
  .inline();
  z-index: 200;
  margin-right: 9px;

  .model-one {
    position:relative;
    .inline();
    width: 300px;
    height: 654px;
    margin:0 11px 20px 12px;
    background:@orange;
    border-radius: @borderRadiusSuperLarge;
    .white-box{
      position: absolute;
      bottom:0;
      left:-1px;
      width: 300px;
      height:610px;
      border: 1px solid #ffba7f;
      background: @white;
      border-radius: @borderRadiusSuperLarge;

      .labels {
        font: 400 1.5em "Ubuntu", helvetica, arial, sans-serif;
        padding: 20px 0 15px 18px;
        color: @black;
      }
      .field select {
        width: 264px;
        font: italic 300 1.5em "Ubuntu", helvetica, arial, sans-serif;
        #gradient > .vertical(#ffffff, #f9f1e1);
        border: 1px solid #edd0b7;
        border-radius: @baseBorderRadius;
        margin-left:18px;
      }
      .field.select_wrapper select {
        padding: 5px 2px 7px 12px;
        height: 36px;
      }
      .field.select_wrapper label {
        .inline();
        position: relative;
        height: 34px;
        &:after {
          content: '\25BC';
          color: #7d7167;
          font-size: 13px;
          position: absolute;
          right: 12px;
          top: 11px;
          pointer-events: none;
        }
        &:before {
          content: '';
          position: absolute;
          right: 0;
          top: 1px;
          width: 26px;
          height: 34px;
          //background: url("http://dev6.5pixels.com/assets/i/bg-input.png") repeat-x;
          #gradient > .vertical(#ffffff, #f9f1e1);
          pointer-events: none;
          display: block;
          border-radius: @baseBorderRadius;
          border-right: 1px solid #edd0b7;
        }

      }
    }
    .img-memory{
      .inline();
      .thumb {
        .inline();
        position: relative;
        margin:24px 0 0 36px;
        height: 210px;
        z-index: 100;
        img {
          max-width: 104px;
          height: 206px;
        }
      }
      .select-memory{
        .inline();
        vertical-align: middle;
        ul{
          margin-left:38px;
          li{
            display: block;
            margin: 15px 0;
            font: 700 1.7em 'Ubuntu','PT Sans','Roboto Condensed', sans-serif;
            padding-left: 40px;
            color: #383d40;
            text-transform: uppercase;
            text-decoration: none;
            line-height: 30px;
            background: url(http://dev6.5pixels.com/assets/i/li-memory.png) no-repeat;
            cursor: pointer;
            .transition(~"color linear .2s");
            &:hover, &:focus, &.active {
              background: url(http://dev6.5pixels.com/assets/i/li-memory.png) no-repeat 0 100%;
            }

          }
        }
      }
    }
    .condition-var{
      .inline();
      position: relative;
      margin-left:6px;
      .elm{
        .inline();
        position: relative;
        width: 82px;
        height: 34px;
        margin-left:9px;
        border: 1px solid #edd0b7;
        border-radius: @borderRadiusLarge;
        cursor:pointer;
        .buttonBackground(#f9f1e1, #fcf7ee, #ffffff);
        color: @grayDark;
        &:hover, &.active{
          border: 1px solid #ff7600;
          .buttonBackground(#ff9a00,#ff7f00,#fff);
          color: @white;
          &:after {
            content: '';
            position: absolute;
            top: 34px;
            left: 0;
            width: 82px;
            height: 11px;
            background: url("http://dev6.5pixels.com/assets/i/bg-arrg-bott.png") no-repeat 50% 0;
          }
        }
        .txtKey{
          padding-top: 8px;
          font: 500 1.3em @ubuntu;
          text-align:center;
        }
      }
    }
    .text-cond{
      display: no1ne;
      position: relative;
      margin-top:14px;
      width: 96%;
      height: 50px;
      padding: 0 2%;
      font: 500 1.3em @ubuntu;
      color: @grayDark;
      span {
        display: none;
        margin: 0 8px;
        &.active {
          display: block;
        }
      }
    }
    .lock-bad-box{
      height: 52px;
      padding-top: 10px;
      background: #faf2e4;
      text-align:center;
      .esn, .lock, .bad{
        position:relative;
        .inline();
        margin:3px 6px;
        background: @white;
        padding: 8px 9px;
        border: 1px solid #edd0b7;
        font: 400 1.2em @ubuntu;
        color: @grayDark;
        border-radius: @baseBorderRadius;
        cursor: pointer;
        &.active{
          border: 1px solid #ff7600;
          #gradient > .vertical(#ff9a00, #ff7f00);
          color: @white;
        }
        .pop-lock, .pop-bad, .pop-esn{
          position: absolute;
          z-index: 600;
          width: 200px;
          height: auto;
          font: 500 0.9em @ubuntu;
          border: 1px solid #7e7e7e;
          background: @white;
          padding: 10px;
          border-radius: @baseBorderRadius;
          color: @grayDark;
          display: none;
        }
        .pop-lock{
          top:30px;
          left:-70px;
        }
        .pop-bad{
          top:30px;
          left:-140px;
        }
        .pop-esn{
          top:30px;
          left:-17px;
        }
      }
    }
    .sell-btn{
      margin-top:20px;
      text-align:center;
      .btn-blue {
        display: inline-block;
        .ie7-inline-block();
        padding: 4px 24px 3px 24px;
        margin-bottom: 0; // For input.btn
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        cursor: pointer;
        .buttonBackground(#3db4f2, #1e94d3);
        color: @white;
        border: 1px solid #279ddb;
        *border: 0; // Remove the border to prevent IE7's black border on input:focus
        .border-radius(@baseBorderRadius);
        .ie7-restore-left-whitespace(); // Give IE7 some love
        font: 500 1.7em @ubuntu;
      }

    }
    h3 {
      font: 500 2.2em @ubuntu;
      margin-top: 5px;
      color: @white;
      text-align: center;
    }
  }

}

.orange-line{
  height:50px;
  border-bottom: 1px solid #ffe4ca;
}
#steps {
  h2 {
    text-align: center;
    margin: 29px 40px 23px 0;
    font: 500 3em @ubuntu;
    color: @blue;
  }
  .step {
    text-align: center;
    .elm {
      .inline();
      vertical-align: top;
      &.step-1 > div { background: url("http://dev6.5pixels.com/assets/i/how-work-steps.png") no-repeat 0 0; }
      &.step-2 > div { background: url("http://dev6.5pixels.com/assets/i/how-work-steps.png") no-repeat 0 -177px; }
      &.step-3 > div { background: url("http://dev6.5pixels.com/assets/i/how-work-steps.png") no-repeat 0 -354px; }
      &.step-4 > div { background: url("http://dev6.5pixels.com/assets/i/how-work-steps.png") no-repeat 0 -531px; }
    }
    [class*="step-"] {
      & > div {
        width: 198px;
        height: 177px;
        margin: 0 47px;
      }
      h3 {
        margin-top: 16px;
        margin-bottom: 50px ;
        font: 300 2em @ubuntu;
        color: @blue;
      }
      h2 {
        margin-top: 16px;
        margin-bottom:70px;
        font: 300 2.4em @ubuntu;
        color: @blue;
      }

    }
  }
}

#main-footer {
  height: 366px;
  background: @blueLight;
  .foot-text {
    border-bottom:1px solid #54c3ee;
    h2 {
      margin-top: 36px;
      text-align: center;
      font: 300 2.4em @ubuntu;
      color: @yellow;
    }
    h3 {
      margin: 10px 0 27px 0;
      text-align: center;
      font: 300 2.0em @ubuntu;
      color: @yellow;
    }
    p{
      text-align: center;
      font: 300 1.4em @ubuntu;
      color: @white;
      padding-bottom: 35px;
    }

  }
  .copy{
    margin: 54px 20px 0 0;
    font: 300 1.4em 'arial';
    color: #78d0f4;
    padding-bottom: 35px;
  }
}
#footer-nav-box {
  margin-top: 54px;
  ul {
    .inline();
    margin-left: 20px;
    list-style: none;
    li {
      .inline();
      margin: 4px 0 9px 0;
      font: 1.3em arial;
      text-transform:uppercase;
      span{
        color: @yellow;
      }
    }
    a {
      .inline();
      padding: 0 18px;
      color: @white;
      text-decoration: none;

      .transition(~"color linear .2s");
      &:hover {
        color: @yellow;
      }
    }
  }
}