/**
Ordre :

1) Fonts
2) Header / Nav / General
3) Body (Content)
4) Footer
5) Responsive Design


1) Fonts */

@font-face {
    font-family: 'Allura';
    src: url('fonts/allura.eot');
    src: url('fonts/allura.eot?#iefix') format('embedded-opentype'),
        url('fonts/allura.woff') format('woff'),
        url('fonts/allura.ttf') format('truetype'),
        url('fonts/allura.svg#alluraregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family:'Amaranth';
    src:url('fonts/amaranth.eot');
    src:url('fonts/amaranth.eot?#iefix') format('embedded-opentype'),
        url('fonts/amaranth.woff') format('woff'),
        url('fonts/amaranth.ttf') format('truetype'),
        url('fonts/amaranth.svg#AmaranthRegular') format('svg');
    font-weight:normal;
    font-style:normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/opensans_reg.eot');
    src: url('fonts/opensans_reg.eot?#iefix') format('embedded-opentype'),
        url('fonts/opensans_reg.woff') format('woff'),
        url('fonts/opensans_reg.ttf') format('truetype'),
        url('fonts/opensans_reg.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: local('Raleway'), url(fonts/raleway.woff) format('woff');
}

/* 2) Header / Nav / General */

body {
    padding-top:50px;
    background-color:#e8e8e0;
    /* Réglages de base de Bootstrap 3, pour que les tailles en em restent identiques */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; line-height: 1.1; }
h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; line-height: 1.1; }
p { margin: 0 0 10px; }
ul, ol { padding-left: 40px; margin-bottom: 10px; }
hr { margin: 20px 0; opacity: 1; }

a { color: #337ab7; text-decoration: none; }
a:hover, a:focus { color: #23527c; text-decoration: underline; }

/* Largeurs de .container de Bootstrap 3 */
@media (min-width: 768px)  { .container { max-width: 750px; } }
@media (min-width: 992px)  { .container { max-width: 970px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }

h1 {
    font-family: 'Allura';
    font-size: 7em;
    font-weight: normal;
    margin: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 5em;
    }
}

@media (max-width: 410px) {
    h1 {
        font-size: 4em;
    }
}

h1 a, h1 a:visited, h1 a:hover, h1 a:focus {
    text-decoration: none;
    color:#b8884d;
}

h2 {
    text-indent:20px;
    text-align:left;
    font-family:'Amaranth', 'Trebuchet MS', serif;
    font-weight: bold;
    font-size:26px;
    color:#363636;
}

h3 {
    color: #943225;
    text-transform: uppercase;
    font-size: 17px;
    font-family:'OpenSans', serif;
    padding-left:5px;
    text-align:center;
}

h4 {
    padding:15px;
    font-family: 'OpenSans',serif;
    font-weight: bold;
    text-align: left;
    padding-left:20px;
    font-size:1.2em;
    color:#b8884d;
}

/****** Menu horizontal ******/

nav {
    text-transform:uppercase;
    font-family: 'OpenSans',serif;
    font-size:16px;
    box-shadow: 0px 4px 9px -4px #333;
}

nav.navbar {
    --bs-navbar-padding-y: 0;
    padding: 0;
    min-height: 50px;
    background-color: #494040;
    border-width: 0;
}

/* Bouton hamburger (mobile) à droite, barre de 50px de haut */
nav.navbar .navbar-toggler {
    margin: 5px 15px 5px auto;
}

/* Menu centré */
#navbar {
    justify-content: center;
    text-align: center;
}

nav.navbar .navbar-nav .nav-link {
    padding: 15px 23px;
    line-height: 20px;
    color: #fff;
}

nav.navbar .navbar-nav .nav-link:hover,
nav.navbar .navbar-nav .nav-link:focus,
nav.navbar .navbar-nav .nav-link.active {
    color: #fff;
    background-color: #7ea056;
    text-decoration: none;
}

nav.navbar .navbar-nav .nav-link.social_fb {
    padding: 9px 33px;
    height: 50px;
}

/* Fin menu horizontal */


/* 3) Propriétés corps */

#about > p {
    text-align: justify;
    font-size:1.2em;
    font-family:'OpenSans',serif;
    padding:15px;
}

#about_illus {
    text-align: center;
}

#about_illus > img {
    border:1px solid gray;
    width:100%;
    max-width:618px;
}

#rond_promo {
    margin-top:30px;
    text-align: center;
    font-size:1em;
    font-family:'OpenSans',serif;
}

#rond_promo h2 {
    text-align: center;
}

#rond_promo span {
    display: inline-block;
    margin: 30px;
    max-width: 400px;
}

#rond_promo img {
    width:240px;
    height:240px;
    border-radius:100%;
    border:2px solid #494040;
    transition: all 0.4s ease 0s;
}

#rond_promo img:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
}

div.container p, div.container ul {
    font-size:1.2em;
    font-family:'OpenSans',serif;
}

acronym {
    cursor:help;
}

.contenu-stage {
    box-shadow: 0px 0px 30px -11px rgba(0,0,0,0.75);
    /*border:1px dotted #a4a4a4;*/
    padding: 10px;
    font-family:'OpenSans',serif;
}

hr {
    width:50%;
    border-color:gray;
    border-style: dotted;
}

.solo_pic {
    text-align: center;
}

.mini-menu {
    text-align: center;
}

.alentours {
    text-align: center;
    margin-top:30px;
    margin-bottom:20px;
}

.alentours .col-lg-3 {
    height: 100%;
}

/* Old */

.center
{
    text-align: center;
}

#alentours
{
    text-align:center;
}

#alentours .encart
{
    display: inline-block;
    width: 320px;
    height: 150px;
    margin: 10px 20px 10px 20px; /* top right bottom left*/
    vertical-align: top;
    border:1px dotted gray;
    padding:8px;
    border-radius: 8px;
    font-family:'OpenSans',serif;
}

#alentours .email, #contact .email
{
    font-style: italic;
    color: #006400;
}

#alentours ul
{
    text-align:left;
    font-family:'OpenSans',serif;
}

#alentours li
{
    list-style-type: circle;
}

#alentours .vap_unesco
{
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
    margin: 30px;
    max-width: 300px;
    text-align:center;
}

.wrong {
    padding: 5px;
    border-radius: 10px;
    background-color: #d45b5b;
    width:500px;
    margin:0 auto 20px auto;
}

.good {
    padding: 5px;
    border-radius: 10px;
    background-color: #8bd474;
    width:500px;
    margin:0 auto 20px auto;
}

/* 4) Propriétés footer */

#gotop {
    position: fixed;
    right:5px;
    bottom:5px;
    opacity: 0.5;
}

footer
{
    box-shadow: 0px -4px 9px -4px #333;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top:60px;
    background-color: #494040;
    text-align: center;
    color: white;
    font-size: 14px;
    font-family:'OpenSans',serif;
    clear: both;
}

footer h4 {
    color:inherit;
    font-size: 18px;
}

footer p
{
    padding: 10px;
}

footer span
{
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
}

footer .contact p
{
    text-align: left;
}

footer a, footer a:visited
{
    color:#7ea056;
    text-decoration: none;
}

footer a:hover
{
    color:#7ea056;
    text-decoration: underline;
}

footer img
{
    border:0;
}

footer .right
{
    float: right;
}

/* GALERIE (nouvelle version, voir includes/galerie.php) */

.galerie .row {
    --bs-gutter-x: 1.25rem;   /* ≈ 20 px, comme la démo */
    --bs-gutter-y: 2rem;      /* ≈ 32 px */
}

.galerie a {
    position: relative;
    display: block;
    overflow: hidden;            /* l'image reste coupée par le cadre */
}

.galerie a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;        /* le clic traverse le voile */
}

.galerie a:hover::after {
    opacity: 1;
}

.galerie img {
    width: 100%;
    height: auto;
    border-radius: 0 !important;         /* avant : 4px */
    box-shadow: none;         /* avant : 0 0 2px -1px #000 */
    transition: opacity 0.3s ease;
}

.galerie a:hover img {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* Formulaire de contact */

.container form label {
    font-family: 'OpenSans', serif;
    font-size: 1.2em;
    font-weight: bold;
}