@font-face {
    font-family: Samim;
    src: url('../fonts/Samim.eot');
    src: url('../fonts/Samimd41d.eot?#iefix') format('embedded-opentype'), url('../fonts/Samim.html') format('woff'), url('../fonts/Samim.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Samim;
    src: url('../fonts/Samim-Bold.eot');
    src: url('../fonts/Samim-Boldd41d.eot?#iefix') format('embedded-opentype'), url('../fonts/Samim-Bold.html') format('woff'), url('../fonts/Samim-Bold.ttf') format('truetype');
    font-weight: bold;
}

body {
    direction: rtl;
    text-align: right !important;
    font-family: Samim !important
}

.sidebar .nav {
    padding-right: 0
}

.sidebar .nav-item, .sidebar .nav-title {
    text-align: right
}

.card-header > i {
    margin-left: 0.5rem;
    margin-right: auto;
}

.card-header .card-actions {
    position: absolute;
    top: 0;
    left: 0;
    right: auto
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem auto -1rem -1rem !important;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-right: -1.25rem;
    margin-left: auto !important;
}

.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-left: 0.3125rem !important;
    margin-right: 0 !important;
}

ul {
    padding-right: 0
}

.dropdown-header {
    text-align: right
}

.card-header .card-actions a, .card-header .card-actions button {
    border: 0 !important;
    border-right: 1px solid #a4b7c1 !important;
}

.alert-dismissible .close {
    right: auto !important;
    left: 0 !important
}

.alert-dismissible {
    padding-left: 3.8125rem !important;
    padding-right: 1.25rem !important;
}

.sidebar .sidebar-minimizer::before {
    position: absolute;
    top: 0;
    right: auto !important;
    left: 0 !important;
    transform: rotate(-180deg);
}

.sidebar-minimized .sidebar .sidebar-minimizer::before {
    width: 100%;
    -webkit-transform: rotate(0deg) !important;
    transform: rotate(0deg) !important;
}

@media (min-width: 992px) {
}

@media (max-width: 991.98px) {
    [dir="rtl"] .sidebar-fixed .main, [dir="rtl"] .sidebar-fixed .app-footer {
        margin-right: 0;
    }

    .sidebar-mobile-show .main {
        margin-left: -220px !important;
        margin-right: 220px !important;
    }

    .sidebar {
        margin-right: -220px;
        margin-left: 0;
    }

    .sidebar-mobile-show .sidebar {
        width: 220px;
        margin-right: 0;
    }
}

/**************************/
.ng-confirm.ng-confirm-material .ng-confirm-box div.ng-confirm-closeIcon {
    color: #000000;
    color: rgba(0,0,0,0.87);
    line-height: 20px;
    top: 15px;
    left: 15px;
    right: auto;
}

.ng-confirm .ng-confirm-box div.ng-confirm-closeIcon {
    height: 20px;
    width: 20px;
    position: absolute;
    top: 5px;
    left: 5px;
    cursor: pointer;
    -ms-opacity: .6;
    opacity: .6;
    text-align: center;
    -webkit-transition: opacity .3s ease-in;
    -ms-transition: opacity .3s ease-in;
    -o-transition: opacity .3s ease-in;
    transition: opacity .3s ease-in;
    font-size: 27px !important;
    line-height: 14px;
    font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
    right: auto;
}

.table {
    margin-bottom: 0;
}

    .table thead th, .table thead td, .table tfoot td, .table tfoot th {
        position: relative;
        text-align: center;
    }


.sort-icon:after {
    font-family: FontAwesome;
    top: -2px;
    content: '\f0dc';
    color: #212121;
    position: absolute;
    left: 0;
    top: 8px;
    display: block;
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.sort-up:after {
    font-family: FontAwesome;
    top: -2px;
    content: '\f0de';
    color: #212121;
    position: absolute;
    left: 0;
    top: 8px;
    display: block;
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.sort-down:after {
    top: -2px;
    content: '\f0dd';
    color: #212121;
    position: absolute;
    left: 0;
    top: 8px;
    display: block;
    width: 18px;
    height: 18px;
    font-size: 18px;
    font-family: FontAwesome;
}



.uk-table thead th, .uk-table tfoot td, .uk-table tfoot th {
    position: relative;
}

.sort-icon.sort-down.ng-hide, .sort-icon.sort-up.ng-hide {
    display: block !important;
}


    .sort-icon.sort-down.ng-hide:after, .sort-icon.sort-up.ng-hide:after {
        font-family: FontAwesome;
        top: -2px;
        content: '\f0dc';
        color: #212121;
        position: absolute;
        left: 0;
        top: 8px;
        display: block;
        width: 18px;
        height: 18px;
        font-size: 18px;
    }


.ui-datepicker-year, .ui-datepicker-month {
    height: 2.1875rem;
    /*padding: .375rem 1rem;*/
    font-size: 1rem;
    line-height: 1.52857;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dde6e9;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}



.file-area {
    width: 100%;
    position: relative;
}

    .file-area input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        cursor: pointer;
    }

    .file-area .file-dummy {
        outline: 2px dashed rgb(15, 150, 191);
        outline-offset: -5px;
        padding: 20px;
        background: #ffffff;
        background: rgba(71, 79, 133, 0.07);
        /* border: 2px dashed rgb(71, 79, 133); */
        text-align: center;
        transition: outline-offset .15s ease-in-out, background-color .15s linear;
    }

    .file-area .file-input.dragover ~ .file-dummy {
        background-color: #474f85;
        background-color: rgba(71, 79, 133, 0.43);
        /*border: 2px dotted #474f85;*/
        outline-offset: -8px;
        outline: 2px dashed rgb(71, 79, 133);
        transition: outline-offset .15s ease-in-out, background-color .15s linear;
    }

    .file-area .file-dummy i {
        font-size: 45px;
    }

    .file-area .file-dummy .success {
        display: none;
    }

.bg-danger + .file-dummy {
    background: rgba(245, 0, 0, 0.23) !important;
    background-color: rgba(245, 0, 0, 0.23) !important;
    /*border: 2px dotted #474f85;*/
    outline-offset: -8px;
    outline: 2px dashed rgba(245, 0, 0, 0.23);
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}

.bg-info + .file-dummy {
    background: rgba(52, 234, 52, 0.56) !important;
    background-color: rgba(52, 234, 52, 0.56) !important;
    /*border: 2px dotted #474f85;*/
    outline-offset: -8px;
    outline: 2px dashed rgba(0, 128, 0, 0.56);
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}

.parsley-error {
    border-color: #f05050 !important
}

.parsley-equalto, .parsley-required, .parsley-type {
    color: #f05050
}

.parsley-errors-list {
    display: none;
    margin: 0;
    padding: 0
}

    .parsley-errors-list.filled {
        display: block
    }

    .parsley-errors-list > li {
        font-size: 12px;
        list-style: none;
        color: #f05050
    }
