/* -------------------------------- Discussion Styles--------------------------------- */

 #discussion-body {
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 10px;
    align-items: center;
 }
 #discussion-body * {
    line-height: 1;
 }
 #discussion-body p {
    font-size: 16px;
 }
 #discussion-body .row {
    display: flex;
    flex-direction: row;
    margin: 0px;
 }
 #discussion-body .column {
    display: flex;
    flex-direction: column;
 }
    .new-comment {
        flex: 1 1;
    }
    #leave-a-comment {
        background-color: rgb(97, 90, 90);
        color: whitesmoke;
        border-radius: 5px;
        padding: 10px;
        margin: 10px;
        cursor: pointer;
        max-width: 200px;
        align-self: center;
    }

    /* Comments */
    #discussion {
        width: 90%;
    }
    #comments, .column[name="comment"] {
        width: 100%;
    }
    .comment-content {
        background-color:rgba(219, 220, 221, 0.658);
        padding: 10px;
        border-radius: 10px;
    }
        .row[name="comment-head"] {
            flex-wrap: nowrap;
            align-items: center;
        }
            .comment-titles {
                flex-wrap: wrap;
                font-size: 16px;
                align-items: baseline;
            }
                .comment-title {
                    padding: 5px;
                }
                    .comment-title.subject {
                        font-size: 20px;
                        font-weight: bold;
                    }
                    .comment-title.who, .comment-title.date {
                        opacity: 0.6;
                    }
                    .comment-title.who {
                        font-style: italic;
                    }
                .comment-text {
                    padding: 10px;
                }

    /* Replies  */
    .reply-button {
        justify-content: flex-end;
    }
        .replies {
            align-items: flex-end;
        }
            .reply {
                width: 90%;
                align-self: flex-end;
            }
            .reply-rank {
                font-size: 12px;
            }
            .row.reply-button > button {
                background-color: #282699;
                color: white;
                padding: 8px 12px;
                margin: 8px 2px;
                border: none;
                border-radius: 8px;
                cursor: pointer;
                align-self: center;
                font-size: 16px;
                font-weight: bold;
            }

    /* Vote */
    .column[name=vote] {
        flex-basis: 10%;
        border: 1px black;
        align-items: center;
        margin-left: auto;
    }
        .arrow-up {
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid black;
            margin-bottom: 5px;
        }
        .arrow-down {
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid black;
            margin-top: 5px;
        }
            .arrow-up:hover, .arrow-down:hover {
                cursor: pointer;
            }

    /* Actions */
    .actions-container {
        float: right;
        display: flex;
    }
        .action-button {
            height: 1rem;
            cursor: pointer;
        }

    /* Forms */
      label {
        margin: 8px;
        font-family: Arial;
        font-size: 20px;
        font-weight: bold;
      }
      #discussion-body input[type=text], #discussion-body textarea {
        padding: 12px 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
        width: 100%;
      }
      #discussion-body input[type=submit] {
        width: 20%;
        min-width: 100px;
        background-color: #282699;
        color: white;
        padding: 8px 12px;
        margin: 8px 2px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        align-self: center;
        font-size: 20px;
        font-weight: bold;
     }
        #discussion-body input[type=submit]:hover {
            background-color: #5554ad;
        }
     /* Close Button */
     .close-button {
        font-size: 30px;
        font-weight: bold;
        align-self: flex-end;
        text-align: center;
        color: black;
        cursor: pointer;
     }
        .close-button:hover {
            opacity: 1;
        }
        .close-button::before {
            content: '\00d7';
            color: #fff;
        }
