.table {
  margin-top: 20px;
  border-radius: 5px;
  background: #fefefe;
  width: 95%;
  margin: 20px auto;
  font-size: 14px;

  .animate-enter,
  .animate-leave {
      -webkit-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
      -moz-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
      -ms-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
      -o-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
      transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
      position: relative;
      display: block;
  }

  .animate-leave.animate-leave-active,
  .animate-enter {
      -webkit-transform: rotateX(90deg) rotateZ(90deg);
      -moz-transform: rotateX(90deg) rotateZ(90deg);
      -ms-transform: rotateX(90deg) rotateZ(90deg);
      -o-transform: rotateX(90deg) rotateZ(90deg);
      transform: rotateX(90deg) rotateZ(90deg);
      opacity: 0;
      height: 0px;
  }

  .animate-enter.animate-enter-active,
  .animate-leave {
      -webkit-transform: rotateX(0deg) rotateZ(0deg);
      -moz-transform: rotateX(0deg) rotateZ(0deg);
      -ms-transform: rotateX(0deg) rotateZ(0deg);
      -o-transform: rotateX(0deg) rotateZ(0deg);
      transform: rotateX(0deg) rotateZ(0deg);
      opacity: 1;
      height: 30px;
  }

  .label {
    display: block;
    font-size: 1em;
    text-align: center;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    margin-top: 2px;
    margin-right: 10px;
    float: left;
  }

  [class*="fui-"] {
    font-size: 16px;
  }
}

.table thead:first-child tr:first-child {
  border-radius: 5px 5px 0 0;
  background-color: @midnight-blue;
  padding-left: 15px;
  padding-right: 15px;
  th {
    color: #fff;
    font-weight: normal;
    &:first-child {
      border-radius: 5px 0 0 0;
    }
    &:last-child {
      border-radius: 0 5px 0 0;
    }
  }
}

.table>tbody {
  border: 1px solid #ddd;
}
.table>tbody>tr:last-child {
  border-radius: 0 0 5px 5px;

  td:first-child {
    border-radius: 0 0 0 5px;
  }
  td:last-child {
    border-radius: 0 5px 0 0;
  }
}


.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
  padding: 10px 15px;
  border-top: 1px solid #ddd;
  line-height: 1.5em;
  vertical-align: middle;
}


.table-controls,
.pagination {
  width: 95%;
  margin: 10px auto;
}

.table-controls {
  .table-buttons,
  .search-box {
    padding: 0;
  }
}
