canvas{
    position: absolute;
}
.dg.ac {
    z-index: 600 !important;
}

.loadAnglaise{
    font-family: Anglaise, sans-serif !important;
    visibility: hidden;
    position: absolute;
}
html{
    font-family: Exemplar, serif !important;
    height: 100%;
    user-select: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.detailsImage{
    display: inline-block;
}

@media screen and (min-width: 1024px){
    /*
    Taille de doigt
     */

    .DAVIflexTemplateTailleDeDoigt{
        width: 90%;
    }
    .DAVItailleDeDoigtBouton{
        font-family: Hind, serif;
        font-size: 1.4em;
        color: #464646;
        background: #FAFAFA;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        margin: 7px;
        border: none;
    }

    /*
    Profil Alliance
    */
    .DAVIflexTemplateProfil{
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
        margin-top: 40px;
        width: 90%;
    }
    .DAVIBoxEtapeProfil{
        padding: 20px;
        display: flex;
        height: 70px;
        align-items: center;
    }
    .DAVIBoxEtapeProfilSelected{
        display: flex;
        background-color: #FFFFFF;
        height: 70px;
        padding: 20px;
        align-items: center;
    }
    .DAVIOptionEtapeProfilSelected{
        font-size: 18px;
        line-height: 20px;
        color: #E6C9A5;
        padding-left: 20px;
        font-weight: 900;
    }
    .DAVIImageOptionEtapeSelected {
        padding-left: 10px;
        width: 80px;
        height: 80px;
    }
    .DAVIOptionEtapeProfil{
        font-size: 18px;
        line-height: 20px;
        color: #DBDBDB;
        padding-left: 20px;
        flex: 0 1 90%;
    }
    .DAVIImageOptionEtape {
        padding-left: 10px;
        width: 80px;
        height: 80px;
        flex: 0 1 10%;
    }

    /*
        Taille
     */
    .DAVIflexTemplateTaille{
        width: 90%;
        flex-direction: column;
        margin-bottom: 40px;
        margin-top: 40px;
        display: flex;
    }
    .DAVITailleFlex{
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }
    .DAVITaille2Box{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 15px;
        font-size: 1.3em;
        font-weight: 600;
        color: #464646;
    }
    .DAVITailleSelected {
        color: #e6c9a5;
    }
    .DAVITailleTextCenter{
        text-align: center;
        display: grid;
    }
    .DAVITailleTextCenter::after {
        font-size:0.5em;
        content: "mm";
    }
    .DAVIEtapeTailleSlider {
        -webkit-appearance: none;
        width: 100%;
        height: 1px;
        background: #E6C9A5;
        outline: none;
    }
    .DAVIEtapeTailleSlider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        background: #E6C9A5;
        border: none;
        border-radius: 50%;
        cursor: pointer;
    }
    .DAVIEtapeTailleSlider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        background: #E6C9A5;
        border: none;
        border-radius: 50%;
        cursor: pointer;
    }

    /*
        COULEUR
     */
    .DAVIflexTemplateCouleur{
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
        margin-top: 40px;
        width: 80%;
    }
    .DAVICouleurBoxSelected{
        background-color: #FFF;
        height: 60px;
        align-items: center;
        display: flex;
    }
    .DAVICouleurImageSelected{
        padding-left: 10px;
        width: 32px;
        height: 32px;
    }
    .DAVICouleurOptionSelected{
        font-size: 18px;
        line-height: 20px;
        color: #E6C9A5;
        padding-left: 20px;
        font-weight: 900;
    }
    .DAVICouleurBox{
        height: 60px;
        align-items: center;
        display: flex;
    }
    .DAVICouleurImage{
        padding-left: 10px;
        width: 32px;
        height: 32px;
    }
    .DAVICouleurOption{
        font-size: 18px;
        line-height: 20px;
        color: #DBDBDB;
        padding-left: 20px;
        flex: 0 1 90%;
    }

    /*
        FINITION
     */
    .DAVIflexTemplateFinition{
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
        margin-top: 40px;
        width: 80%;
    }
    .DAVIBoxEtapeFinition{
        padding: 20px;
        display: flex;
        height: 70px;
        align-items: center;
    }
    .DAVIBoxEtapeFinitionSelected{
        display: flex;
        background-color: #FFFFFF;
        height: 70px;
        padding: 20px;
        align-items: center;
    }
    .DAVIOptionEtapeFinitionSelected{
        font-size: 18px;
        line-height: 20px;
        color: #E6C9A5;
        padding-left: 20px;
        font-weight: 900;
    }
    .DAVIImageOptionEtapeFinition {
        padding-left: 10px;
        width: 60px;
        height: 60px;
    }
    .DAVIOptionEtapeFinition{
        font-size: 18px;
        line-height: 20px;
        color: #DBDBDB;
        padding-left: 20px;
        flex: 0 1 90%;
    }
    .DAVIImageOptionEtapeFinitionSelected {
        padding-left: 10px;
        width: 60px;
        height: 60px;
        flex: 0 1 10%;
    }

    /*

     */

    #configurator {
        background-color: #fafafa;
        z-index: 5;
        height: calc(100% - 75px);
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        align-content: start;
        position: relative;
        flex: 0 25%;
        overflow-y: hidden;
    }

    .buttonEtape{
        width: 80%;
        margin: 5% 0;
        border: solid 1px black;
        background-color: #fafafa;
        color: #E6C9A5;
        font-size: 2em;
        padding-bottom: 10px;
        cursor: pointer;
        order: 99;
        height: 40px;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .buttonEtape:hover{
        color: #000;
    }

    .buttonEtapeFinal{
        position: absolute;
        right: 1%;
        top: 2.5%;
        width: 15%;
        background: #E6C9A5;
        border: none;
        border-radius: 30px;
        z-index: 51;
        color: white;
        font-size: 0.8em;
        padding: 0;
        cursor: pointer;
        height: 3%;
    }

    #header{
        height: 16%;
        text-align: center;
        font-size: 1.2em;
        background: #E6C9A5;
        color: #fff;
        z-index: 5;
        position: relative;
        flex: 0 1 100%;
        align-items: center;
        justify-content: center;
        display:none;
    }

    .informationConfigurator{
        margin: 0;
        font-size: 1.1em;
        color: #aaa;
        font-weight: bold;
        padding-left: 5px;
    }

    .configuratorTexture {
        width: 32px;
        height: 32px;
        display: inline-flex;
        vertical-align: middle;
        margin: 5px;
        border: solid 1px #00000054;
    }

    .summaryImage {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        float: left;
        border: solid 3px #777;
    }

    .tailleFlex{
        width: 100%;
    }

    .configuratorImage{
        width:32px;
        height: 32px;
        margin: 5px;
        border: solid 1px #00000054
    }

    .viewer {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0px;
        left: 0;
    }

    .boutonVue{
        width: 150px;
        left: 50px;
        z-index: 50;
        color: white;
        background: #E6C9A5;
        font-size: 1em;
        padding: 12px;
        text-align: center;
        vertical-align: middle;
        border-radius: 5px;
        cursor: pointer;
    }

    .listProduct{
        position: absolute;
        top: 1%;
        left: 100px;
        border: none;
        color: #777777;
        min-width: 15%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: url(./Assets/flechedown.png) 98% / 12% no-repeat;
        z-index: 50;
        height: 6%;
    }

    .price{
        position: absolute;
        right: 17%;
        z-index: 50;
        top: 0;
        display: flex;
        height: 8%;
        align-items: center;
    }

    .priceText{
        color: #B3B3B3;
        z-index: 50;
        font-size: 1.6em;
        font-weight: 800;
    }

    .titleEtape{
        font-size: 1.1em;
        color: #000000;
        line-height: 25px;
        padding-left: 15px;
        letter-spacing: 0.3px;
        font-weight: 100;
    }

    .subtitleEtape{
        font-size: 0.9em;
        color: #6E6E6E;
        padding-left: 15px;
        margin-top: -15px;
    }

    .titleConfigurator{
        font-size: 0.8em;
        color: #6E6E6E;
        padding-left: 5px;
        padding-top: 15px;
        padding-bottom: 5px;
    }

    .titleConfiguratorLink{
        position: absolute;
        right: 15px;
        color: #E6C9A5;
        text-decoration: underline;
        cursor: pointer;
    }

    .containerConfigurator{
        display: flex;
        align-items: center;
    }

    .libConfigurator{
        color: #6E6E6E;
        font-size: 0.8em;
        padding-bottom: 5px;
        padding-left: 15px;

    }
    .dataConfigurator{
        font-size: 0.9em;
        padding-left: 5px;
    }

    .spanTemplateConfiguration{
        padding-left: 5px;
        font-size: 0.75em;
        font-weight: 200;
    }

    .optionEtape{
        font-size: 18px;
        line-height: 20px;
        color: #DBDBDB;
        padding-left: 20px;
        flex: 0 1 90%;
    }

    .optionEtape:hover{
        color: #000000;
    }

    .boxEtape{
        padding: 20px;
        display: flex;
        height: 70px;
        align-items: center;
    }

    .optionEtape:hover:after{
        content:attr(data-value);
        display: block;
        font-size: 0.6em;
        line-height: 1.3;
        color: black;
    }

    .boxEtapeNoBorder, .boxEtapeSelectedNoBorder {
        height: 60px;
        align-items: center;
        display: flex;
    }

    .boxEtapeSelectedNoBorder{
        background-color: #FFF;
    }

    .imageOptionEtape{
        padding-left: 10px;
        width: 80px;
        height: 80px;
        flex: 0 1 10%;
    }
    .imageOptionEtapeNoBorder{
        padding-left: 10px;
        width: 32px;
        height: 32px;
    }
    .imageOptionEtapeSelectedNoBorder{
        padding-left: 10px;
        width: 32px;
        height: 32px;
    }

    .titleEtapeSelected{
        font-size: 20px;
        color: #6E6E6E;
        line-height: 20px;
        padding-left: 15px;
    }

    .optionEtapeSelected{
        font-size: 18px;
        line-height: 20px;
        color: #E6C9A5;
        padding-left: 20px;
        font-weight: 900;
    }

    .boxEtapeSelected{
        display: flex;
        background-color: #FFFFFF;
        height: 70px;
        padding: 20px;
        align-items: center;
    }

    .imageOptionEtapeSelected{
        padding-left: 10px;
        width: 80px;
        height: 80px;
    }

    .italic{
        padding: 5px 0 0 20px;
        font-style: italic;
        font-size: 0.9em;
        color: #A3A3A3;
    }

    .inputEtape{
        height: 40px;
        margin: 0 4% 0 4%;
        font-size: 18px;
        width: 90%;
    }

    .arbre {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 1 100%;
        z-index: 6;
        min-height: 50px;
        background-color: #fafafa;
    }

    .arbre:after {
        width: 90%;
        background: #ffffff;
        height: 5px;
        content: "";
        position: absolute;
        top: 70px;
    }

    .etapeDiv{
        width: 100%;
        height: calc(100% - 125px);
        margin-top: 50px;;
        display: none;
        flex-direction: column;
        overflow: auto;
        font-family: Hind, serif;
    }


    .configuratorTemplate{
        width: 100%;
        display: none;
        flex-direction: column;
        overflow: auto;
        background: #fafafa;
        position: absolute;
        z-index: 500;
        height: calc(100% - 75px);
        font-family: Hind, serif;
    }

    .containerArbre {
        flex-direction: row;
        display: flex;
        position: relative;
        text-align: center;
    }

    .flecheArbre{
        position: absolute;
        width: 82%;
        border-top: solid 1px #DBDBDB;
        justify-self: right;
        display: flex;
        margin: 26px 0 0 8%;
        z-index: 1;
    }

    .libArbre{
        visibility: hidden;
        z-index: 2;
        width: 60px;
        letter-spacing: 0.24px;
        margin-top: 0;
        position: relative;
    }

    .libArbre::before {
        border: solid 1px #DBDBDB;
        content: "";
        display: block;
        width: 18px;
        height: 18px;
        margin: 12px 0 10px 40%;
        border-radius: 18px;
        visibility: visible;
        background-color: #fafafa;
    }

    .libArbre.selected::before{
        background: #E6C9A5;
        border: none;

    }

    .libArbre:hover:after {
        content: attr(data-value);
        font-size: 0.85em;
        position: absolute;
        visibility: visible;
        color:#DBDBDB;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    .libArbre.selected{
        color: #000;
        visibility: visible;
        white-space: nowrap;
        font-size: 0.95em;
    }

    .libArbre, .flecheArbre{
        padding: 5px;
        color: #aaa;
        cursor:pointer;
    }



    .tailleDiv{
        /*display: flex;*/
        align-items: start;
        flex-wrap: wrap;
        flex-grow: 1;
        align-content: baseline;

    }

    .tailleDivWrap{
       /* display: flex;
        align-items: start;*/
        flex-wrap: wrap;
        /*flex-grow: 1;*/
        align-content: baseline;

    }

    #titleEtapeTailleDeDoigtBox {
        width: 90%;
    }

    .displayFlex {
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
        margin-top: 40px;
        width: 90%;
    }

    .flexCouleur {
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
        margin-top: 40px;
        width: 80%;
    }

    .footerConfigurator{
        height: 70px;
        background: #FAFAFA;
        flex: 0 100%;
        display: flex;
        font-family: Hind, Serif;
        z-index: 1;
    }

    .subFooter {
        height: 26px !important;
        flex: 0 100%;
        justify-content: center;
        align-items: center;
        display: flex;
        font-size: 0.9em;
        color: #B3B3B3;
        text-align: center;
    }


    .subFooterOpen {
        height: 26px !important;
        flex: 0 100%;
        justify-content: center;
        align-items: center;
        display: flex;
        font-size: 0.9em;
        color: #FFFFFF;
    }

    .boxContainerSVG:hover:after{
        content: attr(data-value);
        color: #000;
        white-space: nowrap;
        font-size: 0.8em;
        margin-top: 5px;
        flex: 1;
        text-align: center;
    }

    .boxContainerSVG{
        display: flex;
        flex-wrap: wrap;
        flex: 0 33%;
    }

    .bagueTemplateSave{
        position: fixed;
        left: 0;
        right: 0;
        top: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .buttonTemplateSave{
        width: 15%;
        margin-top: 15px;
        font-family: Hind, serif;
        font-size: 1.0em;
        color: #ffffff;
        background-color: #E6C9A5;
        border: none;
        padding: 5px;
    }
}



.body{
    width: 100%;
    height: 100%;
    margin:0;
    display: flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content: end;
}

.textureDetailsColor{
    display:none;
}

.configuratorColor{
    width:32px;
    height: 32px;
}

.loaderParent {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 51;
    background: #fff;
}

.allscreen{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: none;
    z-index: 51;
}

.loader {
    z-index: 1;
    margin: 10px 0;
    border: 16px solid #aaaaaa;
    border-radius: 50%;
    border-top: 16px solid #E6C9A5;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.loaderViewer{
    border: 8px solid #aaaaaa;
    border-radius: 50%;
    border-top: 8px solid #E6C9A5;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    z-index: 50;
}

.textLoaderViewer {
    color:#555;
    font-size: 18px;
    font-weight: 800;
    z-index: 50;
}

.loaderElement{
    flex: 0 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 50;
    height: 100%;
}

.textLoader {
    color:#555;
    font-size: 18px;
    font-weight: 800;
    z-index: 5;
}

.informationCouleur{
    margin: 0;
    font-size: 1.1em;
    color: #aaa;
    font-weight: bold;
    padding-left: 5px;
}


/*.tailleConfigurator:focus{
    background: #E6C9A5;
    color: white;
}*/

.selectedTaille{
    background: #E6C9A5;
    color: white;
}

.tailleConfigurator:hover{
    background: #F9F1E7;
    color: white;
}
.tailleConfigurator:active{
    background: #E6C9A5;
    color: white;
}

.width100{
    width: 100%;
}

.displayFlex{
    display: flex;
}

.flexDirectionRow{
    flex-direction: row;
    align-items: end;
    justify-content: center;
    height: 100%;
}

.order99{
    order: 99;
}
.order1{
    order: 1;
}

.width100{
    width:100%
}

.buttonorder99{
    order: 99;
    margin: 20px 10% 20px 0;
    border-left: none;
}
.buttonorder1{
    order: 1;
    margin: 20px 0 20px 10%;
    border-right: none;
}



input[type="button"]{
    outline:none;
}

input[type="button"]::-moz-focus-inner {
    border: 0;
}
/*input[type=range]::-moz-focus-outer {
    border: 0;
}*/
button{
    outline: none;
}

button::-moz-focus-inner {
    border: 0;
}


