/* COLORS */

:root {
	--MDM_YELLOW: rgb(255, 209, 0);
	--MDM_ORANGE: rgb(240, 133, 37);
	--MDM_BLUE: rgb(17, 158, 217);
	--MDM_NAVY: rgb(0, 66, 94);
	--MDM_GREY: rgb(189, 189, 189);
	--LGF_BLUE: rgb(5, 157, 217);
	--WWW_BLUE: #03cafc;
	--WWW_BACK: floralwhite;
	--WWW_TEXT: floralwhite;
}

/* BODY */

* {
	box-sizing: border-box;
}

body {
	background-color: var(--WWW_BACK);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1.1rem;
}

main {
	width: 75%;
	height: max-content;
	margin: auto auto;
}

/* HEADER */

header {
	height: 15%;
	width: 100%;
}

.row-header {
	width: 100%;
	height: 150px;
	max-height: 100%;
	display: flex;
	flex-direction: row;
	margin: 0;
	position: relative;
	justify-content: space-between;
}

#logo-asso {
	height: 100%;
	flex: 1;
	position: relative;
	display: flex;
}

#logo-asso img {
	height: 100%;
	width: auto;
	position: absolute;
	left: 0;
}

#logo-mdm {
	height: 100%;
	flex: 1;
	position: relative;
	display: flex;
}

#logo-mdm img {
	height: 100%;
	width: auto;
	position: absolute;
	right: 0;
}

#headline {
	width: 100%;
	flex: 2.5;
	display: flex;
	justify-content: space-between;
	margin: 15px 0;
}

#head-left,
#head-right {
	flex: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.connexion,
.newsletter,
.devise,
.murodeimigranti {
	flex: 1;
}

.newsletter {
	align-items: flex-end;
	display: flex;
	justify-content: flex-start;
	text-align: center;
}

.newsletter a {
	text-decoration: none;
	font-size: medium;
	color: var(--MDM_NAVY);
}

.newsletter a:hover {
	color: var(--MDM_BLUE);
	font-size: medium;
}

.devise {
	display: flex;
	text-align: center;
	font-size: large;
	font-weight: bold;
	font-style: italic;
	color: var(--MDM_BLUE);
}

.murodeimigranti {
	align-items: flex-end;
	display: flex;
	justify-content: flex-end;
}

.murodeimigranti button {
	background-color: var(--WWW_BLUE);
	border: none;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	font-size: medium;
}

.murodeimigranti button a {
	text-decoration: none;
	color: var(--WWW_TEXT);
}

.connexion button {
	background-color: var(--MDM_NAVY);
	border: none;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	font-size: medium;
}

.connexion button a {
	text-decoration: none;
	color: var(--WWW_TEXT);
}

#message {
	background-color: var(--MDM_BLUE);
	border: 2px solid var(--WWW_BACK);
	color: var(--MDM_YELLOW);
	display: block;
	text-align: center;
	padding: 5px;
	font-weight: bold;
	font-size: small;
}

/* NAVIGATION BAR */

nav {
	background: var(--WWW_BLUE);
	width: 100%;
	height: max-content;
	border-top: 1px solid var(--WWW_BLUE);
	border-bottom: none;
	position: relative;
	line-height: 2;
}

nav ul {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	height: 100%;
	width: 100%;
}

.logo-nav {
	height: 100%;
	display: none;
	flex-direction: row;
	justify-content: flex-end;
	width: 100%;
}

.logo-nav img {
	height: 100%;
}

nav input[type="checkbox"],
label[for=nav-button] {
	display: none;
}

input[type="checkbox" i] {
	padding: 30px;
	cursor: pointer;
	border: none;
	appearance: auto;
}

label[for=nav-button] span {
	color: var(--WWW_TEXT);
	font-size: 2rem;
	flex: 0.6;
}

nav ul div.menu-items {
	display: flex;
}

nav ul div.menu-items a {
	text-decoration: none;
	padding: 0 20px 0 0;
	color: var(--WWW_TEXT);
}

nav ul div.menu-items a.menu-actif {
	color: var(--WWW_TEXT);
	font-weight: bold;
}

nav ul div.menu-items a:hover {
	color: var(--MDM_NAVY);
	font-weight: bold;
}

.menu-langues {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.menu-langues ul {
	padding: 0;
}

.menu-langues label {
	height: 100%;
	display: flex;
}

.menu-langues li {
	padding: 0 5px;
}

.menu-langues label img {
	cursor: pointer;
}

#nav-langues {
	display: none;
}

.nav-connect {
	display: none;
}

/* FOOTER */

footer {
	padding: 20px 20px;
	width: 100%;
}

.row-footer {
	width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: row;
	font-size: small;
}

#MyFooter {
	flex: 1;
	display: flex;
	max-width: fit-content;
	justify-content: left;
}

#MyWebsite {
	flex: 1;
	display: flex;
	justify-content: left;
}

#MyLegal {
	flex: 0.7;
	display: flex;
	justify-content: right;
}

footer p {
	line-height: 1.3;
}

/* PAGES - PARAMETRES GLOBAUX */

section.content-container {
	width: 100%;
	height: max-content;
	border-top: 1px solid var(--WWW_BLUE);
	border-bottom: 1px solid var(--WWW_BLUE);
	/* padding: 2% 0;  */
	padding: 0 0 2% 0;
	display: flex;
}

.row {
	flex-direction: row;
}

.column {
	flex-direction: column;
}

.page-text {
	font-size: 1.1rem;
	padding: 0 20px;
	line-height: 1.3;
	width: 100%;
}

.page-text p,
h1,
h2 {
	padding-top: 10px;
	line-height: 1.3;
}

.page-text ul {
	list-style-type: disc;
	list-style-position: outside;
	padding: 0 40px;
	line-height: 1.5;
}

.page-text ol {
	list-style-type: decimal;
	list-style-position: outside;
	padding: 0 40px;
	line-height: 1.5;
}

.submenu a {
	background-color: var(--MDM_NAVY);
	color: var(--MDM_YELLOW);
	text-decoration: none;
	font-size: small;
}

.docs-activelink {
	background-color: var(--MDM_YELLOW);
	color: var(--MDM_NAVY);
	font-weight: bold;
}

.sidelinks {
	text-align: center;
}

.img-text {
	font-size: 0.7rem;
	padding-bottom: 20px;
}

/* PAGE - HOME */

.home-content {
	display: flex;
	flex-direction: row;
}

.home-main {
	flex: 2;
}

.home-side {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

/* HOME - PANEL */

#MyPanel {
	position: absolute;
	top: 200px;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: max-content;
	background-color: white;
	border: 3px solid;
	border-color: var(--WWW_BLUE);
	display: none;
	overflow-y: scroll;
}

.home-panel-title,
.home-panel-images {
	text-align: center;
	color: var(--MDM_NAVY);
}

.img-w-auto {
	height: 80px;
	width: auto;
	vertical-align: middle;
}

.img-h-auto {
	height: auto;
	width: 150px;
	vertical-align: middle;
}

.media-openpanel {
	display: none;
}

/* COMMUNS AUX TABLEAUX */

div#table {
	width: 100%;
	height: max-content;
	padding: 20px 20px 0;
}

div.tab-row {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--MDM_GREY);
	text-align: center;
	height: max-content;
	padding: 1% 0;
	line-height: 1.3;
}

.pagenumbers {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	height: 4vh;
	gap: 20px;
}

.pagenumbers .pagelink {
	display: flex;
	justify-content: center;
	line-height: 30px;
	min-width: 40px;
	text-decoration: none;
}

.pagenumbers .active {
	border-bottom: 3px solid var(--MDM_BLUE);
}

.tab-column-img {
	/* logo, flag */
	flex: 1;
}

.tab-column-date {
	/* date, author */
	flex: 1;
}

.tab-column-name {
	flex: 3;
}

.tab-column-name p {
	padding-block: 3px;
}

.tab-column-name a {
	text-decoration: none;
	color: var(--MDM_BLUE);
	font-weight: bold;
}

.tab-column-name a:hover {
	background: var(--MDM_YELLOW);
	color: var(--MDM_NAVY);
}

.field-name {
	color: var(--MDM_BLUE);
	font-weight: bold;
}

.field-date {
	/* date, author */
	color: var(--MDM_NAVY);
	font-weight: bold;
}

.field-logo-asso,
.field-logo {
	max-height: 60px;
}

.field-logo-old {
	height: 40px;
}

.field-flag {
	height: 15px;
}

.field-text {
	font-size: small;
}

.field-new {
	font-size: small;
	font-weight: bold;
	color: var(--MDM_NAVY);
	background-color: var(--MDM_YELLOW);
}

/* PAGE - SEARCH */

.search-content {
	display: flex;
	flex-direction: row;
}

.search-main {
	flex: 3;
	padding-right: 15px;
}

.search-side {
	flex: 1;
	padding-top: 15px;
	padding-left: 15px;
	/* border-left: 2px dotted var(--WWW_BLUE); */
	justify-content: center;
	align-items: top;
	/* font-size: small; */
}

/* PAGE : REGISTERS */

.tab-reg {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	align-items: top;
	text-align: center;
	height: max-content;
	padding: 2% 0;
	line-height: 1.3;
}

.tab-reg-img {
	padding: 0 10px;
	flex: 1;
}

.tab-reg-img img {
	padding-top: 10px;
	height: 180px;
	width: auto;
}

.reg-title {
	font-weight: bold;
}

.reg-text {
	font-size: small;
	text-align: start;
}

/* PAGE - SERVICES */

.tab-services {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	align-items: top;
	text-align: center;
	height: max-content;
	padding: 2% 0;
	line-height: 1.3;
}

.tab-services-text {
	padding: 0 10px;
	flex: 1;
}

.tab-services-text h2 {
	color: var(--MDM_NAVY);
}

.tab-services-text p {
	text-align: start;
}

/* PAGE - CENSUSES/MARITIME/ANNUNZIATA... - tableau 2 colonnes */

.tab-2col {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	height: max-content;
	line-height: 1.3;
}

.tab-2col-text {
	flex: 3;
}

.tab-2col-img {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding-left: 2%;
}


/* PAGE - CONTACT */

.contact-content {
	height: max-content;
	justify-content: left;
	display: flex;
	flex-direction: row;
}

#MyContact {
	flex: 1;
}

#MyAddress {
	flex: 1;
}

/* GRID */

.grid-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: 30px;
	background: var(--MDM_ORANGE);
	width: 100%;
}

/* 
    .grid-list .item {
        display: block;
    }

    .grid-list .item:not(.item-all) {
        display: none;
    } */

.radio .active {
	color: blueviolet;
	font-weight: bold;
	cursor: pointer;
}

/* Events RACINES */

#imgRacines {
	width: 300px;
	padding-top: 5%;
}

.text2 {
	font-size: small;
	font-weight: bold;
}