/*!
 * Start Bootstrap - SB Admin 2 v4.1.3 RTL Version (https://startbootstrap.com/theme/sb-admin-2)
 * Copyright 2013-2021 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin-2/blob/master/LICENSE)
 * RTL (Right-to-Left) version for Arabic, Hebrew, and other RTL languages
 */

/*!
 * Bootstrap v4.6.0 RTL (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
 @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

/* RTL Direction Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', sans-serif;
}

[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

:root {
  --blue: #4e73df;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #e74a3b;
  --orange: #fd7e14;
  --yellow: #f6c23e;
  --green: #1cc88a;
  --teal: #20c9a6;
  --cyan: #36b9cc;
  --white: #fff;
  --gray: #858796;
  --gray-dark: #5a5c69;
  --primary: #4e73df;
  --secondary: #858796;
  --success: #1cc88a;
  --info: #36b9cc;
  --warning: #f6c23e;
  --danger: #e74a3b;
  --light: #f8f9fc;
  --dark: #5a5c69;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #858796;
  text-align: right;
  background-color: #fff;
}

[dir="rtl"] body {
  text-align: right;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: .5rem;
  margin-right: 0;
}

[dir="rtl"] dd {
  margin-right: 0;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

a {
  color: #4e73df;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #224abe;
  text-decoration: underline;
}

a:not([href]):not([class]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

pre,
code,
kbd,
samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #858796;
  text-align: right;
  caption-side: bottom;
}

[dir="rtl"] caption {
  text-align: right;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
} 

/* RTL Form Controls */
[dir="rtl"] .form-control {
  text-align: right;
}

[dir="rtl"] .form-control::placeholder {
  text-align: right;
}

[dir="rtl"] .form-control::-webkit-input-placeholder {
  text-align: right;
}

[dir="rtl"] .form-control::-moz-placeholder {
  text-align: right;
}

[dir="rtl"] .form-control:-ms-input-placeholder {
  text-align: right;
}

/* RTL Button Groups */
[dir="rtl"] .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
}

[dir="rtl"] .btn-group > .btn:not(:first-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

/* RTL Dropdowns */
[dir="rtl"] .dropdown-menu {
  text-align: right;
}

[dir="rtl"] .dropdown-menu-left {
  right: 0;
  left: auto;
}

[dir="rtl"] .dropdown-menu-right {
  left: 0;
  right: auto;
}

[dir="rtl"] .dropdown-toggle::after {
  margin-right: 0.255em;
  margin-left: 0;
}

[dir="rtl"] .dropup .dropdown-toggle::after {
  margin-right: 0.255em;
  margin-left: 0;
}

[dir="rtl"] .dropright .dropdown-toggle::after {
  margin-right: 0;
  margin-left: 0.255em;
}

[dir="rtl"] .dropleft .dropdown-toggle::before {
  margin-right: 0;
  margin-left: 0.255em;
}

/* RTL Navigation */
[dir="rtl"] .nav-tabs .nav-link {
  border-top-left-radius: 0;
  border-top-right-radius: 0.25rem;
}

[dir="rtl"] .nav-tabs .nav-link:first-child {
  border-top-right-radius: 0.25rem;
  border-top-left-radius: 0;
}

[dir="rtl"] .nav-tabs .nav-link:last-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0;
}

/* RTL Sidebar Specific Styles */
[dir="rtl"] .sidebar {
  right: 0;
  left: auto;
}

[dir="rtl"] .sidebar .nav-item .nav-link[data-toggle="collapse"]::after {
  margin-right: auto;
  margin-left: 0;
  transform: rotate(180deg);
}

[dir="rtl"] .sidebar .nav-item .nav-link[data-toggle="collapse"].collapsed::after {
  transform: rotate(0deg);
}

[dir="rtl"] .sidebar.toggled {
  right: -14rem;
  left: auto;
}

[dir="rtl"] .sidebar.toggled #sidebarToggle::after {
  transform: rotate(180deg);
}

/* RTL Content Wrapper */
[dir="rtl"] #wrapper #content-wrapper {
  /* margin-right: 14rem; */
  margin-left: 0;
}

[dir="rtl"] body.sidebar-toggled #wrapper #content-wrapper {
  margin-right: 0;
  margin-left: 0;
}

/* RTL Topbar */
[dir="rtl"] .topbar .navbar-search {
  margin-right: 0;
  margin-left: 1rem;
}

[dir="rtl"] .topbar .topbar-divider {
  margin-right: 0;
  margin-left: 1rem;
}

/* RTL Cards */
[dir="rtl"] .card .card-header[data-toggle="collapse"]::after {
  margin-right: auto;
  margin-left: 0;
  transform: rotate(180deg);
}

[dir="rtl"] .card .card-header[data-toggle="collapse"].collapsed::after {
  transform: rotate(0deg);
}

/* RTL Utilities */
[dir="rtl"] .text-left {
  text-align: right !important;
}

[dir="rtl"] .text-right {
  text-align: left !important;
}

[dir="rtl"] .float-left {
  float: right !important;
}

[dir="rtl"] .float-right {
  float: left !important;
}

/* RTL Margins and Padding */
[dir="rtl"] .ml-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}

[dir="rtl"] .mr-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

[dir="rtl"] .ml-0 { margin-right: 0 !important; margin-left: 0 !important; }
[dir="rtl"] .ml-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
[dir="rtl"] .ml-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
[dir="rtl"] .ml-3 { margin-right: 1rem !important; margin-left: 0 !important; }
[dir="rtl"] .ml-4 { margin-right: 1.5rem !important; margin-left: 0 !important; }
[dir="rtl"] .ml-5 { margin-right: 3rem !important; margin-left: 0 !important; }

[dir="rtl"] .mr-0 { margin-left: 0 !important; margin-right: 0 !important; }
[dir="rtl"] .mr-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
[dir="rtl"] .mr-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
[dir="rtl"] .mr-3 { margin-left: 1rem !important; margin-right: 0 !important; }
[dir="rtl"] .mr-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
[dir="rtl"] .mr-5 { margin-left: 3rem !important; margin-right: 0 !important; }

[dir="rtl"] .pl-0 { padding-right: 0 !important; padding-left: 0 !important; }
[dir="rtl"] .pl-1 { padding-right: 0.25rem !important; padding-left: 0 !important; }
[dir="rtl"] .pl-2 { padding-right: 0.5rem !important; padding-left: 0 !important; }
[dir="rtl"] .pl-3 { padding-right: 1rem !important; padding-left: 0 !important; }
[dir="rtl"] .pl-4 { padding-right: 1.5rem !important; padding-left: 0 !important; }
[dir="rtl"] .pl-5 { padding-right: 3rem !important; padding-left: 0 !important; }

[dir="rtl"] .pr-0 { padding-left: 0 !important; padding-right: 0 !important; }
[dir="rtl"] .pr-1 { padding-left: 0.25rem !important; padding-right: 0 !important; }
[dir="rtl"] .pr-2 { padding-left: 0.5rem !important; padding-right: 0 !important; }
[dir="rtl"] .pr-3 { padding-left: 1rem !important; padding-right: 0 !important; }
[dir="rtl"] .pr-4 { padding-left: 1.5rem !important; padding-right: 0 !important; }
[dir="rtl"] .pr-5 { padding-left: 3rem !important; padding-right: 0 !important; }

/* RTL Borders */
[dir="rtl"] .border-left {
  border-right: 1px solid #e3e6f0 !important;
  border-left: 0 !important;
}

[dir="rtl"] .border-right {
  border-left: 1px solid #e3e6f0 !important;
  border-right: 0 !important;
}

/* RTL Border Radius */
[dir="rtl"] .rounded-left {
  border-top-right-radius: 0.35rem !important;
  border-bottom-right-radius: 0.35rem !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

[dir="rtl"] .rounded-right {
  border-top-left-radius: 0.35rem !important;
  border-bottom-left-radius: 0.35rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* RTL Input Groups */
[dir="rtl"] .input-group > .form-control:not(:last-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
}

[dir="rtl"] .input-group > .form-control:not(:first-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

/* RTL Alerts */
[dir="rtl"] .alert-dismissible {
  padding-right: 1.25rem;
  padding-left: 4rem;
}

[dir="rtl"] .alert-dismissible .close {
  right: auto;
  left: 0;
}

/* RTL Modal */
[dir="rtl"] .modal-header .close {
  margin: -1rem auto -1rem -1rem;
}

[dir="rtl"] .modal-footer > :not(:first-child) {
  margin-right: 0.25rem;
  margin-left: 0;
}

[dir="rtl"] .modal-footer > :not(:last-child) {
  margin-left: 0.25rem;
  margin-right: 0;
}

/* RTL List Groups */
[dir="rtl"] .list-group-item:first-child {
  border-top-right-radius: 0.35rem;
  border-top-left-radius: 0;
}

[dir="rtl"] .list-group-item:last-child {
  border-bottom-left-radius: 0.35rem;
  border-bottom-right-radius: 0;
}

/* RTL Pagination */
[dir="rtl"] .page-item:first-child .page-link {
  margin-right: 0;
  border-top-right-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

[dir="rtl"] .page-item:last-child .page-link {
  margin-right: -1px;
  border-top-left-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* RTL Breadcrumbs */
[dir="rtl"] .breadcrumb-item + .breadcrumb-item {
  padding-right: 0.5rem;
  padding-left: 0;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  padding-left: 0.5rem;
  padding-right: 0;
  content: "/";
}

/* RTL Progress Bars */
[dir="rtl"] .progress-bar-animated {
  animation-direction: reverse;
}

/* RTL Spinners */
[dir="rtl"] .spinner-border {
  animation-direction: reverse;
}

[dir="rtl"] .spinner-grow {
  animation-direction: reverse;
}

/* RTL Tables */
[dir="rtl"] .table th,
[dir="rtl"] .table td {
  text-align: right;
}

/* RTL Forms */
[dir="rtl"] .form-check {
  padding-right: 1.25rem;
  padding-left: 0;
}

[dir="rtl"] .form-check-input {
  margin-right: -1.25rem;
  margin-left: 0;
}

[dir="rtl"] .form-check-inline {
  margin-right: 0;
  margin-left: 0.75rem;
}

[dir="rtl"] .form-check-inline .form-check-input {
  margin-right: 0.3125rem;
  margin-left: 0;
}

/* RTL Custom Controls */
[dir="rtl"] .custom-control {
  padding-right: 1.5rem;
  padding-left: 0;
}

[dir="rtl"] .custom-control-label::before,
[dir="rtl"] .custom-control-label::after {
  right: -1.5rem;
  left: auto;
}

[dir="rtl"] .custom-switch .custom-control-label::before {
  right: -2.25rem;
  left: auto;
}

[dir="rtl"] .custom-switch .custom-control-label::after {
  right: calc(-2.25rem + 2px);
  left: auto;
}

/* RTL Custom File Input */
[dir="rtl"] .custom-file-label::after {
  right: auto;
  left: 0;
  border-right: 0;
  border-left: 1px solid #d1d3e2;
}

/* RTL Input Groups */
[dir="rtl"] .input-group-text:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

[dir="rtl"] .input-group-text:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
}

/* RTL Button Groups */
[dir="rtl"] .btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
}

[dir="rtl"] .btn-group-vertical > .btn:not(:first-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

/* RTL Navbar */
[dir="rtl"] .navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0.5rem;
}

[dir="rtl"] .navbar-nav .dropdown-menu {
  right: auto;
  left: 0;
}

/* RTL Collapse */
[dir="rtl"] .collapse.show {
  direction: rtl;
}

/* RTL Accordion */
[dir="rtl"] .accordion .card-header button::after {
  margin-right: auto;
  margin-left: 0;
  transform: rotate(180deg);
}

[dir="rtl"] .accordion .card-header button.collapsed::after {
  transform: rotate(0deg);
}

/* RTL Carousel */
[dir="rtl"] .carousel-control-prev {
  right: 0;
  left: auto;
}

[dir="rtl"] .carousel-control-next {
  left: 0;
  right: auto;
}

[dir="rtl"] .carousel-control-prev-icon {
  transform: rotate(180deg);
}

[dir="rtl"] .carousel-control-next-icon {
  transform: rotate(180deg);
}

/* RTL Tooltips */
[dir="rtl"] .tooltip.show {
  direction: rtl;
}

/* RTL Popovers */
[dir="rtl"] .popover {
  direction: rtl;
  text-align: right;
}

/* RTL Scrollbar */
[dir="rtl"] ::-webkit-scrollbar {
  direction: rtl;
}

/* RTL Print Styles */
@media print {
  [dir="rtl"] * {
    direction: rtl !important;
    text-align: right !important;
  }
  
  [dir="rtl"] .sidebar {
    display: none !important;
  }
  
  [dir="rtl"] #wrapper #content-wrapper {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
} 
.navbar-search .btn{
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
