/* /////////////////////all/////////////////////// */

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir.eot');
    src: url('../font/Vazir.eot?#iefix') format('embedded-opentype'), url('../font/Vazir.woff') format('woff'), url('../font/Vazir.ttf') format('truetype');
    font-weight: normal;
}

html {
    height: 100%;
}

body {
    font-family: 'Vazir';
    position: relative;
}

.bg-all {
    height: 100%;
    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: 520px;
        margin: auto;
    }

    .text-box {
        width: 720px;
        margin: auto;
    }

    .input-group {
        margin: auto;
        width: 520px;
    }
}

a {
    text-decoration: none !important;
}

.pad0 {
    padding: 0;
}

.margin0 {
    margin: 0;
}
.my-ticket {
    background: #8254c6;
    border-radius: 10px;
    padding: 4px;
}
.top-menu {
    width: 100px;
    display: inline-block;
    text-align: center !important;
    margin: auto;
    height: 28px;
    border-radius: 10px !important;
    padding: 0;
    margin-bottom:10px

}

.top-left{
    position: absolute;
    left: 15px;
}
.top-menu-question {
    width: 33%;
    display: inline-block;
}



.top-menu-count {
    border-radius: 20px;
    border: 1px solid #000000;
    font-size: 14px;
    margin: 0;
}

.top-menu-img {
    text-align: center;
    padding: 1px 1px 5px 6px;
    background: white;
    box-shadow: 0px 3px 5px 0px #6c757db5;
    border-radius: 10px;
    margin-right: 5px;
}

.top-menu-img img {
    height: 16px;
    width: 16px;
}

.text-bold {
    font-weight: bold;
}

.drtl {
    direction: rtl;
}

.question-form {
    background: #8254c6;
    border-radius: 0px 10px 10px 10px;
    padding: 4px 2px 4px 2px;
}

.liliom-img {
    margin-top: -50px;
    width: 112px;
    margin-left: 15px;
}

.liliom-icon {
    width: 18px;
}

.question-list-icon {
    width: 30px;
}

.doctor-icon-rate {
    width: 70px;
    margin-top: -53px;
    margin-bottom: 30px;
    background: white;
    border-radius: 50px;
    border: 2px solid #f39c12;
}

.alert-text {
    font-size: 12px;
    margin: 10px 0px 10px 0;
}


/* ///////////////////////home-page////////////////// */

.cat-box:last-child {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.main-cat {
    position: relative;
}

.main-cat-img {
    box-shadow: 0px 4px 5px 0px #6c757d;
    border-radius: 20px;
}

.display-contents {
    display: contents;
}


/* ///////////////////////////////////////psychology//////////////////////////////////// */

.doctor-profile {
    float: right;
    margin: 5px;
    padding: 3px 1px 25px 11px;
}

.doctor-profile img {
    width: 70px;
    background: white;
    border-radius: 50px;
    border: 2px solid #8254c6;
}

.doctor-description {
    font-size: 12px;
    font-weight: 400;
    color: #757575;
}

.dashed {
    border-top: dashed 2px #8254c6;
}

.star-users {
    font-size: 12px;
}

.color_star {
    color: #ffb31a;
    font-size: 16px;
    font-weight: bold;
}

.bg-cat {
    font-size: 10px;
    border-radius: 10px;
    margin: auto;
    padding: 12px 0 12px 0px;
    margin-bottom: 15px;
    cursor: pointer
}

.bg-cat p {
    margin: auto;
}

.left-icon {
    text-align: left;
    position: absolute;
}

.m-auto {
    margin: auto;
}

.text-color {
    color: #757575;
}

.time-answers-size {
    font-size: 12px;
    display: contents;
}

.time-clock {
    background: #8254c62b;
    color: #8254c6;
    padding: 5px;
    border-radius: 50px;
    font-weight: 400;
    font-size: 13px
}

.main-bg {
    background: white !important;
    border-radius: 20px;
}

.liom-description {
    font-size: 12px;
    font-weight: 400;
    color: #757575;
    padding: 5px;
}

.modal-content {
    border-radius: 20px;
}

.use_coin {
    background: linear-gradient(450deg, #ff3d7f, #3fb8af);
    color: white;
    border-radius: 10px;
    margin-top: 15px;
    border: none;
    margin-bottom: 15px;
}

.btn-buy {
    background: #8254c6;
    color: white;
    border-radius: 10px;
    margin-top: 15px;
    border: none;
    margin-bottom: 15px;
    height: 45px
}

.text-off {
    position: absolute;
    font-size: 7px;
    margin: -5px 14px 5px 0px;
}

.liliom-text {
    margin: 10px;
    font-size: 10px;
}

.liliom-text-buy {
    margin: 10px;
    font-size: 14px;
    font-weight: bold;
}

.modal-text-size {
    font-size: 14px;
}

@media only screen and (max-width: 570px) {
    .modal-dialog {
        margin: 0 15px 0 15px;
    }
}

form.gif-code input {
    font-size: 17px;
    float: left;
    background: #f1f1f1;
    width: 125px;
    border: none;
    height: 30px;
    border-radius: 0px 7px 7px 0px;
}

form.gif-code button {
    float: left;
    height: 30px;
    width: 45px;
    background: #ffb31a;
    color: white;
    font-size: 17px;
    border-radius: 7px 0px 0px 7px;
    border: none;
}

.gif-code {
    margin: auto;
    display: table;
}

.icon-buy {
    background: white;
    padding: 5px;
    border-radius: 15px;
}

.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;
}

.btn-back {
    color: #737a9e !important;
    background: white;
}

.resend {
    background: #f64181;
}

.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;
}

.err-code {
    animation: get-code 1s;
}

@keyframes get-code {
    0% {
        left: 0px;
    }

    25% {
        left: -5px;
    }

    50% {
        left: 5px;
    }

    75% {
        left: -5px;
    }

    100% {
        left: 0px;
    }
}


/* ////////////////////////////send ticket////////////////////////////// */

.title-input {
    border-radius: 15px;
    height: 40px;
    font-size: 12px;
    border: none;
    box-shadow: 0px 1px 2px 0px #403f3e30;
}

.description-input {
    height: 200px !important;
    border-radius: 15px;
    border: none;
    box-shadow: 0px 1px 2px 0px #403f3e30;
    font-size: 12px;
}

.btn-ticket {
    color: white;
    border-radius: 15px;
    box-shadow: 0px 2px 5px 1px #403f3e75;
    height: 40px;
    margin: 5px;
    font-size: 12px;
}

.label-text {
    font-size: 14px;
    color: #757575;
    font-weight: bold;
}


/* ////////////////////////////myticket////////////////////////////// */

.status-style {
    width: 35px;
    height: 35px;
    float: left;
    border-radius: 100%;
    text-align: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    margin: -12px 0px 0px -12px
}

.status0 .status-style {
    background: #f39c12;
}

.status0 .title {
    font-weight: bold;
    color: #f39c12;
}

.status0 .bg {
    border-radius: 15px;
    box-shadow: 0px 2px 3px 0px #403f3e30;
    background: #fce5b6;
}

.status0 .back-border {
    border-right: 2.5px solid #f39c12;
}

.status1 .status-style {
    background: #0671f2;
}

.status1 .title {
    font-weight: bold;
    color: #0670f2;
}

.status1 .bg {
    border-radius: 15px;
    box-shadow: 0px 2px 3px 0px #403f3e30;
    background: #e2eefa;
}

.status1 .back-border {
    border-right: 2.5px solid #0671f2;
}

.status-1 .status-style {
    background: #f60057;
}

.status-1 .title {
    font-weight: bold;
    color: #f60057;
}

.status-1 .bg {
    border-radius: 15px;
    box-shadow: 0px 2px 3px 0px #403f3e30;
    background: #fff2f7;
}

.status-1 .back-border {
    border-right: 2.5px solid #f60057;
}

.date-text {
    font-size: 10px;
    color: #2c3964;
}

.ticket-text {
    font-size: 14px;
    color: #2c3964;
}


/* /////////////////////talk////////////////// */

.right-section {
    width: 100%;
}

.message {
    height: calc(100% - 68px);
    font-family: sans-serif;
}

.message ul {
    padding: 0px;
    list-style: none;
    margin: 0px auto;
    width: 90%;
    overflow: hidden;
}

.message ul li {
    position: relative;
    width: 88%;
    padding: 10px 0px;
    clear: both;
}

.message ul li.msg-left {
    float: left;
}

.message ul li.msg-left img {
    position: absolute;
    width: 35px;
    bottom: 10px;
    background: white;
    border-radius: 50px;
    border: 2px solid #f39c12;
}

.message ul li.msg-left .msg-desc {
    margin-left: 50px;
    font-size: 12px;
    background: #ffffff;
    padding: 15px 10px 20px 10px;
    border-radius: 15px 15px 15px 0px;
    position: relative;
    text-align: right;
    box-shadow: 0px 2px 2px 0px #8e858547;
}

.message ul li.msg-left .msg-desc:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-bottom-color: #ffffff;
    bottom: 0px;
    left: -10px;
}

.message ul li.msg-left small {
    float: right;
    color: #c1c1c1;
}

.message ul li.msg-right {
    float: right;
}

.message ul li.msg-right img {
    position: absolute;
    width: 35px;
    right: 0px;
    bottom: 10px;
}

.message ul li.msg-right .msg-desc {
    margin-right: 50px;
    font-size: 12px;
    background: #f2fffd;
    color: #004085;
    text-align: right;
    padding: 15px 10px 20px 10px;
    border-radius: 15px 15px 0px 15px;
    position: relative;
    box-shadow: 0px 2px 2px 0px #8e858547;
}

.message ul li.msg-right .msg-desc:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-bottom-color: #f2fffd;
    bottom: 0px;
    right: -10px;
}

.message ul li.msg-right small {
    float: right;
    color: #c1c1c1;
    margin-right: 70px;
}

.message ul li.msg-day {
    border-top: 1px solid #EBEBEB;
    width: 100%;
    padding: 0px;
    margin: 15px 0px;
}

.right-section-bottom {
    background: #fff;
    width: 100%;
    padding: 15px;
    position: absolute;
    bottom: 0px;
    border-top: 1px solid #E6E6E6;
    text-align: center;
}

.message ul li.msg-right .date-small {
    margin: -20px 0px 0px 10px;
    font-size: 10px;
    position: absolute;
}

.message ul li.msg-left .date-small {
    position: relative;
    margin: -20px 10px 0px 10px;
    font-size: 10px;
}

.close-ticket {
    background: #8254c6;
    color: white;
    border-radius: 50px;
    font-size: 10px;
    border: none;
    font-weight: bold;
    margin-bottom: 60px;
}

.send-message {
    padding: 2px 20px 2px 11px;
    width: 100%;
    direction: rtl;
    height: 40px;
    border: none;
}

.send-click {
    color: #56628a;
    z-index: 1111;
    position: absolute;
    border: none;
    background: white;
    transform: rotate(45deg);
}

.text-title {
    font-size: 12px;
    color: #757575;
    margin-top: -10px;
}

.doctor-rate {
    margin-top: -50px;
}

.btn-rate {
    background: #8254c6;
    color: white;
    border-radius: 15px;
}

.bg-star {
    background: white;
    padding: 6px;
    border-radius: 50px;
}

.star-rate {
    color: #ffb31a;
    font-size: 20px;
    font-weight: bold;
}

.attach_btn {
    background-color: white;
    border: none;
    color: #56628a;
    cursor: pointer;
}

.send_btn {
    background-color: white;
    border: none;
    color: #56628a;
    cursor: pointer;
}

.message-box {
    height: 40px !important;
    border: none;
    direction: rtl;
    font-size: 12px;
}

.input-group-text i {
    transform: rotate(45deg);
}

.modal-loading {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #02020234;
    left: 0;
    z-index: 10100;
}

.end-btn {
    border-radius: 15px;
    width: 100px;
    margin: 5px;
    font-size: 14px;
    box-shadow: 0px 2px 4px 0px #42414175;
}


/* /////////////////////question-list///////////////// */

.question-text {
    font-size: 14px;
    color: #2c3964;
    font-weight: bold;
}

.question-text:not(:first-child) {
    margin: 30px 0px 0px 0;
}

.question-input {
    height: 74px;
    width: 100%;
    border-radius: 15px;
    margin: 0px 0px 10px 0;
    border: none;
    box-shadow: 0px 2px 5px 1px #1f1f1c38;
    padding: 10px;
}


/*
.checkbox-input {
    direction: ltr;
    font-size: 14px;
    color: #2c3964;
}


/* input[type="checkbox"] {
    position: absolute;
    visibility: hidden;
} */


/* .box-lable {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    margin: 0 auto;
    background-color: #fff;
    cursor: pointer;
}

input:checked+label {
    background-color: #55D069;
}  */

.send-question {
    background: #8254c6;
    border: none;
    border-radius: 15px;
    width: 110px;
    height: 40px;
    color: white;
    margin: 2px;
    font-size: 15px;
    box-shadow: 0px 3px 5px 0px #00000063;
}

.text-question {
    font-size: 14px;
    color: #2c3964;
}

.close-question {
    background: white;
    border: none;
    border-radius: 15px;
    width: 110px;
    height: 40px;
    color: #2c3964;
    margin: 2px;
    font-size: 15px;
    box-shadow: 0px 3px 5px 0px #00000063;
}

.hidden {
    display: none;
}


/* ///////////////////////////////////error//////////////////////////////// */

.error-box {
    margin: auto;
    position: absolute;
    bottom: 0;
    top: 0;
    width: 520px;
    left: 0;
    right: 0;
    height: 50%;
    border-radius: 15px;
    box-shadow: 0px 1px 4px 0px #b19d9d;
    animation: error-page 1s;
}

.error-icon {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    width: 60px;
    top: 0;
    margin-top: -30px;
}

.error-text {
    margin: auto;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 25%;
    text-align: center;
    animation: error-page 1s;
}

@keyframes error-page {
    0% {
        left: 0px;
    }

    25% {
        left: -5px;
    }

    50% {
        left: 5px;
    }

    75% {
        left: -5px;
    }

    100% {
        left: 0px;
    }
}


/* //////////////////liom-rule//////////// */

.text-rule {
    text-align: justify;
    direction: rtl;
    font-size: 14px;
    color: #2c3964;
}

.title-rule h4 {
    font-size: 17px;
    color: #2c3964;
    font-weight: bold;
}

.header-rule-text h1 {
    color: #2c3964;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}


/* ----------------------------------checkup----------------------------- */

.main-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0px 3px 5px 0px #19181854;
    margin: 10px 0 10px 0;
}

.alert-box {
    border-radius: 0px 15px 0px 30px;
    text-align: center;
    background: #8254c6;
}

.alert-box p {
    margin: auto;
    color: white;
    font-size: 13px
}

.border_after {
    position: absolute;
    border: 6px solid transparent;
    border-right-color: #8254c6;
    border-top-color: #8254c6;
    right: 0;
    bottom: 0;
    top: 14px;
}

.precent-box {
    font-size: 9px;
    color: #757575;
    background: #ffe6e7;
    padding: 5px;
    border-radius: 15px;
    display: inline-block;
}

.precent-date {
    display: inline;
    margin: 10px;
    font-size: 14px;
}

.box-cat {
    background: white;
    text-align: center;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0px 3px 5px 0px #19181854;
    margin-top: 15px;
    height: 110px;
}

.box-cat p {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    color: #757575;
}

.search {
    width: 100%;
    position: relative;
    display: flex;
    box-shadow: 0px 3px 5px 0px #19181854;
    border-radius: 20px;
}

.search-box {
    width: 100%;
    border: none;
    padding: 5px;
    height: 40px;
    border-radius: 20px 0 0 20px;
}

.searchButton {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    text-align: center;
    color: #000;
    border-radius: 0 20px 20px 0;
    font-size: 20px;
}

.btn-test {
    color: black;
    font-size: 14px;
    border-radius: 15px;
    border: none;
    height: 45px;
    width: 115px;
    margin: 5px;
}

.btn-next {
    background: #ffb31a;
}

.btn-prev {
    background: white;
}

.btn-finish {
    background: #ffb31a;
}

.frb-group {
    text-align: right;
}

.frb input[type="radio"]~label:before {
    font-family: FontAwesome;
    content: '\f140';
    display: contents;
    font-size: 22px;
}

.frb input[type="radio"]:checked~label:before {
    content: '\f192';
}

.frb input[type="radio"]:empty {
    display: none;
}

.frb input[type="radio"]~label {
    position: relative;
    cursor: pointer;
    width: 100%;
    border-radius: 15px;
    background-color: #ffff;
    box-shadow: 0px 3px 5px 0px #19181854;
    margin-top: 5px;
    direction: rtl;
    height: 55px;
    padding: 8px;
}

.frb input[type="radio"]:checked~label {
    color: #fafafa;
}

.frb input[type="radio"]:checked~label {
    background-color: #8254c6;
}

.frb input[type="radio"]:empty~label span {
    display: inline-block;
}

.frb input[type="radio"]:empty~label span.frb-title {
    font-size: 15px;
    font-weight: 700;
    top: 25%;
    position: absolute;
    padding-right: 8px;
}

.text-p {
    font-size: 12px;
    font-weight: 400;
    color: #757575;
}

.box-center {
    margin: auto;
    display: table;
}

.cat-img img {
    height: 115px;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0px 3px 5px 0px #19181854;
}

.cat-text {
    height: 25%;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: white;
}

.finish-test {
    background: white;
    border-radius: 50px;
    width: 80px;
    height: 80px;
    margin: auto;
    box-shadow: 0px 3px 5px 0px #19181854;
}

.finish-test img {
    width: 40px;
    height: 55px;
    margin-top: 10px;
}

.finish-test-box {
    background: white;
    border-radius: 15px;
    padding: 15px 5px 15px 5px;
    margin: auto;
    text-align: right;
    box-shadow: 0px 3px 5px 0px #19181854;
    font-size: 15px;
    color: #757575;
}

.again-btn button {
    background: #ffb31a;
    color: black;
    border-radius: 15px;
    box-shadow: 0px 2px 2px 0px #1e000042;
    padding: 10px 15px;
}

.my-file {
    background: white;
    color: #757575;
    border: 10px;
    height: 25px;
    width: 30px;
    box-shadow: 0px 2px 2px 0px #1e000042;
    font-size: 100%;
}

.chosing-box {
    width: 100%;
    border-radius: 15px;
    background: #f8d7da;
    box-shadow: 0px 3px 5px 0px #19181854;
    direction: rtl;
    padding: 17px;
    color: #721c24;
    text-align: center;
    animation: err-box 1s;
}

@keyframes err-box {
    0% {
        left: 0px;
    }

    25% {
        left: -5px;
    }

    50% {
        left: 5px;
    }

    75% {
        left: -5px;
    }

    100% {
        left: 5px;
    }
}

.tooltip-box .tooltiptext {
    visibility: hidden;
    width: 50px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    font-size: 9px;
}

.tooltip-box {
    display: contents;
}

.tooltip-box:hover .tooltiptext {
    visibility: visible;
}

.hamyar-question .box {
    position: relative;
    cursor: pointer;
    width: 100%;
    border-radius: 15px;
    background-color: #ffff;
    box-shadow: 0px 3px 5px 0px #19181854;
    margin-top: 5px;
    direction: rtl;
    height: 55px;
    padding: 15px;
    text-align: right;
}

.hamyar-question .box-text {
    border-radius: 15px;
    background-color: #ffff;
    box-shadow: 0px 3px 5px 0px #19181854;
    direction: rtl;
    padding: 10px 8px 5px 8px;
}

.hamyar-question .box-text textarea {
    width: 100%;
    margin: 0px;
    padding: 0px;
    border: none;
    height: 200px;
}

.hamyar-question .box-text textarea:focus-visible {
    outline: none;
}

.hamyar-question .box p {
    font-size: 15px;
    font-weight: 700;
    display: contents;
}

.checked-box {
    width: 100%;
    border-radius: 15px;
    background: #f8d7da;
    box-shadow: 0px 3px 5px 0px #19181854;
    direction: rtl;
    padding: 17px;
    color: #721c24;
    text-align: center;
    animation: err-box 1s;
}

.prev- .finish-question {
    background: #ffb31a;
}

.next-question {
    background: #ffb31a;
}

.finish-question {
    background: #ffb31a;
}