@font-face {
  font-family: 'Abel';
  src: url('../fonts/Abel-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html, body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/*form {
    padding-left: 15px;
    padding-right: 15px;
} */

.panel {
  border: 1px solid #ddd;
}

div.table-container table.table {
  border: 1px solid #ddd;
}

.dbtable-list {
  padding-left: 0;
  padding-right: 0;
  padding-top: 15px;
}

.dbtable-list .filterHead input, .dbtable-list .filterHead select {
  /*display: none;*/
}

/*.dbtable-list  thead .filterHead th, .dbtable-list  tbody .filterHead th {
    padding: 12px !important;
}*/
div.table-container table.table-condensed>tbody>tr>td, div.table-container table.table-condensed>tbody>tr>th, div.table-container table.table-condensed>tfoot>tr>td, div.table-container table.table-condensed>tfoot>tr>th {
  padding: 12px 12px 7px 12px;
}

div.table-container table.table-condensed>thead>tr>td, div.table-container table.table-condensed>thead>tr>th {
  padding: 12px;
}

.filter-table:hover {
  background-color: #fc0;
  padding: 2px 7px 5px 5px;
}

.input-sm {
  font-size: 12px;
  padding: 5px 0px;
}

/* Wrapper for page content to push down footer */

#wrap {
  min-height: 100%;
  height: auto;
  /** Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
  padding-bottom: 90px;
}

/* Set the fixed height of the footer here */

#footer {
  height: 60px;
  background-color: #f5f5f5;
}

/*div.container a.brand {
    background: url("../img/logo.png") no-repeat scroll 0 10px transparent;
    margin-left: 0;
    padding: 8px 20px 12px 40px;
}*/

.form-acl {
  padding: 5px;
  padding-left: 20px;
}

.form-acl label {
  display: inline;
  margin: 0px;
}

.form-acl input {
  margin: 0px !important;
  margin-right: 5px !important;
  margin-bottom: 3px !important;
}

td.grid-actions {
  white-space: nowrap;
}

#no-more-tables th div {
  white-space: nowrap;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #cccccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

@media only screen and (max-width: 900px) {
  .table-condensed>thead>tr>td, .table-condensed>thead>tr>th {
    padding: 12px 7px;
  }
  /* Force table to not be like tables anymore  */
  #no-more-tables table, #no-more-tables thead, #no-more-tables tbody, #no-more-tables th, #no-more-tables td, #no-more-tables tr {
    display: block;
  }
  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr:first-of-type {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  #no-more-tables tr {
    /* border: 1px solid #ccc;*/
    /* margin-bottom: 5px; */
  }
  #no-more-tables td {
    /* Behave  like a "row"  */
    min-height: 37px;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    white-space: normal;
    text-align: left;
  }
  #no-more-tables th {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    white-space: normal;
    text-align: left;
  }
  #no-more-tables th div:first-child {
    /* Behave  like a "row"  */
    display: inline-block;
    width: 50%;
  }
  #no-more-tables th div:last-child {
    /* Behave  like a "row" */
    display: inline-block;
    width: 45%;
  }
  #no-more-tables td:before {
    float: left;
    display: block;
    top: 6px;
    left: 6px;
    width: 35%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
  /* Label the data */
  #no-more-tables td:before {
    content: attr(data-title);
  }
  #no-more-tables td.hidden {
    display: none;
    visibility: hidden;
  }
  .table-condensed>tbody>tr>td, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>td, .table-condensed>tfoot>tr>th {
    padding: 10px 12px 10px 12px;
  }
}

.user-image img {
  padding-right: 0.5em;
  float: left;
  text-align: left;
}

@media (max-width: 600px) {
  #no-more-tables td:before {
    width: 50%;
  }
}