@viewport {
	width: device-width;
	zoom: 1;
}

* {
	margin: 0px;
	padding: 0px;
}

body {
	width: 100%;
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: #000;
	background-color: #fff;
}

h1 {
	text-decoration: none;
	font-size: 1.5em;
	font-weight: 400;
	margin-top: 20px;
	margin-bottom: 4px;
}

h2 {
	text-decoration: none;
	font-size: 1.3em;
	font-weight: 400;
	margin-top: 10px;
	margin-bottom: 4px;
}

h3 {
	text-decoration: none;
	font-size: 1.1em;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: 4px;
}

h4 {
	text-decoration: none;
	font-size: 1.1em;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: 2px;
}

p {
	padding-bottom: 2px;
	/*max-width: 768px;*/
}

/* ===== UL AND LI STYLES - CONSOLIDATED ===== */

/* Default ul styles */
/* ul {
    margin-left: 5px;
    list-style-type: disc;
    padding-left: 20px;
}

/* Default li styles */
/* li {
    margin-bottom: 5px;
} */

/* Reset all lists to no style by default */
ul,
li {
	list-style: none;
	line-height: 1.5;

}

/* Specific list types that need bullets/styling */
ul.kwic,
ul[class="kwic"] {
	background-color: #f9f9f925 !important;
	padding: 20px !important;
	/* padding-left: 120px !important;  ← Add specific left padding */
	border-radius: 8px !important;
	list-style-type: square !important;
	margin-top: 30px !important;
	margin-bottom: 20px !important;
	border: 1px none #30303031 !important;
	box-sizing: border-box !important;
	width: fit-content !important;
	max-width: 70% !important;
}

/* Navigation and menu lists */
#child-menu li:before {
	content: '-';
	font-family: FontAwesome;
	display: inline-block;
	font-size: 60%;
	width: .5em;
	margin-left: -1.2em;
}

#accordion ul li {
	padding: 0 0 0 5px;
}

#accordion ul:not(.child-menu) {
	padding: 0em 0em;
	counter-reset: foo;
	display: table;
}

#accordion li {
	counter-increment: foo;
	display: table-row;
}

/* Status and grid lists */
#status ul,
#status li {
	display: inline-block;
	margin: 0 10px 0 0;
	cursor: pointer;
}

.grid li {
	display: inline;
	float: left;
	vertical-align: top;
	width: 180px;
	margin: 0px;
	padding: 0px;
	position: relative;
}

/* Tags */
.tags li {
	display: inline-block;
	margin-right: .25em;
	text-transform: lowercase;
}

/* Publication lists */
.iconpub li {
	float: left;
	padding: .01em;
	list-style-type: none;
	padding-left: 1.5em;
}

/* Content area list styling */
.container ul {
	margin-top: 20px !important;
	margin-left: 5px !important;
	margin-bottom: 16px !important;
	padding-left: 20px !important;
	list-style: none !important;
}

.container li {
	margin-bottom: 5px;
	position: relative;

}

.container li:before {
	content: "" !important;
	color: #ff1212ff !important;
	font-size: 12px;
	position: absolute;
	left: -45px;
	top: 0px;
	display: inline-block !important;
	width: 10px;
}

/* Exclude navigation from getting bullets */
nav ul,
nav li,
.child-menu,
.child-menu li,
#child-menu li {
	list-style: none;
}

nav li:before,
.child-menu li:before,
#child-menu li:before {
	content: none !important;
}

/* Restore child menu styling */
#child-menu li:before {
	content: '-' !important;
	font-family: FontAwesome;
	display: inline-block;
	font-size: 60%;
	width: .5em;
	margin-left: 1.2em;
}

/* ===== END UL AND LI STYLES ===== */
hr {
	padding: 0px;
	margin: 5px 0;
	width: 100%;
	border: 0px solid #000;
}

table,
th,
td {
	border-collapse: collapse;
	padding: 5px 0px;
	margin: 0;
	border: 0px solid #000;
}

pre {
	margin: 10px 0 10px 10px;
}

.space {
	padding: 0 0 0 20px;
}

i {
	margin: 0px 5px;
}

section i {
	font-size: 14px;
}

#footnote {
	font-size: 11px;
}

/* Marges générales */
.container {
	/*clear: left;
	float: left;*/
	clear: both;
	display: block;
	margin: 0px;
	padding: 10px;
}

/* pour obtenir des images responsives */
img {
	max-width: 100%;
	height: auto;
	outline: 0;
	border: 0;
	margin: 0;
	padding: 0;
}



/* ENTER PAGE */
.enter {
	position: absolute;
	width: 180px;
	left: 50%;
	top: 50%;
	margin-left: -80px;
	margin-top: -20px;
	z-index: 2;
}

.name {
	cursor: pointer;
	text-decoration: none;
	/*width: 120px;*/
	font-size: 24px;
	margin: 0 0 5px 0;
}



/* 1 HEADER */
.logo img {
	padding-top: 20px;
	padding-bottom: 10px;
}

#title {
	margin: 20px 0 0 0;
}



/* 2 DESCRIPTION */
#menutext {
	width: 100px;
}



/* NEWS FEED */
#news {
	clear: left;
	float: left;
	margin: 0;
	padding: 0;
	min-width: 300px;
}


/* Nav stuff by Behrang */

.child-menu {
	font-size: 10px;
	letter-spacing: -.2px;
	margin: 0px 0 !important;
	padding: 5px 5px !important;
}

.child-menu ul {
	margin: 0;
	padding: 0;
}

/* Child menu styles moved to consolidated section above */




.active-menu {
	padding-top: 1px;
	background-color: black;
	border: 1px solid #333;
	border-top: none;
	color: white;
}

/*end here*/

/* 2 NAVIGATION */
#navigation {}

[id="toggle-nav"] {
	display: none
}

[id="burger"] {
	display: none
}

nav>input:not(:checked)~ul {
	max-height: 100%;
}

#accordion div {
	cursor: pointer;
	line-height: 16px;
	padding: 2px 0;
}

/* Accordion styles moved to consolidated section above */


nav {
	clear: left;
	float: left;
	width: 22%;
	margin: 0;
	padding: 0;
}

.separator {
	clear: left;
	float: left;
	margin-left: 10px;
	width: 5px;
}

#navigation i {
	padding-left: 5px;
}

nav .button,
nav button {
	cursor: pointer;
	height: 23px;
	vertical-align: middle;
	text-align: center;
	background: transparent;
	margin: 10px 0;
	padding: 0 5px;
	border: 1px solid black;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

nav input,
nav .input {
	cursor: pointer;
	background: transparent;
	border: 1px solid black;
	margin: 10px 0 0 0;
	height: 23px;
	vertical-align: middle;
	padding-left: 5px;
}





/* 3 : CONTENT */
/* Position "section" on right */
section {
	position: absolute;
	right: 0px;
	margin: 0 0 0 0;
	padding: 20px 0 0 20px;
	width: 77%;
	min-height: 100%;
}

section.large {
	padding: 0 0 0 0;
	margin: 0 0 0 0;
}

/* Define the width of the content in the section */
article {
	/*max-width: 768px;*/
	padding: 0px;
	margin: 0;
	/*min-height: 100%;*/
}

/* Option for the width option */
#slideshow {}

.item {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.small #slideshow,
.small article {
	max-width: 768px;
}

.small img {
	max-height: 512px;
	width: auto;
}

.medium #slideshow,
.large article {
	max-width: 1024px;
}

.medium img {
	max-height: 768px;
}

.large #slideshow,
.large article {
	mix-width: 100%;
	vertical-align: middle;
}

/* Slideshow */
/* Status styles moved to consolidated section above */
#status span {
	padding-right: 5px;
}

/* Grid Items */
.grid {
	display: block;
	height: auto;
	overflow: hidden;
	padding: 0px;
	margin: 0px;
}

/* Grid li styles moved to consolidated section above */
.grid .imagecontainer {
	width: 180px;
	height: 120px
		/*180px*/
	;
	line-height: 120px
		/*180px*/
	;
	margin: 0px;
	padding: 0px;
	background-color: rgba(0, 0, 0, 1);
	text-align: center;
}

.grid img {
	margin-left: auto;
	margin-right: auto;
	vertical-align: middle;
	opacity: 0.9;
	filter: alpha(opacity=90);
}

.grid figcaption {
	position: absolute;
	/*top: 45%;*/
	bottom: 0px;
	left: 5px;
	width: 100%;
	text-align: left
		/*center*/
	;
	color: #fff;
	font-weight: 500;
}

/* List Items */
#list,
.list {
	margin-bottom: 40px;
}




/***  Blog Stuff */
.meta {
	font-size: 0.8em;
}

/*
 :::  Tags
-------------------------------------------------- */
.tags {
	display: inline-block;
}

/* Tags li styles moved to consolidated section above */

/*
 :::  Pagination
-------------------------------------------------- */
.pagination {
	margin: 3em 0 5em;
}

.pagination .prev {
	float: left;
}

.pagination .next {
	float: right;
}

.mainblog {
	clear: both;
	display: block;
	float: left;
	min-height: 100px;
	width: 85%;
	padding: 1em;
	font-family: Georgia, Garamond, Serif;
}

#disqus_thread {
	float: right;
	width: 70%;
	margin-left: 10%;
	margin-right: 20%;
	padding: 2em;
}

.content {
	clear: both;
	display: block;
	float: left;
	min-height: 100px;
	width: 85%;
	padding: 1em;
	font-family: Georgia, Garamond, Serif;
}

/*
 :::  Clearfix [cf]
-------------------------------------------------- */
.cf:after {
	content: '';
	display: table;
	clear: both;
}



/* 4 FOOTER */
.footer {}

#social {}

#social i {
	padding-right: 5px;
}

#copyright {}


/* Publication List */

#box-centerside {
	margin-top: 2px;
	float: left;
	min-height: 20px;
	width: 85%;
	padding-left: .8em; */
	font-family: Georgia, Garamond, Serif;
	background-color: #fff;
}

/* Publication list styles moved to consolidated section above */

#bibtex_key {
	font-size: small;
	color: #555;
	display: inline;
	font-weight: bold;
	/* //text-indent: -1.5em;
    //margin-left: 1.5em; */
}

#bibtex_title {
	font-weight: bold;
	padding-bottom: 1em;
}

#hangingindent {
	padding-left: 1.5em;
	text-indent: -1.5em;
	margin-top:10px;
}



/* MEDIA QUIERIES */
@media screen and (max-width: 768px) {
	#menutext {
		display: none;
	}

	.separator {
		display: none;
	}

	.news {
		clear: both;
		display: block;
		width: 60%;
		margin: 0;
		padding: 0;
	}

	#navigation,
	#accordion,
	.contextuel,
	section,
	article,
	.footer {
		clear: both;
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	#title {
		float: left;
		padding: 10px 10px 0 10px;
		margin: 0px;
		min-height: 30px;
		font-size: 16px;
		width: 80%;
	}

	.logo img {
		height: 20px;
		padding-top: 0px;
		padding-bottom: 0px;
	}

	#news {
		clear: both;
		display: block;
		width: 60%;
		margin: 0;
		padding: 0;
	}

	.contextuel,
	section,
	.footer {
		border-top: 1px solid #000;
	}

	section {
		position: relative;
		min-height: 480px;
	}

	.container {
		padding: 10px;
		margin: 0px;
	}

	article {
		max-width: 100%;
	}

	/*.footer { 
		position: fixed;
	    bottom: 0; 
	    }*/
	#social {
		clear: left;
		float: left;
	}

	#copyright {
		clear: right;
		float: right;
	}

	/* Menu */
	[id="toggle-nav"] {
		display: none
	}

	[id="burger"] {
		display: block
	}

	#burger {
		float: right;
		position: absolute;
		top: 6px;
		right: 10px;
		cursor: pointer;
		text-transform: uppercase;
		font-size: 18px;
	}

	/* Theming closed nav */
	nav>input:not(:checked)~ul {
		max-height: 0;
		overflow: hidden;
	}

	/* Theming opened nav */
	nav>input:checked~ul {
		max-height: 100%;
		overflow: hidden;
	}

	#accordion div {
		cursor: pointer;
		/*text-transform:uppercase;*/
		margin: 0;
		padding: 10px 0 10px 10px;
		font-size: 14px;
	}

}

/* Responsive photo styles */
.responsive-photo {
	display: block;
	width: 75%;
	max-width: 250px;
	height: auto;
	box-sizing: border-box;
}

/* Tablet and below */
@media (max-width: 768px) {
	.responsive-photo {
		width: 60%;
		max-width: 180px;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.responsive-photo {
		width: 50%;
		max-width: 120px;
	}
}

/* Footer Navigation Styles */
#sitemap-footer {
	margin-top: 20px;
	padding: 20px 0;
	border-top: 1px solid #ddd;
	background-color: #f9f9f9;
}

.footer-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

.footer-column {
	flex: 1;
	min-width: 200px;
}

.footer-column h4 {
	color: #333;
	font-weight: bold;
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
}

.footer-column ul {
	list-style: none;
	padding: 0;
}

.footer-column ul li {
	margin-bottom: 5px;
}

.footer-column ul li a {
	color: #666;
	text-decoration: none;
	font-size: 12px;
	line-height: 1.4;
}

.footer-column ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Mobile responsive for footer */
@media (max-width: 768px) {
	.footer-columns {
		flex-direction: column;
	}
	
	.footer-column {
		margin-bottom: 15px;
	}
}

/* Breadcrumb Navigation */
.breadcrumb {
	margin-bottom: 15px;
	font-size: 11px;
}

/* Visually hidden but accessible to screen readers and crawlers */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.breadcrumb ol {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.breadcrumb li {
	display: flex;
	align-items: center;
}

.breadcrumb li:not(:last-child)::after {
	content: ' › ';
	margin: 0 5px;
	color: #999;
}

.breadcrumb a {
	color: #666;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #333;
	text-decoration: underline;
}

.breadcrumb li:last-child span {
	color: #333;
	font-weight: bold;
}