/**
 * Custom styles for NUI Demo app
 * Shamelessly lifted from http://demo.nui.ncr.com/create-new-rule.html
 */
 
 #details {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  #details[aria-expanded='true'] {
    display: flex;
  }
  
  #details > div {
    flex: 0 0 48%;
    margin: 0 0 20px;
  }
  
  #details label {
    flex-basis: 135px;
    max-width: 135px;
    margin-right: 20px;
  }
  
  .conditions-table tbody:empty::after {
    display: block;
    padding: 10px;
    font-style: italic;
    content: 'This table is currently empty';
  }
  
  .add-new-tag {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    border: 0;
    border-radius: 50%;
    background-color: #007a98;
    color: #fff;
  }
  
  .create-new-rule .nui-textfield,
  .create-new-rule .nui-select {
    margin-bottom: 20px;
  }
  
  .channels-group {
  }
  
  .channels-group > div {
    width: 50%;
    padding: 15px;
    float: left;
    border: 1px solid #ccc;
  }
  
  .create-condition-form fieldset {
    position: relative;
    margin: 0;
    margin-bottom: 20px;
    padding-left: 165px;
    border: 0;
  }
  
  .create-condition-form legend {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: bold;
    font-size: 14px;
  }
  
  .check-in-window > div {
    display: inline-flex;
    align-items: center;
    padding-right: 10px;
  }
  
  .check-in-window > div:last-child {
    padding-right: 0;
  }
  
  .check-in-window .nui-select label {
    min-height: 0;
    margin-right: 10px;
    padding: 0;
    flex-basis: auto;
    flex-shrink: 1;
  }
  
  .check-in-window .nui-select__dropdown {
    width: 120px;
  }
  
  .nui-select__description {
    padding-left: 10px;
  }
  
  #details form {
    padding-top: 25px;
  }