/* section#content{
  width: 800px;
  margin: 0 auto;
} */

section#content h1 {
  font-size: 2rem;
  font-weight: bold;
}

* {
  font-size: 1.05rem;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

div.form-controls {
  width: 600px;
}

div.form-field {
  width: 400px;
}

div.form-field textarea {
  width: 400px;
}

div.form-controls>div>div>div>div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 15px;
}

div.form-controls div.form-name {
  text-align: right;
  padding-right: 1rem;
}

div.form-controls div.form-name::after {
  content: ':';
}

div.form-actions {
  display: flex;
  width: 550px;
  padding-left: 274px;
}

div.form-actions div {
  margin-right: 15px;
}

div.form-actions button {
  cursor: pointer;
  font-size: 1.1rem;
}

/* Basic elements */
body {
  color: #333;
  font-family: sans-serif;
  font-size: 15px;
  line-height: 1.22;
  margin: 0;
  padding: 0;
}

a,
a:visited,
a:link {
  color: #1d7596;
}

a:hover,
a:active {
  color: #d90d0d;
}

h1 {
  font-weight: 500;
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

form {
  margin: 0;
  padding: 0;
  position: relative;
}

.disabled {
  color: #dedede
}

section {
  padding: 10px;
}

footer {
  background: #333;
  color: #fff;
  padding: 10px;
}

pre code,
code {
  font-family: sans-serif;
  font-size: 15px;
  background: #f6f6f6;
  border: 1px solid #dedede;
  border-radius: 3px;
  display: block;
  padding: 10px;
  margin: 10px auto;
  white-space: pre-wrap;
}

pre code ul li {
  font-family: sans-serif;
  font-size: 14px;
}

#logo {
  float: left;
  height: 25px;
}

#qcubed-4_logo {
  float: left;
  height: 50px;
  margin-top: -15px;
  margin-right: 10px;
}

#tagline a {
  color: #fff;
  font-weight: 700;
  line-height: 30px;
  margin-left: 10px;
  text-decoration: none;
}

/**
 * This is the bare-bones css file needed to use QCubed in your application. If you need to modify an item, simply
 * override it in an additional css class you include after this one. Or you can copy this and completely replace it
 * by pointing to it with the QCUBED_CSS define.
 */
button {
  cursor: pointer;
}

form {
  margin: 0;
  padding: 0;
  position: relative;
}

/**
 * Styles of individual QCubed\Control types
 */
.datagrid {
  margin: auto;
  width: 100%;
}

.datagrid th {
  background-color: #333;
  color: #fff;
  padding: 5px;
}

.datagrid th a {
  color: #f6f6f6;
  text-decoration: none;
  white-space: nowrap;
}

.datagrid th a:hover {
  text-decoration: underline;
}

.datagrid th.sortable :hover {
  opacity: 0.95;
}

.datagrid th.sortable div span {
  display: table-cell;
  vertical-align: bottom;
  padding-right: 4px;
}

.datagrid th.sortable div i.fa {
  display: table-cell;
  vertical-align: bottom;
  padding-bottom: 2px;
}

.datagrid td {
  border-bottom: 1px solid #dedede;
  padding: 5px;
}

.datagrid caption {
  overflow: hidden;
  padding: 5px;
  position: relative;
}

.datagrid .paginator-control {
  float: right;
}

.datagrid .paginator-results {
  float: left;
}

.paginator .arrow {
  color: #dedede;
  font-style: italic;
}

.paginator .arrow a {
  font-style: normal;
}

.paginator .break {
  color: #dedede;
  padding: 5px;
}

.paginator .page {
  color: #dedede;
  display: inline-block;
  padding: 0 5px;
}

.paginator .selected {
  background: #1d7596;
  border: 1px solid #3a6d93;
  border-radius: 3px;
  display: inline-block;
  color: #fff;
  padding: 0 5px;
}

/* Status coloring */
.warning {
  color: orange;
}

.error {
  color: red;
}

.success {
  color: green;
}

/* SQL Profiling */
.qDbProfile {
  /*position: absolute;*/
  background-color: white;
  padding: 5px;
  top: 0;
  right: 0;
  z-index: 5000;
  border: 1px solid black;
}

.qDbProfile a {
  position: relative;
}

/* Modification to jquery ui dialog styling that allows for left/right buttons and other fixes */
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: none !important;
  text-align: right;
}

.ui-button-left {
  float: left;
}

/* The following is to allow for correct positioning of an alert icon */
.ui-dialog-title {
  float: none !important;
  width: auto !important;
}

.ui-dialog-titlebar .ui-icon {
  display: inline-block;
  margin-right: .3em;
  vertical-align: middle;
}

/**
 * Utility classes to format objects as tables, without using table tags to be more correct in our html.
 Used in CheckList and RadioList
 */
.qc-table {
  display: table;
}

.qc-tableRow {
  display: table-row;
}

.qc-tableCell {
  display: table-cell;
}

/**
 * For generated list forms that you can click on to edit an item, this styles the cursor so it looks like the
 * row is clickable, and it prevents accidentally selecting text in the row.
 */
.clickable-rows tr td,
.clickable-rows tr th {
  -webkit-user-select: none;
  /* webkit (safari, chrome) browsers */
  -moz-user-select: none;
  /* mozilla browsers */
  -khtml-user-select: none;
  /* webkit (konqueror) browsers */
  -ms-user-select: none;
  /* IE10+ */
  cursor: default;
}

.clickable-rows tr:hover {
  background-color: #f0f0f0;
}

/** Error notice styling */
#Qcubed_AJAX_Error {
  position: fixed;
  background-color: white;
  border: 2px solid black;
  left: 20px;
  right: 20px;
  top: 20px;
  z-index: 10000;
  padding: 20px;
}