/************************* Comments *************************/
#comments {
    position: absolute;
    margin-top: -100px;
}

.comments h2 {
    display: flex;
    align-items: center;
    margin: -10px 0 0 0;
}

.comments .heading h3,
.content h3,
.comments .count h5,
.timestamp
{
    margin: 0;
}

.comment {
    display: flex;
    margin: 45px 0 35px;
}

.comment h4,
.new_comment h4 {
    margin: -5px 0 0 0;
    font-size: 18px;
    color: var(--dark-blue);
}

.comments .count {
    padding: 4px 10px;
    color: #FFFFFF;
    border-radius: 5px;
    font-family: 'Source Sans Pro', sans-serif !important;
    margin-left: 15px;
}

.comment_text {
    margin-bottom: 0;
}

.comment_picture {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    width: 46px;
    background-color: var(--yellow);
    color: var(--dark-blue);
    border-radius: 5px;
    margin-right: 25px;
    box-shadow: 0px 5px 10px #00000014;
}

.comment .content {
    width: calc(100% - 71px);
}

.comment_details {
    display: flex;
    align-items: center;
}

.timestamp {
    color: var(--grey);
    font-weight: 700;
    margin-top: -3px;
    margin-left: 25px;
}

.timestamp i {
    margin-right: 10px;
}

/************************* Reply *************************/
.reply_form {
    display: flex;
    align-items: center;
    margin-left: 71px;
    margin-top: 25px;
}

.reply_link,
.reply {
    margin-left: 71px;
}

.reply_link h4 {
    margin: 0;
    color: var(--light-blue);
}

.reply_form form {
    display: flex;
    align-items: center;
    width: calc(100% - 71px);
}

.reply_form form .button {
    margin-left: 25px;
}

.reply_field,
.comment_form {
    font-size: 14px;
    color: var(--form-grey);
    background-color: transparent;
    border: solid 2px var(--form-grey);
    border-radius: 5px;
    height: 46px;
    width: 100%;
    min-width: auto;
    max-width: auto;
    padding-left: 15px;
    box-sizing: border-box;
    outline: none;
    font-family: 'Roboto', sans-serif !important;
}

.reply_field {
    max-height: 46px;
    min-height: 46px;
    padding-top: 12px;
}

.reply_field::placeholder,
.comment_form::placeholder {
    color: var(--form-grey);
}

.add_comment {
    padding: 10px 0;
}

.add_comment label {
    display: none;
}

/************************* Comment Form *************************/
#comment {
    display: flex;
}

.new_comment {
    width: calc(100% - 71px);
    box-sizing: border-box;
}

.new_comment .comment_details {
    align-items: start;
    margin-bottom: 25px;
}

.nickname p {
    color: var(--grey);
    margin: -3px 0px 0 25px;
    font-weight: 700;
}

.comment_form {
    height: 130px;
    margin-bottom: 20px;
}

textarea {
    min-width: 100%;
    max-width: 100%;
    max-height: 200px;
    padding-top: 15px;
}

.comment-actions .blue {
    color: var(--light-blue);
    font-weight: 800;
    margin-right: 1rem;
}

.comment-actions .red {
    color: var(--red);
    font-weight: 800;
}

.d-none {
    display: none;
}

.reply_edit {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
}

.reply_edit .button {
    width: 100px;
    margin-left: 25px;
}

.reply-edit-form {
    width: 100%
}

@media (max-width: 550px) {
    .comment,
    .comment_details,
    .comment .content,
    .reply_form form,
    #comment,
    .new_comment,
    .reply_form {
        display: block;
        width: 100%;
    }

    .comment h4,
    .new_comment h4 {
        margin-top: 15px;
    }

    .timestamp,
    .nickname p {
        margin-left: 0;
        margin-top: 10px;
    }

    .reply_link {
        margin: 0;
    }

    .reply_form,
    .reply {
        margin-left: 25px;
        width: calc(100% - 25px);
    }

    .reply_form form .button {
        margin-left: 0;
    }

    .reply_form form input,
    .reply_field,
    .reply_form form .button {
        margin-top: 25px;
    }  

    form .button {
        width: 100%;
    }
}

.light_blue_font {
    color: var(--light-blue) !important;
}

.fa-exclamation-triangle {
    margin-right: 10px;
}

/************************* Unauth *************************/
.add_comment .buttons_container {
    justify-content: start;
}

.add_comment .signup_button {
    margin-left: 25px;
}

@media (max-width: 600px) {
    .add_comment .buttons_container {
        display: block;
    }

    .add_comment .signup_button {
        margin-top: 25px;
        margin-left: 0;
    }
}