﻿.text-left
{
    text-align: left !important;
}
:root {
    --bgTableHeader: #83b7ea;
    --colorTableHeader: #fff;
    --bgSubmenuActive: #83b7ea;
    --colorSubmenuActive: #fff;
}


.swal2-modal .swal2-content, .datepicker-plot-area, .swal2-modal .swal2-styled {
    font-family: IRANSansfanum;
}

.form-control[readonly] {
    background-color: #efefef;
    cursor: not-allowed;
}

.alert-response {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    padding: 10px;
}

    .alert-response .alert {
        padding: 0.25rem !important;
    }

        .alert-response .alert p {
            margin-bottom: 0.25rem !important;
        }

        .alert-response .alert .btn-close {
            position: absolute;
            top: 0;
            left: 0;
            margin: 0.75rem;
        }

.invalid-tooltip {
    position: relative !important;
    padding: .25rem .5rem !important;
    margin-top: .1rem !important;
    font-size: .75rem !important;
    color: rgba(220,53,69,.9) !important;
    background-color: inherit !important;
}

.bg-profile {
    padding: 0px !important;
}

.public-profile {
    top: 80px !important;
}

.sticky-bar {
    top: 0px !important;
}

.progress-box .progress .progress-value {
    top: 8px !important;
    right: 0px !important;
    text-align: right !important;
}

.select2-container * {
    direction: rtl;
    font-size: 14px !important;
    line-height: 36px !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-container--default .select2-selection--single {
    height: 40px !important;
}

.form-control[type=file]:not(:disabled):not([readonly]) {
    cursor: pointer;
}

.form-group input[type=file] {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.relative .input-group {
    z-index: 1;
}

.relative {
    position: relative !important;
}

.portal-description {
    font-size: 0.8rem;
    text-align: justify;
    color: #999;
}


.modal-content {
    border-radius: 10px;
}

.modal * {
    direction: rtl;
}

.modal-header {
    padding: 0.5rem 1rem;
}

    .modal-header .close {
        position: absolute;
        left: 0;
        margin: -0.5rem -1rem -1rem 0.5rem !important;
        background: transparent;
        border: none;
        font-size: 25px;
    }

    .modal-header .modal-title {
        width: 100%;
    }

.hide {
    visibility: hidden;
}

.text-small {
    font-size: 0.8rem;
}

.display-none {
    display: none;
}

.mh-32 {
    max-height: 32px !important;
}

.mh-64 {
    max-height: 64px !important;
}

.mw-128 {
    max-width: 128px !important;
}

.mw-256 {
    max-width: 256px !important;
}

.ml-1 {
    margin-left: 0.25rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.vehicle-license {
    padding: 0px 15px;
    font-size: 24px;
}

.table-tsc {
    font-size: 0.8rem !important;
    text-align: center;
}

    .table-tsc thead tr {
        background-color: var(--bgTableHeader);
        color: var(--colorTableHeader);
    }

        .table-tsc thead tr th {
            font-weight: bold !important;
        }

    .table-tsc tbody tr td {
        font-weight: lighter !important;
        vertical-align: middle !important;
    }

.form-select option {
    font-family: IRANSansfanum !important;
}

.dropdown-toggle::after {
    margin-right: auto !important;
    font-size: 1.25rem !important;
}

.submenu {
    background-color: #2f55d4;
    ;
    text-indent: 10px;
}

    .submenu > li {
        padding: 10px 2px;
        background-color: #f9f9f9;
    }

        .submenu > li.active, .submenu > li:hover {
            background-color: var(--bgSubmenuActive);
        }

            .submenu > li.active > a, .submenu > li:hover > a {
                color: var(--colorSubmenuActive) !important;
            }

        .submenu > li > a {
            color: #000;
        }