%comment-btn{
    display: inline-block;
    height: 36px;
    line-height: 34px;
    padding: 0 30px;
    border-radius: 25px;
    @include border(1px,solid);
    font-size: 16px;
    text-decoration: none;
}
.comments-area{
    font-weight: $font_weight_semi_bold;
    padding: 30px;
    box-shadow: 0 0 4px 4px rgba($color_light_gray,0.63);
    cite{
        font-style: normal;
    }
    .comments-title{
      margin: 0;
    }
    textarea,
    input[type=text],
    input[type=email],
    input[type=url]{
        width: 100%;
        @include border();
        border-color: $color_light_gray;
        padding: 10px 15px;
        border-radius: 5px;
    }
    
    #respond{
        input{
            &#submit{
                display: inline-block;
                padding: 0 30px;
                height: 40px;
                line-height: 38px;
                @include border();
                @include transition();
                font-weight: $font_weight_semi_bold;
                border-radius: 5px;
               
                &:hover,
                &:focus-within{
                   opacity: 0.63;
                } 
            }
        }
    }
    .comment-list{
        @extend %reset-ul;
        li{
            article{
                padding-top: 30px;
                padding-bottom: 30px;
                @include border-bottom();
                border-color: $color_light_gray;
            }
            .comment-reply-link{
               @extend %comment-btn;
               @include transition();
            }
            
            .comment-meta{
                .comment-author{
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    img{
                        display: inline-block;
                        margin: 0 5px;
                        border-radius: 100%;
                        height: 40px;
                        width: 40px;
                    }
                    .fn,
                    span{
                        display: inline-block;
                        padding: 0 2.5px;
                    }
                }
                .comment-metadata{
                    padding-top: 15px;
                    a,span,time{
                        display: inline-block;
                        position: relative;
                    }
                    time,
                    .comment-edit-link{
                        padding-left: 25px;
                        padding-right: 20px;
                        &:before{
                            @extend %ionicons;
                            position: absolute;
                            left: 5px;
                            bottom: 0;
                            font-size: 1rem;
                        }
                    }
                    time{
                        &:before{
                            content: '\f3f4';
                        }
                    }
                    .comment-edit-link{
                        &:before{
                            content: '\f2db';
                        }
                    }
                }
            }
            .comment-content{
                p{
                    margin-top: 15px;
                    margin-bottom: 15px;
                    padding-left: 25px;
                    position: relative;
                    &:last-child{
                        margin-bottom: 0;
                    }
                    &:before{
                        @extend %ionicons;
                        content: '\f250';
                        position: absolute;
                        left: 0;
                        bottom: -3px;
                        font-size: 20px;
                    }
                }
            }
            .reply{
                padding-top: 15px;
            }
        }
    }
    .comment-respond{
        padding-top: 15px;
        .comment-reply-title{
            font-size: 1.3rem;
            margin-top: 15px;
            margin-bottom: 0;
        }
        p{
            margin-top: 15px;
            margin-bottom: 0;
        }

        
        .comment-form{
            display: flex;
            flex-wrap: wrap;
            p{
                flex: 0 0 100%;
                max-width: 100%;
                @include media(sm){
                    flex: 0 0 33.33%;
                    max-width: 33.33%;
                    padding-right: 10px;
                }
                &.comment-notes,
                &.comment-form-comment,
                &.comment-form-cookies-consent,
                &.form-submit,
                &.logged-in-as{
                    flex: 0 0 100%;
                    max-width: 100%;
                    padding-right: 0;
                }
            }

            label{
                display: block;
                margin-bottom: 15px;
            }
            .comment-form-ratings{
                display: flex;
                flex-wrap: wrap;
                flex: 0 0 100%;
                max-width: 100%;
                margin-top: 15px;
                label{
                    display: inline-block;
                    margin-bottom: 0;//overwrite
                    margin-right: 3px;
                }
            } 
           
            .comment-form-cookies-consent{
                position: relative;
                input{
                    position: absolute;
                    left: 0;
                    top: 2px;
                }
                label{
                    display: inline-block;
                    padding-left: 20px;
                    margin-bottom: 0;
                    text-align: justify;
                }
            }
            .logged-in-as{
                color: transparent;
                margin-top: 0;
                line-height: 1;
                padding-top: 15px;
                a{
                    @extend %comment-btn;
                    @include transition();
                    width: 100%;
                    text-align: center;
                    margin-top: 5px;
                    @include media(xs){
                        margin-right: 10px;
                        width: initial;
                    }
                    &:last-child{
                        margin-right: 0;
                    }
    
                }
            }
        }
    }
  
}