/* ajouts idpoisson */

table {
    table-layout: auto;
}

.page-template-no-sidebar-full-width.page #main-content.no-sidebar-full-width {
    padding: 4em 6% 4em 6%;
}

#site-identity img {
    padding: 0 0.7em 0.5em;
}

.ldap_table_title {
	background-color: #7281D5;
	color: #fff;
}

a.displayname {
	position:relative;
	z-index: 24;
}

a.displayname:hover {
	z-index:25;
	background-color: #7281D5;
	color: #fff;
}

a.displayname span {
	display:none;
}

a.displayname:hover span {
	display:block;
	position:absolute;
	background-color: #fff;
	color: #000;
	border: 1px solid #000;
}

td.center {
	text-align: -moz-center;
	text-align: -webkit-center;
}

.site-header .home-link {
	min-height: 1em;
}

img.legende {
	width: 60px;
	padding-right: 10px;
}

div.legende-wrapper {
	display: grid;
	grid-gap: 10px; 
	grid-auto-rows: minmax(50px, auto);
}

div.legende-ang {
	grid-column: 1;
	grid-row: 1;
}

div.legende-ems {
	grid-column: 2;
	grid-row: 1;
}

div.legende-pht {
	grid-column: 1;
	grid-row: 2;
}

div.legende-spa {
	grid-column: 2;
	grid-row: 2;
}

/*.entry-content a img.legende {
	display: contents;
}*/

table.members{
	font-size: 0.8em;
}

table.members td {
	padding: 0.5em;
	padding-left: 1em;
}

table.members td img{
	width: 25px;
}

div.event {
	border: 1px solid #ddd;
	border-radius: 3px;
	background-color: #fafafa;
	margin-bottom: 15px;
	padding: 7px;
	font-size: 0.95em;
}

div.event_title {
	background-color: #B0B9E5; /*#7281D5;*/
	color: #fff;
	padding: 5px;
	padding-left: 10px;
	margin-bottom: 5px;
}



/* manu */

body{ 
	background-color: #FAF7F2;
}

#masthead{
	box-shadow: 1px 3px 3px #ccc;
}

h1.entry-title {
	font-size: 1.7em;
}

.entry-content, aside.wphal-publications, .menu-agenda-container{
	color: #666;
	padding: 2em;
	background: #ffffff;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 3px 3px 5px #ddd;
	font-size: 0.9em;
}

table.yellow {
	background: #FFFBF2;
}

/* le logo dépasse pour la version mobile
 * donc on augmente la taille du div */
#site-identity {
	height: 4em;
}

/* et du coup on centre le bouton menu */
.menu-toggle {
	margin: 10px;
}

#site-identity img.custom-logo{
	/* max-height: 60px; */
	height: 60px;
}

.dashed{
	background: #FFFBF2;
	border: 1px dashed #ccc;
	padding: 10px;
}

ul.dashed, .entry-content ul{
	padding-left: 2em;
	margin-left: 0em;
}

/*.sh-show p, .sh-show div, .sh-show ul{
	background: #fffbf2;
}*/


/*------------- sidebar ----------------*/

.sidebar{
	margin-top: 4em;
}

.sidebar h2{
	font-family: Bitter;
	font-size: 1.44em;
	line-height: 1.4em;
	color: #666;
	margin-bottom: 1.25em;
}

aside.widget_language_switcher{
	margin-bottom: 2em;
	margin-top: 1em;
}

aside.widget_language_switcher h2{
	display: none;
}

aside.wphal-publications{
	padding: 1em;
}

.widhal-ul{
	margin-left: 1em;
	list-style-type:none;
}

li.widhal-li {
	line-height: 1.4em;
	margin-bottom: 1em;
}

/*----------- menu agenda ----------- */

.menu-agenda-container{
	margin-top: 2em;
	padding: 0;
}

#menu-agenda {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.85em;
}
#menu-agenda li {
	list-style: none;
	padding: 0.7em;
	padding-left: 1.3em;
	border-bottom: 1px solid #eee;
}

#menu-agenda ul {
}

#menu-agenda a {
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
}
#menu-agenda .sub-menu li{
	padding: 1px;
}
#menu-agenda .sub-menu a {
	background-color: #fff;
	text-transform: none;
	font-weight: normal;
	border-bottom: none;
	padding-left: 10px;
}
#menu-agenda a:hover {
	background-color: #7281D5;
	color: #fafafa;
}

#menu-agenda li:hover .sub-menu {
	display: block;
	max-height: 300px;
}
#menu-agenda .sub-menu {
	overflow: hidden;
	max-height: 0;
	padding: 0;
	margin: 0;
	transition: 1s;
	-webkit-transition: 1s;
}


/*--------- listing members --------- */

/*

#post-291 ul {
	background: #FFFBF2;
	border: 1px dashed #ccc;
	padding: 10px;
	padding-left: 1em;
	margin-left: 0;
	list-style-type: none;
}

*/


/*---- pages perso -----*/

.title-description{
	margin-left: 2em;
	margin-top: 1em;
}

.title-description h1{
	font-size: 1.5em;
/*	position: relative;
	top: 1.2em;*/
}

.title-description h2{
	display:none;
}

.entry-content p:first-child::first-letter {
	font-size: 1em;
	padding: 0;
}


/*------ footer ---------*/
#site-info{
	max-height: 10em;
}


img.logo-footer {
	max-height: 3.5em;
	margin: 10px;
}

/*----- secretariat ------*/

table.dir {
	font-size: 0.8em;
}

table.dir tr.head td{
	font-style: italic;
	text-align: center;
}

table.dir td{
	padding: 10px;
}

table.dir tr.break{
	line-height: 0.2em;
}

table.dir tr.break td{
	background:#fff;
	border:1px solid #fff;
	border-bottom: 1px solid #ccc;
}

td.ot{
	text-align: center;
	font-weight: normal;
	font-family: sans-serif;
	font-size: 0.8em;
	color: #fff;
	background-color: #999;
	text-transform: uppercase;
	padding:0;
	width: 0.5em;
}

.wrap-rot{
	width: 1.5em;
}

.rotate {

    /* Safari */
    -webkit-transform: rotate(-90deg);

    /* Firefox */
    -moz-transform: rotate(-90deg);

    /* IE */
    -ms-transform: rotate(-90deg);

    /* Opera */
    -o-transform: rotate(-90deg);

   float: left;
}

td.orleans .rotate{
	margin-left: -1.5em;
}

td.tours .rotate{
	margin-left: -1em;
}

h1.entry-title{
	display: none;
}

/*--
.page-id-51 .entry-content{
	background: #fff url('images/gb.png') repeat-y;
}
--*/

header .flex-container{
	display: block;
}

ul#primary-menu{
	margin-left: 0.5em;
}

.primary-navigation{
	font-size: 1em;
}

.site-navigation a{
       /*padding-left:0;*/
}       
#navigation {
    padding: 10px 5% 0 5%;
}

/* Portrait */
@media (max-width: 540px) {
	table.secretariat td.dpt{
		display:none;
	}

	table.secretariat{
		margin-left: -25px;
	}

}

/*------- osm ---------*/

.map{
	display: inline-block;
}

/*responsive table members*/
@media screen and (max-width: 600px) {
	table.members {
		width: 100%;
		border: none;
	}
	/* Force table to not be like tables anymore */
	table.members thead, tbody, th, td, tr {
		display: block;
		font-size: 1.05em;
	}
	table.members thead tr {
		margin-bottom:10px;
		border:0;
	}
	table.members tbody tr {
		margin-bottom: 20px;
		border: 1px solid #ccc;
	}
	table.members td.ldap_table_title {
		background-color: #7281D5;
	}
	/* Hide table headers (but not display: none;, for accessibility) */
	table.members thead tr th{
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	table.members tbody {
	}
	td.center {
		text-align: -moz-left;
		text-align: -webkit-left;
	}
	table.members td {
		/* Behave  like a "row" */
		position: relative;
		padding-left: 30%; 
		background-color: #fafafa;
	}
	table.members td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 30%;
		padding-right: 10px; 
		white-space: nowrap;
		/* Label the data */
		content: attr(data-column);
		font-weight: bold;
		text-transform: uppercase;
	}
}

/* footer menu */
div.footer-menu {
    padding-top: 5px;
	/*position: absolute;
	right: 10px;
	margin-top : 5px;*/
}
div.footer-menu li {
	list-style-type: none;
}
#page-footer a {
	color: #7281D5;
}
#page-footer a:hover {
	background-color: #7281D5;
	color: #fff;
}

p.message {
	background-color: #fafafa;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 7px;
}

/* page perso */
#pressrelease-link-1301 {
    font-size: 1.728em;
}
