#no-comments {
    text-align: center;
}

.comment-icon {
  width: 30px;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 75%;
}

.comment-icon:hover {
  background-color: rgb(196, 193, 193);
}

#comment-display-div {
    max-height: 500px;
}

.hidden {
    visibility: hidden;
} 

#comment-display {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(3, auto);
    place-items: center;
    max-height: 500px;
    overflow-y: scroll;
}

#comment-display #comment-count {
    grid-row-start: 1;
    grid-column-start: 2;
    justify-self: end;
    align-self: start;    
}

#comment-display #comment-count h6 {
    margin-top: 0;
    margin-bottom: 0;
}

#comment-display #prev-comment {
    visibility: "grid";
    grid-row-start: 2;
    grid-column-start: 1;
    height: 15%;
    place-self: center;
    background-image: url("../media/back.png");
}

#comment-display #next-comment {
    grid-row-start: 2;
    grid-column-start: 3;
    height: 15%;
    place-self: center;
    background-image: url("../media/next.png");
}

#comment-display #comment-section {
    display: grid;
    grid-column-start: 2;
    grid-template-rows: repeat(10, auto);
    justify-self: stretch;
}

.comment {
    display: grid;
    grid-template-rows: 20% 20% 60%;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-style: solid;
    border-radius: 15px;
    padding: 10px;
    margin: 10px 10px;
    background-color: #E7F2EF;
}

.comment #display-commentor {
    grid-row-start: 1;
}

.comment #display-date {
    grid-row-start: 2;
    /* display: grid;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center; */
}

.comment #display-comment {
    grid-row-start: 3;
}

#display-commentor *, #display-date *, #display-comment * {
    display: inline-block;
}

#author-content, #date-content, #comment-content {
    font-size: 15px;
}

.comment .delete-comment {
    grid-row-start: 1;
    grid-column-start: 2;
    background-image: url("../media/close.png");
    height: 25px;
    width: 25px;
}
