/***************************
* Cusom Fonts
* 1. Droid Arabic Kufi, by Google
* 2. Droid Arabic Naskh, also by Google
* 3. Beutiful Amiri, Opensource.
****************************/
.set-grey{
  background: #aaa !important;
}
/*flate font*/
@font-face {
    font-family: "JF Flat Regular";
    src: url('/web_rtl/static/src/fonts/font/JF-Flat-regular.eot');
    src: url('/web_rtl/static/src/fonts/font/JF-Flat-regular.eot?#iefix') format('embedded-opentype'),
    url('/web_rtl/static/src/fonts/font/JF-Flat-regular.svg#JF Flat Regular') format('svg'),
    url('/web_rtl/static/src/fonts/font/JF-Flat-regular.woff') format('woff'),
    url('/web_rtl/static/src/fonts/font/JF-Flat-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} 
@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 400;
  src: url(/web_rtl/static/src/fonts/DroidKufi-Regular.eot);
  src: url(/web_rtl/static/src/fonts/DroidKufi-Regular.woff2) format('woff2'),
       url(/web_rtl/static/src/fonts/DroidKufi-Regular.woff) format('woff'),
       url(/web_rtl/static/src/fonts/DroidKufi-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 700;
  src: url(/web_rtl/static/src/fonts/DroidKufi-Bold.eot);
  src: url(/web_rtl/static/src/fonts/DroidKufi-Bold.woff2) format('woff2'),
       url(/web_rtl/static/src/fonts/DroidKufi-Bold.woff) format('woff'),
       url(/web_rtl/static/src/fonts/DroidKufi-Bold.ttf) format('truetype');
}



.rtl{direction:rtl}
.rtl *:not(.glyphicon){font-family: 'JF Flat Regular', serif;}
/*.rtl *:not(.glyphicon){font-family: 'Droid Arabic Naskh', serif;}*/

/*
* reset switch manager fonts
*/
.rtl .oe_e, .rtl .oe_e a  {
font-family: "entypoRegular" !important;
}


.rtl .oe_kanban_action_button{
  line-height: 5px;
}
.rtl .openerp .oe_left {float: right;margin:0px 0px 0px 8px}
.rtl .openerp th, .rtl .openerp td {text-align: right;}
.rtl .openerp .oe_leftbar {
border-left: 1px solid #AFAFB6;
border-right: 0px solid #AFAFB6;
}
.rtl .openerp .oe_dropdown_menu{
right:0px;
}
.rtl .openerp .oe_dropdown_menu > li > a {
width:115px;
}
/*--------------------------Form View------------------------------------*/
.rtl .openerp .oe_form td.oe_form_group_cell_label {
border-right: 0px solid #dddddd;
border-left: 1px solid #dddddd;
padding: 0px 2px;
}
.rtl .openerp .oe_form td.oe_form_group_cell + .oe_form_group_cell {
    padding: 0 5px 0 0;
}
.rtl .openerp .oe_form .oe_input_icon {
    margin-right: 3px;
}
/*---------------select-----------------*/
.rtl .openerp .oe_form_field_many2one .oe_m2o_cm_button {
    float: left;
}
.rtl .openerp .oe_form input[type="text"], .rtl .openerp .oe_form input[type="password"], .rtl .openerp .oe_form input[type="file"], .rtl .openerp .oe_form select, .rtl .openerp .oe_form textarea{
    font-family: 'JF Flat Regular', serif;

}
.rtl .openerp .oe_form input[type="text"], .rtl .openerp .oe_form input[type="password"], .rtl .openerp .oe_form input[type="file"], .rtl .openerp .oe_form select{
  height: 33px;

}
.rtl .openerp .oe_tags{
  height: 30px !important;
}
.rtl .openerp .oe_tags textarea{
  min-height: 30px !important;
}
.rtl .openerp .text-tags .text-remove{
  top: 5px !important;
}
.rtl .text-core .text-wrap .text-arrow{
  top: 3px !important;
}

/*--------------------------left menu------------------------------------*/
.oe_secondary_menus_container ul{
    padding-left: 0px; 
    padding-right: 15px; 
}
.openerp .oe_secondary_submenu .oe_menu_toggler:before{
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid #BD975F;
    border-left: 0px;
}
.openerp .oe_secondary_submenu .oe_menu_opened:before{
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #4c4c4c;
}
.openerp .oe_secondary_menu_section{
    margin-left: 0px;
    margin-right: 8px;
}
.rtl .openerp .oe_secondary_submenu .oe_secondary_submenu li {
    margin-right: 20px;
    margin-left: 0px;
}
.rtl .openerp .oe_secondary_submenu .oe_menu_toggler:before {
    margin-left: 0px;
    margin-right: 0px;
}
.rtl .openerp .oe_secondary_submenu .oe_menu_opened:before {
    margin-left: 0px;
    margin-right: 0px;
}

/*--------------------------Top menu------------------------------------*/
.rtl .openerp .oe_user_menu li {
    float: right;
}
.rtl .openerp .oe_dropdown_menu {
    text-align: right;
}

/*--------------------------Dialog------------------------------------*/
.rtl .ui-dialog .ui-dialog-title {
    float: right;
    padding: 3px 10px;
}
/*--------------------------------tabs--------------------------------*/
.rtl .openerp .oe_notebook > li {
    float: right;
}

/*--------------------------------Paging--------------------------------*/
.rtl .openerp .oe_pager_group li {
    float: right;
}
/*-------------------------------Search------------------------*/
.rtl .openerp .oe_searchview {
    float: left;
}
.rtl .openerp .oe_searchview .oe_searchview_facets {
    margin-right: 30px;
    margin-left: 0px;
}

/*------------------------Kanban View--------------------*/
.rtl .openerp .oe_kanban_view .oe_kanban_group_title_vertical{
direction:ltr
}
.rtl .openerp .oe_kanban_view .oe_fold_column .oe_kanban_group_length {
position: static;
float: left;
}
.rtl .openerp .oe_kanban_view .oe_dropdown_kanban .oe_dropdown_menu {
    left: 0;
    right:auto;
}
.rtl .openerp .oe_kanban_view .oe_dropdown_kanban{
  float: left;
}
/*--------------------application header-------------------*/
.rtl .openerp .oe_view_manager table.oe_view_manager_header h2 {
    float: right;
}
/*----------------------------Messageing--------------------------*/
.rtl .openerp .oe_mail .oe_attachment img {
left:auto
}
/*----------------------------followers--------------------------*/
.rtl .openerp .oe_followers .oe_remove_follower {
right:auto;
left:0px;
}
.rtl .openerp .oe_followers .oe_invite {
    float: left;
}
.rtl .oe_view_manager_view_gantt{
direction:ltr;
}
/*----------------------------Stages--------------------------*/
.rtl .openerp .oe_form header ul {
    float: left;
}
.rtl .openerp ul.oe_form_status li:last-child, .rtl .openerp ul.oe_form_status_clickable li:last-child 
.rtl .openerp ul.oe_form_status li:first-child .label, .rtl .openerp ul.oe_form_status_clickable li:first-child .label
{
    border: 0px solid #CACACA;
}
.rtl .openerp ul.oe_form_status li .label, .rtl .openerp ul.oe_form_status_clickable li .label {
     padding: 7px 34px 7px 7px;
}
.openerp ul.oe_form_status li:first-child > .label, .openerp ul.oe_form_status_clickable li:first-child > .label {
  padding-right: 14px;
}

/**
view switch manager
*/
.oe_view_manager_switch{
    float: left !important;
    margin-left: 0px !important;
    margin-right: 8px !important;
}
.navbar-left{
    float: right !important;
}
.navbar-right{
    float: left !important;
}
.oe_systray{
    float: left !important;
}
.openerp .oe_title{
    float: right;
}
.openerp .oe_form > :not(.oe_form_nosheet) header ul:not(.oe_tooltip_technical):not(.oe_dropdown_menu){
    float: left;
}
.openerp ul.oe_form_status li:first-child > .label, .openerp ul.oe_form_status_clickable li:first-child > .label{
    border-right: 1px solid #cacaca;
    border-left: 0px;
}
/*.openerp ul.oe_form_status li > .arrow span, .openerp ul.oe_form_status_clickable li > .arrow span{
    box-shadow: 1px -1px 2px rgba(255, 255, 255, 0.2), inset 1px -1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px -1px 2px rgba(255, 255, 255, 0.2), inset 1px -1px 1px rgba(0, 0, 0, 0.2);

}*/
.navbar-nav>li{
    float: right !important;
}
.openerp .oe_right{
    float: left;
    margin-left: 0px;
    margin-right: 8px;
}
.openerp .oe_pager_value, .openerp .oe_pager_group{
    float: right;
}
.openerp .oe_pager_value{
    margin-left: 8px;
    margin-right: 0px;
}
.openerp .oe_pager_group li{
    border-right: 0px;
    border-left: 1px solid #ababab;
}
.openerp .oe_title.oe_left h1, .openerp .oe_title.oe_left .oe_tags{
    float: right;
}
.openerp .oe_title.oe_left{
    width: 38% !important;
    overflow: hidden;
    margin: 0px
}
.oe_form_sheet .oe_right.oe_button_box{
    margin: 0;
    margin-top: 0px;
    text-align: left;
}
.openerp ul.oe_form_status li, .openerp ul.oe_form_status_clickable li{
  margin-right: -39px;
  margin-left: 33px;
  padding-left: -12px;
}
.openerp ul.oe_form_status li:last-child, .openerp ul.oe_form_status_clickable li:last-child{
  margin-left: 0px;
}
.openerp ul.oe_form_status li > .arrow, .openerp ul.oe_form_status_clickable li > .arrow{
  width: 41px;
  height: 41px;
  margin-left: -38px;
  padding-bottom: 13px;
}
.openerp ul.oe_form_status li > .arrow span, .openerp ul.oe_form_status_clickable li > .arrow span {
  position: relative;
  width: 33px;
  height: 33px;
  display: inline-block;
  margin-left: 0px !important;
  margin-right: -14px;
  margin-top: 6px;
  box-shadow: 1px -1px 2px rgba(255, 255, 255, 0.2), inset 1px -1px 1px rgba(0, 0, 0, 0.2);
  background-color: #dedede;
  background: -moz-linear-gradient(135deg, #dedede, #fcfcfc);
  background: -o-linear-gradient(135deg, #fcfcfc, #dedede);
  background: -webkit-gradient(linear, left top, right bottom, from(#fcfcfc), to(#dedede));
  background: -ms-linear-gradient(top, #fcfcfc, #dedede);
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.rtl .pull-right{
  float: left !important;
}
.rtl .openerp .oe_mail .oe_msg .oe_msg_icons{
  float: left;
}
.rtl .openerp .oe_mail .oe_msg .oe_msg_left{
  left: auto !important;
  right: 0;
}
.rtl .openerp .oe_mail .oe_msg .oe_msg_center{
  margin-right: 40px;
  margin-left: 0px;
}
.rtl .openerp .oe_searchview .oe_searchview_clear{
  right: auto !important;
  left: 12px;
  height: 11px;
  top: 6px;
}
.rtl .openerp .oe_searchview .oe_searchview_unfold_drawer{
  right: auto !important;
  left: 0;
  padding-right: 0px;
  padding-left: 18px;
}
.rtl .openerp .oe_searchview .oe_searchview_search{
  left: auto !important;
  right: 0;
  top: 0;
  padding-left: 0;
  padding-right: 5px;
}
.rtl .openerp .oe_searchview .oe_searchview_facets{
  margin-left: 30px;
  margin-right: 20px;
}
.rtl .openerp .oe_searchview_drawer{
  text-align: right;
}
.rtl .dl-horizontal dt{
  float: right;
}
.rtl .openerp .oe_searchview_drawer h4:before{
  content: " ◂";
}
.rtl .openerp .oe_searchview .oe_searchview_facets .oe_searchview_facet .oe_facet_remove{
  right: auto !important;
  left: 3px;
}
.rtl .openerp .oe_searchview .oe_searchview_facets .oe_searchview_facet .oe_facet_value:last-child{
  padding-right: 4px !important;

}
.rtl .openerp .oe_searchview .oe_searchview_facets .oe_searchview_facet .oe_facet_values{
  border-radius: 3px 0 0 3px;
  padding-right: 0px;
  padding-left: 16px;
}
.rtl .openerp .oe_searchview .oe_searchview_facets .oe_searchview_facet .oe_facet_value{
  border-left: 0px;
  border-right: 1px solid #afafb6;
}
.rtl .openerp .oe_form_field_many2one span.oe_m2o_drop_down_button{
  right: auto !important;
  left: 0px;
  top: 9px;
}

.rtl .oe_subtotal_footer.oe_right .oe_form_group_cell .oe_form_field_float.oe_form_field_monetary{
  text-align: left;
}
.rtl .oe_view_manager_view_graph .btn-group .dropdown-menu a.oe_selected{
  text-align: right;
}
.rtl .dropdown-menu > li > a{
  padding-right: 3px;
  padding-left: 20px
}
.rtl .oe_form_configuration .oe_form_group td:last-child .oe_link:before, .oe_form_configuration .oe_form_group td:last-child .oe_separate-from-text:before{
  padding-left: 1em;
  padding-right: 0;
  left: 0px;
}
.rtl .oe_form_configuration .oe_form_group td:last-child .oe_link, .oe_form_configuration .oe_form_group td:last-child .oe_separate-from-text {
  left: 0px !important;
  right: 2em !important;
}
.rtl .openerp .nav-pills li > a{
  padding-right: 18px;
  padding-left: 4px;
}
.rtl .oe_user_menu_placeholder{
  margin-right: 10px;
}
.rtl .graph_chart_mode{
  text-align: left;
  direction: ltr;
}
.rtl .text-core .text-wrap .text-tags{
  padding-right: 3px;
  padding-left: 35px;
}
.rtl .text-core .text-wrap .text-tags .text-tag .text-button a.text-remove{
  right: auto;
  left: 3px;
}
.rtl .text-core .text-wrap .text-tags .text-tag .text-button{
  float: right;
  padding: 0 3px 0 17px;
}
.rtl .text-core .text-wrap .text-arrow{
  right: auto;
  left: 0px;
}
.rtl .text-core .text-wrap .text-tags .text-tag{
  float: right;
}
.rtl .oe_form_field_status .oe_dropdown_menu{
  right: auto;
  left: 0;
}
.rtl .oe_msg_center .oe_msg_content button.oe_full{
  float: left;
}
/*calendar style*/
.rtl .fc{
  direction: rtl;
  text-align: right;
}
.rtl .fc-state-default.fc-corner-left{
  border-radius: 0px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.rtl .fc-state-default.fc-corner-right{
  border-radius: 0px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
/*chat style*/
.rtl .oe_im_chatview{
  right: auto !important;
  left: 0px;
} 
.rtl .oe_im_chatview .oe_im_chatview_message_bubble .oe_im_chatview_clip{
  float: right;
  margin-left: 4px;
  margin-right: 0px;
} 
.rtl .oe_im_chatview .oe_im_chatview_message_bubble .oe_im_chatview_time{
  right: auto;
  left: 0px;
  text-align: left;
}
.rtl .oe_im .oe_im_user .oe_im_user_online{
  right: auto!important;
  left: 11px;
}
.rtl button.close{
  line-height: 18px;
}
.oe_radio_input{
  margin-left: 4px !important;
}
.rtl .alert-dismissable .close, .alert-dismissible .close{
  right: 0px;
}
.rtl .openerp .oe_sidebar .oe_dropdown_menu li .oe_sidebar_delete_item{
  right: auto;
  left: 4px;
}
.rtl .openerp .oe_list.oe_list_editable.oe_editing img.oe_input_icon.oe_datepicker_trigger {
    position: absolute;
    left: 0px;
    top: 3px;
    margin: 0px;
}

/*------------------------------------Css Change---------------------------*/
/*-----------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------*/
.openerp .oe_background_grey, .openerp .oe_kanban_view .oe_kanban_column {
    background: #fff url(/web/static/src/img/logo2.png) !important;
     background-repeat: no-repeat !important;
     background-position: left bottom !important; 
     background-size: 20% !important;
}
.openerp .oe_view_manager table.oe_view_manager_header .oe_header_row h2 {
    font-weight: 400;
    color: #472D12!important;
    font-size: 34px!important;
}


/*Background ا -------------*/
.openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body{
    background-image: url(/web/static/src/img/logo2.png);
    background-repeat: no-repeat;
    background-position: left bottom; 
    background-size: 20%;
       
}



/*---------------*/
#oe_main_menu_navbar .oe_topbar_avatar {
    max-height: 25px;
    width: auto;
    border-radius: 15px;}
.openerp .oe_form_sheet_width {
    max-width: 95%;
}

.openerp .oe_leftbar {
    background: #222328 !important; /*side-bar*/
    background-color: #222328;
    border-right: 1px solid #D1D1D1;
}

#oe_main_menu_navbar .oe_systray #oe_topbar_imbutton_icon,
#oe_main_menu_navbar .oe_systray #oe_attendance_sign_in_out_icon {
    color: white;
}
.openerp .oe_view_manager table.oe_view_manager_header{
       /*background-color: #472D12;*/

}
.openerp .oe_form header,
.openerp .oe_view_manager_current > .oe_view_manager_header {
    border-bottom: 5px solid #472D12;
    box-shadow: none;
}
/* .oe_header_row, .oe_header_row_top{
     background-color: #472D12 !important;
}*/
 .openerp .oe_horizontal_separator,
.openerp .oe_button.oe_link span,
.openerp .oe_application a,
.openerp .ui-widget-content a,
.openerp .oe_view_manager table.oe_view_manager_header h2 a  {
   color:  #472D12; /*change1*/
    }

.openerp .oe_secondary_menu_section{
 margin: 20px 0;
    padding: 10px;
    border-radius: 30px;
     text-align: center;
    background-color: #BD975F;/*change 2*/
    color: #fff ;
    font-size: 12pt;
    
}


.openerp .oe_leftbar > div a.oe_logo {
 /* background: white; /*اسفل الشعار*/ 
  display: table-row;
    text-align: center;}

.openerp .nav-pills > li.active > a,
.openerp a.list-group-item.active > a {
    background-color: #F7C884;
     border-radius: 0 15px 15px 0;
transition: padding-right 0.5s ease-in;
    padding-right:40px !important;
}
/*تغيير لون القائمة الجانبية*/
.openerp .nav-pills > li.active a:hover,
.openerp .nav-pills > li.active a:focus,
.openerp a.list-group-item.active a:hover,
.openerp a.list-group-item.active a:focus {
    transition: padding-right 0.5s ease-in;
    padding-right:40px !important;
    background-color: #F7C884;
    border-radius: 0 15px 15px 0;
    }

.navbar-inverse {
    background-color: #222328;
    /*border-color: #D1D1D1;*/
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
/*    border-color: #D1D1D1; */
}

.navbar-inverse .navbar-nav > li > a {
    color: #AFAFB6;
    line-height: 21px !important;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    color: white;
    background-color: #F7C884;  
        border-radius:15px;
    padding-top: 6px !important;

}

.navbar-inverse .navbar-nav > li > a:hover,    
.navbar-inverse .navbar-nav > li > a:focus {
    color: #AFAFB6;
         border-radius:15px;
    transition: padding-top 0.2s ease-in;
    transition: background-color #F7C884 0.2s ease-in;
     padding-top: 6px !important;
    
}   

.openerp .nav-pills li > a{
    color: #AFAFB6;
}

.openerp .oe_view_manager table.oe_view_manager_header h2 {
  line-height: 40px; !important;

}
/*-------radioButton---*/
.openerp .oe_form_field_radio.oe_form_required .oe_radio_input
{
    width:auto;
    
}

.openerp .oe_datepicker_trigger{
    color: aqua !important;
}
.ui-datepicker{
    width:auto;
}

/*-----------------------------------------------------*/
/*-----------------------------------------------------*/
