@media only screen and (max-width: 500px) {
  .questions .compact>li {
    float: none;
    margin-right: 0px;
  }
}

.ui-tooltip {
    font-size: 0.9rem;
  }

em.alert{
  color: #d93d31;
  font-weight: 700;
}

.hint{
  display: inline;
}

input[type="text"],
input[type="email"],
input[type="date"] {
	height: 2.375rem;
}

.results .controls {
  background-color: #f8faf8;
  border: 1px solid #ccc;
  border-radius: 0.3em;
  padding: 0.8em 0.8em 0 0.8em;
  margin-bottom: 1.5em;
}

.timestamp .colour {
  background-color: #ffedde;
  border-left: 0.3em solid #f9af71;
  padding: 0.8em 0.8em 0.8em 0.8em;
  margin-bottom: 0.5em;
}

.results ul{
  display: inline-block !important;
}

.results li {
  background-color: #eef8ee !important;
  padding: 0.5em !important;
  border-radius: 0.3em !important;
  margin-left: 0.5em !important;
}

.list-inline {
  padding-left: 0;
  list-style: none;
  margin-left: -5px;
  }
  .list-inline > li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px; }

.results .list-inline>li:first-child {
  padding-left: 0.3em !important;
}

.badge-status {
  font-size: 100%;
  font-weight: 400;
}

.table-wrapper {
  max-height: 300px;
  margin-bottom: 25px;
  overflow: auto;
  display:inline-block;
}

.more-info {
  margin-bottom: -.75rem !important;
}

table.activity thead tr {
    background-color: #007eb1;
    color: white;
  }

.dataTables_wrapper {
  margin: 0 0 1.5em;
  padding: 1em 0;
}

.dataTables_length label {
  font-weight: normal;
  font-size: 1rem;
}

.dt-head-center {text-align: center;}

table.dataTable thead tr {
  font-size: .9rem;
  background-color: #007eb1;
  color: white;
}

table.dataTable tr {
  font-size: .9rem
}

table.dataTable.no-footer {
  border-bottom: 1px solid #ddd;
}

table.dataTable thead th, table.dataTable thead td {
  padding: 10px 10px;
}

.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_paginate {
  margin: .5em 0;
  padding: 0;
}

.dataTables_wrapper .dataTables_paginate .ellipsis {
  border: 0px !important;
  padding: .5rem 1em;
}

.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 200px;
    /* margin-left: -50%; */
    /* margin-top: -25px; */
    padding-top: 20px;
    text-align: center;
    font-size: 1.2em;
    background-color: white;
}

a.paginate_button {
  margin: 0 .3em;
  padding: .5em;
  cursor: pointer;
}

a.paginate_button.current {
  font-weight: bold;
}

div.details {
  border: 1px solid #eee;
  padding: 0 1em;
  margin-bottom: 1.5em;
}

div.dt-buttons {
    float: right;
    margin: .5rem 0;
    padding: 0;
}

/* Flow chart lists */
#qg-primary-content ol.flowchart {
  display: flex;
  flex-flow: row wrap;
  margin: 1em 0 1.5em;
  padding: 0;
  font-size: .9em;
}
#qg-primary-content ol.flowchart, #qg-primary-content ol.flowchart > li {
  list-style: none;
}
#qg-primary-content ol.flowchart > li {
  flex-basis: 100%;
  margin: 0 0 1em;
  border: 1px solid #c9c8c7;
  padding: .6em .8em;
  background: #f6f6f6;
  border-radius: 3px;
  position: relative;
  text-align: center;
}
/*  arrows after each item */
#qg-primary-content ol.flowchart > li:after {
  display: inline-block;
  font-size: 38px;
  font-size: 2rem;
  line-height: 1;
  font-family: 'FontAwesome';
  content: '\f0d7';
  color: inherit;
  color: #c9c8c7;
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translate(-50%, 100%) scale(2, 1);
  font-size: 180%;
  z-index: 1;
  line-height: 19px;
}
#qg-primary-content ol.flowchart > li:last-child:after {
  content: none;
}
/* switch to horizontal layout */
@media (min-width: 38em) {
  #qg-primary-content ol.flowchart > li {
    margin-right: 1.1em;
    flex-basis: calc(33% - 1.1em);
    text-align: left;
    display: flex;
    align-items: center;
  }
  #qg-primary-content ol.flowchart > li:after {
    display: inline-block;
    font-size: 38px;
    font-size: 2rem;
    line-height: 1;
    font-family: 'FontAwesome';
    content: '\f0da';
    color: inherit;
    color: #c9c8c7;
    top: 50%;
    bottom: auto;
    left: auto;
    right: -0.1em;
    transform: translate(100%, -50%) scale(1, 2);
  }
  #qg-primary-content ol.flowchart > li:last-child {
    margin-bottom: 1em;
  }
}
/* extra wide horizontal - no wrapping for 6 items */
@media (min-width: 65em) {
  #qg-primary-content ol.flowchart > li {
    flex-basis: calc(16% - 1.1em);
  }
}
/* highlight start and end of list */
@media (max-width: 37.9999999em) {
  /* vertical highlights - top and bottom */
  #qg-primary-content ol.flowchart > li:first-child {
    border-top: 5px solid #00a200;
  }
  #qg-primary-content ol.flowchart > li:last-child {
    border-bottom: 5px solid #b70303;
  }
}
@media (min-width: 38em) {
  /* horizontal highlights - sides */
  #qg-primary-content ol.flowchart > li:first-child {
    border-left: 5px solid #00a200;
  }
  #qg-primary-content ol.flowchart > li:last-child {
    border-right: 5px solid #b70303;
  }
}
/* End flowchart list */
