
html {
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}
body {
    font-size: 1rem;
    color: var(--main-color-full);
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.body-wrapper {
    overflow-y: hidden;
  }
/* Works on Firefox */
*{
    scrollbar-width: thin; /* auto */
    scrollbar-color: var(--main-color-client1) transparent;
}
::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 8px;
}
  
*::-webkit-scrollbar-track {
    background: transparent;
}
  
*::-webkit-scrollbar-thumb {
    background-color: var(--main-color-client1);
    border: 3px solid transparent;
}

.btn {
    all: unset;
}
header{position:relative}

.contenu {
    padding:15px 15px 5% 15px;
    min-height: calc(100vh - 150px);
    //margin-bottom: 215px;
}


h1 button, h1 a, h2 button, h2 a, h3 button, h3 a, h4 a {
    font-size: var(--fs-base);
    float:right;
    /*margin:-10px 0px 0px 5px!important;*/
}
h2 .ss_parametres a {float:none;margin:0px!important;}

.colorUser {
	color : var(--main-color-client1);
}

ul { margin-bottom: 0 }

.separator{
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 8px;
}
.separator-top{
    border-top: 1px solid #ddd;
    margin-top: 15px;
    padding-top: 8px;
}
.font_fam {
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}
.dragIcon {
    width:50px;
    margin-bottom:10px;
}
.container-fluid {
    min-width:1280px;
    padding-right:0px;
    padding-left:0px;
}
.border_form {
    border: solid 1px var(--main-color-grey3);
}
.hover:hover {
    background-color: var(--color-menuprofile-btn-hover);
    cursor: pointer;
}
.td_icon {
  padding: 0px !important;
}
.titre_detail {
    span {
        color: var(--main-color-client1);
        color:#F5F5F5;
    }
}
.titre_block {
    background-color: var(--header-main-color);
    color: var(--header-text-color);
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}
.block_edition {
    display: inline-block;
    width: 100%;
    border: 1px solid var(--main-color-grey2);
    margin-bottom: 20px;
    position: relative;
    box-shadow: var(--box-shadow);
}

.form {
    span.champs_label {
        display: inline-block;
        width: 60%;
        padding-top: 5px;
        margin-left: 5%;
    }
    span.resultat {
        display: inline-block;
        width: 27%;
        text-align: right;
    }
    span.resultat.bg_blanc {
        padding: 5px;
    }
}

p.resultat-montant-line {
    display: flex;

    span.resultat.montant {
        display: inline;
        width: 27%;
        text-align: right;
    }
}

.zoneError {
    color:var(--error);
}

form {
    span.champs_label {
        margin-left: 0px;
        width: 40%;
        font-weight: bold;
        display: inline-block;
    }
    span.resultat {
        margin-left: 0px;
        width: 58%;
        display: inline-block;
        text-align: left;
    }
    table {
        >tbody {
            >tr {
                >td {
                    >span.resultat {
                        width: 100%;
                        text-align: left;
                    }
                }
            }
        }
    }
    .filtre {
        .row {
            margin: 0px;
            display: flex;
            align-items: center;

            & > div {
                flex-basis: 0;
                flex-grow: 1;
            }
        }
    }

    .row.largeLabel {
        label {
            width: 70%;
        }
    }

    .doubleInput > .input-wrapper {
        margin-right:3%;
    }
    .doubleInput > div  {
        flex-basis: auto !important;
    }
}
.colonne3 {
    .row {
        input {
            float: right;
        }
        textarea {
            float: right;
        }
        select {
            float: right;
        }
        label.switch {
            float: right;
            margin-right: 48px;
        }
        button {
            position: absolute;
            background-color: transparent;
            right: 0px;
        }
    }
    &.last {
        width: 32%;
        margin-right: 0%;
        width: 33%;
        vertical-align: top;
    }
}
.colonne2 {
    width: 48%;
    margin-right: 4%;
    vertical-align: middle;
    position: relative;
    float: left;
    button {
        float: right;
    }
    &.champsupp {
        width: 47%;
        margin-right: 3%;
        vertical-align: middle;
        position: relative;
        float: left;
    }
    &.last {
        width: 48% !important;
        margin-right: 0px;
    }

    &.row {
        margin-right:1%;
    }
    &.row.last {
        margin-right:0;
    }
}
.colonne2-flex-between {
    display: flex !important;
    justify-content: space-between;
}
// TODO : remove
.mt-half {
    margin-top: .5em;
}
.ml-2 {
    margin-left: 2em;
}


.single {
    label {
        @extend .bs-col-12
    }
}
.liste {
    .single {
        text-align: left;
    }
    .colonne {
        text-align: left;
        .row {
            margin: 0px 0px 10px 0px;
            position: relative;
            display: inline-block;
            vertical-align: middle;
            width: 100%;
        }
    }
    .colonne2 {
        text-align: left;
    }
}
.societe {
    label {
        margin-right: 3%;
        width: 20%;
        padding-top: 10px;
    }
    input {
        display: inline-block;
    }
}
.libelle_societe {
    label {
        margin-right: 3%;
        width: 20%;
        padding-top: 10px;
    }
    input {
        display: inline-block;
    }
    &.last {
        margin-right: 0%;
        width: 33%;
        vertical-align: top;
    }
}
input.champs_recherche {
    padding-right: calc( 1rem + 15px )
}
input.datepicker {
    padding-right: calc( 1rem + 15px )
}
input.zoom {
    padding-right: calc( 1rem + 15px )
}
.row {
    position: relative;

    input.devise {
        padding-right: 12%;
    }
    
    .input-group-addonSpecial {
        background-color: transparent;
        border: none;
        position: absolute;
        font-size: var(--fs-14 );
        right: 12px;
        top: 67%;
        color: #ddd;
    }

    input.devise {
        padding-right:50px;
        text-align:right;
    }

    input.content_left{
        padding-right: 10px;
        text-align:right;
    }
}

#gestion-facture {
    .filtreRow {
        width: 57% !important;
        margin-left: 3%;
        input {
            width: 100% !important;
        }
    }
}




/* bulle filter */
.result {
    border-radius: 15px;
    background-color: var(--main-color-opac15);
    display: inline-block;
    padding: 7px 10px;
    margin-right: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/* Couleur Client */
/* CSS Document */
#connexion_backup, .tuiles_index.active  {background-color:var(--main-color-client1);}

.tuiles_index{
    border:1px solid var(--main-color-client1);;color:var(--main-color-client1);

    &:hover{
        background-color:var(--main-color-client1);opacity:0.7;color:#FFF;

        .interactions {
            border: solid 1px #fff;
        }
    }

    .interactions {
        border: solid 3px var(--main-color-client1);background-color:var(--main-color-client1);
    }
}

#acces-rapide {
    a{background-color: var(--main-color-client1);}
}

h2.border-bottom{
    border-bottom:solid 1px var(--main-color-client1);
    padding-bottom:10px;
}

#mes_favoris {
    a, .favoris-card {
        padding-top:10px;padding-bottom:5px;cursor: pointer;
        border-bottom: 1px dotted var(--main-color-client1);
    }
    a {
        span {
            color: var(--main-color-client1);
        }

        &:last-child{
            border-bottom:0px;
        }
    }

}



#detail_fournisseur .parametrage.parametre_general {background-position: center -154px;}



.pictos img {fill:var(--main-color-client1);height:100%;margin:auto;}

.panel-default{border-color:transparent}

a.list-group-item, button.list-group-item{border:1px solid var(--main-color-client1);}

.node-treeview6 .badge {background-color:var(--main-color-client1);}
 
.separateur_bottom{border-bottom: 1px solid var(--main-color-client1);} 

.svg_color{
    filter: invert(37%) sepia(66%) saturate(1018%) hue-rotate(183deg) brightness(95%) contrast(84%);
}

.listGroupV2 a.list-group-item{
    color: var(--main-color-client1)!important;
}

#picto_loader {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.picto_loader_load {
    /* position: fixed; */
    position: absolute;
    right: 19px;
    bottom: 10px;
    /* z-index: 1; */
    /* width: auto; */
    margin: -75px 0 0 -75px;
    border: 3px solid #f3f3f3;
      border-top-width: 3px;
      border-top-style: solid;
      border-top-color: rgb(243, 243, 243);
    border-radius: 50%;
    border-top: 3px solid #3498db;
    width: 15px;
    height: 15px;
    animation: spin 2s linear infinite;
}


#txt_loader {
    position: fixed;
    left: 47.3%;
    top: 45.5%;
    z-index: 1;
    background-color: #000;
    padding: 5px;
    width: 50px;
    height: 50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    opacity: 1;
    display:none;
}

.signataire
{
    float: left;
    margin-left: -219px;
    margin-top: 29px;
}
.input-import{
    position:absolute;
    left:0;
    top:0;
    background:red;
    width:100%;
    height:100%;
    opacity:0;
}
.file-wrap{
    position:relative;
    width:100%;
    padding: 30px;
    display: block;
    border: 2px dashed #ccc;
    margin: 0 auto;
    text-align: center;
    box-sizing:border-box;
    border-radius: 5px;
}
#Importfournisseurs .file-wrap{
    width:480px;
}
.urgent{
    background-color:red;
    color:white;
    border-radius:5px;
    padding: 5px;
}
.commentaire {
    background-image: url(../IconeV2/Gestion/Comment.svg);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.commentaire-success {
    background-image: url(../IconeV2/Gestion/Comment-success.svg);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.depassementPreavis {
    background-image: url(../IconeV2/Gestion/Incidental.svg);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    width: 20px;
    height: 20px;
}
.createur{
    background-position: 62px 10px;
    cursor: pointer;
}
.divPassword{
    position: relative;
}
.iconePassword{
    opacity: 0.4;
    position: absolute;
    top: 26%;
    right: 2%;
    width: 18px !important;
}


#changePassword
{
    width: 500px;
    margin: auto;
    margin-top: calc(50vh - 175px); // Assume 175px is half of #changePassword height
    button {
        margin-left : 50%;	
    }
    .infoMDP {
        margin-left : 190px;
        p {
            margin : 0px;
        }
    }
    img {
        width: 16px;
        height: 16px;
    }
}

.commentaire {
    &.tooltip {
        background-image: url(../IconeV2/Gestion/Comment.svg);
        width: 20px;
        height: 20px;
        background-position: center bottom;
        background-repeat: no-repeat;
        display: inline-block;
    }
}
                    
#Article td[align="right"] input {
    text-align: right;
}

#loader{
    background-color: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3000;
    opacity: 0.4;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
summary::after{
    margin: -15px 0 0 0;
    width : 0;
    float:right;
    transform: rotate(90deg);
    content: "\203A";
    font-size: 26px;
    cursor: pointer;
}
details[open] summary::after{
    margin: -5px 5px 0 0;
    transform: rotate(-90deg);
    content: "\203A";
    cursor: pointer;
    font-size: 26px;
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

.searchBar{
    display: flex;
    margin-top:10px;
    div, button, span{
        margin-right:5px;
    }
}
.divTable{
    width: 80%;
}


.contentFilter {
    .divTable{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: calc(100% - 260px);
    }    
    
    .pannelFilter{
        width: 250px;
        margin-left: 0%;
        padding : 10px;

        &.on{
            width: 250px;
            display:block;
        }
        &.off{
            width: 0%;
            display:none;
        }

        ul {
            overflow-y: auto;
            max-height: 150px;
            overflow-x: hidden;
        }
        li {
            justify-content: space-between;
            margin-right: 3px;
            padding-top:5px;

            .pannel {
                width: 75%;
                white-space: nowrap;
                overflow: hidden;
                margin-right: 10px;
            }
        }
    }
}

.pannelFilter{
    width: 19%;

    &.on{
        width: 19%;
        display:block;
    }
    &.off{
        width: 0%;
        display:none;
    }

    align-self: flex-start;
    p{
        margin-bottom:0px;
        font-weight: bold;
        color: var(--main-color-blue);
    }
    button{
        width:100%;
    }
    li{
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

.captcha_btn
{
    border: 0;
    width: 20px;
    height: 20px;
    display: -webkit-inline-flex;
    background: transparent url(../IconeV2/Global/refresh.svg) center no-repeat;
}
.captchaBlock {
    margin-left : 40%;
    margin-top: 5px;

    button{
        float: none !important;
        vertical-align: middle;
    }
}

.contentCentre {
    margin:auto;
}
.switchCreation
{
    margin-left: -368px;
}

@media (max-width: 1281px) {
    .container-fluid {
        min-width:100%;
        padding-right:0px;
        padding-left:0px;
    }
}

#block-fixed{
    position:fixed;
    top:50%;
    right:-10px;
    background-color: var(--color-bg-default);
    border:1px solid #ddd;
    border-radius:5px;
    padding:10px;
    width:165px;
    z-index:200;
    box-shadow: var(--box-shadow);
    a{
        display:inline-block;
    }
}
a:hover, a:active, a:focus {
    text-decoration:none;cursor:pointer;
}

ul, .no-padding {
    padding:0px!important;
}
ul li {
    list-style:none;
}
.no-margin {
    margin:0px!important;
}
.no-float{
    float:none!important;
}
.gras {
    font-weight:bold!important;
}
.align-right, .align-right input {
    text-align:right;
}
.align-left {
    text-align:left!important;
}
.align-center {
    text-align:center;
}
.clearfix {
    clear:both;
}
.full {
    width:100%!important;
}
form .full .row {
    margin:0px 12px 10px 0px!important;
}

.row.single  {
    @extend .single;
    label, 
    .champs_label {
        width:19.2%!important; /* must be aligned with col2 : 48% (col2 width) x 40% (label width) */
    }
    input, 
    select, 
    .resultat {
        width:100%!important;
        float:right!important;
    }
    textarea {
    
        width:80.6%!important;
        float:right!important;
    }
    label.label_radio{
        width: 75% !important;
    }
    
}

input.radioObjet{
    width: 40px !important;
    float: left;
}


#redirection_error {    
    border: 1px solid var(--error)!important;
    margin: 10% auto;
    padding: 10px;
    width: 25%;
    text-align: center;
    font-size:1.2em;
}
.error {
    color:var(--error)!important;
}
.obligatoire {
    color:var(--error)!important;
}
.champs_obligatoires {
    position: absolute;
    font-size: var(--fs-10);
    bottom: 5px;
}
.fixed {    
    position: fixed !important;
    top: 0px;
    z-index: 24;
    background-color: #f6f6f6;
    padding: 10px;
    margin-left:10px;
}
.sticky {
    position: sticky !important;
    top: 0px;
    z-index: 24;
    background-color: #f6f6f6;
    padding: 10px;
}

/* DIV DEPLACEMENT */
.divDeplacement{
    box-shadow: var(--box-shadow2) ;
    position: fixed;
    left:20px;
    top: 30%;
    background-color: #f6f6f6;
    width: 46px;
    padding: 10px;
    z-index: 24;
    cursor : move;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    &.ui-draggable-dragging{
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }
    .button{
        margin-bottom:3px;
        width:25px;
        height:25px;
    }
    .button:nth-child(2){
        margin-bottom:10px;
    }
    .button:last-child{
        margin-bottom:0px;
    }
}
.buttonDeplacer{
    width:35px;
    height:35px;
}
.apercu_image{
	padding: 15px;
	background-color: var(--color-bg-default);
	box-shadow: var(--box-shadow);
}
.apercu_facture img.fixed {top:120px;width:14.5%;}
.padding15 {padding:15px;}
.padding-Vert15 {padding:15px 0px;}
.margin-bottom{margin-bottom:10px;}
.border-top {
    border-top:1px solid #ddd;
    padding-top:15px;
    }

/*.form-control.error{height:34px!important;}*/
.checkbox{
	
	/*display: inline-block;
    width: 16px!important;
    height: 16px!important;
    cursor: pointer;*/
	
    /*background-image: url(../IconeV2/Misc/checkbox.png);
    background-position: 0px top!important;*/
    background-image: url(../IconeV2/Global/checkbox-unchecked.png);
    background-repeat: no-repeat;
    display: inline-block;
    -webkit-appearance: unset;
    appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    width: 18px!important;
    height: 18px!important;
    cursor: pointer;
    border: 1px solid transparent;
    background-color: white;	
    background-size:16px;
    
    &.form-control{
		box-shadow: none;
	}
}

.checkbox:checked{
	background-image: url(../IconeV2/Global/checkbox-checked.png);
    /*background-position: 0px bottom!important;*/
}
input.error, textarea.error {
    padding-left: 35px !important;
}

input.error, textarea.error, select.error {
    background-image:url(../IconeV2/Gestion/Error.svg);
    background-repeat:no-repeat;
    background-position: 10px 50%;
    border:1px solid var(--error);
    padding-left:33px;
    color:var(--error);
}
.error + .tooltip > .tooltip-inner {
    color:var(--error)!important;
    }
.nonBloquant{
    border: 1px solid var(--warning) !important;
    background-image: url(../IconeV2/Gestion/Incidental.svg) !important;
    color:var(--warning) !important;
    background-repeat:no-repeat;
    background-position: 10px 7px;
}
.nonBloquant + .tooltip > .tooltip-inner {
    color: var(--warning) !important;
    }
// TODO : improve selector, this one is too generic
.glyphicon-search {
    color: #c6c6c6;
    position: absolute;
    top: calc(50% - 6px);// 6px is the half height of  the element
    right: 15px;
}
.socIndicateur .glyphicon-search{
    right: 20px;
}
#zoom_filter_DES_FAMILLE {
    right: 27px !important;
}
.firstInput label{
    width:39% !important;
}
.input_unite {
    color: #c6c6c6;
    position: absolute;
    top: 20%;
    right: 10px;
    }
fieldset {    
    margin: 1.5em 0 1.5em 0 !important;
    position:relative;
    }
legend input.checkbox.right{
    float: right !important;
}
fieldset.scheduler-border {
    border: 1px solid #ddd !important;
    padding: 1.4em 1.4em 1.4em 1.4em !important;
    margin-top:2.5em;
    }
#impression_factures legend{margin-bottom:0px;}
legend.scheduler-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    border-bottom: none;
    padding-left:10px;
    margin-bottom:0px!important;
    position:relative;
}


.modalradio .row {
    width:20%;margin:auto;
    .radio {
        -webkit-appearance: unset;
        appearance:unset;
        -moz-appearance:unset;
        -ms-appearance:unset;
        -o-appearance:unset;
    }
}

input.radio:checked{
    background-position: center -7px;
}
.colonne4 {
    width:20%; display:inline-block;
}

.interaction_gris {
    .tuiles, .desactive_index, .desactive_index:hover{
        background-color: #e9e9e9!important;
        cursor: not-allowed; 
        border: solid 1px #dcdcdc!important;
    }

    .titre, .desactive_index .titre {
        color:#fff!important;
    }

    .pictos svg {
        fill:#e9e9e9!important;
    }
}





  

::-ms-check {
    display: none; /* unstyle IE checkboxes */
}

/********** Multi accordéon ************/
.panel-body {
    padding: 0px;
}
.panel {margin-bottom:0px;}
a.list-group-item, button.list-group-item{
    color:var(--main-color-full);font-weight:bold;
}

#mg-multisidetabs {
    .list-group-item {
        border: 1px solid #ddd !important;

        &:first-child {
            border-top-left-radius: 0;
             border-top-right-radius: 0;
        }

        &:last-child {
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;
        }
    }

    .list-group{
        margin-bottom:0;
    }

    .list-sub{
        display:none;
    }

    .panel{
        margin-bottom:0;
    }

    .panel-body{
        padding-left:15px;
    }
}
.slide-container{
    overflow:hidden;
}
.mg-icon{
    font-size: var(--fs-10);
    line-height: 20px;
}
.button_multiSidetabs{
    cursor: pointer;
    width: 17px !important;
    position: relative;
    top: 1px;
    float: right !important;
    background-color: var(--main-color-blue);
    right: 10px;
}
/***** popupExport *****/
.popupExport{
    margin : auto;
}


/******** TreeView ***********/
.treeview {
    .list-group-item{
        cursor:pointer
    }
    span {
        .indent{
            margin-left:10px;margin-right:10px
        }
        .icon{
            width: 15px;
            margin-right: 5px;
            height: 15px;
            display: inline-block;
            font-size: var(--fs-15);
            color: #333;
        }
    }
    .node-disabled{color:silver;cursor:not-allowed}

    .accord-achat {
        background-image: url(../IconeV2/Gestion/documents-rattaches.svg);
        background-repeat: no-repeat;
        background-position: center center;
    } 
}
.node-treeview6 {
    color:var(--main-color-full);
    &:not(.node-disabled):hover{
        background-color:#F5F5F5;
    }
}
.btn_right{
    padding: 6px 8px 6px 8px !important;
    float: right;
}
.inputFileLabel{
    margin : 0 !important;
}
.btn-file {
    position: absolute;
    overflow: hidden;
    width: 24%;
    text-align: left;
    cursor: pointer;
    border: none;
    height: 28px;
    top: 2px;
    margin-left: 1px;
}
.btn-file input[type=file] {
    min-width: 100%;
    text-align: right;
    background: white;
    display: block;
}
#divSignataires {
    .moveUp, #divSignataires .moveDown{height:20px;}
    img{height:20px;vertical-align:initial;}
}
.pointer{cursor:pointer !important;}
#connexion_backup {
    color: #fff;
    padding: 8px 45px;
    font-size: var(--fs-14);
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 543px;
    text-align: center;
    border-radius: 16px;
    margin-top: 5px;
    box-shadow: var(--box-shadow);
}

// TODO : clean up .ajout, one is used for the menu profile, the other is button "Filtrer", both should have its own class
.ajout {
    background-color: var(--main-color-blue);
    background-image:url(../IconeV2/Global/add-white.svg);
    background-size: 14px;
}

.secondaire.ajout {
    background-image: url(../IconeV2/Global/add.svg);
    background-repeat:no-repeat;

    padding-left: 35px !important;
    background-size: 12px;
    background-position: 10px center;

    // TODO : improve by hiding/showing html tag intead or something else
    &[data-toggle="collapse"][aria-expanded="true"] {
        background-image: url(../IconeV2/Misc/cross.png);
    }
}

.btn.ajout{
  padding: 8px 8px 6px 3% !important;
}

.notification {
	width: 1.25rem!important;
	background-color: red;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    color: #fff!important;
    position: absolute!important;
    top: 25%;
	font-size: var(--fs-11);
	height: 1.25rem!important;
}




/*** Onglets ***/
#livraisonCde .nav li a {
    padding: 5px 10px;
}
#livraisonCde .nav li{
    width: 50%;
    text-align:center;
}
.marginLivraison{
    margin-top: 40px!important;
}

.fullDiv li {width: 100%;text-align: center;}
.fullDiv2 li {width: 50%;text-align: center;}
.fullDiv3 li {width: 33%;text-align: center;}
.fullDiv4 li {width: 25%;text-align: center;}
.fullDiv5 li {width: 20%;text-align: center;}
.fullColonne3{
    width: 66%;
    display: inline-block;
    margin-right: 1%;
    vertical-align: middle;
    position: relative;
    vertical-align: top;
}
.fullColonne3 input{
width: 100% !important;
}

#detail_fournisseur h2, .titre_div h2 {padding:0px 15px;}
#detail_fournisseur h2 button, #detail_fournisseur h2 a.button, #oxalink h2 a.button {margin-top:-5px!important;}
#fiche_fournisseur, 
#portail_oxalink, 
#evaluation, 
#type_achat, 
#bdd, 
#nouvelle_bdd, 
#sous_famille, 
#incidents, 
#conditions_generales, 
#attestations, 
#ajout-attestation, 
#attestations-visa-global, 
#mots-cles, 
#articles, 
#accords-groupes,
#commandes, 
#historique_facture, 
#reponses_ao, 
#lignes_ao, 
#notations, 
#visualisation-notations,
#fiche_groupement,
#reporting
{
    padding:15px;
}

/*.contenu {
    .button.principal.ajout {
        background-repeat: no-repeat;
        background-position: 10% 9px;
        padding: 8px 1% 8px 3%;
    }
    .button.ajout.fournisseur {
        right: 125px;
        position:absolute;
        top:-5px;
    }	
}*/

.button_right {
    float:right;

    button, a {
        float:right;
    }

    &.margin-bottom{margin-bottom:20px;}
}
.bg_form {
	/*background-color: var(--main-color-grey3);*/
	box-shadow: var(--box-shadow);
	border-radius: 15px;
}
.border_form {
    /*border: solid 1px rgba(151, 151, 151, 0.16);*/
}
.border_form.formInvisible {border: none;}
.padding_form {padding:20px;}
.padding_form.formInvisible {padding:0px;}
.padding10 {padding:10px;}
.form .tab-content {background-color: #f6f7f8;}

form {
    .row {
        margin:0px 0px 10px 0px;

        label {
            width: 40%;
        }

        input[type=file] {
            margin-top:9px;
        }
    }
    .title {    
        font-weight: bold;
        width: 5%;
        margin-top: 10px;
        float: left;
    }

    .filtre {
        display:inline-block;
        border-right:solid 1px rgba(151, 151, 151, 0.16);
        padding:0px 1%;
        width:26%;
        position:relative;
        margin-bottom: 3px;

        &.first {padding-left:0px;}
        &.last {border-right:none;width:20%;padding-right:0px;}
        label {margin-right:3%;width:40%;padding-top:0px;}

        select, input {
            margin: 0px;
            display: inline-block;
        }

        select#input_selectOptionSietDirection, select#input_SELECT_CDC_NA, select#input_selectOptionSCAetCA {
            float:left;
            width:40%;
        }
    }

    #charts_filters {
        .filtre {
            display:inline-block;
            border-right:solid 1px rgba(151, 151, 151, 0.16);
            padding:0px 1%;
            width:49%;
            position:relative;
            margin-bottom: 3px;
    
            &.first {padding-left:0px;}
            &.last {border-right:none;width:33%;padding-right:0px;}
            label {margin-right:3%;width:40%;padding-top:0px;}
    
            select, input {
                margin: 0px;
                display: inline-block;
            }
        }
    }

    #filter_sub_family {
        .filtre {
            width: 49% !important;
            .last {
                width: 49% !important;
            }
        }
    }
}

$input-height: 2.833rem;
.form-control {
    font-size: var(--fs-base);
    padding: 6px;
    height: $input-height;
    /*border-color: var(--color-input-border);*/
}
// TODO : improve
// This class is used to to align two table (one with input the other without)
.td-form-control {
    height: calc(#{$input-height} + 16px/*padding td*2*/ + 2px/*input border*/);
}
select {
    height: 2.833rem !important;
}
.form-control-file {
    padding-top:10px;
}



.loupeSpec {

    width: 20px;
    height: 100%;
    background-image:url(../IconeV2/Gestion/zoom.svg);
    background-position:right center;
    background-repeat:no-repeat;
    cursor:pointer;
    background-size: 14px;
}

.loupeSpec:hover {
    background-image:url(../IconeV2/Gestion/zoom_hover.svg);
}

/**** Filtres avancés ****/

#filtre_avances {
    opacity: 0.65;
      background-color: #f6f7f8;
    padding:10px;

    .colonne2 {
        width:47%!important;
        margin-bottom:10px;
        margin-right:3% !important;
    }

    .supprimer_filtre{    
        cursor: pointer;
        background-position: center -22px;
        position: absolute;
        height: 25px;
        right: -27px;
        top: 0px;
    }
}
    
.contenu_nom, .contenu_cp, .contenu_ville, .contenu_date, .contenu_recherche, .contenu_ajoutcritere {
    select, input {
        width: 23%!important;
        display: inline-block;
        margin-right: 10px;
    }
}

.contenu_recherche .glyphicon-search, 
.contenu_date button, 
.colonne3 .row button{
    background-color: transparent;
    position: absolute;
    width: 25px;
    height: 25px;
    padding: 0px;
}
.pj button {width: 25px;height: 25px;}
.pj button.ajout {background-position: 6px 5px;}

.supprimer_filtre {
    background-image:url(../IconeV2/Misc/fermer.png);
    background-repeat:no-repeat;
    width:20px;
    height:20px;
    display:inline-block;
    vertical-align:middle;
    background-size: cover;
    margin:0px !important;
}
.resultat_filtre {
    padding:15px;
}
.result .supprimer_filtre {
    background-position: center 0px;margin-left: 10px;
}

.flexbox {
    display: flex;
    >div {
        display: flex;
    }
    >div.colonne4 {
        width: 25%;
        margin-right: 1.25%;
    }
    >div.colonne2 {
        width: 50%;
        margin-right: 1.25%;
    }
    >.last {
        margin-right: 0px;
    }
}

.ajout-favoris {
    background-position:10px 45%;
    background-repeat:no-repeat;
    cursor:pointer;
    padding-left: 40px!important;
    }

.alg{
    
    background-position:center center;
    background-repeat:no-repeat;
    cursor:pointer;
    display:inline-block;
    width: 35px;
    height: 17px;
    }

.message_info{
    width:100%;
    text-align: center;
}
.container_Unique msg, .container_Multiple msg {
    height: 25px; /* image's height */
    display: table-cell;
    vertical-align: middle;
}
.icone {
    width: 20px;
    height: 20px;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: inline-block;
}
.icone_commentaire{
    display: inline-block !important;
    width: 14px !important;
    height: 13px;
    margin-left: 10px;
}

.svg_icon{
    height: 20px;
}	
.colonneComplement{
    width: 67.7%;
    display: inline-block;
    position: relative;
    vertical-align: top;
}
/** TREEVIEW JSTREE **/
.jstree-node {
    white-space: normal !important;
}
.jstree-anchor {
    white-space: normal !important;
    .ss_parametres {
        line-height: 17px !important;
    }
}
.jstree-default {
    .jstree-hovered {
        //background: #f5f5f5 !important;
        background: var(--main-color-opac15);
        box-shadow: inset 1px -1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    }
    .jstree-clicked {
        background: var(--main-color-blue) !important;
        color: white !important;
    }
}
.jstree-default-large {
    .jstree-anchor {
        line-height: 30px;
        height: 32px;
        width: 90%;
        padding-left: 15px;
        position: relative;
        padding-right: 25px;
    }

    &:not(.no-autotruncate) {
        .jstree-anchor {
            height:auto !important; 
            white-space:normal !important;
            // overflow: hidden;
            // text-overflow: ellipsis;
        }
    }
}

.contenu_date .ui-datepicker-trigger {
    right: 23%;
}
.ui-datepicker-trigger {
    position: absolute;
    top: 20%;
    width: 20px;
    right:10px;
}

/*** Tooltip-learn ***/

.hiddenLearn {
    display: none;
    z-index: 999;
}

.white-tooltip-learn{
    position:relative;
    cursor:pointer;
}

span.white-tooltip-learn{cursor:default;}
.infos_tooltip-learn.top-right{left:18px;}
.infos_tooltip-learn.top-left{right:0px;bottom:23px;}
.infos_tooltip-learn.left{ right:102%; top:0%; }
.infos_tooltip-learn.right{ left:102%; top:0%; }
.infos_tooltip-learn.bottom{ right:-50%;}
.infos_tooltip-learn.top{
    bottom: 71%;
    left: -70%;
    margin: 0px auto;}
.infos_tooltip-learn{
      min-width:320px;
      display:none;
      position:absolute; 
      z-index:100;
      background: linear-gradient(-380deg, #9b9a9a -25%, #9fbfff 100%);
      box-shadow: 0px 3px 8px #bdbcbc;
      -webkit-box-shadow: 0px 3px 8px #bdbcbc;
      -moz-box-shadow: 0px 3px 8px #bdbcbc;
      color:var(--main-color-full)!important;
      padding:10px; 
      text-align: center;
}

.infos_tooltip-learn.activeLearn{

    display:block;
}
.infos_tooltip-learn.large{
      text-align: justify;
}

.white-tooltip-learn.infos{background-position:center center;}
.white-tooltip-learn.activeLearn span.infos_tooltip-learn{
  display:block;
}
.white-tooltip-learn + .infos_tooltip-learn > .tooltip-inner-learn {
    background-color: var(--color-bg-default);
    box-shadow: 0px 3px 8px #bdbcbc;
    -webkit-box-shadow: 0px 3px 8px #bdbcbc;
    -moz-box-shadow: 0px 3px 8px #bdbcbc;
    color:var(--main-color-full);
    padding:10px;
    display:block;
    }

.infos_tooltip-learn.left-WF{right:105%; top:-50%;}

.activeLearnDiv{
    border: 0.1rem solid #9eb6e6;
}
.createur img
{
    margin-bottom: 5px;
    margin-left: 3px;
}

label .icone_input{
    float: right;
    margin-right: 10px;
}
.sous_onglet_filter > li > a {
    padding: 5px 15px !important;
}

.block_edition.supplementaire {
    .informations {
        margin: 0px !important;
    }
    .colonne2 {
        &:last-child {
            margin: 1% 1% 20px 1% !important;
        }
    }
    .titre_block {
        margin-bottom: 20px;
    }
}
.block_edition {
    .colonne2 {
        margin: 1%;
    }
    table {
        border: 1px solid #ddd;
        thead {
            tr {
                background-color: var(--main-color-grey3) !important;
                color: var(--main-color-full) !important;
            }
        }
    }
}
.colonne4 {display:inline-block;width:24%;position:relative;}
.titre_detail {
    font-size: var(--fs-14);
    margin:10px 0px 0px 15px
}
.informations {
    border-left: 3px solid #f8f8f8;
    padding-left: 10px;
    margin: 15px 0px;
    display: inline-block;
    width: 100%;
    font-weight: bold;
    vertical-align: top;
    p {
        clear: both;
        margin-bottom: 0px;
    }
    .resultat {
        float: right;
        position: relative;
        width: 55%;
        word-break: break-word;
    }
    .champs_label {
        display: inline-block;
        width: 45%;
        font-weight: normal;
        float: left;
    }
}
.informations.identite {
    .champs_label {
        width: 40%;
    }
    .resultat {
        width: 60%;
    }
}
.conditions {
    .champs_label {
        width: 57%;
    }
    .resultat {
        width: 43% !important;
    }
}
.details {
    .champs_label {
        width: 80%;
    }
    .resultat {
        width: 20% !important;
    }
}

/** tuiles indicateur **/
.resultTuile {
    text-align: center;
    font-weight: bold;
    display: block;
    width: 100%;
    height: 20px;
    padding-top: 72px;
    position: relative;
    font-size: var(--fs-32);
}
.titreTuile {
    text-align: center;
    font-weight: bold;
    display: block;
    width: 100%;
    height: 20px;
    padding-top:4px;
    position: relative;
    font-size: var(--fs-18);
}

.tuilesIndicateur {
    width: 23%;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    /*background-color: #fff;*/
    box-shadow: var(--box-shadow);
    /*border: solid 1px #dcdcdc;*/
    display: block;
    padding: 15px;
    height: 250px;
    float: left;
    color: var(--main-color-full);
    margin:auto;
    margin-right: 2%;
}

.colonne4 .tuilesIndicateur {
    width: 90%;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    background-color: var(--color-bg-default);;
    box-shadow: 0 1px 0 0 rgba(109, 109, 109, 0.19);
    border: solid 1px #dcdcdc;
    margin: 1%;
    display: block;
    padding: 15px;
    height: 250px;
    float: left;
    color: var(--main-color-full);
}

.texteTuilevert {
    color : var(--success);
}
.texteTuilerouge {
    color : var(--error);
}
.texteTuileorange {
    color : var(--warning);
}
.texteTuilebleu{
    color : var(--main-color-blue);
}

.formIndicateur {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 25px;
}

#indicateur_docs{
    margin-top: 30px;
}

.divButton {
    display: flex;
    justify-content: end;
    margin-top: 10px;

    .spliter {
        width: 1px;
        height: 30px;
        background-color: var(--main-color-grey2);
        margin-top: 5px;
        margin-right: 5px;
    }
}


/******** Intéractions *************/
.tuiles {
    //width: 14.4%;
    width: 200px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    /*background-color: #f7f7f7;*/
    box-shadow: var(--box-shadow);
    /*border: solid 1px #dcdcdc;*/
    margin: 1%;
    display: block;
    padding: 15px;
    height: 150px;
    float: left;
    color: var(--main-color-full);
    
    &:hover {
        background-color: #e9e9e9;
    }
    .interactions {
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        -o-border-radius: 50%;
        background-color: var(--color-bg-default);
        height: 65px;
        width: 65px;
        vertical-align: middle;
        margin: auto;
        border: solid 1px #dcdcdc;
        .pictos {
            width: 100%;
            margin: auto;
            height: 100%;
            text-align: center;
            position: relative;
            svg {fill:var(--main-color-client1);height:100%;margin:auto;}
        }
    }
    .titre {
        text-align: center;
        font-weight: bold;
        display: block;
        width: 100%;
        height: 20px;
        padding-top: 15px;
        position: relative;
        .notification {
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            -o-border-radius: 3px;
            background-color: rgba(74, 85, 107, 0.44);
            top: 15px;
            margin-left: 10px;
        }
    }
}

#wrapper-menu {

    &[data-searching] hr {
        display: none;
    }
}

.btn-tuile {
    display: inline-block;
    width: 16.666rem; // 200 px
    border-radius: 2px;
    box-shadow: var(--box-shadow);
    color: var(--main-color-full);

    text-align: center;
    &:hover {
        background-color: #e9e9e9;
    }
    .pictos {
        display: flex;
        justify-content: center;
        align-items: center;

        border-radius: 50%;
        background-color: var(--color-bg-default);
        height: 65px;
        width: 65px;
        margin: auto;

        border: solid 1px #dcdcdc;
        
        margin: auto;
        text-align: center;
        position: relative;

        svg {fill:var(--main-color-client1);}
    }
    .titre {
        font-weight: bold;
        position: relative;
        .notification {
            border-radius: 3px;
            background-color: rgba(74, 85, 107, 0.44);
            top: 15px;
            margin-left: 10px;
        }
    }
}
/********** Mail **************/
#rowPJ {
    .colonne2 {
        width: 45%;
        margin-right: 3%;
        margin-bottom: 20px;
        display: flex;
        input[type="file"] {
            margin: 0px !important;
            padding: 0px;
        }
        a.bloquant {
            width: 20px;
            height: 20px;
            display: inline-block;
            float: right;
        }
    }
}

/********* Planning ********/
#resteACadencer.textVert {
    .resultat {
        color: #53ad53;
    }
}
#resteACadencer.textRouge {
    .resultat {
        color: var(--error);
    }
}

/**** Footer *****/
#footer {
    background-color: var(--main-color-grey3);
    position: absolute;
    bottom: 0px;
    width: 100%;
    div {
        text-align: center;
        font-size: var(--fs-11);
        color: var(--main-color-full);
    }
    span {
        padding: 17px;
        display: inline-block;
    }
}
/** page de connexion **/
.colonneImage {
    width: 75%;
    img {
        width: 80%;
        height: 100%;
    }
}
.colonneLogIn {
    padding: 75px;
    padding-top: 0;
    padding-bottom: 0;
    width: 25%;
    .single {
        margin: 0px 0px 10px 0px;
    }
}
.imageUser {
    margin-left: 50%;
    transform: translateX(-50%);
}
.link-right {
    float: right;
}
.btn-link {
    font-weight: bold;
}
.btn-link-oublie {
    font-weight: bold;
}
#connectForm, #DiagsChangePassword {
    display: flex;
    align-items: center;
    height: calc(100vh - 90px);
    .captchaBlock {
        margin-left: 0% !important;
        margin-top: 5px;
    }
}


.btn_margin {
    padding-bottom: 4px !important;
    a {
        margin-bottom: 0px !important;
    }
}
#MsgErreur {
    margin-top: 10px;
    color: red;
    font-size: var(--fs-15);
    text-align: center;
    display: none;
}

.tooltip-param-oxalnk-icon {
    cursor: pointer;
    padding-bottom: 4px;
    padding-left: 6px;
    &:hover {
        + {
            .tooltip-param-oxalnk-txt {
                display: block;
            }
        }
    }
}
.tooltip-param-oxalnk-txt {
    top: 3em;
    right: 10% !important;
    width: 222px !important;
}

.nobr {
    white-space: nowrap;
}

.img_color_tb_v {
    background-color: #007804;
}
.img_color_tb_o {
    background-color: #fb9a00;
}
.img_color_tb_r {
    background-color: #DA0813;
}

.tableau_row_marche
{
    text-align: right;
}

/* autocomplete */
.ui-widget {
    font-family: inherit;
}
.ui-menu.ui-autocomplete {
    color: var(--color-input-color);
    border-radius: 8px;
    padding: 4px !important;

    .ui-state-focus {
        margin: 0px !important;
    }
    .ui-menu-item-wrapper {
        border-radius: 4px;
        &.ui-state-active {
            border: none;
            background: var(--color-input-option-hover);
            color: var(--main-color-full);
            margin: 0;/* Counter margin -1px*/
        }
    }
}
.ui-state-focus {
    border: 0px !important;
    background: 0 !important;
    background-color: rgba(74, 85, 107, 0.1) !important;
    font-weight: normal !important;
    color: var(--main-color-full) !important;
}

::-ms-check {
    display: none;
}

/******** INPUT CS DANS UN TABLEAU ********/
.tableWithCS {
    .row {
        margin-left: 0px;
        margin-right: 0px;
        input {
            width: 100%;
        }
    }
}
select {
    width: 100%;
}
textarea {
    width: 100%;
}
#menuTopAccueil {
    position: relative;
    
    &:hover > div{
	    display:block;
	}
}

#menuTopAccueil > div {
    position: absolute;
    display: none;
    background-color: black;
    top: 40px;
    z-index: 1;
    border-radius: 5px;
}

/*******************************************
********** Tables statistiques *************
*******************************************/
#gestionTablesStatistique {
    form {
        .filtre {
            width: 33%;
        }
        .filtre.last {
            width: 17%;
        }
        .filtreBtn {
            width: 100%;
            position: relative;
            display: inline-block;
        }
    }
}
.TablesStatistiques {
    form {
        .colonne2 {
            &:nth-child(even) {
                width: 48% !important;
                margin-right: 0px;
            }
        }
    }
}

.obj-hide {
    display:none;
}

/*.direction{
    width: 20px;
    background-repeat: no-repeat;
    height: 20px;
    background-position: center center;
    position: absolute;
    top: 31%;
    left: -60%;
}*/


/**
 * Turn <mark> into a synonym for <div> capable to be inside a <a> or a <p>
 */
mark {
    display: block;
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.img-frame-circle {
    background-color: var(--color-bg-default);
    border-radius: 50%;
    height: 65px;
    width: 65px;
    border: solid 1px #dcdcdc;

    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.container-half {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.form-control:not(textarea,.checkbox ), 
.button,
.contenu .button, 
form a.button, 
#historique .button,
.buttonAddCard,
textarea.form-control,
.button_v2,
button.secondaire {
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

.bloc_cc {
    display: flex;
    flex-wrap: wrap;

    .row {
        width: 48%;
        margin-right: 1%;
    }
}

#scrollUp {
    position: fixed;
    bottom: 55px;
    right: -100px;
    opacity: 0.5;
    z-index: 100;
}