/*
* @author PrestaOne.ir ( prestaone11@gmail.com )
* @copyright Copyright PrestaOne.ir
* @link PrestaOne.ir
* module: po_faq
*/

/* column */
.pofaq-group-column, .pofaq-qp-column, .pofaq-new {
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
    background: #fff;
}

/*.faq-group-title*/
.h6, .pofaq-top-qp .h6 {
    font-size: 1.5rem;
    font-weight: 500;
}

.faq-question, .faq-group-title li {
    margin-top: 1rem;
    /*background: #f6f6f6;*/
    box-shadow: 0 0 15px #dddddd;
}

.faq-group-title li a, .faq-question li, .faq-question li a {
    color: #555555;
}

.pofaq-qp-column .faq-question li, .pofaq-group-column .faq-group-title li {
    position: relative;
    padding: 10px;
    /*margin-right: 10px;*/
    list-style: inside;
}

.pofaq-new p {
    font-size: 1.125rem;
}

.pofaq-new button {
    width: 100%;
}

/*.pofaq-group-column span.material-icons {
    color: #333333;
}*/
/***************************************************/
/* GROUP */
.pofaq-front-block .panel-title {
    width: 95%;
}

.pofaq-front-block .panel-heading span.pofaq_mat_expand_more {
    width: 5%;
}

/***************************************************/
/* Footer Category */
.pofaq-category-block {
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
    background: #fff;
}

.pofaq-category-block .pofaq-category-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.pofaq-category-block .pofaq-category-qa {
    position: relative;
    margin-top: 1rem;
}

.pofaq-category-block .pofaq-category-q a > span {
    display: inline-block;
}

.pofaq-category-block .pofaq-category-a {
    border: 1px solid #eee;
    padding: 10px 13px;
    margin: 5px 25px;
}

/***************************************************/
/* Index */
.pofaq-index-block {
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
    background: #fff;
}

.pofaq-index-block .pofaq-index-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.pofaq-index-block .pofaq-index-qa {
    position: relative;
    margin-top: 1rem;
}

.pofaq-index-block .pofaq-index-q a > span {
    display: inline-block;
}

.pofaq-index-block .pofaq-index-a {
    border: 1px solid #eee;
    padding: 10px 13px;
    margin: 5px 25px;
}

/***************************************************/
/* Product Footer */
.pofaq-product-footer {
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
    background: #fff;
    margin-top: 30px;
}

.pofaq-product-footer .pofaq-product-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.pofaq-product-footer .pofaq-product-qa {
    position: relative;
    margin-top: 1rem;
}

.pofaq-product-footer .pofaq-product-q a > span {
    display: inline-block;
}

.pofaq-product-footer .pofaq-product-a {
    border: 1px solid #eee;
    padding: 10px 13px;
    margin: 5px 25px;
}

/* Product Footer */
.pofaq-product-tab .pofaq-product-q a > span {
    display: inline-block;
}

.pofaq-product-tab .pofaq-product-a {
    padding: 0 25px;

}

#addnewfaqquestion {
    border: 1px solid #fff;
    background: #fff;
    padding: 10px 50px;
    margin-top: 5%;
}

@media (max-width: 768px) {
    #addnewfaqquestion {
        padding: unset !important;
    }
}

/***************************************************/
/* my_account */
.pofaq-myaccount-block {
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
    background: #fff;
    margin-top: 30px;
}

.pofaq-myaccount-block .pofaq-myaccount-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.pofaq-myaccount-block .pofaq-myaccount-qa {
    position: relative;
    margin-top: 1rem;
}

.pofaq-myaccount-block .pofaq-myaccount-q a > span {
    display: inline-block;
}

.pofaq-myaccount-block .pofaq-myaccount-a {
    border: 1px solid #eee;
    padding: 10px 13px;
    margin: 5px 25px;
}

/***************************************************/
/* cart */
.pofaq-cart-block {
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
    background: #fff;
    margin-top: 30px;
}

.pofaq-cart-block .pofaq-cart-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.pofaq-cart-block .pofaq-cart-qa {
    position: relative;
    margin-top: 1rem;
}

.pofaq-cart-block .pofaq-cart-q a > span {
    display: inline-block;
}

.pofaq-cart-block .pofaq-cart-a {
    border: 1px solid #eee;
    padding: 10px 13px;
    margin: 5px 25px;
}

/***************************************************/
/* Front Controller - po_faqpost.tl */
#search_faq {
    text-align: center;
    /*background: #eee;*/
    padding: 40px 0 40px;
}

#search_faqs_input {
    width: 40%;
    height: 40px;
    padding: 10px 20px !important;
    font-size: 16px !important;
    background: #ffffff;
    /*box-shadow: none;*/
    border-radius: 0 3px 3px 0;
    outline: none;
    border: 1px solid #d1d1d1 !important;
    box-shadow: 4px 4px 0px #eee;
}

#search_faqs_submit_button {
    height: 40px;
    padding: 3px 17px 0px 8px
}

/***************************************************/
/* fancy box */
#faqnewquestion {
    color: #fff;
}

#addnewfaqquestion header {
    padding: 10px 0;
    margin-bottom: 25px;
}

#addnewfaqquestion header p {
    font-size: 1.375rem;
    text-align: center;
    font-weight: bold;
    color: #000;
}

#pofaqcgroup {
    width: 100%;
}

#addnewfaqquestion form {
    text-align: center;
}

#addnewfaqquestion form input, #addnewfaqquestion form select {
    height: 40px;
}

#addnewfaqquestion form select {
    background: #f6f6f6;
    box-shadow: unset;
    border: 1px solid #c0c0c0;
}

/***************************************************/
/* panel */
.panel-default {
    /*border: 1px solid #ddd;*/
    /*background-color: #f5f5f5;*/
}

.panel {
    margin-bottom: 5px;
    /*background-color: #fff;*/
    border-bottom: 1px solid #e9e9e9;
    /*border-radius: 4px;*/
    /*-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);*/
    /*box-shadow: 0 1px 1px rgba(0, 0, 0, .05);*/
}

.panel-default > .panel-heading {
    color: #333;
    /*background-color: #f5f5f5;*/
    /*border-bottom: 0;*/
    padding: 3px;
    /*border-top-left-radius: 3px;*/
    /*border-top-right-radius: 3px*/
}

.panel-title {
    font-size: 16px;
    font-weight: 500;
    /* margin-top: 0;
     margin-bottom: 0;
     font-size: 16px;
     color: inherit;*/
}

/*.panel-title a, */
.po_panelcollapse, .po_panelcollapse:hover {
    color: #555;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top: 1px solid #ddd;
}

.pofaq-category-block .pofaq-category-qa .panel-collapse {
    border-bottom: 1px solid #9e9e9e;
}

.panel-heading h4 {
    display: inline-block;
    padding: 14px 10px 7px 10px;
}

.panel-heading a {
    display: inline-block;
    padding: 6px 10px 3px 10px;
    color: #0b0b0b !important;
    width: 100%;
}

.panel-heading span.pofaq_mat_expand_more {
    float: left;
    margin-top: 13px;
}

.panel-body {
    padding: 15px;
}

.panel-body {
    background-color: #fff;
}

/* answer */
.pofaq-answer-summary {
    max-height: 75px;
    overflow: hidden;
}

.pofaq-view-alllink {
    /*float: left;*/
    /*margin-right: 30px;*/
    font-size: 10px;
    /*color: #2d81d5;*/
    display: block;
    margin-top: 10px;
}

/* TITLE */
.pofaq-title a {
    font-size: 20px;
    font-weight: 600;
}

/*.pofaq-title a:hover {
    color: #232323;
}*/
/*.po_faq_grouplist .pofaq_grouptitle {*/
.pofaq-title {
    text-align: center;
    /*font-weight: 600;*/
    /*font-size: 20px;*/
    /*margin-top: 10%;*/
    color: #2d2d2d;


    margin-bottom: 30px;
    /*font-weight: 600;*/
}

/*.po_faq_grouplist .pofaq_grouptitle span {*/
.pofaq-title span {
    font-size: 27px;
    background-color: #eee;
    padding: 12px 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/*.po_faq_grouplist .pofaq_grouptitle p {*/
.pofaq-title p {
    /*text-align: center;*/
    /*font-weight: 600;*/
    /*font-size: 20px;*/
    /*margin-top: 15px;*/
    padding-top: 20px;
    /*color: #2d2d2d;*/
}

.pofaq-title img {
    background-color: #eee;
    border-radius: 50%;
    padding: 15px;
}

/* END TITLE */
.pofaq-detail-block .panel-body {
    line-height: 1.6rem;
}

/**************************************/
/* column category */
.faqs-num-items-in-category {
    float: left;
    max-width: 85%;
    font-weight: 900;
    /*color: #2fb5d2;*/
    color: #555555;
    font-size: 12px;
}

.faqs-category-name {
    display: inline-block;
    max-width: 85%;
}

.pofaq-qp-column h4 a {
    color: #000;
}

/* product list - faq page */
#faqproductlist, #faqcaregorylist {
    padding: 20px;
}

#faqproductlist article, #faqcaregorylist article {
    border: 1px solid #ebebeb;
    padding-bottom: 10px;
}

/*#faqproductlist .product-miniature {
    min-height: 325px;
}*/

.faqpltitle {
    padding: 10px 25px;
}

.faqpltitle p {
    /*width: 89%;*/
    display: inline-block;
    font-size: 1.4em;
    font-weight: 500;
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 5px;
}

#faqcaregorylist .wishlist-button-add, #faqproductlist .wishlist-button-add {
    display: none;
}

#faqcaregorylist .product-title, #faqcaregorylist .product-price-and-shipping, #faqproductlist .product-title, #faqproductlist .product-price-and-shipping {
    text-align: center;
}

#faqproductlist .product-title, #faqcaregorylist .product-title {
    font-size: 0.95rem;
    padding: 7px 0;
    font-weight: normal;
    height: 38px;
}

#faqproductlist .product-title a, #faqcaregorylist .product-title a {
    color: #7a7a7a !important;
}

#faqproductlist .price, #faqcaregorylist .price {
    font-weight: bold;
    color: #333333;
}

/*.faqpltitle span {
    float: left;
}*/

/*.faqplbody {
    text-align: center;
}*/

/*
.pofaq-qp-column .faq-question .material-icons {
    float: left;
}*/
/********** po_faqlistgroup.tpl */
.po_faq_grouplist {
    margin-top: 7%
}

.po_faq_grouplist .pofaq_grouppanel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    /*width: 90%;*/
    width: 100%;
    margin: auto;
    padding: 20px;
    /*margin-top: 10%;*/
}

.po_faq_grouplist .pofaq_grouppanel .item {
    width: auto;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    padding: 0 10px;
}

.po_faq_grouplist .pofaq_grouppanel .item a {
    /*color: white;*/
}

/* END */

/********** po_faqdetail.tpl */
.pofaq-front-block {
    margin-top: 5%
}
