﻿@font-face {
    font-family: 'IRANsans';
    src: url('/_content/Redmask.Taghelpers/lib/fonts/iransans.ttf') format('truetype'), url('/_content/Redmask.Taghelpers/lib/fonts/iransans.ttf') format('truetype');
}


*:not(.la):not(.las):not(.lab):not(.fa):not(.glyphicon):not(.mdtp__digit):not(.mdtp__time_holder):not(.mce-ico):not(.bx):not(.k-icon):not([class^="icofont-"]):not([class*="icofont"]) {
    font-family: IRANsans !important;
    /*direction: rtl !important;*/
}


/************admin-lte rtl */
*:not(.ltr):not(.input-group):not(.tox-textarea) {
    direction: rtl !important;
}

.tox-textarea {
    text-align: left !important;
    direction: ltr !important;
}

.ltr {
    direction: ltr !important;
}

.layout-fixed .main-sidebar {
    right: 0;
}

.brand-image {
    float: right;
}

.content-wrapper, .main-footer, .main-header {
    margin-left: 0px !important;
    margin-right: 250px;
    text-align: right;
    /*direction: rtl;*/
}

.blank {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.mr-auto-navbav {
    margin-right: auto !important;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: .5rem;
    padding-left: .5rem;
}

[class*=icheck-] > input:first-child:checked + input[type=hidden] + label::after,
[class*=icheck-] > input:first-child:checked + label::after {
    right: 15px;
    left: auto;
}

.nav {
    text-align: right;
}

.nav-sidebar {
    padding-right: 0 !important;
}

    .nav-sidebar .nav-link > .right,
    .nav-sidebar .nav-link > p > .right {
        left: 1rem;
        right: auto;
    }

        .nav-sidebar .nav-link > .right:nth-child(2),
        .nav-sidebar .nav-link > p > .right:nth-child(2) {
            left: 2.2rem;
            right: auto;
        }

.small-box .icon > i {
    left: 15px;
    right: auto;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem !important;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .main-sidebar, .main-sidebar::before {
        box-shadow: none !important;
        margin-right: -250px;
    }

    .content-wrapper, .content-wrapper::before, .main-footer, .main-footer::before, .main-header, .main-header::before {
        margin-right: 0;
    }

    .sidebar-open .main-sidebar, .sidebar-open .main-sidebar::before {
        margin-right: 0;
    }
}

/*******************************/

div.mce-fullscreen {
    z-index: 1038;
}

td[role="gridcell"] i {
    font-size: 17px;
}

[role="grid"] td {
    text-align: right;
}

.tox-dialog__content-js {
    direction: ltr !important;
}

.tox-textfield {
    text-align: left;
}

.text-sm {
    font-size: 0.75rem !important
}

body {
    line-height: 1;
}


.nav-tabs .nav-item {
    line-height: 2rem;
}




/*nav .las,nav .lab, */
[role="grid"] .las {
    font-size: 19px;
}

.k-grid td, .k-grid th {
    overflow: inherit;
}

.popover {
    max-width: 320px;
}





.input-group > .form-control:not(:last-child), 
.input-group > .custom-select:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.input-group:not(.has-validation) > .custom-file:not(:last-child) .custom-file-label::after, 
.input-group:not(.has-validation) > .custom-select:not(:last-child), 
.input-group:not(.has-validation) > .form-control:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.input-group > .input-group-append > .btn, 
.input-group > .input-group-append > .input-group-text, 
.input-group > .input-group-prepend:first-child > .btn:not(:first-child), 
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child), 
.input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
