/**
 *   Lists
 */
@list-padding:5px;

.gears-list{
  &.item-loader{
    .gears-list-item{
      background: url(images/loader-ring.svg) no-repeat center center !important;
    }
  }

  &.table{
    margin:0px;
    margin-top:@text-padding - 13px;
    border-spacing:0px;
    .box-size;
    .item-element{
      padding: @list-padding * 4 @list-padding * 2;
      .border-bottom(@grey1,1px);


      &.gears-buttonbar{
        padding:0px;
        padding-top:@text-padding - 13px;
        width:10px;
        .t-center;
      }
    }
    .gears-list-item{
      &:first-child{
        .item-element{
          //.border-top(@grey1,1px);
        }
      }
    }

    .gears-list-item:hover:not(.disabled):not(.separator){
      .item-element{
        //.hover-list;
      }
    }
    .buttons{
      float:none;
      a{
        .light1;
      }
    }
  }

  .gears-list-item{
    padding:0px;
    &.separator{

    }
    &.selected{
      .light3;
    }
    &:hover:not(.disabled):not(.separator){
      .hover;
      cursor:pointer;
    }
    &.disabled{
      .t-disabled;
    }
    .gears-icon{
      &.ae-checkbox{
        display: inline-block;
        .border(@black,1px);
        &:not(.alternate):before,&.alternate.checked:before{
          content: "\e387";
        }
      }
    }
  }
  .gears-list-item-inner{
    &::after{
      .__cf;
    }
    cursor:pointer;
    padding:@list-padding * 2;

  }
  .item-element{
    //padding:@list-padding;

    padding-left:@list-padding;
    padding-right:@list-padding;
    &.title{
      font-size:@font-size + 3px;
    }
    &.subtitle{
      font-size:@font-size-micro;
    }
    &.item-image,&.item-icon,&.item-check{

    }
  }
  .buttons{
    float:right;
  }
  &.standard{

  }
  &.centered{
    .gears-list-item{
      //.white;//.light0;//.light1;
      //.border(@grey4,1px);
      margin:@text-padding - 10px;
      //.border-right(@grey4,1px);
      //.border-bottom(@grey4,1px);
      .item-element{
        //padding-bottom:@list-padding;
        &.photo{
          padding-top:@list-padding;
        }
        &.toleft{
          margin-top: -@list-padding;
          margin-left: -@list-padding;
        }
      }
      .gears-list-item-inner{
        /*padding-top:@list-padding;
        padding-left:@list-padding;
        padding-right:@list-padding;*/
      }
    }
  }
  &:not(.centered){
    .gears-list-item{
      float:none;
      width:auto;
      .white;
      //.border(@grey4,1px);
      .box-size;
      margin:@text-padding - 10px;
      .item-element{
        //padding:@text-padding / 3;
        vertical-align: middle;
        &.toleft{
          margin-left: -@list-padding;
        }
        &.title{
          /*padding-top:2px;
          padding-bottom:2px;*/
        }
        &.icon{
          padding:0px;
          /*padding-top:8px;
          height:48px;
          width:48px;*/
          margin-right:@list-padding;
          vertical-align: middle;
          .t-color;
          .t-center;
          .box-size;
        }
        &.gears-buttonbar{
          //height:48px;
          /*.gears-button{
            &.centered{
              .gears-button-inner{
                height:48px;
                margin-left: -3px;
              }
            }
          }*/
        }
        &.vcenter{
          margin-top:15px;
        }
        &.padding-vcenter{
          padding-top:12px;
        }
      }
      .gears-list-item-inner{
        //padding:@list-padding;

      }
      &.selected{
        .light2;
      }
    }
  }
  &.list-green{
    .gears-list-item{
      &.selected{.green;}
    }
  }
  &.list-blue{
    .gears-list-item{
      &.selected{.blue;}
    }
  }
  &.list-orange{
    .gears-list-item{
      &.selected{.orange;}
    }
  }
  &.list-red{
    .gears-list-item{
      &.selected{.red;}
    }
  }
  &.list-white{
    .gears-list-item{
      &.selected{.white;}
    }
  }
  &.list-gray{
    .gears-list-item{
      &.selected{.gray;}
    }
  }
}

.noresult-fit{
  border:none !important;
  background: transparent !important;
}