add-bhtml, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-size: 14px;
    font-weight: bold;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
:root{
	--blue : #3b8dd8;
	--blue-light: #e8f4ff;
	--text : #252428;
	--green : #28c76f;
	--grey : #c3c3c4;
	--grey-light : #fafafa;
	--grey-dark :#727272;
	--red: #d83b3b;
    --purple: #6A5ACD;
}
body{
	font-family: "DM Sans", sans-serif;
	background: var(--grey-light);
}
body *{
	box-sizing: border-box;
}
header{
	z-index: 99999;
	position: relative;
}
.content-wrapper{
	max-width: 1440px;
	width: 100%;
	padding: 20px;
	margin:auto;
}
.navbar-detached{
	box-shadow: 0 .125rem .25rem rgba(165, 163, 174, .3);
	border-radius: 6px;
}
.card {
    background-clip: padding-box;
    box-shadow: 0 .25rem 1.125rem rgba(75, 70, 92, .1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--text);
    word-wrap: break-word;
    border-radius: 6px;
    background: #fff;
    flex-grow: 1;
}
.nav-link {
    display: block;
    padding: 8px;
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    background: none;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.avatar {
    position: relative;
    width: 38px;
    height: 38px;
    cursor: pointer;
}
.avatar img {
    width: 100%;
    height: 100%;
}
.rounded-circle {
    border-radius: 50% !important;
}
.h-auto {
    height: auto !important;
}
.avatar.avatar-online:after {
    background-color: var(--green);
}
.avatar:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 3px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    box-shadow: 0 0 0 2px #fff;
}
.layout-navbar{
	display: flex;
	background: #fff;
}
.navbar-nav{
	margin-left: auto;
}
.nav-item{
	position: relative;
}
/*---- avatar dropdown ----*/

.layout-navbar .navbar-dropdown.dropdown-user .dropdown-menu {
    min-width: 14rem;
    border-radius: 6px;
    box-shadow: 0 .25rem 1rem rgba(165, 163, 174, .45);
    transition: 0.5s;
    transform: translate(0px, -100%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    background:#fff;
}

.layout-navbar .navbar-dropdown.dropdown-user.visible .dropdown-menu {
	transform: translate(0px, 0%);
    opacity: 1;
    pointer-events: all;
}
.navbar-expand-xl .navbar-nav .dropdown-menu {
    position: absolute;
    overflow: hidden;
    right:0;
    left: auto;
    margin-top: 4px;
    padding: 8px 0;
    border-radius: 6px;
}
.dropdown-divider {
    height: 0;
    margin: 8px 0;
    overflow: hidden;
    border-top: 1px solid rgba(165, 163, 174, .45);
    opacity: 1;
}
.dropdown-item {
    line-height: 1.375;
    width: calc(100% - 1rem);
    margin: 4px 8px;
    border-radius: 6px;
    display: block;
    padding: 6px 16px;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    text-decoration: none;
    color: var(--grey-dark);
}
.dropdown-item:hover, 
.dropdown-item:focus {
    color: var(--blue);
    background-color: var(--blue-light);
}
.d-flex{
	display: flex;
}
.dropdown-menu .avatar{
	margin-right: 16px;
}
.avatar-content{
	flex-grow: 1;
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.avatar-content-name{
	font-size: 15px;
}
.avatar-content-role{
	font-size: 13px;
	color: var(--grey);
}
.page-title{
	padding: 16px 0;
	font-size: 40px;
    margin-left: 24px;
    font-weight: bold;
    color: var(--blue);
}
.page-sub-title{
	font-size: 18px;
	margin-bottom: 24px;
}
.card-body{
	padding: 24px;
}
.row {
    display: flex;
}
.page-row{
	gap:20px;
}
.col-xl {
    flex:1 0 0%
}

.row-cols-xl-auto>* {
    flex: 0 0 auto;
    width: auto
}

.row-cols-xl-1>* {
    flex: 0 0 auto;
    width: 100%
}

.row-cols-xl-2>* {
    flex: 0 0 auto;
    width: 50%
}

.row-cols-xl-3>* {
    flex: 0 0 auto;
    width: 33.33333333%
}

.row-cols-xl-4>* {
    flex: 0 0 auto;
    width: 25%
}

.row-cols-xl-5>* {
    flex: 0 0 auto;
    width: 20%
}

.row-cols-xl-6>* {
    flex: 0 0 auto;
    width: 16.66666667%
}

.col-xl-auto {
    flex: 0 0 auto;
    width: auto
}

.col-xl-1 {
    flex: 0 0 auto;
    width: 8.33333333%
}

.col-xl-2 {
    flex: 0 0 auto;
    width: 16.66666667%
}

.col-xl-3 {
    flex: 0 0 auto;
    width: 25%
}

.col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%
}

.col-xl-5 {
    flex: 0 0 auto;
    width: 41.66666667%
}

.col-xl-6 {
    flex: 0 0 auto;
    width: 50%
}

.col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%
}

.col-xl-8 {
    flex: 0 0 auto;
    width: 66.66666667%
}

.col-xl-9 {
    flex: 0 0 auto;
    width: 75%
}

.col-xl-10 {
    flex: 0 0 auto;
    width: 83.33333333%
}

.col-xl-11 {
    flex: 0 0 auto;
    width: 91.66666667%
}

.col-xl-12 {
    flex: 0 0 auto;
    width: 100%
}

.border {
    border: 1px solid var(--grey) !important;
    border-radius: 6px;
}
.btn{
    display: inline-block;
    padding: 9px 20px;
    font-size: 15px;
    font-weight: 500;
    font-weight: bold;
    line-height: 16.8px;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border-radius: 6px;
    background-color: var(--blue);
    transition: all .2s ease-in-out;
    border:0;
}
#product-list .product{
	padding: 20px;
    margin-top: 24px;
    position: relative;
}
#product-list .product:last-of-type{
	margin-bottom: 24px;
}
.form-select,
.form-input,
.choices[data-type="select-multiple"],
#product-list .chosen-container-single .chosen-single {
    display: block;
    width: 100%;
    padding: 6px 35px 6px 14px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #6f6b7d;
    appearance: none;
    background-color: #fff;
    background-image: url(../img/angle-down.svg);
    background-repeat: no-repeat;
    background-position: right .875rem center;
    background-size: 22px 20px;
    border: 1px solid var(--grey);
    border-radius: 6px;
    cursor: pointer;
    min-height: 38px;
    position: relative;
    box-shadow: none;
}
#product-list .chosen-container-single .chosen-single div{
    display: none;
}
#product-list .chosen-container-single.chosen-with-drop  .chosen-single{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
#product-list .chosen-container{
    max-width: 100%;
}
.choices[data-type="select-multiple"],
.form-input{
	padding: 6px 14px;
	background:#fff;
}
.choices[data-type="select-multiple"]{
/*	max-width: 200px;*/
    padding: 0;
    display: flex;
    margin: 4px 0;
    border: 0;
    pointer-events: none;
}
.remove-product-btn{
	position: absolute;
	top: 0;
	right: 0;
	background:transparent;
	border:0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	width: 25px;
    height: 25px;
    font-size: 15px;
    transition: 0.3s;
}
.remove-product-btn:hover{
	color: var(--red);
}
.add-product-variation.btn{
    background-color: var(--green);
}
.phrase-palier-suivant{
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    color: #3904AA;
    padding-top:6px;
}
#sendDataToZoho{
    background-color:var(--purple);
}
.product-name{
    padding-bottom: 10px;
    margin-bottom: 10px;
	border-bottom: 1px solid var(--grey);
}
.product-personalization{
	padding-right: 10px;
	border:0;
	border-right: 1px solid var(--grey);
}
.product-infos{
	padding-left: 10px;
}
.product-personalization-variation{
	margin-bottom: 24px;
}
.product-personalization-variation:empty + .add-product-variation,
.product-personalization-variation:empty + .add-product-variation + .phrase-palier-suivant {
	display: none;
}
label{
	font-size: 15px;
    color: var(--grey-dark);
    margin-bottom: 10px;
    display: block;
}
.product-personalization-variation-row{
	gap: 10px;
	align-items: flex-start;
}
.product-personalization-variation-row:not(:first-of-type){
	margin-top: 24px;
}
.product-personalization-variation-col:not(:last-of-type){
	flex-grow: 1;
}
.product-personalization-variation-col:last-of-type{
	padding-right: 20px;
	position: relative;
}
input.little{
	max-width: 96px;
}
.tracker-cout-variation-produit{
    display: none !important;
}
.remove-product-variation-btn{
	position: absolute;
	bottom: 0;
	right: 0;
	border-radius: 0;
	border:0;
	background: transparent;
	height: 38px;
	padding: 0;
	width: 20px;
	cursor: pointer;
	transition: 0.3s;
}
.remove-product-variation-btn:hover{
	color: var(--red);
}
#product-list:empty{
	border: 1px solid var(--grey) !important;
    border-radius: 6px;
    height: 200px;
    margin: 24px 0;
    background: var(--grey-light);
    position: relative;
    overflow: hidden;
}
#product-list:empty:before{
    position: absolute;
    top: 0;
    left: 0;
    content: "Aucun produit";
    text-align: center;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#product-list.loading:before{
    content: "";
    background: url(../img/loading.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center;
    animation: rotating 1s linear infinite;
    opacity: 0.5;
}
@-webkit-keyframes rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}

 @-ms-keyframes rotating {
    from{
        -ms-transform: rotate(0deg);
    }
    to{
        -ms-transform: rotate(360deg);
    }
}

 @-o-keyframes rotating {
    from{
        -o-transform: rotate(0deg);
    }
    to{
        -o-transform: rotate(360deg);
    }
}

 @keyframes rotating {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
button.loading{
	opacity: 0.5;
}
/*.product-name-bloc,*/
.product-infos-bloc{
	position: sticky;
	top:10px;
}
.product-infos-line{
	display: flex;
	gap:20px;
	justify-content: space-between;
	margin-bottom: 10px;
}
.product-infos-line span{
	font-weight: 600;
}
.marge-brut {
    color: var(--blue);
}
#marge-brut-total {
    font-weight:bold;
}
.product-summary{
	width: 250px;
	flex-grow: 0;
	position: relative;
}
.product-summary .card{
    position: sticky;
    top: 10px;
    background: var(--blue-light);
    border: 1px solid var(--blue);
}
.w-100{
	width: 100%;
}
.product-summary-detail{
	margin-bottom: 24px;
}
.mb-10{
	margin-bottom: 10px;
}
/*--------select multiple----------*/
.form-select.choices__input{
	display: none !important;
}
.choices[data-type*=select-multiple] .choices__button{
	font-size: 0;
    width: 14px;
    border: 0;
    background: url(../img/close.svg);
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    padding: 0;
}
.choices__list--dropdown, .choices__list[aria-expanded] {
    visibility: hidden;
    z-index: 1;
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    top: 100%;
    margin-top: -1px;
    border-bottom-left-radius: 2.5px;
    border-bottom-right-radius: 2.5px;
    overflow: hidden;
/*    word-break: break-all;*/
    will-change: visibility;
    left: 0;
    padding: 0;
    width: calc(50% - 15px);
    left: auto;
    right: 0;
    pointer-events: all;
}
.choices__list--dropdown, .choices__list[aria-expanded] .choices__list .choices__item:nth-of-type(even){
    background: var(--grey-light);
}
.choices__list--dropdown, .choices__list[aria-expanded] .choices__item{
	padding: 2px 10px;
}
.choices__list[aria-expanded] .choices__item.has-no-choices{
    display: none;
}
.choices__list--dropdown, .choices__list[aria-expanded] .choices__list .choices__item:hover{
	background: var(--grey-light);
}
.is-active.choices__list--dropdown, .is-active.choices__list[aria-expanded] {
    visibility: visible;
}
.choices__inner input{
/*    min-width: 100% !important;*/
    border: 0 !important;
    background: transparent;
/*    display: none;*/
    outline: none;
/*    position: absolute;
    top: 0;
    left: 0;
    height: 100%;*/
    padding: 2px 10px;
    width: 50% !important;
    min-width: 0 !important;
}
.choices__inner{
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
}
.choices__inner .choices__list.choices__list--multiple:empty + input{
    display: block;
    width: 50% !important;
    position: relative;
    height: auto;
    min-width: 0 !important;
}
.choices__inner .choices__list.choices__list--multiple:not(:empty){
    padding: 5px 5px 30px;
    position: relative;
}
.choices__inner .choices__list.choices__list--multiple:not(:empty):before{
    position: absolute;
    content: "+";
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 26px;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 3px 3px;
}
.choices__inner .choices__item{
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    padding: 2px 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.choices__list.choices__list--multiple{
	display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    width: 50%;
    border: 1px solid var(--grey);
    border-radius: 6px;
    pointer-events: all;
    min-height: 38px;
    position: relative;
}
.choices__list.choices__list--multiple:empty:before{
    content: 'Selectionnez';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 5px 13px;
    box-sizing: border-box;
    font-size: 12px;
    opacity: 0.5;
}
/*------------login------------*/
.authentication-wrapper{
    max-width: 500px;
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: center;
    margin: auto;
    padding: 20px;
}
.authentication-wrapper .card-body {
    padding: 3rem;
}
.app-brand{
    max-width: 250px;
    margin: auto;
    width: 100%;
    margin-bottom: 30px;
}
.app-brand a{
    max-width: 100%;
    display: block;
}
.app-brand a img{
    max-width: 100%;
}
.authentication-wrapper h4{
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}
.authentication-wrapper-text{
    margin-bottom: 30px;
}
.authentication-wrapper-text-error{
    color: var(--red);
    margin-bottom: 20px;
}
.authentication-wrapper .form-label{
    font-size: 12px;
    margin-bottom: 3px;
    color: #000;
}
.form-login-group{
    margin-bottom: 20px;
}
#formAuthentication button[type="submit"]{
    transition: 0.3s;
}
#formAuthentication.login button[type="submit"]{
    opacity: 0.5;
    pointer-events: none;
    color: transparent;
}
#formAuthentication.error input{
    border-color: var(--red);
}
#nombre-total-produits, #montant-total-devis, #marge-brut-total, #coeff-devis{
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .col-sm {
        flex:1 0 0%
    }

    .row-cols-sm-auto>* {
        flex: 0 0 auto;
        width: auto
    }

    .row-cols-sm-1>* {
        flex: 0 0 auto;
        width: 100%
    }

    .row-cols-sm-2>* {
        flex: 0 0 auto;
        width: 50%
    }

    .row-cols-sm-3>* {
        flex: 0 0 auto;
        width: 33.33333333%
    }

    .row-cols-sm-4>* {
        flex: 0 0 auto;
        width: 25%
    }

    .row-cols-sm-5>* {
        flex: 0 0 auto;
        width: 20%
    }

    .row-cols-sm-6>* {
        flex: 0 0 auto;
        width: 16.66666667%
    }

    .col-sm-auto {
        flex: 0 0 auto;
        width: auto
    }

    .col-sm-1 {
        flex: 0 0 auto;
        width: 8.33333333%
    }

    .col-sm-2 {
        flex: 0 0 auto;
        width: 16.66666667%
    }

    .col-sm-3 {
        flex: 0 0 auto;
        width: 25%
    }

    .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%
    }

    .col-sm-5 {
        flex: 0 0 auto;
        width: 41.66666667%
    }

    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%
    }

    .col-sm-7 {
        flex: 0 0 auto;
        width: 58.33333333%
    }

    .col-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%
    }

    .col-sm-9 {
        flex: 0 0 auto;
        width: 75%
    }

    .col-sm-10 {
        flex: 0 0 auto;
        width: 83.33333333%
    }

    .col-sm-11 {
        flex: 0 0 auto;
        width: 91.66666667%
    }

    .col-sm-12 {
        flex: 0 0 auto;
        width: 100%
    }
    .row{
        flex-wrap: wrap;
    }
    .product-summary{
        width: 100%;
    }
    .product-personalization,
    .product-infos{
        border: 0;
        padding: 0;
    }
    .product-personalization:not(:first-of-type){
        border-top: 1px solid var(--grey);
        padding-top: 10px;
        margin-top: 10px;
    }
    .product-name {
        padding-bottom: 0px;
        margin-bottom: 0px;
        border-bottom: none;
    }
    .product-personalization-variation{
        margin: 0;
    }
    .product-personalization-variation:not(:empty){
        margin:0;
        padding-top: 10px;
        margin-top: 10px;
        border-top: 1px solid var(--grey);
    }
    .product-infos {
        margin: 0;
        padding-top: 10px;
        margin-top: 10px;
        border-top: 1px solid var(--grey);
    }
    #nombre-total-produits, #montant-total-devis, #marge-brut-total, #coeff-devis{
        font-weight: bold;
    }
    .page-title{
        padding: 16px 0;
        font-size: 22px;
        margin-left: 24px;
        font-weight: bold;
        color: var(--blue);
    }
    .marge-brut {
    color: var(--blue);
    }
    #marge-brut-total {
        font-weight:bold;
    }
}

@media screen and (max-width: 767px) {
    .col-xs {
        flex:1 0 0%
    }

    .row-cols-xs-auto>* {
        flex: 0 0 auto;
        width: auto
    }

    .row-cols-xs-1>* {
        flex: 0 0 auto;
        width: 100%
    }

    .row-cols-xs-2>* {
        flex: 0 0 auto;
        width: 50%
    }

    .row-cols-xs-3>* {
        flex: 0 0 auto;
        width: 33.33333333%
    }

    .row-cols-xs-4>* {
        flex: 0 0 auto;
        width: 25%
    }

    .row-cols-xs-5>* {
        flex: 0 0 auto;
        width: 20%
    }

    .row-cols-xs-6>* {
        flex: 0 0 auto;
        width: 16.66666667%
    }

    .col-xs-auto {
        flex: 0 0 auto;
        width: auto
    }

    .col-xs-1 {
        flex: 0 0 auto;
        width: 8.33333333%
    }

    .col-xs-2 {
        flex: 0 0 auto;
        width: 16.66666667%
    }

    .col-xs-3 {
        flex: 0 0 auto;
        width: 25%
    }

    .col-xs-4 {
        flex: 0 0 auto;
        width: 33.33333333%
    }

    .col-xs-5 {
        flex: 0 0 auto;
        width: 41.66666667%
    }

    .col-xs-6 {
        flex: 0 0 auto;
        width: 50%
    }

    .col-xs-7 {
        flex: 0 0 auto;
        width: 58.33333333%
    }

    .col-xs-8 {
        flex: 0 0 auto;
        width: 66.66666667%
    }

    .col-xs-9 {
        flex: 0 0 auto;
        width: 75%
    }

    .col-xs-10 {
        flex: 0 0 auto;
        width: 83.33333333%
    }

    .col-xs-11 {
        flex: 0 0 auto;
        width: 91.66666667%
    }

    .col-xs-12 {
        flex: 0 0 auto;
        width: 100%
    }
    .product-personalization-variation-row{
        flex-direction: column;
    }
    .product-personalization-variation-row{
        padding-bottom: 10px;
    }
    .product-personalization-variation-row:not(:last-of-type){
        border-bottom: 1px dotted var(--grey);
    }
    .product-personalization-variation-col{
        width: 100%;
    }
    #nombre-total-produits, #montant-total-devis, #marge-brut-total, #coeff-devis{
        font-weight: bold;
    }
    .page-title{
        padding: 16px 0;
        font-size: 22px;
        margin-left: 24px;
        font-weight: bold;
        color: var(--blue);
    }
    .marge-brut {
    color: var(--blue);
    }

    .choices__inner{
        flex-direction: column-reverse;
        gap: 4px;
    }
    .choices__list.choices__list--multiple{
        width: 100%;
    }
    .choices__inner input{
        width: 100% !important;
    }
    .choices__list--dropdown, .choices__list[aria-expanded]{
        width: 100%;
    }
    .choices[data-type="select-multiple"]{
        margin: 8px 0;
    }
}