body,
html {
  height: 100%;
  padding: 0px !important;
}

nav {
  box-shadow: 0px 1px 5px 1px #dedada;
}

div nav {
    box-shadow: none;
    float: right;
}

.starter-template {
  padding: 3rem 1.5rem;
  text-align: center;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.main-container {
  height: calc(100vh - 77px);
}

a {
  color: black;
}

a:hover {
  color: #545454;
  text-decoration: none;
}

.sidebar {
  background-color: #d8d8d857;
  box-shadow: inset -4px 0 9px 2px #dedada;
  padding: 0px;
  height: inherit;
}

.sidebar ul li {
  padding: 10px;
}

.sidebar ul li ul {
  margin-left: -10px;
  margin-right: -10px;
  margin-top: 10px;
}

.sidebar ul li ul li {
  background-color: #e4e4e4;
  /*padding-left: 25px;*/
  padding: 10px 10px 0px 25px;
}

.search {
  padding: 10px;
  display: flex;
}

.textCentre {
  text-align: center;
}

.post-tag {
  border: 1px solid;
  padding: 2px;
  border-radius: 10px;
}

.card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

/*-----Table of Contents formatting-----*/
#toc_container {
  background: #d1d1d1;
  border: 1px solid #000000;
  display: table;
  font-size: 95%;
  text-align: left;
  margin-bottom: 1em;
  margin-left: none;
  padding: 12px;
}

.toc_title {
  font-weight: 700;
  text-align: left;
}

#toc_container li,
#toc_container ul,
#toc_container ul li {
  list-style: outside none none !important;
  text-align: left;
  margin: none;
}

.sidebar-wikiposts {
  overflow-y: scroll;
  height: calc(100% - 57px);
  margin-bottom: 0px;
}

.mce-content-body {
  overflow-y: scroll;
  height: calc(100vh - 170px);
}

pre {
  border: 1px solid;
}
#sidebarContent {
  overflow-x: scroll;
  height: calc(100% - 15%);
}
