.select_container{
  position: relative;
}

#firstLevel,
#secondLevel,
#thirdLevel {
  width: 25% !important;
  height: 50px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px;
  font-size: 15px;
  font-weight: bold;
  color: #222;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  
 
}


#firstLevel::-webkit-scrollbar,
#secondLevel::-webkit-scrollbar,
#thirdLevel::-webkit-scrollbar{
  width: 5px;
}
#firstLevel::-webkit-scrollbar-thumb,
#secondLevel::-webkit-scrollbar-thumb,
#thirdLevel::-webkit-scrollbar-thumb {
  background-color: #e20813;
  border-radius: 5px;
  height: 10px;
}


#firstLevel:focus,
#secondLevel:focus,
#thirdLevel:focus {
  border-color: #e20813;
  box-shadow: 0 0 10px rgba(226, 8, 19, 0.5);
  outline: none;
}



#firstLevel option,
#secondLevel option,
#thirdLevel option {
  
  font-size: 14px;
  font-weight: bold;
  transition:  0.3s ease;
  margin: 10px 5px;
  background: white; /* Remove default hover background */
  color: #444;
 
 
  
}

#firstLevel option:hover,
#secondLevel option:hover,
#thirdLevel option:hover {
  
  background: #e20813;
  color: #fff;
}

/* Mimicking the hover effect with focus and active states */
/* #firstLevel option:focus,
#secondLevel option:focus,
#thirdLevel option:focus,
#firstLevel option:active,
#secondLevel option:active,
#thirdLevel option:active {
  background-color: #e20813;
  color: white;
} */



#firstLevel,
#secondLevel {
  margin-right: 20px;
}
#partimage {
  margin-top: 1em;
}

.btn.btn-default {
  color: black;
}

.modal-content.popup-conf3d {
  margin-top: 20em;
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
  border-radius: 0rem;
}
#motoChoice {
  margin-bottom: 80px;
}
.centredBodyModal {
  text-align: center;
}

.pairechoice {
  margin-top: 10px;
}

.pairechoice input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

@media (max-width: 767px) {
  #firstLevel,
  #secondLevel,
  #thirdLevel {
    width: 100% !important;
    max-width: 100%;
    
  }

  

  .motoChoiceLevel{
    display: flex;
    flex-direction: column;
  }

  #firstLevel option,
  #secondLevel option,
  #thirdLevel option {
    
    font-size: 10px;
    font-weight: 500;
    transition:  0.3s ease;
    
  
    
    
  }

  #motoChoice {
    margin-bottom: 200px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  #firstLevel,
  #secondLevel,
  #thirdLevel {
    width: 33% !important;
    margin-right: 10px;
  }
}


@media (min-width: 768px) {
  .motoChoiceLevel {
    display: flex;
    justify-content: center;
  }
}
.pairechoice label {
  display: inline-block;
  background: #fff;
  font-weight: 400;
  color: #a9a9ac;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  border: 2px solid #a9a9ac;
  transform: skewx(-15deg);
  transform-origin: bottom left;
  cursor: pointer;
}

.pairechoice input[type="radio"]:checked + label {
  background: #e20813;
  border: 2px solid #e20813;
  color: #fff;
}

.pairechoice input,
.pairechoice label {
  margin-right: 5px;
}

.popup-conf3d .popupaddcart {
  padding-bottom: 0%;
}

.add-to-cart-custom {
  height: 52px;
  background: #e20813;
  font-weight: 500;
  margin-left: 15px;
  border-radius: 28px;
}

@media all and (min-device-width: 1200px) {
  .add-to-cart-custom {
    padding-left: 45px;
    padding-right: 45px;
  }
}

/* popup Ajouter au panier */

.popupaddcart {
  padding-bottom: 15%;
  width: 100%;
  text-align: center;
  display: block;
}

.product-quantity #quantity_wanted {
  text-align: center;
}

.product-add-to-cart-custom {
  padding-top: 15px;
  border: 0;
}

.confCustomMessage {
  background: orange !important;
  justify-content: center;
  align-items: center;
  padding: 9px;
  border-radius: 50px;
}
.confCustomMessageError {
  background: red !important;
  justify-content: center;
  align-items: center;
  display: none !important;
}
/* Change style modal */
.titlemodal {
  font-weight: bold !important;
  color: white !important;
  text-align: center;
}
.material-icons .rtl-no-flip {
  line-height: 19px;
}
.last-modal {
  max-width: 1140px !important;
}
.confCustomMessage,
.confCustomMessageError span {
  font-size: 1.3em;
  font-weight: bold;
  margin-left: 30px;
  margin-right: 30px;
}

@media screen and (min-device-width: 320px) and (max-device-width: 600px) {
  .confCustomMessage,
  .confCustomMessageError span {
    font-size: 1em;
  }
}

.headermodal {
  background: #e20813;
}

/*END Change style modal */

/*Start Change style modal Mobile*/

/*END Change style modal Mobile*/

.hide-conf3d {
  display: none !important;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
  .btnvalider {
    position: absolute;
    width: 100%;
    top: 67%;
    left: 0em;
  }
  .modal-content.popup-conf3d {
    margin-top: 6em;
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    border-radius: 0rem;
  }
  .centredBodyModal {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
  }
  .modal-header {
    padding-bottom: 10px !important;
    padding-top: 10px !important;
  }
  .product-add-to-cart {
    padding-top: 0px !important;
  }
}

@media screen and (max-device-width: 320px) {
  .modal-content.popup-conf3d {
    margin-top: 15em;
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    border-radius: 0rem;
  }
  .centredBodyModal {
    padding-top: 0px !important;
    padding-top: 0px !important;
  }
  .modal-header {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
  }
  .product-add-to-cart {
    padding-top: 0px !important;
  }
}


@media (min-width:576px) {
 .modal-dialog.custmoDialog {
  max-width:800px;
 }
}
