.bg-white {
    background-color: #FFFFFF!important
}

.bg-light {
    background-color: #f8f9fa!important;
}

.btn-light {
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%);
    color: #000;
    background-color: #fff;
    border-color: #f8f9fa;
    font-weight: 600;
    padding: .65rem 1rem;
}

.active.btn-light,
.btn-light:active {
    color: #FFF;
    background-color: #232323;
    border-color: transparent;
    background-image: none;
}

.active.btn-light.fa-minus,
.active.btn-light.fa-plus,
.active.btn-light.fa-chevron-left,
.active.btn-light.fa-chevron-right,
.active.btn-light.fa-chevron-up,
.active.btn-light.fa-chevron-down,
.active.btn-light.fa-search-plus,
.active.btn-light.fa-search-minus {
    color: #000;
    background-color: #fff;
    border-color: transparent;
    background-image: none;
}

.btn-light.fa-minus:focus,
.btn-light.fa-minus:active,
.btn-light.fa-plus:focus,
.btn-light.fa-plus:active,
.btn-light.fa-chevron-left:focus,
.btn-light.fa-chevron-left:active,
.btn-light.fa-chevron-right:focus,
.btn-light.fa-chevron-right:active,
.btn-light.fa-chevron-up:focus,
.btn-light.fa-chevron-up:active,
.btn-light.fa-chevron-down:focus,
.btn-light.fa-chevron-down:active,
.btn-light.fa-search-plus:focus,
.btn-light.fa-search-plus:active,
.btn-light.fa-search-minus:focus,
.btn-light.fa-search-minus:active {
    color: #FFF;
    background-color: #232323;
    border-color: transparent;
    background-image: none;
}

.active.btn-light.fa-image,
.btn-light.fa-image:focus,
.btn-light.fa-image:active {
    color: #000;
    background-color: #fff;
    border-color: transparent;
    background-image: none;
}

.active.btn-light.fa-times,
.btn-light.fa-times:focus,
.btn-light.fa-times:active {
    color: #000;
    background-color: #fff;
    border-color: transparent;
    background-image: none;
}

.active.btn-light.hdZoomValue,
.active.btn-light.hdZoomValue,
.btn-light.hdZoomValue:focus,
.btn-light.hdZoomValue:active {
    color: #000;
    background-color: #fff;
    border-color: transparent;
    background-image: none;
}

.btn-light.fa-times {
    padding: .6rem 1rem;
}

#hd_tampon .btn.active.focus,
#hd_tampon .btn.active:focus,
#hd_tampon .btn.focus,
#hd_tampon .btn:active.focus,
#hd_tampon .btn:active:focus,
#hd_tampon .btn:focus {
    outline: inherit !important;
}

.d-flex {
    display: flex!important;
}

.justify-content-center {
    justify-content: center!important;
}

.justify-content-start {
    justify-content: flex-start!important;
}

.dim-label {
    top: 0;
    padding-top: 4px;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    border-top: 1px solid #000;
}

#height-dim-label {
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.canvas-container {
    top: -30px;
}

#hd_tampon .nav-tabs {
    display: none;
}

#hd_tampon label {
    margin: 0px;
}

@media (max-width: 767px) {
    #hd_tampon .tab-pane {
        display: inline-block !important;
        width: 100%;
    }
    .hdMotifStyle {
        display: flex;
        flex-direction: column;
    }
    .formfield-radio {
        display: inline-block !important;
        margin: -4px !important;
    }
}

@media(min-width:768px) {
    #hd_tampon .nav-tabs {
        display: flex;
    }
    .card {
        border: none;
        box-shadow: inherit;
    }
    .card .card-header {
        display: none;
    }
    .card .collapse {
        display: block;
    }
}

@media(max-width:767px) {
    .tab-content>.tab-pane {
        display: block !important;
        opacity: 1;
    }
}

#hd_tampon input[type='text'] {
    background: #fff;
}

#hd_tampon .hdParams {
    background: #fff;
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%);
    border: 0;
}

#hd_tampon .form-control:focus,
#hd_tampon .input-group.focus {
    outline: inherit;
}

#hd_tampon .nav-link.active {
    color: #2196f3;
    background-color: #f8f9fa;
}

#hd_tampon .nav-link {
    font-weight: bold !important;
    border: 1px solid #cccccc7a;
    border-bottom: 0px;
    font-size: 15px;
}

.custom-radio-button div {
    display: inline-block;
}

a#DL-BAT {
    display: inline-block;
    line-height: 1.25;
    white-space: nowrap;
    padding: 5px;
    font-size: 1rem;
    border-radius: 0;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: right;
    color: #d44190;
}

.custom-radio-button input[type="radio"] {
    display: none;
}

.custom-radio-button input[type="radio"]+label {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.custom-radio-button input[type="radio"]+label span {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius:20px;
    vertical-align: middle;
    cursor: pointer;
    border: 0px solid #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    line-height: 44px;
}

.custom-radio-button input[type="radio"]+label span img {
    opacity: 0;
    transition: all 0.3s ease;
}

.custom-radio-button input[type="radio"]:checked+label span {
    opacity: 1;
    background: url("../images/tick-icon-4657-01.png") center center no-repeat;
    width: 2rem;
    height: 2rem;
    border-radius:20px;
    display: inline-block;
    border: 2px solid #000;
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%);
}

.hdSelect {
    max-width: 150px;
    background-color: #FFF !important;
}

#hd_tampon .btn-secondary {
    box-shadow: inherit;
}

.selectLigne {
    border: 1px solid #232323 !important;
}

.formfield-radio input[type="radio"],
.formfield-checkbox input[type="checkbox"] {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.formfield-radio input[type="radio"]+label,
.formfield-checkbox input[type="checkbox"]+label {
    padding: 19px 8px 8px 20px;
}

.formfield-radio input[type="radio"]+label:before {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    content: " ";
    vertical-align: middle;
    background: transparent url(../images/sprite1.svg) 0 0 no-repeat;
}

.formfield-radio input[type="radio"]:checked+label:before {
    background-position: -30px 0;
}

.formfield-radio {
    margin: 12px;
}

.formfield-radio {
    display: inline;
    margin: -2px;
    position: relative;
}

#hd_image_up,
#hd_motif_up {
    width: 24px;
    height: 24px;
    display: block;
    background: url(../images/Arrow_Up.png);
    margin: 7px;
    line-height: 35px;
    margin-left: -4px;
}

#hd_image_down,
#hd_motif_down {
    width: 24px;
    height: 24px;
    display: block;
    background: url(../images/Arrow_Down.png);
    margin: 7px;
    line-height: 35px;
    margin-left: 0px;
}

#hd_image_left,
#hd_motif_left {
    width: 24px;
    height: 24px;
    display: block;
    background: url(../images/Arrow_Left.png);
    margin: 15px;
    line-height: 35px
}

#hd_image_right,
#hd_motif_right {
    width: 24px;
    height: 24px;
    display: block;
    background: url(../images/Arrow_Right.png);
    margin: 2px;
    line-height: 35px
}

.text-start {
    text-align: left!important;
}

.nameAttr {
    font-size: 70%;
    line-height: 110%;
    margin-top: 5px;
    text-align: center;
}

.hiddenLine {
    display: none;
}

.hiddenLine2 {
    display: none;
}

.liRadioImg input,
.liCheckImg input {
    display: none;
}

.custom-file {
    position: relative;
    display: inline-block;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(calc(2.25rem + 2px) - 1px * 2);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #e9ecef;
    border-left: 1px solid #ced4da;
    border-radius: 0 .25rem .25rem 0;
}

.custom-file label {
    display: inline-block;
    margin-bottom: .5rem;
    text-align: left;
}

#loading {
    position: fixed;
    z-index: 20000;
    top: 0px;
    left: 0px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    display: none;
}

#loading img {
    width: 20%;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: red;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    opacity: 0.5;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

#hd_tampon h1,
#hd_tampon .current-price span {
    font-size: 1rem;
}

#hd_tampon label {
    order: 0 !important;
    padding: .65rem 1rem !important;
    /*font-weight: normal !important;*/
    text-transform: inherit !important;
}

@media(max-width:767px) {
    #hd_tampon label {
        padding: .5rem !important;
    }
    #hd_tampon .espHd {
        margin-left: 20px;
    }
}

#hd_tampon .nav-tabs {
    text-align: left !important;
}

#hd_tampon .nav-link {
    padding: 0.5em 1em !important;
    text-transform: inherit !important;
    font-weight: normal !important;
}

#hd_tampon .nav-link.active:before,
#hd_tampon .nav-link:hover:before {
    background: inherit !important;
}

#hd_tampon .tab-content,
#hd_tampon .tab-pane {
    padding: 0px !important;
}

#hd_tampon .btn:hover,
#hd_tampon select:focus {
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%) !important;
}

#hd_tampon .formfield-radio label {
    display: inline-block;
    padding: 15px !important;
}

#hd_tampon input[type=radio]:checked+label {
    background: none !important;
    border: 0px !important;
}


/* Chrome, Safari, Edge, Opera */

#hd_tampon input::-webkit-outer-spin-button,
#hd_tampon input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */

#hd_tampon input[type=number] {
    -moz-appearance: textfield;
}
.edit-custom, .remove-from-cart-custom{
    cursor:pointer;
}

main > .container {
    padding: 60px 15px 0;
}
.navhd {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    background: white;
    z-index: 99999999999999999;
    padding: 10px 0 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 0 !important;
    border-top: 1px solid #00000033;
}
.container-scroll{
    max-height: 150px;
    overflow: scroll;
}
#divHdPersoMobile {
    display: none;
}
#divHdPerso{
    display:block;
}
#customModal{
    height:100%;
    background:white;
}
#customModal .modal-body{
    padding-bottom: 60px;
}
.modal-fullscreen {
    max-width: 100%;
    height: 100%;
    margin: 0;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border-radius: 0;
}

/* Affiché sur les écrans de moins de 768px */
@media (max-width: 767.98px) {
    #divHdPersoMobile {
        display: block;
    }
    #divHdPerso{
        display:none;
    }
}