html,
body {
  width: 100%;
  height: 100%;
  background: #fff;
}

.site-container {
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0px;
}

#alert-display {
  z-index: 1000;
  position: fixed;
  width: 800px;
  top: 50;
  left: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}


@media (min-width: 991.98px) {
  main {
    padding-left: 240px;
  }
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 58px 0 0;
  /* Height of navbar */
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
  width: 240px;
  z-index: 600;
}

@media (max-width: 991.98px) {
  .sidebar {
    width: 100%;
  }
}

.sidebar .active {
  border-radius: 5px;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}

.kit-title {
  left: 0;
  top: 85px;
  position:fixed;
  z-index: 999;
  background-color:#f8eae8;
  width: 100%;
  text-align: center;
  border-bottom:1px solid lightgray;
}

#view-kit-container {
  display: flex;
  align-items: center;
}

.right-calendar {
  background-color: #fff;
  display:table;
  padding:10px;
  border-radius: 10px;
  margin-bottom:40px;
  width:100%;
}

.calendar-day {
  text-align:right;
  vertical-align: top;
  width:20px;
  font-size: .6em;
  height:50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.kit-content-grid {
  display: grid;
  grid-template-columns: auto auto;
}

.kit-content-container {
  margin:20px 10px;
  border-radius: 10px;
  border:1px solid lightgray;
  background-color:#fff;
  padding:10px;
  width:350px;
}

.replace-post-link {
  color:red;
  cursor: pointer;
  font-size:.8em;
}

.post-date {
  color:red;
  font-size:.9em;
  font-weight: 700;
}

.kit-content-month-span {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 1.3em;
}

.manage-photo {
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width:200px;
  height:200px;
  float:left;
  margin:10px;
  padding:5px;
  border:1px solid lightgray;
}

.manage-photo i {
  color:red;
  background-color:#fff;
  border-radius: 3px;
  cursor: pointer;
}

#image-count {
  background-position:center;
  background-repeat: no-repeat;
  background-size:cover;
  cursor:pointer;
  text-align: center;
  vertical-align: middle;
  color:#fff;
}
