/* validation formulaires */
.form_error {
	margin-left: 5px;
	padding-left: 25px;
	background: url("../images/icons/error.png") 0px 50% no-repeat;
	color: #555555;
	font-weight: bold;
}

.ajax_form_loader {
	background-image: url(../images/icons/ajax_loader.gif);
	background-position: right 45px center;
	background-repeat: no-repeat;
}

.ajax_loader {
	width: 24px;
	height: 24px;
	display: block;
	background: url("../images/icons/ajax_loader.gif") 0% 50% no-repeat !important;
}

/* tables */
table.tablesorter thead tr .header {
	background-image: url("../images/bg.gif");
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

table.tablesorter thead tr .headerSortUp {
	background-image: url("../images/asc.gif");
}

table.tablesorter thead tr .headerSortDown {
	background-image: url("../images/desc.gif");
}

/* TROMBI */

.cadre_photo_grand {
	width: 470px;
	margin: auto;
	padding: 3px 3px 0 3px;
	background-color: #F7F7F7;
	border: 1px solid black;
	text-align: center;
}

.cadre_photo_petit_fiche {
	position: absolute;
	margin: 25px 0 0 715px;
	padding: 3px 3px 0 3px;
	background-color: #F7F7F7;
	border: 1px solid black;
	width: 170px;
}

.cadre_photo_petit_trombi {
	margin-left: 15px;
	padding: 3px 3px 0px 3px;
	height: 100%;
	background-color: #F7F7F7;
	border: 1px solid black;
	width: 170px;
}

.trombi {
	width: 170px;
	height: 250px;
	/*line-height:170px;*/
	text-align: center;
	/* centrage horizontal d'un ??ent en-ligne */
	background-color: #F7F7F7;
	border: 1px solid black;
	padding: 3px 3px 0px 3px;
}

.trombia {
	height: 170px;
	text-align: center;
	/* centrage horizontal d'un ??ent en-ligne */
}

.img_trombi {
	vertical-align: middle;
}

/* Divers */
IMG.absmiddle {
	vertical-align: middle;
	margin-bottom: .25em;
}

.gras {
	font-weight: bold;
}

.bolder {
	font-weight: bolder;
}

.rouge {
	color: #E40000;
}

.bleu {
	color: #0000FF;
}

.form_error_red {
	color: #E40000 !important;
	border: 1px solid #E40000 !important;
}

.right {
	text-align: right !important;
}

.left {
	text-align: left !important;
}

.center {
	text-align: center !important;
}

.hidden {
	display: none !important;
}

.big_radio {
	width: 100px;
}

.nomargin {
	margin: 0px !important;
}

.icon_actif {
	color: #FFFFFF !important;
	font-weight: bold;
}

/* Le module wysiwyg englobe le texte dans des balises paragraphe, ces balises paragraphe cr?nt une marge non d?ir? en fin de texte
* Cette classe css permet d'ajouter un ??ent directement en dessous lorsque l'on est confront?a ce genre de cas
*/
.post_wysiwyg p {
	margin: 0px;
	padding: 0px;
}

.dashed_line {
	background: url(../images/dashed_line.gif) repeat-x;
	height: 2px;
	width: 100%;
	margin: 10px 0;
}

.form_date {
	width: 70px !important;
}

.gauche_15 {
	padding-left: 15px !important;
}

.margleft15 {
	margin-left: 15px !important;
}

.cacher {
	display: none;
}

.gauche_30 {
	margin-left: 30px;
}

.pad20 {
	padding: 20px !important;
}

.padtop10 {
	padding-top: 10px !important;
}

.padbottom10 {
	padding-bottom: 10px !important;
}

.padtop20 {
	padding-top: 20px !important;
}

.padright20 {
	padding-right: 20px !important;
}

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

.margintop20 {
	margin-top: 20px !important;
}

.margintop30 {
	margin-top: 30px !important;
}

#dialog-modal {
	display: none;
}

.consulter {
	background-color: #FFCC00;
	font-weight: bold;
	color: black;
}

.refuser {

	background-color: red;
	font-weight: bold;
	color: black;

}

.accepter {
	background-color: #00FF00;
	font-weight: bold;
	color: black;
}

.boutonaction {
	margin-bottom: 200px;
}

.font10 {
	font-size: 10px;
}

.font15 {
	font-size: 15px;
}

.font20 {
	font-size: 20px;
}

.font25 {
	font-size: 25px;
}

.font30 {
	font-size: 30px;
}

@media all and (max-width: 650px) {
	.font30 {
		font-size: 22px;
	}
	#tabMotsLies .motAr {
		font-size: 28px !important;
	}
}

.resa {
	cursor: pointer;

}

#search {
	position: relative;
	width: 100%;
}

#search input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border-radius: 25px !important;
	padding-left: 20px !important;
	height: 48px !important;
	font-size: 1rem !important;
	border: 2px solid #29629b !important;
	box-shadow: 0 2px 6px rgba(41, 98, 155, 0.15);
	transition: box-shadow 0.2s ease;
}

#search input:focus {
	box-shadow: 0 2px 12px rgba(41, 98, 155, 0.35);
	outline: none;
}

#search img {
	position: absolute;
	top: 9px;
	right: 12px;
	cursor: pointer;
}

/* Zone recherche */
.zone-recherche {
	background-color: #f4f8fc;
	border-radius: 12px;
	padding: 4px 20px 6px;
	margin: 8px 0 6px;
}

.motFr {
	font-size: 22px;
	padding: 10px 12px !important;
	vertical-align: middle !important;
}

.motAr {
	font-size: 30px;
	padding: 10px 12px !important;
	vertical-align: middle !important;
	font-family: 'Scheherazade', serif;
}

#tabMots tbody tr {
	transition: background-color 0.15s ease, border-left 0.15s ease;
	border-left: 3px solid transparent;
}

#tabMots tbody tr:hover {
	background-color: #e8f1fa !important;
	border-left: 3px solid #29629b;
}

#tabMots thead th {
	font-size: 15px;
	letter-spacing: 0.05em;
}

.messageModel {
	font-size: 20px;
	color: #1411d1;
	text-align: center;

}

a.home:link,
a.home:hover,
a.home:visited,
a.home:active {
	text-decoration: none;
	color: #989898;
	font-size: 30px;
}

/* ===== HEADER ===== */
.site-header {
	background-color: #29629b;
	padding: 10px 15px;
	margin-bottom: 15px;
}

.site-header__title {
	margin: 0;
	padding: 0;
	font-size: inherit;
	display: inline;
}

a.home-header:link,
a.home-header:hover,
a.home-header:visited,
a.home-header:active {
	text-decoration: none;
	color: #ffffff;
	font-size: 28px;
}

a.home-header:hover {
	color: #d0e4f7;
}

.site-header__subtitle {
	font-size: 18px;
	font-weight: normal;
	margin-left: 6px;
	color: #d0e4f7;
}

.site-header__count {
	font-size: 0.85em;
	color: #a8c8e8;
}

.site-header .site-header__proverbes,
.site-header .site-header__proverbes:link,
.site-header .site-header__proverbes:visited,
.site-header .site-header__proverbes:active {
	color: #d0e4f7;
	text-decoration: none;
}
.site-header .site-header__proverbes:hover {
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
}

/* Texte long/court selon résolution */
.header-proverbes-sm { display: none; }
.header-proverbes-full { display: inline; }
.header-lexique-full { display: inline; }

.site-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.site-header__user:link,
.site-header__user:hover,
.site-header__user:visited,
.site-header__user:active {
	color: #ffffff;
	text-decoration: none;
}

.site-header__icon {
	filter: brightness(10);
	vertical-align: middle;
}

.cell-wrapper {
	display: flex;
	width: 100%;
}

.cell-content {
	flex: 1;
	box-sizing: border-box;
}

/* #typeMot li:not(.checked) input[type="checkbox"] {
	display: none;
} */

/* Small devices (landscape phones, 576px and up) */
@media all and (max-width: 575px) {

	a.home:link,
	a.home:hover,
	a.home:visited,
	a.home:active {
		text-decoration: none;
		color: #989898;
		font-size: 20px;
	}

	a.home-header:link,
	a.home-header:hover,
	a.home-header:visited,
	a.home-header:active {
		font-size: 18px;
	}

	.site-header__subtitle {
		display: block;
		font-size: 15px;
		margin-left: 0;
	}
	.header-proverbes-full { display: none; }
	.header-proverbes-sm  { display: inline; }
	.header-lexique-full  { display: none; }


	.site-header__icon {
		width: 24px;
	}

	#search input {
		font-size: 0.78rem !important;
		padding-left: 12px !important;
		height: 42px !important;
	}

	#search img {
		top: 7px;
		right: 8px;
		width: 24px;
	}

	.zone-recherche {
		padding: 10px 12px 8px;
	}

	.motFr {
		font-size: 17px;
		/* width: 50%; */
	}

	.motAr {
		font-size: 30px !important;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media all and (min-width: 451px) and (max-width: 650px) {

	a.home:link,
	a.home:hover,
	a.home:visited,
	a.home:active {
		text-decoration: none;
		color: #989898;
		font-size: 22px;

	}

	.motFr {
		font-size: 19px;
		width: 50%;
	}

	.motAr {
		font-size: 30px !important;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media all and (min-width: 651px) and (max-width: 850px) {

	a.home:link,
	a.home:hover,
	a.home:visited,
	a.home:active {
		text-decoration: none;
		color: #989898;
		font-size: 23px;

	}

	.motFr {
		font-size: 18px;
	}

	.motAr {
		font-size: 20px;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media all and (min-width: 851px) and (max-width: 999px) {

	a.home:link,
	a.home:hover,
	a.home:visited,
	a.home:active {
		text-decoration: none;
		color: #989898;
		font-size: 25px;

	}

	.motFr {
		font-size: 30px;
	}

	.motAr {
		font-size: 30px;
	}
}

.input-bar {
	margin: 0.2rem;
	border-radius: 5px;
	overflow: hidden;
	display: inline-block;
}

.input-bar .input-bar-box {
	padding-top: 1.2rem;
	padding-bottom: 1rem;
	background-color: #dee2e6;
	display: inline-block;
	width: 2.7rem;
	height: 4rem;
	font-size: 2.7rem;
	line-height: 1rem;
	text-align: center;
	border-right: 1px #ced4da solid;
}

.input-bar .input-bar-box:last-child {
	border-right: none;
}

.input-bar .input-bar-box:hover {
	background-color: #ced4da;
	cursor: pointer;
}

.compteur {
	color: grey;
	font-size: small;
}

.idmot {
	display: inline-block;
	background-color: #286090;
	border-radius: 4px 0 0 4px;
	color: white;
	padding-top: 4px;
	/* font-size: small; */
	/* height: 1.5rem; */
	height: 32px;
	width: 100px;
	text-align: center;
	/* vertical-align: 20%; */

}

.source {
	display: inline-block;
	background-color: cadetblue;
	color: white;
	padding-top: 4px;
	/* font-size: small; */
	/* height: 1.5rem; */
	height: 32px;
	width: 150px;
	text-align: center;

	/* font-size: small; */
	/* height: 1rem; */
}

.idmottest {
	/* background-color: #bbd551; */
	border: none;
	border-radius: 4px 0 0 4px;
	height: 42px;
	width: 800px;
	color: white;
}

.validation_ko {
	display: inline-block;
	background-color: rgb(251, 0, 0);
	color: white;
	height: 32px;
	line-height: 32px;
	width: 80px;
	text-align: center;
}

.validation_ok {
	display: inline-block;
	background-color: cadetblue;
	color: white;
	height: 32px;
	line-height: 32px;
	width: 80px;
	text-align: center;
}


.attente_ko-save {
	display: inline-block;
	background-color: rgb(251, 0, 0);
	color: white;
	padding-top: 4px;
	/* font-size: small; */
	/* height: 1.5rem; */
	height: 32px;
	width: 80px;
	text-align: center;

	/* font-size: small; */
	/* height: 1rem; */
}

.attente_ko {
	display: inline-block;
	background-color: #6c757d;
	color: white;
	height: 32px;
	line-height: 32px;
	width: 80px;
	text-align: center;
}

.attente_ok {
	display: inline-block;
	background-color: cadetblue;
	color: white;
	height: 32px;
	line-height: 32px;
	width: 80px;
	text-align: center;
}

.attente {
	background-color: darkgreen;
}

.optionsMotTitle {
	text-align: center;
	font-size: 1rem;
	margin: 0 0 6px 0;
	padding: 6px 10px;
	color: #fff;
	background-color: #29629b;
	border-radius: 6px;
}

.options-clickable {
	cursor: pointer;
}

.options-clickable:hover {
	color: #1a4a7a;
}

.options-bar {
	background-color: #eef4fb;
	border-radius: 8px;
	padding: 8px 12px;
	margin: 8px 0;
	border: 1px solid #d0e4f5;
}

.optionsMots {
	text-align: left;
	padding-left: 0;
	font-size: 1rem;
}

#frattente::placeholder {
	color: #fc0303;
	/* Couleur du texte */
	font-style: italic;
	/* Style du texte (italique) */
}

#frerror {
	border-width: 2px;
	/* épaisseur de la bordure */
	border-color: #fc0303;
}

#alertModal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1040;
	background-color: #000;
}

/* .historique{
	display:inline;
	padding-right: 12px;
	color: #555555;
} */

#historique {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/* Pour centrer les éléments horizontalement */
}

.historique {
	margin-right: 10px;
	/* Espacement entre les éléments */
	color: #555555;
}

.histolink {
	color: #555555;
}

.menuTitre {
	font-weight: bold;
	color: cornflowerblue;
}

.motFrAr {
    display: inline-block;
}

.ar-align {
	text-align: right;
}

/* ===== PAGE DETAIL ===== */
.detail-title {
	text-align: center;
	padding: 15px 0 20px;
}

.detail-title__fr {
	font-size: 1.6rem;
	font-weight: bold;
	color: #333;
}

.detail-title__sep {
	font-size: 1.4rem;
	color: #29629b;
	margin: 0 10px;
}

.detail-title__ar {
	font-size: 2rem;
	font-family: 'Scheherazade', serif;
	color: #29629b;
}

.detail-card {
	background: #fff;
	border: 1px solid #dce8f5;
	border-radius: 10px;
	box-shadow: 0 3px 12px rgba(41, 98, 155, 0.1);
	padding: 10px 20px;
	margin-bottom: 20px;
}

.detail-fr {
	font-size: 1.2rem;
}

.detail-ar {
	font-size: 1.8rem;
	font-family: 'Scheherazade', serif;
	color: #29629b;
}
