html, body {
    height: 100%;
}

.clear {
    clear: both;
}

.modal-title {
    font-family: Lato;
    font-size: 20px;
}

.haxdb-page-link {
  cursor: pointer;
}

#haxdb-mobile-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #888;
}

.view-category-label {
  width: 100%;
  font-weight: bold;
  font-size: 1.25em;
  border-color: #ccc;
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  margin-bottom: 10px;
}

.btn-info {
    background-color: #FFF;
    color: #aaa;
}

.btn-info:hover {
  background-color: #fff;
  color: #000;
}

.btn-info:focus {
  background-color: #fff;
  color: #000;
}

.modal-dialog{
overflow-y: initial !important
}
.modal-body{
max-height: calc(100vh - 200px);
overflow-y: auto;
}

#loader {
    width: 100%;
    height: 256px;
    background: url(/img/loading.gif) no-repeat;
    background-position: center;
}

.haxdb-file-buttons {
  padding: 7px 5px;
  text-align: center;
}

.haxdb-file-button {
    margin: 5px;
    color: #000;
    cursor: pointer;
}

.haxdb-file-button[file-action=clear]{
    color: pink;
}

.haxdb-file-button[file-action=download]{
    color: lightblue;
}

.haxdb-file-button[file-action=upload]{
    color: lightgreen;
}

.haxdb-file-button i{
    font-size: 25px;
    padding: 5px;
}

#logo {
    margin-top: 10px;
    margin-right: 10px;
    height: 30px;
}

#haxdb-user:focus {
    background-color: #333 !important;
}

.dropdown-menu {
    margin-top: 1px !important;
    background-color: #eee !important;
    border-radius: 0px 0px 5px 5px !important;
    padding: 0px !important;
}

.dropdown-menu a {
    color: #333 !important;
}

.dropdown-menu a:hover {
    background-color: #ddd !important;
}

#userdropdown {
    background-color: #000;
    margin-top: 5px;
}

#page {
    margin-top: 50px;
    padding: 25px 50px;
}

#topbar {
    background-color: #000;
}


#main-container {
    height: 100%;
    margin-left: 0px;
    padding-left: 0px;
}

#main-row {
    height: 100%;
    margin-left: 0px;
    padding-left: 0px;
}

#navbar li .fa {
    margin-right: 15px;
}

#sidebar {
    background-color: #fff;
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: #eee;
    padding: 0px;
    padding-top: 53px;
    padding-bottom: 100px;
    text-align: center;
    height: 100%;
}

#sidebar a {
    display: block;
    width: 100%;
    padding: 0px;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: center;
    border-style: solid;
    border-width: 0px;
    border-bottom-width: 1px;
    border-color: #eee;
    cursor: pointer;
    color: #bbb;
}

#sidebar .fa {
    font-size: 1.75em;
}

#sidebar svg {
    margin: 10px;
    text-align: center;
}

#sidebar a:hover {
    background-color: #ddd;
    color: #333;
}

.delete-ask-rowname {
    text-align: left;
    max-width: 375px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    padding: 10px;
    font-weight: bold;
}

.form-error {
    white-space: pre-wrap;
    text-align: left;
}


@media (max-width: 978px) {
    .container {
      padding:0;
      margin:0;
    }

    body {
      padding:0;
    }

    .navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
      margin-left: 0;
      margin-right: 0;
      margin-bottom:0;
    }

    #page {
        padding: 15px 5px 0px 5px;
    }
}

#view-thumbnail-container {
  width: 270px;
  height: 270px;
  text-align: center;
  margin-bottom: 10px;
  border-style: solid;
  border-color: #666;
  border-width: 2px;
  background-image: url(/img/blank.png);
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 10px;
  vertical-align: middle;
}

#view-thumbnail-container.active {
  background: none;
  border-width: 1px;
  border-color: #eee;
}

#view-thumbnail {
  max-width: 250px;
  max-height: 250px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.list-thumbnail-card {
  width: 225px;
  height: 225px;
  background-color: #fff;
  margin: 20px;
  float: left;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.25);
  overflow: hidden;
  cursor: pointer;
}

.list-thumbnail-card-top {
  width: 225px;
  height: 175px;
  overflow: hidden;
}

.list-thumbnail-card-bottom {
  width: 225px;
  height: 50px;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  background-color: #eee;
  white-space: nowrap;
  font-size: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.list-thumbnail-image {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}


#haxdb-user-menu {
  margin-right: 10px;
  overflow: hidden;
}

.hdbMono {
  font-family: monospace !important;
}

#bottombar {
  min-height: 0px !important;
  height: 35px;
  background-color: #fff;
  border-style: solid;
  border-width: 1px 0px 0px 0px;
  border-color: #ddd;
}

#haxdb-status {
  font-size: 15px;
  padding: 5px;
  padding-left: 25px;
  color: #888;
  width: 50%;
}

#haxdb-info {
  font-size: 15px;
  padding: 5px;
  padding-left: 25px;
  color: #aaa;
  text-align: right;
}
