#divCompare {
	width: 100%;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
}
.iconTypeRecherche {
    &:hover {
		background-color : var(--main-color-grey3);
        cursor: pointer;
    }
}
#resultat .flex-y-start {
	gap:10px;
}
.noArticleFound{
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    // font-weight: bold;
    color: var(--error);
    width: calc(98% - 240px);
    float: left;
}
.recapArticle{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin:0px !important;
}
.accueil {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#caracProd {
    ul li {
        display: flex;
        flex-direction: row;
        align-items: center;

        img {
            width: 18px;
            height: 18px;
            margin-right: 10px;
        }
    }
    p {
        margin-bottom: 0px;
        font-weight: bold;
        color: var(--main-color-blue);
    }
}

.buttonAddCard {
    width: 175px;
    border: 1px solid var(--main-color-blue);
    text-align: center;
    height: 24px;
    font-weight: bold;
    color: var(--main-color-blue);
    padding-top: 1px;

    &.blue {
        color: var(--color-text-default);
        background-color: var(--main-color-blue);

        &:hover {
            border: 1px solid var(--main-color-blue-hover) !important;
            background-color: var(--main-color-blue-hover) !important;
        }
    }

    &:hover {
        background-color: var(--main-color-grey2);
    }
}


#divCatalogue{
    margin-top:25px;
}

.ref span.white-tooltip{
    cursor: pointer;
}

#listeCatalogue {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px 10px;

    .catalogue {
        width: 300px;
        display: flex;
        gap : 5px;

        .titre {
            font-weight:bold;
            color:var(--main-color-blue);
            font-size: 12px;
            padding-bottom: 5px;
        }
    }

    .divLeft {
        display: flex;
        flex-direction: column;

        input {
            margin: 0 auto;
        }
    }

    .imgCat{
        width: 35px;
        height: 35px;
        align-self: center;
    }
}     

.selectedMode {
    background-color: var(--main-color-grey2);
}

#picto_loaderPannel{
    border: 5px solid white;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    margin: auto;
}

#tooltipsSelected {
    li {
        white-space: nowrap;
        overflow: hidden;

        img {
            margin-right:5px;
            cursor:pointer;
        }
    }
}

.rechArt-badge-counter {
    position: absolute;
    right: -10px;
    bottom: 25px;
    font-size: 1rem;

    @include zone-badge-counter;

    background-color:var(--main-color-client1);
}
#searchArticle {

    #filter_pannel {
        order:-1;
    }
    .spliter {
        width: 1px;
        height: 30px;
        background-color: var(--main-color-grey2);
        margin-top: 5px;
        margin-right: 5px;
    }
    .searchBar{
        width: 90%;
        margin: auto;
	    .deleteSearch {
	        align-self: center;
	        cursor: pointer;
	        width: 20px;
	        height: 20px;
	        margin-left: 5px;
	    }
    }      
    .searchBar .form-control{
        height:37.15px !important;
    }   

    table.table {
        box-shadow: none !important;
    }
    
    .ariane {
        position : relative;
    }
}

#typeFilter {
    a {
        -moz-box-align: center;
        align-items: center;
        background: #fff;
        border: 1px solid var(--main-color-grey2);
        border-radius: 100px;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        color: var(--main-color-full);
        display: -moz-box;
        display: flex;
        height: 30px;
        line-height: 40px;
        margin: 5px 6px 0 0;
        padding: 0 14px 0 14px;

        &.actif {
            background-color: var(--main-color-opac25);
            border: 1px solid var(--main-color-opac25);
        }
        &:hover {
            background-color: var(--main-color-grey2);
        }
    }
}

.iconeShowHide{
    width: 32px !important;
    cursor:pointer;
    order: -1;
    transform: rotate(180deg);
}

.list .ref, .pannel.ref{
    cursor:pointer;
}
.list .ref:hover, .pannel.ref:hover{
    text-decoration: underline;
}

#searchArticle {
    .infos_tooltip.top {
        bottom: 130%;
//        left: -400%;
    }

    #DivModulableCreation {
        margin-top: 10px;
        margin-bottom: 10px;
        border-radius: 6px;
        padding: 15px;
    }
}
/* Commun 2 mode */
.withOutSearch {
    .zoneArticle {
        margin-bottom: 10px;
    }
}

.divQtePanier {
    display: flex;
}

.articlePourPanier {
    display: flex;
    flex-wrap: wrap;
    float: right;

    input {
        width: 75px;
        height: 24px;
        text-align: right;
    }

    .ajouter_blanc_v2 {
        margin: 0px 1px 0px 1px !important;
    }
}

.tooltipsFraisPort {
    .infos_tooltip {
        width: 220px; 
        text-align: left;

        .dataWrapper {
            li div:first-child {
                width:60%;
                display: inline-block;
                white-space: nowrap;
            }

            li div:last-child {
                width:40%;
                display: inline-block;
                white-space: nowrap;
            }

            .articleFraisPort {
                width: 100%;
                display: inline-block;
                white-space: nowrap;
            }
        }
    }
}

.zoneArticle {
    .qte {
        .priceQte {
            text-align: right;
    
            .price {
                font-weight: bold;
            }
    
            .unite {
                margin-left:0px;
                margin-bottom:0px;
                height:17px;
    
                &.cond {
                    font-style: italic;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
    
            .price, .unite{
                display:block;
            }
        }
    }


    .infos_tooltip.designTooltip {
        // top: 100%;
        width: 100% !important;
        white-space: initial;
    }
    
    .tooltipsDegressif{
        ul {
            li {
                display: flex;
                div:first-child {
                    width:50%;
                    text-align: left;
                }
                li div:last-child {
                    width:50%;
                    text-align: right;
                }
            }
        }
    }
    
    .tooltipsStock {
		#libStock {
			margin:0;
			font-weight:bold;
		}
		#valueStock {
			margin:0;
			white-space: nowrap;
		}	
	}

    .punchout {
        width: 24px;
        height:24px;
        margin-top: 5px;
    }
}
/* Mode image */
.caseArticle {
    width: 300px;
    height: 300px;
    box-shadow: var(--box-shadow2);
    padding:5px;
    position: relative;
    border-radius: 15px;
    .footer {
        position: absolute;
        bottom: 5px;
        width: 290px;

        span {
            margin-left: 5px;
        }
    }
    .img {
        width: 90px;
        height: 60px;
        float: left;
        display: flex;
        justify-content: center;
        img {
            max-width: 100%;
            object-fit: contain;

            /*margin-left: 15px;*/
        }    
    }
    .principal {
        display: flex;
        .img {
            width: 90px;
            text-align: center;
            img {
                max-width: 100%;
                max-height: 60px;
            }
        }
    }
    .design {
        height: 50px;
        color: var(--main-color-blue);
        font-weight: bold;
        cursor: pointer;
    }
    .qte {
        width: 200px;
        float: right;
    }
}

//modeLigne
.ligneArticle {
    width: 600px;
    max-width: 700px;
    height: 140px;
    box-shadow: var(--box-shadow2);
    padding: 5px;
    position: relative;
    border-radius: 15px;
    display: flex;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-grow: 1;
    #showRayon {
        margin: 0 0 7px;
    }
    .design{
        width:100%;
        color: var(--main-color-blue);
        white-space: nowrap;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .img {
        width: 20%;
        height: calc(100% - 42px);
        float: left;
        order: 1;
        display: flex;
        justify-content: center;
        img {
            // width: auto;
            // height: 100%;
            max-width: 65%;
            object-fit: contain;
        }
    }
    .qte {
        width: 30%;
        order: 3;
        float: right;
    }
    .details {
        width: 50%;
        order: 2;
        hr {
            display:none;
        }
    }
    .footer {
        width: 50%;
        height: 22px;
        order: 5;
        margin-left: 50%;
        span {
            margin-left: 2px;
        }
    }
    .divRayon {
        position: absolute;
        left: calc(20% + 4px);
        bottom: 0px;
    
        font-style:italic;
        width:100px;

        [data-niv="2"] {
            margin-left: 10px;
        }
    
        [data-niv="3"] {
            margin-left: 20px;
        }
    
        [data-niv="4"] {
            margin-left: 30px;
        }
    
        [data-niv="5"] {
            margin-left: 40px;
        }
    }
}

.listeArticle {
    width: 100%;
    height: auto;
    box-shadow: var(--box-shadow2);
    padding: 5px;
    position: relative;
    border-radius: 15px;
    display: flex;

    .design {
        height: 50px;
        color: var(--main-color-blue);
        font-weight: bold;
        cursor: pointer;
        order: 1;
        width: 33%;
    }
    .img {
        display:none;
    }
    .qte {
        width: 200px;
        float: right;
        order: 3;
    }
    .details {
        order: 2;
        width: 33%;
    }
    .details hr {
        display:none;
    }
    .footer {
        position: absolute;
        bottom: 5px;
        width: 290px;
        right: 10px;
    } 

    .divRayon {
        position: absolute;
        bottom: 0px;
    }
}     

.list li > div {
    display:inline-block;
    width:49%;
    white-space: nowrap;

    &.ref {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    

    &.libRef {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.list li {
    display:flex;
    padding: 1px;
}

.details .list {
    margin-bottom:5px;
}


/* RAYON */
.btn_rayon {
    position: relative;

    .divRayon {
        text-align: left;
        background: white;
        position: absolute;
        top: 37px;
        left: 0px;
    
        display:none;
        z-index: 100;

        border-top: 10px solid var(--main-color-opac25);
        border-bottom: 10px solid var(--main-color-opac25);
        border-radius: 6px 0 0 6px;
    
        box-shadow: var(--box-shadow);

        ul {
            width:200px;
            color: var(--main-color-full);
        }

        li:hover {
            border-right: 0px;
            background-color: var(--main-color-opac15);
        }

        li:hover > .zone{
            display:flex;
        }

        .titre {
            padding: 5px 35px 5px 20px;
            margin-right: 0px;
        }

        .zone {
            display: none;                        
            
            background-color: white;
            
            position: absolute;
            top: -10px;
            left: 200px;

            height: calc(100% + 20px);
            width: 1010px;
        
            overflow: hidden;
            overflow-y: auto;
        
            flex-wrap: wrap;
            align-content: flex-start;
        
            border-top: 10px solid var(--main-color-opac25);
            border-bottom: 10px solid var(--main-color-opac25);
            border-radius: 0px 6px 6px 0;
        
            box-shadow: var(--box-shadow);
        }

        .zone_rayon{
            display:flex;

            height: calc(100% + 20px);
            width: 1010px;

            overflow: hidden;
            overflow-y: auto;
        
            flex-direction: column;
            flex-wrap: wrap;
            align-content: flex-start;
        }
    }

    &:hover > div{
        display:block;
    }

    #infoCompl {
        width:100%; 
        height:100px;
        color:white;
        display: flex;
        font-weight: normal;
        overflow: hidden;

        div {
            display: flex; 
            flex-direction: column;
            width:60%;
            padding:10px;

            span:last-child {
                overflow-wrap: break-word;
                word-break: break-word;
                overflow: hidden;
            }

            &:first-child {
                display: flex; 
                flex-direction: column;
                width:40%;
                padding:10px;
            }
            span:first-child {
                font-weight:bold;
            }
        }
    }

}

.link {
    cursor:pointer;
}

.divRayon > ul {
    margin-bottom:0px;
    min-height: 500px;
}

.subZone {
    align-self: flex-start;
}

.niveau1 {
    padding: 10px 35px 10px 20px !important;
}

.niveau3, .niveau4, .niveau5 {
    font-weight: normal;
}

.niveau4, .niveau5 {
    font-size : 11px;
}
.niveau4 {
    /*margin-left: 25px;*/
    padding-left:45px !important;
}
.niveau5 {
    /*margin-left: 35px;*/
    padding-left:55px !important;
    font-style: italic;
}

/* breadcrumb*/
$color : #89ccc5;

.breadcrumb2 {
	list-style-type: none;	
    margin-top: 15px;
}

// v1
.v1 .breadcrumb2-level {
	&::before,
	&::after{
		content: '';
		position: absolute;
		left: 0;
		height: 50%;
		width: 100%;
		background: var(--main-color-client1);
		z-index: 1;
	}
	
	&::before {
		top: 0;
		transform: skew(20deg);
	}
	
	&::after {
		bottom: 0;
		transform: skew(-20deg);
	}
}

// v2
.v2 .breadcrumb2-level {
	&::before{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background: var(--main-color-client1);
		transform: skew(-20deg);
	}
}

// Breadcrumb Level
.breadcrumb2-level {
	display: inline-block;
	position: relative;
	
	// Last child
	&:last-child {
		a {
			cursor: default;
		}
		
		&::before,
		&::after {
            filter: brightness(107%);
		}
	}
	
	// :Hover
	&:not(:last-child):hover {
		&::before,
		&::after {
            filter: brightness(90%);
		}
	}
}

// Breadcrumb Level a
.breadcrumb2-level a {
	display: inline-block;
	position: relative;
	line-height: 2.5;
	padding: 0 20px;
	color: #fff;
	text-decoration: none;
}

.breadcrumb2.v1 {
	margin-bottom: 50px;
}


.generique {
    width: 49%;
    border-radius: 6px;
    padding: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 10px solid var(--main-color-opac15);

    .favoris {
        width: 5%;
    }
    .code {
        width: 20%;
    }
    .libelle {
        width: 45%;
    }
    .add {
        width: 30%;
        text-align: right;
    }
}

/* Detail article */
.detailArticle {
    margin: auto;
    box-shadow: var(--box-shadow);
    border-radius: 15px;
    padding:15px;

    .titre{
        font-size: var(--fs-16);
        font-weight: bold;
        color: var(--main-color-client1);
    }
    
    .code {
        font-size: var(--fs-14);
        height: 20px;
        margin-bottom: 10px;
    }
    
    .bloc2 {
        display:flex;
    }
    .img{
        width: 25%;
        text-align: center;
         img {
            max-width: 200px;
            max-height: 200px;
         }
    }
    
    .compl{
        font-style: italic;
        // min-height: calc(100% - 20px);
        width: 60%;
    }
    
    .prix {
        width: 15%;
        display: flex;
        flex-direction: column;
        align-self: center;
    }
    
    &.contenu{
        padding-bottom : 0px;
    }
    
    #divStock {
        display: flex;
        flex-direction: column;
        width: 30%;
        margin-bottom: 15px;
        box-shadow: var(--box-shadow);
        padding: 15px;
        border-radius: 6px;
        
        span {
            width: 100%;
            display: flex;
            display: row;
            height: 25px;
        }
        .titre_stock {
            width: 70%;
        }
        .value {
            font-weight: bold;
            text-align: right;
            width: 30%;
        }
        .split {
            border-bottom: 1px solid var(--main-color-client1);
        }
        .niv2 .titre_stock {
            padding-left: 40px;
        }
        .niv3 .titre_stock {
            padding-left: 80px;
        }
	}
}

/* Comparatif article */
#comparatif {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    margin-top:10px;

    border: 0px;
    box-shadow: none;

    .td_content{
        white-space: initial;
        width:400px;
    }

    thead tr:not(.prix_degressif) {
        display:none;
    }
    td {
        border-top: 0px !important;
    }

    tr:hover{
        background-color: transparent !important;
        box-shadow: none;
    }

    .tr_titre td {
        font-weight:bold;
        text-align: center;

        &:first-child {
            border-radius: 10px 0px 0px 0px;
        }
    }

    .tr_frs td:not(:first-child) {
        text-align: center;
    }
    tr td:first-child {
        background-color: var(--main-color-grey2);
    }
}

#comparatif .tr_titre td:first-child, #comparatif .tr_frs td:first-child, #comparatif .tr_article td:first-child {
    width:200px;
}
#comparatif .tr_titre td:not(:first-child), #comparatif .tr_frs td:not(:first-child), #comparatif .tr_article td:not(:first-child) {
    width:400px;
}

#comparatif tr>th:first-child,#comparatif tr>td:first-child {
    position: sticky;
    left: 0;
    z-index:1;
    text-align:right;
    font-weight:bold;
}