/*************************/
/*  Polices et couleurs  */
/*************************/
h2 { 
    font-family: Gelasio, Georgia,'Times New Roman', Times, serif;
    font-size: 1.5em;
    color: #C00000;
    margin-top: 0; }
h1 small, h2 small, h3 small { font-size: 0.8em; }
h4 { font-size: 1.5em; }
h5 { 
    color: #C00000;
    margin-top: 6px; }
dl.description dt {
    font-family: "IM Fell Great Primer SC", "EB Garamond", serif;
    font-size: 1.1em ; }
#menu1, #menu2, #menu3, #menu4, #menu5, #menu7 { color: #800000 }
#menu6 { color: #333366 }
/*********************************/
/*   Index carte de Faucongris   */
/*********************************/
section.trois {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
dl.index_carte {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 0;
    padding: 0;
    margin: 0;
    line-height: 125%;
}
dl.index_carte dt {
    text-align: right;
    font-weight: bold;
}
dl.index_carte dd {
    margin: 0 0 3px 12px;
    text-align: left;
}
dl.index_carte dt:first-of-type, dl.index_carte dd:first-of-type {
    font-size: 1.25em;
    font-weight: bold;
    text-align: left;
    padding-top: 2px;
}
dl.index_carte dt:first-of-type, .lieu {
    text-align: center;
    background: rgba(0, 0, 0, 0.05);   /* fond très léger */
    border: 1px solid rgba(0, 0, 0, 0.2); /* cadre discret */
    border-radius: 4px;
    margin-bottom: 4px;
    padding-bottom: 1px;
    margin-top: -2px;
}
dl.index_carte dd:not(:first-of-type) {
   font-size: 0.9em;
}
dl.index_carte dd span {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
}
dl.index_carte:not(:first-child) {
    margin-top: 12px;
}
.lieu {
    display: inline-block;
    padding: 6px 6px;
    line-height: 100%;
}
/****************/
/*  Calendrier  */
/****************/
#calendrier {
    margin-left: 16px;
    margin-top: 30px;
    width: 300px;
}
#calendrier dl.description dd {
    color: #61300D;
    font-weight: bold;
    margin-left: 6px;
}
dl.description dd img { 
    display: inline-block;
    vertical-align: -2px;
    padding-right: 5px; 
}
dl.description dd span { 
    float: left;
    width: 170px;
}
table.calendga {
    width: 95%;
}
.calendga th, calendce th {
    color: #660066;
}
.calendga td:first-child, .calendga TH:first-child {
    font-style: italic;
}
.calendce th {
    font-size: 14px;
}
#evenement {
    text-align: justify;
    align-content: center;
    height: 150px;
    border: 2px solid #663300;
    border-radius: 1em;
    margin: 0 auto;
    padding: 2px 5px;
    background: url('/images/back8.jpg') repeat;
}
.calendce {
    table-layout: fixed;
    padding: 0;
    margin: 0 auto;
    cursor: default;
}
.calendce td, .calendce th {
	background-image: none;
	padding: 0;
	width: 30px;
	vertical-align: top;
}
.calendce td {
	background-color: #CEB78E;
        height: 25px;
        padding-top: 4px;
        overflow: hidden;
        position: relative;
        font-family: 'Gelasio', Georgia, serif;
	font-size: 14px;
	font-weight: normal;
        color: #FFFFFF;
}
.calendce td span {
	display: block;
        line-height: 18px;
	margin: 0;
	padding: 0;
}
.calendce td .lune {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1px;
}
.calendce td .lune img {
	display: block;
	margin: 0;
	padding: 0;
	width: 12px;
	height: 12px;
}
.calendce th {
	background-color: #D9B579;
}
.calendce caption {
	caption-side: top;
	font-size: 1em;
	font-weight: bold;
	color: #660066;
	text-align: center;
}
.evenement {
    color: #800000 !important;
    font-weight: bold !important; 
    background-color: inherit;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.evenement.highlighted {
  background-color: #CDDC39 !important;
}
.quatre_colonnes {
	width: 25%;
	float: left;
}
/***************************/
/*  Paramétrage Highslide  */
/***************************/
.highslide-wrapper, .highslide-outline {
	background: #FFFFFF;
}
.highslide-dimming {
	background: #000000;
}
.highslide-image {
	border: 2px solid #FFFFFF;
}
highslide-image {
    max-width: calc(100% - 21px); }

.highslide-heading {
	display: none;
	margin: 0;
	font-weight: bold;
	font-size: 12pt !important;
	padding: 2px;
	cursor: move;
}
.highslide-loading {
	color: black;
	border: 1px solid black;
	background-color: white;
	background-image: url(/highslide/graphics/loader.white.gif);
}
.highslide-html {
	background: none;
}
.highslide-header ul a {
	background-image: url(/highslide/graphics/controlbar-text-buttons.png);
	padding-left: 16px;
	display: inline-block;
	height: 16px;
}
.highslide-header ul li span {
	display: none;
}
.highslide-header .highslide-move {
	display: none;
}
.highslide-header .highslide-close a {
	background-position: 0 -221px;
}
.highslide-footer {
	display: none;
}

/***********************/
/*  Popup calendrier   */
/***********************/

#popup-evenement {
    position: fixed;
    z-index: 9999;

    max-width: 420px;
    min-width: 260px;

    padding: 12px 14px;

    background:
        url('/images/back8.jpg') repeat,
        #f4e7c8;

    border: 2px solid #663300;
    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.35);

    color: #3b1f08;
    font-family: 'Gelasio', Georgia, serif;
    font-size: 0.95em;
    line-height: 1.35em;
    text-align: justify;

    pointer-events: none;

    opacity: 0;
    transform: translateY(4px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

#popup-evenement.visible {
    opacity: 1;
    transform: translateY(0);
}

.calendce td.evenement:hover,
.calendce caption .evenement:hover {
    background-color: #d8c07a !important;
    font-size: 16px;
}