.navbar {
  margin-bottom: 0.5em;
}
.container {
  min-height: 80vh;
}

.col-3 {
  padding: 0%;
}

/* photos page */
#photo-page-image {
  padding: 0.5em;
  min-width: 100%;
}

/* Limit height of portrait photos. */
img {
  max-height: 700px;
}

#photo-container {
  /* border: black solid 2px; */
  margin-left: auto;
  margin-right: auto;

  padding-top: 1%;
  padding-bottom: 1%;
  vertical-align: baseline;

  /* min-width: 100%; */

  max-height: 740px;
  min-height: 740px;
}

/* Photo */
/* enables flex for all children of this element */
/* Photo */
/* enables flex for all children of this element */
.flex-container {
  display: flex;
  flex-wrap: nowrap;
  min-height: 76vh;
  flex: 1;
}

/* flex-item */
.flex-item {
  /* This defines the ability for a flex item to grow if necessary. */
  min-width: 10%;
}

#flex-image {
  min-width: 80%;
}

#photo-info {
  margin-top: 1em;
}

.table > tbody > tr > td {
  vertical-align: middle;
}

/* some margin to provide space between the buttons for the edit button in the view edit_tag.html */
#edit-buttons {
  margin-bottom: 1em;
}

/* edit albums */
#edit-albums-container {
  max-width: 50px;
}

#album-text {
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

/* Selected album in Add photos to the album */
/* centres the album in the page */
#selected-album,
#problem-div {
  padding: auto;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  display: -webkit-box;
  padding-top: 2rem;
}

#photo-select:hover {
  background-color: darkgrey;
}

/* pushes the title down a little */
#photo-select-title {
  padding-top: 1em;
}

#selected-photo {
  background-color: green;
}

/* file upload */
#album-links {
  color: black;
}

.btn-block {
  margin-bottom: 0.2em;
}

/* for the page delete tag */
#no-underline {
  text-decoration: none;
}

/* center element in a col */
.center-block {
  /* border: black solid 2px; */
  -webkit-box-align: center;
  -webkit-box-pack: center;
  display: -webkit-box;
}

.upload-buttons {
  margin-top: 1rem;
}

.test {
  border: solid red 2px;
}

/* some space between bootstrap card */
.card {
  margin-bottom: 1em;
}

/* card for edit tags */
.edit-tags-card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0.4, 0.4, 0, 0.4);
  transition: 0.3s;
  padding: 1em;
  /* margin-top: 2em; */
  background: #ffffff;
  margin: 2em;
}

.album-card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0.4, 0.4, 0, 0.4);
  padding-bottom: 1em;
  min-width: 18rem;
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
}

/* some spacing in album.html */
#single-album {
  margin-top: 2em;
  margin-bottom: 1.2em;
}

footer {
  margin-top: 3em;
}

#page-count {
  margin-top: 1em;
  margin-bottom: 1em;
}
