html{
    --a-primary: #587fc0;
    --a-primary2: #fe7062;
    --a-teal: #029386;
    --a-teal-hover: #04665d;
    --a-teal-light: rgba(2, 147, 134, 0.1);
}
html, body {
    font-size: 14px !important;
    font-family: IRANSans, "sans-serif";
}

html, body, h1, h2, h3, h4, h5, h6, input, textarea, a, label, small, button, span, div, text {
    font-family: IRANSans, sans-serif !important;
}

@media (max-width: 991.98px) {
    html, body {
        font-size: 14px !important;
    }
}

@media (max-width: 767.98px) {
    html, body {
        font-size: 13px !important;
    }
}

@media (min-width: 992px) {
    .header-extended .header {
        height: 170px;
    }
}

html:not([data-theme=dark]){
    --kt-header-bg-color: #3e7de7;
    --kt-page-bg: #f5f8fa;
}
body {
    /* Manual height for make scrollbar appear */
    overflow-y: overlay !important;
    /* For scrollbar overlay on content */
    overflow-x: hidden !important;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 0.7rem;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(27, 27, 27, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}
.b_r_1_2{
    border-radius: 1.2rem;
}
.b_0_4rem{
    border: solid 0.4rem;
}
.b_primary{
    border-color: var(--a-primary);
}
.b_primary2{
    border-color: var(--a-primary2);
}
.btn-light-teal{
    color: var(--a-teal);
    border-color: var(--a-teal-light);
    background-color: var(--a-teal-light);
}
.btn-light-teal:hover,.btn.btn-active-light-teal:hover:not(.btn-active) .svg-icon{
    color: #fff;
    border-color: var(--a-teal);
    background-color: var(--a-teal);
}
.btn.btn-light-teal i, .btn.btn-light-teal .svg-icon{
    color: var(--a-teal);
}
.btn.btn-light-teal:hover:not(.btn-active) .svg-icon{
    color: #fff
}
.btn-teal{
    color: #fff;
    border-color: var(--a-teal);
    background-color: var(--a-teal)
}
.btn-teal:hover,.btn.btn-active-teal:hover:not(.btn-active) .svg-icon{
    color: #fff;
    border-color: var(--a-teal-hover);
    background-color: var(--a-teal-hover)
}
.btn.btn-teal i, .btn.btn-teal .svg-icon{
    color: #fff;
}
.btn.btn-teal:hover:not(.btn-active) .svg-icon{
    color: #fff;
}

.header_logo{
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 4px ;
}
.a_login .header_logo{
    border: 0
}
@media (min-width: 992px) {
    .header-fixed.header-extended .wrapper {
        padding-top: 170px;
    }
}
.dir_ltr{
    direction: ltr;
}
.bg-info {
    background-color: #8881ff !important;
}
.bg-warning {
    background-color: #d69341 !important;
}
.bg-yellow {
    background-color: #ebed66 !important;
}
.svg-icon-yellow{
    color: #ebed66 !important;
}
.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected:after{
    left: 1.25rem;
    right: auto;
}


/*pages*/
#flowchart{
    direction: ltr;
    height: 36rem;
    position: relative;
    cursor: auto;
    background-color: rgb(255, 255, 255);
    background-image: url(../../assets/media/flowchart/background.svg);
    background-position: -1px -1px;
    border: 1px #d0d0d0 solid;
    overflow: scroll;
}
html[data-theme="dark"] #flowchart{
    border-color: rgb(80, 83, 89);
    background-color: #151521;
    background-image: url(../../assets/media/flowchart/background_dark.svg);
}
#flowchart .item{
    min-width: 5rem;
    min-height: 5rem;
    max-width: 6rem;
    border-radius: 0.5rem;
    border: 0.2rem solid #38ab6c;
    background-color: rgb(239, 249, 254);
    padding: 0.5rem;
    position: absolute;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
html[data-theme="dark"] #flowchart .item{
    background-color: #21212a;
    border: 0.2rem solid #50cd89;
}
#flowchart .item .item_content{
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#flowchart .item .item_content a{
    color: var(--kt-card-color);
}
html[data-theme="dark"] #flowchart .item .item_content a{
    color: white;
}
#flowchart .item .item_content a:hover{
    color: var(--kt-primary) !important;
}
#flowchart .item.circle{
    border-radius: 50%;
}
#flowchart .item.diamond{
    transform: rotate(45deg);
}
#flowchart .item.diamond .item_content{
    transform: rotate(315deg);
}
#flowchart .item .item_content.item_left_top{
    position: absolute;
    left: -2.6rem;
    top: -0.2rem;
}
#flowchart .item .item_content.item_left_bottom{
    position: absolute;
    left: -2.6rem;
    bottom: -0.2rem;
}
#flowchart .item .item_content.item_right_top{
    position: absolute;
    right: -2.6rem;
    top: -0.2rem;
}
#flowchart .item .item_content.item_right_bottom{
    position: absolute;
    right: -2.6rem;
    bottom: -0.2rem;
}
#flowchart .item .item_content.item_top{
    position: absolute;
    top: -2.6rem
}
#flowchart .item .item_content.item_bottom{
    position: absolute;
    bottom:-2.6rem
}
#flowchart_svg{
    height: 1000%;
    width: 1000%;
    position: absolute;
    top: 0;
    left: 0;
}
#flowchart svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#flowchart svg line {
    stroke: #38ab6c;
    stroke-width: 0.1rem;
    stroke-linecap: round;
    stroke-dasharray: 0.2rem 0.5rem;
    animation: animateline 75s linear both infinite;
}
html[data-theme="dark"] #flowchart svg line {
    stroke: #50cd89;
}

@-moz-keyframes animateline {
    to {
        stroke-dashoffset: 1000;
    }
}
@-webkit-keyframes animateline {
    to {
        stroke-dashoffset: 1000;
    }
}
@-o-keyframes animateline {
    to {
        stroke-dashoffset: 1000;
    }
}


.layer.type1{
    width: 5rem;
    height: 5rem;
    position: absolute;
    top: 8%;
    left: 10rem;
    z-index: -1;
}
.layer.type1 div{
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    border: .8rem solid;
    border-color: var(--a-primary);
    opacity: 0.3;
    transform: rotate(45deg);
}
.layer.type2{
    width: 4rem;
    height: 4rem;
    position: absolute;
    top: -5rem;
    right: 1rem;
}
.layer.type2 div{
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    border: .6rem solid;
    border-color: #00bcd4;
    opacity: 0.7;
    transform: rotate(45deg);
}
.layer.type3{
    width: 8rem;
    height: 8rem;
    position: absolute;
    top: 70%;
    right: 30%;
    z-index: -1;
}
.layer.type3 div{
    border-radius: 1.2rem;
    width: 100%;
    height: 100%;
    border: .8rem solid;
    border-color: rgba(191, 191, 191, 0.5);
    opacity: 0.1;
    transform: rotate(45deg);
}
.layer.type4{
    width: 7rem;
    height: 7rem;
    position: absolute;
    bottom: 11%;
    left: 8%;
    z-index: -1;
}
.layer.type4 div{
    border-radius: 50%;
    width: 100%;
    height: 100%;
    border: .7rem solid;
    border-color: #b2ebf2;
    opacity: 0.7;
    transform: rotate(45deg);
}
.z_index_1{
    z-index: 1 !important;
}


.timeline-item.active::before{
    content: " ";
    background-color: rgb(0 158 247 / 21%);
    position: absolute;
    top:-0.6rem;
    right: -1rem;
    left: -0.5rem;
    bottom: -0.5rem;
    border-radius: .4rem;
    box-shadow: 0px 0px 1.2rem rgb(0 134 255 / 18%)
}

.a_before_r_0.timeline-label::before{
    right: 0;
}
