html { scroll-behavior: smooth; }
html *{font-family: arial;}

body {

  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  align-content: center;
  justify-content: center;
 color:#fff;

}


#nav_btn_img{
  top: 15px;
  left: 15px;
  display: none;
}
#nav{
display: none;
}
#navbar{
display: flex;
}



.top_header{
  position: fixed;
  top:0px;
  /* background: #fff; */
  height:65px;
  width:100%;
  z-index: 99995;
  padding: 15px;
  text-align:left;
  margin: 0px 0px 0px 0px;
   border-radius: 0px; 
  color: #fff;
     
  font-size: 20px;

  opacity: 100%;
    
  backdrop-filter: blur(20px) brightness(0.99); 

  
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  
    transition: all 1s;
  
  
}



.top_header img{
  /* width: 90px;
      margin-top: -7px;
*/
    z-index: 99999;
    /* filter: invert() brightness(955); */
    width: 170px;
  height: 74px;
  filter: drop-shadow(-2px 20px 20px rgba(0, 0, 0, 0.3));
  border-radius: 50px;
}



/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  transition: 0.4s all;
  margin-bottom: 10%;
  border-radius: 46px ;
}


/* The Close Button */
.close {
  color: white;
  float: left;
  font-size: 28px;
  font-weight: bold;
  margin-left: 10px;
}

.close:hover,
.close:focus {
  color: #099;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #099;
  color: white;
  border-radius: 100px 100px 0px 0px;
  
  height: 46px;
}


.modal-header p {
text-align: center;
    margin: auto;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #099;
  color: white;
  border-radius: 0px 0px 45px 45px;
  /*height: 45px;*/
}




@media screen and (max-width : 600px){
   

   #nav_btn_img{
        top: 15px;
        left: 15px;
        display: block;
   }
   #nav{
    display: block;
   }
   #navbar{
    display: none;
   }
   .top_header{
    text-align: center;
   }
   
   
#modal_text{
    color: #fff;
margin: auto;
font-weight: bold;


}
}


 
      
    




@media screen {

.sub_details_td:nth-child(1){ width:70%; }
.sub_details_td:nth-child(2){ width:15%; }
.sub_details_td:nth-child(3){ width:15%; }






/*top progress line*/
.header {
  position: fixed;
  top: 0;
  z-index: 19999999;
  width: 100%;
  background-color: #f1f1f1;
}

.header h2 {
  text-align: center;
}

.progress-container {
    
  width: 100%;
  height: 8px;
  background: #ccc;
}

.progress-bar {
  height: 8px;
  background: #077;
  width: 0%;
}





#myBar{
      background: #077;

}


/*end*/





/* Navigation*/

.center  {
  position: relative;
  top: 35px;
  /* margin-left: -50%; */
  opacity:0;
  text-align:center;
  z-index:99999;
  display: block; 
    background: #fff; 
    text-align:center;
    height: 90px; 
    width: 90px;
    padding: 4px;
    color: #999; 
    font-family: Arial, sans-serif; 
    font-size: 12px; 
    font-weight: bold; 
    text-decoration: none;
    
    /*border-bottom: solid 1px #333; border-left: solid 1px #333; border-right: solid 1px #fff; */
    border-radius: 50%;
    box-shadow: -10px 5px 15px 3px rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.14);
    transition: all 1s;
    margin: auto;
    cursor:pointer;    

}


.center img  {
      
    width: 80px;
    height: 80px;
    border-radius: 50%;

}

#profile_user_name{
position: relative;
top: 40px;
color: #fff;
font-size: 20px;
font-weight: bold;
/* left: -10px; */
cursor:pointer;
}

#login_btn{
    width: 100px;
margin: auto;
height: 40px;
padding: 5px;
border-radius: 30px;
}

#login_username{
    max-width: 300px;
}

#login_password{
    max-width: 300px;
}

.modal-content{
    max-width: 550px;
}

.center a 
{
    color: #999; 
    font-family: Arial, sans-serif; 
    font-size: 12px; 
    font-weight: bold; 
    text-decoration: none; 
    
}






.center:hover, .center:active, .center:focus {
  top: 33px;

  
 box-shadow: -10px 5px 15px 13px rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); 
}



    
    
    
.theme_color{background: linear-gradient(to right, #f1c50e, #f1c50e); }
.theme_color2{ background:  linear-gradient(to right, #eee, #fcfcfc); }






#nav_btn_img  {
    
  position: fixed;
  top: 15px;
  left:15px;
  color:#000;
  height:50px;
  width:40px;
  
  z-index:999999;
  transition: all 0.5s;
  transition-timing-function: ease;
  font-size:30px;
  cursor:pointer;
  

  


    
}

#nav_btn_img span, a, p{
color:#fff;
    
}


#nav_btn_img:hover {width:42px;}

    
.pagefooter {
  position: relative;
  bottom:0px;
  left:0px;
  width:100%;
  z-index: 9999992;
  padding: 10px;
  
  
   border-radius: 0px; 
  color: #fff;
     
  font-size: 16px;

  opacity: 100%;
    

  /*text-align: center;*/
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);

  
  
}

.pagefooter a {
  color: #fff;
}



hr {
  position: relative;
  z-index: 2;
  width: 100%;
  
}


#logintitle {width:50%; 

text-align: center;
}


#loginform {width:50%; 
min-width:300px;
max-width:400px;
text-align: center;
}

#signup_form{
    width:50%; 
min-width:300px;
max-width:600px;
text-align: center;
}

.show_inline{
    display:inline;
}

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





.form {
  border-radius: 30px;
  position: relative;
  z-index: 1;
  
  background:  #fff ;
  
  opacity: 100%;
  align-self: center;
  align-items: center;
  align-content: center;
  


  width:90%;
  padding: 45px;

  text-align: center;
  
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  
  transition: all 0.3s ease;

}



input {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border-radius: 30px;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  box-shadow: -10px 5px 15px 5px rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);   

}

select {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border-radius: 30px;
  width: 100%;
  border: 0;
  margin: 0px 0px 0px 0px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 11px;
  
 box-shadow: -10px 5px 15px 5px rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);   

}


button {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #099;
  border-radius: 30px;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #fff;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.5 ease;
  cursor: pointer;
  margin-top: 5%;
  margin-left: 65%;
   box-shadow: -10px 5px 15px 5px rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);  
}
button:hover, button:active, button:focus {
  background: #0aa;
  box-shadow: -10px 5px 20px 7px rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);  
}
textarea .message {
  margin: 35px 0 0;
  color: #aaa;
  font-size: 18px;
  text-align: left;
   font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border-radius: 30px;
  width: 100%;
  height: 200px;
  border: 0;
  margin: 0% 0% 0% 0%;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  
  box-shadow: 0 0 0 3px #fff;
  border: 5px solid transparent;
  
}















.username a {
  padding: 8px ;
  text-decoration: none;
  font-size: 15px;
  color: #fff;
  display: block;
  transition: 0.3s;
  
  border-bottom: 0px solid #f2f2f2;
  font-family: arial;
text-align: center;
font-weight: bold;
font-family: ArabicFont;color:#fff; font-size: 20px
}

.username a:hover {
 
    color: #fff;
  background-color:#099;
}



#main {
  transition: margin-left .5s;
  padding: 0px;
}


.searchbox {
  background-image: url('/static/img/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 200px; /* Full-width */
  font-size: 11px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}


#searchboxcontainer {
  width: 90%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  display:inline-block;
  padding: 12px 20px 12px 40px; /* Add some padding */
  margin-bottom: 12px; /* Add some space below the input */
}








     
/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
  
 
  width: 100%;  

}




.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}







.select2-container--default ,  .select2-container   {
   font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border-radius: 30px;
  width: 100%;
  border: 0px;
  margin: 0px 0px 0px 0px;
  padding: 10px;
  box-sizing: border-box;
  font-size: 11px;
    
}




.select2-selection--single, .select2-selection {
    background: #f2f2f2;
    border: 0px;
    width: 100%;
}


.select2-selection__rendered {
    background: #f2f2f2;
    border: 0px;
    width: 100%;
}




.select2-results__options{
      font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border-radius: 0px;
  width: 100%;
  border: 0px;
  margin: 0px 0px 0px 0px;
  padding: 10px;
  box-sizing: border-box;
  font-size: 11px;
  width: 100%;
  
}
    
 
.select2-search , .select2-search--dropdown{
         font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border-radius: 0px;
  width: 100%;
  border: 0px solid #f2f2f2;
  margin: 0px 0px 0px 0px;
  padding: 10px;
  box-sizing: border-box;
  font-size: 11px;
  width: 100%;
}



.select2-dropdown {
    border: 0px solid #f2f2f2;
    background-color: #f2f2f2;
    
}
    
.select2-container--default .select2-selection--single {
      border: 0px solid #f2f2f2;
    background-color: #f2f2f2;
}

.select2-search__field {
    background-color:white;
}


span.select2-dropdown.select2-dropdown--below {
    margin-top: -29px;
}




.pagefooter a {
 text-decoration: none;
 font-size:15px;
 
}




/*
.active {
  background-color: #099;
  color: white;
}
  */
.dropdown-container {
  display: none;
  background-color: #555;
  padding-left: 8px;
}

#bg{
  background: #eee;
}

#menu_categories_list{
  transition: all 0.5s;
  display: inline-block;
}

#cart{
  background: #eee;
width: 0px;
position: fixed;
display: block;
top:0px;
right: 0px;
height: 100%;
overflow: scroll;
    transition: all 1s;

}


#cart_inv_logo{
  position:static;display:inline;
}

#inv_content{
  opacity:0; transition: all 0.5s
}

#headertext{
  font-family: ArabicFont;color:#000;    transition: all 1s;
}

#inv_header_text{
  font-family: ArabicFont;color:#000;    transition: all 1s;
  
  margin: auto;
  margin-bottom: 20px;
  margin-left: auto;
  margin-top: -20px;
  
  font-size: 14px;
  
  font-weight: bolder;
  z-index: 6;
  transition: all 0.5s;
  text-align: center;
}

.item_content {
  position: relative;
  background: #fff;
  color:#000;
  padding-top: 10px;
  display: inline-flex;
  text-align: right;
  width: 100%;
  direction: rtl;
border-radius: 30px;
width: 450px;

margin-top: 10px;
padding-top: 13px;
padding-bottom: 10px;
transition: 0.2s all;
}

.item_content:hover {
  background: #fff;
  filter: drop-shadow(1px 10px 10px #999);
  margin-top: 8px;
  margin-bottom: 2px;
  

}


#delete-button {
background: #e53;
color: #fff;
padding: 4px;
border: 0px solid #e53;
}

#edit-button{
    background: #0c5;
color: #fff;
padding: 5px;
border: 0px solid #0c5;
}

#item_text {
  font-size: 13px;
  word-wrap: break-word;
  display:block;
}

#control_btns {
  position: relative;
  display: inline;
  height: 40px;
  padding: 0px;
  width: 150px;

}

#td_delete_btn {
  width: 50px;
}

#invoice_items{
  display:inline-table;border: 1px solid #eee;  border-collapse: collapse;transition: all 1s;
}



body {
  align-content: center;
  text-align: center;

}

#bg {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100%;
  left: 0%;
  z-index: -2;
}


/*
.header{
position:relative;
top:0px;
width:100%;
height:100px;
z-index:999999;
padding: 15px;
}
*/


#logo {

  width: 35%;

  transition: all 0.5s;
 /*
  -webkit-filter: drop-shadow(0px 24px 20px #333);
  filter: drop-shadow(0px 24px 20px #333);
*/
}





input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}





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




html *{
    font-family:arial;
    font-family: ArabicFont;
    
}

    
}



@media screen and (max-width: 900px) {

  #logo {


      width: 200px;


  }





}



.dropdown-container {
  display: none;
  background-color: #aaa;
  padding-left: 8px;
}

#main_app {
  position: fixed;
  display: block;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
   background: url("../../assets/img/bg_maps.svg"),radial-gradient(rgb(255, 255, 255),rgba(255, 255, 255,0.5),rgba(245, 245, 245,0.5),rgba(0,0,0,0.2));
/*background-repeat: repeat, repeat;
background-blend-mode: multiply; 
  background-image: url("assets/img/bg.png");*/
  background-repeat: repeat;
  background-color: #fbfbfb;

}




/* tree view */
#tree{
  margin: 10px;
  padding: 10px;
}
.tree_ {
  margin: 0px;
  padding: 5px;
  margin-left: 5px;
  display: grid;
}

.tree_headers_{
  background: #efefef;
  border-radius: 30px;
  height: 30px;
  align-content: center;
  padding: 5px;
    padding-right: 5px;
    padding-left: 5px;
  padding-left: 20px;
  width: fit-content;
  padding-right: 20px;
  box-shadow: -0px 10px 10px 1px rgba(0,0,0,0.15) ,-0px 5px 5px 0.2px rgba(0,0,0,0.2);
  transition: all 0.5s;
  color: #999;
}
.tree_headers_:hover{
  box-shadow: -0px 10px 15px 1px rgba(0,100,100,0.2) ,-0px 7px 5px 0.2px rgba(0,250,250,0.25);
  height: 32px;
  padding-right: 22px;
  color: #077;
}
a.tree_headers_  {

}
.branch_ {
  /* margin-top: 20px; */
}
.parent_{

}

.parent_name_{

}

.treeCheckBox_{
  margin-right: 10px;
}
ul, #tree_ {
  list-style-type: none;
}



.caret {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  margin-left: -20px;
  margin-top: 10px;
  font-weight: bold;
}

.caret::before {
  content: "\002B";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

.caret-down::before {
  /*
  -ms-transform: rotate(90deg); 
  -webkit-transform: rotate(90deg); 
  transform: rotate(90deg);  
  */
  content: "\2212";
}

.nested {
  display: none;
  /* border-left: solid 1px; */
}

.active {
  display: block;
}


