/*@font-face {
    font-family: Config;
    src: url("./Config/ConfigCondensed-Regular.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Config;
    src: url("./Config/ConfigCondensed-Bold.otf") format('opentype');
    font-weight: bold;
    font-style: normal;
}*/
/*
* {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #3c3c3b;
}*/

/*noinspection CssUnusedSymbol*/
.with_phototype, .ui-slider-handle, .overlay, .fr, .en {
}

HTML {
    overflow: hidden;
}

BUTTON {
    cursor: pointer;
    font-family: Arial, sans-serif;
    box-shadow: 2px 2px 0px 0px #a8aca1;
    background-color: rgba(0, 0, 0, 0);
    background-color: #e6e6e6;
    border-radius: 15px;
    border: 1px solid #e6e6e6;
    color: #4d4c4c;
    font-size: 17px;
    padding: 7px 25px;
    text-decoration: none;
    transition: 0.3s;
}

BUTTON:active {
    position: relative;
    top: 1px;
}

BUTTON:hover {
    opacity: 0.9;
}


.overlay_txt, .overlay_txt * {
    font-size: 20px;
}

.valid_density, .valid_density * {
    font-size: 18px;
    color: #3c3c3b !important;
}

.sizeButtons BUTTON {
    /*font-size: 120%;*/
}


.comparator_table {
    margin: auto;
}

.back_pic {
    width: 100%;
    height: 100%;
}

.back_pic IMG {
    width: 100%;
    height: 100%;
}

.comparator_table .curs_pic {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

.rect_zone {
    width: 400px;
    /*height: 400px;*/
}

.railroad {
    height: 30px;
    position: relative;
    /*display: none;*/
}

.railroad IMG {
    width: 100%;
    height: 100%;
}

.railroad_cursor {
    position: absolute;
    top: 0;
    left: 0;
    /*outline: 2px solid #4c8f9c;*/
    outline: 2px solid #3c3c3b;
    width: 10%;
    height: 100%;
    pointer-events: none;
}

.comparator_table .avatar {
    width: 50px;
    pointer-events: none;
    position: absolute;
    display: none;
    z-index: 5;
    opacity: 0.4;
}

TD {
    position: relative;
    /*width: 50%;*/
    text-align: center;
}

#curs_controls DIV {
    width: 15px;
    line-height: 50px;
    /*opacity: 0;*/
    color: #1f40dc;
    /*background: rgba(245, 238, 238, 0.62);*/
    border-radius: 10px;
    /*outline: 1px solid grey;*/
    text-align: center;
    cursor: pointer;
    flex-grow: 1;
}

/*.with_phototype .palette_navigator, .with_phototype .back_pic, .with_phototype .validation, .with_phototype .sizeButtons {
    display: revert !important;
}*/

.palette_navigator, .validation, .overlay_txt, .ref_pic .back_pic {
    display: none;
    position: relative;
}

.with_phototype.with_phototype:not(.choosing_visibility):not(.choosing_visibility2) .palette_navigator,
.with_phototype.with_phototype:not(.choosing_visibility):not(.choosing_visibility2) .validation,
.with_phototype.with_phototype:not(.choosing_visibility):not(.choosing_visibility2) .overlay_txt,
.with_phototype.with_phototype:not(.choosing_visibility):not(.choosing_visibility2) .ref_pic .back_pic {
    display: revert;
}

.validation BUTTON {
    margin-top: 20px;
}

.palette_navigator TD DIV.flex {
    /*width: 100%;*/
    text-align: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.palette_navigator TD > * {
    display: inline-block;
    /*width: 10%;*/
}

.palette_navigator BUTTON {
    cursor: pointer;
    /*padding: 5px;*/
    background: none;
    border: none;
    box-shadow: none;
}

.palette_navigator BUTTON.disabled {
    color: grey;
    cursor: not-allowed;
}

.sizeButtons {
    /*text-align: left;*/
    /*margin-left: 30px;*/
}

.sizeButtons > DIV {
    line-height: 55px;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.sizeButtons BUTTON {
    /*display: block;*/
    /*margin: auto;*/
    /*margin-top: 10px;*/
    /*margin-bottom: 10px;*/
    /*height: 22px;*/
    /*float: right;*/
    margin: 7px;
    padding: 5px 15px 5px 15px;
    white-space: nowrap;
}

.sizeButtons DIV BUTTON {
    width: 110px;
    line-height: 26px;
}

.sizeButtons .ok {
    display: none;
    margin-right: 5px;
    position: absolute;
    left: -25px;
    /*margin-top: 15px;*/
}

.sizeButtons HR {
    border-top: #6f7c7d;
}

.taille0 #smalls, .taille1 #mediums, .taille2 #bigs {
    color: #a17259;
}

.overlay_txt {
    /*position: absolute;*/
    /*top: 0;*/
    /*width: calc(100% - 40px);*/
    /*margin: 20px;*/
    text-align: center;
    /*display: none; !* initialement *!*/
}

.overlay_txt .size_text SPAN {
    color: #4c8f9c !important;
}

/*.with_zoom .overlay_txt, .with_phototype .overlay_txt {
    display: revert !important;
}*/

.with_phototype .ref_pic {
    display: block !important;
}

.curs_zoom {
    position: absolute;
    width: 80%;
    height: 40%;
    border: 1px solid grey;
    top: 200px;
    left: 50px;
    display: none;
    background: rgba(255, 255, 255, 0.34);
}

.with_zoom .curs_zoom, .with_zoom #curs_circle {
    display: block;
}

.pic_zoom {
    background-image: url('IMG_4777-resize.jpg');
    display: none;
    width: 400px;
    height: 400px;
    position: absolute;
    top: 0;
}

.ref_pic .back_pic {
    /*display: none; !* initialement *!*/
}

.with_zoom .ref_pic .back_pic {
    opacity: 0.5;
}

.with_zoom .pic_zoom {
    display: block;
}

.pic_zoom IMG {
    width: 50%;
    /* height: 100%; */
    position: absolute;
    right: -75%;
    top: 20%;
    display: none;
}

.comparator_table.taille0 .taille0, .comparator_table.taille1 .taille1, .comparator_table.taille2 .taille2 {
    display: inline-block !important;
    /*color: #4c8f9c;*/
    color: #6f7c7d;
}

/*.comparator_table.taille0 .overlay_txt, .comparator_table.taille1 .overlay_txt, .comparator_table.taille2 .overlay_txt {
    display: inline-block;
}*/

.comparator_table.taille0 .taille1, .comparator_table.taille0 .taille2,
.comparator_table.taille1 .taille0, .comparator_table.taille1 .taille2,
.comparator_table.taille2 .taille0, .comparator_table.taille2 .taille1 {
    display: none;
}

.ruler {
    position: absolute;
    top: 140px;
    display: none;
}

.choice_ph {
    text-align: center;
    font-size: 150%;
}

.choice_ph * {
    /*margin: 10px;*/
}

.choice_ph P, .feedback_visibility P {
    font-weight: bold;
}

.comparator_table.with_phototype .choice_ph {
    display: none !important;
}

.comparator_table:not(.with_phototype) .choice_ph {
    display: revert !important;
}

.choice_btns {
    /*display: flex;*/
    /*flex-direction: column;*/
    justify-content: space-evenly;
    /*cursor: pointer;*/
    margin-left: 90px;
}

.choice_btns BUTTON {
    padding: 10px;
    display: block;
    cursor: pointer;
    line-height: 75px;
    margin-bottom: 10px;
    border: none;
    background: none;
    box-shadow: none;
}

.choice_btns BUTTON * {
    display: inline-block;
}

.choice_btns BUTTON IMG {
    width: 75px;
    /*display: block;*/
    cursor: pointer;
    margin-right: 20px;
    vertical-align: bottom;
}

.lessDense, .moreDense {
    padding: 0;
}

.lessDense IMG, .moreDense IMG {
    width: 25px;
}

.regle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('scale_10_10_cm.svg');
    background-repeat: no-repeat;
    /*background-size: cover;*/
    pointer-events: none;
}

.regle_blanche {
    background-image: url('scale_10_10_cm_white.svg');
}

.feedback_visibility {
    padding-left: 70px;
    position: relative;
    text-align: left;
}

.feedback_visibility2 {
    padding-left: 50px;
    position: relative;
    text-align: center;
}

.feedback_visibility2 P {
    font-weight: bold;
}

.visibility_scale {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
}

.visibility_scale SPAN {
    font-size: 80%;
    color: grey;
}

.feedback_visibility DIV[data-visibility] {
    line-height: 45px;
}

.feedback_visibility BUTTON {
    display: block;
    /*margin-bottom: 10px;*/
    margin: 20px;
}

#visibility_slider {
    /*position: absolute;*/
    width: 90%;
    bottom: -10px;
    left: -0px;
    background-color: #e6e6e6;
    margin: auto;
    margin-bottom: 30px;
}

#visibility_slider .ui-slider-handle {
    background-color: #968f88;
}

.comparator_table.choosing_visibility .feedback_visibility {
    display: revert !important;
}

.comparator_table:not(.choosing_visibility) .feedback_visibility {
    display: none !important;
}

.comparator_table.choosing_visibility2 .feedback_visibility2 {
    display: revert !important;
}

.comparator_table:not(.choosing_visibility2) .feedback_visibility2 {
    display: none !important;
}

.table_head {
    height: 80px;
}

.progression {
    height: 3px;
    width: 500px;
    margin: auto;
    display: none;
    background: #bdd1c1;
    position: relative;
    margin-top: 30px;
}

.progression DIV {
    height: 100%;
    width: 0;
    background: #4c8f9c;
}

.progression SPAN {
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 10px;
}

.study:not(.all_done) .all_done,
.study.all_done .comparator_table,
.study.in_error .comparator_table,
.study.is_loading .comparator_table {
    display: none;
}

.study.all_done:not(.in_error) .all_done {
    display: block;
    text-align: center;
}

.study:not(.in_error) .error {
    display: none;
}

.study.in_error .error {
    display: block !important;
}

.study:not(.is_loading) .loading {
    display: none;
}

.loading {
    width: 100%;
    height: 200px;
    text-align: center;
    padding-top: 300px;
    background-image: url('https://static.vecteurm.com/icons/misc/spinner02.gif');
    background-position: center;
    background-repeat: no-repeat;
}


.comparator_table.mode_2 .ref_pic .overlay {
    height: 400px;
    width: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    /*transition: background-position 0.5s ease-in-out;*/
    position: absolute;
    top: 0;
    left: 0;
}

.comparator_table.mode_2 .railroad_cursor {
    display: none;
}

.comparator_table.mode_2 .railroad .ui-slider-handle {
    /*outline: 2px solid #4c8f9c;*/
    outline: 2px solid #6f7c7d;
    border: none;
    background: rgba(255, 255, 255, 0.11);
    top: 0;
    height: 120%;
    width: 10px;
    margin-left: -5px;
    margin-top: -3px;
}

.comparator_table.mode_2.ph12.taille0 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph12_t0.png');
}

.comparator_table.mode_2.ph12.taille1 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph12_t1.png');
}

.comparator_table.mode_2.ph12.taille2 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph12_t2.png');
}

.comparator_table.mode_2.ph34.taille0 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph34_t0.png');
}

.comparator_table.mode_2.ph34.taille1 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph34_t1.png');
}

.comparator_table.mode_2.ph34.taille2 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph34_t2.png');
}

.comparator_table.mode_2.ph56.taille0 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph56_t0.png');
}

.comparator_table.mode_2.ph56.taille1 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph56_t1.png');
}

.comparator_table.mode_2.ph56.taille2 .ref_pic .overlay {
    background-image: url('palettes/degrade_ph56_t2.png');
}

.comparator_table.ph12 .railroad {
    /*border: 1px solid #e6e6e6;*/
}

/*.comparator_table.ph12 .railroad {
    border: 1px solid #bd8c82;
}

.comparator_table.ph34 .railroad {
    border: 1px solid #c49272;
}

.comparator_table.ph56 .railroad {
    border: 1px solid #483732;
}*/

.hint, .hint * {
    font-size: 14px;
    /*padding: 20px;*/
    text-align: center;
}

#change_ph {
    margin: auto;
}

#change_ph span {
    font-size: 14px;
}

TD.validation {
    max-width: 250px;
}

.current_ph_text * {
    font-size: 12px;
}

.current_ph_text {
    margin: 10px;
    white-space: nowrap;
    display: block;
}

IMG.taille_icons {
    height: 16px;
    width: 40px;
    vertical-align: middle;
}

.study.en .fr, .study.fr .en {
    display: none;
}

.samples {
    text-align: center;
    position: relative;
    font-size: 70%;
}

.samples IMG {
    display: inline-block;
    vertical-align: middle;
    background-size: contain;
    outline: none;
    border: none;
}

.samples IMG.smalls {
    width: 12px;
    height: 12px;
}

.samples IMG.mediums {
    width: 32px;
    height: 32px;
}

.samples IMG.bigs {
    width: 56px;
    height: 56px;
}


.palette_navigator .rect_zone {
    width: 100%;
}

.railroad {
    height: 100px;
}

.palette_navigator .rect_zone {
    margin-top: 20px;
}

.samples {
    display: none;
    margin-right: 15px;
}

.comparator_table.taille0 .samples, .comparator_table.taille1 .samples, .comparator_table.taille2 .samples {
    display: block;
}

.samples IMG {
    margin-bottom: 15px;
}

.railroad_cursor {
    border: 7px solid #4c8f9c !important;
    outline: none;
    top: 4px;
    transition: left 0.5s;
    height: 79%;
    width: 11.1%;
}

.validation BUTTON, .valid_all_density {
    /*box-shadow: none;*/
    border: 0;
    border-radius: 10px;
}

.comparator_table:not(.taille0):not(.taille1):not(.taille2) .valid_all_density {
    display: none !important;
}

.valid_density, .valid_density * {
    background-color: #4c8f9c !important;
    color: white !important;
}

.lessDense IMG, .moreDense IMG {
    width: 25px;
}

.railroad_indexes, .railroad_placeholders {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
}

.railroad_indexes IMG {
    left: 0;
    margin-left: 30px;
    position: absolute;
    pointer-events: none;
    top: 115%;
    display: none;
    transition: left 1s;
    z-index: 2;
}

.railroad_placeholders IMG {
    position: absolute;
    top: 115%;
    margin-left: 30px;
    z-index: 1;
    /*opacity: 0.6;*/
}

/*.railroad_placeholders IMG:nth-child(1) {
    left: 0;
}

.railroad_placeholders IMG:nth-child(2) {
    left: 14%;
}

.railroad_placeholders IMG:nth-child(3) {
    left: 28%;
}

.railroad_placeholders IMG:nth-child(4) {
    left: 43%;
}

.railroad_placeholders IMG:nth-child(5) {
    left: 57%;
}*/

/*.railroad_indexes IMG:nth-child(1) {
    top: 115%;
}

.railroad_indexes IMG:nth-child(2) {
    top: 135%;
}

.railroad_indexes IMG:nth-child(3) {
    top: 155%;
}*/

/*TR.validation BUTTON {*/
/*    margin-top: 50px;*/
/*}*/


TD.palette_navigator DIV.flex {
    /*width: 100%;*/
    text-align: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.backpic_palette {
    transition: opacity 0.2s ease-in-out;
}

.pulse {
    animation: zoom-in-out 1s linear 0s 1 normal;
}

.infinite {
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes zoom-in-out {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes zoom-in-out {
    0% {
        -ms-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

.current_ph_value SPAN {
    height: 40px;
    display: block;
    background-repeat: no-repeat;
    /* outline: 1px solid red; */
    width: 40px;
    margin: auto;
    background-position-x: -60px;
    background-size: cover;
    line-height: 41px;
    font-size: 14px;
}