/****************************************
 ***** general
 ****************************************/
body {
    background-color: #f1f5ff;
    color: #222222;
    font-family: "iranyekanparsidigits", sans-serif;
    font-size: 0.875rem;
    direction: rtl;
    text-align: right;
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.input-group {
    height: 38px; /* تنظیم ارتفاع مورد نظر */
}
.input-group .form-control,
.input-group .input-group-prepend,
.input-group .input-group-text {
    height: 100%; /* یکسان سازی ارتفاع همه بخش‌های input-group */
}
.input-group-text {
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.d-ltr { direction: ltr; }
.d-rtl { direction: rtl; }
.da-ltr { direction: ltr; text-align: left; }
.da-rtl { direction: rtl; text-align: right; }
.overflow-hidden {
    overflow: hidden;
}
input {
    transition: ease all 0.2s;
}
input:focus {
    box-shadow: 0 0 12px 0 #c9c9c9;
    outline: none;
}
a {
    transition: all 0.5s ease 0s;
}
/*.form-group label,.form-row label {*/
/*    float: right;*/
/*}*/

.form-control {
    text-align: right;
    background-color: #ffffff;
    color: #495057;
    transition: background-color 0.3s, color 0.3s;
}

.form-section {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu-right {
    left: 0;
    right: auto;
}
/****************************************
 ***** :root
 ****************************************/
:root {
    --color-first: #006FFF;/*#ed1651;*/
    --color-second: #424750;
    --color-third: #19bfd3;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-lightgreen: #45BF55;
    --color-green: #168039;
    --color-darkgreen: #044D29;
    --color-whitesmoke: #f5f5f5;
    --color-whitesmoke-dark: #eeeeee;
    --color-gainsboro: #dcdcdc;
    --color-lightgray: #d3d3d3;
    --color-silver: #c0c0c0;
    --color-gray: #808080;
    --color-dimgray: #696969;
    --color-gray-dark: #555555;
    --fs-30: 1.875rem;
    --fs-29: 1.813rem;
    --fs-28: 1.75rem;
    --fs-27: 1.688rem;
    --fs-26: 1.625rem;
    --fs-25: 1.563rem;
    --fs-24: 1.5rem;
    --fs-22: 1.375rem;
    --fs-20: 1.25rem;
    --fs-18: 1.125rem;
    --fs-16: 1rem;
    --fs-15: 0.938rem;
    --fs-14: 0.875rem;
    --fs-13: 0.813rem;
    --fs-12: 0.75rem;
    --fs-11: 0.688rem;
    --fs-10: 0.625rem;
    --fs-9: 0.563rem;
    --fs-bold: bold;
    --transition-2: all 0.2s ease 0s;
    --transition-5: all 0.5s ease 0s;
    --transition-10: all 1s ease 0s;
}
/************************************************************
 ********** header
 ************************************************************/
.header-wrap {
    background-color: #ffffff;
}
.header-wrap .header-right {
    display: flex;
    min-height: 68px;
}
.header-wrap .logo-cont {
    align-items: center;
    display: flex;
    min-height: 50px;
}
.header-wrap .lnk-logo {
    display: block;
}
.header-wrap .logo-cont .img-logo {}
.header-wrap .header-center {
    align-items: center;
    display: flex;
    height: 100%;
}
.header-wrap .header-left {
    align-items: center;
    display: flex;
    height: 100%;
    gap: 40px;
    justify-content: flex-end;
}
.adds-wrap {
    padding: 30px 0;
}
.adds-wrap .item-image {
    text-align: center;
}
.adds-wrap .img-item {
    border-radius: 20px;
}
.footer-wrap {}
.footer-section-1 {
    padding: 30px 0;
}
.footer-section-1 .banner-cont {
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 30px;
    padding-bottom: 30px;
}
.footer-section-1 .item-cont {
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
    text-decoration: none;
}
.footer-section-1 .image-cont {}
.footer-section-1 .item-title {
    color: #808080;
    font-size: 0.9rem;
    letter-spacing: -1px;
}
.footer-section-1 .img-item {
    border-radius: 10px;
}
.footer-section-1 .newsletter-cont {}
.footer-section-1 .newsletter-form {
    position: relative;
}
.footer-section-1 .fld-newsletter {
    background-color: #ffffff;
    border: medium none;
    border-radius: 10px;
    direction: rtl;
    padding: 17px 10px 17px 58px;
    text-align: right;
    width: 100%;
}
.footer-section-1 .fld-newsletter:focus {
    /*direction: ltr;*/
}
.footer-section-1 .btn-submit {
    background-color: #ed1651;
    border-radius: 10px;
    color: #ffffff;
    padding: 6px 7px;
    position: absolute;
    top: 14px;
    left: 14px;
}
.footer-section-1 .ico-submit {
    display: block;
}
.footer-section-1 .newsletter-desc {
    color: #565656;
    text-align: justify;
}
.footer-section-1 .footer-blocks-cont {
    padding: 30px 0 0;
}
.footer-section-1 .footer-block {}
.footer-section-1 .footer-block .block-title {
    color: #222222;
    font-size: 1rem;
    margin-bottom: 15px;
    position: relative;
}
.footer-section-1 .footer-block .btn-open-block-content {
    background-color: transparent;
    border: medium none;
    color: #555555;
    display: none;
    height: 100%;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    text-align: left;
    width: 100%;
}
.footer-section-1 .footer-block .btn-open-block-content i {
    display: block;
}
.footer-section-1 .footer-block .btn-open-block-content.open i:before {
    content: "\f068";
}
.footer-section-1 .footer-block .block-content {
    line-height: 1.7rem;
}
.footer-section-1 .footer-block.open .block-content {
    margin-bottom: 20px;
}
.footer-section-1 .footer-block .lnk-block {
    color: #979797;
    display: block;
    text-decoration: none;
    transition: all ease 0.5s;
}
.footer-section-1 .footer-block .lnk-block:hover {
    color: #ed1651;
}
.footer-section-1 .footer-block .block-address {
    color: #979797;
    margin-bottom: 10px;
}
.footer-section-1 .footer-block .block-work-time {
    color: #979797;
    margin-bottom: 10px;
}
.footer-section-1 .footer-block .block-phone {
    color: #979797;
    margin-bottom: 10px;
}
.footer-section-1 .footer-block .block-email {
    color: #979797;
    margin-bottom: 10px;
}
.footer-section-2 {
    background-color: #fafafa;
    padding: 30px 0;
}
.footer-section-2 .item-cont {
    position: relative;
}
.footer-section-2 .item-title {
    color: #808080;
    font-size: 1rem;
    margin-bottom: 10px;
    position: relative;
}
.footer-section-2 .item-desc {
    color: #979797;
    font-size: 0.75rem;
    max-height: 100px;
    overflow: hidden;
    text-align: justify;
    position: relative;
}
.footer-section-2 .item-desc:after {
    background: rgb(250 250 250);
    background: linear-gradient(0deg, rgb(250 250 250) 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.footer-section-2 .item-desc.open {
    max-height: inherit;
    overflow: inherit;
}
.footer-section-2 .item-desc.open:after {
    display: none;
}
.footer-section-2 .btn-more-desc {
    background-color: transparent;
    border: medium none;
    color: #444444;
    font-size: 0.75rem;
    padding: 0;
    position: absolute;
    bottom: -20px;
    right: 0;
}
.footer-section-2 .namad-cont {
    align-items: flex-start;
    display: flex;
    height: 100%;
    justify-content: left;
    gap: 10px;
}
.footer-section-2 .item-namad {
    background-color: #eeeeee;
    border: 1px solid #dddddd;
    border-radius: 5px;
    /*max-width: 100px;*/
    padding: 15px;
}
.footer-section-2 .item-namad img {
    height: 90px;
    width: 83px!important;
    cursor: pointer;
}
.footer-section-3 {
    background-color: #555555;
    padding: 14px 0;
}
.footer-section-3 .copyright-text {
    color: #ffffff;
    float: right;
    padding-top: 6px;
}
.footer-section-3 .social-cont {
    display: flex;
    direction: ltr;
    float: left;
    gap: 10px;
}
.footer-section-3 .lnk-social {
    color: #ffffff;
    font-size: 1.2rem;
    padding: 1px 8px;
    text-decoration: none;
}
.footer-section-3 .lnk-social:before {
    content: "";
    display: block;
    font-family: "Font Awesome 6 Brands";
}
.footer-section-3 .lnk-facebook:before { content: "\f39e"; }
.footer-section-3 .lnk-twitter:before { content: "\f099"; }
.footer-section-3 .lnk-youtube:before { content: "\f167"; }
.footer-section-3 .lnk-instagram:before { content: "\f16d"; }
.footer-section-3 .lnk-telegram:before { content: "\f2c6"; }
.footer-section-3 .lnk-linkedin:before { content: "\f0e1"; }
.footer-section-3 .lnk-aparat:before { content: ""; }
.general-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 5;
}
.general-overlay.open {
    display: block;
}
.content_page{
    /*padding: 2rem 5rem !important;*/
    background: white;
    border-radius: .25rem !important;
}
.content_page img {
    display: block;
    margin: auto;
}
.help-block-error{
    color: #ed1651  !important;
}
.has-error input{
    border-color:#ed1651  !important;
}
.btn-color-trans{
    color:transparent;
}
.btn-color-first{
    background-color:var(--color-first);
    color:#fff
}
.btn-color-first:hover,.btn-color-first:focus{
    background-color:var(--color-first);
    color:#fff
}
.loading-box{
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
    position: relative !important;
}
.loading-box:disabled{
    opacity: 0.8;
}
/************************************************************
 ********** animations
 ************************************************************/
.animation-rotation {
    animation-name: rotation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animation-dot-flashing {
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: var(--color-white);
    color: var(--color-white);
    animation: animation-dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
}
.animation-dot-flashing::before, .animation-dot-flashing::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
}
.animation-dot-flashing::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #fff;
    color: #fff;
    animation: animation-dot-flashing 1s infinite alternate;
    animation-delay: 0s;
}
.animation-dot-flashing::after {
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #fff;
    color: #fff;
    animation: animation-dot-flashing 1s infinite alternate;
    animation-delay: 1s;
}

@keyframes animation-dot-flashing {
    0% {
        background-color: #fff;
    }
    50%, 100% {
        background-color: rgba(255, 255, 255, 0.2);
    }
}
/************************************************************
 ********** fonts
 ************************************************************/
@font-face {
    font-display: fallback;
    font-family: "iranyekanparsidigits";
    font-size: 1rem;
    src: url(../fonts/iranYekanParsiDigits/IRANYekanWebFn.woff2) format("woff2");
}
@font-face {
    font-display: fallback;
    font-family: "iranyekan reqular";
    font-size: 1rem;
    src: url(../fonts/iranyekan/iranyekanwebregular.woff2) format("woff2");
}
/************************************************************
 ********** loading
 ************************************************************/
.lds-ellipsis {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #8080807d;
}
.lds-ellipsis div {
    position: absolute;
    top: 15px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 35%;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 35%;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 50%;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 60%;
    animation: lds-ellipsis3 0.6s infinite;
}
.help-block{
    color: #ed1651;
    font-size: 12px;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.topBar{
    max-height: 60px;
    display: flex;
    justify-content: center;
    background-color: #fff;
}

.topBar img{
    height: 60px !important;
}
@media (max-width: 1019px){
    .topBar img{
        height: 35px !important;
    }
    .topBar {
        max-height: 35px;
    }
}

.stepwizard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepwizard-step {
    text-align: center;
    position: relative;
    flex: 1;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: flex;
    justify-content: space-between;
}

.stepwizard .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.stepwizard .btn-circle {
    border-radius: 50%;
}

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}
.stepper li {
    flex: 1;
    position: relative;
    text-align: center;
}
.stepper li:before {
    content: attr(data-step);
    display: block;
    margin: 0 auto;
    background: darkgray;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.stepper li:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: darkgray;
    z-index: -1;
}
.stepper li:first-child:after {
    content: none;
}
.stepper li.completed:before,
.stepper li.completed:after {
    background: #007bff;
}
.stepper li ~ li:after {
    background: darkgray;
}

@media (max-width: 495px){
    .stepper {
        font-size: 0.8rem !important;
    }
}
@media (max-width: 359px){
    .stepper {
        font-size: 0.6rem !important;
    }
}


/*.form-check-input[type="radio"] {*/
/*    border-radius: 50%;*/
/*}*/
.form-check .form-check-input {
     /*float: right;*/
     margin-left: 0.3em;
    margin-right: 0;
 }
.form-check-inline {
    margin-right: 0rem;
}
.required {
    color: darkred;
}


.upload-section {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}
.upload-box {
    width: 45%;
    text-align: center;
    padding: 20px;
    border: 2px dashed #d3d3d3;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.upload-box input {
    display: none;
}
.upload-box label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e0e7ff;
    border-radius: 5px;
    cursor: pointer;
}
.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    position: relative;
}
.thumbnail img, .thumbnail a {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.thumbnail .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
@media (max-width: 768px) {
    .upload-section {
        flex-direction: column;
        align-items: center;
    }
    .upload-box {
        width: 100%;
        margin-bottom: 20px;
    }
    .thumbnail-container {
        flex-direction: column-reverse;
    }
}

.custom-box {
    background-color: #f0f4ff;
    border: 1px solid #dcdff6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}
.custom-box.rejectedBox {
    background-color: #fff0f0;
    border: 1px solid #f6dcdc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}
.custom-box.confirmedBox {
    background-color: #f1fff0;
    border: 1px solid #dcf6de;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}
.custom-box p {
    margin: 10px 0;
    line-height: 1.6;
    color: #333;
}
.custom-box p:first-child {
    font-weight: bold;
}
