form:not(.form-no-margin) .control-group .controls {    
	margin-left: 0px !important;
}

form:not(.form-no-margin) .control-group .control-label, .form-horizontal .control-label{
	float:none !important;	
}
.submission_section h2, .submission_section h3 {
	padding: 50px 0px 50px 0px;
	text-align:center;
}

.convertforms-submissions h1, .convertforms-submissions h2, .submission-status {
	text-align:center;
}

.submission_info table {
	margin-top: 0px !important;
}

[data-rlta-element=container][data-rlta-state=ready][data-rlta-theme=neutral][data-rlta-color-panels=true][data-rlta-type=tabs]>[data-rlta-element=panels]>[data-rlta-element=panel][data-rlta-color=red] {
	color:#000 !important;
}

/*[data-rlta-type=accordions]>[data-rlta-element=button] {
	width: 500px !important;
	margin: 0 auto;
}*/

[data-rlta-element=panel-content] form, [data-rlta-element=panel-content] form input {
	text-align: center;
}

[data-rlta-element=panel-content] .cf-control-group {
	padding-left: 35px !important;
}

.product_button {
	margin: 10px 0 0 10px;
	text-indent: -9999px;
	cursor: pointer;
	width: 29px;
	height: 29px;
	float: left;
	text-align: center;
	background: url(../../../images/croix-rouge/buttons.png) no-repeat;
}

.dec {
	margin: 10px 10px 0 0;	
	background-position: 0 -29px;
}

.flex-container {
    display: flex;
}
.flex-child {
    flex: 1;
}  
.flex-child:first-child {
    text-align: right;
} 

.qty input {
    text-align: center !important;
} 

@media (max-width: 640px) {
    
	[data-rlta-element=panel-content] .cf-control-group img {
		width:100px!important;
		height: 100px!important;
		float: none;
		max-width:unset;
	}
	
	[data-rlta-element=panel-content] .cf-control-group {
		padding-left: 10px!important;
		padding-bottom: 50px !important;
		/*display: flex !important;*/
	}
	
	[data-rlta-element=panel-content] .cf-control-group .cf-control-input  {
		/*display:flex !important;*/
		/*flex-direction: row !important;
		width: 100%;*/
	}
	
	[data-rlta-element=panel-content] .cf-control-group .cf-label  {				
		/*width: unset !important;*/
	}
	
	[data-rlta-element=panel-content] .cf-control-group .cf-control-input input {
		float:left;
		/*width: 72px !important;*/
	}
	
	.qty {
		display: flex;
		flex-wrap: wrap;
		align-content: center;		
		/*justify-content:center;*/
		max-width:175px;
		margin: 0 auto;
		
	}
	
	.product_button {
		/*float:none;*/
	}
	
}

@media ((min-width: 767px) and  (max-width: 992px)) {
	[data-rlta-element=panel-content] .cf-control-group {
		padding-left: 90px !important;
	}
	
	.convertforms .cf-label {		
		font-size: 18px !important;		
	}
	
}

@media (max-width: 640px) {
	.converforms div[data-rlta-element="panel-content"] {
		column-count:1;     
	}
	.thumb{
		margin: 0 auto;
		max-width:100px!important;
		max-height:100px!important;
	}
	
	.convertforms .product_selection .cf-control-input {
		display: flex !important;
		flex-direction: row;
	}
	
	.convertforms .product_selection .cf-control-input input {
		width: 79px !important;
	}
}

.dec, .inc {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;
}
.dec:hover, .inc:hover{
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.lm_list_wrapper .search {
	margin: 5px 0px 5px 10px !important;
}

.row>* {	
    padding-left: 0px !important;	
}

.row .amount-btn, .row .add-btn, .row .substract-btn {
	padding-left:10px !important;
}

h1 {
    font-size: 44px !important;
	text-align: center;
}

/*input[name="nom"]{
	text-transform: uppercase;
	}
	
	input[name="prenom"]{	
    text-transform: capitalize;
	}
	
	input[name="cf[benevoles]"]{	
    text-transform: capitalize !important;
}*/

/*.table-fluid > * > tr > td {
    padding: 0px !important;
}*/

.table-fluid > * > tr:nth-child(odd) > td {
    background-color: #FFF !important;
}

.convertforms .cf-fields{
	display:block;
}
.convertforms .cf-label {    
    line-height: 3;   
	text-align:center;  
	
}

.convertforms .product_selection .cf-label {    
	line-height: 3; 
	/*float:left;*/
}

.convertforms .product_selection .cf-control-input input {     
	width:110px;
	height:50px; 
	/* float:left;*/
}

.convertforms .product_selection .cf-control-input {
	display:contents;
}

/*.convertforms .product_selection .cf-control-group {
	height:50px;  
}*/

.convertforms .product_selection .cf-label {     
	width:460px;
}

/*.cf-wrapper {
    background-color: #f7f7f7;
    padding: 15px;
    margin: 10px !important;
    border: solid 1px #e8e8e8;
}*/

@media (min-width: 992px) {
	.converforms div[data-rlta-element="panel-content"] {
		column-count:2;
		-webkit-column-rule: 2px outset grey;
		-moz-column-rule: 2px outset grey;
		column-rule: 2px outset grey;
	}
}

@media (min-width: 640px) {
    .convertforms.cf-labelpos-left .cf-control-group:not(.cf-hide) .cf-control-label {
        max-width: 45%;
		
	}
	
	.amountInput {
	width: 75px !important;
}
}

.suggestions-list {
    max-width:300px;
    list-style: none;
    padding: 0;
    margin: 0;   
    max-height: 200px;
    overflow-y: auto;    
    background: white;
    width: 100%;
    z-index: 1000;
    top: 60px;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.suggestions-list li {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestions-list li:hover {
    background-color: #2856de;
	color:#FFF;
}

body.overlay-active::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 5;
}
body.overlay-active .amountInput, body.overlay-active .benevolesInput, body.overlay-active .qty_kg {
	opacity: 0.5;
}
.amountInput.active, .benevolesInput.active, .qty_kg.active {
	opacity: 1 !important;
	position: relative;
	z-index: 11;
}



.suggestions {
	display: none;
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	padding: 10px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	border-radius: 8px;
	width: max-content;
	z-index: 1000;
	text-align: center;
}

.qty_suggestions, .benevoles_suggestions {	
	z-index: 2000;
}
.suggestions .row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}
.suggestions button {
	flex: 1;
	margin: 5px;
	padding: 10px;
	font-size: 1.2em;
	cursor: pointer;
	border: none;
	border-radius: 5px;
	transition: background 0.3s ease;
}
.amount-btn, .qty-btn { background: #2196F3; color: white; }
.amount-btn:hover, .qty-btn:hover { background: #1976D2; }
.add-btn { background: #4CAF50; color: white; }
.add-btn:hover { background: #45a049; }
.subtract-btn { background: #f44336; color: white; }
.subtract-btn:hover { background: #d32f2f; }


.benevoles_suggestions {
	display: none;
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	padding: 10px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	border-radius: 8px;
	width: max-content;
	text-align: center;
	max-width:350px;
}
.benevoles_suggestions .row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}
.benevoles_suggestions button {
	flex: 1;
	margin: 2px;
	padding: 10px;
	font-size: 1.2em;
	cursor: pointer;
	border: none;
	border-radius: 5px;
	transition: background 0.3s ease;
	background: #4CAF50;
	color: white;
}
.benevoles_suggestions button:hover {
	background: #F57C00;
}

#benevolesButtons {
	column-count:2;
}

.reset-btn {
	background: #dc2a28!important;
	margin-top: 10px!important;
}
.reset-btn:hover {
	background: #dc2a28 !important;
}

.convertforms .cf-input:not(.flatpickr-input)[readonly] {
    -webkit-box-shadow: inset 0 0 0 200px rgba(255, 255, 255, 1);
    box-shadow: inset 255 255 255 200px rgba(255, 255, 255, 1);
}

.convertforms .cf-label { 
    font-weight: bold;
}

.convertforms form {
    will-change: unset;
}