body {
  background: white;
  border-top: 6px solid #D1040C;
  padding-top: 5%;
  transition: border-width 0.1s ease-in-out;
}

body .container {
  max-width: 900px;
  margin: auto;
  padding: 0 15px;
}

body.auth {
  border-top-width: 50px;
}

body.auth .container {
  max-width: 1200px;
}

.hidden {
  display: none;
}

.login-form {
  display: block;
  max-width: 300px;
  margin: auto;
}

.login-form h1 {
  text-align: center;
}

.login-form .ui.input + .ui.input {
  margin-top: 5px;
}

.login-form .ui.button {
  margin-top: 10px;
}

.navigation {
  position: fixed;
  line-height: 50px;
  text-align: center;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
}

.navigation .username {
  font-size: 20px;
  vertical-align: middle;
  padding-right: 15px;
  font-weight: bold;
}

.navigation .logout, .navigation .home {
  position: absolute;
  top: 0;
  vertical-align: middle;
  height: 100%;
  display: inline-block;
  width: 50px;
  text-align: center;
  cursor: pointer;
  line-height: 50px;
}

.navigation .logout i, .navigation .home i {
  margin: 0;
  line-height: 50px;
  width: 100%;
  height: 100%;
  opacity: .7;
  transition: opacity .2s;
}

.navigation .logout:hover i, .navigation .home:hover i {
  opacity: 1;
}

.navigation .logout {
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.507);
}

.navigation .home {
  color: white;
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.507);
}

.panel-content {
  flex-grow: 1;
  margin-left: 10px;
  padding: 15px;
  box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
  border: 1px solid rgba(34, 36, 38, 0.15);
  border-radius: .28571429rem;
  height: fit-content;
}

.panel-content.table {
  padding: 0;
  border: none;
  box-shadow: none;
}

.panel-content.table table {
  margin: 0;
  box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
}

.panel-content.table tbody.loading {
  opacity: .5;
  cursor: not-allowed;
}

.panel-content.table .table-pagination {
  padding-top: 15px;
  text-align: right;
}

.panel-content.table .table-pagination button {
  margin: 0;
}

.panel-content.table .table-pagination .ui.input {
  width: 60px;
  margin: 0 5px;
}

.panel-content.table .table-pagination .ui.input input {
  text-align: center;
}

.panel-content.table .table-pagination p {
  margin-top: 15px;
}

.panel-content.dashboard {
  padding: 0;
}

.panel-content.dashboard .section {
  text-align: center;
  padding: 10px;
  height: 150px;
  font-size: 20px;
  transition: background-color .2s;
}

.panel-content.dashboard .section:hover {
  background-color: #f0f0f0;
}

.panel-content.dashboard .section a {
  color: #575757;
  display: block;
  height: 100%;
}

.panel-content.dashboard .section span {
  display: block;
  margin-bottom: 10px;
  padding-top: 33px;
}

.panel-content.dashboard .section + .section {
  border-top: 1px solid lightgrey;
}

.panel-area {
  display: flex;
}

@media screen and (max-width: 780px) {
  .panel-area {
    display: block;
  }
  .panel-area .panel-content {
    margin: 0;
  }
  .panel-area .ui.vertical.menu {
    width: 100%;
    text-align: center;
  }
}

.panel-area .ui.vertical.menu {
  max-height: 190px;
}

.panel-area .ui.vertical.menu.disabled {
  display: none;
}

.users-table .user-row .user-row-actions {
  text-align: center;
}

.users-table .company-row .user-row-actions {
  text-align: center;
}

.user-row-actions {
  text-align: center;
}

.user-row-actions {
  text-align: center;
}

.table-form-wrap {
  margin-top: 10px;
}

.row-checkbox {
  position: relative;
}

.row-checkbox label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#loader-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
}

#loader-page .spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
}
