html{
  direction: rtl !important;
  
}
body{
  direction: rtl !important;
}
/*
body>*{
  direction: rtl !important;
  text-align: right !important;
}
*{
  direction: rtl !important;
  text-align: right !important;
}
*/

/*خط اسما القوائم الرئيسيه*/

nav#layout-mainmenu ul li a {

    font-size: medium;
	  font-weight: bold;
    /* text-shadow: 1px 1px 2px black, 0 0 25px yellow;  */
}
/*خط اسما القائمه الفرعيه sidenav*/
#layout-sidenav ul li a {
    font-size: medium;
    font-weight: bold;
    /* إضافة حواف حول النص */
    /* text-shadow: 1px 1px 2px black, 0 0 25px yellow;  */
    /*
    transition: background-color 0.3s, color 0.3s;
    transition: color 0.3s;
    */
}

/* sidenav */
.sidenav-tree ul.top-level>li>ul li a span.header {
    /* color: white; */
    font-size: medium;
    font-weight: bold;
    /* text-shadow: 1px 1px 2px black, 0 0 25px; */
    text-shadow: 1px 1px 1px;
}
.sidenav-tree ul.top-level>li>ul li a span.description {
    /* color: white; */
    font-size: medium;
    font-weight: bold;
    /* text-shadow: 1px 1px 2px black, 0 0 25px; */
    text-shadow: 1px 1px 1px;
}
.mainmenu-item>.mainmenu-item-container,.mainmenu-item>a{
  /* color:#fff; */
  /* color: white; */
  text-decoration:none!important;
  outline:0;
  font-weight: bold;
  text-shadow: 1px 1px 1px black;
}

.mainmenu-item>.mainmenu-item-container:after,.mainmenu-item>a:after{
  opacity:.5
}

/*
لجعل ايقونات القوائم تبدو واضحة 
*/
.mainmenu-item> img.svg-icon{-webkit-filter:none !important;filter:none !important;}
.mainmenu-item .nav-icon{
  text-shadow: 1px 1px 1px #ffffff !important
}

/* لجعل عناصر القائمة تبدو واضحة 
*/
.mainmenu-item .nav-icon,.mainmenu-item.active .nav-label,.mainmenu-item.active>a:after{
  opacity:1 !important
}
.mainmenu-item.active .nav-label {
  opacity: .8 !important
}
.mainmenu-item .nav-label{
  /* font-size:14px; */
  white-space:nowrap;
  text-overflow:ellipsis;
}

.none-repeater .field-repeater-add-item ,
.none-repeater .repeater-item-remove 
{
  display: none !important;
  
}
th.list-cell-name-TransactionDetail{
    /*width: 35% !important;*/
}
td.list-cell-name-TransactionDetail{
   /* width: 35% !important;*/
    font-size: small !important;
	
}
.list-cell-name-TransactionDetail {
    /*max-width: 100% !important;
    min-width: 200px !important;
    */
	max-height: 100px;
    overflow: auto;
    /*width: 300px !important;*/
}


th.list-cell-name-button{
    max-width: 70px !important;
}
td.list-cell-name-button>a.btn.btn-primary.oc-icon-print {
    margin: 0px;
    padding: 3px;
}
.dt-buttons{
    padding-right: 40px;
    padding-left: 40px;
    display: inline-block;
}

/* خاصة بزر نعم او لا في العربية*/
.switch-field{
  display: inline-block;
  text-align: right !important;
}
.custom-switch22,.field-switch22{
  display: inline-block;
  border: 2px #000 solid;
}
.custom-switch{
  width: 70px;
  position: relative;
  right: 1px;
}
.field-switch{
  position: relative;
  right: 73px;
  padding-right: 0px !important;
  min-width: 98%;
  text-align: right;
  /*margin-right: 80px !important;*/
  
}

@media (min-width: 768px) {
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: right;
    }
    .form-group.span-storm{
    float: right !important;
      
    }
    .form-group.span-full {
      width: 100%;
      float: right;
    }
    .form-group.span-left {
      float: right;
      clear: right;
    }
    .form-group.span-right {
      float: left;
      clear: left;
    }
}

/*
.form-group.storm22{
    float: right; !important;
}
.form-group.span-full {
    width: 100%;
    float: right;
}
*/
/*
.form-group.span-left {
    float: right;
    width: 48.5%;
    clear: right;

}

.form-group.span-right {
    float: left;
    width: 48.5%;
    clear: left;
}
.form-group.span-clear {
    clear: none !important;
}
.form-group.span-clear-left {
    clear: left !important;
}
.form-group.span-clear-right {
    clear: right !important;
}
.form-group.span-clear-both {
    clear: both !important;
}
*/

 .field-datatable {
    min-width: 900px !important;
    /*width: auto !important;*/
 }
/*tree list*/

.select2-container--default .select2-selection {
    /* background-color: #ffffff;
    border: 1px solid #d1d6d9;
    border-radius: 3px;
    color: #385487; */
    font-size: 16px;
    font-weight: bold;
    font-family: inherit;
    text-align: right;
}
 .select2-results__option ,.select2-search__field{
   text-align: right;
 }
 
table.table.data .list-cell-tree a.tree-reorder-handle{
  margin-right:-29px;
}
table.table.data tbody tr td.list-checkbox{
  padding-right:20px;
  padding-left:3px;
}
table.table.data thead tr th.list-checkbox{
  padding-top: 18px; 
  padding-left: 0; 
  padding-bottom: 0; 
  padding-right: 20px;
}
 /*
 table.table.data .list-cell-tree a.tree-reorder-handle{
   margin-left:0px;
   margin-right:10px;
 }
 table.table.data tbody tr td.list-checkbox{
   padding-left:3px;
   padding-right:13px;
   
 }
 table.table.data thead tr th.list-checkbox{
   
   margin-right:10px;
   padding-left:3px;
   padding-right:13px;
 }
 a.tree-reorder-handle{text-align:center;cursor:move;margin-left:-29px}
table.table.data tbody tr td.list-checkbox{padding-left:20px;padding-right:3px}table.table.data thead tr th.list-checkbox{padding:18px 0 0 20px}

*/

.custom-checkbox.nolabel label,.custom-radio.nolabel label{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.custom-checkbox,.custom-radio{margin-top:0;padding-left:23px}.custom-checkbox input[type=checkbox],.custom-checkbox input[type=radio],.custom-radio input[type=checkbox],.custom-radio input[type=radio]{clip:rect(0 0 0 0);border:0;margin:-1px;opacity:0;overflow:hidden;padding:0;position:absolute;width:1px}.custom-checkbox label,.custom-radio label{cursor:pointer;display:inline-block;font-size:1rem;margin-left:-20px;margin-right:15px;padding-left:20px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.custom-checkbox label:before,.custom-radio label:before{background-color:transparent;box-shadow:none;color:#fff;content:"";display:inline-block;height:16px;left:-3px;margin-right:15px;position:absolute;text-align:center;top:1px;width:16px}.custom-checkbox label:hover:before,.custom-radio label:hover:before{border-color:#b0bdcd}.custom-checkbox label:active:before,.custom-radio label:active:before{border-color:#90a3ba;border-width:2px}.custom-checkbox input[type=radio]+label:before,.custom-radio input[type=radio]+label:before{background-position:-19px -19px}.custom-checkbox input[type=radio]:checked+label:before,.custom-radio input[type=radio]:checked+label:before{background-position:0 -19px}
.custom-checkbox input[type=radio][data-radio-color=green]:checked+label:before,.custom-radio input[type=radio][data-radio-color=green]:checked+label:before{background-position:-59px -19px}.custom-checkbox input[type=radio][data-radio-color=red]:checked+label:before,.custom-radio input[type=radio][data-radio-color=red]:checked+label:before{background-position:-79px -19px}.custom-checkbox input[type=checkbox]+label:before,.custom-radio input[type=checkbox]+label:before{background-position:-19px 0}.custom-checkbox input[type=checkbox]:checked+label:before,.custom-radio input[type=checkbox]:checked+label:before{background-position:0 0}.custom-checkbox input[type=checkbox]:indeterminate+label:before,.custom-radio input[type=checkbox]:indeterminate+label:before{background-position:-79px 0}.custom-checkbox input:disabled+label,.custom-radio input:disabled+label{cursor:not-allowed}.custom-checkbox input[type=checkbox]:disabled:checked+label:before,.custom-radio input[type=checkbox]:disabled:checked+label:before{background-position:-39px 0}.custom-checkbox input[type=radio]:disabled:checked+label:before,.custom-radio input[type=radio]:disabled:checked+label:before{background-position:-39px -19px}.custom-checkbox:focus,.custom-radio:focus{outline:none}.custom-checkbox:focus label:before,.custom-radio:focus label:before{box-shadow:0 0 0 2px rgba(0,0,0,.15)}.custom-checkbox p.form-text,.custom-radio p.form-text{margin-bottom:17px}.custom-radio label:before{border-radius:16px}.custom-checkbox label:before{border-radius:4px}.inline-options .field-checkboxlist:not(.is-scrollable) .field-checkboxlist-inner{padding:10px 15px 15px}.inline-options .field-checkboxlist:not(.is-scrollable) .custom-checkbox{display:inline-block;margin:0}.inline-options .field-checkboxlist:not(.is-scrollable) .custom-checkbox label{margin-bottom:0!important;padding-top:10px}.inline-options .field-checkboxlist:not(.is-scrollable) .custom-checkbox label:before{top:10px}.inline-options.radio-field>label{display:block}.inline-options.radio-field .custom-radio{display:inline-block;margin-bottom:0}

.switch-field .field-switch{float:left;padding-left:75px}.switch-field .field-switch>label{margin-top:3px}.custom-switch{border:none;border-radius:3px;cursor:pointer;display:block;height:26px;position:relative;text-transform:uppercase;width:65px}.custom-switch *{box-sizing:border-box}.custom-switch.disabled{opacity:.5}.custom-switch .slide-button{background-color:#f6f6f6;border-radius:20px;display:block;height:20px;position:absolute;right:42px;top:3px;transition:all .1s;width:20px;z-index:9}.custom-switch label,.custom-switch>span{line-height:23px;vertical-align:middle}.custom-switch label{display:block;position:relative;width:100%;z-index:8}.custom-switch input{left:0;opacity:0;position:absolute;top:0;z-index:10}.custom-switch input:checked~.slide-button{right:4px}.custom-switch input:checked~span{background-color:#86cb43}.custom-switch input:checked~span span:first-of-type{color:#fff;display:block}.custom-switch input:checked~span span:last-of-type{color:#666;display:none}.custom-switch input[disabled]~span{background-color:#bdc3c7!important}.custom-switch input[disabled]~span,.custom-switch input[disabled]~span+a{cursor:default}.custom-switch>span{background-color:#72809d;border-radius:20px;display:block;font-size:12px;font-weight:600;height:100%;left:0;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.custom-switch>span span{box-sizing:border-box;display:block;left:-1px;position:absolute;top:1px;z-index:10}.custom-switch>span span:last-child{color:#fff;display:block;left:28px}.custom-switch>span span:first-of-type{color:#666;display:none;padding-left:13px}