/*LydéricBocquet*/
/*Mise en page*/
	
	@font-face
	{
		font-family: "Ubuntu-R";
		src: url('Ubuntu-R.ttf');
	}
	@font-face
	{
		font-family: "Chivo-R";
		src: url('chivo-regular.ttf');
	}
	body
	{
		font-family: "Chivo-R", "Ubuntu-R", "Comfortaa", "Trebuchet MS", "comic sans MS";
		background-color: #fffff;
		
	}
	#bloc_page
	{
		max-width: 1300px;
		margin: auto;

	}
	/*chaque titre*/
	#souligne 
	{
		border: 3px solid rgb(180, 46, 49) ; 
		width: 20px;
		text-align: center;
		margin-right: 10px;
	}
	img /*dimension image*/
	{
		margin: 5px;
	}
	/*espace*/
	#rien 
	{
		height: 150px;
	}
	#tops
	{
		height: 100px;
	}
	#researchm
	{
		height: 200px;
	}
	/*lien vers navigateur*/
	a 
	{
		text-decoration: none;
		color: black;
	}
	a:hover
	{
		text-decoration: none;
		color: rgb(180, 46, 49);
	}
	/*bar de menu*/
			#menu
			{
				font-family: "Chivo-R", "Ubuntu-R", "Comfortaa", "Trebuchet MS", "comic sans MS";
			}
			
			header h1
			{
					color: white;
			}
			header
			{
				display: flex;
				justify-content: space-around;
				flex-direction: column;
				margin-bottom: 20px;
				margin-right: auto;
				width: 100%;
				position: fixed;
				top: 0;
				z-index: 1000;
				background-color: white;
			}
			header nav li
			{
				list-style-type: none;
			}
			nav > ul > li
			{
				float: left;
				position: relative;
			}
			nav > ul::after
			{
				content: "";
				display: table;
				clear: both;
			}
			nav a
			{
				display: inline-block;
				text-decoration: none;
			}
			nav > ul > li > a {
				padding: 20px 30px;
				color: rgb(180, 46, 49);
			}
			nav li
			{
				list-style-type: circle;
			}
			nav li:hover .submenu
			{
				display: inline-block;
				position: absolute;
				top: 100%;
				left: 0px;
				padding: 0px;
				z-index: 100000;
			}
			nav
			{
				width: 100%;
				display: flex;
				justify-content: center;
				align-items: center;
				margin-right: 20%;
				margin-left: 20%;
			}
			
			nav > ul
			{
				margin: 0px;
				padding: 0px;
			}
			
			nav > ul > li
			{
				float: left;
			}
			
			nav input[type=checkbox]
			{
				display: none;
			}
			.menu-mobile
			{
				display: none;
			}
			.submenu 
			{
				display: none;
			}
			.submenu li
			{
				border-bottom: 1px solid #CCC;
			}
			.submenu li a
			{
				padding: 15px 30px;
				font-size: 13px;
				color: #222538;
				width: 270px;
			}
			/*Au survol souris*/
			.menu-home:hover
			{
				border-top: 5px solid rgb(180, 46, 49);
				background-color: rgba(180, 46, 49,0.15);
			}
			.menu-research:hover
			{
				border-top: 5px solid rgb(180, 46, 49);
				background-color: rgba(180, 46, 49,0.15);
			}
			.menu-publi:hover
			{
				border-top: 5px solid rgb(180, 46, 49);
				background-color: rgba(180, 46, 49,0.15);
			}
			.menu-cours:hover
			{
				border-top: 5px solid rgb(180, 46, 49);
				background-color: rgba(180, 46, 49,0.15);
			}
			.menu-cv:hover
			{
				border-top: 5px solid rgb(180, 46, 49);
				background-color: rgba(180, 46, 49,0.15);
			}
			/*les sous-menus*/
			.menu-home .submenu
			{
				background-color: rgba(255, 252, 249, 0.60);
			}
			.menu-research .submenu
			{
				background-color: rgba(255, 252, 249, 0.60);
			}
			.menu-publi .submenu
			{
				background-color: rgba(255, 252, 249, 0.60);
			}
			.menu-cours .submenu
			{
				background-color: rgba(255, 252, 249, 0.60);
			}
			.menu-cv .submenu
			{
				background-color: rgba(255, 252, 249, 0.60);
			}
			nav > ul > li:hover a
			{
				padding: 15px 30px 20px 30px;
			}
			.menu-mobile
			{
				display: none;
			}
			nav input [type=checkbox]
			{
				display: none;
			}
			nav input [type=checkbox]:checked ~ ul
			{
				display: block;
			}
/*contenu de la page*/
	/*titre Lyderic Bocquet*/
	
	#intro p
	{
		height: 25%;
	}
	#intro
	{
		margin-top: 100px;
		margin-left: 15%;
	}
	#intro img
	{
		float: left;
		margin-right: 5%;
	}
	#intro h1
	{
		font-size: 2.0em;
	}
	#intro a 
	{
		color: rgb(180, 46, 49);
		padding: 7px;
		text-decoration: none;
	}
	#background
	{
		align-items: center;
		text-align: center;
	}
	.citation
	{
		font-size: 0.9em;
	}
	/*my research*/
	#research
	{
		width: 70%;
		margin:auto;
		padding: 25px;
		background-image: url('book.jpg');
		background-repeat: no-repeat;
		background-size: 800px;
		height: 400px;
	}
	#research h2
	{
		margin-left: 4%;
	}
	article
	{
		text-align: justify;
		background-color: rgba(238, 238, 238, 0.3);
		width: 60%;
		margin-left: 5%;
	}
	/*research interest*/
	#top
	{
		align-items: center;
		width: 85%;
		margin:auto;
		padding:12px;
		margin-bottom: 20px;
		margin-top: 20px;
		margin-right: auto;	
	}
	#sujet
	{
		display: flex;
		flex-direction: column;
		justify-content: flex-end;	 
	}
	#top h2
	{
		margin-left: 12%;
	}
	/*apparition des blocs bleu au survol*/
	.grid 
	{
		display: flex;
		justify-content: space-around;
		padding: 20px 20px 50px 20px;
		margin: 0 auto;
		list-style: none;
		text-align: center;
	}

	.grid li {
		display: inline-block;
		width: 30%;
		margin: 0;
		padding: 13px;
		text-align: left;
		position: relative;
	}
	.grid figure {
		margin: 0;
		position: relative;
	}
	.grid figure img {
		max-width: 100%;
		display: block;
		position: relative;
	}
	.grid figcaption {
		position: absolute;
		top: 0;
		left: 0;
		padding: 13px;
		background: rgb(217, 235, 242);
		color: rgb(180, 46, 49);
	}
	.grid figcaption h3 {
		margin: 0;
		padding: 0;
		color: #fff;
	}

	.cs-style-1 figcaption
	{
		height: 100%;
		width: 100%;
		opacity: 0;
		overflow: auto;
		text-align: justify;
		backface-visibility: hidden;	
	}	
	figure:hover figcaption
	{
		opacity: 1;
		transform: translate(15px, 15px);
		overflow: auto;
		text-align: justify;
		width: 400px;
		height: 200px;
		z-index: 1000;
	}
	.cs-style-1 figcaption h3 {
		margin-top: 5px;
	}
	.cs-style-1 figcaption span {
		display: block;
	}
	/*recent article*/
	#article h2
	{
		margin-left: 12%;
	}
	#article
	{
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		width: 90%;
		
		margin-left: 5%;
		margin-right: auto;
	}
	#recentarticle
	{
		display: flex;
		justify-content: space-around;
		padding: 20px;
		flex-wrap: wrap;
		width: 100%;
		align-items: center;
	}
	.publi
	{
		width: 250px;
		height: 250px;
		word-wrap: break-word;
		text-align: justify;
		border: 1px solid rgb(180, 46, 49);
		padding: 20px 30px 20px 30px;
	}
	.publi img
		{
			padding-left: 0%;
			height: 160px;
			padding-bottom: 0%;
			border-bottom: 1px solid rgb(167, 170, 169);
		}

	@media all and (max-width: 1024px)
	{
		#bloc_page
		{
			width: 100%;
			margin-top: 110px;
			padding-top: 0px;
		}
		/*menu pour telephone*/
		header
		{
			position: absolute;
		}
		nav
	    {
	        width: 50%;
	        text-align: left;
	        margin-left: 45%;
	    }
		nav ul
	    {
	        flex-direction: column;
	        	    }
	    nav li
	    {
	        padding-left: 4px;
	        border-top: 3px solid rgb(180, 46, 49);
	        width: 100%;

	    }
	    .submenu
	    {
	    	visibility: hidden;
	    }
	    nav a
	    {
	        font-size: 1.1em;
	    }
	    nav a:hover
	    {
	        border-bottom: 0;
	    }
	    /*annule les espaces*/
		#researchm
		{
			height: 0px;
		}
		#tops
		{
			height: 0px;
		}
		#intro
		{
			margin-right: 0px;
			margin-left: auto;
		}
		/*contenu de la page*/
		
		#photolb
		{
			visibility: hidden;
		}
		#research
		{
			width: 80%;
			margin:0;

		}
		#research h2
		{
			margin-left: 0px;
		}
		#research article 
		{
			width: 100%;
		}
		#intro
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			width: 100%;
		}
		#top
		{
			margin: 0px;
		}
		#top h2
		{
			margin-left: 0px;
		}
		#intro img
		{
			display: none;
			text-align: center;
		}
		#recentarticle
		{
			flex-direction: column;
			margin-bottom: 20px;
		}
		.publi
		{
			margin-bottom: 20px;
		}
		#photolb
		{
			margin-left: 20%;
		}
		#article h2
		{
			margin-left: 0px;
		}
		/*annule le survol des blocs research interest*/
		.grid 
		{
			padding: 10px 10px 100px 10px;
			flex-direction: column;
		}
		.grid li {
			width: 100%;
			min-width: 300px;
		}
		.cs-style-1 figcaption
		{
			height: 100%;
			width: 100%;
			opacity: 1;
			overflow: auto;
			text-align: justify;
			width: 100%;
			height: 90%;
		}	
		figure:hover figcaption
		{
			opacity: 1;
			transform: translate(0px, 0px);
			overflow: auto;
			text-align: justify;
			width: 100%;
			height: 90%;
			z-index: 1000;
			visibility: none;
		}
		.topics
		{
			margin-top: 0px;
			padding-top: 0px;
		}


	}
	#moi
	{
		border-right: 3px solid rgb(180, 46, 49);
		height: 40px;
		text-align: right;
		padding: 7px;
		font-size: 0.5em;
	}
