body
{
	color:#333;
	margin:0;
	padding:0;
	background:#c8d1d6;
}

#bloc2
{
	text-align: justify;
	letter-spacing:0.6px;
	background: #eaeef0;
	padding:20px 40px 40px 40px;
	border:1px solid lightgrey;
	line-height: 25px;
}

#bloc2 a:hover
{
	color:#FF003A;
}

#cadenas
{
	width:30px;
	vertical-align: middle;
	margin-right:5px;
}

#bloc1bis
{
	margin-bottom : 30px;
}

#bloc_cadenas
{
	width:12%;
	font-size:13px;
	background: white;
	padding:10px;
	border-radius: 5px;
	margin:40px auto 0px  auto;
}

#bloc_cadenas a
{
	color:darkslategrey;
}

#asso
{
	font-weight: bold;
	color:#1e711e;
}

#accept
{
	text-align:right;
	margin:1% 20% 0 0;
	font-size:0.8em;
}

a
{
	text-decoration:none;
	color:black;
}

#pedago
{
	display: inline-block;
	vertical-align: middle;
	width:700px;
	text-align:center;
	border:0px solid black;
	font-size:20px;
	font-weight:bold;
}

#new_cagnotte
{
	background:white; /* couleur par defaut */
	box-shadow:0 0 15px #aaa;
	font-size: 13px;
	padding:1.5em;
	margin: 0 auto 40px auto;
	width:55%; /*Taille du formulaire */
	height:auto;
}

h1
{
	border-bottom:1px solid #ccc;
	letter-spacing:1px;
	margin-bottom:20px;
	padding-bottom:15px;
	font-weight:bold;
	font-size:1.5em;
	color:#155588;
}

#new_cagnotte p
{
	margin-bottom:30px;
}

#visib1::before
{
	content:url(/papayoux/images/globe.png) ;
	position:relative;
	content:" ! "
}


#new_cagnotte p:last-child
{ /* Selecteur avancé pour sélectionner le dernier paragraphe du formulaire */
	margin-bottom:0;
}

#pitch
{
	font-weight:bold;
	font-size:1.1em;
	margin: 0 auto;
	text-align:center;
	margin-top:50px;
}

label
{
	cursor:pointer;
	display: inline-block;
	vertical-align:middle;
	width:30%;
	font-weight:bold;
	font-size:13px;
	color:black;
}

.ui-selectmenu-text
{
	font-ize:1.2em;
}

/* Les input normaux */
.label_options
{
	width:45%;
	vertical-align:middle;
}

/* ---------------------------------Les selects-------------------------------------------- */
.label_options_select
{
	width:45%;
	vertical-align:top;
}

/*Les input des options */
#input_cible,#input_suggest
{
	vertical-align:middle;
	width:100px;
}

.help
{
	margin-left:30px;
	width:40px;
	vertical-align:middle;
}

/* Couleur au survol */
#new_cagnotte p:hover label
{
	color:#2a6492;
}

input[type=text],
input[type=password],
input[type=date],
input[type=file],
input[type=email],
input[type=url],
#dropfile,textarea,select
{
	width:50%;
	padding:1.5%;
	font-size:13px;
	display:inline-block;
	vertical-align:middle;
}

#thanks
{
	width:30%;
}


/* Le  bloc du bouton submit */
#push
{
	text-align:right;
	margin:60px 15% 0 0;
}

.accept
{
	text-align:right;
	margin:20px 20% 0 0;
	font-size:0.8em;
}

#cbox
{
	margin-right:10px;
}

/* Les boutons */
input[type=submit],input[type=button]
{
	padding:10px 15px;
	font-size:1.2em;
	margin:0 5px;
}

#back
{
	background: white;
	/* color:#FF3161; */
	margin-right:20px;
	font-weight:bold;
}
	

.error  /* La classe du plugin validator */
{
	color:red;
	margin-top:3px;
	display:block;
	margin-left:31%;
    font-size:0.8em;
}

.error_options  /* La classe du plugin validator */
{
	color:red;
	margin-top:3px;
	display:block;
	margin-left:45%;
	font-size:0.8em;
}

/* Container to center the button */
.more-options-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px 0;
}

/* Main button style */
.more-options {
	display: inline-flex; /* Align icon and text horizontally */
	align-items: center;  /* Center items vertically */
	gap: 10px;            /* Space between text and icon */
	padding: 5px 10px;    /* Inner padding */
	font: 700 1rem/1.2 system-ui, sans-serif; /* Bold text with base font size */
	color: #e971ab;       /* Text and border color */
	background-color: transparent; /* No background */
	border: 2px solid #e971ab;     /* Colored border */
	border-radius: 8px;   /* Rounded corners */
	cursor: pointer;      /* Pointer cursor on hover */
	transition: color 150ms ease,
	border-color 150ms ease,
	transform 150ms ease; /* Smooth transitions */
}

/* Hover and keyboard focus styles */
.more-options:hover,
.more-options:focus-visible {
	color: #000;           /* Change text color on hover/focus */
	border-color: #000;    /* Change border color */
	outline: none;         /* Remove default focus outline */
}

/* Click effect */
.more-options:active {
	transform: scale(0.97); /* Slightly shrink on click */
}

/* Icon style */
.more-options__icon {
	width: 1em;           /* Make icon scale with text */
	height: 1em;
	fill: currentColor;   /* Match icon color to text */
}
/*Veuillez patienter... */
#msg
{
	color:#FF3161;
	font-size:1.1em;
	margin-left:31%;
}

/*La couleur du datepicker */
.ui-datepicker-header
{
	background: #067AA6;
	border: 1px solid #555;
  	color: #EEE; 
}

/* Alignement du message Dialog */
#msg1
{
	display:inline-block;
}

.moqueur
{
	width:5em;
	display:inline-block;
	margin-right:20px;
}


.ui-tooltip-content
{
	font-size:13px;
	/* font-family:"open sans", verdana; */
	text-align:justify;
}

.speed
  {
    width: 100px;
  }
  
 .ui-widget
  {
  	font-size:1em;
	 /* font-family:'Open Sans', Verdana; */
 }


#btn_connect
{
    text-align:center;
    margin:0 0 40px 0;
}


 /* Le bouton facebook */
#fb_connect
{
	display:inline-block;
	vertical-align:top;
	width:200px;
}

#fb_connect img
{
	width:100%;
}

.ui-datepicker .ui-widget-content
{
	background: #999 none;
}

#ppy_connect
{
	background:#EDD958;
	display:inline-block;
	vertical-align:top;
	width:200px;
	height:39px;
	line-height:40px;
	border-radius:5px;
	border: 0px solid red;
	margin:0 40px 0 0;
}

#ppy_connect img
{
	vertical-align: middle;
	margin-right:15px;
}


#ppy_connect a
{
	color:white;
	font-weight:bold;
	font-size:14px;
}

#conf
{
	margin:15px auto 15px auto;
	text-align:center;
	font-size:13px;
}

#conf a
{
	color:#ff517a;
	font-weight: bold;
}

.fb_final
{
	text-align:center;
	margin-bottom:20px;
	font-size:14px;
	color:#FF3161;
}

.retour
{
	width:auto;
	font-size:0.9em;
	margin-right:25px;
	background:white;
	color:#FF3161;
	position:relative\9;
}

#dropfile
{
	height: 100px;
	border: 3px dashed #BBBBBB;
	line-height: 50px;
	text-align: center;
	font-size:14px;

}

/* Permet de prévisualiser la photo uploadée */
#preview
{
	vertical-align: middle;
	margin-left:20px;
	height:100%;
}

more_options
{
	marin: 90px 0 20px 0px;
}

#sous_footer1
{
	margin-top:0;
}

.titre2
{
	text-align: center;
	margin-bottom:40px;
}

#model
{
	color: #428dfe;
}

/*Partnaire REVLYS */
#promo
{
	margin-top:10px;
	width: 100px;
}

#span_morale
{
	font-size:12px;
}

/* ----------------------------------Nouveau switch--------------------------------------- */

.switch-container {
	display: flex;
	align-items: center;
	gap: 10px; /* Espace entre le texte et le switch */
}

.switch-container {
	display: flex;
	align-items: center; /* Centrage vertical */
	margin-top:40px;
	gap: 10px; /* Espace entre le texte et le switch */
}

.switch {
	position: relative;
	display: inline-block;
	width: 200px;
	height: 34px;
}

.switch-input {
	opacity: 0;
	width: 0;
	height: 0;
}

.switch-text {

}

.switch-label {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 34px;
}

.switch-label:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.switch-input:checked + .switch-label {
	background-color: #ffb5c6;
}

.switch-input:checked + .switch-label:before {
	transform: translateX(26px);
}

/* ----------------------------------On off switch--------------------------------------- */

.container 
{
	padding-bottom: 0px;
	margin-left:0px;
	display: inline-block;
	vertical-align: middle;
}

#lbl_moral
{
	display: inline-block;
	vertical-align: middle;
}

/* Modified CSS for on/off switch */
.onoffswitch {
	position: relative;
	width: 150px;
	-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

.onoffswitch-checkbox {
	display: none;
}

.onoffswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid #999999;
	border-radius: 20px;
}

.onoffswitch-inner {
	width: 200%; margin-left: -100%;
	-moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
	-o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
	float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
	font-size: 15px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

.onoffswitch-inner:before {
	content: "Oui";
	padding-left: 11px;
	background-color: #00A600; color: #FFFFFF;
}

.onoffswitch-inner:after {
	content: "Non";
	padding-right: 11px;
	background-color: #EEEEEE; color: #999999;
	text-align: right;
}

.onoffswitch-switch {
	width: 26px; margin: 2px;
	background: #FFFFFF;
	border: 2px solid #999999; border-radius: 20px;
	position: absolute; top: 0; bottom: 0; right: 44px;
	-moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
	-o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
	margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
	right: 0px;
}


/*---------------------Le menu déroulant CATEGORY---------------------------------*/

.dropdown-container {
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	margin-bottom: 10px;
}

.modern-label
{
	width: 30%;
}

.custom-dropdown {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	width: 50%;
}

.dropdown-selected {
	padding: 10px;
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	color: #333;
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
}

.dropdown-selected::after {
	content: '▼'; /* Flèche vers le bas */
	font-size: 12px;
	color: #888;
	position: absolute;
	right: 10px; /* Espace entre la flèche et le bord droit */
	top: 50%;
	transform: translateY(-50%); /* Centre verticalement la flèche */
	transition: transform 0.3s ease;
}

.dropdown-options {
	list-style-type: none;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 100%; /* Place le menu juste en dessous de .dropdown-selected */
	left: 0;
	width: 100%;
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	border-radius: 4px;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 1s ease, opacity 1s ease;
	z-index: 3;
}

.dropdown-options.show {
	max-height: 600px;
	opacity: 1;
}

/* Ecartement des options */
.dropdown-options li {
	padding: 5px 10px;
	cursor: pointer;
}

.dropdown-options li:hover {
	background-color: rgba(239, 151, 165, 0.22);
}



/*---------------------------------------------Format mobile----------------------------------------*/
@media screen and (max-width: 767px)
{
	h1
	{
		font-size:1.3em;
	}

	#new_cagnotte
	{
		width:82%;
	}
	
	label, .label_options, .label_options_select
	{
		display:block; /* Label et input l'un au dessus de l'autre */
		font-weight:normal;
		font-size:0.9em;
		width:99%;
		margin-bottom:5px;
	}

	.dropdown-container {
		display:block;
	}

	.custom-dropdown {
		width:98%
	}

	/* -----------------Select------------------- */

	.formfield-select {
		position: relative;
	}

	.formfield-select--container {
		position: relative;
		background-color: #fff;
		border: #777 1px solid;
		margin: 0 0 1.5em 0;
		overflow: hidden;

	}

	.formfield-select--container select
	{
		appearance: none;
		width: 110%;
		height: auto;
		border: 0;
		margin: 0;
		padding: .75em;
		border-radius: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.formfield-select--container::after {
		/* Le pointeur du select */
		content: '';
		position: absolute;
		top: 50%;
		margin-top: -3px;
		right: .75em;
		display: block;
		width: 0; height: 0;
		border-color: transparent;
		border-top-color: #444;
		border-width: 6px;
		border-style: solid;
		pointer-events: none;
	}

	.formfield-select,.formfield-select--container
	{
		display:inline-block;
		width:30%;
	}

	#thanks
	{
		height:100px;
		width:90%;
		font-size:1.2em;
	}

	
	input[type=text],
	input[type=password],
	input[type=date],
	input[type=file],
	input[type=email],
	input[type=url],
	#combo, #input_cible,#input_suggest,select
	{
		width:95%;
		height:38px;
		font-size:1em;
		margin-left:0; /* On reinitialise les marges */
	}

	#dropfile
	{
		width:95%;
	}

	#push
	{
		text-align:center;
		margin:30px 0 0 0;
	}

	input[type=submit],input[type=button]
	{
		font-size: 1em;
		padding:10px 10px;
		margin :8px 0;
	}
	
	
	.error, .error_options /* La classe du plugin validator */
	{
		display:block;/* A conserver */
		margin-left:0;
	}
	
	 .help
	{
		display:none; /* Permet de gagner en clarté */
	}
	
	select 
	{
   	 	width: 100%;
     }
 	 
 	#fb_connect
	{
		width:250px;
		display:block;
		margin:10px auto 0 auto;
	}
	
	#ppy_connect
	{
		width:250px;
		height:50px;
		display:block;
		margin:10px auto 0 auto;
		line-height:45px;
	}
	
	#ppy_connect a
	{
		font-size:18px;
	}

	#bloc_cadenas
	{
		width:90%;
	}
        
    .accept
    {
        text-align:left;
        margin:20px 0 0 0;
        font-size:0.8em;
    }
    
    #span_morale
	{
	   display:block;  
	}

/*---------------------Le SWITCH ------------------------------------- */
	.switch {
		width: 90px; /* Réduire la largeur du switch sur mobile */
		height: 33px; /* Réduire la hauteur */
	}

	/* La boule blanche */
	.switch-label:before {
		height: 20px; /* Réduire la taille du bouton circulaire */
		width: 20px;
	}
	.switch-input:checked + .switch-label:before {
		transform: translateX(45px); /* Ajuster la position de translation pour le mobile */
	}
}

@media screen and (max-width: 500px)
{
	.switch-input:checked + .switch-label:before {
		transform: translateX(40px); /* Ajuster la position de translation pour le mobile */
	}
}

/*------------------------------Petit format----------------------------------------------*/
@media screen and (min-width:768px) and (max-width:979px)
{
	#new_cagnotte
	{
		min-width:200px;
		width:75%;
		font-size:12px;
	}
	
	input[type=text],
	input[type=password],
	input[type=date],
	input[type=file],
	input[type=email],	
	input[type=url],
	textarea ,select
	{
		width:50%;
		padding:1.5%;
		font-size:1em;
	}

	input[type=submit],input[type=button]
	{
		font-size:1.8em;
	}

	#back
	{
		font-size:1.6em;
	}
	
	label
	{
		font-size:1em;
		width:30%;
	}

	h1
	{
		font-size:1.8em;
	}
	
	/* La taille du datepicker se g�re par le font-size */
	.ui-datepicker 
	{
		font-size:0.9em;
	}


    .error,.error_options
    {
        font-size:0.9em;
    }
}

/*------------------------------Moyen format----------------------------------------------*/

@media screen and (min-width:980px) and (max-width:1199px)
{
	#new_cagnotte
	{
		min-width:200px;
		width:65%;
		font-size:13px;
	}
	
	input[type=text],
	input[type=password],
	input[type=date],
	input[type=file],
	input[type=email],	
	input[type=url],
	textarea, select
	{
		width:50%;
		padding:1.5%;
		font-size:1.1em;
	}

	input[type=submit],input[type=button]
	{
		font-size:1.6em;
	}

	#back
	{
		font-size:1.6em;
	}
	
	label
	{
		font-size:1.1em;
		width:30%;
	}

	h1
	{
		font-size:1.8em;
	}
	
	/* La taille du datepicker se g�re par le font-size */
	.ui-datepicker 
	{
		font-size:0.8em;
	}

    .error,.error_options
    {
        font-size:1em;
    }
}


/*------------------------------Grand format----------------------------------------------*/
@media screen and (min-width:1600px) 
{
	#new_cagnotte
	{
		min-width:200px;
		width:50%;
		font-size:0.6em;
	}
	
	input[type=text],
	input[type=password],
	input[type=date],
	input[type=file],
	input[type=email],
	input[type=url],
	textarea,select
	{
		width:50%;
		padding:1.5%;
		font-size:1.5em;
	}

	 #cke_64_textInput,#cke_67_textInput
	{
		font-size:13px;
		width:50px;
		 height:30px;
	}

	label
	{
		font-size:1.5em;
	}
	
	h1
	{
		font-size:2em;
	}
	
	/* La taille du datepicker se gère par le font-size */
	.ui-datepicker 
	{
		font-size:1.1em;
	}
        
        .accept
        {
            font-size:1em;
        }


    .error,.error_options
    {
        font-size:1em;
    }

	input[type=submit],input[type=button]
	{
		padding:15px;
		font-size:1.6em;
	}

	#back
	{
		font-size:1.3em;
	}
}

