@font-face {
    font-family: 'YekanBakh';
    src: local('MyFont'), url(../fonts/yekan-bakh/yekan-bakh-regular.woff) format('woff');
    font-weight: 300;
}
@font-face {
    font-family: 'YekanBakh';
    src: local('MyFont'), url(../fonts/yekan-bakh/yekan-bakh-medium.woff) format('woff');
    font-weight: 400;
}
@font-face {
    font-family: 'YekanBakh';
    src: local('MyFont'), url(../fonts/yekan-bakh/yekan-bakh-bold.woff) format('woff');
    font-weight: 500;
}
@font-face {
    font-family: 'YekanBakh';
    src: local('MyFont'), url(../fonts/yekan-bakh/yekan-bakh-heavy.woff) format('woff');
    font-weight: 700;
}
[x-cloak] {
    display: none !important;
}
body.rtl{
    overflow-x: hidden !important;
}
body.rtl,
.tp-login-title,
.modal-title {
    font-family: 'YekanBakh', sans-serif;
    text-align: right;
    direction: rtl;
}

[dir='rtl'] .dropdown-menu-right {
    right: auto !important;
    left: 0px !important;
}
[dir='rtl'] .dropdown-menu .dropdown-item > i,
[dir='rtl'] .dropdown-menu .dropdown-item > svg {
    margin-left: 1rem;
    margin-right: 0 !important;
}

[dir='rtl'] .dropdown-menu .dropdown-item,
[dir='rtl'] .dropdown-header,
[dir='rtl'] .form-control {
    text-align: right;
}

[dir='rtl'] .card .card-header h4 + .card-header-action,
[dir='rtl'] .card .card-header h4 + .card-header-form {
    margin-left: unset;
    margin-right: auto;
}

[dir='rtl'] select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHBvbHlnb24gY2xhc3M9ImNscy0yIiBwb2ludHM9IjEuNDEgNC42NyAyLjQ4IDMuMTggMy41NCA0LjY3IDEuNDEgNC42NyIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIzLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zMyAzLjU0IDUuMzMiLz48L3N2Zz4=)
        no-repeat 108% 50%;
}
[dir='rtl'] .custom-toggle-slider {
    margin-left: 5px;
}
[dir='rtl'] .modal-header .btn-close {
    margin: 0 !important;
}
[dir='rtl'] .card-header-form {
    margin-left: 0 !important;
    margin-right: auto !important;
}
[dir='rtl'] .navbar-vertical .navbar-nav .nav-link[data-toggle='collapse']::after {
    margin-right: auto;
    margin-left: 0;
}

.bg-glass {
    background: rgba(18, 30, 74, 0.22);
    backdrop-filter: blur(9.5px);
    -webkit-backdrop-filter: blur(9.5px);
}
.tplogin .tp-signup {
    margin-top: 10px !important;
}
.custom-input {
    background: transparent !important;
    border: 1px solid rgba(59, 131, 246, 0.267) !important;
    border-radius: 12px !important;
    color: #95a0b1 !important;
    text-align: center !important;
}

.btn-custom {
    background-color: #3b82f6 !important;
    font-size: 16px !important;
    font-weight: lighter !important;
}
.btn-hover-custom {
    color: #3b82f6 !important;
    font-size: 16px !important;
    font-weight: lighter !important;
    transition: all 0.2s ease-in-out !important;
}
.btn-hover-custom:hover {
    background-color: #3b82f6 !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: lighter !important;
}
.invalid-feedback {
    color: #ff6574 !important;
    font-weight: lighter !important;
}

[dir='rtl'] .modal-header .close {
    margin-left: 0 !important;
}
.cursor-pointer {
    cursor: pointer;
}
/* RTL Fix for Sidenav on mobile */
@media (max-width: 1199.98px) {
    .rtl .sidenav.fixed-right {
        transform: translateX(62px) !important;
    }

    .rtl .sidenav.fixed-right + .main-content {
        margin-right: 0 !important;
    }

    .rtl .g-sidenav-pinned .sidenav.fixed-right {
        transform: translateX(0) !important;
    }
    [dir="rtl"] .navbar-top .nav-item .dropdown-menu{
        left: auto !important;
        right:3% !important;
        width: 90% !important;
    }
    [dir="rtl"] .g-sidenav-pinned .sidenav.fixed-right {
        transform: translateX(0) !important;
    }
}
.dropdown-menu-lg{
    min-width: 300px;
}
