.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.form-control, .search-widget form input[type="text"] {
    text-align: right;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.d-none {
    display: none;
}

input[type="number"] {
    direction: ltr;
}

[class*="col-"] {
    float: right;
}

.contract {
}

    .contract .details div {
        min-height: 40px;
        vertical-align: middle;
        /*line-height: 300%;*/
        margin-top: 4px;
    }

        .contract .details div a {
            color: blue;
            font-weight: 800;
        }

    .contract .details .col-sm-2 {
        background-color: #d0d0d0;
    }

    .contract .details .col-sm-4 {
        background-color: #f0f0f0;
    }
/*.contract .details div:nth-child(4n) {
            background-color: #e0e0e0;
        }

        .contract .details div:nth-child(4n+1) {
            background-color: silver;
        }

        .contract .details div:nth-child(4n+3) {
            background-color: #e0e0e0;
        }

        .contract .details div:nth-child(4n+2) {
            background-color: silver;
        }*/

#Contract_AccountName,
#Contract_AccountNumber,
#Contract_AccountCardNumber {
    font-size: 20px;
    color: #000;
}

#snack {
    position: fixed;
    bottom: 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    z-index: 2;
    display: none;
}

    #snack span {
        background: rgb(0 0 0 / 1);
        color: white;
        padding: 15px 30px;
        font-size: 16pt;
        border-radius: .125rem;
    }

#search_block_top .btn.button-search {
    margin: 0;
}


/*Begin DataTable*/
.dataTables_filter {
    display: none;
}

.div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
    padding: 0 !important;
}

.pagination {
    margin-top: 5px;
    margin-bottom: 0;
    padding: 7px 3px 1px 3px;
}

table.table {
    margin-top: 1rem;
}

    table.table td[data-name="deviceModel"] {
        direction: ltr;
        text-align: left;
    }

    table.table td .btn, table.table th .btn {
        padding: .5rem 1.5rem !important;
    }

div.dataTables_wrapper div.dataTables_filter label, div.dataTables_wrapper div.dataTables_length label {
    padding-bottom: 0 !important;
    margin-bottom: 7px !important;
}

table.table td input[type="checkbox"], table.table th input[type="checkbox"] {
    width: 20px;
}

/*End DataTable*/
.select2-container--default .select2-selection--single {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ebebeb !important;
    display: block;
    font-size: 14px;
    min-height: 35px;
    padding: 0 20px;
    line-height: 20px;
    transition: border-color 0.15s ease-in-out 0s,box-shadow 0.15s ease-in-out 0s;
    width: 100%;
    border-radius: unset !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    direction: rtl;
    text-align: right;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-results__option,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    direction: rtl;
    text-align: right;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: 2px;
    padding-left: 20px !important;
    padding-right: 8px !important;
}

#header_mobile_menu .fieldmegamenu .fieldmegamenu-mobile-handle {
    float: left;
}

#header_menu .fieldmegamenu .menu-items {
    direction: rtl;
    text-align: right;
    display: flex;
}

    #header_menu .fieldmegamenu .menu-items ul {
        padding-inline-start: 0px;
        padding-inline-end: 40px;
    }

@media (max-width: 414px) {
    #header_mobile_menu .fieldmegamenu .root:not(.demo_custom_link_cms) .menu-items > .menu-item {
        direction: rtl;
        text-align: right;
    }
}

@media (min-width: 992px) {
    .p-r-md-25 {
        padding-right: calc(25% + 25px) !important;
    }
}
