﻿body {
    direction: rtl;
    font-family: Tahoma;
    text-align: right;
}

button, input, select {
    font-family: Tahoma;
}

.mellat-hf {
    background-color: #bde1f9 !important;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /*width: 100%;
    height: auto;
    padding: 15px;*/
    z-index: 1;
    text-align: center;
}

@media print {
    body a:link:after, body a:visited:after {
        content: "";
    }

    body * {
        visibility: hidden;
        direction: rtl;
    }

    #section-to-print, #section-to-print * {
        visibility: visible;
    }

    #section-to-print {
        position: fixed;
        left: 0;
        top: 0;
    }

    tr.noPrint >td{
        display: none;
    }
}


/*==========================boot strap======================*/
.login-dropdown .dropdown-menu {
    min-width: unset !important;
    width: 180px;
    text-align: center !important;
}

/*boot strap navbar problem in TRL*/
.mr-auto, .mx-auto {
    margin-left: auto !important;
    margin-right: unset !important;
}

.dropdown-menu {
    text-align: right !important;
}

.dropdown-toggle::before {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown-toggle::after {
    display: none !important;
}

.modal-header .close {
    margin: -1rem;
}

/*Check box label right-----------------------------------*/
.custom-control.custom-checkbox {
    padding-left: 0;
}

label.custom-control-label {
    position: relative;
    padding-right: 1.5rem;
}

    label.custom-control-label::before, label.custom-control-label::after {
        right: 0;
        left: auto;
    }
/*------------------------------------------------------*/

.pre-scrollable {
    max-height: 500px;
}
    /*==========================================================*/
    /*====================PersianDatePicker==================*/
    .input-group-prepend, .input-group-text {
    border-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 38px;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-right: -1px;
    border-radius: 0.25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-prepend, .input-group-text, img {
    height: 38px;
}
/*==========================================================*/
