.IconWrap .nav-tabs li a span{    
    font-size: 16px;
    margin-left:5px;
    color: #00a65a;
}

     .CustWrap{
              background-color: transparent !important;
              display: inline-block;
              box-shadow: none !important;
              width: 94%;
            }
            .CustNone{
              -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
              box-shadow: 0 1px 1px rgba(0,0,0,0.1) !important;
              background: #fff !important;
              width: 94%;
            }
             .box-si{
                  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
                  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
                  border-radius: 3px;
                  margin-top: 0;
                  background: #fff;
                  color: #444;
                  position: relative;
             }
             .box-si .timeline-header{
                  margin: 0;
                  color: #555;
                  border-bottom: 1px solid #f4f4f4;
                  padding: 10px;
                  font-size: 16px;
                  line-height: 1.1;
             } 
             .box-si .time{
                  color: #999;
                  float: right;
                  padding: 10px;
                  font-size: 12px;
             }
             .box-si .timeline-footer{
                  padding: 10px;
             }
             .box-si .timeline-body{
                  padding: 10px;
             }

.LightWrap .row > .column {
  padding: 0 8px;
  margin-bottom: 10px;
}
.LightWrap .row:after {
  content: "";
  display: table;
  clear: both;
}
.LightWrap .column {
  float: left;
  width: 20%;
}
.LightWrap .modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.LightWrap .modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 50%;
  max-width: 1200px;
}
.LightWrap .close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  opacity: 1;
}
.LightWrap .close:hover,
.LightWrap .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.LightWrap .mySlides {
  display: none;
}
.LightWrap .cursor {
  cursor: pointer
}
.LightWrap .prev,
.LightWrap .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.8);
}
.LightWrap .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.LightWrap .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.LightWrap img {
  /*margin-bottom: -4px;*/
}
.LightWrap .caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}
.LightWrap .demo {
  opacity: 0.6;
}
.LightWrap .active,
.LightWrap .demo:hover {
  opacity: 1;
}
.LightWrap img.hover-shadow {
  transition: 0.3s
}
.LightWrap .hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}
.message-wrap{
  min-height: 650px;
}
.Margin_Top { margin-top: 45px; }
.BlueWrap{
    background-color: #3c8dbc;
  }
  .BlueWrap a{
    color: #fff;
  }
  .BlueMain .timeline-body table tr td a{
    color: #3c8dbc;
  }
  .GreenMain .timeline-body table tr td a{
    color: #00a65a;
  }
  .GreenWrap{
    background-color: #00a65a;
  }
  .GreenWrap a{
    color: #fff;
  }
.RedWrap{
    background-color: #dd4b39;
  }
  .RedWrap a{
    color: #fff;
  }
  .RedMain .timeline-body table tr td a{
    color: #dd4b39;
  }
.PurpleWrap{
    background-color: #895ec3;
  }
  .PurpleWrap a{
    color: #fff;
  }
  .PurpleMain .timeline-body table tr td a{
    color: #895ec3;
  } 

.FielWrap legend {
  width: auto;
      font-size: 14px;
    padding: 0;
    border: 0;
} 
.FielWrap fieldset {
    padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid silver;
}

.high-light{background:#aaa !important;}
.order-urgent{ background:#dd4b39 !important; }

@media only screen and (max-width: 1000px) {
  .RspWrp{
    width: 100%;
    overflow-y: hidden;
  }
  .RspWrp table{
    width: 800px;
    overflow-x: scroll;
  }
}

@media only screen and (max-width: 768px) {
.nav-tabs-custom>.nav-tabs>li{
	float: none;
	margin-right: 0px;
}
.nav-tabs-custom>.nav-tabs>li.active a{
	background-color: #f5f5f5;
}
.LightWrap .prev,
.LightWrap .next {
  top: 75%;
  padding: 5px;
  font-size: 12px;
}
.box-si{
  margin-bottom: 15px;
}
.CustWrap{margin-left: 40px !important;}
.CustNone{margin-left: 55px !important; width: 85%;}
.LightWrap .column {
    float: left;
    width: 50%;
    margin-bottom: 10px;
}
.LightWrap .modal-content{
  width: 80%;
}
.ThumWrap .column{
      float: left;
    width: 25%;
}

}


.MessageWrap .direct-chat-text{
  margin-left: 5px;
}



.MsgBg{
  background-color: #fff !important;
  color: #000 !important;
  padding: 15px;
}
.MsgBg .DateWrap{
  width: 100%;
  display: inline-block;
  margin-bottom: 10px;
}
.MsgBg .DateWrap span{
  float: left;
}


.ChartWrap{
  display: inline-block;
  width: 100%;
}
.ChartWrap label{
  float: left;
  margin-right: 5px;
}
.paid{
 background:#00a65a !important;
}
.due{
    background:#fdb213 !important;
}
.not_due{
    background:#aaa !important;
}



.DeskRs{
  width: 100%;
    overflow-y: hidden;
}

.DeskRs table{
  width: 1250px;
    overflow-x: scroll;
}

.facture_ht{
      height: 420px;
    overflow-x: hidden;
}

.facture_ht table{
    overflow: scroll;
}

.Notification_mail{
  width: 70%;
      margin-left: 17% !important;
}
.imperative_date{
  float: right;
  padding-right: 6px;
}
.imperative_date_underline{
  text-decoration: underline;
}
span.tag.label.label-info{
  font-size:15px !important;
  display: inline-block;
  margin: 5px 1px;
}


/*  */
/*image gallery*/
.image-checkbox {
	cursor: pointer;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 2px solid #3c8dbc;
	margin-bottom: 15px;
  outline: 0;
  position: relative;
}
.image-checkbox input[type="checkbox"] {
	display: none;
}
.image-wrapper img {
  width: 200px;
  height: 120px;
  object-fit: cover;
}
.image-checkbox .fa {
  position: absolute;
  color: #4A79A3;
  background-color: #fff;
  padding: 10px;
  top: 0;
  right: 0px;
}
.image-checkbox-checked .fa {
  display: block !important;
}
.image-wrapper {
    display: inline-block;
    width: 100%;
    /* border: 1px solid; */
    padding: 7px 0px 4px;
    height: 450px;
    overflow-x: hidden;
    overflow-y: auto;
}
.image-wrapper.error {
  border: 1px solid red; 
}
.photo-error{
  color: #dd4b39;
}
.button-wd{
  width: 38px;
}