html,body{
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    background:#fff;
}
/* global*/
a,a:hover{
    text-decoration: none;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}

.ui-autocomplete{
    max-height:420px;
    overflow-y:scroll;
    overflow-x:hidden;
}

.clear{
    height:0;
    visibility:hidden;
    clear:both;
    margin:0;
    padding:0;
}

.bold{
    font-weight: bold;
}

.box .box-header .box-title{
    font-size:19px;
}

.txtRouge{
    color:#d9534f;
}

.txtRoseLepage{
    color:#d9507e;
}

.champErreur{
    background:rgb(244, 84, 60) !important;
}

.separateur{
    width: 30%;
    margin: 6px auto;
}

.input-group-addon-perso{
    padding:5px;
}

.prixPreferencielMoins,.legendePrixPreferencielMoins{
    background: #ffa79e !important;
}

.prixPreferencielPlus,.legendePrixPreferencielPlus{
    background: #c0ed74 !important; 
}

.btn-noir{
    color:#fff;
    background: #818388;
}

.btn-noir:hover,.btn-noir:focus{
    color:#fff;
    background: #4a4c53;
}

.form-control{
    font-size:13px;
}

.badgeNouveaute{
    font-size: 13px;
    font-style: italic;
    margin-left:20px;
    background:#d9507e;
}

/* Connexion */
.form-box{
    margin:0 auto;
}

.form-box .header {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background:#d9507e ;
    box-shadow: inset 0px -3px 0px rgba(0, 0, 0, 0.2);
    padding: 20px 10px;
    text-align: center;
    font-size: 26px;
    font-weight: 300;
    color: #fff;
}
.form-box .body, .form-box .footer {
    padding: 10px 20px;
    background: #fff;
    color: #444;
}

.bg-gray {
    background-color: #eaeaec !important;
}

.form-box .body, .form-box .footer {
    padding: 10px 20px;
    background: #fff;
    color: #444;
}

.form-box .footer {
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.form-box {
    max-width: 360px;
}

/*dispo*/
body .main-header{
    position:fixed;
    width:100%;
}

.right-side{
    padding-top:50px;
}

.skin-blue .logo{
    background:#393a40;
}

.skin-blue .logo:hover {
    background: #d9507e;
}

.main-header .navbar{
    background:#4a4c53;
}

.main-header .logo{
    font-family:'Open sans',sans-serif;
    font-size:15px;
    color: #f9f9f9;
    font-weight: 500;
}

#logoLepageGranit{
    padding:5px 10px;
    max-width: 100% !important;
}

.sidebar .user-panel {
    padding:15px;
    font-weight:600;
    font-size:13px;
    line-height: 1.2em;
}

.main-sidebar{
    position:fixed;
    width: 155px;
    border-right: rgba(217,80,126,0.2) solid 1px;
    box-shadow: 3px 0px 8px -4px #d9507e;
}

/* Menu */
.sidebar a.itemMenuActif,
.treeview-menu > li.active > a,
.treeview-menu > li > a:hover,
.sidebar > .sidebar-menu > li > a:hover,
.sidebar > .sidebar-menu > li.active > a{
    font-style:italic;
    font-weight:bold;
    color:#d9507e;  
}

.sidebar a {
    color: #000;
    text-decoration: none;
}

.sidebar .sidebar-menu > li > a {
    font-weight:bold;
    font-size:13px;
}

.sidebar .sidebar-menu .treeview-menu > li > a {
    font-size:13px;
}

.sidebar-menu > li {
    border-top: 1px solid rgba(217,80,126,0.2);
}

.sidebar-menu > li:last-child{
    border-bottom: 1px solid rgba(217,80,126,0.2);
}

.sidebar-menu:hover{
    overflow: none;
}

.sidebar-menu, .main-sidebar .user-panel, .sidebar-menu>li.header {
    white-space: normal;
    overflow: hidden;
}

.pagination>.active>a, 
.pagination>.active>span, 
.pagination>.active>a:hover, 
.pagination>.active>span:hover, 
.pagination>.active>a:focus, 
.pagination>.active>span:focus{
    background:#d9507e;
    border-color: #a72550;
}

.main-sidebar-toggle{ 
    float: left;
    background-color: transparent;
    background-image: none;
    padding: 15px 15px;
    font-size:20px;
    color:#fff;
}

.main-sidebar-toggle:hover{
    background:rgba(0, 0, 0, 0.1);
}

.main-sidebar-toggle:hover,
.main-sidebar-toggle:visited,
.main-sidebar-toggle:focus{
    color:#fff;
    text-decoration: none;
}

.content-header{
    padding:0 10px 0px;
}

.content-header > .breadcrumb{
    position:relative;
    top:0;
    left:0;
    float:none;
}

.content-wrapper{
    background:none;
}

.box{
    border-width:2px;
}

/**
* Galerie photo
**/
#dropzone{
    width:100%;
    height:200px;
    margin:10px 0;
    border: dotted 2px #cccccc;
    background:#eee;
    line-height:200px;
    text-align:center
}

#legende ul{
    padding:0;
    list-style:none;
}

/**
* Liste devis
**/
#txtIntroPartie{
    width:400px;
    float:left;
}

#blocFormRecherche{
    float:left;
    position: relative;
}

#formListeDevis{
    margin-left: 400px;
    border-left: solid 1px #ccc;
    padding-left: 15px;
}

#formListeDevis .chpForm{
    height:35px;

    display: inline-block;

    margin-right:10px;

}

.dataTables_processing{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    text-align:center;
    font-size:18px;
    font-style:italic;
    padding-top:15px;
    background: url(../design/autocomplete-loader.gif) no-repeat center 50px  rgba(250,250,250,0.8);
    z-index:5;
}

.table-hover>tbody>tr:hover>td, .table-hover>tbody>tr:hover>th{
    background: rgba(217,80,126,0.1);
}


.tableRowClic td:hover{
    cursor: pointer;
}

.tableRowClic td.colAction:hover{
    cursor:default;
}


/**
* Liste Commande
**/

#formListeCommande .chpForm{
    height:35px;

    display: inline-block;

    margin-right:10px;

}


/**
* Devis
**/

#menuDevis-sticky-wrapper{
    margin-bottom:20px;
}

#blocDevis{
    /* max-width:960px; */
    margin: auto;
    padding-top: 20px;
    padding-left:40px;
    margin-bottom:20px;
}


#blocDevis .input-group-addon{
    border:none;
    background:none;
    padding: 0 5px 0px 5px;
}

#blocDevis .row{
    margin-left:0;
    margin-right:0;
}

#blocDevis textarea{
    resize:none;
}

#blocDevisContenu input,#blocDevisContenu textarea{
    width:100%;
}

#dateDevis, #dateCommande{
    width:82px ;
}

#entete {
    margin-bottom:50px;
}
#entete label{
    width:120px;
}

#entete input{
}

.ligneSousTotal{
    margin-top: 35px;
    margin-bottom: 10px;
    border-bottom: solid 1px #000;
}

.ligneSousTotal div{
    padding:0;
}

.ligneSousTotal input,.ligneSousTotal {
    border-bottom: solid 1px #000;
    font-size:16px;
    font-weight:bold;
}

/*.ligneSousTotal input, #blocDevis .input-group-addon{
    border:none;
    font-size:18px;
    font-style:italic;
}*/

#blocDevis .readonly{
    border:none;    
}

.row.ligneProduit, .row.ligneDimension{
    border:solid 1px #cccccc;

}

.row.ligneDimension .form-group{
    margin:0;
}

.row.cote.blocAjoutLigneDimension{
    border-bottom:solid 1px #ccc;
}

.blocAjoutLigneDimension div{
    padding:5px 8px;
}

.row.ligneProduit div{
    padding:0;
}


.row.ligneProduit input {
    margin:0 auto;
}

.row.border+.row.border{
    border-top:none;
}

.ligneProduit .border-left, .ligneDimension .border-left{
    border-left:solid 1px #cccccc;
}

#blocDevis .blocAjout{
    margin:30px auto;
}

#blocDevis .blocAjout span{
    text-align: center;
    background: #00c0ef;
    color:#FFF;
    font-size: 17px;
    font-weight: bold;
    
}
#blocDevis .blocAjout input{
    margin-left: 0;
    border:solid 1px #00c0ec;
    border-left-color: #fff;
    background: #c8eaff;
    color:#000;
}

#blocDevis .blocAjout input::placeholder {
  color: #777;
  font-size:17px;
  font-style: italic;
}

#blocDevis .rechercheProduit {
    background:#fff; 

}

#blocDevis .rechercheProduit+.btRecherche{

    width:35px;
    height:34px;
    cursor:pointer;
    padding:0;
    background: #00c0ef;
}

#blocDevis .rechercheProduit+.btRecherche>span{

}


#blocDevis input.loader,.loader {
    background: url(../design/autocomplete-loader.gif) no-repeat center center;
}

#loader{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background: url(../design/autocomplete-loader.gif) no-repeat center center rgba(230,230,230,0.8);
}

.blocLoader{
    width:30px;
    height:30px;
    margin:auto;
}

.blocLoader+p{
    font-style: italic;
}


#blocDevis .tva,
#blocDevis .quantite{
    text-align:center !important;
}

#blocDevis .sousTT,
#blocDevis .tauxRemise,
#blocDevis .total,
#blocDevis .prix,
#blocDevis .prixUnite,
#blocDevis .totalLigne{
    text-align:right;
}

#devisFooter{
    margin-top:50px;
    /* padding:10px 0px; */
    font-size: 15px;
    font-style:italic;
    border:solid 1px #000;
}

#devisFooter input{
    width:100%;
    /* border:none; */
    text-align:right;
}

#devisFooter textarea{
    width:100%;
}

#colDetailTotal{
    padding:0;
    border-left:solid 1px #000;
}

#colDetailTotal p{
    margin:0;
}

#colDetailTotal .row div{

}
#colDetailTotal .row+.row{
    border-top:solid 1px #000;
}

.removeRow{
    position:absolute;
    left: -25px;
    width:23px;
    height:28px;
    color:#fff;
    cursor:pointer;
}
.sortable{
    position:absolute;
    left: -50px;
    width:23px;
    height:28px;
    color:#fff;
    cursor:pointer;
}

#blocDevis .dim{
    width:50px;
}

.row[data-famille='1']{
    border-bottom:none;
}

.row.cote{
    border-top:none;
    border-bottom:none;
}

#menuDevis{
    z-index:1;
}

#cacheMenu{
    display: none;
    position:absolute;
    top:0;
    width:100%;
    height:100%;
    z-index:100;
    text-align:center;
    font-size:18px;
    font-style:italic;
    background: url(../design/autocomplete-loader.gif) no-repeat center center  rgba(250,250,250,0.8);
}

#blocDevis input,#blocDevis textarea,.legendeChpModif{
    /* margin:0 5px; */
    background:#c8eaff;
    border:solid 1px #ccc;
}

#blocDevis input.readonly,#blocDevis input[tabindex='-1'],#blocDevis textarea.readonly{
    background:#fff;
}

#blocDevis .prix{
    /* width:50px; */
}
#blocDevis  .totalLigne{
    /* width:125px; */
}
.sousTT+span,.tauxRemise +span,.prixUnite + span,.prix + span, .totalLigne + span {
    padding: 5px 5px 5px 0px;
}

.unite p{
    width:100%;
    margin:0;
    padding-top:5px; 
    text-align: center;
}

#blocDevis  #devisHeader .readonly{
    border:1px solid #ccc;;
}

.remise+span{
    width:20px;
}


#ligneTTC,#ligneNetPayer,#ligneSoldeDu{
    font-weight:bold;
    font-size: 19px;
}

.choixAction{
    font-size:18px;
    margin:20px 0;
}

#ajoutPartie{
    margin : 20px 0;
    padding:10px;
    text-align:center;
    border:dashed 1px #bbb;
}

.blocSousTotal{
    position:relative;
}

.changePosSousTotal {
    position:absolute;
    left:-50px;
    top:0;
    width:50px
}

.changePosSousTotal button{
    margin-top:5px;
    font-size:12px;
    padding:3px;
}

.changePosSousTotal .blocSousTotalDown{
    margin-left:5px;
}

#textMail{
    width:100%;
    height:100px;
}

.voirHistorique{
    border:none;
}

.listAction{
    margin: 0;
    padding:0;
    list-style:none;
}

.listAction li+li{
    margin-top: 10px;
}

#modalHistorique{
    overflow:hidden;
}

#modalHistorique .modal-body{
    max-height:400px;
    overflow-y:scroll;
}

#modalHistorique li{
    list-style: none;
}

#modalHistorique li+li{
    margin-top:5px;
}

#blocHeaderDevis #contremarque,#blocHeaderDevis #Prenom{
    font-size:18px;
    font-weight: bold;
}

#popoverStatsCuisiniste,#popoverStatsVendeur{
    cursor:pointer;
}

#listeMateriauxRemplacable{
    list-style:none;
}

/*
* Actualité
*/
#blocCuisiniste .selected{
    background:#c8eaff;
}

/**
* Commande
**/
#infoCommande{
    font-size: 14px;
    line-height: 18px;
    font-weight:bold;
}


#blocFormAcompte{
    position: relative;
}

#blocFormAcompte .form-group{
    display: inline-block;
}

#blocFormAcompte .erreurForm{
    border:red solid 1px;
}

#blocAcompte .btn-xs{
    cursor:pointer;
}

#blocAcompte .dataTables_info{
    font-size:12px;
}

#blocAcompte hr{
    margin-top:5px;
    margin-bottom: 10px;
}

#txtFactureAcompte,#txtFicheInter{
    width:100%;
    height:100px;
}

#blocHeaderDevis input ,#blocHeaderDevis select.form-control{
    height:auto;
    padding:3px;
}

#blocHeaderDevis .form-group{
    margin-bottom:2px;
}

#btAjouterFichier,#btAjouterFichierCmdSig,#btAjouterFichierTvaSig{
    margin-top:5px;
}

.dataTable .dateCrea,.dataTable .infoEtat{
    font-style:italic;
    font-size: 13px;
}

#menuDevis label.radio-inline,#menuDevis label.checkbox-inline{
    margin-left :10px;
    font-weight: bold;
}

#btPassageFactu{
    margin-left:10px;
}

#modalCreaAvoir .modal-dialog{
    width:325px;
}


#modalFactureAvoir .modal-dialog{
    width:700px;
}



#groupeCommission .radio-inline:first-child{
    margin-left:10px;
}
#groupeCommission .radio-inline{
    padding-left:10px;
}

/** Reglement **/
#formulaireReglement{
    margin-bottom:30px;
}

#formulaireReglement .actionForm{
    margin-bottom: 25px;
}

#formulaireReglement .form-group{
    margin-bottom: 5px;
    margin-right: 10px;
}

#boxQuantite ul{
    margin-left:10px;
    list-style:disc;
}

#boxQuantite ul ul{
    padding:0 15px;
    list-style:none;
}

#blocDevis input.prixPreferenciel, #blocDevis textarea.prixPreferenciel,.legendePrixPreferenciel{
    background:#fadb77;
}

#tabFichier{
    overflow-wrap: anywhere;
}

#legende .blocCouleur{
    width:20px;
    height:20px;
    float:left;
    margin-right:5px;
    border:none;    
}

#boxAlerteNonBloquante{
    margin-top:25px;
    margin-left:10px;
    font-size:15px;
    background:#f9e095;
}

#afficheAlerteNonBloquante{
    cursor:pointer;
}

#alerteNonBloquante ul>li{
    margin:5px 20px;
    list-style: disc;
}

#ligneAlerteFaconnageText{
    padding:auto 15px;
    list-style:none;
}

.actuBlocImage{
    float:left;
    margin-right:10px;
    margin-bottom:10px;
}

#alerteChangeDate{
    display: none;
    margin-left:0;
    font-size:14px;
    padding:10px;
}

#btInfoNCmd{
    margin-top: -4px;
}

.txtPopover{
    font-weight: normal;
    font-size:12px;
}

#blocCommentaire textarea{
    width:100%;
}

.navbar-nav{

}

/* barre de menu gauche */
.navbar-left{
    float: left;
    margin-left:10px;
}

.main-header .navbar-right{
    float: right;
}

.navbar-left li>button{
    width:50px;
    height:50px;
    font-size:20px;
    padding:0;
    color:#eee;
    border:none;
    box-shadow:none;
    background:none;
}

.navbar-left li>button:hover{
    background:rgba(0, 0, 0, 0.2);
}

.navbar-left li+li{
    margin-left:10px;

}

/* Formulaire de recherche */
#formRechercheGlobal{
    padding:12px 15px 12px 0px;
}

#formRechercheGlobal label{
    color:#fff;
}

#formRechercheGlobal input{
    display: inline-block;
    vertical-align:top;
}

#formRechercheGlobal .btn{
    padding:2px 15px;
}

#formRechercheGlobal .btn:hover{
    color: #fff;
    background: #818388;
}

.navbar .nav a{
    color:#fff;
}

.nav>li>a:hover, .nav>li>a:active, .nav>li>a:focus{
    background: rgba(0, 0, 0, 0.1);
    color: #f6f6f6;
}

.navbar-right{
    margin-right:10px;
}

.blocCouleurLivraison{
    display:inline-block;
    width: 20px;
    height: 20px;
    margin-right: 2px;
    border: none;
    vertical-align: middle;
}

/* Modal mode clientèle */
.mdcResultatAutocomplete{
    position:fixed;
    z-index:9999;
}

/* Passage commande */
.stepwizard-row {
    display: table-row;
}
.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}
.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}
.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;
}
.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}
.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

#confirmCommande .modal-footer{
    margin-top: 0;
    padding: 15px;
}

#modalPsCmd-tabFichier td{
    padding:4px;
}

#modalPsCmd-tabFichier_info{
    padding:0;
}

#progressmodalPsCmd{
    margin-top:10px;
}

#confirmSup{
    z-index: 1600;
}

@media(min-width:768px){
    /* Connexion */
    #colFormConnexion{
        border-right:1px solid #ddd;
    }

}

.box{
    box-shadow:0 0 10px #ccc;
}

.popover{
    max-width: 100%;
}

.propoverStatCuis {
    width: 250px;
}

.propoverStatVendeur{
    width:280px; 
}

#statistiqueVendeur,#statistiqueCuisiniste{
    padding: 0 10px;
}

#lienAssistanceTs{
    padding-left:45px;
    background:url(../design/assitanceLepage.png) no-repeat left center;
    background-size: 35px;
}
/** modal mode clientèle**/
#modalModeClientele .modal-footer{
    margin-top: 0;
    text-align: center;
}
#btModeClientele.btModeClienteleActif{
    background-color:#5bc0de;
}

/*champ tel + indicatif*/
.gpMobile{
    display:table;  
}

.gpMobileIndi,.gpMobileNum{
    display:table-cell;
    vertical-align: top;
}

.gpMobileIndi select{
    padding: 2px;
    font-size: 12px;
    padding-top: 3px;
}

.gpMobileNum input{
    border-left:none;
    border-radius: 0 5px 5px 0;
}

label .btPopover{
    line-height: 1;
}

#blocNumTel{
    margin:10px 0 ;
}

#blocNumTel .gpMobile {
    max-width: 150px;
    display: inline-block;
}

#blocNumTel .gpTelPlus{
    margin:5px 0;
}

#blocNumTel label{
    margin-top:2px;
    vertical-align: top;
}

#blocNumTel .gpTelPlus+.gpTelPlus{
    margin-top:10px;
}

#blocNumTel .selTypeTel{
    vertical-align: top;
    padding:2px;
}

#pjRenommage .modal-dialog{
    width:350px;
}

.fileupload-champ{
    width:100%;
    height:100%;
}

#modal-ficheProduit .modal-dialog{
    max-width:500px;
}

#modal-ficheProduit .modal-body{
    padding:0;
}

/** gestion du scrollTop **/
.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    background-color: #ffa79e;
    color: #eeeeee;
    width: 40px;
    height: 35px;
    font-size:20px;
    line-height: 30px;
    right: 10px;
    bottom: 10px;
    padding-top: 2px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.scroll-top-wrapper:hover {
    background-color: #d9507e;
}
.scroll-top-wrapper.show {
    visibility:visible;
    cursor:pointer;
    opacity: 1.0;
}
.scroll-top-wrapper i {
    line-height: inherit;
}
/**************/

@media(min-width:768px){

    .main-header .logo{
        width: 155px;
    }

    .content-wrapper{
        margin-left:155px;
    }

    .main-header .navbar{
        margin-left: 155px;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar{
        width:0 !important;
    }

    .sidebar-mini.sidebar-collapse .user-panel{
        display:none;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .right-side, .sidebar-mini.sidebar-collapse .main-footer{
        margin-left:0px !important; 
    }

    .sidebar-mini.sidebar-collapse .main-header .logo{
        display:none;
    }

    .sidebar-mini.sidebar-collapse .main-header .navbar{
        margin-left: 0;
    }
}

@media(max-width:767px){
    .fixed .content-wrapper, .fixed .right-side{
        padding-top:50px;
    }

    .sidebar-open .content-wrapper, .sidebar-open .main-footer{
        -webkit-transform: translate(160px, 0);
        -ms-transform: translate(160px, 0);
        -o-transform: translate(160px, 0);
        transform: translate(160px, 0); 
    }

    .navbar-nav{
        margin:0;
    }

    .main-sidebar {
        padding-top: 60px;
    }
}