/**
 * Copyright © Magefan (support@magefan.com). All rights reserved.
 * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
 *
 * Glory to Ukraine! Glory to the heroes!
 */

#post-comments * {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
}

/*styles for all blocks*/
.c-count {
    border-bottom: 1px solid #d5d6da;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.c-img {
    left: 0;
    position: absolute;
    top: 0;
    width: 48px;
    z-index: 5;
}

.c-img img {
    width: 100%;
}

.c-reply, .c-comment {
    margin-bottom: 18px;
    position: relative;
}

.c-replyform, .c-post {
    margin-left: 25px;
}

.c-allcomments,
.c-allcomments:visited {
    background: #1979c3;
    border-radius: 3px;
    color: #fff;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    margin-top: 24px;
    text-align: center;
    text-decoration: none;
    transition: 200ms cubic-bezier(.08, .52, .52, 1) background-color;
    width: 100%;
}

.c-allcomments:hover {
    background-color: #e2e2e2;
    color: #fff;
    text-decoration: none;
}

/*reply form*/
.c-replyform .left-hld,
.c-replyform .right-hld {
    float: left;
    padding: 0px 15px 0 0;
    width: 35%;
}

.c-replyform textarea,
.c-replyform input {
    background: #fff !important;
    color: #222;
    display: block;
}

.c-replyform textarea {
    border-bottom: 0px;
    height: 70px;
    padding: 8px;
}

.c-replyform textarea:focus,
.c-replyform input:focus {
    box-shadow: none;
}

.c-replyform div.mage-error[generated] {
    display: none !important
}

.c-replyform .mage-error {
    background-color: #fff3f3 !important;
    border-color: #d5d6da
}

.c-replyform button {
    background-color: #1979c3;
    border: 1px solid #1979c3;
    border-radius: 3px !important;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    margin-top: 5px;
    padding: 2px 8px;
    transition: 200ms cubic-bezier(.08, .52, .52, 1) background-color;
}

.c-replyform button:hover {
    background-color: #365899;
    border-color: #365899;
}

.c-replyform button.cancel {
    background-color: #f6f7f9;
    border-color: #ced0d4;
    color: #4b4f56;
}

.c-replyform button.cancel:hover {
    background-color: #e9ebee;
}

.c-replyform .c-btn-hld {
    background: #f6f7f9;
    border: 1px solid #d5d6da;
    padding: 8px;
    text-align: right;
}

.c-replyform.no-active .c-btn-hld {
    display: none
}

.c-replyform.no-active textarea {
    border-bottom: 1px solid #c2c2c2;
    height: 45px;
}

/*comment*/
.c-post .p-name {
    color: #365899;
    font-weight: 700;
}

.c-post .p-actions {
    padding: 8px 0 10px;
}

.c-post .p-actions {
    font-size: 12px;
}

.c-post .p-actions a {
    color: #4267b2;
}

.c-post .p-actions a:hover {
    text-decoration: underline;
}

.c-post .p-actions span {
    color: #90949c;
}

/*post's replies and reply form*/
.p-replies {
    border-left: 1px dotted #bdbdbd;
    padding-left: 10px;
}

.p-replies .c-img {
    width: 36px;
}

.p-replies .c-post, .p-replies .c-replyform {
    margin-left: 20px;
}

.p-replies .c-comment {
    margin-bottom: 10px;
}

.p-replies .c-more {
    background: #d7eaf9;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
    padding: 5px;
}

.p-replies .c-more a {
    color: #4267b2;
    font-size: 11px;
    font-weight: 700;
}

.p-replies .c-more a:hover {
    text-decoration: underline;
}

.p-replies .c-more i {
    border-left: 3px solid rgba(0, 0, 0, 0);
    border-right: 3px solid rgba(0, 0, 0, 0);
    border-top: 3px solid #768196;
    height: 0px;
    margin-left: 3px;
    position: relative;
    top: 7px;
    vertical-align: middle;
    width: 0px;
}

@media screen and (max-width: 450px) {
    .c-img {
        width: 38px;
    }

    .c-post {
        font-size: 13px;
    }

    .c-post .p-actions {
        font-size: 11px;
    }

    .c-reply, .c-comment {
        margin-bottom: 18px;
        position: relative;
    }

    .c-replyform, .c-post {
        margin-left: 0
    }

    .p-replies {
        padding-left: 5px;
    }

    .p-replies .c-img {
        width: 28px;
    }

    .p-replies .c-post, .p-replies .c-replyform {
        margin-left: 34px;
    }

    .p-replies .c-more a {
        font-size: 10px;
        padding: 3px;
    }

    .c-replyform .left-hld,
    .c-replyform .right-hld {
        float: none;
        padding: 0 0 5px 0
        width: 100%;
    }
}
