/* ----------------------------------------------- */
/* ############### THEME OVERRIDES ############### */
/* ----------------------------------------------- */
body {
    word-spacing: 1px;
    overflow-x: hidden;
}

.br-sideleft, .settings-scrollbar{
    overflow: auto;
}

.br-sideleft::-webkit-scrollbar,
.settings-scrollbar::-webkit-scrollbar {
    width: 2px;
}

.br-sideleft::-webkit-scrollbar-track,
.settings-scrollbar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(255,255,255,0.3);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

.br-sideleft::-webkit-scrollbar-thumb,
.settings-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
}

.br-menu-link{
    font-size: 13px;
}

.tx-cairo {
    font-family: "Cairo", Arial, sans-serif;
}

.br-logo>a,
.br-logo>a img {
    width: auto;
    height: 50px;
    margin: auto;
}

.dropdown-menu-header {
    width: 350px;
}

.br-header-right .dropdown:last-child .dropdown-menu {
    width: 270px;
}

.media-list-link.un-read {
    background-color: #e9ecef;
}

.signin-logo img {
    width: auto;
    height: 70px;
    margin: auto;
    display: block;
}

.basic-layout-footer {
    position: absolute;
    left: 30px;
    bottom: 20px;
    right: 30px;
}

.basic-layout-footer a {
    color: #868ba1;
    text-decoration: underline;
}

.sk-double-bounce .sk-child {
    background-color: #128294;
}

.breadcrumb-item:not(.active):hover{
    text-decoration: underline;
}

.uploaded-img {
    width: auto;
    height: 100px;
    display: block;
    clear: both;
    margin-bottom: 20px;
    background: url(../img/transparent-img-upload-default.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    line-height: 100px;
    padding: 20px;
}

.custom-file {
    width: 100%;
    position: relative;
    display: inline-block;
    max-width: 100%;
    height: 2.5rem;
    margin-bottom: 0;
    cursor: pointer;
}

.custom-file-input {
    width: 100%;
    cursor: pointer;
    min-width: 14rem;
    max-width: 100%;
    height: 2.5rem;
    margin: 0;
    opacity: 0;
}

.custom-file-control {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    line-height: 1.7;
    color: #495057;
    pointer-events: none;
    user-select: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-file-control::before {
    content: "Browse";
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    z-index: 6;
    display: block;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    line-height: 1.7;
    color: #495057;
    background-color: #0866C6;
    color: #fff;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.langauge-switcher img {
    width: auto;
    height: 18px;
    position: relative;
    top: -1.5px;
    cursor: pointer;
}

.form-layout-footer .btn,
.form-layout-footer .sp-container button,
.sp-container .form-layout-footer button {
    font-size: 12px;
}

input,
textarea,
select,
select option {
    font-family: 'Cairo' !important;
}

.select2-container {
    width: 100% !important;
    z-index: 999999;
}

.tx-white-force{
    color: #fff !important;
}

.br-pagetitle.with-action .dropdown-menu .nav-style-2 i{
    text-align: center;
}

.sidebar-settings-item{
    display: block;
}

.sidebar-settings-item div{
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    -ms-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    transition: 0.3s linear;
}

.sidebar-settings-item:hover div, .sidebar-settings-item div.show{
    background: #1CAF9A;
    color: #ffffff;
    border-color: #1CAF9A !important;
}

.br-sideleft .br-sideleft-menu{
    display: none;
}

.br-sideleft .br-sideleft-menu.show{
    display: block;
}

@media (min-width: 992px){
    .expand-menu .br-sideleft .sidebar-label {
        visibility: visible;
        height: auto;
        margin: 5px auto 15px auto;
    }
}

@media (min-width: 992px){
    .collapsed-menu .br-sideleft .sidebar-label {
        visibility: hidden;
        margin: 0px;
        height: 0px;
    }
}

/* ----------------------------------------------- */
/* ################## PRELOADER ################## */
/* ----------------------------------------------- */
.preloader {
    width: 100vw;
    height: 100vh;
    display: block;
    background: #ffffff;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    z-index: 9999999;
}

.preloader .sk-double-bounce {
    margin: 0px 0px;
    margin: auto;
    top: calc(50vh - 20px);
}

/* ----------------------------------------------------------------------- */
/* ################## SOCIAL MEDIA PLATFORMS SELECT BOX ################## */
/* ----------------------------------------------------------------------- */
.social-media-platforms-dropdown .select2-search__field {
    width: 98%;
    margin: 5px 1%;
}

#select2-icon-container span i {
    font-size: 24px !important;
    position: relative;
    top: 3px;
}

.social-media-platforms-dropdown {
    margin: 0px;
}

.social-media-platforms-dropdown .select2-results__message {
    width: 98%;
    padding: 10px;
    margin: 5px;
}

.social-media-platforms-dropdown ul li {
    width: 10%;
    height: auto;
    display: block;
    float: left;
    border: 1px solid #e4e4e4;
    margin: 0px;
    padding: 20px 0px;
}

.social-media-platforms-dropdown ul li span {
    width: 100%;
    text-align: center;
    display: inline-block;
}

.social-media-platforms-dropdown ul li span i {
    width: 100%;
    height: auto;
    display: block;
    font-size: 22px;
    line-height: 0px;
    position: relative;
    top: 5px;
}

/* ------------------------------------------------------------------ */
/* ################## HOMEPAGE SLIDERS ACTIVE AREA ################## */
/* ------------------------------------------------------------------ */
#create-homepage-slide-form #show_button_active_area,
#update-homepage-slide-form #show_button_active_area{
    max-height: 0px;
    visibility: hidden;
    margin-top: 0px;
    border: none;
    padding: 0px;
}

#create-homepage-slide-form #show_button_active_area.show_area,
#update-homepage-slide-form #show_button_active_area.show_area{
    max-height: 15000px;
    visibility: visible;
    margin-bottom: 0px;
    margin-top: 20px;
    border: 1px solid #ced4da;
    padding: 30px;
}

/* ---------------------------------------------- */
/* ################## TOOLTUPS ################## */
/* ---------------------------------------------- */
.bs-tooltip-top {
    top: -6px !important;
    opacity: 1 !important;
    font-family: 'Cairo';
}

.tooltip-inner {
    background: #ffffff;
    color: #353535;
    border: 1px solid #e4e3e4;
    box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.16);
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    top: -1px;
    border-top-color: #ffffff;
}

/* ----------------------------------------- */
/* ############### TAB PANES ############### */
/* ----------------------------------------- */
.tab-panes{
    width: 100%;
    height: auto;
    display: inline-block;
    position: relative;
    top: 5px;
}

.tab-panes ul{
    width: auto;
    height: auto;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.tab-panes ul li{
    list-style: none;
    float: left;
    padding: 15px 20px;
    background: #ffffff;
    border-left: 0.5px solid rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.3s linear;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    -ms-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    position: relative;
}

.tab-panes ul li.active{
    transition: 0.3s linear;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    -ms-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    top: 1px;
}

.tab-panes ul li::before{
    content: '';
    position: absolute;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 4px;
    top: -4px;
    background: transparent;
    transition: 0.3s linear;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    -ms-transition: 0.3s linear;
    -o-transition: 0.3s linear;
}

.tab-panes ul li i{
    color: #b51f2e;
    font-size: inherit;
    display: none;
}

.tab-panes ul li i.show-tab-error{
    display: inline-block;
}

.tab-panes ul li:hover::before{
    background: #1D2939;
    opacity: 0.3;
}

.tab-panes ul li.active::before{
    background: #1D2939;
    opacity: 1;
}

.tab-panes ul li.active:hover{
    background: #ffffff;
}

.tab-pane-form{
    display: none;
}

.tab-pane-form:first-of-type{
    display: block;
}

@media only screen and (max-width: 900px){
    .tab-panes{
        display: none;
    }

    .tab-pane-form{
        display: block !important;
    }

    .tab-pane-form{
        margin-top: 50px;
    }

    .tab-pane-form:first-of-type{
        margin-top: 0px;
    }
}

/* --------------------------------------------------------------------- */
/* ################## PAGE TITLES WITH ACTION BUTTONS ################## */
/* --------------------------------------------------------------------- */
.br-pagetitle i.fa:first-child{
    font-size: 55px;
}

.br-pagetitle i::before{
    line-height: 1;
}

.br-pagetitle.with-action .dropdown {
    cursor: pointer;
    margin-left: auto;
}

.br-pagetitle.with-action .dropdown-menu {
    padding: 0px;
    margin: 0px;
    cursor: pointer;
    transform: translate3d(0px, 45px, 0px) !important;
    right: 0px !important;
    left: auto !important;
}

.br-pagetitle.with-action .dropdown-menu .nav-style-2 .nav-link {
    padding: 10px 20px;
}

.br-pagetitle.with-action .dropdown-menu .nav-style-2 i {
    font-size: 15px;
    width: 15px;
}

.br-pagetitle.without-icon>div{
    padding-left: 0px;
    padding-right: 0px;
}

.dashboard-quick-access{
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    -ms-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    transition: 0.3s linear;
    color: #1D2939;
}

.dashboard-quick-access:hover{
    background: #1D2939;
    color: #ffffff;
}

.dashboard-quick-access i{
    font-size: 40px;
}

.dashboard-quick-access p{
    font-size: 16px;
    margin-bottom: 0.5rem;
}

/* -------------------------------------------- */
/* ################## MODALS ################## */
/* -------------------------------------------- */
.modal{
    padding-left: 15px;
}

.modal-xl{
    max-width: 1000px;
}

.modal-header .close {
    outline: none;
    color: #ffffff;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    -ms-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    transition: 0.3s linear;
}

.modal-header .header-title {
    font-family: 'Cairo';
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.close:not(:disabled):not(.disabled):hover,
.close:not(:disabled):not(.disabled):focus {
    color: #ffffff;
    opacity: 1;
}

.modal-footer button {
    margin: 0px 5px !important;
}

.modal-footer button:last-child {
    margin-right: 0px !important;
}

.adjust-delete-social-media-icon i{
    position: relative;
    top: 2px;
    font-size: 20px;
}

.modal-backdrop.show{
    z-index: 100001;
}

.modal{
    z-index: 100002;
}

/* ------------------------------------------------- */
/* ################## DATA TABLES ################## */
/* ------------------------------------------------- */
.dataTables_wrapper {
    padding: 0px 2px;
}

table.dataTable{
    margin: 0px;
}

.dataTables_wrapper .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: 0px;
}

.dataTables_wrapper .dataTables_length .select2-container {
    width: 60px !important;
    z-index: 999;
}

table.dataTable thead th.sorting::before,
table.dataTable thead th.sorting_asc::before,
table.dataTable thead th.sorting_desc::before,
table.dataTable thead td.sorting::before,
table.dataTable thead td.sorting_asc::before,
table.dataTable thead td.sorting_desc::before {
    top: 15px;
    right: 6px;
}

.dataTables_wrapper .dataTables_info{
    display: none;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty {
    text-align: left;
}

table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after,
table.dataTable thead td.sorting::after,
table.dataTable thead td.sorting_asc::after,
table.dataTable thead td.sorting_desc::after {
    top: 25px;
    right: 6px;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child::before {
    top: 17px;
}

.dataTables_wrapper .dataTables_length .select2-container {
    margin: 0px;
}

table.dataTable>tbody>tr.child ul.dtr-details {
    width: 100%;
}

table.dataTable>tbody>tr.child ul.dtr-details>li i {
    margin: 0px 5px;
}

.datatable th,
.datatable td {
    text-align: center;
    line-height: 25px;
    color: #353535;
    outline: none;
}

.table-actions a {
    font-size: 20px;
    padding: 0px 5px;
    cursor: pointer;
}

.copy-action {
    cursor: pointer;
}

.copy-action i {
    color: #2196f3;
}

.table-action-edit {
    color: #673ab7;
}

.table-action-delete {
    color: #ff2f2f;
}

.table-action-view {
    color: #2196f3;
}

.table-action-info {
    cursor: pointer;
    color: #909090;
}

.table-action-change-password {
    position: relative;
    top: 1.5px;
    color: #16a085;
}

.table-action-change-email-address {
    color: #a55eea;
}

.table-action-change-permissions {
    color: #f0932b;
}

.tooltip-body {
    padding: 10px;
    font-size: 15px;
    color: gray;
}

table.dataTable.no-footer {
    width: 100% !important;
}

table.dataTable tr td.child {
    white-space: normal !important;
}

.dataTables_empty {
    text-align: center !important;
}

thead.thead-colored.thead-primary th{
    color: #ffffff;
}

.row-with-img td{
    line-height: 40px;
}

.row-with-img .img-column img{
    width: auto;
    height: 40px;
}

.row-with-img td.img-column::before{
    top: 26px !important;
}

table.dataTable>tbody>tr.child span.dtr-title{
    display: block;
}

tr.not_seen td{
    background: #f0f8ff !important;
}

/* ----------------------------------------------- */
/* ############### CHECKBOX TOOGLE ############### */
/* ----------------------------------------------- */
.br-toggle input[type="checkbox"]{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* --------------------------------------------- */
/* ############### RTL OVERRIDES ############### */
/* --------------------------------------------- */
.rtl body {
    font-family: 'Cairo';
}

.rtl *{
    letter-spacing: 0px;
}

.rtl .force-en-on-ar{
    direction: ltr;
    text-align: right;
}

.rtl .mg-l-20 {
    margin-left: 0px;
    margin-right: 20px;
}

.rtl .breadcrumb-item+.breadcrumb-item {
    padding-left: 0px;
}

.rtl .breadcrumb-item+.breadcrumb-item::before {
    padding-left: 0.5rem;
}

.rtl .tx-mont,
.rtl .tx-poppins,
.rtl .tx-roboto,
.rtl .tx-hind,
.rtl .tx-firasans,
.rtl .tx-source,
.rtl .tx-mont,
.rtl .tx-lato,
.rtl .tx-sserif {
    font-family: "Cairo", Arial, sans-serif;
}

.rtl .tx-10 {
    font-size: 11px;
}

.rtl .dropdown-menu-label label{
    letter-spacing: 0px;
}

.rtl h1,
.rtl h2,
.rtl h3,
.rtl h4,
.rtl h5,
.rtl h6 {
    font-weight: 600;
}

.rtl .langauge-switcher img {
    top: -2.5px;
}

.rtl .popover {
    font-family: 'Cairo';
}

.rtl .form-layout-footer .btn,
.rtl .form-layout-footer .sp-container button,
.rtl .sp-container .form-layout-footer button {
    letter-spacing: 0px;
    font-size: 14px;
}

.rtl .mg-r-15 {
    margin-right: 0px;
    margin-left: 15px;
}

.rtl .mg-l-10 {
    margin-left: 0px;
    margin-right: 10px;
}

.rtl .mg-r-10 {
    margin-left: 10px;
    margin-right: 0px;
}

.rtl .custom-file {
    cursor: pointer;
}

.rtl .custom-file-control::before {
    content: "اختر ملف";
    right: auto;
    left: -1px;
    cursor: pointer;
}

.rtl input,
.rtl textarea,
.rtl select,
.rtl select option {
    font-family: 'Cairo';
}

.rtl .social-media-platforms-dropdown ul li {
    float: right;
}

.rtl table.dataTable thead th.sorting::before,
.rtl table.dataTable thead th.sorting_asc::before,
.rtl table.dataTable thead th.sorting_desc::before,
.rtl table.dataTable thead td.sorting::before,
.rtl table.dataTable thead td.sorting_asc::before,
.rtl table.dataTable thead td.sorting_desc::before {
    display: none;
}

.rtl table.dataTable thead th.sorting::after,
.rtl table.dataTable thead th.sorting_asc::after,
.rtl table.dataTable thead th.sorting_desc::after,
.rtl table.dataTable thead td.sorting::after,
.rtl table.dataTable thead td.sorting_asc::after,
.rtl table.dataTable thead td.sorting_desc::after {
    display: none;
}

.rtl table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child::before {
    right: 8px;
    left: auto;
}

.rtl table.dataTable>tbody>tr.child ul.dtr-details>li {
    text-align: right;
}

.rtl .br-pagetitle.with-action .action-btns button {
    font-size: 14px;
}

.rtl .br-pagetitle.with-action .action-btns i {
    margin-left: 10px;
    margin-right: 0px;
}

.rtl .modal-header .close {
    margin: -1rem -1rem -1rem -1rem;
}

.rtl .modal-footer button:last-child {
    margin-left: 0px !important;
    margin-right: 5px !important;
}

.rtl .modal-footer button {
    font-size: 14px;
}

.rtl .br-pagetitle.with-action .dropdown-menu {
    padding: 0px;
    margin: 0px;
    cursor: pointer;
    transform: translate3d(0px, 45px, 0px) !important;
    right: auto !important;
    left: 0 !important;
}

.rtl .br-pagetitle.with-action .dropdown {
    margin-right: auto;
    margin-left: 0px;
}

.rtl .br-pagetitle.with-action .dropdown .nav-style-2 .nav-link::before {
    left: auto;
    right: -0.5px;
}

.rtl .dataTables_wrapper .dataTables_length .select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 23px;
}

.rtl .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{
    padding-right: 11px;
}

.rtl .cke_toolbar{
    float: right;
}

.rtl .br-toggle-switch{
    right: 3px;
    left: auto;
}

.rtl .br-toggle.on .br-toggle-switch{
    right: 35px;
    left: auto;
}

.rtl .sidebar-label{
    font-family: 'Cairo';
    font-size: 15px;
    font-weight: 300;
}

.rtl table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child,
.rtl table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child{
    padding-right: 30px;
}

.rtl .tab-panes ul li{
    float: right;
}
