.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#form_commande_personnalisee { min-width: 50% }

#form_commande_personnalisee h5 {
	background-color: #ede6de;
	color: #937452;
  	padding: 5px;
  	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.form-group { border-radius: 5px }
#choix_model_form_group,
#personnalisation_form_group,
#coordonnees_form_group { background-color: #e8e8e82b }

#vetementsModalBtn,
#accessoiresModalBtn { border-radius: 50% }

#model_type label { border-radius: 50% }

#vetementsModalBtn img,
#accessoiresModalBtn img {
	height: 50px;
	width: 50px;
}

.modalHeader,
.modalSearch {
	z-index: 9999;
	background-color: #ffffff;
}

.modalHeader { top: 0 }
.modalSearch { top: 66px }

.categorieAccessoires {
	background-color: #ede6de;
	color: #937452;
}

.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.container label {
	display: flex;
	align-items: center;
}

.tissus-container img { border-radius: 50% !important }

input[type="radio"] { display: none }

.box {
	position: relative;
	width: 105px;
	height: 105px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	z-index: 0;
}

.box img {
	object-fit: cover;
  	height: 100px;
  	width: 100px;
  	border-radius: 2px;
	background-color: #f5f1f1;
}

.box span {
	display: none;
	top: 4px;
	right: 4px;
}

input[type="radio"]:checked + .box span { display: block }

.box-title {
	position: absolute;
	bottom: 8px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	font-size: 10px;
	padding : 0 2px;
	left: 2.5px;
	right: 2.5px;
}

.box.hover:hover,
input[type="radio"]:checked + .box { transform: scale(1.2) }
.box.hover:hover { z-index: 99999 }
input[type="radio"]:checked + .box { z-index: 99998 }
input[type="radio"]:checked + .box img,
.box.hover:hover img { box-shadow: 0 0 3px rgba(0, 0, 0, 0.5) }
input[type="radio"]:checked + .box img { box-shadow: 0 0 0 1px #90ab8d, 0 0 3px #000000 }

.form_model_type_radio:has(input[type="radio"]:checked) {
	outline: 1px solid #a3cfbb;
	background-color: #d1e7dd;
}

.form_model_type_radio img {
	cursor: pointer;
	height: 66px;
	width: 66px;
	padding: 8px;
}

.box.hover:hover .box-title,
input[type="radio"]:checked + .box .box-title { opacity: 1 }

.modal-header button {
	background-color: #ede6de;
	color: #937452;
	border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box button,
#selection_btn button {
	border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	background-color: #90ab8d;
	height: 25px;
	width: 25px;
}

.box button:hover,
#selection_btn button:hover { background-color: #ffffff }

.box a,
#selection_btn a {
	text-decoration: none;
	color: #ffffff;
	border-radius: 50%;
}

#selection_btn { top: 100px }
#selection_mdl { width: 100px }

#selection_img {
	height: 100px;
	width: 100px;
}

#selection_bg_img {
	height: 70px;
	width: 70px;
}

#selection_elm { z-index: 1 }

#selection_img,
#selection_elm div,
#selection_elm img { border-radius: 50% }

#selection_img,
#selection_elm img {
	object-fit: cover;
}

#selection_img,
#selection_elm .static_elm img { border: 2px solid #90ab8d }

#add_model_element #selection_img {
	border: none !important;
	box-shadow: inset 0 0 0 2px #90ab8d;
}

#selection_elm div,
#selection_elm img {
	top: 0;
	left: 0;
}

#selection_elm .static_elm div {
	padding: 3px;
  	background-origin: content-box;
	background-color: #90ab8d;
}

#selection_elm .static_elm,
#selection_elm .static_elm div,
#selection_elm .static_elm img {
	height: 75px;
	width: 75px;
}

#selection_elm .added_elm,
#selection_elm .added_elm img {
	height: 50px;
	width: 50px;
}

#selection_elm img,
#selection_elm span { z-index: 2 }

.texture_selection {
	background-size: cover;
  	background-repeat: no-repeat;
}

.added_elm {
	background-color: #fbfbfb;
	border: 2px solid #90ab8d;
}

.added_elm button {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background-color: #90ab8d;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] { -moz-appearance: textfield }

@media (max-width: 600px) {
	.container { justify-content: center }
}
