@import 'layouts/www';

#attachments-list {
  padding: 20px 0;
  
  h2 {
    font-size: 19px;
    font-weight: bold;
    line-height: 24px;
  }
  
  ul.list {
    list-style: none;
    margin: 0;
    padding: 0;
    
    li {
      background-image: image-url('icons/icon-download.png');
      background-position: 8px center;
      background-repeat: no-repeat;
      height: 32px;
      line-height: 32px;
      margin: 5px 0;
      padding: 0 10px 0 30px;
      
      &:nth-child(odd) {
        background-color: #f2f2f2;
      }
      
      &:nth-child(even) {
        background-color: #fafafa;
      }
      
      &.pdf {
        background-image: image-url('icons/icon-pdf.png');
      }
      
      &.xls,
      &.xlsx {
        background-image: image-url('icons/icon-excel.png');
      }
      
      &.doc,
      .docx {
        background-image: image-url('icons/icon-word.png');
      }
      
      &.pps,
      &.ppsx,
      &.ppt,
      &.pptx {
        background-image: image-url('icons/icon-power-point.png');
      }
      
      &.avi,
      &.flv,
      &.mpg,
      &.mp4 {
        background-image: image-url('icons/icon-power-point.png');
      }
      
      &.jpg,
      &.gif,
      &.bmp,
      &.png,
      &.jpeg {
        background-image: image-url('icons/icon-image.png');
      }
      
      &.zip,
      &.rar {
        background-image: image-url('icons/icon-zip.png');
      }
      
      &.mp3,
      &.wav {
        background-image: image-url('icons/icon-music.png');
      }
    }
    
    .icon-download-alt {
      color: #676767;
    }
  }
  
  a {
    color: #02abf0;
  }
  
  span {
    color: #474747;
    padding-right: 20px;
  }
}


