@font-face
{
	font-family: 'Caveat';
	src: url('../fonts/Caveat/Caveat-VariableFont_wght.ttf') format('truetype');
}

body
{
	font-size: var(--wp--preset--font-size--medium);
}

form select
{
	width: 100%;
	box-sizing: border-box;
	background-color: white;
	border: 1px solid gray;
	border-radius: 2px;
	padding: 2px 3px;
}

.select2
{
	width: 100% !important;
}

.select2-selection__rendered, .select2-results__options
{
	font-size: 0.8em;
	font-weight: 500;
	/*padding-left: 4px;*/
	font-family: var(--wp--preset--font-family--manrope);
	color: black !important;
	line-height: inherit !important;
	/*padding: 1px 3px !important;*/
	white-space: normal !important;
}

span.select2-selection__rendered, span.select2-results__options
{
	padding: 1px 3px !important;
}

.select2-selection__choice
{
	background-color: #fafafa !important;
	/*margin-right: 5px;*/
	display: block !important;
}

.select2-selection--multiple .select2-search
{
	display:none;
}

.select2-selection--single
{
	height: inherit !important;
	border: 1px solid gray !important;
	border-radius: 2px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable
{
  background-color:#42548e;
  color:white
}

p.wp-block-site-title
{
	font-size: var(--wp--preset--font-size--x-large);
}

.wp-block-site-tagline
{
	font-family: "Caveat";
	font-weight: 600;
	font-size:1.3em !important;
}

.wp-block-site-logo.is-default-size img
{
  height: auto;
  width: 80px;
}

header .wp-container-core-group-is-layout-7a92790e
{
	gap: 1vw;
}

header .wp-container-core-group-is-layout-23b1a4dc
{
	padding: 0.8vw 0.5vw !important;
}

header nav
{
	color: #42548e !important;
}

header nav .is-menu-open
{
	color: #42548e !important;
	/*background-color: gainsboro !important;*/
	background: linear-gradient(white, gainsboro);
}

header nav .has-small-font-size
{
	font-weight: 800;
	font-size: calc(0.9em + 0.1vw) !important;
}

header nav .is-menu-open
{
	font-size: 6vw !important;
	font-weight: 600 !important;
}

main
{
	margin-top: 0 !important;
}

main h1
{
	/*color: #555555;*/
	color:#42548e;
	text-align: center;
	padding-bottom: 1vw;
	font-size: var(--wp--preset--font-size--x-large);
}

main h2
{
	color: #42548e;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
	margin-top: calc(20px + 1vw) !important;
}

main h3
{
	color: #42548e;
}

.loading
{
	/*display: inline-block;*/
	margin: 50px auto;
	width: 50px;
	height: 50px;
	border: 5px solid #ccc;
	border-top-color: #42548e;
	border-radius: 50%;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin
{
	to
	{
		transform: rotate(360deg);
	}
}

/*.entry-content ul
{
	list-style: none;
	padding: 0px;
}

.entry-content li
{
	background-image: url(/wp-content/uploads/2025/08/bullet-icon.png);
	background-repeat: no-repeat;
	background-size: 15px 20px;
	padding-left: 22px;
	background-position: 0px 4px;
}*/

span.shield
{
	background-image: url(/wp-content/uploads/2025/08/bullet-icon.png);
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	margin-right: 8px;
	display: inline-block;
	width: 1.2em;
	text-align: center;
	font-weight:400;
	font-size:1.1em;
	padding-bottom: 0.1em;
}

.wp-block-button a
{
	background-color: #42548e;
}

.home .wp-block-post-title
{
	display: none;
}

.home .entry-content
{
	margin-block-start: 0;
}

.home .wp-block-video
{
	max-width: 350px;
}

.home.logged-in .wp-block-button
{
	width: 100%;
	max-width: 300px;
	display: inherit;
}

.home h1
{
	padding-bottom: calc(1.2rem + 1vw);
	margin-block-start: 0;
}

header
{
	background-color: gainsboro;
	border-bottom: solid 1px black;
}

footer
{
	background-color: #42548e;
	color:white;
}

footer .custom-logo
{
	filter: brightness(0) invert(1);
}

header .wp-block-site-title a
{
	color: #42548e;
}

#new_req_div input, #new_req_div select, .wp-block-button a, .wp-element-button, .ui-dialog
{
	font-size: 0.8em;
	max-width: calc(100% - 7px);
}

.ui-dialog
{
	margin: 10px;
}

.ui-dialog b
{
	font-weight: 700;
}

#new_req_div button:not(.select2-selection__choice__remove), #new_req_div input::file-selector-button, input[type=submit], .wp-element-button, .ui-button, .ui-button:hover, .ui-button:active, .ui-button:focus
{
	background-color: #42548e;
	color:white;
	padding: 10px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	/*font-size: var(--wp--preset--font-size--small);*/
	font-weight: 500;
	display:initial;
	/*font-size: 0.8em;*/
}

.ui-widget-overlay
{
	opacity: 0.6;
}

#new_req_div input[type=submit]
{
	margin-top:30px;
	float:right;
}

#new_req_div .error
{
	color:red;
}

/*#new_req_div fieldset*/
#new_req_form_file, #new_req_form_attestation, #new_req_form_price
{
	border: 1px solid black;
	background-color: #f5f5f5;
	padding-block-start: 0.35em;
	padding-inline-end: 0.75em;
	padding-block-end: 0.625em;
	padding-inline-start: 0.75em;
}

/*#new_req_div fieldset .form-group*/
#new_req_div .form-group
{
	margin-top: 0.5em;
}

/*#new_req_div fieldset .form-group:last-child*/
#new_req_div .form-group:last-child
{
	margin-bottom: 0.5em;
}

#new_req_div label
{
	font-size: 0.9em;
}

#new_req_div .jsonform-error-missions fieldset legend
{
	color: #42548e;
	font-weight: 500;
}

#new_req_div .jsonform-error-missions fieldset
{
	border: 1px solid #42548e;
}

/*.delete-file
{
	color:#42548e;
}*/

/*#new_req_div form label:has(+ div *[required=required])::after
{
	content: '\00204E';
	font-weight:600;
	margin-left:3px;
}*/

#new_req_div form label:has(~ div *[required=required])
{
	font-weight:500;
}

#new_req_div form label:not(:has(~ div *[required=required]))
{
	font-style: italic;
}

#new_req_div form .controls:has(>input[name$="tarif_prestation_ht"])::after,
#new_req_div form .controls:has(>input[name$="frais_divers_ht"])::after,
#new_req_div form .controls:has(>input[name$="debours"])::after,
#new_req_div form .controls:has(>input[name$="remise"])::after
{
	content: ' €';
	font-size: 0.8em;
}

#new_req_intro > p:first-child
{
	margin-block-start: 0;
	font-weight: 500;
	color: #42548e;
}
  
/*#new_req_intro .resume b*/
b, strong
{
	font-weight: 500;
}

/*#new_req_intro .resume*/
.resume
{
	font-size: 0.9em;
}

.icon-pdf
{
	display: inline-block;
	background-image: url(/wp-content/uploads/2025/09/pdf.png);
	background-repeat: no-repeat;
	background-size: contain;
	height: 20px;
	width: 20px;
	margin-bottom: -4px;
	margin-left: 4px;
}

.icon-xls
{
	display: inline-block;
	background-image: url(/wp-content/uploads/2025/10/xlsx.png);
	background-repeat: no-repeat;
	background-size: contain;
	height: 20px;
	width: 20px;
	margin-bottom: -4px;
	margin-left: 4px;
}

#new_req_div .help-block
{
	display:none;
}

#new_req_div .dashicons-editor-help
{
	color: #42548e;
	display: inline;
	/*text-decoration:none;*/
	margin-left: 4px;
	font-size: 1.3em;
}

.ui-tooltip/*, .ui-dialog, .ui-widget-content*/
{
	background-color: #eef1fb;
	font-size:0.9em;
	white-space: pre-line;
	word-wrap: break-word;
}

/*#new_req_form_price .form-group:last-child
{
	border-top: 1px solid gray;
	margin-top: 20px;
	padding-top: 5px;
}*/

#new_req_form_file .input-file, #new_req_form_price .input-file
{
	margin-top:5px;
	display: block;
	width: 100%;
	/*float: left;
	clear: both;*/
}

/* WP Members */

#wpmem_login, #wpmem_msg, #wpmem_reg
{
  width: 100% !important;
}

.wpmem_msg
{
	padding: 10px !important;
	width: inherit !important;
}

.wpmem_msg h2
{
	margin-top: 10px !important;
}

#wpmem_reg fieldset legend:first-child
{
	display:none;
}

#wpmem_reg label[for=siret], #wpmem_reg label[for=siret] + div,
#wpmem_reg label[for=societe], #wpmem_reg label[for=societe] + div,
#wpmem_reg label[for=sexe], #wpmem_reg label[for=sexe] + div,
#wpmem_reg label[for=date_naiss], #wpmem_reg label[for=date_naiss] + div,
#wpmem_reg label[for=pays_naiss], #wpmem_reg label[for=pays_naiss] + div,
#wpmem_reg label[for=ville_naiss], #wpmem_reg label[for=ville_naiss] + div,
#wpmem_reg label[for=code_ville], #wpmem_reg label[for=code_ville] + div,
#wpmem_reg label[for=regime_tva], #wpmem_reg label[for=regime_tva] + div,
#wpmem_reg label[for=num_tva], #wpmem_reg label[for=num_tva] + div,
#wpmem_reg label[for=taux_tva], #wpmem_reg label[for=taux_tva] + div,
#wpmem_reg label[for=regime_tva], #wpmem_reg label[for=regime_tva] + div,
#wpmem_reg label[for=profession], #wpmem_reg label[for=profession] + div,
#wpmem_reg label[for=rib_file], #wpmem_reg label[for=rib_file] + div,
#wpmem_reg label[for=cgv], #wpmem_reg .div_checkbox:has(label[for=cgv]),
#wpmem_reg label[for=mandat_sepa], #wpmem_reg .div_checkbox:has(label[for=mandat_sepa])
{
	display:none;
}

#wpmem_login legend, #wpmem_reg legend
{
  font-weight: inherit !important;
}

/* Requisitions */
.wp-list-table
{
	/*font-size: var(--wp--preset--font-size--small);*/
	width:100%;
}

.etat_courant
{
	font-family: dashicons;
	font-size: var(--wp--preset--font-size--medium);
}

/*.etat_courant .DEPOSEE:before*/
.etat_courant span:before
{
	color:gray;
	content: "\f18c";
	font-size: 1.3em;
	vertical-align: top;
}

.etat_courant .MISE_A_DISPOSITION:before
{
	color:orange;
	content: "\f177";
}

.etat_courant .MISE_EN_PAIEMENT:before
{
	color:green;
	content: "\f529";
}

.etat_courant .REJETEE:before
{
	color:red;
	content: "\f542";
}

.etat_courant .SUPPRIMEE:before,
.etat_courant .ABANDONNEE:before
{
	color:red;
	content: "\f182";
}

.etat_courant .INTROUVABLE:before,
.etat_courant .IN_INCIDENTE:before,
.etat_courant .IN_REJETE:before,
.etat_courant .IN_EN_ATTENTE_RETRAITEMENT_CPP:before,
.etat_courant .IN_INTEGRE_PARTIEL:before
{
	color:red;
	content: "\f534";
}

.etat_courant:has(.ENVOYEE) ~ .actions a,
/*.etat_courant:has(.DEPOSEE) ~ .actions a,*/
.etat_courant:has(.INTROUVABLE) ~ .actions a,
.etat_courant:has(.IN_INCIDENTE) ~ .actions a,
.etat_courant:has(.IN_REJETE) ~ .actions a,
.etat_courant:has(.IN_EN_ATTENTE_RETRAITEMENT_CPP) ~ .actions a,
.etat_courant:has(.IN_INTEGRE_PARTIEL) ~ .actions a,
.etat_courant:has(.SUPPRIMEE) ~ .actions a,
.etat_courant:has(.ABANDONNEE) ~ .actions a
{
	display:none;
}

.dashicons
{
	color: #42548e;
	vertical-align: middle;
}

/*.glyphicon
{
	font-family: dashicons;
	display: inline-block;
	line-height: 1;
	font-weight: 400;
	font-style: normal;
	speak: never;
	text-decoration: inherit;
	text-transform: none;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 20px;
	height: 20px;
	font-size: 20px;
	vertical-align: top;
	text-align: center;
	transition: color .1s ease-in;
}

.glyphicon-plus-sign:before
{
	content: "\f132";
}

.glyphicon-minus-sign:before
{
	content: "\f460";
}*/

.entry-content #wpse-list-table-form .tablenav.top, .wp-list-table tfoot, .wp-list-table #actions
{
	display:none;
}

.entry-content .wp-list-table .column-num_demande,
.entry-content .wp-list-table .column-ref_affaire,
.entry-content .wp-list-table .column-montant_ht,
.entry-content .wp-list-table .column-date_creation
{
	text-align:left;
}

.entry-content .wp-list-table .etat_courant,
.entry-content .wp-list-table .actions
{
	text-align:center;
}

.entry-content .wp-list-table .actions a
{
	text-decoration:none;
}

.entry-content #wpse-list-table-form .tablenav.bottom
{
	margin-top: 1.5vw;
	/*float: right;*/
	text-align: right;
}

@media(max-width: 600px)
{
	.entry-content .wp-list-table .column-num_demande
	{
		display:none;
	}
}

@media(max-width: 400px)
{
	.entry-content .wp-list-table .column-montant_ht
	{
		display:none;
	}
}

@media(max-width: 320px)
{
	.entry-content .wp-list-table .column-date_creation
	{
		display:none;
	}
}

/* Formulaire de contact */

.wpcf7-text, .wpcf7-textarea
{
	width:100%;
}

/*.wp-block-contact-form-7-contact-form-selector
{
	max-width: 600px;
}*/

.wpcf7-submit
{
	background: var(--wp--preset--color--accent-1);
	color: white;
	border-radius: 5px;
	font-size: 16px;
	border:1px solid white;
	cursor:pointer;
}
	