
body {
    background-color: #F4F4F4;
}

input {
    border-radius: 2px !important;
}

h5 {
    font-size: 19px
}
a{
cursor: pointer;
}
.asterisk{  
    position: absolute;
    top: -2px;
    font-size: 20px;
    right: 5px;
    color:red;
}

#page-wrapper {
    background-color: #fafafa!important;*/
    padding: 26px 0px !important; 

} 
input.form-control  {
    box-shadow: none!important;
    text-shadow: none!important;
    background-color: #fff;
    width: 100%;
    border-color: rgb(0,50,100,0.3);  
} 
textarea.form-control {
    border-radius: 2px;
    box-shadow: none!important;
    text-shadow: none!important;
    background-color: #fff;
    width: 100%;
    border-color: rgb(0,50,100,0.3);
    height: 120px!important;
}
.form-group {
    margin: 10px;

}

.form-group label{
   padding-top: 5px
}

.form-control-dark {
    border-width: 0;
    border-radius: 0!important;
    box-shadow: none;
    text-shadow: none;
    color: #fff;
    border: none!important;
    background-color:rgb(255,255,255,0.02)!important;
    height: 40px!important;
    width: 696%!important;

    z-index: 10;  
}
.group-control-remise{
    border: 1px solid #ccc;
    display: block; 
    margin: 10px 0px   0px !important;
      padding-bottom: 10px;
    background-color: #FAFAFA
}
.form-control-dark:focus {
    border: none!important;
    background-color: rgb(255,255,255)!important;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */
.navbar span.badge{
    background-color: darkorange;
    font-size: 10px;
    position: absolute;
    right: -2px;
    top: 5px;
    border-radius: 3px;
    padding: 2px 5px;
}
.navbar .dropdown-menu li.activ{
    background-color: #EEE;
}

.sidebar {
  z-index: 100; /* Behind the navbar */
  padding: 0;
}

.sidebar i{
  color: #999;
    padding-right:20px;
}

.sidebar-sticky {
  top: 48px; /* Height of navbar */
  height: calc(100vh - 48px);
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  background-color: #fff!important

} 

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 5px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}



.sidebar-heading {
  font-size: .95rem;
  text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
}

/*
 * Navbar
 */

.navbar-brand {
  background-color: rgba(0, 0, 0, .5);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
    color: #fff !important;
    width: 250px;
    padding:  10px 20px!important;
    height: 40px!important;
}

/*start login for */
.login h4 {
    color: #555
}

.login {
    min-width: 350px;
    max-width:600px;

    margin: 100px auto;
}

.login form {
    padding:30px 100px;
    background-color: #fff;

    margin: 100px auto;
    box-shadow: 3px 0px 5px rgb(0,0,0,0.08)
}
 
.login input {
    margin-bottom: 15px;
    text-shadow: none;
    box-shadow: none;
    border: none;
}

.login .form-control {
    background-color: #EAEAEA;
}

.login .btn {
    background-color: #008dde;
    border: none;
}

/*end login for*/
/***
**** barside
****/
nav.sidebar{
    padding: 0 !important;
    position: fixed!important;
    background-color: ; 
}
 
/****/
.show-pass {
    position: absolute;
    
    top: 25%;
    right: 20px;

}
 
/***     table    ***/
.table{
    border: 3px solid #ecf0f1
}
 thead {
    color: #fff !important;
    background-color: #333;
    font-size: 12px;
    text-align: center;
    font-weight: 550;
     padding: 15px
} 
thead td,thead th{
    
     padding: 8px!important
}

 
td {
    padding: 5px !important;
    vertical-align: middle !important;
    font-size: 13px
}
tbody{
    background-color: #fff;
}
tfoot{
   background-color: #eee;
}

/***
**** alert 
****/ 

.alert {
    border-radius: 0 !important;
    padding: 10px 25px !important;
    width: 100%;
    position: fixed;
    top: 40px;
    left: 0;
    z-index: 2000;
    color: #fff !important;
    font-weight: 600;
    border: none !important;
    box-shadow: 1px 1px 1px rgb(0, 0, 0, 0.3)
}

.alertpage {
    padding: 15px 25px;
    color: #333!important;
    width: 100%;
    box-shadow: 1px 1px 1px rgb(0,0,0,0.2)
}
.alert i.fa-close{
    color: #fff;
    padding: 3px;
}
.alert i.fa-close:hover{
    color: red;
}

.alert-light{
    background-color: #95a5a6!important;
}
.alert-danger{
    background-color: #e67e22!important;
}
.alert-info{
    background-color: #2ecc71!important;
}


/*
**
** start modals 
**
*/


@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
/*
**
** end modals 
**
*/

/*
**
** callout 
**
*/
.callout{
    width: 100%;
    padding: 10px ;
    margin-bottom: 3px;
    color: #fff;
   
     
}
.callout-danger{
 border-left: 4px solid #c0392b;
    background-color: #e74c3c;
   
     
}
.callout-warning{
 border-left: 4px solid #e67e22;
    background-color: #f39c12;
   
     
}
.callout-success{
 border-left: 4px solid #2ecc71;
    background-color: #27ae60;
   
     
}
.callout-info{
 border-left: 4px solid  #00cec9;
    background-color:#81ecec;
   
     
}
.callout-primary{
 border-left: 4px solid #2980b9;
    background-color: #3498db;
   
     
}

.callout-default{
 border-left: 4px solid #7f8c8d;
    background-color: #ecf0f1;
    color: #333;
    
   
     
}
/*
**
** / end callout 
**
*/


/*
**
** / start loader 
**
*/
.loader {
 
  font-size: 15px!important;
  -webkit-animation: spin 1.5s linear infinite; /* Safari */
  animation: spin 1.5s linear infinite;

}
  /* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*
**
** / end loader 
**
*/


/*** 
**** Dashboard
****/
.panel .panel-footer i.fa{
    font-weight: bolder;
    font-size: 16px;
    
}
.panel .panel-body{
padding: 0;
border-radius: 0!important!
    
}
.panel .panel-footer span.pull-left{ 
    font-size: 13px;
    padding: 1px;
}
.panel .panel-body .list-group{
    margin-bottom: 0;
    
} 
.panel .panel-body div.list-group-item{
    border: none;
    border-bottom: 2px solid #ecf0f1;
    padding: 5px 25px;
    font-size: 13px;
    min-height: 35px!important
}
.panel .panel-body .list-group-item span.pull-right{
    
    color: #fff;
    font-weight: 500;
    font-size: 12px;
    padding: 2px 0;
    
}
.panel .panel-body .Message {
  
     padding:10px
}
.panel .panel-body .Message .message-text{
     color: #333; 
    padding: 5px 10px;
     background-color: #eee;
    margin-left: 100px;
    position: relative;
    top: -20px;
    width: calc(100% - 120px);
    margin-bottom: 0;
   
    
}
.panel .panel-body .Message .message-text:before{
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    left: -20px;
    width: 15px;
    height: 0;
    border-style: solid;
    border-color:transparent #eee transparent transparent;
    border-width: 10px
}
/***
**** buttons
***/ 
.btn {
    padding: 3px 10px!important;
}
.btn-sm {
   font-size: 11px!important
}
/***
****  start categories page 
***/
.limit-box {
     overflow: hidden;
}
.panel .tree{
  padding:0px;
  line-height: 12px;
    
}
.panel-body .tree h4{
  margin: 0 !important;
    padding-bottom: 5px;
}

.panel-body .tree p{
  font-size: 13px;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.2;
    width: 95%;
    margin-left: 5px
    
}
 
.panel .tree span{
    font-size: 10px;
    margin-right: 5px;
    padding: 3px 6px;
    color: #fff;
    border-radius: 6px;
}
.panel .tree span.visibility{
    background-color: #c0392b; 
} 
.panel .tree span.commenting{
    background-color: #2c3e50; 
}  
.panel .tree span.advertises{
    background-color: #f39c12;  
}   
.panel .tree .group-control{
    padding: 0px 20px;
    float: right;
    z-index: 10;
    position: absolute;
    top: 18%;
    right: -150px;
    -webkit-transition:all 0.5s ease-in-out;
    -moz-transition: all .5s  ease-in-out;    
    transition: all .5s  ease-in-out;

    
}  
.panel .tree .group-control button{
   border-radius: 8px!important;
    padding: 3px 5px!important;
    margin:2px 5px
}    
.panel .tree .group-control i{
    color: #fff;  
    
}  
.ordering {
    float: right; 
    color: #666;
} 
.ordering a{
    font-weight: 800;
    font-size: 12px; 
    text-decoration: none!important;
    padding: 0 5px;
}
.ordering a.active{
    color: #e74c3c;
}
/*******
******** tree view
*******/
                        

.tree ul {
     margin: 0 !important;
     padding-left: 25px
}
.tree ul {
     margin: 0 !important;
    padding-left: 25px
}

.tree ul li {
    list-style-type: none;
    position: relative;
} 
                        

.tree ul li ul {
    display: none;
}

.tree ul li.open > ul {
    display: block;
}

.tree ul li a {
    
    text-decoration: none;
    padding: 10px 30px;
    cursor:default;
}
.tree ul li a:hover {
    background-color: #ecf0f1;
}
.tree ul li a:hover .group-control {
    right: 0px;
}
section.tree ul li a {
    
    text-decoration: none;
    padding: 02px 0px;
    height: 28px;
}
section.tree ul  {
    padding-left: 25px!important;
    margin-top: 0!important;
    
        
} 
   
section.tree  {
    background-color: #fff;
    padding: 10px 0;
    border: 1px solid rgb(0,0,0,0.1);
    
}
    
.tree ul li > a:before {
    font-size: 1.5em;
    display: block;
    position: absolute;
    top: 25%; 
    left:0;
    font-weight: 600;
    color: #2c3e50;
    padding-left: 10px;
    cursor:pointer;
}   
section.tree ul li > a:before {
    font-size: 1.5em;
    display: block;
    position: absolute;
    top: -6px;
    left: -28px;
    font-weight: 600;
    color: #2c3e50;
}  

.tree ul li > a:not(:last-child):before {
    content: '+';
}
 
.tree ul li.open > a:not(:last-child):before {
    content: '-';

} 
.append-text {
    width: 100%; 
}
.append-text button{
    position: absolute;
    right: 0;
    height: 34px;
    z-index: 100; 
}
.full-view{
    display: none;
}
div.toggle-racine label.active{
    background-color: #1abc9c !important;
    color: #fff;
}
/*---------------------------------
 image preview
 ---------------------------------*/
td  {
    text-align: center;
    vertical-align: middle;
}
.thumbnail-sm{
    height: auto;
    max-width: 60px ;
    margin: 0!important;
    padding: 2px!important;
}
.thumbnail{
    height: auto;
    max-width: 60px ;
    margin: 0!important;
    padding: 2px!important;
}
.image-preview-input {
    position: relative;
    overflow: hidden;
    margin: 0px;    
    background-color: #fff;
    border-color: #ccc;
    height: 34px;
}
.pdf-preview-input {
    position: relative;
    overflow: hidden;
    margin: 0px;    
    background-color: #fff;
    border-color: #ccc;
    height: 34px;
}
.image-preview-input input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 25px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
.pdf-preview-input input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 25px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
.image-preview button.image-preview-clear {
    
    height: 34px !important
}
.image-preview-input-title {
    margin-left:8px;
}

.box-image{
    width: 100%;
    min-height: 150px; 
}

.box-image img{
    margin-top: 35px;
    margin-bottom: 10px;


}

.box-image .ps-image-drop{
    position: absolute;
    top: 40%;
    right: 40%;

}

.box-image .btn-info{
    margin-bottom: 15px;
    z-index: 100;
    position: absolute;
    top: 6px;
    left: 25px;

}

.box-image .upload-drop-zone:hover{
      background-color: #ecf0f1;
}

.box-image input.btn{
    position: absolute;
    height: 100%;
    width: calc(100% - 30px);
    font-weight: 600;
    border-style: dashed;
    border-color: #ccc;
}                                           
/**********************************
responsive
**********************************/

 
/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
 .tree ul li > a:before {
    display: block;
    position: absolute;
    top: 13px; 
    left:0px;
    color: #2c3e50;
    padding-left: 10px;
     
    }
   div.tree ul li a {
        width: 100%;
        float: left;
    }
      


   
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
   .sidebar-sticky {
       position:inherit;
       width: 100vw;
       
    }
}
.oldpriceremise{
    text-decoration-line: line-through;
}