html, body {
  font-size: 14px;
  width: 100%;
  position: absolute;
}

div {
  padding: 0.5rem;
}

input {
  padding: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#header {
  display: block;
}

#wrapper {
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* fixes for the sidebar layout */
#sidebar-wrapper {
  background: #202020;
  top: 0;
  padding: 0;
  -webkit-transition: width 0.01s height 0.01s linear;
  -moz-transition: width 0.01s height 0.01s linear;
  -o-transition: width 0.01s height 0.01s linear;
  transition: width 0.01s, height 0.01s, transform 0.01s;
}

.sidebar-nav {
  width: initial;
  left: 0;
  width: 100%;
  padding-top: 0.5rem;
  height: 100%;
  position: relative;
}

.sidebar-nav li ul {
  padding-left: 0px;
}

.sidebar-nav li span {
  user-select: none;
  cursor: default;
}

/* Override bootstrap default margin-bottom */
.navbar {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  table {
      table-layout: fixed;
  }

  #sidebar-wrapper {
    position: initial;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  #sidebar-wrapper ul li {
    text-align: center;
  }

  #header {
    display: none;
  }

  .sidebar-nav {
    display: none;
  }

  #sidebar-collapse {
    display: block;
  }

  .logout-container {
    position: initial;
    margin-bottom: 1rem;
  }

  #wrapper {
    width: 100%;
  }

  .page-content-container {
    padding: 0;
  }

  /* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}

	thead tr {
    background-color: #CCCCCC;
	}

	tr {
    border: 1px solid #ccc;
  }

	td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
	}

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}
}

@media (min-width: 769px) {
  .logout-container {
    bottom: 1rem;
    position: absolute;
    width: 100%;
  }

  .logout-container input {
    width: 80%;
  }

  #settings-button {
    position: absolute;
    bottom: 0;
  }

  #sidebar-collapse {
    display: none;
  }
}

#download-csv {
  margin-left: 20px;
}

#header h1 {
  margin-bottom: 5rem;
  margin-top: 2rem;
  text-align: center;
}

.table-button {
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.table-button-column {
  text-align: right;
}

.pagination li {
  padding: 0.5rem;
  margin: 0.5rem;
}

#filter-collapser {
  float: right;
  margin-left: 1rem;
}

.filter-form {
}

.filter-row {
  float: right;
  display: table;
  background-color: rgba(122, 164, 232, 0.5);
}

.filter-group {
  display: inline-block;
  float: left;
  height: 100%;
}

.filter-field {
  display: table;
  clear: both;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.filter-field h5 {
  display: inline;
}

.filter-field input[type="datetime-local"] {
  display: inline;
  width: 50%;
  float: right;
}

.filter-button {
  margin: 0.5rem;
  display: block;
  width: 100%;
}

.filter-field #search-filter {
  width: 100%;
}

.inline-title {
  display: inline;
}

.ellipsis-menu {
  height: 2rem;
}

.data-table-button {
  width: 100%;
}

.readonly {
  pointer-events: none;
}

.large-textarea {
  width: 100%;
  max-width: 100%;
  height: 10rem !important;
}

.conflict-row {
  overflow: auto;
  margin-bottom: 2rem;
  border: 1px dotted black;
}

.table-conflict {
}

.conflict-row>div>table>tbody>tr>th,
.conflict-row>div>table>tbody>tr>td {
  border-top: none;
  padding: 1rem;
}

.conflict-row>div {
}

.member_count {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-align: right;
}
