/*custom style for naeeni*/
.qa-post .qa-post-category a,
#goToCat {
    background: #014da1;
    color: white;
    padding: 0 3px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}


a#goToCat {
    opacity: 0;
}

.qa-sin.single-question span.qa-post-answer p {
    font-size: 15px;
    color: #00528c;
}

.qa-sin .mini-card span.qa-post-title {
    font-size: 15px;
}

.qa-sin.single-question a#backToArchive {
    font-size: 17px;
}

.qa-sin .mini-card span.qa-post-answer {
    color: #00528c;
    font-size: 14px;
}

.qa-sin nav#breadcrumb {
    max-width: 1100px;
    margin: auto;
    margin-bottom: 10px;
}

.qa-sin #content {
    margin-top: 0 !important;
    padding: 20px 10px;
}

.qa-sin.single-question nav#breadcrumb {
    margin-bottom: 15px !important;
}

.qa-sin.post-type-archive-question h2 {
    font-size: 23px;
}

.qa-sin.tax-qa_category h1,
.qa-sin .qa-search-head h1,
.qa-sin .qa-category-wrap h1 {
    font-size: 26px;
}

.qa-sin a#askQuestion {
    color: #00528c;
    border-bottom: 1px dashed;
}

@media(min-width:900px) {
    .qa-sin .qa-search-head p {
        padding-right: 10px;
        margin-top: 10px;
    }
}

/*end custom style*/

button.qa-form-btn {
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    font-family: inherit;
    padding: 5px;
}

span#loadingSvg {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

form span#loadingSvg {
    opacity: 0;
    width: 0;
    transition: all .2s ease;
}

form.loading span#loadingSvg {
    opacity: 1;
    width: 30px;
}

form.loading>div {
    opacity: .4;
}

form.loading button {
    cursor: not-allowed;
}

.single-question .site-content {
    min-height: 38vh;
}

.single-question .site-content {
    padding: 20px 10px;
}

div#container {
    padding: 20px 10px;
}

.single-qa h1 {
    font-size: 1.3rem !important;
    color: #5e5e5e !important;
}

.post-type-archive-qa * {
    box-sizing: border-box;
    font-family: inherit;
}

.qa-main-wrap,
.qa-two-cat-wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    gap: 10px
}

.qa-main-wrap>div {
    flex: 1;
}

.qa-content-slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: auto;
    align-self: center;
}

.qa-post {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 5px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    row-gap: 10px;
}

span.qa-post-meta {
    font-size: 13px;
    width: fit-content;
}

span.qa-post-meta>* {
    vertical-align: middle;
}

.qa-search {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    text-align: center;
    height: auto;
    height: 100%;
    align-self: center;
    width: 100%
}

.qa-main-wrap.single-qa {
    flex-direction: column;
    margin: auto;
}

.single-qa #backToArchive {
    text-align: center;
}

.qa-ask-wrap {
    display: none;
}

.qa-ask-wrap.show {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 8px;
    z-index: 50000;
    background: #00000057;
}

.qa-post.mini-card a {
    text-decoration: none;
}

span.qa-post-title {
    color: #403f3f;
    font-weight: bold;
}

#qaAskWrap select#selectCat {
    display: block;
    width: 100%;
    border-radius: 8px;
    border-color: #dadada;
}

div#qaAskWrap input,
textarea,
select,
button {
    /* border-color: #dadada; */
    border: 1px solid #dadada;
    border-radius: 5px;
}

select {
    font-family: inherit;
    padding: 6px;
}

.qa-form-wrap {
    text-align: right;
    transition: opacity .5s;
    background-color: white;
    opacity: 0;
    visibility: hidden;
    height: 0px;
    padding: 10px;
    width: 100%;
    box-shadow: 0 0 5px 0;
    border-radius: 10px;
    overflow: hidden;
}

div.qa-back-to-archive {
    margin-top: 25px;
}

div.qa-back-to-archive span {
    background: gray;
    border-radius: 5px;
    margin-top: 10px;
    padding: 10px;
    color: white;
}

.qa-msg-wrap {
    border-radius: 10px;
    background: white;
    text-align: center;
    border: 2px dotted rgb(149, 148, 148);
    padding: 10px;
}

.qa-search.show .qa-form-wrap {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.qa-search.show .qa-search-head,
.qa-search.show .qa-search-body {
    display: none;
}

.qa-form-wrap input[type="submit"] {
    margin-top: 15px;
    font-family: inherit
}

.qa-form-wrap input {
    width: 100%;
    height: 35px;
}

#qaTitle {
    width: 100%;
    resize: none;
    border-radius: 8px;
    border-color: #dadada;
}

.qa-form-wrap form>div:not(.qa-random) {
    margin-top: 8px;
}

.qa-post-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span.qa-post-category>* {
    margin-right: 10px;
}

.qa-content-slide.loading * {
    opacity: .4;
}

.qa-content-slide.loading {
    background: url(../icon/loading.svg) no-repeat center center;
}

div#closeAskFrom {
    margin: 0;
    text-align: left;
    cursor: pointer;
    margin-bottom: -20px;
}

.qa-two-cat-wrap {
    margin-top: 5em;
}

.qa-half-col {
    flex: 1 1 calc(50% - 5px);
    display: flex;
    flex-direction: column;
    min-width: 350px;
    max-width: 100%;
    border-top: 3px solid #00528c;
    border-bottom: 3px solid #00528c;
    padding: 0 0 20px 0;
}

.qa-show-border {
    /* border: 1px solid #d7d5d5; */
    box-shadow: 0 0 3px 0 #565656;
    height: 100%;
}

a.qa-cat-btn,
a.qa-see-all {
    padding: 8px;
    display: block;
    background: #d7d5d5;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 3px 0 #565656;
    text-decoration: none;
}

.qa-show-border .qa-post.mini-card {
    border-bottom: 1px solid #d7d5d5;
    border-top: none;
    border-radius: 0;
    border-right: 0;
    border-left: 0;
}

span.qa-date {
    display: inline-flex;
    margin-right: 8px;
    align-items: center;
}

span.qa-date svg {
    margin-left: 3px;
}


.qa-title-wrap {
    padding: 10px;
    border-bottom: 1px solid #d7d5d5;
}

@media (max-width:800px) {
    .qa-main-wrap {
        flex-direction: column;
    }

    .qa-sin #qaAskWrap select#selectCat {
        font-size: 15px !important;
        height: 37px;
    }

    .qa-search {
        padding-top: 20px;
    }
}

.single-question .qa-random-post {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.single-question .qa-random-post .qa-post.mini-card {
    flex: 1 0 calc(50% - 5px);
    min-width: 350px;
    max-width: 100%;
}

.single-question h1 {
    font-size: 17px !important;
}

.single-question .qa-post-answer {
    font-size: medium;
}

.qa-breadcrumb-wrap {
    font-size: 15px;
    display: flex;
    align-items: center;
    background: #e5ecf2;
    align-content: center;
    padding: 10px;
    color: #54595f;
    width: 100%;
}

.qa-breadcrumb {
    max-width: 1100px;
    width: 100%;
    margin: auto !important;
}

.qa-breadcrumb a {
    text-decoration: none;
}

span.qa-separator svg {
    vertical-align: middle;
}


.single-question a.qa-dr-details {
    display: flex;
    text-decoration: none;
    padding: 0 10px 10px 10px;
    align-items: center;
    margin-top:8px;
    gap:10px;
}

.single-question a.qa-dr-details img {
    border-radius: 100%;
    width:60px;
    height:60px;
}

.single-question .qa-play-auto-text {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 30px;
}

.single-question .cv-switch-label {
    margin-right: 15px;
}

.qa-post-answer .cv-product-video.qa-has-video {
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0px 0px 3px 1px #b7b7b7;
}

.single-question .qa-post-answer h2 {
    color: #00528c !important;
    font-size:18px !important;
}

.qa-post-answer video {
    outline: none;
    cursor: pointer;
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.qa-post-answer video::-webkit-media-controls {
    display: none;
}

.qa-post-answer video.show-controls {
    outline: unset;
}

.qa-post-answer video.show-controls::-webkit-media-controls {
    display: flex;
}

span.qa-player {
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    font-size: 80px;
    color: white;
    cursor: pointer;
}

.cv-product-video.qa-has-video:has(.qa-dr-details) .qa-player {
    transform: translate(50%, calc(-50% + -45px)) !important;
}

.cv-product-video.qa-has-video:has(video.show-controls) .qa-player {
    display: none;
}

.cv-product-video.qa-has-video:not(:has(.qa-dr-details)) video {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.single-question .qa-single-guid {
    color: #383838;
    font-weight: 600;
}

.qa-post-answer .qa-single-guid {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.qa-post-answer .qa-single-guid img {
    border-radius: 50%;
}


.qa-post-answer .qa-single-guid .naeeni-avatar {
    font-size: 13px;
}