@charset "utf-8";
/* CSS Document */

body,td,th {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#000000;
}
body {
	margin-left: 50px;
	margin-top: 0px;
	margin-right: 50px;
	margin-bottom: 0px;
}

#container{
	max-width:700px;
	margin:34px auto;
}
header{

}

h2{
	font-size: 1.3em;
}

nav.menu{
	margin-top:30px;
	border-bottom: 1px dashed #333333;
}

nav.menu ul{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	list-style: none;
	box-sizing: border-box;
	padding: 0px;
	margin: 0 auto;
}

a:link, a:active, a:visited{ 
	text-decoration:none; 
	color:#000000; 
	font-weight:bold;
}

a:hover{
	text-decoration:none;
	color:#999999;
	font-weight:bold;
}

p.flex{
	display: flex;
  	flex-direction: row;
}
p.flex a{
	flex: 50%;
}
p.flex a:nth-child(1){
	border:1px dashed #333;
	flex: 1 1 auto;
	margin-right:10px;
}
p.flex a:nth-child(2){

	flex: 0 0 280px;
}

a.parent_9,
a.parent_10{
	/*
	background-image: url(../img/img_pagebase/case.gif);
  	background-repeat: no-repeat;
  	*/
  	
  	font-weight: normal;
  	line-height: 25px;
  	font-weight: normal;
  	/*
  	padding: 5px 0px 5px 480px;
  	background-repeat: no-repeat;
  	background-position: 0px 0px;
  	
  	*/
}

a.parent_9:nth-child(1):hover{
	/*background-image: url(../img/img_pagebase/case_carine.gif);*/
	background-color: #98C339;
  	color: #333333;
 }
a.parent_10:nth-child(1):hover{
/*	background-image: url(../img/img_pagebase/case_buro.gif);*/
	background-color: #ED673A;
  	color: #333333;
 }

nav.menu ul li a:link,
nav.menu ul li a:active,
nav.menu ul li a:visited{
	font-weight:bold; 
	text-transform:uppercase; 
	text-decoration:none; 
	color:#000000;
}
nav.menu ul li a:hover{
	font-weight:bold;
	text-transform:uppercase;
	text-decoration:none; 
	color:#999999;
}

nav.menu ul li.active a{
	color:#999999;
}
nav.menu ul li.last{ 
	margin-right:0px;
}

figure{
	margin:0px;
	padding:0px;
	text-align: right;
	
	/*
	border:1px solid #ff22ff;
	background-color: pink;
	*/
}

img.overlay{
	opacity: 0.6;
}
img.overlay:hover{
	opacity: 1;
}


main{
	margin-top:40px;
	margin-bottom:20px;
}

body:not(#page_1) main img{
	max-width: 100%;
  	height: auto;
}

body#page_1 div.listing{
	/*
	display:flex;
	flex-wrap: wrap;
	align-items: stretch;
	*/
	--width-lien: 67px; 
  	display: grid;
  	grid-template-columns: repeat(auto-fill,var(--width-lien));
  	gap: 1em;
  	justify-content: space-between;
  	
}

body#page_1 div.listing > a{
	width: var(--width-lien);
	/*
	flex: 1 1 67px;
	box-sizing: border-box;
	padding: 5px;
	*/
}
