﻿
/*-------------------------Feature----------------------------------*/
.UlGroupListView {
    list-style-type: none;
    margin-left: 0;
}

.UlGroupListView > span {
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    position: relative;
}

.UlGroupListView > span::before {
    content: "\f0d9";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    color: #ec2c00;
    font-size: 16px;
    font-family: FontAwesome;
    margin: auto 0;
    height: 24px;
}

.UlGroupListView li span:first-child {
    background-color: #e1e1e1;
    padding: 8px 10px;
    width: 24%;
    display: inline-block;
    margin: 0px 0 6px 5px;
    vertical-align: top;
}

.UlGroupListView li span:nth-child(2) {
    background: #f7f9fa;
    padding: 8px 10px;
    width: 75%;
    display: inline-block;
    margin-bottom: 6px;
}

.ProductDescripton:before {
    display: none !important;
}

/*.nav > li > a:focus, .nav > li > a:hover {*/
/*    background-color: #e0515e !important;*/
/*    border: unset !important;*/
/*}*/

.adminComment_Controll {
    display: flex;
    align-items: center;
    /* margin-bottom: 32px; */
    background: white;
    padding: 16px;
    border-radius: 16px;
    border: #e4e4e7 1px solid;
    justify-content: space-between;
    gap: 12px;
}

.adminComment_Controll > div {
    flex: 1;
}

div.adminComment_Controll > div:nth-child(4) {
    max-width: 100px;
}

.adminComment_Controll :is(.select2.select2-container, input) {
    width: 100% !important;
}

.adminComment_Controll > * {
    display: flex;
    align-items: center;
}

.adminComment_Controll label {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

#btnSearch {
    padding: 8px 12px;
}

.comment-view {
    font-family: inherit;
    /* border-radius: 6px;
    border: solid 1px #ddd; */
    padding: 15px;
    width: 100%;
}

.comment-view .pnlRule {
    display: none;
}

.comment-view .comment-view-ttl {
    margin-bottom: 20px;
    font-size: 15px;
}

.comment-view #txtComment {
    border-radius: 6px;
    border: solid 1px #c2c2c2;
    transition: border-color 0.4s;
    padding: 5px 10px;
    font-family: inherit;
    display: inline-block;
    height: 100%;
    vertical-align: text-top;
}

.comment-view #txtComment:focus {
    border-color: #a5a5a5;
}

.comment-view #btnCommentClient,
.comment-view .reply-box #txtNameClient {
    font-family: inherit;
    background-color: #000;
    border: solid 1px #000;
    padding: 5px 15px;
    border-radius: 6px;
    color: #fff;
    transition: all 0.4s;
    font-size: 14px;
    padding-inline: 40px;
    padding-block: 8px;
}

.comment-view #btnCommentClient:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.comment-view #commentContentTable {
    margin-top: 20px;
}

.comment-view .modern-wrap {
    position: relative;
    margin-bottom: 15px;
}

.comment-view .modern-label {
    position: absolute;
    top: 9px;
    right: 5px;
    background: #fff;
    padding: 0 13px;
    transition: all 0.4s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    color: #a5a5a5;
    pointer-events: none;
}

.comment-view .modern-input:not(:placeholder-shown) ~ .modern-label,
.comment-view .modern-input:focus ~ .modern-label {
    top: -10px;
    right: 15px;
    color: #424242;
    font-size: 10px;
}

.comment-view .modern-input {
    width: 100%;
    border: solid 1px #c2c2c2;
    padding: 8px 10px;
    border-radius: 6px;
    font-family: inherit;
}

.comment-view .modern-input::placeholder {
    color: transparent !important;
}

.comment-view .half-right,
.comment-view .half-left {
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.comment-view .half-left {
    text-align: left;
    float: left;
    line-height: 48px;
}

.comment-view .main-comment {
    border: solid 1px #e4e4e7;
    border-radius: 0 0 16px 16px;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-top: unset;
}

.comment-view .LikeAndDisLike,
.comment-view .reply-btn {
    display: inline-block;
}

.comment-view .reply-btn {
    position: relative;
    border: 1px solid #000;
    border-radius: 8px;
    padding-block: 7px;
    padding-inline: 11px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    flex-direction: row-reverse;
}

.comment-view .reply-btn input {
    padding-right: 8px;
    border: none;
    background: none;
    font-family: inherit;
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #0d141c;
}

.fa-mail-reply:before,
.fa-reply:before {
    width: 14px;
    height: 10px;

    background-image: url('data:image/svg+xml,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.23278 0.182783C5.34982 0.299971 5.41557 0.458824 5.41557 0.62445C5.41557 0.790076 5.34982 0.948929 5.23278 1.06612L2.13278 4.16612H8.95778C9.75195 4.16612 10.9303 4.39945 11.9269 5.11695C12.9561 5.85862 13.7494 7.08778 13.7494 8.95778C13.7494 9.12354 13.6836 9.28252 13.5664 9.39972C13.4492 9.51694 13.2902 9.58278 13.1244 9.58278C12.9587 9.58278 12.7997 9.51694 12.6825 9.39972C12.5653 9.28252 12.4994 9.12354 12.4994 8.95778C12.4994 7.49445 11.9036 6.64112 11.1969 6.13195C10.4578 5.59945 9.55195 5.41612 8.95778 5.41612H2.13278L5.23278 8.51612C5.29419 8.57333 5.34344 8.64233 5.3776 8.719C5.41176 8.79567 5.43013 8.87843 5.43161 8.96235C5.43309 9.04627 5.41765 9.12962 5.38622 9.20745C5.35478 9.28527 5.308 9.35597 5.24865 9.41531C5.1893 9.47466 5.1186 9.52145 5.04078 9.55289C4.96296 9.58432 4.8796 9.59976 4.79568 9.59828C4.71176 9.5968 4.629 9.57843 4.55233 9.54427C4.47567 9.51011 4.40667 9.46086 4.34945 9.39945L0.182783 5.23278C0.0657414 5.1156 0 4.95674 0 4.79112C0 4.62549 0.0657414 4.46664 0.182783 4.34945L4.34945 0.182783C4.46664 0.0657412 4.62549 0 4.79112 0C4.95674 0 5.1156 0.0657412 5.23278 0.182783Z" fill="black"/></svg>');

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 0;
    display: block;
}

.main-comment label.switch,
.replay-comment label.switch {
    float: left;
    left: 81px;
}

.replay-comment {
    border: 2px dashed #e4e4e4;
    padding: 15px;
    margin: 32px 50px 20px 0;
    border-radius: 6px;
}

.replay-comment .user-comment {
    margin-bottom: 20px;
}

.comment-view .reply-btn i {
    color: #676767;
    font-size: 14px;
}

.comment-view .reply-wrap .reply-box {
    display: none;
}

.comment-view .reply-wrap .reply-fields-wrap {
    margin-top: 25px;
}

.comment-view .LikeAndDisLike input {
    display: none;
}

span.answer {
    font-weight: 600;
    font-size: 15px;
    color: #a8a5a5;
}

.comment-view .LikeAndDisLike .like-label:after,
.comment-view .LikeAndDisLike .dislike-label:after {
    font-family: fontawesome;
    margin-left: 5px;
    font-size: 20px;
    color: #989898;
    position: relative;
    top: 3px;
    transition: all 0.4s;
}

.comment-view .LikeAndDisLike .like-label:hover:after {
    color: #629262;
}

.comment-view .LikeAndDisLike .dislike-label:hover:after {
    color: #926262;
}

.comment-view .LikeAndDisLike .like-input[data-likestatus="Liked"] + .like-label:after {
    color: #28a745;
}

.comment-view
    .LikeAndDisLike
    .dislike-input[data-likestatus="DisLiked"]
    + .dislike-label:after {
    color: #a72828;
}

.comment-view .LikeAndDisLike .like-label:after {
    content: "\f164";
}

.comment-view .LikeAndDisLike .dislike-label:after {
    content: "\f165";
}

.comment-view .LikeAndDisLike .dislike-label,
.comment-view .LikeAndDisLike .like-label {
    margin-left: 25px;
    cursor: pointer;
}

.showControlBar .comment-view .user-comments-view {
    margin-bottom: 5px;
    margin-top: 30px;
}

.comment-view .user-comments-view:nth-child(even) {
    border-color: #ddd;
}

.comment-view .user-comments-view .user-name {
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    width: 50%;
    /* padding-right: 10px; */
}

.comment-view .user-avatar {
    display: inline-block;
}

.comment-view .user-comments-view .user-comment {
    font-size: 13px;
    background: #f3f3f3;
    border-radius: 8px;
    padding: 14px 16px;
}

.comment-view .user-comments-view .comment-date {
    font-size: 12px;
    color: #6d6d6d;
    width: 49.7%;
    display: inline-block;
    text-align: left;
}

.comment-view .user-comments-view .comment-date i.fa {
    margin-left: 10px;
}

.comment-view .approve-comment,
.comment-view .delete-comment {
    margin: 0 5px 3px;
    border: none;
    padding: 4px 15px;
    font-family: inherit;
    border-radius: 6px;
    color: #fff;
    transition: all 0.4s;
}

.comment-view .approve-comment {
    background-color: #28a745;
    border: solid 1px #6cbb23;
}

.comment-view .approve-comment:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.comment-view .delete-comment {
    background-color: transparent;
    border: solid 1px #b41717 !important;
    float: left;
    color: #b41717;
    font-size: 14px;
    padding-block: 8px;
}




.comment-view .delete-comment:hover {
    background-color: #b41717;
    color: white;
}

div.cazary {
    display: inline-block;
    border: 1px solid #e4e4e7 !important;
    overflow: hidden;
    border-radius: 8px;
}

div.cazary div.cazary-commands-wrapper {
    padding: 3px;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
}

.cazary-commands-list {
    background-color: transparent !important;
}


@media all and (max-width: 767px) {
    #tabsNew li {
        width: 100%;
        background: #be202e;
        border-top-right-radius: unset;
        border-top-left-radius: unset;
        transition: 0.3s;
        margin: 2px 2px;
        overflow: hidden;
    }
}

/*-----------------------End Feature-----------------------*/

.switch {
    position: relative;
    display: inline-block;
    width: auto !important;
    height: 30px;
    background: transparent !important;
    padding-right: 6px;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: auto;
    right: 110%;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider .yes {
    opacity: 1;
}

input:checked + .slider .no {
    opacity: 0;
}

.slider :is(.yes, .no) {
    display: none;
}

input:checked + .slider:before {
    left: 22px;
}

/* Rounded sliders */
.slider.round {
    border-radius: 20px;
    width: 40px;
    height: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider.round .no {
    font-size: 12px;
}

.slider.round .yes {
    font-size: 12px;
    color: #fff;
    float: left;
    padding: 5px 8px;
}

.slider.round .no {
    color: #636363;
    float: right;
    padding: 5px 8px;
}

.switch > span {
    vertical-align: middle;
    font-size: 14px;
    display: inline-block;
    font-weight: 600;
    margin-left: 2px;
}

#commentTableBody {
    color: black;
    text-align: right;
    /* font: normal normal 12px 'BYekan',tahoma; */
    font-family: "YekanBakh";
    border-radius: 6px;
}

#commentTableBody .product-link {
    display: block;
    font-size: 14px;
    font-weight: 600;
    background: white;
    padding: 20px 16px;
    border-radius: 16px 16px 0 0;
    border: 1px solid #e4e4e7;
    color: #0d141c;
}

.comment-date {
    text-align: center;
    padding: 10px 0;
}

.user-comment {
    /* padding: 14px; */
    /* border-top: 1px solid #b5b5b5; */
    text-align: justify;
    line-height: 2.8;
}

.user-name {
    position: relative;
    color: black;
    text-align: right;
}

.user-name::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0;
    width: 31%;
    /* transform:translateX(50%); */
    height: 100%;
    /* background:#e6e6e6; */
    color: black;
    z-index: -1;
    padding: 10px;
    border-radius: 6px;
}

.comment-box {
    /* border: 1px solid #dedede;
    border-radius: 6px; */
    /* padding: 10px; */
}

.comment-box > div:first-child {
    margin-bottom: 16px;
}

.verify-box {
    text-align: left;
    width: 90%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.delete-comment {
    background-color: #a72828;
    border: solid 1px #bb2323;
    margin: 0 5px 8px;
    border: none;
    padding: 4px 15px;
    font-family: inherit;
    border-radius: 6px;
    color: #fff;
    transition: all 0.4s;
}

input:checked + .slider {
    background-color: #000 !important;
}

#commentsContent {
    padding: 0;
}

