/* ProductQA Styles */
.productqa-section {
    margin: 1em 0;
}
#productqa-qna-list dl {
    margin: 0;
    padding: 0;
}
#productqa-qna-list dt.productqa-question {
    font-weight: bold;
    margin-top: 1em;
    padding-bottom: 0.5em;
}
#productqa-qna-list dd.productqa-answer {
    margin-left: 2em;
    padding: 1em 0;
    border-bottom: 1px dashed #eee;
}
#productqa-qna-list dd.productqa-answer:last-child {
    border-bottom: 0;
}
.productqa-asker, .productqa-answerer {
    font-size: 0.9em;
    color: #777;
    font-weight: normal;
}
#productqa-ask-question-form textarea {
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

/* Shortcode Page Styles */
.productqa-accordion-item {
    margin-bottom: 5px;
}
.productqa-accordion-header {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.productqa-accordion-header.active, .productqa-accordion-header:hover {
    background-color: #ddd;
}
.productqa-accordion-header.has-new {
    font-weight: bold;
}
.productqa-new-question-badge {
    background-color: #d63638;
    color: white;
    padding: 3px 8px;
    font-size: 0.8em;
    border-radius: 10px;
    font-weight: normal;
}
.productqa-accordion-content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border: 1px solid #ddd;
    border-top: none;
}

.productqa-author-question {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
.productqa-author-question:last-child {
    border-bottom: none;
}
.productqa-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}
.productqa-question-header p {
    margin: 0;
}
.productqa-delete-question {
    color: #a00 !important;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}
.productqa-delete-question:hover {
    color: #dc3232 !important;
    text-decoration: underline;
}

.productqa-author-question blockquote {
    margin-left: 0;
    padding-left: 15px;
    border-left: 3px solid #eee;
    font-style: italic;
}
.productqa-author-question blockquote.is-answered {
    color: #333;
    background: #f9f9f9;
    padding-top: 10px;
    padding-bottom: 10px;
}
.productqa-author-question textarea {
    width: 100%;
    margin-top: 10px;
}
.productqa-notice {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: none;
}
.productqa-notice.success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
/*    display: block;*/
}
.productqa-notice.error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
/*    display: block;*/
}
