/* /////////////////////all/////////////////////// */

@font-face {
    font-family: 'YekanBakh';
    src: url('../font/YekanBakh-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../font/YekanBakh-Regular.ttf');
    font-weight: normal;
}

::before {
    padding: 5px;
}

html {
    height: 100%;
}

body * {
    font-family: "YekanBakh";
}


body {
    font-family: "YekanBakh";
    position: relative;
    overflow-x: hidden;
}

.bg-all {
    height: 100%;
    background: url('../img/bac.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

@media only screen and (max-width: 458px) {
    .home-page {
        height: 100%;
    }
}

@media only screen and (min-width: 768px) {
    body {
        width: 580px;
        margin: auto;
    }

    .modal-dialog {
        max-width: 580px !important;
    }

    .text-box {
        width: 720px;
        margin: auto;
    }

    .input-group {
        margin: auto;
        width: 520px;
    }
}

a {
    text-decoration: none !important;
}

.pad0 {
    padding: 0;
}

.margin0 {
    margin: 0;
}



.drtl {
    direction: rtl;
}

.dltr {
    direction: ltr;
}


.display-contents {
    display: contents;
}


.post-item .header .icon {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
}

.scroll-box {
    overflow: auto;
    /* height: 540px; */
    height: 100%;
    padding: 5px;
}

.icon-box.trash-model {
    width: 25px;
    padding: 0;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.trash-model img {
    width: 16px;
}

.post-item:hover {
    /* background: #f5f5f5; */
    box-shadow: 0px 0px 3px 1px #afafaf;
}

.post-item {
    display: block;
    font-size: 14px;
    line-height: 20px;
    background: #ffffff;
    /* padding: 10px 10px 22px 10px; */
    padding: 0;
    text-align: right;
    cursor: pointer;
    margin: 4px;
    border-radius: 15px;
    border: 1px solid #E4E4E4;
}

.post-item .header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: row-reverse;
    padding: 8px;
}

.post-item .info {
    padding: 8px;
}

.post-item .hr {
    border: 0.5px solid #E4E4E4;
}

.post-item .hr-liom {
    border: 0.5px solid #E0CBFF;
}

.post-item .info .title {
    margin-bottom: 8px;
    margin-top: 4px;

}

.post-item .info .title span {
    padding: 2px 15px;
    border-radius: 20px;
    border: 1px solid #D6BAFF;
    background: #F8EDFF;
    color: #430585 !important;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 400;
}

.profile img {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    margin-left: 8px;
}

.liomyar-name {
    text-align: right;
    background: linear-gradient(224.68deg, #F672BC 8.92%, #8254C6 88.84%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.liomyar-text {
    color: #BA1A1A;
}

.modal-profile {
    border-radius: 100%;
}

.modal-profile-hamyar {
    border-radius: 100%;
    border: 2px solid #F672BC;
}

p.title,
.name {
    font-size: 14px;
    margin: 2px 0 7px;
    font-weight: 700;
    color: #000;
    line-height: 22px;
    margin: 0;
}

.text-bold {
    font-weight: bold;
}

p.text {
    font-size: 16px;
    line-height: 19px;
    display: -webkit-box;
    max-height: 38px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
    margin: 16px 0;
    direction: rtl;
}

.footer-post {
    /* display: flex; */
    padding: 8px;
    /* justify-content: flex-end;
    flex-wrap: wrap; */
}


p.date {
    text-align: left !important;
    font-size: 13px !important;
}

.icon {
    font-size: 16px;
    line-height: 17px;
    margin-top: 5px;
    flex-grow: 0;
    color: #70767b;
    text-align: left;
    float: left;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.my-post {
    text-align: right;
}


.scroll-row {
    padding-right: 15px;
    padding-left: 15px;
    justify-content: space-evenly;
}

.header-box {
    border-bottom: 1px solid #e7e6e6;
    padding-bottom: 5px;
    background: white;
}

.sticky {
    position: sticky;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: auto;
}

.type-text {
    font-size: 14px;
    font-weight: 700;
}

.search-input {
    font-size: 15px;
    float: left;
    width: 100%;
    border-radius: 10px;
    padding: 16px 5px;
    text-align: right;
    border: solid 1px #E2E2E2;
}

.search-btn {
    float: left;
    border: none;
    border-left: none;
    color: white;
    background: #8254C6;
    cursor: pointer;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 20px;
    top: 9px;
    z-index: 5;
    bottom: 0;
}

.search-box {
    width: 100%;
    margin: 10px 0px;
}

.liom-color {
    color: #8254C6 !important;
}

.liom-bg {
    background: #8254C6 !important;
    color: white !important;
}

.liom-bg-2 {
    background: #E7DBEF !important;
    color: #000000;
}

.doLogin {
    border-radius: 10px;
}



.hidden {
    display: none;
}


.user-profile {
    display: flex;
    justify-content: flex-start;
    margin: 5px;
    align-items: flex-end;
}

.modal-text-box {
    padding: 1rem;
}


::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 10px;
}


::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
    background: #d3d4d7;
    border-radius: 10px;
}

.reply-box {
    padding: 20px;
}

.footer-comment {
    display: flex;
    margin: 5px 0 0 0;
    padding: 5px;
}


.register {
    margin-top: 6px;
    direction: rtl;
}

.register input {
    width: 100%;
    border: none;
    border-radius: 15px;
    box-shadow: 0 1px 2px 0 #52566152;
    height: 35px;
    padding: 10px;
}

.get-code {
    background: #8254C6 !important;
    color: white !important;
}

.btn-back {
    color: #737a9e !important;
    background: white;
}

.resend {
    background: #8254C6;
}

.btn-modal button {
    color: white;
    border-radius: 15px;
    box-shadow: 0 3px 5px 0 #bfb9b9d9;
    width: 110px;
    height: 40px;
    margin-top: 15px;
}

.register-box {
    direction: rtl;
    text-align: right;
    margin-top: 15px;
    font-size: 12px;
}

.should-get-code {
    text-align: center;
    color: red;
}

.login-img {
    margin-top: -50px;
    width: 95px;
    margin-left: 15px;
}

.modal-loading {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #02020234;
    left: 0;
    z-index: 10100;
}

.comment-profile {
    display: flex;
    justify-content: flex-start;
    margin: 5px;
    align-items: flex-end;
}

.reply-profile {
    display: flex;
    justify-content: flex-start;
    margin: 5px;
    align-items: flex-end;
}

.btn-reply {
    padding: 0px 10px 15px 3px;
}

.comment-item {
    margin-bottom: 15px;
}

.comment-text {
    padding: 5px;
}

.modal-content {
    border-radius: 15px;
}

textarea::-webkit-scrollbar {
    display: none;
}

textarea#myComment {
    height: 35px !important;
    padding: 5px 30px;
    border-radius: 10px;
    border: 1px dashed;
    resize: none;
    width: 100%;
}

.send-comment {
    position: absolute;
    right: 5px;
    color: #8254C6;
}

.send-comment:focus {
    border: none;
    box-shadow: none;
}

.remove-reply {
    position: absolute;
    color: #8254C6;
    left: 3px;
    top: 0px;
    padding: 0;
}

.reply-text {
    margin: 0;
    font-size: 14px;
}

.show-reply-text {
    margin: 0;
    width: 100%;
    position: relative;
    box-shadow: 0px 0px 3px 0px;
    border-radius: 5px;
    padding: 3px 12px;

}

.send-box {
    width: 100%;
    margin: 0;
    padding-top: 10px;

}

.active,
.actived {
    color: #8254C6 !important;
}


.fa {
    font-size: 19px;
    cursor: pointer;
}

.modal-img {
    width: 280px;
    height: auto;
    margin: auto;
    display: block;
}

.create-post-box .item {
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    border-radius: 8px;
    background: #f1f1f1;
    border: none;
}

.create-post-box {
    padding: 1rem;
    width: 100%;
}

.submit-post-create {
    text-align: center;
    border-radius: 8px;
}

span.fa.fa-spinner.fa-spin.fa-3x {
    font-size: 3em !important;
}

.text-area-box {
    height: 200px;
}

/* .btn-create-post {
    background: #8254C6;
    border-radius: 100%;
    padding: 10px;
    width: 50px;
    z-index: 5;
    height: 50px;
    position: fixed;
    bottom: 10px;
    margin-left: 5px;
} */

.btn-post-style {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
    background: linear-gradient(224.68deg, #F672BC 8.92%, #8254C6 88.84%);
    border-radius: 100%;
    padding: 10px;
    width: 64px;
    z-index: 5;
    height: 64px;
    position: fixed;
    bottom: 10px;
    margin-left: 5px;
}

.liom-bg-gradiant {
    background: linear-gradient(224.68deg, #F672BC 8.92%, #8254C6 88.84%);
    color: white;
    border: none;
    width: 100px;
    height: 40px;
}

button.liom-bg-gradiant.doLogin {
    width: 96%;
    display: table;
    margin: auto;
}

.filter-type {
    display: flex;
    justify-content: space-around;
    /* border: solid 1px #DADADA; */
    border-radius: 10px;
    padding: 2px;
}

.filter-border {
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    padding: 8px 0px 8px 0px;
}

.filter-item {
    width: 24%;
    text-align: center;
    color: black !important;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-item.active {
    border-radius: 6px;
    border: 1px solid #D6BAFF;
    background: #E7DBEF;
    color: #430585 !important;
}



.filter-item:hover {
    border-radius: 6px;
    border: 1px solid #D6BAFF;
    background: #E7DBEF;
    transition: 0.5s;
}

.all-box {
    /* padding: 7px;
    background: #F4F4F4;
    border-radius: 10px; */
    margin-top: 10px;
}

.post-type {
    text-align: left;
    background: #E7DBEF;
    padding: 2px 15px;
    position: absolute;
    top: 20px;
    border-radius: 20px;
    color: #8254C6;
    border: 1px solid #D6BAFF;
    width: 85px;
    text-align: center;
}

.post-reject {
    color: #BA1A1A;
    ;
    background: #FFEDEA;
    border: 1px solid #FF897D;
    text-align: left;
    padding: 2px 15px;
    position: absolute;
    top: 20px;
    border-radius: 20px;
    width: 85px;
    text-align: center;
}


.post-done {
    color: #1AA74E;
    background: #CFFFE1;
    border: 1px solid #8CD3A7;
    text-align: left;
    padding: 2px 15px;
    position: absolute;
    top: 20px;
    border-radius: 20px;
    width: 85px;
    text-align: center;
}


.post-work {
    color: #D09B12;
    background: #FFF5DA;
    border: 1px solid #D8BE78;
    text-align: left;
    padding: 2px 15px;
    position: absolute;
    top: 20px;
    border-radius: 20px;
    width: 85px;
    text-align: center;
}


.icon-box {
    border: 1px solid;
    border-radius: 50px;
    padding: 5px 10px;
    font-weight: bold;
    /* width: 80px; */
    font-weight: 400;
    color: #72757A;
    height: 34px;
    text-align: center;
    font-size: 14px;
    margin: 5px;
    display: flex;
    align-items: center;
}

.icon-box.active,
.icon-box.actived {
    color: #8254C6;
}

.count {
    display: inline;
    padding: 3px 5px;
    border-radius: 5px;
    font-size: 13px;
    color: #8254C6;
    background: #E7DBEF;
}

.modal-loading-2 {
    position: fixed;
    bottom: -30px;
    z-index: 10100;
}

select#sort {
    border: none;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 14px;
    background: transparent;
    color: #7345B6;
    font-weight: bold;
}

.order-lable {
    font-size: 14px;
}

.pin-comment {
    /* border-right: 3px solid #8254C6; */
    border-right: 1px solid #E2E2E2;
    padding-right: 2px;
    margin: 0 -5px 0 0;
}

button.close.float-left {
    padding: 0;
}

.modal-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    text-align: right;
    color: #313131;
}

.new-ticket-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.new-ticket-text {
    padding-right: 10px;
    font-size: 16px;
    font-weight: 600;
}

p.modal-name {
    font-size: 18px;
    font-weight: bold;
    padding: 4px;
    line-height: 30px;
}

span.sub-date {
    color: #313131;
    opacity: 0.7;
    position: absolute;
    left: 15px;
    font-size: 11px;
}

span.sub-date-reply {
    color: #313131;
    opacity: 0.7;
    position: absolute;
    left: 15px;
    font-size: 11px;
}


.login-btn-header {
    float: left;
    width: 100px;
}

.icon.date {
    margin: 15px 3px 2px 3px;
    position: absolute;
    bottom: 1px;
    left: 5px;
}

small.date {
    color: #70767b;
    margin-right: 10px;
    font-size: 10px;
}

.timer {
    padding: 3px 5px;
    border-radius: 100px;
    font-size: 13px;
    color: #8254C6;
    background: #E7DBEF;
    margin: 5px 0;
    text-align: center;
    direction: ltr;
    display: flex;
    justify-content: space-around;
    height: 23px;
}

.icon-box-election {
    border: 1px solid;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    color: #70767b;
    text-align: center;
    font-size: 13px;
    margin: 2px;
}

.icon-box-election span {
    font-size: 14px;
}

.footer-item-election {
    display: flex;
    margin: 5px 0 0 0;
    justify-content: center;
    flex-wrap: wrap;
}

p.username {
    font-size: 10px;
    color: #8254C6 !important;
    direction: ltr;
}

.profile-election img {
    display: inline-block;
    vertical-align: top;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    background: #efefef no-repeat center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    margin: 5px 0px 0px 15px;
    float: right;
}

.text-all {
    text-align: center;
    position: absolute;
    top: 3px;
    bottom: 0;
    left: 0;
    right: 0;
}

@keyframes crescendo {
    0% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1.2);
    }
}

.animation-btn {
    animation: crescendo 1s alternate infinite ease-in;
    background: #F76287;
    color: white;
    font-weight: bold;
    font-size: 15px;
}


.active-winner {
    background: #E5E1F2 !important;
}


.dialog-img {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    display: table;
}

/* .modal-header {
    border-bottom: none !important;
} */

.election-start-btn {
    background: linear-gradient(85.87deg, #7345B6 43.77%, #F672BC 98.49%);
    border-radius: 30px;
    display: flex;
    width: 100%;
    direction: ltr;
    padding: 8px 16px 8px 8px;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    line-height: 20px;
}

.election-start-btn .start {
    color: black;
    font-size: 14px;
    background: white;
    border-radius: 100%;
    width: 40px;
    text-align: center;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-event {
    color: #A42F77;
}

.event-box {
    border: 1px solid #A42F77;
    border-radius: 8px;
    direction: rtl;
    padding: 8px;
    text-align: right;
}

.btn-upload-img {
    border-radius: 6px;
    border: 1px solid #D6BAFF;
    background: #E7DBEF;
    color: #430585 !important;
}


.custom-label {
    border-radius: 6px;
    border: 1px solid #D6BAFF;
    color: #430585 !important;
}

.custom-label:hover {
    background: #E7DBEF;
    color: #430585 !important;
}

/* Style for the checked radio button label */
.custom-label input[type="radio"]:checked+label {
    background: #E7DBEF;
    color: #430585 !important;
}

/* Hide the default radio button indicator for checked and unchecked states */
.custom-label input[type="radio"] {
    display: none;
}

.custom-label {
    border-radius: 30px !important;
}

/* Show the custom radio button indicator for the checked state */
.custom-label input[type="radio"]:checked+label::before {
    content: "\2022";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 50%;
    background-color: #430585;
    color: #E7DBEF;
    text-align: center;
    line-height: 12px;
}

.timer2 .box {
    width: 15px;
    background: white;
    display: -webkit-inline-box;
    height: 15px;
    border-radius: 2px;
    color: #280056;
    padding-left: 3px;
}
.timer-box{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    display: inline-table;
}

.timer2 .hour , .timer2 .minute,.timer2 .second{
    margin: 2px;
}