﻿@font-face {
    font-family: IRANSans;
    src: url("/Content/font/fa-Iran-sans-web-light.woff2") format("woff2"),
		url("/Content/font/fa-Iran-sans-web-light.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: IRANSans;
    src: url("/Content/font/fa-Iran-sans-web-bold.woff2") format("woff2"),
		url("/Content/font/fa-Iran-sans-web-bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
}
@font-face {
    font-family: Roboto;
    src: url("/Content/font/Roboto-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: Roboto;
    src: url("/Content/font/Roboto-bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
}
html, body{
    height: 100%;
}
body {
    font-family: Roboto, IRANSans;
    width: 100%;
    height: 100%;
    font-size: 100%;
    direction: rtl;
    line-height: 1.5;
}
*:focus {
    outline: none !important;
}

input::placeholder, input::-webkit-input-placeholder,
textarea::placeholder, textarea::-webkit-input-placeholder,
.form-control::placeholder, .form-control::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--place-holder) !important;
    opacity: 1 !important; /* Firefox */
    font-style: italic !important;
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #bdbdbd;
    font-style: italic;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: #bdbdbd;
    font-style: italic;
}

/*OVERWRITING BS*/
.custom-control-label::after, .custom-control-label::before {
    left: unset;
    right: -1.5rem;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #4f0780;
}
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--outline-primary);
    background-color: #7306b0;
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(235, 0, 255, 0.25);
}
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(69, 0, 221, 0.5);
}
.custom-control.rtl {
	padding-left: 0;
	padding-right: 1.5rem;
}

.custom-switch.rtl {
    padding-left: 0;
    padding-right: 2.25rem;
}
.custom-switch.rtl .custom-control-label::before {
	left: unset;
	right: -2.25rem;
}
.custom-switch.rtl .custom-control-label::after {
	left: unset;
	right: calc(-2.25rem + 2px);
}
.custom-switch.rtl .custom-control-input:checked ~ .custom-control-label::after {
	transform: translateX(-0.75rem);
}

.custom-select {
    padding: 0.375rem 0.75rem 0.375rem 1.75rem;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat left 0.75rem center/8px 10px;
}
.rounded {
    border-radius: 0.55rem !important;
}
.dropdown-item:hover, .dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.05);
}
.dropdown-toggle::after {
    margin-right: 0.5em;
    margin-left: unset;
}
.table-hover tbody tr:hover {
    color: inherit !important;
}
.table td {
    vertical-align: middle;
}

/* Modal */
.modal .modal-header .back {
	padding: 1rem 1rem;
	margin: -1rem 1rem -1rem -1rem;
	background: transparent;
	border: none;
	color: inherit;
	opacity: .5;
}
.modal .modal-header .back:hover {
	opacity: 1;
}
	/* for scrollbar defualt dir */
.modal .modal-body {
	direction: ltr;
}
.modal * {
	direction: rtl;
}

/* btns */
.btn-outline-primary {
    border-style: solid;
    border-width: 0.15rem;
    border-color: var(--outline-primary);
    color: var(--outline-primary);
}
.btn-outline-primary:hover, .btn-outline-primary:not(:disabled):not(.disabled).active {
    border-color: var(--outline-primary) !important;
    background-color: var(--outline-primary) !important;
    color: var(--text-body-reverse);
}

/* pagination */
.page-link {
    background-color: var(--bg-primary-1) !important;
}
.page-item.active .page-link {
    background-color: var(--bg-secondary-3) !important;
    border-color: var(--bg-secondary-3) !important;
}

                /*FIX SPECTRUM*/
.sp-colorize-container {
    background-image: none !important;
}

.sp-container {
    direction: ltr !important;
}

                /*Main Classes*/
.d-none {
    display: none !important;
}
.pointer {
    cursor: pointer;
}
.rtl{
    direction: rtl !important;
}
.ltr {
    direction: ltr !important;
}
.mh-85 {
    max-height: 85vh;
}
.h-0 {
    height: 0 !important;
}
.border-dashed {
    border-style: dashed !important;
    border-width: .1rem;
}
.lineh-1 {
    line-height: 1 !important;
}
.text-overflow-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
}
.top-0 {
	top: 0 !important;
}
.right-0 {
	right: 0 !important;
}
.bottom-0 {
	bottom: 0 !important;
}
.left-0 {
	left: 0 !important;
}

.thin-scroll{
    scrollbar-width: thin;
}
.bg-none {
    background-color: transparent !important;
}
.rounded-right {
    border-radius: 0px 10px 10px 0px;
}
.rounded-left {
    border-radius: 10px 0px 0px 10px;
}
.form-control:focus, .focus-border:focus {
    border-color: #56e6ed !important;
    box-shadow: 0 0 0 0.2rem rgba(87, 210, 216, 0.37) !important;
}
input.no-focus:focus, textarea.no-focus:focus {
	border-color: none !important;
	box-shadow: none !important;
}
.FA-shadow, *[class*="fa-"] {
    filter: drop-shadow(0.1rem .1rem 2px rgba(0, 0, 0, 0.15)) !important;
}
.FA-shadow-none {
    filter: none !important;
}
.flip-h {
	transform: scale(-1, 1);
}
.flip-v {
	transform: scale(1, -1);
}
.alarm-counter {
    background-color: tomato;
    position: absolute;
    top: -0.5em;
    left: 1em;
    font-size: .60em;
    display: inline-block;
    line-height: 1;
    padding: 2px;
}

  /* Loading Css */
.loading {
    color: #8FE1B5;
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1100;
    background-color: #0009;
}
.loading div{
	position: relative;
	z-index: 1500;
}

/* Toast Alert Classes */
#toast-alert {
    position: fixed;
    bottom: 15px;
    left: 5px;
    max-width: 500px;
    width: 100%;
    z-index: 1055;
}
#toast-alert span {
    margin: 0;
    padding: .5em 0;
    line-height: 1em
}
#toast-alert .err, #toast-alert .suc {
    position: relative;
    display: none;
    font-size: .8em;
    line-height: 3em;
    border-radius: 10px;
    margin: 1em auto;
    width: 100%;
    text-align: center;
}
#toast-alert .err {
    background-color: #d44747;
    color: #fff;
}
#toast-alert .suc {
    background-color: #25a121;
    color: #fff;
}
.err .fa-times, .suc .fa-times {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 1.2em;
    cursor: pointer;
}

.main-header {
    position: relative;
    z-index: 15;
}
#header-alarms button::after {
    display: none !important;
}
#header-alarms .bell-cnt {
    display: -ms-flexbox;
    display: flex;
    top: 0.5rem;
    right: -0.5rem;
    z-index: 1;
}
#header-alarms .bell-cnt span {
    min-width: 1.1rem;
    font-size: 63%;
    height: 1rem;
    line-height: 1;
    background-color: #ff7676;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    width: 300px;
	transform: translateX(300px);
	transition: all .4s ease;
}
.nav-menu.show {
	transform: translateX(0px);
}
.nav-menu ul{
    overflow-y: auto;
    scrollbar-width: thin;
}
.nav-menu a {
    color: inherit;
}
.nav-menu a:hover {
    text-decoration: none;
}
.nav-menu-back {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000a1;
    z-index: 49;
}
.nav-menu-item {
    background-color: var(--bg-primary-1);
}
.nav-menu-item.active, .nav-menu-item:hover {
    background-color: var(--bg-secondary-3);
}
.card-elm {
    max-width: 350px;
    width: 100%;
    height: 150px;
}

.profile-info-container {
    min-width: 20rem;
}
.profile-info-container .info-wrap {
    min-width: 15rem;
}

.elem-header {
    border-bottom-style: solid;
    border-bottom-color: #b5b5b5;
    border-bottom-width: 5px;
}
.elem-header .active {
    color: var(--text-primary) !important;
    background-color: var(--bg-secondary-5) !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    border-bottom-style: solid;
    border-bottom-color: var(--bg-secondary-3);
    border-bottom-width: 5px;
    margin-bottom: -5px !important;
}
.elem-footer {
    border-top-style: solid;
    border-top-color: #b5b5b5;
    border-top-width: 5px;
}
.elem-body .sub-title {
    border-bottom-style: solid;
    border-bottom-width: 3px;
}

    /* cars plate css */
.meli-plate, .azad-plate {
	border-color: var(--text-body) !important;
}
.meli-plate {
    background-color: #fff;
}
.azad-plate {
    background-color: #6adcff;
}

.car-type {
    width: 150px;
}
.car-type .act-btns {
    display: none;
    top: 6px;
    left: 8px;
}
.car-type:hover .act-btns {
    display: block;
}

/* font fix for datepicker */
.mds-bootstrap-persian-datetime-picker-popover {
	font-family: inherit !important;
}

/* For Responsivenes */
@media (max-width:799px){
    .user-name{
        display: none !important;
    }
}

.bg-blue {
    background-color: #63c8f0 !important;
}
.bg-pinc {
    background-color: #ff99cc !important;
}

.bg-light-blue {
    background-color: #ccccff !important;
}

.bg-cyian {
    background-color: #ccffff !important;
}
.bg-light-green {
    background-color: #ccffcc !important;
}

.toast-text {
    line-height: 2.0 !important;
}

table tr th {
    white-space: nowrap;
}

table td {
    white-space: nowrap;
}

.elem-summary {
    flex-wrap: wrap;
}

.summary-box {
    width: 22%;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .elem-summary {
        flex-direction: column !important;
        align-items: center;
        gap: 1rem;
    }

    .summary-box {
        width: 90%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .summary-box {
        width: 100%;
    }
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.hover-effect:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.payment-filters-button {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

    .payment-filters-button button {
        white-space: nowrap;
        width: 100%;
    }

@media (max-width: 576px) {
    .payment-filters-button {
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .payment-search-section {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .card-button-suspended-carriers {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        gap: 10px;
    }

        .card-button-suspended-carriers .price-badge {
            font-size: 10px;
        }
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-40 {
    opacity: 0.4;
}

.opacity-30 {
    opacity: 0.3;
}