#questions-and-answers a {
    border: none;
    text-decoration: none;
}

#questions-and-answers div.vote-answer {
    width: 100%;
}

#questions-and-answers div.vote-answer a {
    color: #545454;
}

#questions-and-answers div.vote-answer a.report-answer-abuse {
    color: #666;
}

#questions-and-answers div.vote-answer a:hover,
#questions-and-answers div.vote-answer a.report-answer-abuse:hover {
    color: #FFFFFF;
}

#questions-and-answers > div.questions-section > h3 {
    margin: 0;
}

a.back-to-product {
    font-size: 13px;
    float: left;
}

ol.ywqa-items-list {
    list-style-type: none;
    font-size: 14px;
    padding-right: 0;
    clear: both;
}

ol.ywqa-items-list.questions > .answer{
  display: none;
}

ol.ywqa-items-list.questions > a.read-more{
  display: none;
}


div.question-content {
    font-weight: 600;
    margin-bottom: 13px;
}

span.question-symbol,
span.answer-symbol {
    display: inline-block;
    text-align: center;
    width: 25px;
    height: 25px;
    font-weight: 600;
    margin-left: 10px;
    background-color: #4c4c4c;
    color: white;
    font-size: 14px;
    padding: 2px;
}

span.admin-answer-symbol {
    border: none;
    padding: 3px 5px;
    background-color: #ffde00;
    font-weight: 700;
}

li.question-container {
    clear: both;
    display: inline-block;
    width: 100%;
    min-height: 70px;
    border-bottom: 1px solid #e2e2e2;
    padding-top: 20px;
    padding-bottom: 30px;
}

div.question-text {
    float: right;
    max-width: 80%;
}

#ywqa-submit-question {
    float: left;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
}

div.parent-question {
    color: #666666;
    font-size: 16px;
}

div.question-owner {
    font-size: 11px;
    padding: 10px 0;
}

span.answer-author-name,
span.question-author-name {
    color: #000000;
    font-weight: 600;
}

input#ywqa-submit-answer {
    background-color: #4c4c4c;
    border: none;
    color: white;
    padding: 5px 15px;
    opacity: 0.8;
    font-weight: bold;
    text-transform: uppercase;
}

textarea#ywqa_user_content {
    width: 100%;
}

div#ywqa_answer_list {
    clear: both;
}

div.answer-owner {
    font-size: 11px;
    padding: 10px 0;

}

li.answer-container {
    border-bottom: 1px solid #e2e2e2;
    padding: 20px 0;
    overflow: hidden;
}

div#new-answer-header {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 20px;
}

div#submit_answer {
    overflow: hidden;
}

span.answer-list-count {
    display: inline-block;
    float: right;

}

span.question a,
#show-all-questions a.show-questions {
    color: #666666;
    font-weight: 600;
}

#show-all-questions a.show-questions {
    text-transform: uppercase;
    font-size: 18px;
}

span.question a:hover,
#show-all-questions a.show-questions:hover {
    color: black;
    font-weight: 600;
}

div.all-answers-section a.all-answers,
div.question-content a.answer-now {
    color: #666666;
    background-color: #f2f2f2;
    border: 1px solid #c7c7c7;
    padding: 3px 10px;
    margin-top: 15px;
    display: inline-block;
}

div.all-answers-section a.all-answers:hover,
div.question-content a.answer-now:hover {
    color: white;
    background-color: #4c4c4c;
    border-color: #4c4c4c;
}

#questions-and-answers .questions-section h3 {
    margin-bottom: 15px;
    margin-top: 10px;
    /*padding-left: 40px;*/
}

#ask_question {
    /*padding-left: 40px;*/
}

#ywqa_user_content {
    border: 1px solid #e2e2e2;
    padding: 10px;
    width: 100%;
}

input#ywqa-submit-question {
    color: white;
    background-color: #4c4c4c;
    border-color: #4c4c4c;
    float: right;
    height: 45px;
    font-weight: 600;
    padding-right: 30px;
    padding-left: 30px;
    text-transform: uppercase;
    font-size: 13px;
}

#ywqa_question_list {
    /*padding-left: 40px;*/
}

div#show-all-questions {
    margin: 20px 0;
}

/** Vote question section **/

div.question-votes {
    position: relative;
    float: right;
    width: 70px;
    height: 65px;
    border: 1px solid #c7c7c7;
    margin-left: 20px;
}

div.question-votes span.question-votes-count {
    position: absolute;
    top: 20px;
    display: inline-block;
    text-align: center;
    right: 0;
    left: 0;
}

div.question-votes a.vote-question {
    background: url("../images/up-down-vote-question.png") no-repeat;
    display: block;
    text-decoration: none;
    border: none;

    position: absolute;
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
}

div.question-votes a.vote-yes {
    width: 15px;
    height: 9px;
    background-position: right -30px top -5px;
    top: 5px;
}

div.question-votes a.vote-yes:hover {
    width: 15px;
    height: 9px;
    background-position: right -30px top -24px;
}

div.question-votes a.vote-no {
    width: 15px;
    height: 9px;
    background-position: right -5px top -5px;
    bottom: 5px;
}

div.question-votes a.vote-no:hover {
    width: 15px;
    height: 9px;
    background-position: right -5px top -24px;
}

/** End - Vote question section **/

/** Start - Vote answers section    **/
div.answer-helpful {
    float: right;
    width: 75%;
    height: 35px;
    border: 1px solid #e5e5e5;
    font-size: 11px;
    padding: 5px 10px;
    position: relative;
    margin-left: 15px;
}

div.answer-helpful a.answer-helpful,
div.answer-helpful a.answer-not-helpful {
    font-size: 13px;
    background-color: #c9c9c9;
    padding: 0 5px;
    display: inline-block;
}

div.answer-helpful a.answer-helpful:hover,
div.answer-helpful a.answer-not-helpful:hover {
    background-color: #4c4c4c;
    color: #FFF;

}

div.answer-helpful a.answer-helpful {
    left: 45px;
}

div.answer-helpful a.answer-not-helpful {
    left: 10px;
}

div.answer-abuse {
    float: right;
    width: 20%;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    padding: 5px 10px;
    position: relative;
    height: 35px;
}

div.answer-abuse a.report-answer-abuse {
    background: url("../images/abuse.png") no-repeat;
    background-position: right 5px top 10px;
    position: absolute;
    top: 0px;
    bottom: 0;
    display: inline-block;
    right: 0px;
    left: 0;
    padding: 6px 25px 6px 0;
    vertical-align: middle;
}

div.answer-abuse a.report-answer-abuse:hover {
    background-color: #4c4c4c;
    color: white;
}

/** End - Vote answers section **/

div.notify-answers {
    clear: both;
    font-size: 12px;
    overflow: hidden;
}

div.notify-answers input.enable-notification {
    margin-left: 10px;
}

div.notify-answers div.ywqa-notify-user-checkbox-container {
    margin-bottom: 15px;
}

div.answer-abuse span.thanks {
    color: #008000;
}

a.read-more {
    color: #4c4c4c;
}

span.question-text {
    width: 80%;
    display: inline-block;
}

p.no-answers, p.no-questions {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
    margin-top: 30px;
}

p.no-questions {
    padding-bottom: 60px;
    border-bottom: 1px solid #e2e2e2;
}

span.answer-stat-text {
    font-size: 14px;
}

div.order-by {
    float: left;
}

#questions-and-answers div.order-by a,
#questions-and-answers a.back-to-product {
    color: #666666;
    font-size: 11px;
}

#questions-and-answers div.order-by a:hover,
#questions-and-answers a.back-to-product:hover {
    color: #1e1e1e;
    font-weight: bold;
}

div.visualize-answers-header {
    font-size: 11px;
    color: #666666;
}

div.is-answer-helpful {
    float: left;
}

div.show-more-section {
    text-align: center;
    margin: 0 auto;
    max-width: 350px;
}

a.show-more {
    color: white;
    background-color: #4c4c4c;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
    padding: 5px 10px;
}

/** Question page navigation */
ol.item-navigation {
    list-style: none;
    overflow: hidden;
    height: 35px;
    font-size: 16px;
}

ol.item-navigation li {
    display: inline-block;
    border: 1px solid #e6e6e6;
    color: #9e9e9e;
    position: relative;
    float: right;
    height: 100%;
    width: 35px;
    margin-left: 10px;
}

ol.item-navigation li.question-page.previous img,
ol.item-navigation li.question-page.next img {
    padding: 8px;
    display: inline-block;
}

ol.item-navigation li.question-page a.goto-page {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 0;
    color: #9e9e9e;
}

ol.item-navigation li.question-page.selected {
    background-color: #4c4c4c;
    color: white;
}

ol.item-navigation li.question-page a.goto-page.selected,
ol.item-navigation li.question-page a.goto-page:hover {
    background-color: #4c4c4c;
    color: white;
}

ol.item-navigation li.question-page span.page-number {
    padding: 5px;
    display: inline-block;
}

span.operation-completed,
span.operation-error {
    font-style: italic;
    font-size: 14px;
}

span.operation-error {
    color: red;
}

span.operation-completed {
    color: #008000;
}

#ywqa-submit-answer:hover,
#ywqa-submit-question:hover {
    background-color: #c9c9c9;
    color: #545454;
}

#ywqa_question_list a.write-first-answer,
div.question-content a.answer-now {
    background-color: #4c4c4c;
    border: none;
    color: white;
    padding: 3px 7px;
    font-size: 13px;
    margin-right: 10px;
    text-decoration: none;
}

#ywqa_question_list a.write-first-answer:hover,
div.question-content a.answer-now:hover {
    background-color: #c9c9c9;
    color: #545454;
}

div.question-content a.answer-now {
    font-weight: normal;
    padding: 0 5px;
}

div.upload-rules:after {
    content: '';
    display: block;
    clear: both;

}

div.answer-content span.answer > p {
    display: inline;
}

.ywqa-guest-user {
    color: red;
}

.question-owner-container{
    display: inline-block;
    margin-right: 10px;
}

.edit-on-backend-link{
    margin-right: 15px;
}

.admin-answer-symbol{
    margin-left: 10px;
}


.ywqa-product-questions-counter-link{
  margin-right: 15px;
}

.rtl .ywqa-content .ywqa-items-list.questions .question-votes,
.rtl .ywqa-content .ywqa-items-list.questions .question-text {
    float: right;
}

.ywqa-answers-list:not(:last-child) {
    margin-bottom: 5px;
}

.rtl div.question-votes a.vote-yes, div.question-votes a.vote-no {rotate: 180deg;}
/* Modern QA Section */
#questions-and-answers {
    background: #fafbfc;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(51, 51, 51, 0.07);
    padding: 30px 20px 40px 20px;
    margin: 30px auto;
    max-width: 768px;
    font-family: "Vazirmatn", "Tahoma", Arial, inherit;
}

#questions-and-answers h3, 
#questions-and-answers .questions-section h3 {
    font-size: 22px;
    font-weight: 800;
    color: #222;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 28px;
    letter-spacing: 0.2px;
}

li.question-container, li.answer-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44,62,80,0.07);
    margin-bottom: 22px;
    padding: 24px 18px;
    border: none;
    min-height: 60px;
}

.question-content, .answer-content {
    color: #343a40;
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.9;
}

.question-owner, .answer-owner {
    color: #aaa;
    font-size: 12.5px;
    margin-top: 6px;
}

input#ywqa-submit-question, input#ywqa-submit-answer, .answer-now {
    background: linear-gradient(90deg, #FF9800 0%, #F44336 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 34px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 15px;
    box-shadow: 0 1px 6px rgba(255,152,0,0.07);
    transition: background 0.2s;
}

input#ywqa-submit-question:hover, 
input#ywqa-submit-answer:hover, 
.answer-now:hover {
    background: linear-gradient(90deg, #F44336 0%, #FF9800 100%);
    color: #fff;
}

div.question-votes, div.answer-abuse, div.answer-helpful {
    border-radius: 9px;
    box-shadow: 0 1px 5px rgb(238 238 238 / 27%);
    border: none;
    background: #f2f6fb;
}

input, textarea {
    border-radius: 7px;
    border: 1.5px solid #e1e5ee;
    font-size: 15px;
    padding: 9px 13px;
    margin-top: 7px;
    background: #f9fafb;
    transition: border 0.2s;
}
input:focus, textarea:focus {
    border: 1.5px solid #FF9800;
    outline: none;
    background: #fff;
}

span.question-symbol,
span.answer-symbol {
    background: #FF9800;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 16px;
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

span.admin-answer-symbol {
    background: #29b94d !important;
    color: #fff;
    border-radius: 12px !important;
    font-weight: bold;
    padding: 4px 12px !important;
    font-size: 13px !important;
    margin-left: 10px;
    border: none;
}

.read-more, .back-to-product, .all-answers, .show-questions {
    color: #FF9800 !important;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted #FF9800;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    transition: color 0.2s;
}

.read-more:hover, .back-to-product:hover, .all-answers:hover, .show-questions:hover {
    color: #F44336 !important;
    border-bottom: 1px solid #F44336;
}

::-webkit-scrollbar-thumb {
    background: #ececec;
    border-radius: 8px;
}

::-webkit-scrollbar {
    width: 7px;
    background: #f6f6f6;
}
