canvas{
    position: absolute;
}

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

@font-face {
    font-family: helvet;
    src: url(./fonts/helveticaneuelight.ttf);
}

@font-face {
    font-family: Anglaise;
    src: url(./fonts/exmouth_.ttf);
}

@font-face {
    font-family: Baton;
    src: url(./fonts/GeosansLight.ttf);
}

.loadAnglaise{
    font-family: Anglaise, serif;
    visibility: hidden;
    position: absolute;
}

html{
    font-family: helvet, serif !important;
    height: 100%;
    user-select: none;
}
summary{
    outline:none;
}

details{
    cursor: pointer;
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] {
    border: solid 1px #777;
    background: #eee;
}
details[open] .summaryClass{
    color: #65a3ff;
}

details > summary:first-of-type {
    list-style-type: none;
}

details[open] summary ~ * {
    animation: sweep 0.5s ease-in-out;
    clear:both;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.detailsImage{
    display: inline-block;
}

details[open] .summaryClass:after {
    content: "-";
}


@media screen and (max-width: 1023px) {
    .summaryClass {
        font-size: 1.1em;
        color: #aaa;
        padding-left: 15px;
        line-height: 45px;
        text-align: center;
    }

    .summaryClass::after {
        content: "+";
        text-align: right;
        position: absolute;
        right: 3%;
        font-weight: 900;
    }

    .detailsClass, .detailsClassModel{
        margin: 10px;
        border: solid 1px darkgray;
        padding: 15px 0;
        position: relative;
    }

    #configurator {
        height: 25%;
        width: 100%;
        background-color: #f1f1f1;
        z-index: 5;
        display: flex;
        flex-wrap: wrap;
        align-content: start;
        flex: 0 100%;
        overflow-y: auto;
        position: relative;
        order: 5;
    }

    #taille1{
        order: 2;
    }
    #taille2{
        order: 1;
    }

    #gravure1{
        order: 1;
    }
    #gravure2{
        order: 2;
    }

    .buttonEtape{
        width: 35%;
        background: #65a3ff;
        border: none;
        border-radius: 30px;
        color: white;
        font-size: 0.6em;
        cursor: pointer;
        order: 99;
        position: fixed;
        bottom: 0;
        right: 5px;
        display: flex;
        z-index: 99;
        height: 7.5%;
        align-items: center;
        justify-content: center;
    }

    .buttonEtapeFinal{
        display: none;
    }

    #header{
        height: 120px;
        text-align: center;
        font-size: 1.2em;
        background: #65a3ff;
        color: #fff;
        z-index: 5;
        line-height: 120px;
        position: relative;
        flex: 0 1 100%;
    }

    .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;
    }

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

    .viewer {
        display: flex;
        flex-direction: column;
        flex: 0 100%;
        height: 70%;
    }

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

    .listProduct{
        position: absolute;
        left: 15px;
        border: none;
        color: #777777;
        min-width: 150px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: url(./Assets/flechedown.png) 98% / 12% no-repeat;
        z-index: 50;
        font-size: 0.8em;
        height: 10%;
    }

    .price{
        position: absolute;
        right: 150px;
        color: #B3B3B3;
        z-index: 50;
        font-size: 1.6em;
        top: 1%;
        font-weight: 800;
    }

    .titleEtape{
        white-space: nowrap;
         font-size: 1.2em;
         color: #6E6E6E;
         padding-left: 15px;
         margin: 5px;
         flex: 0 100%;
     }

    .subtitleEtape{
        font-size: 0.9em;
        color: #6E6E6E;
        padding-left: 15px;
        margin: 5px;
        flex: 0 100%;
    }

    .optionEtape{
        white-space: nowrap;
        font-size: 14px;
        line-height: 32px;
        color: #A3A3A3;
        padding-left: 20px;
    }

    .boxEtape{
        margin: 2px 5px;
        border: solid 1px #aaa;
        padding: 10px;
        display: flex;
        height: 35px;
    }

    .imageOptionEtape{
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

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

    .optionEtapeSelected{
        white-space: nowrap;
        font-size: 14px;
        line-height: 32px;
        color: #65A3FF;
    }

    .boxEtapeSelected{
        margin: 2px 5px;
        border: solid 1px #aaa;
        padding: 10px;
        display:flex;
        background-color: #FCFCFC;
        height: 35px;
    }

    .imageOptionEtapeSelected{
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .optionEtapeSelected::before {
        content: url('Assets/checked.svg');
        display: inline-block;
        transform: translate(-15px, 4px);
    }

    .inputEtape{
        height: 40px;
        margin: 5px 13px;
        font-size: 18px;
    }

    .arbre {
        overflow: auto;
        height: 5%;
        display: flex;
        align-items: center;
        flex: 0 1 100%;
        z-index: 6;
        box-shadow: 0 1px 5px -4px #000;
        order: 4;
    }

    .etapeDiv{
        width: 100%;
        height: 70%;
        display: none;
        position: relative;
        align-items: baseline;
    }

    .configuratorTemplate{
        width: 100%;
        height: 70%;
        display: none;
        position: absolute;
        background: #f1f1f1;
        align-items: baseline;
        flex-direction: column;
        z-index: 500;
        overflow: auto;
    }

    .libArbre{
        margin-left: 5px;
        color: #fff;
        background: #B3B3B3;
        border-radius: 50px;
        padding: 0 15px;
    }
    .flecheArbre{
        display: none;
    }

    .libArbre, .flecheArbre{
        font-size: 12px;
        cursor:pointer;
    }

    .libArbre.selected{
        color: #fff;
        background: #65a3ff;
        border-radius: 50px;
        padding: 1px 15px;
    }

    .tailleFlex{
        flex: 0 50%;
    }

    .tailleConfigurator{
        font-size: 0.8em;
        color: #b3b3b3;
        background: #dddddd;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        text-align: center;
        margin: 10px;
        line-height: 48px;
        border: none;
    }

    .tailleDiv{
        display: flex;
        align-items: start;
        width: 100%;
        flex-grow: 1;
    }

    .tailleDivWrap{
        display: flex;
        align-items: start;
        width: 100%;
        flex-grow: 1;
        flex-wrap: wrap;
    }

    #titleEtapeTailleBox{
        display: flex;
    }

    #header{display:none;
    }

    .footerConfigurator{
        background: #FFFFFF;
        flex: 0 30%;
        display: flex;
        align-items: center;
        text-align: center;
        position: fixed;
        width: 100%;
        height: 7.5%;
        bottom: 0;
    }

    .subFooter {
        flex: 0 20%;
        height: 100%;
        font-size: 0;
        color: #B3B3B3;
        border-right: solid 1px #B3B3B3;
        border-top: solid 1px#B3B3B3;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .subFooterOpen {
        flex: 0 50%;
        height: 100%;
        font-size: 14px;
        color: #FFFFFF;
        border-right: solid 1px #B3B3B3;
        border-top: solid 1px#B3B3B3;
        background-color: #b3b3b3 ;
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .subFooter:before {
        content: "";
        width: 16px;
        height: 16px;
        border-radius: 3px;
        background: #B3B3B3;
        display: block;
        margin: 0 calc(50% - 8px);
    }

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

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

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

    .containerConfigurator{
        display: flex;
    }

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

    }
    .dataConfigurator{
        font-size: 0.8em;
        padding-left: 15px;
        padding-bottom: 5px;
    }

}

@media screen and (min-width: 1024px){
    .summaryClass {
        font-size: 1.1em;
        color: #aaa;
        padding-left: 15px;
        line-height: 45px;
        text-align: center;
    }

    .summaryClass::after {
        content: "+";
        text-align: right;
        position: absolute;
        right: 3%;
        font-weight: 900;
    }

    .detailsClass, .detailsClassModel{
        margin: 10px;
        border: solid 1px darkgray;
        padding: 15px 0;
        position: relative;
    }

    #configurator {
        background-color: #f1f1f1;
        z-index: 5;
        height: 92%;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        align-content: start;
        position: relative;
        flex: 0 25%;
        overflow-y: auto;
    }

    .buttonEtape{
        width: 80%;
        margin: 10%;
        background: #65a3ff;
        border: none;
        border-radius: 30px;
        color: white;
        font-size: 1.1em;
        padding: 10px;
        cursor: pointer;
        order: 99;
    }

    .buttonEtapeFinal{
        position: absolute;
        right: 1%;
        top: 2.5%;
        width: 15%;
        background: #65a3ff;
        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: #65a3ff;
        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 {
        display: flex;
        flex-direction: column;
        flex: 0 75%;
        position: relative;
    }

    .boutonVue{
        width: 150px;
        left: 50px;
        z-index: 50;
        color: white;
        background: #65a3ff;
        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: 20px;
        color: #6E6E6E;
        line-height: 25px;
        padding-left: 15px;
    }

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

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

    .containerConfigurator{
        display: flex;
    }

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

    }
    .dataConfigurator{
        font-size: 0.8em;
        padding-left: 15px;
        padding-bottom: 5px;
    }

    .optionEtape{
        font-size: 18px;
        line-height: 48px;
        color: #A3A3A3;
        padding-left: 20px;
    }

    .boxEtape{margin: 5px 20px;
        border: solid 1px #aaa;
        padding: 25px;
        display:flex;
    }

    .imageOptionEtape{
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }

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

    .optionEtapeSelected{
        font-size: 18px;
        line-height: 48px;
        color: #65A3FF;
        padding-left: 20px;
    }

    .boxEtapeSelected{margin: 5px 20px;
        border: solid 1px #aaa;
        padding: 25px;
        display:flex;
        background-color: #FCFCFC;
    }

    .imageOptionEtapeSelected{
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }

    .optionEtapeSelected::before {
        content: url('Assets/checked.svg');
        display: inline-block;
        transform: translate(-35px, 4px);
    }

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

    .arbre {
        height: 8%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 1 100%;
        z-index: 6;
        box-shadow: 0 1px 5px -4px #000;
    }

    .etapeDiv{
        width: 100%;
        height: 92%;
        display: none;
        flex-direction: column;
        overflow: auto;
    }


    .configuratorTemplate{
        width: 100%;
        height: 92%;
        display: none;
        flex-direction: column;
        overflow: auto;
        background: #f1f1f1;
        position: absolute;
        z-index: 500;
    }

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

    .libArbre::before {
        background-color: #aaa;
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        margin-right: 5px;
        border-radius: 3px;
    }

    .libArbre.selected::before{
        background: #65a3ff;
    }
    .libArbre.selected{
        font-weight: 900;
        color: #65a3ff;
    }

    .tailleConfigurator{
        font-size: 1.1em;
        color: #b3b3b3;
        background: #dddddd;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        text-align: center;
        margin: 10px;
        line-height: 80px;
        border: none;
    }

    .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;

    }

    .displayFlex {
        display: flex;
        flex-direction: column;
        flex: 100%
    }

    .footerConfigurator{
        height: 8%;
        background: #FFFFFF;
        flex: 0 100%;
        display: flex;
    }

    .subFooter {
        flex: 0 50%;
        justify-content: center;
        align-items: center;
        display: flex;
        font-size: 0.9em;
        color: #B3B3B3;
    }

    .subFooterOpen {
        flex: 0 50%;
        justify-content: center;
        align-items: center;
        display: flex;
        font-size: 0.9em;
        color: #FFFFFF;
        background-color: #b3b3b3;
    }

    .subFooter:before {
        content: "";
        width: 15px;
        height: 15px;
        margin-right: 5px;
        border-radius: 3px;
        background: #B3B3B3;
    }
}

@media screen and (max-height: 540px)and (max-width: 1024px) {
    #configurator {
        height: 45% !important;
    }
    #viewer {
        height: 49% !important;
    }

    .buttonEtape{
        height: 10% !important;
    }
    .footerConfigurator
    {
        height: 10% !important;
    }
    .etapeDiv{
        height: 75% !important;
    }
    .footerConfiguratorTemplate{
        height: 75% !important;
    }
}

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

.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 #65a3ff;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

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

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

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

.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: #65a3ff;
    color: white;
}*/

.selectedTaille{
    background: #65a3ff;
    color: white;
}

.tailleConfigurator:hover{
    background: #65a3ff;
    color: white;
}
.tailleConfigurator:active{
    background: #65a3ff;
    color: white;
}


.textureDiv{
    display: flex !important;
    flex-direction: column;
    justify-content: start;
}

.detailsSubModel{
    font-size: 1.1em;
    color: #444;
    font-weight: 800;
    padding-left: 15px;
    line-height: 25px;
}



.tailleDoigt{
    flex-direction: row;
    display: flex;
    justify-content: space-around;
    color: #848484;
}

.sliderTailleDoigt{
    flex: 0.95;
}

.sliderTailleDoigt::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #4CAF50; /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.sliderTailleDoigt::-moz-range-thumb {
    cursor: pointer; /* Cursor on hover */
    content: 'Hello';
    width: 50px;
    height: 50px;
}

.width100{
    width: 100%;
}

.outputslider{
    position: relative;
    margin-top: 25px;
    background: #65a3ff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: white;
    font-weight: 900;
    font-size: 1.5em;
}

.displayFlex{
    display: flex;
}

.order99{
    order: 99;
}

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;
}