@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');

}

body {
    font-family: "Vazir" !important;
    font-size: 1.1rem;
}

@media (max-width : 767px) {
    nav {
        background-color: #ffffffc7;
        max-height: 75vh;
        overflow-y: auto;

    }
}

@media (min-width : 767px) {

    .mfox-logbak .mfox-target {
        margin-left: 0.25rem !important;
    }

    /* nav Item Style */
    #navbarSupportedContent>.navbar-nav>li {
        position: relative;
    }

    #navbarSupportedContent>.navbar-nav>li>a:before {
        content: "";
        position: absolute;
        width: 10px;
        height: 7px;
        background: #dc3545;
        box-shadow: 0 4px 8px rgba(223, 36, 36, 0.2);
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        clip-path: polygon(0 0, 48% 100%, 100% 0);
        /*rectangle clip path https://bennettfeely.com/clippy/ */
        /* border-radius: 50%; */
        transform: scale(0);
        transition: all 0.3s;
    }

    #navbarSupportedContent>.navbar-nav>li>a:hover:before {
        transform: scale(1);
    }
}

@media (min-width : 992px) {
    .ut-grow:hover {
        transform: scale(1.1);
    }
}

.ut-grow {
    transition: all 0.3s;
}

.nav-tr {
    transition: all 0.5s;
    padding: 10px 0;
}

.top-page {
    width: 100%;
    background: url('../images/back6.webp') top center no-repeat;
    background-size: cover;
    height: 100vh;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    line-height: 1.5;
}

fieldset {
    border: 2px groove #dee2e6;
    background-color: white;
}

legend {
    float: none;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2px;
}

input[type="radio"] {
    margin-right: 0px !important;
}

.nav-tabs {
    --bs-nav-tabs-border-color: green;
    --bs-nav-tabs-link-active-border-color: green green #e7fae7;
    --bs-nav-tabs-link-active-bg: #e7fae7;
    --bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef green;
}

.tabc-style {
    background-color: #e7fae7;
    margin: 0;
    border: 1px solid green;
    border-width: 0px 1px 1px 1px;
    border-radius: 0 0 0.25rem 0.25rem;
}

form {
    background-color: #e7fae7;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.form-check-input {
    border-color: green;
    box-shadow: 0px 0 3px black;
}

.form-floating>.form-control:not(:placeholder-shown) {
    padding-bottom: 0.1rem;
}

.seccess {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: #56fa56;
    color: black;
    padding: 1rem;
    border-radius: 5px;
    border: 5px solid yellow;
    z-index: 999;
    opacity: 1;
    transition: all 400ms ease;
}

.visib {
    visibility: hidden;
    opacity: 0;
}

#progressCanvas {
    z-index: 999;
    padding: 20px;
    background-color: green;
    border-radius: 50%;
}

#backcanva {
    background-color: rgba(240, 255, 255, 0.34);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 998;
    width: 100vw;
    height: 100vh;
    display: none;
}

/*carousel */
.carousel-indicators .active {
    background-color: #0dff0d;
}

.carousel-indicators {
    background-color: #0000005e;
    box-shadow: 1px 1px 10px green;
    border-radius: 5px;
    margin-bottom: 5px;
}

/* vertical image scroll animation */
.mfox-img-scroll img {
    transition: transform 5s ease;
    height: auto;
    transform: translateY(0px);
}

.mfox-img-scroll img:hover {
    transform: translateY(calc(-100% + 300px));
}

.mfox-fix-height {
    max-height: 300px;
}

/* pulse */
.mfox-pulse:hover,
.mfox-pulse:focus {
    animation: mfox-pulse-effect 1s;
    box-shadow: 0 0 0 1em transparent;
}

/* accardeon btn style */
.mfox-acrdn a.btn {
    position: relative;
    z-index: 2;
    overflow: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.mfox-acrdn a.btn:hover {
    color: white;
}

.mfox-acrdn a.btn::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 0%;
    width: 100%;
    background: #0aa90a;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    border-radius: 0;
    z-index: -1;
}

.mfox-acrdn a.btn:hover::before {
    height: 100%;
}

/* animation border */

.mfox-mborder::before {
    border-radius: 8px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    content: '';
    position: absolute;
    width: 100%;
    height: 200%;
    background: linear-gradient(#3dad10, #58f530);
    animation: mrotate 5s linear infinite;
}

.mfox-mborder {
    align-items: center;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    background-color: #eee;
    overflow: hidden;
}

.mfox-mborder::after {
    border-radius: 8px;
    content: '';
    position: absolute;
    background: #ffffff;
    inset: 3px;
}

.mfox-mborder>* {
    z-index: 1;
}

/* rotate icon */
.mfox-rotate>div:hover .mfox-target {
    transform: rotate(360deg);
    transform-origin: center center;
}

.mfox-rotate .mfox-target {
    transition: all 0.7s ease-in-out;
}

.mfox-rotate .mfox-target i {
    display: flex;
    justify-content: center;
}

/* accardeon btn 2 style */
.mfox-acrdn2 button {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.mfox-acrdn2 button:hover {
    color: black;
}

.mfox-acrdn2 button::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #ffc107;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    border-radius: 0;
    z-index: -1;
}

.mfox-acrdn2 button::after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #ffc107;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    border-radius: 0;
    z-index: -1;
}

.mfox-acrdn2 button:hover::before,
.mfox-acrdn2 button:hover::after {
    width: 50%;
}

/* small dot on button */
.mfox-dot a:before {
    z-index: 1;
    content: '';
    position: absolute;
    right: 18px;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    background: red;
    border: 3px solid blue;
    border-radius: 100px;
    width: 10px;
    height: 10px;
    animation: mfox-pulse-effect 1s infinite;
    box-shadow: 0 0 0 1em transparent;
}

.mfox-dot a {
    position: relative;
}

/* mfox running shine on pic */
.mfox-shine .mfox-target::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.mfox-shine .mfox-target {
    position: relative;
    overflow: hidden;
}

.mfox-shine:hover .mfox-target::before {
    -webkit-animation: mfoxshine 1.5s;
    animation: mfoxshine 1.5s;
}

/* back of logo */
.mfox-logbak .mfox-target:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    transform: rotate(20deg);
    border-radius: inherit;
    background: blue;
    border-radius: 10px;
    Transition: all 0.3s ease-in-out;
}

.mfox-logbak:hover .mfox-target:before {
    transform: rotate(-20deg);
    background: red;
}

.mfox-logbak .mfox-target {
    position: relative;
    background: white;
    border-radius: 10px;
    width: fit-content;
}

/* repair container */
.container {
    max-width: 90% !important;
}

/* rating styles */
.mfox-rating {
    list-style: none;
    direction: ltr;
    margin-bottom: 0;
}

.mfox-rating li {
    display: inline-block;
}

.mfox-rating li i {
    color: #ffaa30;
}

@keyframes mfox-pulse-effect {
    0% {
        box-shadow: 0 0 0 0 rgb(155, 230, 93);
    }
}

@keyframes mrotate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes mfoxshine {
    100% {
        left: 125%;
    }
}

/* common styles */
.lh-0 {
    line-height: 0 !important;
}

.cursor-pointer {
    cursor: pointer !important;
}



/*  dark mode styles */
.mfox-dark {
    color-scheme: dark;
    --bs-body-color: rgb(238, 236, 236);
    --bs-body-color-rgb: 238, 236, 236;
    --bs-body-bg: #121212;
    --bs-body-bg-rgb: 33, 37, 41;
    --bs-success-bg-subtle: #619861;
    --bs-dark-rgb: 255, 255, 255;
    --bs-secondary-color: rgb(238, 236, 236);
    --bs-card-bg: #121212;
    --bs-secondary-bg-rgb: 61, 99, 61;
    --bs-modal-bg: #121212;
    --bs-success-rgb: 141, 247, 198;
}

.mfox-dark .btn-close {

    --bs-btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>");
}

.mfox-dark .navbar {
    --bs-navbar-brand-color: rgb(238, 236, 236);
    --bs-navbar-brand-hover-color: white;
    --bs-navbar-active-color: white;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mfox-dark .navbar-nav {
    --bs-nav-link-color: rgb(238, 236, 236);
    --bs-nav-link-hover-color: white;
}

.mfox-dark .nav {
    --bs-nav-link-color: rgb(238, 236, 236);
    --bs-nav-link-hover-color: white;
}

.mfox-dark .nav-tabs {
    --bs-nav-tabs-link-active-bg: #3d633d;
    --bs-nav-tabs-link-active-color: white;
    --bs-nav-tabs-link-active-border-color: #3d633d;
}

.mfox-dark .dropdown-menu {
    --bs-dropdown-link-hover-bg: #4e7c4e;
    --bs-dropdown-link-color: rgb(238, 236, 236);
    --bs-dropdown-bg: #3d633d;
}

.mfox-dark .navbar-toggler:focus {
    color: rgb(238, 236, 236) !important;
}

.mfox-dark .mfox-mborder::after,
.mfox-dark fieldset {
    background: #121212 !important;
}

.mfox-dark .card {
    border: 2px solid #ffaa30;
}

.mfox-dark form,
.mfox-dark .tabc-style {
    background-color: #3d633d !important;
}

.mfox-dark .link-success:hover,
.mfox-dark .link-success:focus {
    color: rgb(108, 248, 183) !important;
}

.mfox-dark a:active,
.mfox-dark a:visited {
    border: none !important;
}

.mfox-dark #mfox_intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.mfox-dark .mfox-zindexs>div {
    z-index: 3 !important;
}

@media (max-width: 767px) {
    .mfox-dark nav {
        background-color: #6bad6b !important;

    }
}

.mfox-dark #mfox_intro {
    position: relative;
}

.mfox-dark .form-floating> :disabled~label {
    color: #dad9d9 !important;
}

.mfox-dark .form-control:disabled {
    background-color: #2e4a2e !important;
}

/* loader */
.loader-111 {
    font-size: 31px;
    font-weight: bold;
    color: #263238;
    text-shadow: 0 0 2px #FFF, 0 0 1px #FFF, 0 0 1px #FFF;
    letter-spacing: 2px;
    position: relative;
}

.loader-111::after {
    content: "درحال ارسال...";
    position: absolute;
    right: 0;
    white-space: nowrap;
    top: 1px;
    color: #FFF;
    width: 100%;
    height: 100%;
    overflow: hidden;
    animation: animloader111 6s linear infinite;
}

@keyframes animloader111 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* form styles */
.form-check-input:checked {
    background-color: green;
    border-color: green;
}

.form-switch .form-check-input:focus {
    --bs-form-switch-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='%2300FF00'/></svg>");
}

.form-check-input:focus {
    border-color: #30e773;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 0, 0.25);
}