﻿* {
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}

    *:before,
    *:after {
        font-family: digikala;
    }

body {
    direction: rtl;
    background: #eee;
    font-family: irs;
}

a {
    text-decoration: none;
}

ul li {
    list-style: none;
}

a,
span {
    display: inline-block;
}

.text-color {
    color: #3b3b3b;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
    /*background: #3fb8af;*/
}

.login-register-btn {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    justify-content: flex-end;
    position: relative;
}

    .login-register-btn:before,
    .login-register-btn:after {
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        background: #fff;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    .login-register-btn:before {
        width: 20px;
        height: 20px;
    }

    .login-register-btn:after {
        width: 16px;
        height: 16px;
        border: 1px solid #46b2f0;
    }

.btn-login,
.btn-register {
    width: 95px;
    font-size: .8rem;
    font-weight: 500;
    line-height: 47.4px;
    background: #46b2f0;
    border: 1px solid #46b2f0;
    text-align: center;
    color: #fff;
}

.btn-login {
    border-radius: 0 40px 40px 0;
    margin-left: 1px;
}

.btn-register {
    border-radius: 40px 0 0 40px;
}

    .btn-login:hover,
    .btn-register:hover {
        -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12) !important;
        -moz-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12) !important;
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12) !important;
        transition: all 200ms ease;
        color: #fff !important;
        background: #3c9acf !important;
        border: 1px solid #3c9acf !important;
        z-index: 99;
        position: relative;
    }

.post-author {
    margin-left: 40px;
    white-space: nowrap;
}

.post-date {
    white-space: nowrap;
}

.post-img {
    text-align: center;
    margin-top: 35px;
}

    .post-img img {
        max-width: 100%;
        width: 100%;
        height: 100%;
    }

.post-content p {
    color: #6b7074;
    line-height: 32px;
    margin: 32px 0;
    /*text-align: justify;*/
}

.post-content a {
    color: #46b2f0;
}

.post-tags ul {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: start;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

    .post-tags ul li a {
        font-size: 13px;
        color: rgba(0, 0, 0, .68);
        background: rgba(0, 0, 0, .05);
        margin-left: 7px;
        margin-bottom: 7px;
        border-radius: 40px;
        padding: 6px 20px;
    }

.ct-textarea {
    width: 100%;
}

.ct-textarea-field {
    width: 100%;
    height: 180px;
    min-height: 60px;
    padding: 10px;
    color: #6b7074;
    font-size: 13px;
    line-height: 2.58;
    border: 1px solid #c8c8c8;
    resize: vertical;
}

button {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    padding: 0.8em 5em;
    margin: 1em 0;
    border-radius: 40px;
    background: #46b2f0;
    position: relative;
    overflow: hidden;
}

    button:before {
        content: '';
        position: absolute;
        width: 90px;
        height: 60px;
        top: -6px;
        right: -23px;
        background: rgba(255, 255, 255, .20);
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
        border-radius: 40px;
    }

    button:hover:before {
        width: 900px;
        height: 900px;
        top: -450px;
        right: -450px;
    }

.ct-title {
    margin: 30px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #dddddd;
    color: #6b7074;
}

.comments-list-ul {
    margin-bottom: 20px;
}

    .comments-list-ul > li {
        border: 1px solid #dbdbdb;
        background: #fcfcfc;
        margin-right: 150px;
        padding: 19px 29px 50px;
        color: #474747;
        min-height: 220px;
        position: relative;
    }

        .comments-list-ul > li:after,
        .comments-list-ul > li:before {
            content: '';
            position: absolute;
            left: 100%;
            top: 50px;
            width: 0;
            height: 0;
            border-color: transparent transparent transparent #dbdbdb;
            border-style: solid;
            border-width: 11px 0 11px 11px;
        }

        .comments-list-ul > li:after {
            border-color: transparent transparent transparent #fcfcfc;
            top: 51px;
            border-width: 10px 0 10px 10px;
        }

.comment-sender {
    width: 122px;
    margin-left: 44px;
    padding-top: 64px;
    text-align: center;
    position: absolute;
    left: 100%;
    top: 35px;
}

.comments-list-ul > li.is-comment .comment-sender:before {
    content: '\e047';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    font-size: 40px;
}

.ct-footer {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    font-size: 12px;
    line-height: 1.833;
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 20px;
    padding: 0 29px;
}

    .ct-footer em {
        color: #6b7074;
        white-space: nowrap;
    }

    .ct-footer div em:first-child {
        margin-left: 50px;
    }

    .ct-footer div em:nth-child(2) {
        display: none;
    }

    .ct-footer .add-answer-btn {
        white-space: nowrap;
        color: #46b2f0;
        line-height: 2;
        cursor: pointer;
        position: relative;
    }

        .ct-footer .add-answer-btn:before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            margin-top: .85em;
            border: 1px dashed #46b2f0;
        }


/*.comments-list-ul > li.is-answer{*/


/*    border-top: none;*/


/*    background: #fff;*/


/*}*/

.comments-list-ul > li + li {
    border-top: none;
    background: #fff;
}

.ct-row strong {
    margin-bottom: 20px;
}

.answer-form {
    display: none;
}

    .answer-form.is-active {
        display: block;
    }

.account {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding: 6%;
}

    .account h1 {
        font-weight: 700;
        color: #6b7074;
        text-align: center;
        line-height: 1.5em;
        margin-bottom: 1.2em;
        margin-top: 0.2em;
    }

.form {
    max-width: 400px;
    background: #fff;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-direction: column;
    padding: 2em 2em 3em;
    box-shadow: 0 10px 40px -14px rgba(0, 0, 0, 0.25);
    position: relative;
}

.form-content {
    margin-bottom: 35px;
}

.form-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    background: rgba(93, 214, 0, .06);
    border-top: 1px solid #d7e6bb;
}

.form-content input {
    color: #6b7074;
    background: #e8eeef;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    padding: 1em 1.5em;
    margin-bottom: 1.2em;
    text-align: left;
    border-radius: 40px;
    width: 100%;
}

.account ::placeholder {
    text-align: right;
    padding: 0 0.8em !important;
}

.account button {
    width: 100%;
}

.ui-checkbox {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    padding-right: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    color: #6b7074;
    position: relative;
    user-select: none;
}

    .ui-checkbox input {
        position: absolute;
        cursor: pointer;
        height: 0;
        width: 0;
        opacity: 0;
    }

.checkmark {
    position: absolute;
    right: 0;
    top: 0;
    height: 24px;
    width: 24px;
    background: #fff;
    border: 1px solid #ddd;
}

.ui-checkbox input:checked ~ .checkmark {
    background: #46b2f0;
}

.ui-checkbox .checkmark:after {
    content: '';
    position: absolute;
    right: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    display: none;
}

.ui-checkbox input:checked ~ .checkmark:after {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}

.form-content .recover-password {
    margin-bottom: 1em;
}

    .form-content .recover-password a {
        font-size: 13px;
        margin-right: 10px;
    }

.account a {
    border-bottom: 1px dashed #1ca2bd;
    color: #46b2f0;
}
